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 RenderSelection ¶ added in v1.0.76
type RenderSelection 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 }
RenderSelection describes the set of releases that match user-supplied CLI flags for a render selector
type RenderSelector ¶ added in v1.0.76
type RenderSelector struct {
// contains filtered or unexported fields
}
func NewRenderSelector ¶ added in v1.0.76
func NewRenderSelector() *RenderSelector
func (*RenderSelector) AddFlags ¶ added in v1.0.76
func (s *RenderSelector) AddFlags(cobraCommand *cobra.Command)
AddFlags adds selector CLI flags to cobra command
func (*RenderSelector) GetSelection ¶ added in v1.0.76
func (s *RenderSelector) GetSelection(state terra.State, chartsDir source.ChartsDir, pflags *pflag.FlagSet, args []string) (*RenderSelection, error)
Click to show internal directories.
Click to hide internal directories.