Documentation ¶
Overview ¶
This is the go workflow action plugin package for managing k8 cluster
Index ¶
- func Action_AddHelmRepo(w *workflow.Workflow, m *workflow.TemplateData) error
- func Action_DeleteHelmChart(w *workflow.Workflow, m *workflow.TemplateData) error
- func Action_DeployUpgradeHelmChart(w *workflow.Workflow, m *workflow.TemplateData) error
- func Action_K8ApplyDeleteYaml(w *workflow.Workflow, m *workflow.TemplateData) error
- func Action_K8Copy(w *workflow.Workflow, m *workflow.TemplateData) error
- func Action_K8CreateNS(w *workflow.Workflow, m *workflow.TemplateData) error
- func Action_K8DeleteDemonSet(w *workflow.Workflow, m *workflow.TemplateData) error
- func Action_K8DeleteDeployment(w *workflow.Workflow, m *workflow.TemplateData) error
- func Action_K8DeleteNS(w *workflow.Workflow, m *workflow.TemplateData) error
- func Action_K8DeletePV(w *workflow.Workflow, m *workflow.TemplateData) error
- func Action_K8DeletePVC(w *workflow.Workflow, m *workflow.TemplateData) error
- func Action_K8DeletePod(w *workflow.Workflow, m *workflow.TemplateData) error
- func Action_K8DeleteSecrets(w *workflow.Workflow, m *workflow.TemplateData) error
- func Action_K8DeleteService(w *workflow.Workflow, m *workflow.TemplateData) error
- func Action_K8DeleteStatefulSet(w *workflow.Workflow, m *workflow.TemplateData) error
- func Action_K8GetServiceIP(w *workflow.Workflow, m *workflow.TemplateData) error
- func Action_K8GetWorkspace(w *workflow.Workflow, m *workflow.TemplateData) error
- func Action_K8PodExec(w *workflow.Workflow, m *workflow.TemplateData) error
- func Action_K8WaitCompleteStatus(w *workflow.Workflow, m *workflow.TemplateData) error
- func GetSchema() workflow.SchemaEndpoint
- type K8Schema
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Action_AddHelmRepo ¶
func Action_AddHelmRepo(w *workflow.Workflow, m *workflow.TemplateData) error
Action_AddHelmRepo - Add a helm repo - w - the workflow - m - the template data - returns - error
func Action_DeleteHelmChart ¶
func Action_DeleteHelmChart(w *workflow.Workflow, m *workflow.TemplateData) error
Action_DeleteHelmChart - Delete a helm chart - w - the workflow - m - the template data - returns - error
func Action_DeployUpgradeHelmChart ¶
func Action_DeployUpgradeHelmChart(w *workflow.Workflow, m *workflow.TemplateData) error
Action_DeployUpgradeHelmChart - Deploy or upgrade a helm chart - w - the workflow - m - the template data - returns - error
func Action_K8ApplyDeleteYaml ¶
func Action_K8ApplyDeleteYaml(w *workflow.Workflow, m *workflow.TemplateData) error
Action_K8ApplyDeleteYaml - Apply a yaml file or delete k8 manifest file - w - the workflow - m - the template data - returns - error
func Action_K8Copy ¶
func Action_K8Copy(w *workflow.Workflow, m *workflow.TemplateData) error
Action_K8Copy - Copy a file to and from a k8 pod - w - the workflow - m - the template data - returns - error
func Action_K8CreateNS ¶
func Action_K8CreateNS(w *workflow.Workflow, m *workflow.TemplateData) error
Action_K8CreateNS - Create a namespace - w - the workflow - m - the template data - returns - error
func Action_K8DeleteDemonSet ¶
func Action_K8DeleteDemonSet(w *workflow.Workflow, m *workflow.TemplateData) error
Action_K8DeleteConfigMap - Delete a k8 config map - w - the workflow - m - the template data - returns - error
func Action_K8DeleteDeployment ¶
func Action_K8DeleteDeployment(w *workflow.Workflow, m *workflow.TemplateData) error
Action_K8DeleteDeployment - Delete a k8 deployment - w - the workflow - m - the template data - returns - error
func Action_K8DeleteNS ¶
func Action_K8DeleteNS(w *workflow.Workflow, m *workflow.TemplateData) error
Action_K8DeleteNS - Delete a namespace - w - the workflow - m - the template data - returns - error
func Action_K8DeletePV ¶
func Action_K8DeletePV(w *workflow.Workflow, m *workflow.TemplateData) error
Action_K8DeletePV - Delete a k8 pv - w - the workflow - m - the template data - returns - error
func Action_K8DeletePVC ¶
func Action_K8DeletePVC(w *workflow.Workflow, m *workflow.TemplateData) error
Action_K8DeletePVC - Delete a k8 pvc - w - the workflow - m - the template data - returns - error
func Action_K8DeletePod ¶
func Action_K8DeletePod(w *workflow.Workflow, m *workflow.TemplateData) error
Action_K8DeletePod - Delete a k8 pod - w - the workflow - m - the template data - returns - error
func Action_K8DeleteSecrets ¶
func Action_K8DeleteSecrets(w *workflow.Workflow, m *workflow.TemplateData) error
Action_K8DeleteSecrets - Delete a k8 secret - w - the workflow - m - the template data - returns - error
func Action_K8DeleteService ¶
func Action_K8DeleteService(w *workflow.Workflow, m *workflow.TemplateData) error
Action_K8DeleteService - Delete a k8 service - w - the workflow - m - the template data - returns - error
func Action_K8DeleteStatefulSet ¶
func Action_K8DeleteStatefulSet(w *workflow.Workflow, m *workflow.TemplateData) error
Action_K8DeleteConfigMap - Delete a k8 config map - w - the workflow - m - the template data - returns - error
func Action_K8GetServiceIP ¶
func Action_K8GetServiceIP(w *workflow.Workflow, m *workflow.TemplateData) error
Action_K8GetServiceIP - Get the IP address of a service - w - the workflow - m - the template data - returns - error
func Action_K8GetWorkspace ¶
func Action_K8GetWorkspace(w *workflow.Workflow, m *workflow.TemplateData) error
Action_K8GetWorkspace - Get data from a k8 workspace e.g pods, deployments, services - w - the workflow - m - the template data - returns - error
func Action_K8PodExec ¶
func Action_K8PodExec(w *workflow.Workflow, m *workflow.TemplateData) error
Action_K8Exec - Execute a command on a k8 pod - w - the workflow - m - the template data - returns - error
func Action_K8WaitCompleteStatus ¶
func Action_K8WaitCompleteStatus(w *workflow.Workflow, m *workflow.TemplateData) error
Action_K8WaitCompleteStatus - Wait for a k8 deployment to complete - w - the workflow - m - the template data - returns - error
func GetSchema ¶
func GetSchema() workflow.SchemaEndpoint
GetAction returns the action for the target
Types ¶
type K8Schema ¶
type K8Schema struct { }
func (K8Schema) GetActionSchema ¶
func (s K8Schema) GetActionSchema() map[string]workflow.ActionSchema
GetActions returns the actions for this schema
func (K8Schema) GetFunctionMap ¶
func (s K8Schema) GetFunctionMap() map[string]workflow.FunctionSchema
GetFunctionMap returns the function map for this schema
func (K8Schema) GetTargetSchema ¶
func (s K8Schema) GetTargetSchema() map[string]workflow.TargetSchema
GetTargetSchema returns the target schema for this action