Documentation ¶
Index ¶
- Constants
- func AskTags(ask question.Asker, value []string, newValue []string, ...) ([]string, error)
- func AskTenants(ask question.Asker, value string, getTenantsCallback GetTenantsCallback, ...) (*tenants.Tenant, error)
- func NewCmdTag(f factory.Factory) *cobra.Command
- func PromptMissing(opts *TagOptions) ([]cmd.Dependable, error)
- type GetAllTagSetsCallback
- type GetTenantCallback
- type GetTenantsCallback
- type TagFlags
- type TagOptions
Constants ¶
View Source
const ( FlagTag = "tag" FlagTenant = "tenant" )
Variables ¶
This section is empty.
Functions ¶
func AskTenants ¶
func AskTenants(ask question.Asker, value string, getTenantsCallback GetTenantsCallback, getTenantCallback GetTenantCallback) (*tenants.Tenant, error)
func PromptMissing ¶
func PromptMissing(opts *TagOptions) ([]cmd.Dependable, error)
Types ¶
type GetAllTagSetsCallback ¶
type GetTenantCallback ¶
type GetTenantsCallback ¶
type TagFlags ¶
func NewTagFlags ¶
func NewTagFlags() *TagFlags
type TagOptions ¶
type TagOptions struct { *TagFlags *cmd.Dependencies GetAllTagsCallback GetAllTagSetsCallback GetTenantCallback GetTenantCallback GetTenantsCallback GetTenantsCallback // contains filtered or unexported fields }
func NewTagOptions ¶
func NewTagOptions(tagFlags *TagFlags, dependencies *cmd.Dependencies) *TagOptions
func (*TagOptions) Commit ¶
func (to *TagOptions) Commit() error
func (*TagOptions) GenerateAutomationCmd ¶
func (to *TagOptions) GenerateAutomationCmd()
Click to show internal directories.
Click to hide internal directories.