Documentation ¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_IMAGE = "docker.io/mariadb:10" DEFAULT_CLIENT_PORT = 3306 DEFAULT_TRAFFIC_PORT = 4567 DEFAULT_IST_PORT = 4568 DEFAULT_SST_PORT = 4444 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatabaseAccount ¶
type DatabaseAccount struct {
MysqlUser, MysqlPassword, MysqlDatabase, MysqlRootPassword string
}
type MariadbGaleraRecipient ¶
type MariadbGaleraRecipient struct { DatabaseAccount Name, Namespace string CustomResourceName, ServiceName string Image, ClientPortName, TrafficTcpName, TrafficUdpName, IstName, SstName string Replications, ClientPort, TrafficTcpPort, TrafficUdpPort, IstPort, SstPort int Quorum *uint8 Weights []*uint8 Count int ClusterName string }
func NewMariadbGaleraRecipient ¶
func NewMariadbGaleraRecipient(name, namespace, crn, service string, count *uint8, dbaccount *DatabaseAccount) *MariadbGaleraRecipient
func NewMariadbGaleraRecipient1 ¶
func NewMariadbGaleraRecipient1(name, namespace, crn, service, cluster string, count *uint8, dbaccount *DatabaseAccount) *MariadbGaleraRecipient
func (*MariadbGaleraRecipient) Create ¶
func (recipe *MariadbGaleraRecipient) Create() (*v1beta2.StatefulSet, error)
Click to show internal directories.
Click to hide internal directories.