service

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2020 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 21 Imported by: 0

Documentation

Index

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

func AddToManager(mgr manager.Manager) error

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

func NewActuator(client client.Client, namespace string, logger logr.Logger) controller.Actuator

NewActuator creates a new Actuator.

func NewLoadBalancerIPsChangedPredicate

func NewLoadBalancerIPsChangedPredicate(logger logr.Logger) predicate.Predicate

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.

Jump to

Keyboard shortcuts

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