Documentation ¶
Index ¶
- 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 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) (*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.