controllers

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const FinalizerNetTop = "network-topology.finalizers.giantswarm.io"

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterClient

type ClusterClient interface {
	Get(context.Context, types.NamespacedName) (*capi.Cluster, error)
	AddFinalizer(context.Context, *capi.Cluster, string) error
	RemoveFinalizer(context.Context, *capi.Cluster, string) error
}

type NetworkTopologyReconciler

type NetworkTopologyReconciler struct {
	// contains filtered or unexported fields
}

func NewNetworkTopologyReconciler

func NewNetworkTopologyReconciler(client ClusterClient, registrars []Registrar) *NetworkTopologyReconciler

func (*NetworkTopologyReconciler) Reconcile

func (*NetworkTopologyReconciler) SetupWithManager

func (r *NetworkTopologyReconciler) SetupWithManager(mgr ctrl.Manager) error

type Registrar

type Registrar interface {
	Register(context.Context, *capi.Cluster) error
	Unregister(context.Context, *capi.Cluster) error
}

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL