# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
CollectApplicationApprovalRulesetBindingVersionIDEquals returns the first ApplicationApprovalRulesetBindingVersion whose ID equals `versionID`.
CollectApplicationApprovalRulesetBindingVersionIDNotEquals returns those ApplicationApprovalRulesetBindingVersion whose IDs don't equal `versionID`.
CollectApplicationApprovalRulesetBindingVersions turns a `[]*ApplicationApprovalRulesetBinding` into a list of their associated ApplicationApprovalRulesetBindingVersions.
No description provided by the author
No description provided by the author
No description provided by the author
CollectApplicationVersionIDEquals returns the first ApplicationVersion whose ID equals `versionID`.
CollectApplicationVersionIDNotEquals returns those ApplicationVersion whose IDs don't equal `versionID`.
CollectApplicationVersions turns a `[]*Application` into a list of their associated ApplicationVersions.
CollectApprovalRulesetAdjustmentsFromVersions turns a `[]*ApprovalRulesetVersion` into a list of their associated ApprovalRulesetAdjustments.
No description provided by the author
No description provided by the author
CollectApprovalRulesetVersionIDEquals returns the first ApprovalRulesetVersion whose ID equals `versionID`.
CollectApprovalRulesetVersionIDNotEquals returns those ApprovalRulesetVersion whose IDs don't equal `versionID`.
CollectApprovalRulesetVersions turns a `[]*ApprovalRuleset` into a list of their associated ApprovalRulesetVersions.
No description provided by the author
No description provided by the author
CollectReviewablePrimaryKeys turns a `[]IReviewable` into a list of their primary keys.
CollectReviewableVersionIDs turns a `[]IReviewableVersion` into a list of their IDs.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CreateMockApplicationApprovalRulesetsAndBindingsWith2Modes1Version creates two rulesets and bindings.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FinalizeReviewableProposal transitions a Reviewable's proposal to either in the 'reviewing' state or the 'approved' state, depending on whether a review of this proposal is required.
No description provided by the author
No description provided by the author
FindApplication looks up an Application by its ID.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FindApplicationApprovalRulesetBindingVersions finds, for a given ApplicationApprovalRulesetBinding, all its Versions and returns them ordered by version number (descending).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FindApplicationVersions finds, for a given Application, all its Versions and returns them ordered by version number (descending).
FindApprovalRulesBoundToRelease finds all ApprovalRules that are bound to a specific Release.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FindApprovalRulesetVersions finds, for a given ApprovalRuleset, all its Versions and returns them ordered by version number (descending).
FindOrganizationByID looks up an Organization by its ID.
No description provided by the author
FindRelease looks up a Release by its ID and its application ID.
FindReleaseBackgroundJob looks up a ReleaseBackgroundJob by its application ID and release ID.
No description provided by the author
No description provided by the author
No description provided by the author
FindServiceAccountByName looks up a ServiceAccount by its name.
FindUnlockedReleaseBackgroundJobs returns all ReleaseBackgroundJobs, in the entire database (across organizations), that aren't currently being processed by approvalrulesprocessing.Engine.
FindUserByEmail looks up a User by its email address.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LoadReviewablesLatestVersions loads all Versions associated with the given Reviewables.
LoadReviewableVersionsLatestAdjustments loads all Adjustments associated with the given Versions.
No description provided by the author
MakeApplicationApprovalRulesetBindingVersionsPointerArray turns a `[]ApplicationApprovalRulesetBindingVersion` into a `[]*ApplicationApprovalRulesetBindingVersion`.
MakeApplicationsPointerArray turns a `[]Application` into a `[]*Application`.
MakeApplicationVersionsPointerArray turns a `[]ApplicationVersion` into a `[]*ApplicationVersion`.
MakeApprovalRulesetAdjustmentsPointerArray turns a `[]ApprovalRulesetAdjustment` into a `[]*ApprovalRulesetAdjustment`.
MakeApprovalRulesetVersionsPointerArray turns a `[]ApprovalRulesetVersion` into a `[]*ApprovalRulesetVersion`.
MakeReleaseRuleProcessedEventsPointerArray turns a `[]ReleaseRuleProcessedEvent` into a `[]*ReleaseRuleProcessedEvent`.
No description provided by the author
NewCreationAuditRecord returns an unsaved CreationAuditRecord with the given properties.
No description provided by the author
SetReviewableAdjustmentProposalStateFromProposalStateInput sets an Adjustment's ProposalState to an appropriate value, based on a ProposalState given by a client.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ReleaseBackgroundJobPostgresLockNamespace is the number at which the PostgreSQL advisory lock should start.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ServiceAccountType ...
UserType ...
# Variables
ReleaseBackgroundJobMaxLockID is the maximum value that `ReleaseBackgroundJob.LockID` may have.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ApprovalRulesetContents is a collection of ApprovalRules.
No description provided by the author
ApprovalRulesetVersionAndAdjustmentKey uniquely identifies a specific Version+Adjustment of an ApprovalRuleset.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ReleaseBackgroundJob ...
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author