controllers

package
v0.19.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 48 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServiceManagedByLabelValue = "ssp-operator-services"
	MetricsServiceName         = "ssp-operator-metrics"
	OperatorName               = "ssp-operator"
	ServiceControllerName      = "service-controller"
)

Variables

This section is empty.

Functions

func CreateAndStartReconciler added in v0.16.2

func CreateAndStartReconciler(ctx context.Context, mgr controllerruntime.Manager) error

func CreateServiceController added in v0.16.0

func CreateServiceController(ctx context.Context, mgr ctrl.Manager) (*serviceReconciler, error)

func NewSspReconciler added in v0.13.0

func NewSspReconciler(client client.Client, uncachedReader client.Reader, infrastructureTopology osconfv1.TopologyMode, operands []operands.Operand, crdList crd_watch.CrdList) *sspReconciler

func ServiceObject added in v0.16.0

func ServiceObject(namespace string, appKubernetesPartOfValue string) *v1.Service

Types

type ControllerReconciler added in v0.17.0

type ControllerReconciler interface {
	Start(ctx context.Context, mgr ctrl.Manager) error
	Name() string
}

type VmReconciler added in v0.18.3

type VmReconciler struct {
	// contains filtered or unexported fields
}

func CreateVmController added in v0.17.0

func CreateVmController(mgr ctrl.Manager) (*VmReconciler, error)

func (*VmReconciler) Name added in v0.18.3

func (r *VmReconciler) Name() string

func (*VmReconciler) Reconcile added in v0.18.3

func (r *VmReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*VmReconciler) Start added in v0.18.3

func (r *VmReconciler) Start(_ context.Context, mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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