mysql

package
v0.0.0-...-d89597d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

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
}

func (*MySQL) URI

func (m *MySQL) URI() string

type MySQLOps

type MySQLOps struct {
	// contains filtered or unexported fields
}

MySQLOps knows how to operate MySQL on k8s

func New

func New(cli client.Client) *MySQLOps

func (*MySQLOps) ApplyMySQL

func (m *MySQLOps) ApplyMySQL(spec *MySQLSpec) (*MySQL, error)

func (*MySQLOps) DeleteMySQL

func (m *MySQLOps) DeleteMySQL(ms *MySQL) error

type MySQLSpec

type MySQLSpec struct {
	Name      string
	Namespace string
	Version   string
	Resource  v1alpha1.Resources
	Storage   fixture.StorageType
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL