 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
const ( FlagTenant = "tenant" FlagProject = "project" FlagEnvironment = "environment" FlagLibraryVariableSet = "library-variable-set" FlagName = "name" FlagValue = "value" VariableOwnerTypeCommon = "common" VariableOwnerTypeProject = "project" )
Variables ¶
This section is empty.
Functions ¶
func PromptForEnvironment ¶
func PromptForEnvironment(opts *UpdateOptions, variables *variables.TenantVariables) error
func PromptMissing ¶
func PromptMissing(opts *UpdateOptions) error
Types ¶
type PossibleVariable ¶
func PromptForVariable ¶
func PromptForVariable(opts *UpdateOptions, tenantVariables *variables.TenantVariables, variableFilter func(opts *UpdateOptions, tenantVariables *variables.TenantVariables) []*PossibleVariable) (*PossibleVariable, error)
type UpdateFlags ¶
type UpdateFlags struct {
	Tenant             *flag.Flag[string]
	Project            *flag.Flag[string]
	Environment        *flag.Flag[string]
	LibraryVariableSet *flag.Flag[string]
	Name               *flag.Flag[string]
	Value              *flag.Flag[string]
}
    func NewUpdateFlags ¶
func NewUpdateFlags() *UpdateFlags
type UpdateOptions ¶
type UpdateOptions struct {
	*UpdateFlags
	VariableId string
	TemplateId string
	*cmd.Dependencies
	shared.GetProjectCallback
	shared.GetAllProjectsCallback
	shared.GetTenantCallback
	shared.GetAllTenantsCallback
	shared.GetAllLibraryVariableSetsCallback
	selectors.GetAllEnvironmentsCallback
	*sharedVariable.VariableCallbacks
}
    func NewUpdateOptions ¶
func NewUpdateOptions(flags *UpdateFlags, dependencies *cmd.Dependencies) *UpdateOptions
 Click to show internal directories. 
   Click to hide internal directories.