mysql

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2019 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	RestClient rest.Interface
}

Client for interacting with Operator objects.

func NewForConfig

func NewForConfig(c *rest.Config) (*Client, error)

NewForConfig returns a client for interacting with MySQL objects.

func (*Client) Databases

func (c *Client) Databases(namespace string) DatabaseInterface

Databases within a namespace.

type ClientInterface

type ClientInterface interface {
	Databases(namespace string) DatabaseInterface
}

ClientInterface for interacting with AWS subclients.

type DatabaseInterface

type DatabaseInterface interface {
	List(opts metav1.ListOptions) (*mysqlv1beta1.DatabaseList, error)
	Get(name string, options metav1.GetOptions) (*mysqlv1beta1.Database, error)
	Create(*mysqlv1beta1.Database) (*mysqlv1beta1.Database, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
}

DatabaseInterface declares interactions with the Database objects.

Jump to

Keyboard shortcuts

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