controllers

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RunningK8sVersion *version.Version

RunningK8sVersion contains the version of k8s

Functions

func HasDifferentResources

func HasDifferentResources(origin, newone corev1.ResourceRequirements) bool

only cpu and memory

Types

type NginxIngressControllerReconciler

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

NginxIngressControllerReconciler reconciles a NginxIngressController object

func (*NginxIngressControllerReconciler) 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.

func (*NginxIngressControllerReconciler) SetupWithManager

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