controllers

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RemovedDependentEvent            = "RemovedDependent"
	AddedDependentEvent              = "AddedDependent"
	FailedDependencyResolutionEvent  = "FailedDependencyResolution"
	CreatedDeploymentEvent           = "CreatedDeployment"
	UpdatedDeploymentEvent           = "UpdatedDeployment"
	FailedUpdatingDeploymentEvent    = "FailedUpdatingDeployment"
	CreatedServiceEvent              = "CreatedService"
	UpdatedServiceEvent              = "UpdatedService"
	FailedUpdatingServiceEvent       = "FailedUpdatingService"
	CreatedNetworkPolicyEvent        = "CreatedNetworkPolicy"
	UpdatedNetworkPolicyEvent        = "UpdatedNetworkPolicy"
	FailedUpdatingNetworkPolicyEvent = "FailedUpdatingNetworkPolicy"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MicroserviceReconciler

type MicroserviceReconciler struct {
	client.Client
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder
}

MicroserviceReconciler reconciles a Microservice object

func (*MicroserviceReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*MicroserviceReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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