workflow

package
v0.0.0-...-3a2f251 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2024 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConureSystemNamespace = "conure-system"
)
View Source
const (
	OwnerKey = ".metadata.controller"
)

Variables

This section is empty.

Functions

func Setup

func Setup(mgr ctrl.Manager) error

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 (*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

type WorkflowReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

WorkflowReconciler reconciles an WorkflowRun object

func (*WorkflowReconciler) Reconcile

func (r *WorkflowReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*WorkflowReconciler) SetupWithManager

func (r *WorkflowReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL