Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MySQL ¶
type MySQL struct { Sts *appsv1.StatefulSet Svc *corev1.Service }
MySQL represents a MySQL instance in K8s.
type Ops ¶
type Ops struct {
// contains filtered or unexported fields
}
Ops knows how to operate MySQL on k8s
func New ¶
func New(namespace, name string, conf fixture.MySQLConfig) *Ops
New creates a new MySQL Ops.
func (*Ops) GetClientNodes ¶
func (o *Ops) GetClientNodes() ([]cluster.ClientNode, error)
GetClientNodes returns the client nodes.
Click to show internal directories.
Click to hide internal directories.