Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzdCommandRunner ¶
AzdCommandRunner abstracts the execution of an azd command given a set of arguments and context.
type Command ¶
type Command struct {
Args []string `yaml:"args,omitempty"`
}
Command stores a single command to execute
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
Runner is responsible for executing a workflow
type Step ¶
type Step struct {
AzdCommand Command `yaml:"azd,omitempty"`
}
Step stores a single step to execute within a workflow This struct can be expanded over time to support other types of steps/commands
func NewAzdCommandStep ¶
NewAzdCommandStep creates a new step that executes an azd command with the specified name and args
type WorkflowMap ¶
Stores a map of workflows configured for an azd project
func (*WorkflowMap) UnmarshalYAML ¶
func (wm *WorkflowMap) UnmarshalYAML(unmarshal func(any) error) error
UnmarshalYAML will unmarshal the WorkflowMap from YAML. The unmarshalling will marshall the YAML like a standard Go map but will also persist the key as the workflow name within the Workflow struct.