controller

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyWithoutLastAppliedConfiguration

func CopyWithoutLastAppliedConfiguration(annotations map[string]string) map[string]string

func EqualDNSEndpoints

func EqualDNSEndpoints(newEp, oldEp *endpoint.DNSEndpoint) bool

EqualDNSEndpoints compares labels, annotations and spec

func EqualMaps

func EqualMaps(a, b map[string]string) bool

EqualMaps compares two maps. It ignores nil and empty map difference

Types

type ClusterReconciler

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

func (*ClusterReconciler) ClusterToEndpointMapFunc

func (r *ClusterReconciler) ClusterToEndpointMapFunc(ctx context.Context, o client.Object) []ctrl.Request

func (*ClusterReconciler) GenerateDNSEndpoint

func (r *ClusterReconciler) GenerateDNSEndpoint(ctx context.Context, req ctrl.Request) (*endpoint.DNSEndpoint, error)

func (ClusterReconciler) MachineToEndpointMapFunc

func (r ClusterReconciler) MachineToEndpointMapFunc(_ context.Context, o client.Object) []ctrl.Request

func (*ClusterReconciler) Reconcile

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

func (*ClusterReconciler) SetupWithManager

func (r *ClusterReconciler) SetupWithManager(ctx context.Context, 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