Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StatefulsetYamlData = `` /* 2658-byte string literal not displayed */
StatefulsetYamlData is a basic yaml data for the AnalyticsSnmp statefulset.
Functions ¶
func GetStatefulsetFromYaml ¶
func GetStatefulsetFromYaml() (*appsv1.StatefulSet, error)
GetStatefulsetFromYaml returns basic StatesfulSet created from StatefulsetYamlData
Types ¶
type ReconcileAnalyticsSnmp ¶
type ReconcileAnalyticsSnmp 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 }
ReconcileAnalyticsSnmp reconciles a AnalyticsSnmp object.
func (*ReconcileAnalyticsSnmp) GetSTS ¶
func (r *ReconcileAnalyticsSnmp) GetSTS(request reconcile.Request, instance *v1alpha1.AnalyticsSnmp, reqLogger logr.Logger) (*appsv1.StatefulSet, error)
GetSTS prepare STS object for creation
Click to show internal directories.
Click to hide internal directories.