controllers

package
v0.0.0-...-af62b61 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RyanReconciler

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

RyanReconciler reconciles a Ryan object

func (*RyanReconciler) Reconcile

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

+kubebuilder:rbac:groups=practice.shipa.io,resources=ryans,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=practice.shipa.io,resources=ryans/status,verbs=get;update;patch +kubebuilder:rbac:groups=practice.shipa.io,resources=ryans/finalizers,verbs=update +kubebuilder:rbac:groups=apps,resources=deployment,verbs=get;list;watch;update;patch 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 (*RyanReconciler) SetupWithManager

func (r *RyanReconciler) 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