Documentation ¶
Index ¶
Constants ¶
View Source
const ( WfInstanceIdLabelKey = "workflows.argoproj.io/controller-instanceid" WfInstanceId = "addon-manager-workflow-controller" WfDefaultActiveDeadlineSeconds = 300 )
Variables ¶
This section is empty.
Functions ¶
func ConvertUnstructuredWorkflowToString ¶
func ConvertUnstructuredWorkflowToString(u unstructured.Unstructured) string
ConvertUnstructuredWorkflowToString converts the unstructured content into a string
Types ¶
type AddonLifecycle ¶
type AddonLifecycle interface { Install(context.Context, *addonmgrv1alpha1.WorkflowType, string) (addonmgrv1alpha1.ApplicationAssemblyPhase, error) Delete(context.Context, string) error }
AddonLifecycle represents the following workflows
func NewWorkflowLifecycle ¶
func NewWorkflowLifecycle(client client.Client, dynClient dynamic.Interface, addon *addonmgrv1alpha1.Addon, recorder record.EventRecorder, scheme *runtime.Scheme) AddonLifecycle
NewWorkflowLifecycle returns a AddonLifecycle object
type WorkflowBuilder ¶
type WorkflowBuilder interface { Scripts(map[string]string) WorkflowBuilder Resources([]string) WorkflowBuilder Delete() WorkflowBuilder Build() unstructured.Unstructured }
WorkflowBuilder interface for building an unstructured workflow
Click to show internal directories.
Click to hide internal directories.