Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBackupV1alpha1
- type FakeETCDBackups
- func (c *FakeETCDBackups) Create(eTCDBackup *v1alpha1.ETCDBackup) (result *v1alpha1.ETCDBackup, err error)
- func (c *FakeETCDBackups) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeETCDBackups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeETCDBackups) Get(name string, options v1.GetOptions) (result *v1alpha1.ETCDBackup, err error)
- func (c *FakeETCDBackups) List(opts v1.ListOptions) (result *v1alpha1.ETCDBackupList, err error)
- func (c *FakeETCDBackups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ETCDBackup, err error)
- func (c *FakeETCDBackups) Update(eTCDBackup *v1alpha1.ETCDBackup) (result *v1alpha1.ETCDBackup, err error)
- func (c *FakeETCDBackups) UpdateStatus(eTCDBackup *v1alpha1.ETCDBackup) (*v1alpha1.ETCDBackup, error)
- func (c *FakeETCDBackups) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBackupV1alpha1 ¶
func (*FakeBackupV1alpha1) ETCDBackups ¶
func (c *FakeBackupV1alpha1) ETCDBackups() v1alpha1.ETCDBackupInterface
func (*FakeBackupV1alpha1) RESTClient ¶
func (c *FakeBackupV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeETCDBackups ¶
type FakeETCDBackups struct {
Fake *FakeBackupV1alpha1
}
FakeETCDBackups implements ETCDBackupInterface
func (*FakeETCDBackups) Create ¶
func (c *FakeETCDBackups) Create(eTCDBackup *v1alpha1.ETCDBackup) (result *v1alpha1.ETCDBackup, err error)
Create takes the representation of a eTCDBackup and creates it. Returns the server's representation of the eTCDBackup, and an error, if there is any.
func (*FakeETCDBackups) Delete ¶
func (c *FakeETCDBackups) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the eTCDBackup and deletes it. Returns an error if one occurs.
func (*FakeETCDBackups) DeleteCollection ¶
func (c *FakeETCDBackups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeETCDBackups) Get ¶
func (c *FakeETCDBackups) Get(name string, options v1.GetOptions) (result *v1alpha1.ETCDBackup, err error)
Get takes name of the eTCDBackup, and returns the corresponding eTCDBackup object, and an error if there is any.
func (*FakeETCDBackups) List ¶
func (c *FakeETCDBackups) List(opts v1.ListOptions) (result *v1alpha1.ETCDBackupList, err error)
List takes label and field selectors, and returns the list of ETCDBackups that match those selectors.
func (*FakeETCDBackups) Patch ¶
func (c *FakeETCDBackups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ETCDBackup, err error)
Patch applies the patch and returns the patched eTCDBackup.
func (*FakeETCDBackups) Update ¶
func (c *FakeETCDBackups) Update(eTCDBackup *v1alpha1.ETCDBackup) (result *v1alpha1.ETCDBackup, err error)
Update takes the representation of a eTCDBackup and updates it. Returns the server's representation of the eTCDBackup, and an error, if there is any.
func (*FakeETCDBackups) UpdateStatus ¶
func (c *FakeETCDBackups) UpdateStatus(eTCDBackup *v1alpha1.ETCDBackup) (*v1alpha1.ETCDBackup, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeETCDBackups) Watch ¶
func (c *FakeETCDBackups) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested eTCDBackups.