Documentation ¶
Index ¶
Constants ¶
View Source
const ( FlagProject = "project" FlagName = "name" FlagValue = "value" FlagType = "type" FlagDescription = "description" FlagGitRef = "git-ref" FlagPrompt = "prompted" FlagPromptLabel = "prompt-label" FlagPromptDescription = "prompt-description" FlagPromptType = "prompt-type" FlagPromptRequired = "prompt-required" FlagPromptSelectOptions = "prompt-dropdown-option" TypeText = "text" TypeSensitive = "sensitive" TypeAwsAccount = "awsaccount" TypeWorkerPool = "workerpool" TypeAzureAccount = "azureaccount" TypeCertificate = "certificate" TypeGoogleAccount = "googleaccount" PromptTypeText = "text" PromptTypeMultiText = "multiline-text" PromptTypeCheckbox = "checkbox" PromptTypeDropdown = "dropdown" )
Variables ¶
This section is empty.
Functions ¶
func CreateRun ¶ added in v1.5.0
func CreateRun(opts *CreateOptions) error
func PromptMissing ¶
func PromptMissing(opts *CreateOptions) error
func PromptVersionControl ¶ added in v1.5.0
func PromptVersionControl(opts *CreateOptions, project *projects.Project) error
Types ¶
type CreateFlags ¶
type CreateFlags struct { Project *flag.Flag[string] Name *flag.Flag[string] Description *flag.Flag[string] Value *flag.Flag[string] Type *flag.Flag[string] GitRef *flag.Flag[string] *sharedProjectVariable.ScopeFlags IsPrompted *flag.Flag[bool] PromptLabel *flag.Flag[string] PromptDescription *flag.Flag[string] PromptType *flag.Flag[string] PromptRequired *flag.Flag[bool] PromptSelectOptions *flag.Flag[[]string] }
func NewCreateFlags ¶
func NewCreateFlags() *CreateFlags
type CreateOptions ¶
type CreateOptions struct { *CreateFlags *cmd.Dependencies shared.GetProjectCallback shared.GetAllProjectsCallback *sharedVariable.VariableCallbacks }
func NewCreateOptions ¶
func NewCreateOptions(flags *CreateFlags, dependencies *cmd.Dependencies) *CreateOptions
Click to show internal directories.
Click to hide internal directories.