Documentation ¶
Index ¶
- Constants
- func CheckAllStepStatus(kubeconfig *string, objName string) (string, string, error)
- func CheckAllStepStatusByList(kubeconfig *string, objName string, stepsList []string) (string, error)
- func CheckIfWorkflowIsTriggered(kubeconfig *string, modelObjName string) (bool, error)
- func ConvertJsonStringToMap(s string) (map[string]interface{}, error)
- func ConvertJsonStringToStringMap(s string) (map[string]string, error)
- func ConvertMapToJsonString(m map[string]string) (string, error)
- func CreateEmptyWorkflowObject(kubeconfig *string, wfObjName string, modelObjName string) error
- func CreateObject(kubeconfig *string, namespace string, group string, version string, ...) error
- func GenerateWorkflowObjName() string
- func GetKubeConfig() *string
- func GetObj(kubeconfig *string, namespace string, group string, version string, ...) (*unstructured.Unstructured, error)
- func GetPendingWorkflowList(kubeconfig *string, modelObjName string, currentStep string) (*unstructured.UnstructuredList, error)
- func GetWorkflowObjectFlowDataValue(kubeconfig *string, objName string, path string) (interface{}, error)
- func GetWorkflowObjectStatus(kubeconfig *string, objName string) (string, error)
- func ListObj(kubeconfig *string, namespace string, group string, version string, ...) (*unstructured.UnstructuredList, error)
- func ParseFlowDataKey(path string) string
- func RemoveWorkflowObjectPendingStepLabel(kubeconfig *string, objName string, stepName string) error
- func SetPendingStepToWorkflowObject(kubeconfig *string, stepName string, objName string) error
- func SetStepToWorkflowObject(kubeconfig *string, stepName string, objName string) error
- func SetWorkflowObjectCurrentStep(kubeconfig *string, objName string, currentStep string) error
- func SetWorkflowObjectCurrentStepLabel(kubeconfig *string, objName string, currentStep string) error
- func SetWorkflowObjectFailedStep(kubeconfig *string, objName string, stepName string, stepMessage string) error
- func SetWorkflowObjectFlowData(kubeconfig *string, objName string, path string, value string) error
- func SetWorkflowObjectMessage(kubeconfig *string, objName string, wfMessage string) error
- func SetWorkflowObjectPendingStepLabel(kubeconfig *string, objName string, stepName string) error
- func SetWorkflowObjectStatus(kubeconfig *string, objName string, status string) error
- func SetWorkflowObjectStep(kubeconfig *string, objName string, stepName string) error
- func SetWorkflowObjectStepToComplete(kubeconfig *string, objName string, stepName string, message string) error
- func SetWorkflowObjectStepToFailure(kubeconfig *string, objName string, stepName string, message string) error
- func SetWorkflowObjectStepToPending(kubeconfig *string, objName string, stepName string, message string) error
- func SetWorkflowObjectStepToRunning(kubeconfig *string, objName string, stepName string, message string) error
- func SetWorkflowObjectToComplete(kubeconfig *string, objName string) error
- func SetWorkflowObjectToFailure(kubeconfig *string, objName string, wfMessage string) error
- func SetWorkflowObjectToPending(kubeconfig *string, objName string) error
- func SetWorkflowObjectToRunning(kubeconfig *string, objName string) error
- func WatchObject(kubeconfig *string, namespace string, group string, version string, ...) <-chan watch.Event
- type GVR
Constants ¶
View Source
const WFGroup = "flint.flint.com"
View Source
const WFNamespace = "default"
View Source
const WFResource = "workflows"
View Source
const WFVersion = "v1"
Variables ¶
This section is empty.
Functions ¶
func CheckAllStepStatus ¶ added in v0.2.8
func CheckAllStepStatusByList ¶ added in v0.2.8
func CheckIfWorkflowIsTriggered ¶ added in v0.2.2
func ConvertJsonStringToMap ¶
func ConvertJsonStringToStringMap ¶ added in v0.2.9
func CreateObject ¶
func CreateObject(kubeconfig *string, namespace string, group string, version string, resource string, obj *unstructured.Unstructured) error
func GenerateWorkflowObjName ¶
func GenerateWorkflowObjName() string
func GetKubeConfig ¶
func GetKubeConfig() *string
func GetObj ¶
func GetObj(kubeconfig *string, namespace string, group string, version string, resource string, objName string) (*unstructured.Unstructured, error)
func GetPendingWorkflowList ¶ added in v0.2.2
func GetPendingWorkflowList(kubeconfig *string, modelObjName string, currentStep string) (*unstructured.UnstructuredList, error)
func GetWorkflowObjectStatus ¶ added in v0.2.8
func ListObj ¶
func ListObj(kubeconfig *string, namespace string, group string, version string, resource string, labelSelector string) (*unstructured.UnstructuredList, error)
func ParseFlowDataKey ¶ added in v0.1.3
func RemoveWorkflowObjectPendingStepLabel ¶ added in v0.2.8
func SetPendingStepToWorkflowObject ¶ added in v0.2.8
func SetStepToWorkflowObject ¶ added in v0.2.2
func SetWorkflowObjectCurrentStep ¶ added in v0.2.2
func SetWorkflowObjectCurrentStepLabel ¶ added in v0.2.2
func SetWorkflowObjectFailedStep ¶ added in v0.2.6
func SetWorkflowObjectMessage ¶ added in v0.2.6
func SetWorkflowObjectPendingStepLabel ¶ added in v0.2.8
func SetWorkflowObjectStatus ¶ added in v0.2.6
func SetWorkflowObjectStep ¶ added in v0.2.6
func SetWorkflowObjectStepToFailure ¶ added in v0.2.2
func SetWorkflowObjectStepToPending ¶ added in v0.2.2
func SetWorkflowObjectStepToRunning ¶ added in v0.2.2
func SetWorkflowObjectToComplete ¶ added in v0.2.6
func SetWorkflowObjectToFailure ¶ added in v0.2.6
func SetWorkflowObjectToPending ¶ added in v0.2.6
func SetWorkflowObjectToRunning ¶ added in v0.2.6
Types ¶
Click to show internal directories.
Click to hide internal directories.