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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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