coreos

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2020 License: Apache-2.0, MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DefaultAddOptions are the default controller.Options for AddToManager.
	DefaultAddOptions = AddOptions{}
	// Types is the type of operating system configs the CoreOS Alicloud controller monitors.
	Types = []string{"coreos-alicloud"}
)

Functions

func AddToManager

func AddToManager(mgr manager.Manager) error

AddToManager adds a controller with the default Options.

func AddToManagerWithOptions

func AddToManagerWithOptions(mgr manager.Manager, opts AddOptions) error

AddToManagerWithOptions adds a controller with the given Options to the given manager. The opts.Reconciler is being set with a newly instantiated actuator.

func ControllerSwitchOptions

func ControllerSwitchOptions() *cmd.SwitchOptions

ControllerSwitchOptions are the cmd.SwitchOptions to add all controllers of this provider to a manager.

func NewActuator

func NewActuator() operatingsystemconfig.Actuator

NewActuator creates a new actuator with the given logger.

Types

type AddOptions

type AddOptions struct {
	// Controller are the controller related options.
	Controller controller.Options
	// IgnoreOperationAnnotation specifies whether to ignore the operation annotation or not.
	IgnoreOperationAnnotation bool
}

AddOptions are the options for adding the controller to the manager.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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