controller

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

AddToManagerFuncs is a list of functions to add all Controllers to the Manager

Functions

func AddToManager

func AddToManager(ctx context.Context, m manager.Manager, opts ControllerOptions) error

AddToManager adds all Controllers to the Manager

Types

type ControllerOptions

type ControllerOptions struct {
	// K8sVersion represents version of the running Kubernetes cluster/API server
	K8sVersion version.Version
	// Namespace to use for namespace-scoped sub-resources created by the controller
	Namespace string
	// DriverImage to use as default image for driver deployment
	DriverImage string
	// Config kubernetes config used
	Config *rest.Config
	// EventClient events client to use for recording events
	EventsClient v1.EventInterface
}

ControllerOptions type defintions for options to be passed to reconcile controller

Directories

Path Synopsis
testcases
Package testcases contains test cases for the operator which can be used both during unit and E2E testing.
Package testcases contains test cases for the operator which can be used both during unit and E2E testing.

Jump to

Keyboard shortcuts

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