controllers

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: Apache-2.0 Imports: 48 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, crdWatch *crd_watch.CrdWatch) *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