controller

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusRunning      = "Running"
	StatusProvisioning = "Provisioning"
	StatusUpdating     = "Updating"
	StatusScalingUp    = "Scaling up"
	StatusScalingDown  = "Scaling down"
	StatusFailed       = "Deployment failed"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PipelineReconciler

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

PipelineReconciler reconciles a Pipeline object

func (*PipelineReconciler) Reconcile

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

Reconcile is the main reconcile loop for the Benthos Pipeline

func (*PipelineReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type PipelineScope

type PipelineScope struct {
	Log      *logr.Logger
	Ctx      context.Context
	Client   client.Client
	Pipeline *captainv1.Pipeline
}

Jump to

Keyboard shortcuts

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