controller

package
v0.7.24 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AddToManagerFuncs []func(manager.Manager, ControllerOptions) error

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

Functions

func AddToManager

func AddToManager(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
}

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