Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultTimeout = "5m" ExecutorName = "executor" HelmReleaseArg = "helmrelease" TimeoutArg = "timeout" // OpaqueDataArg is a base64 encoded string containing the data to be passed to the executor OpaqueDataArg = "data" )
View Source
const ( HelmReleaseImage = "azureorkestra/executor" HelmReleaseTag = "v0.4.2" )
View Source
const ( KeptnImage = "azureorkestra/keptn-executor" KeptnTag = "v0.1.0" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action string
Action defines the set of executor actions which can be performed on a helmrelease object
type CustomForward ¶ added in v0.8.2
func (CustomForward) GetName ¶ added in v0.8.2
func (exec CustomForward) GetName() string
func (CustomForward) GetTask ¶ added in v0.8.2
func (exec CustomForward) GetTask(name string, dependencies []string, timeout, hrStr string, taskParams *apiextensionsv1.JSON) (v1alpha13.DAGTask, error)
func (CustomForward) GetTemplate ¶ added in v0.8.2
func (exec CustomForward) GetTemplate() v1alpha13.Template
func (CustomForward) Reverse ¶ added in v0.8.2
func (exec CustomForward) Reverse() Executor
type CustomParameters ¶ added in v0.8.2
type CustomParameters struct {
Data apiextensionsv1.JSON
}
type CustomReverse ¶ added in v0.8.2
func (CustomReverse) GetName ¶ added in v0.8.2
func (exec CustomReverse) GetName() string
func (CustomReverse) GetTask ¶ added in v0.8.2
func (exec CustomReverse) GetTask(name string, dependencies []string, timeout, hrStr string, taskParams *apiextensionsv1.JSON) (v1alpha13.DAGTask, error)
func (CustomReverse) GetTemplate ¶ added in v0.8.2
func (exec CustomReverse) GetTemplate() v1alpha13.Template
func (CustomReverse) Reverse ¶ added in v0.8.2
func (exec CustomReverse) Reverse() Executor
type Executor ¶
type Executor interface { GetName() string Reverse() Executor GetTemplate() v1alpha13.Template GetTask(name string, dependencies []string, timeout, hrStr string, parameters *apiextensionsv1.JSON) (v1alpha13.DAGTask, error) }
func ForwardFactory ¶
func ForwardFactory(executorType v1alpha1.ExecutorType, image *corev1.Container) Executor
type HelmReleaseForward ¶
type HelmReleaseForward struct{}
func (HelmReleaseForward) GetName ¶
func (exec HelmReleaseForward) GetName() string
func (HelmReleaseForward) GetTask ¶
func (exec HelmReleaseForward) GetTask(name string, dependencies []string, timeout, hrStr string, taskParams *apiextensionsv1.JSON) (v1alpha13.DAGTask, error)
func (HelmReleaseForward) GetTemplate ¶
func (exec HelmReleaseForward) GetTemplate() v1alpha13.Template
func (HelmReleaseForward) Reverse ¶
func (exec HelmReleaseForward) Reverse() Executor
type HelmReleaseReverse ¶
type HelmReleaseReverse struct{}
func (HelmReleaseReverse) GetName ¶
func (exec HelmReleaseReverse) GetName() string
func (HelmReleaseReverse) GetTask ¶
func (exec HelmReleaseReverse) GetTask(name string, dependencies []string, timeout, hrStr string, taskParams *apiextensionsv1.JSON) (v1alpha13.DAGTask, error)
func (HelmReleaseReverse) GetTemplate ¶
func (exec HelmReleaseReverse) GetTemplate() v1alpha13.Template
func (HelmReleaseReverse) Reverse ¶
func (exec HelmReleaseReverse) Reverse() Executor
type KeptnForward ¶
type KeptnForward struct{}
func (KeptnForward) GetName ¶
func (exec KeptnForward) GetName() string
func (KeptnForward) GetTask ¶
func (exec KeptnForward) GetTask(name string, dependencies []string, timeout, hrStr string, taskParams *apiextensionsv1.JSON) (v1alpha13.DAGTask, error)
func (KeptnForward) GetTemplate ¶
func (exec KeptnForward) GetTemplate() v1alpha13.Template
func (KeptnForward) Reverse ¶
func (exec KeptnForward) Reverse() Executor
type KeptnParameters ¶
type KeptnParameters struct {
ConfigMapRef corev1.ObjectReference `json:"configMapRef"`
}
type KeptnReverse ¶
type KeptnReverse struct{}
func (KeptnReverse) GetName ¶
func (exec KeptnReverse) GetName() string
func (KeptnReverse) GetTask ¶
func (exec KeptnReverse) GetTask(name string, dependencies []string, timeout, hrStr string, taskParams *apiextensionsv1.JSON) (v1alpha13.DAGTask, error)
func (KeptnReverse) GetTemplate ¶
func (exec KeptnReverse) GetTemplate() v1alpha13.Template
func (KeptnReverse) Reverse ¶
func (exec KeptnReverse) Reverse() Executor
Click to show internal directories.
Click to hide internal directories.