Documentation ¶
Index ¶
- Constants
- func AdaptFunc(monitor mntr.Monitor, nameLabels *labels.Name, podSelector *labels.Selector, ...) (func(necessaryUsers map[string]string, ...) operator.QueryFunc, ...)
- func GetContainer(containerName string, version string, runAsUser int64, runAsNonRoot bool, ...) corev1.Container
- func GetReadyFunc(monitor mntr.Monitor, namespace string, name *labels.Name) operator.EnsureFunc
- func GetResourcesFromDefault(resources *k8s.Resources) *k8s.Resources
- func GetScaleFunc(monitor mntr.Monitor, namespace string, name *labels.Name) func(replicaCount int) operator.EnsureFunc
- func GetVolumes(secretName string, secretPasswordsName string, consoleCMName string) []corev1.Volume
Constants ¶
View Source
const (
RunAsUser = int64(1000)
)
Variables ¶
This section is empty.
Functions ¶
func AdaptFunc ¶
func AdaptFunc( monitor mntr.Monitor, nameLabels *labels.Name, podSelector *labels.Selector, force bool, version *string, namespace string, replicaCount int, affinity *k8s.Affinity, cmName string, certPath string, secretName string, secretPath string, consoleCMName string, secretVarsName string, secretPasswordsName string, nodeSelector map[string]string, tolerations []corev1.Toleration, resources *k8s.Resources, migrationDone operator.EnsureFunc, configurationDone operator.EnsureFunc, setupDone operator.EnsureFunc, customImageRegistry string, ) ( func( necessaryUsers map[string]string, getConfigurationHashes func(k8sClient kubernetes.ClientInt, queried map[string]interface{}, necessaryUsers map[string]string) (map[string]string, error), ) operator.QueryFunc, operator.DestroyFunc, error, )
func GetContainer ¶
func GetContainer( containerName string, version string, runAsUser int64, runAsNonRoot bool, resources *k8s.Resources, cmName string, secretName string, secretPath string, consoleCMName string, secretVarsName string, dbcerts corev1.VolumeMount, command string, customImageRegistry string, secretPasswordsName string, users []string, ) corev1.Container
func GetReadyFunc ¶
func GetResourcesFromDefault ¶
func GetScaleFunc ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.