utils

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultConfigMapEqual added in v0.17.1

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
y or Y : Canonical URL