Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildProxySQLAnnotations ¶ added in v0.0.2
func BuildProxySQLAnnotations(cr *rdsv1alpha1.ProxySQL) (annoations map[string]string)
func BuildProxySQLLabels ¶
func BuildProxySQLLabels(cr *rdsv1alpha1.ProxySQL) (labels map[string]string)
buildProxySQLLabels generate labels from cr resource, used for pod list filter
Types ¶
type ProxySQLBuilder ¶
type ProxySQLBuilder struct {
CR *rdsv1alpha1.ProxySQL
}
func (*ProxySQLBuilder) BuildService ¶
func (t *ProxySQLBuilder) BuildService() (svc *corev1.Service)
BuildService generate proxysql statefulset service
func (*ProxySQLBuilder) BuildSts ¶
func (t *ProxySQLBuilder) BuildSts() (sts *appsv1.StatefulSet, err error)
BuildSts generate proxysql statefulset spec
Click to show internal directories.
Click to hide internal directories.