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 ¶
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.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.