crdinstallation

package
v0.7.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const ControllerName = "crd-installation-controller"

ControllerName is the controller name that will be used when reporting events.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	client.Client
	EventRecorder      record.EventRecorder
	RateLimiterOptions ratelimiterflag.Options
}

Controller will to install ServiceExport CRD in the member clusters.

func (*Controller) Reconcile

Reconcile performs a full reconciliation for the Cluster object and installs ServiceExport CRD in the member clusters.

func (*Controller) SetupWithManager

func (r *Controller) SetupWithManager(_ context.Context, mgr controllerruntime.Manager) error

SetupWithManager creates a controller and register to controller manager.

Jump to

Keyboard shortcuts

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