Documentation
¶
Index ¶
- Constants
- type Client
- func (c *Client) Create(database *mysqlv1beta1.Database) (*mysqlv1beta1.Database, error)
- func (c *Client) Delete(name string, options *metav1.DeleteOptions) error
- func (c *Client) Exists(name string, opts metav1.GetOptions) (bool, error)
- func (c *Client) Get(name string, opts metav1.GetOptions) (*mysqlv1beta1.Database, error)
- func (c *Client) List(opts metav1.ListOptions) (*mysqlv1beta1.DatabaseList, error)
- func (c *Client) Update(database *mysqlv1beta1.Database) (*mysqlv1beta1.Database, error)
- func (c *Client) Watch(opts metav1.ListOptions) (watch.Interface, error)
- type Interface
Constants ¶
View Source
const Kind = "Database"
Kind of object this client handles.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client for interacting with Database objects.
func (*Client) Create ¶
func (c *Client) Create(database *mysqlv1beta1.Database) (*mysqlv1beta1.Database, error)
Create a Database.
func (*Client) Delete ¶
func (c *Client) Delete(name string, options *metav1.DeleteOptions) error
Delete a Database.
func (*Client) Get ¶
func (c *Client) Get(name string, opts metav1.GetOptions) (*mysqlv1beta1.Database, error)
Get a Database.
func (*Client) List ¶
func (c *Client) List(opts metav1.ListOptions) (*mysqlv1beta1.DatabaseList, error)
List all Databasees.
func (*Client) Update ¶
func (c *Client) Update(database *mysqlv1beta1.Database) (*mysqlv1beta1.Database, error)
Update a Database.
type Interface ¶
type Interface interface { List(opts metav1.ListOptions) (*mysqlv1beta1.DatabaseList, error) Get(name string, opts metav1.GetOptions) (*mysqlv1beta1.Database, error) Exists(name string, opts metav1.GetOptions) (bool, error) Create(*mysqlv1beta1.Database) (*mysqlv1beta1.Database, error) Update(*mysqlv1beta1.Database) (*mysqlv1beta1.Database, error) Delete(name string, opts *metav1.DeleteOptions) error Watch(opts metav1.ListOptions) (watch.Interface, error) }
Interface declares interactions with the Database objects.
Click to show internal directories.
Click to hide internal directories.