workflow

package
v0.0.0-...-81a8576 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConureSystemNamespace = "conure-system"
)

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
	OCIRepoCredentials string
	Namespace          string
	ID                 string
}

func NewActionsHandler

func NewActionsHandler(ctx context.Context, Namespace string, wflw *coreconureiov1alpha1.Workflow, reconciler *WorkflowReconciler) (*ActionsHandler, error)

func (*ActionsHandler) GetActions

func (a *ActionsHandler) GetActions() error

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