Documentation ¶
Index ¶
Constants ¶
View Source
const ReleasesFlagName = "release"
ReleasesFlagName constant used for the --release flag name (public because the render package creates an alias for this flag)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { // IncludeBulkFlags include bulk destination selection flags such as --destination-type, --environment-template, and so on IncludeBulkFlags bool // RequireDestinationOrExact requires either one of --environment or --cluster to be passed or for --exact-release to be // used instead of --release (since --exact-release is globally unique, as enforced by Sherlock, it is enough to find // the destination on its own). RequireDestinationOrExact bool }
type Selection ¶
type Selection struct { // IsReleaseScoped true if the user supplied the names of releases (like "agora", "cromwell"), false if they supplied "ALL" IsReleaseScoped bool // Releases is the set of matching releases Releases []terra.Release // SingleChart true if we're using a single release name SingleChart bool // AppReleasesOnly true if all matched releases are application releases AppReleasesOnly bool }
Selection describes the set of releases that match user-supplied CLI flags
Click to show internal directories.
Click to hide internal directories.