Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultTimeout = "5m" ExecutorName = "executor" HelmReleaseArg = "helmrelease" TimeoutArg = "timeout" )
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 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) 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.