Documentation
¶
Index ¶
Constants ¶
View Source
const (
ConureSystemNamespace = "conure-system"
)
View Source
const (
OwnerKey = ".metadata.controller"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ActionsHandler ¶
type ActionsHandler struct {
Ctx context.Context
Reconciler *WorkflowReconciler
Actions []coreconureiov1alpha1.Action
Workflow *coreconureiov1alpha1.Workflow
WorkflowRun *coreconureiov1alpha1.WorkflowRun
OCIRepoCredentials string
Namespace string
ID string
}
func NewActionsHandler ¶
func NewActionsHandler(ctx context.Context, Namespace string, wflw *coreconureiov1alpha1.Workflow, wflr *coreconureiov1alpha1.WorkflowRun, reconciler *WorkflowReconciler) *ActionsHandler
func (*ActionsHandler) GetActions ¶
func (a *ActionsHandler) GetActions() []coreconureiov1alpha1.Action
func (*ActionsHandler) RunAction ¶
func (a *ActionsHandler) RunAction(action *coreconureiov1alpha1.Action) error
func (*ActionsHandler) RunActions ¶
func (a *ActionsHandler) RunActions() error
type WorkflowReconciler ¶
WorkflowReconciler reconciles an WorkflowRun object
func (*WorkflowReconciler) SetupWithManager ¶
func (r *WorkflowReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.