Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateUpdateCommand ¶
CreateUpdateCommand will return update command
func DecorateAndUpdateMatchableAttr ¶ added in v0.1.7
func DecorateAndUpdateMatchableAttr( ctx context.Context, cmdCtx cmdCore.CommandContext, project, domain, workflow string, resourceType admin.MatchableResource, attributeDecorator sconfig.MatchableAttributeDecorator, dryRun bool, force bool, ) error
Types ¶
type NamedEntityConfig ¶ added in v0.1.6
type NamedEntityConfig struct { Archive bool `json:"archive" pflag:",archive named entity."` Activate bool `json:"activate" pflag:",activate the named entity."` Description string `json:"description" pflag:",description of the named entity."` DryRun bool `json:"dryRun" pflag:",execute command without making any modifications."` Force bool `json:"force" pflag:",do not ask for an acknowledgement during updates."` }
func (NamedEntityConfig) GetPFlagSet ¶ added in v0.1.6
func (cfg NamedEntityConfig) GetPFlagSet(prefix string) *pflag.FlagSet
GetPFlagSet will return strongly types pflags for all fields in NamedEntityConfig and its nested types. The format of the flags is json-name.json-sub-name... etc.
func (NamedEntityConfig) UpdateNamedEntity ¶ added in v0.1.6
func (cfg NamedEntityConfig) UpdateNamedEntity(ctx context.Context, name string, project string, domain string, rsType core.ResourceType, cmdCtx cmdCore.CommandContext) error
Source Files ¶
- diff.go
- execution.go
- launch_plan.go
- launch_plan_meta.go
- matchable_attribute_util.go
- matchable_cluster_resource_attribute.go
- matchable_execution_cluster_label.go
- matchable_execution_queue_attribute.go
- matchable_plugin_override.go
- matchable_task_resource_attribute.go
- matchable_workflow_execution_config.go
- named_entity.go
- namedentityconfig_flags.go
- project.go
- task_meta.go
- update.go
- workflow_meta.go
Click to show internal directories.
Click to hide internal directories.