Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeDMaaSBackups
- func (c *FakeDMaaSBackups) Create(dMaaSBackup *v1alpha1.DMaaSBackup) (result *v1alpha1.DMaaSBackup, err error)
- func (c *FakeDMaaSBackups) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeDMaaSBackups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeDMaaSBackups) Get(name string, options v1.GetOptions) (result *v1alpha1.DMaaSBackup, err error)
- func (c *FakeDMaaSBackups) List(opts v1.ListOptions) (result *v1alpha1.DMaaSBackupList, err error)
- func (c *FakeDMaaSBackups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.DMaaSBackup, err error)
- func (c *FakeDMaaSBackups) Update(dMaaSBackup *v1alpha1.DMaaSBackup) (result *v1alpha1.DMaaSBackup, err error)
- func (c *FakeDMaaSBackups) UpdateStatus(dMaaSBackup *v1alpha1.DMaaSBackup) (*v1alpha1.DMaaSBackup, error)
- func (c *FakeDMaaSBackups) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeDMaaSRestores
- func (c *FakeDMaaSRestores) Create(dMaaSRestore *v1alpha1.DMaaSRestore) (result *v1alpha1.DMaaSRestore, err error)
- func (c *FakeDMaaSRestores) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeDMaaSRestores) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeDMaaSRestores) Get(name string, options v1.GetOptions) (result *v1alpha1.DMaaSRestore, err error)
- func (c *FakeDMaaSRestores) List(opts v1.ListOptions) (result *v1alpha1.DMaaSRestoreList, err error)
- func (c *FakeDMaaSRestores) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.DMaaSRestore, err error)
- func (c *FakeDMaaSRestores) Update(dMaaSRestore *v1alpha1.DMaaSRestore) (result *v1alpha1.DMaaSRestore, err error)
- func (c *FakeDMaaSRestores) UpdateStatus(dMaaSRestore *v1alpha1.DMaaSRestore) (*v1alpha1.DMaaSRestore, error)
- func (c *FakeDMaaSRestores) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeMayadataV1alpha1
- func (c *FakeMayadataV1alpha1) DMaaSBackups(namespace string) v1alpha1.DMaaSBackupInterface
- func (c *FakeMayadataV1alpha1) DMaaSRestores(namespace string) v1alpha1.DMaaSRestoreInterface
- func (c *FakeMayadataV1alpha1) PreBackupActions(namespace string) v1alpha1.PreBackupActionInterface
- func (c *FakeMayadataV1alpha1) RESTClient() rest.Interface
- type FakePreBackupActions
- func (c *FakePreBackupActions) Create(preBackupAction *v1alpha1.PreBackupAction) (result *v1alpha1.PreBackupAction, err error)
- func (c *FakePreBackupActions) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakePreBackupActions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakePreBackupActions) Get(name string, options v1.GetOptions) (result *v1alpha1.PreBackupAction, err error)
- func (c *FakePreBackupActions) List(opts v1.ListOptions) (result *v1alpha1.PreBackupActionList, err error)
- func (c *FakePreBackupActions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.PreBackupAction, err error)
- func (c *FakePreBackupActions) Update(preBackupAction *v1alpha1.PreBackupAction) (result *v1alpha1.PreBackupAction, err error)
- func (c *FakePreBackupActions) UpdateStatus(preBackupAction *v1alpha1.PreBackupAction) (*v1alpha1.PreBackupAction, error)
- func (c *FakePreBackupActions) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeDMaaSBackups ¶
type FakeDMaaSBackups struct { Fake *FakeMayadataV1alpha1 // contains filtered or unexported fields }
FakeDMaaSBackups implements DMaaSBackupInterface
func (*FakeDMaaSBackups) Create ¶
func (c *FakeDMaaSBackups) Create(dMaaSBackup *v1alpha1.DMaaSBackup) (result *v1alpha1.DMaaSBackup, err error)
Create takes the representation of a dMaaSBackup and creates it. Returns the server's representation of the dMaaSBackup, and an error, if there is any.
func (*FakeDMaaSBackups) Delete ¶
func (c *FakeDMaaSBackups) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the dMaaSBackup and deletes it. Returns an error if one occurs.
func (*FakeDMaaSBackups) DeleteCollection ¶
func (c *FakeDMaaSBackups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDMaaSBackups) Get ¶
func (c *FakeDMaaSBackups) Get(name string, options v1.GetOptions) (result *v1alpha1.DMaaSBackup, err error)
Get takes name of the dMaaSBackup, and returns the corresponding dMaaSBackup object, and an error if there is any.
func (*FakeDMaaSBackups) List ¶
func (c *FakeDMaaSBackups) List(opts v1.ListOptions) (result *v1alpha1.DMaaSBackupList, err error)
List takes label and field selectors, and returns the list of DMaaSBackups that match those selectors.
func (*FakeDMaaSBackups) Patch ¶
func (c *FakeDMaaSBackups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.DMaaSBackup, err error)
Patch applies the patch and returns the patched dMaaSBackup.
func (*FakeDMaaSBackups) Update ¶
func (c *FakeDMaaSBackups) Update(dMaaSBackup *v1alpha1.DMaaSBackup) (result *v1alpha1.DMaaSBackup, err error)
Update takes the representation of a dMaaSBackup and updates it. Returns the server's representation of the dMaaSBackup, and an error, if there is any.
func (*FakeDMaaSBackups) UpdateStatus ¶
func (c *FakeDMaaSBackups) UpdateStatus(dMaaSBackup *v1alpha1.DMaaSBackup) (*v1alpha1.DMaaSBackup, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDMaaSBackups) Watch ¶
func (c *FakeDMaaSBackups) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested dMaaSBackups.
type FakeDMaaSRestores ¶
type FakeDMaaSRestores struct { Fake *FakeMayadataV1alpha1 // contains filtered or unexported fields }
FakeDMaaSRestores implements DMaaSRestoreInterface
func (*FakeDMaaSRestores) Create ¶
func (c *FakeDMaaSRestores) Create(dMaaSRestore *v1alpha1.DMaaSRestore) (result *v1alpha1.DMaaSRestore, err error)
Create takes the representation of a dMaaSRestore and creates it. Returns the server's representation of the dMaaSRestore, and an error, if there is any.
func (*FakeDMaaSRestores) Delete ¶
func (c *FakeDMaaSRestores) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the dMaaSRestore and deletes it. Returns an error if one occurs.
func (*FakeDMaaSRestores) DeleteCollection ¶
func (c *FakeDMaaSRestores) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDMaaSRestores) Get ¶
func (c *FakeDMaaSRestores) Get(name string, options v1.GetOptions) (result *v1alpha1.DMaaSRestore, err error)
Get takes name of the dMaaSRestore, and returns the corresponding dMaaSRestore object, and an error if there is any.
func (*FakeDMaaSRestores) List ¶
func (c *FakeDMaaSRestores) List(opts v1.ListOptions) (result *v1alpha1.DMaaSRestoreList, err error)
List takes label and field selectors, and returns the list of DMaaSRestores that match those selectors.
func (*FakeDMaaSRestores) Patch ¶
func (c *FakeDMaaSRestores) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.DMaaSRestore, err error)
Patch applies the patch and returns the patched dMaaSRestore.
func (*FakeDMaaSRestores) Update ¶
func (c *FakeDMaaSRestores) Update(dMaaSRestore *v1alpha1.DMaaSRestore) (result *v1alpha1.DMaaSRestore, err error)
Update takes the representation of a dMaaSRestore and updates it. Returns the server's representation of the dMaaSRestore, and an error, if there is any.
func (*FakeDMaaSRestores) UpdateStatus ¶
func (c *FakeDMaaSRestores) UpdateStatus(dMaaSRestore *v1alpha1.DMaaSRestore) (*v1alpha1.DMaaSRestore, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDMaaSRestores) Watch ¶
func (c *FakeDMaaSRestores) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested dMaaSRestores.
type FakeMayadataV1alpha1 ¶
func (*FakeMayadataV1alpha1) DMaaSBackups ¶
func (c *FakeMayadataV1alpha1) DMaaSBackups(namespace string) v1alpha1.DMaaSBackupInterface
func (*FakeMayadataV1alpha1) DMaaSRestores ¶
func (c *FakeMayadataV1alpha1) DMaaSRestores(namespace string) v1alpha1.DMaaSRestoreInterface
func (*FakeMayadataV1alpha1) PreBackupActions ¶
func (c *FakeMayadataV1alpha1) PreBackupActions(namespace string) v1alpha1.PreBackupActionInterface
func (*FakeMayadataV1alpha1) RESTClient ¶
func (c *FakeMayadataV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakePreBackupActions ¶
type FakePreBackupActions struct { Fake *FakeMayadataV1alpha1 // contains filtered or unexported fields }
FakePreBackupActions implements PreBackupActionInterface
func (*FakePreBackupActions) Create ¶
func (c *FakePreBackupActions) Create(preBackupAction *v1alpha1.PreBackupAction) (result *v1alpha1.PreBackupAction, err error)
Create takes the representation of a preBackupAction and creates it. Returns the server's representation of the preBackupAction, and an error, if there is any.
func (*FakePreBackupActions) Delete ¶
func (c *FakePreBackupActions) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the preBackupAction and deletes it. Returns an error if one occurs.
func (*FakePreBackupActions) DeleteCollection ¶
func (c *FakePreBackupActions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePreBackupActions) Get ¶
func (c *FakePreBackupActions) Get(name string, options v1.GetOptions) (result *v1alpha1.PreBackupAction, err error)
Get takes name of the preBackupAction, and returns the corresponding preBackupAction object, and an error if there is any.
func (*FakePreBackupActions) List ¶
func (c *FakePreBackupActions) List(opts v1.ListOptions) (result *v1alpha1.PreBackupActionList, err error)
List takes label and field selectors, and returns the list of PreBackupActions that match those selectors.
func (*FakePreBackupActions) Patch ¶
func (c *FakePreBackupActions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.PreBackupAction, err error)
Patch applies the patch and returns the patched preBackupAction.
func (*FakePreBackupActions) Update ¶
func (c *FakePreBackupActions) Update(preBackupAction *v1alpha1.PreBackupAction) (result *v1alpha1.PreBackupAction, err error)
Update takes the representation of a preBackupAction and updates it. Returns the server's representation of the preBackupAction, and an error, if there is any.
func (*FakePreBackupActions) UpdateStatus ¶
func (c *FakePreBackupActions) UpdateStatus(preBackupAction *v1alpha1.PreBackupAction) (*v1alpha1.PreBackupAction, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePreBackupActions) Watch ¶
func (c *FakePreBackupActions) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested preBackupActions.