Documentation
¶
Index ¶
- Constants
- func Container(cr *api.PerconaServerMongoDBClusterSync) corev1.Container
- func Deployment(cr *api.PerconaServerMongoDBClusterSync) *appsv1.Deployment
- func DeploymentName(cr *api.PerconaServerMongoDBClusterSync) string
- func DeploymentSpec(cr *api.PerconaServerMongoDBClusterSync, template corev1.PodTemplateSpec) appsv1.DeploymentSpec
- func Labels(cr *api.PerconaServerMongoDBClusterSync) map[string]string
- func PodTemplateSpec(cr *api.PerconaServerMongoDBClusterSync) corev1.PodTemplateSpec
- func TargetUserSecretName(cr *api.PerconaServerMongoDBClusterSync) string
- func URISecretName(cr *api.PerconaServerMongoDBClusterSync) string
Constants ¶
View Source
const ( ComponentPCSM = "pcsm" ContainerName = "pcsm" HTTPPortName = "pcsm-http" HTTPPort int32 = 2242 URISecretSourceKey = "source-uri" URISecretTargetKey = "target-uri" )
Variables ¶
This section is empty.
Functions ¶
func Container ¶
func Container(cr *api.PerconaServerMongoDBClusterSync) corev1.Container
Container builds the PCSM container.
func Deployment ¶
func Deployment(cr *api.PerconaServerMongoDBClusterSync) *appsv1.Deployment
func DeploymentName ¶
func DeploymentName(cr *api.PerconaServerMongoDBClusterSync) string
func DeploymentSpec ¶
func DeploymentSpec(cr *api.PerconaServerMongoDBClusterSync, template corev1.PodTemplateSpec) appsv1.DeploymentSpec
func PodTemplateSpec ¶
func PodTemplateSpec(cr *api.PerconaServerMongoDBClusterSync) corev1.PodTemplateSpec
PodTemplateSpec wires the PCSM container into a PodSpec.
func TargetUserSecretName ¶
func TargetUserSecretName(cr *api.PerconaServerMongoDBClusterSync) string
TargetUserSecretName holds the syncTargetUser credentials the controller provisions on the target cluster.
func URISecretName ¶
func URISecretName(cr *api.PerconaServerMongoDBClusterSync) string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.