Documentation
¶
Index ¶
- 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Namespace string Objects []*extensionsv1beta1.Backup }
Client for mocking Backup client.
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 a Backup.
func (*Client) Update ¶
func (c *Client) Update(backup *extensionsv1beta1.Backup) (*extensionsv1beta1.Backup, error)
Update a Backup.
Click to show internal directories.
Click to hide internal directories.