utils

package
Version: v0.0.0-...-d19fc40 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultConfigMapEqual

func DefaultConfigMapEqual(cm1, cm2 *corev1.ConfigMap) bool

DefaultConfigMapEqual is a basic equality testing function for K8s ConfigMaps based on string Data.

Types

type ConfigMapReconciler

type ConfigMapReconciler struct {
	KubeClient kubernetes.Interface
	Lister     corev1listers.ConfigMapLister
	Recorder   record.EventRecorder
}

func (*ConfigMapReconciler) ReconcileConfigMap

ReconcileConfigMap reconciles the K8s ConfigMap 'cm'.

type DeploymentReconciler

type DeploymentReconciler struct {
	KubeClient kubernetes.Interface
	Lister     appsv1listers.DeploymentLister
	Recorder   record.EventRecorder
}

func (*DeploymentReconciler) ReconcileDeployment

func (r *DeploymentReconciler) ReconcileDeployment(ctx context.Context, obj runtime.Object, d *appsv1.Deployment) (*appsv1.Deployment, error)

ReconcileDeployment reconciles the K8s Deployment 'd'.

type ServiceReconciler

type ServiceReconciler struct {
	KubeClient      kubernetes.Interface
	ServiceLister   corev1listers.ServiceLister
	EndpointsLister corev1listers.EndpointsLister
	Recorder        record.EventRecorder
}

func (*ServiceReconciler) ReconcileService

func (r *ServiceReconciler) ReconcileService(ctx context.Context, obj runtime.Object, svc *corev1.Service) (*corev1.Endpoints, error)

ReconcileService reconciles the K8s Service 'svc'.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL