statefulsets

package
v1.0.16 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GLOBAL_CRNAME string = ""

Functions

func MakeStatefulSet

func MakeStatefulSet(currentStateFulSet *appsv1.StatefulSet, ssName string, svcHeadlessName string, namespacedName types.NamespacedName, annotations map[string]string, labels map[string]string, replicas *int32) *appsv1.StatefulSet

func RetrieveStatefulSet

func RetrieveStatefulSet(statefulsetName string, namespacedName types.NamespacedName, labels map[string]string, client client.Client) (*appsv1.StatefulSet, error)

Types

type StatefulSetInfo added in v1.0.7

type StatefulSetInfo struct {
	NamespacedName types.NamespacedName
	Labels         map[string]string
	Replicas       int32
}

func GetDeployedStatefulSetNames added in v1.0.7

func GetDeployedStatefulSetNames(client rtclient.Client, ns string, filter []types.NamespacedName) []StatefulSetInfo

Jump to

Keyboard shortcuts

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