Documentation ¶
Index ¶
- Constants
- func GenCommunalCredSecretName(vdb *vapi.VerticaDB) types.NamespacedName
- func GenExtSvcName(vdb *vapi.VerticaDB, sc *vapi.Subcluster) types.NamespacedName
- func GenHlSvcName(vdb *vapi.VerticaDB) types.NamespacedName
- func GenKrb5SecretName(vdb *vapi.VerticaDB) types.NamespacedName
- func GenNamespacedName(vdb *vapi.VerticaDB, name string) types.NamespacedName
- func GenPVCName(vdb *vapi.VerticaDB, sc *vapi.Subcluster, podIndex int32) types.NamespacedName
- func GenPVName(vdb *vapi.VerticaDB, sc *vapi.Subcluster, podIndex int32) types.NamespacedName
- func GenPodName(vdb *vapi.VerticaDB, sc *vapi.Subcluster, podIndex int32) types.NamespacedName
- func GenPodNameFromSts(vdb *vapi.VerticaDB, sts *appsv1.StatefulSet, podIndex int32) types.NamespacedName
- func GenS3SseCustomerKeySecretName(vdb *vapi.VerticaDB) types.NamespacedName
- func GenSUPasswdSecretName(vdb *vapi.VerticaDB) types.NamespacedName
- func GenStsName(vdb *vapi.VerticaDB, sc *vapi.Subcluster) types.NamespacedName
Constants ¶
const ( ServerContainer = "server" ServerContainerIndex = 0 )
Variables ¶
This section is empty.
Functions ¶
func GenCommunalCredSecretName ¶
func GenCommunalCredSecretName(vdb *vapi.VerticaDB) types.NamespacedName
GenCommunalCredSecretName returns the name of the secret that has the credentials to access s3
func GenExtSvcName ¶
func GenExtSvcName(vdb *vapi.VerticaDB, sc *vapi.Subcluster) types.NamespacedName
GenExtSvcName returns the name of the external service object.
func GenHlSvcName ¶
func GenHlSvcName(vdb *vapi.VerticaDB) types.NamespacedName
GenHlSvcName returns the name of the headless service object.
func GenKrb5SecretName ¶ added in v1.2.0
func GenKrb5SecretName(vdb *vapi.VerticaDB) types.NamespacedName
GenKrb5SecretName returns the name of the secret that has the Kerberos config and keytab
func GenNamespacedName ¶ added in v1.2.0
func GenNamespacedName(vdb *vapi.VerticaDB, name string) types.NamespacedName
GenNamespacedName will take any name and make it a namespace name that uses the same namespace as the VerticaDB.
func GenPVCName ¶ added in v1.7.0
func GenPVCName(vdb *vapi.VerticaDB, sc *vapi.Subcluster, podIndex int32) types.NamespacedName
GenPVCName returns the name of a specific pod's PVC. This is for test purposes only.
func GenPVName ¶ added in v1.7.0
func GenPVName(vdb *vapi.VerticaDB, sc *vapi.Subcluster, podIndex int32) types.NamespacedName
GenPVName returns the name of a dummy PV for test purposes
func GenPodName ¶
func GenPodName(vdb *vapi.VerticaDB, sc *vapi.Subcluster, podIndex int32) types.NamespacedName
GenPodName returns the name of a specific pod in a subcluster The name of the pod is generated, this function is just a helper for when we need to lookup a pod by its generated name.
func GenPodNameFromSts ¶ added in v1.2.0
func GenPodNameFromSts(vdb *vapi.VerticaDB, sts *appsv1.StatefulSet, podIndex int32) types.NamespacedName
GenPodNameFromSts returns the name of a specific pod in a statefulset
func GenS3SseCustomerKeySecretName ¶ added in v1.11.0
func GenS3SseCustomerKeySecretName(vdb *vapi.VerticaDB) types.NamespacedName
GenS3SseCustomerKeySecretName returns the name of the secret that has the client key for SSE-C server-side encryption.
func GenSUPasswdSecretName ¶
func GenSUPasswdSecretName(vdb *vapi.VerticaDB) types.NamespacedName
GenSUPasswdSecretName returns the name of the secret that has the superuser password
func GenStsName ¶
func GenStsName(vdb *vapi.VerticaDB, sc *vapi.Subcluster) types.NamespacedName
GenStsName returns the name of the statefulset object
Types ¶
This section is empty.