Documentation ¶
Index ¶
Constants ¶
View Source
const ( FlagName = "name" FlagDescription = "description" FlagWorkerType = "worker-type" )
Variables ¶
This section is empty.
Functions ¶
func PromptMissing ¶
func PromptMissing(opts *CreateOptions) error
Types ¶
type CreateFlags ¶
type CreateFlags struct { Name *flag.Flag[string] Type *flag.Flag[string] Description *flag.Flag[string] *machinescommon.WebFlags }
func NewCreateFlags ¶
func NewCreateFlags() *CreateFlags
type CreateOptions ¶
type CreateOptions struct { *CreateFlags *cmd.Dependencies GetDynamicWorkerPoolTypes }
func NewCreateOptions ¶
func NewCreateOptions(flags *CreateFlags, dependencies *cmd.Dependencies) *CreateOptions
type GetDynamicWorkerPoolTypes ¶
type GetDynamicWorkerPoolTypes func() ([]*workerpools.DynamicWorkerPoolType, error)
Click to show internal directories.
Click to hide internal directories.