Documentation
¶
Index ¶
- func DefaultContext(ctx context.Context) *api.WorkflowContext
- func GetDefaultGlobalConfigPath() (string, error)
- func GetValetConfigDir() (string, error)
- func LoadDefaultGlobalConfig(store render.FileStore) (*api.ValetGlobalConfig, error)
- func LoadEnv(globalConfig *api.ValetGlobalConfig) error
- func LoadGlobalConfig(path string, store render.FileStore) (*api.ValetGlobalConfig, error)
- type Step
- type Workflow
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultContext ¶
func DefaultContext(ctx context.Context) *api.WorkflowContext
func GetValetConfigDir ¶
func LoadDefaultGlobalConfig ¶
func LoadDefaultGlobalConfig(store render.FileStore) (*api.ValetGlobalConfig, error)
func LoadEnv ¶
func LoadEnv(globalConfig *api.ValetGlobalConfig) error
func LoadGlobalConfig ¶
Types ¶
type Step ¶
type Step struct { DnsEntry *aws.DnsEntry `json:"dnsEntry,omitempty"` Condition *check.Condition `json:"condition,omitempty"` Curl *check.Curl `json:"curl,omitempty"` WaitForPods *check.WaitForPods `json:"waitForPods,omitempty"` EnsureCluster *cluster.EnsureCluster `json:"ensureCluster,omitempty"` Apply *kubectl.Apply `json:"apply,omitempty"` ApplyTemplate *kubectl.ApplyTemplate `json:"applyTemplate,omitempty"` CreateSecret *kubectl.CreateSecret `json:"createSecret,omitempty"` Delete *kubectl.Delete `json:"delete,omitempty"` Patch *kubectl.Patch `json:"patch,omitempty"` InstallHelmChart *helm.InstallHelmChart `json:"installHelmChart,omitempty"` Bash *script.Bash `json:"bash,omitempty"` Values render.Values `json:"values,omitempty"` // Optional, used for identifying a specific step in a docs ref Id string `json:"id,omitempty"` }
A workflow.Step is a container for an api.Step implementation. Exactly one of the member pointers should be non-nil. This makes it easy to serialize and deserialize a workflow as yaml
func ApplyTemplate ¶
func WaitForPods ¶
Click to show internal directories.
Click to hide internal directories.