physicalnetwork

package
v0.1.45 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory struct{}

Factory provides methods that can build a type specific controller.

func (*Factory) Metadata

func (*Factory) Metadata() (string, string, string)

Metadata returns the application, version and revision.

func (*Factory) Options

Options returns any options to be added to the CLI flags and passed to the reconciler.

func (*Factory) Reconciler

func (*Factory) Reconciler(options *options.Options, controllerOptions coremanager.ControllerOptions, manager manager.Manager) reconcile.Reconciler

Reconciler returns a new reconciler instance.

func (*Factory) RegisterWatches

func (*Factory) RegisterWatches(manager manager.Manager, controller controller.Controller) error

RegisterWatches adds any watches that would trigger a reconcile.

func (*Factory) Schemes

func (*Factory) Schemes() []coreclient.SchemeAdder

Schemes allows controllers to add types to the client beyond the defaults defined in this repository.

func (*Factory) Upgrade

func (*Factory) Upgrade(_ client.Client) error

Upgrade can perform metadata upgrades of all versioned resources on restart/upgrade of the controller. This must not affect the spec in any way as it causes split brain and potential fail.

Jump to

Keyboard shortcuts

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