MCPcopy Create free account
hub / github.com/devfile/api / Command

Struct Command

pkg/apis/workspaces/v1alpha2/commands.go:74–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74type Command struct {
75 // Mandatory identifier that allows referencing
76 // this command in composite commands, from
77 // a parent, or in events.
78 // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
79 // +kubebuilder:validation:MaxLength=63
80 Id string `json:"id"`
81 // Map of implementation-dependant free-form YAML attributes.
82 // +optional
83 // +kubebuilder:validation:Type=object
84 // +kubebuilder:pruning:PreserveUnknownFields
85 // +kubebuilder:validation:Schemaless
86 Attributes attributes.Attributes `json:"attributes,omitempty"`
87 CommandUnion `json:",inline"`
88}
89
90// +union
91type CommandUnion struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected