Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComponentBase ¶
type ComponentBase struct { Name string Type string DependsOn []string Inputs common.StepInputs Outputs common.StepOutputs Traits []Trait }
type PolicyBase ¶
type Trait ¶
type Trait interface { DefType() string Build() common.ApplicationTrait Validate() error }
type TypedApplication ¶
type TypedApplication interface { Name(name string) TypedApplication Namespace(namespace string) TypedApplication Labels(labels map[string]string) TypedApplication Annotations(annotations map[string]string) TypedApplication SetWorkflowMode(steps, subSteps common.WorkflowMode) TypedApplication SetComponents(components ...Component) TypedApplication SetWorkflowSteps(steps ...WorkflowStep) TypedApplication SetPolicies(policies ...Policy) TypedApplication GetNamespace() string GetLabels() map[string]string GetAnnotations() map[string]string GetComponentByName(name string) Component GetComponentsByType(typ string) []Component GetWorkflowStepByName(name string) WorkflowStep GetWorkflowStepsByType(typ string) []WorkflowStep GetPolicyByName(name string) Policy GetPoliciesByType(typ string) []Policy Build() v1beta1.Application ToYAML() (string, error) Validate() error }
type WorkflowStep ¶
type WorkflowStep interface { WorkflowStepName() string DefType() string Build() v1beta1.WorkflowStep Validate() error }
type WorkflowStepBase ¶
type WorkflowStepBase struct { Name string Type string Meta *common.WorkflowStepMeta SubSteps []WorkflowStep If string Timeout string DependsOn []string Inputs common.StepInputs Outputs common.StepOutputs }
type WorkflowSubStepBase ¶
type WorkflowSubStepBase struct { Name string Type string Meta *common.WorkflowStepMeta If string Timeout string DependsOn []string Inputs common.StepInputs Outputs common.StepOutputs }
Click to show internal directories.
Click to hide internal directories.