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