controllers

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CosmosFullNodeReconciler

type CosmosFullNodeReconciler struct {
	client.Client
	// contains filtered or unexported fields
}

CosmosFullNodeReconciler reconciles a CosmosFullNode object

func NewFullNode

func NewFullNode(client client.Client, recorder record.EventRecorder) *CosmosFullNodeReconciler

NewFullNode returns a valid CosmosFullNode controller.

func (*CosmosFullNodeReconciler) Reconcile

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

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.12.1/pkg/reconcile

func (*CosmosFullNodeReconciler) SetupWithManager

func (r *CosmosFullNodeReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Directories

Path Synopsis
internal
kube
Package kube contains utility types and methods for managing kubernetes state.
Package kube contains utility types and methods for managing kubernetes state.
test
Package test defines custom test helpers.
Package test defines custom test helpers.

Jump to

Keyboard shortcuts

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