Documentation ¶
Index ¶
- func MergeTemplateAnnotations(sfs *appsv1.StatefulSet, annotations map[string]string)
- func NewServiceHAProxy(cr *api.PerconaXtraDBCluster) *corev1.Service
- func NewServiceHAProxyReplicas(cr *api.PerconaXtraDBCluster) *corev1.Service
- func NewServicePXC(cr *api.PerconaXtraDBCluster) *corev1.Service
- func NewServicePXCUnready(cr *api.PerconaXtraDBCluster) *corev1.Service
- func NewServiceProxySQL(cr *api.PerconaXtraDBCluster) *corev1.Service
- func NewServiceProxySQLUnready(cr *api.PerconaXtraDBCluster) *corev1.Service
- func PodAffinity(af *api.PodAffinity, app api.App) *corev1.Affinity
- func PodDisruptionBudget(spec *api.PodDisruptionBudgetSpec, app api.StatefulApp, namespace string) *policyv1beta1.PodDisruptionBudget
- func StatefulSet(sfs api.StatefulApp, podSpec *api.PodSpec, cr *api.PerconaXtraDBCluster, ...) (*appsv1.StatefulSet, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MergeTemplateAnnotations ¶ added in v1.7.1
func MergeTemplateAnnotations(sfs *appsv1.StatefulSet, annotations map[string]string)
func NewServiceHAProxy ¶ added in v1.7.1
func NewServiceHAProxy(cr *api.PerconaXtraDBCluster) *corev1.Service
func NewServiceHAProxyReplicas ¶ added in v1.7.1
func NewServiceHAProxyReplicas(cr *api.PerconaXtraDBCluster) *corev1.Service
func NewServicePXC ¶ added in v0.3.0
func NewServicePXC(cr *api.PerconaXtraDBCluster) *corev1.Service
func NewServicePXCUnready ¶ added in v0.3.0
func NewServicePXCUnready(cr *api.PerconaXtraDBCluster) *corev1.Service
func NewServiceProxySQL ¶ added in v0.2.0
func NewServiceProxySQL(cr *api.PerconaXtraDBCluster) *corev1.Service
func NewServiceProxySQLUnready ¶ added in v0.3.0
func NewServiceProxySQLUnready(cr *api.PerconaXtraDBCluster) *corev1.Service
func PodAffinity ¶ added in v0.2.0
PodAffinity returns podAffinity options for the pod
func PodDisruptionBudget ¶ added in v0.3.0
func PodDisruptionBudget(spec *api.PodDisruptionBudgetSpec, app api.StatefulApp, namespace string) *policyv1beta1.PodDisruptionBudget
func StatefulSet ¶ added in v0.2.0
func StatefulSet(sfs api.StatefulApp, podSpec *api.PodSpec, cr *api.PerconaXtraDBCluster, initContainers []corev1.Container, log logr.Logger) (*appsv1.StatefulSet, error)
StatefulSet returns StatefulSet according for app to podSpec
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.