controllers

package
v0.18.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: Apache-2.0 Imports: 51 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MetricsServiceName = "ssp-operator-metrics"
	OperatorName       = "ssp-operator"
)

Variables

View Source
var (
	VmRhel6 = promauto.NewGaugeVec(
		prometheus.GaugeOpts{
			Name: rhel6MetricName,
			Help: "Indication for a VirtualMachine that is based on rhel6 template",
		},
		[]string{
			"namespace", "name",
		},
	)
)

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 CreateVmController added in v0.17.0

func CreateVmController(mgr ctrl.Manager) (*vmReconciler, 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) *v1.Service

Types

type ControllerReconciler added in v0.17.0

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

Jump to

Keyboard shortcuts

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