utils

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2021 License: Apache-2.0 Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

BrokerClassFilter is the function to filter brokers with proper brokerclass.

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