Documentation ¶
Overview ¶
this file defines formatter for names and attributes used in openGauss-operator
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MasterFormatter ¶
func (*MasterFormatter) ConfigMapName ¶
func (formatter *MasterFormatter) ConfigMapName() string
func (*MasterFormatter) ReplConnInfo ¶
func (formatter *MasterFormatter) ReplConnInfo() string
func (*MasterFormatter) ServiceName ¶
func (formatter *MasterFormatter) ServiceName() string
func (*MasterFormatter) StatefulSetName ¶
func (formatter *MasterFormatter) StatefulSetName() string
type ReplicaFormatter ¶
func (*ReplicaFormatter) ConfigMapName ¶
func (formatter *ReplicaFormatter) ConfigMapName() string
func (*ReplicaFormatter) ReplConnInfo ¶
func (formatter *ReplicaFormatter) ReplConnInfo() string
func (*ReplicaFormatter) ServiceName ¶
func (formatter *ReplicaFormatter) ServiceName() string
func (*ReplicaFormatter) StatefulSetName ¶
func (formatter *ReplicaFormatter) StatefulSetName() string
type StatefulsetFormatterInterface ¶
type StatefulsetFormatterInterface interface { StatefulSetName() string ServiceName() string ReplConnInfo() string ConfigMapName() string }
func Master ¶
func Master(og *v1.OpenGauss) StatefulsetFormatterInterface
func Replica ¶
func Replica(og *v1.OpenGauss) StatefulsetFormatterInterface
Click to show internal directories.
Click to hide internal directories.