Documentation ¶
Index ¶
- Constants
- Variables
- func AddToManager(mgr manager.Manager) error
- func AddToManagerWithOptions(mgr manager.Manager, options AddOptions) error
- func NewActuator(client client.Client, namespace string, logger logr.Logger) controller.Actuator
- func NewLoadBalancerIPsChangedPredicate(logger logr.Logger) predicate.Predicate
- type AddOptions
Constants ¶
View Source
const ( ControllerName = "azureservice-controller" ActuatorName = "azureservice-actuator" PredicateName = "azureservice-load-balancer-ips-changed-predicate" FinalizerName = "azure.remedy.gardener.cloud/service" )
Variables ¶
View Source
var ( // DefaultAddOptions are the default AddOptions for AddToManager. DefaultAddOptions = AddOptions{} )
Functions ¶
func AddToManager ¶
AddToManager adds a controller with the default AddOptions to the given manager.
func AddToManagerWithOptions ¶
func AddToManagerWithOptions(mgr manager.Manager, options AddOptions) error
AddToManagerWithOptions adds a controller with the given AddOptions to the given manager.
func NewActuator ¶
NewActuator creates a new Actuator.
Types ¶
type AddOptions ¶
type AddOptions struct { // Controller are the controller.Options. Controller controller.Options // Client is the Kubernetes client for the control cluster. Client client.Client // Namespace is the namespace for custom resources in the control cluster. Namespace string }
AddOptions are options to apply when adding a controller to a manager.
Click to show internal directories.
Click to hide internal directories.