analyticsalarm

package
v0.0.0-...-6ae417f Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StatefulsetYamlData = `` /* 2609-byte string literal not displayed */

StatefulsetYamlData is a basic yaml data for the AnalyticsAlarm statefulset.

Functions

func Add

func Add(mgr manager.Manager) error

Add adds the AnalyticsAlarm controller to the manager.

func FullName

func FullName(name string, request reconcile.Request) string

FullName ...

func GetStatefulsetFromYaml

func GetStatefulsetFromYaml() (*appsv1.StatefulSet, error)

GetStatefulsetFromYaml returns basic StatesfulSet created from StatefulsetYamlData

Types

type ReconcileAnalyticsAlarm

type ReconcileAnalyticsAlarm struct {
	// This client, initialized using mgr.Client() above, is a split client
	// that reads objects from the cache and writes to the apiserver.
	Client     client.Client
	Scheme     *runtime.Scheme
	Manager    manager.Manager
	Kubernetes *k8s.Kubernetes
}

ReconcileAnalyticsAlarm reconciles a AnalyticsAlarm object.

func (*ReconcileAnalyticsAlarm) GetSTS

func (r *ReconcileAnalyticsAlarm) GetSTS(request reconcile.Request, instance *v1alpha1.AnalyticsAlarm, reqLogger logr.Logger) (*appsv1.StatefulSet, error)

GetSTS prepare STS object for creation

func (*ReconcileAnalyticsAlarm) Reconcile

Reconcile reconciles AnalyticsAlarm.

Jump to

Keyboard shortcuts

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