Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBackupV1alpha1
- func (c *FakeBackupV1alpha1) ContainerStorageAccounts(namespace string) v1alpha1.ContainerStorageAccountInterface
- func (c *FakeBackupV1alpha1) PolicyFileShares(namespace string) v1alpha1.PolicyFileShareInterface
- func (c *FakeBackupV1alpha1) PolicyVms(namespace string) v1alpha1.PolicyVmInterface
- func (c *FakeBackupV1alpha1) ProtectedFileShares(namespace string) v1alpha1.ProtectedFileShareInterface
- func (c *FakeBackupV1alpha1) ProtectedVms(namespace string) v1alpha1.ProtectedVmInterface
- func (c *FakeBackupV1alpha1) RESTClient() rest.Interface
- type FakeContainerStorageAccounts
- func (c *FakeContainerStorageAccounts) Create(ctx context.Context, containerStorageAccount *v1alpha1.ContainerStorageAccount, ...) (result *v1alpha1.ContainerStorageAccount, err error)
- func (c *FakeContainerStorageAccounts) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeContainerStorageAccounts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeContainerStorageAccounts) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ContainerStorageAccount, err error)
- func (c *FakeContainerStorageAccounts) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ContainerStorageAccountList, err error)
- func (c *FakeContainerStorageAccounts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ContainerStorageAccount, err error)
- func (c *FakeContainerStorageAccounts) Update(ctx context.Context, containerStorageAccount *v1alpha1.ContainerStorageAccount, ...) (result *v1alpha1.ContainerStorageAccount, err error)
- func (c *FakeContainerStorageAccounts) UpdateStatus(ctx context.Context, containerStorageAccount *v1alpha1.ContainerStorageAccount, ...) (*v1alpha1.ContainerStorageAccount, error)
- func (c *FakeContainerStorageAccounts) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePolicyFileShares
- func (c *FakePolicyFileShares) Create(ctx context.Context, policyFileShare *v1alpha1.PolicyFileShare, ...) (result *v1alpha1.PolicyFileShare, err error)
- func (c *FakePolicyFileShares) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePolicyFileShares) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePolicyFileShares) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PolicyFileShare, err error)
- func (c *FakePolicyFileShares) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PolicyFileShareList, err error)
- func (c *FakePolicyFileShares) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.PolicyFileShare, err error)
- func (c *FakePolicyFileShares) Update(ctx context.Context, policyFileShare *v1alpha1.PolicyFileShare, ...) (result *v1alpha1.PolicyFileShare, err error)
- func (c *FakePolicyFileShares) UpdateStatus(ctx context.Context, policyFileShare *v1alpha1.PolicyFileShare, ...) (*v1alpha1.PolicyFileShare, error)
- func (c *FakePolicyFileShares) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePolicyVms
- func (c *FakePolicyVms) Create(ctx context.Context, policyVm *v1alpha1.PolicyVm, opts v1.CreateOptions) (result *v1alpha1.PolicyVm, err error)
- func (c *FakePolicyVms) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePolicyVms) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePolicyVms) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PolicyVm, err error)
- func (c *FakePolicyVms) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PolicyVmList, err error)
- func (c *FakePolicyVms) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.PolicyVm, err error)
- func (c *FakePolicyVms) Update(ctx context.Context, policyVm *v1alpha1.PolicyVm, opts v1.UpdateOptions) (result *v1alpha1.PolicyVm, err error)
- func (c *FakePolicyVms) UpdateStatus(ctx context.Context, policyVm *v1alpha1.PolicyVm, opts v1.UpdateOptions) (*v1alpha1.PolicyVm, error)
- func (c *FakePolicyVms) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeProtectedFileShares
- func (c *FakeProtectedFileShares) Create(ctx context.Context, protectedFileShare *v1alpha1.ProtectedFileShare, ...) (result *v1alpha1.ProtectedFileShare, err error)
- func (c *FakeProtectedFileShares) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeProtectedFileShares) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeProtectedFileShares) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ProtectedFileShare, err error)
- func (c *FakeProtectedFileShares) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ProtectedFileShareList, err error)
- func (c *FakeProtectedFileShares) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ProtectedFileShare, err error)
- func (c *FakeProtectedFileShares) Update(ctx context.Context, protectedFileShare *v1alpha1.ProtectedFileShare, ...) (result *v1alpha1.ProtectedFileShare, err error)
- func (c *FakeProtectedFileShares) UpdateStatus(ctx context.Context, protectedFileShare *v1alpha1.ProtectedFileShare, ...) (*v1alpha1.ProtectedFileShare, error)
- func (c *FakeProtectedFileShares) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeProtectedVms
- func (c *FakeProtectedVms) Create(ctx context.Context, protectedVm *v1alpha1.ProtectedVm, opts v1.CreateOptions) (result *v1alpha1.ProtectedVm, err error)
- func (c *FakeProtectedVms) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeProtectedVms) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeProtectedVms) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ProtectedVm, err error)
- func (c *FakeProtectedVms) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ProtectedVmList, err error)
- func (c *FakeProtectedVms) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ProtectedVm, err error)
- func (c *FakeProtectedVms) Update(ctx context.Context, protectedVm *v1alpha1.ProtectedVm, opts v1.UpdateOptions) (result *v1alpha1.ProtectedVm, err error)
- func (c *FakeProtectedVms) UpdateStatus(ctx context.Context, protectedVm *v1alpha1.ProtectedVm, opts v1.UpdateOptions) (*v1alpha1.ProtectedVm, error)
- func (c *FakeProtectedVms) Watch(ctx context.Context, 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) ContainerStorageAccounts ¶
func (c *FakeBackupV1alpha1) ContainerStorageAccounts(namespace string) v1alpha1.ContainerStorageAccountInterface
func (*FakeBackupV1alpha1) PolicyFileShares ¶
func (c *FakeBackupV1alpha1) PolicyFileShares(namespace string) v1alpha1.PolicyFileShareInterface
func (*FakeBackupV1alpha1) PolicyVms ¶
func (c *FakeBackupV1alpha1) PolicyVms(namespace string) v1alpha1.PolicyVmInterface
func (*FakeBackupV1alpha1) ProtectedFileShares ¶
func (c *FakeBackupV1alpha1) ProtectedFileShares(namespace string) v1alpha1.ProtectedFileShareInterface
func (*FakeBackupV1alpha1) ProtectedVms ¶
func (c *FakeBackupV1alpha1) ProtectedVms(namespace string) v1alpha1.ProtectedVmInterface
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 FakeContainerStorageAccounts ¶
type FakeContainerStorageAccounts struct { Fake *FakeBackupV1alpha1 // contains filtered or unexported fields }
FakeContainerStorageAccounts implements ContainerStorageAccountInterface
func (*FakeContainerStorageAccounts) Create ¶
func (c *FakeContainerStorageAccounts) Create(ctx context.Context, containerStorageAccount *v1alpha1.ContainerStorageAccount, opts v1.CreateOptions) (result *v1alpha1.ContainerStorageAccount, err error)
Create takes the representation of a containerStorageAccount and creates it. Returns the server's representation of the containerStorageAccount, and an error, if there is any.
func (*FakeContainerStorageAccounts) Delete ¶
func (c *FakeContainerStorageAccounts) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the containerStorageAccount and deletes it. Returns an error if one occurs.
func (*FakeContainerStorageAccounts) DeleteCollection ¶
func (c *FakeContainerStorageAccounts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeContainerStorageAccounts) Get ¶
func (c *FakeContainerStorageAccounts) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ContainerStorageAccount, err error)
Get takes name of the containerStorageAccount, and returns the corresponding containerStorageAccount object, and an error if there is any.
func (*FakeContainerStorageAccounts) List ¶
func (c *FakeContainerStorageAccounts) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ContainerStorageAccountList, err error)
List takes label and field selectors, and returns the list of ContainerStorageAccounts that match those selectors.
func (*FakeContainerStorageAccounts) Patch ¶
func (c *FakeContainerStorageAccounts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ContainerStorageAccount, err error)
Patch applies the patch and returns the patched containerStorageAccount.
func (*FakeContainerStorageAccounts) Update ¶
func (c *FakeContainerStorageAccounts) Update(ctx context.Context, containerStorageAccount *v1alpha1.ContainerStorageAccount, opts v1.UpdateOptions) (result *v1alpha1.ContainerStorageAccount, err error)
Update takes the representation of a containerStorageAccount and updates it. Returns the server's representation of the containerStorageAccount, and an error, if there is any.
func (*FakeContainerStorageAccounts) UpdateStatus ¶
func (c *FakeContainerStorageAccounts) UpdateStatus(ctx context.Context, containerStorageAccount *v1alpha1.ContainerStorageAccount, opts v1.UpdateOptions) (*v1alpha1.ContainerStorageAccount, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeContainerStorageAccounts) Watch ¶
func (c *FakeContainerStorageAccounts) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested containerStorageAccounts.
type FakePolicyFileShares ¶
type FakePolicyFileShares struct { // contains filtered or unexported fields }
FakePolicyFileShares implements PolicyFileShareInterface
func (*FakePolicyFileShares) Create ¶
func (c *FakePolicyFileShares) Create(ctx context.Context, policyFileShare *v1alpha1.PolicyFileShare, opts v1.CreateOptions) (result *v1alpha1.PolicyFileShare, err error)
Create takes the representation of a policyFileShare and creates it. Returns the server's representation of the policyFileShare, and an error, if there is any.
func (*FakePolicyFileShares) Delete ¶
func (c *FakePolicyFileShares) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the policyFileShare and deletes it. Returns an error if one occurs.
func (*FakePolicyFileShares) DeleteCollection ¶
func (c *FakePolicyFileShares) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePolicyFileShares) Get ¶
func (c *FakePolicyFileShares) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PolicyFileShare, err error)
Get takes name of the policyFileShare, and returns the corresponding policyFileShare object, and an error if there is any.
func (*FakePolicyFileShares) List ¶
func (c *FakePolicyFileShares) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PolicyFileShareList, err error)
List takes label and field selectors, and returns the list of PolicyFileShares that match those selectors.
func (*FakePolicyFileShares) Patch ¶
func (c *FakePolicyFileShares) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PolicyFileShare, err error)
Patch applies the patch and returns the patched policyFileShare.
func (*FakePolicyFileShares) Update ¶
func (c *FakePolicyFileShares) Update(ctx context.Context, policyFileShare *v1alpha1.PolicyFileShare, opts v1.UpdateOptions) (result *v1alpha1.PolicyFileShare, err error)
Update takes the representation of a policyFileShare and updates it. Returns the server's representation of the policyFileShare, and an error, if there is any.
func (*FakePolicyFileShares) UpdateStatus ¶
func (c *FakePolicyFileShares) UpdateStatus(ctx context.Context, policyFileShare *v1alpha1.PolicyFileShare, opts v1.UpdateOptions) (*v1alpha1.PolicyFileShare, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePolicyFileShares) Watch ¶
func (c *FakePolicyFileShares) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested policyFileShares.
type FakePolicyVms ¶
type FakePolicyVms struct { Fake *FakeBackupV1alpha1 // contains filtered or unexported fields }
FakePolicyVms implements PolicyVmInterface
func (*FakePolicyVms) Create ¶
func (c *FakePolicyVms) Create(ctx context.Context, policyVm *v1alpha1.PolicyVm, opts v1.CreateOptions) (result *v1alpha1.PolicyVm, err error)
Create takes the representation of a policyVm and creates it. Returns the server's representation of the policyVm, and an error, if there is any.
func (*FakePolicyVms) Delete ¶
func (c *FakePolicyVms) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the policyVm and deletes it. Returns an error if one occurs.
func (*FakePolicyVms) DeleteCollection ¶
func (c *FakePolicyVms) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePolicyVms) Get ¶
func (c *FakePolicyVms) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PolicyVm, err error)
Get takes name of the policyVm, and returns the corresponding policyVm object, and an error if there is any.
func (*FakePolicyVms) List ¶
func (c *FakePolicyVms) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PolicyVmList, err error)
List takes label and field selectors, and returns the list of PolicyVms that match those selectors.
func (*FakePolicyVms) Patch ¶
func (c *FakePolicyVms) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PolicyVm, err error)
Patch applies the patch and returns the patched policyVm.
func (*FakePolicyVms) Update ¶
func (c *FakePolicyVms) Update(ctx context.Context, policyVm *v1alpha1.PolicyVm, opts v1.UpdateOptions) (result *v1alpha1.PolicyVm, err error)
Update takes the representation of a policyVm and updates it. Returns the server's representation of the policyVm, and an error, if there is any.
func (*FakePolicyVms) UpdateStatus ¶
func (c *FakePolicyVms) UpdateStatus(ctx context.Context, policyVm *v1alpha1.PolicyVm, opts v1.UpdateOptions) (*v1alpha1.PolicyVm, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePolicyVms) Watch ¶
func (c *FakePolicyVms) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested policyVms.
type FakeProtectedFileShares ¶
type FakeProtectedFileShares struct { // contains filtered or unexported fields }
FakeProtectedFileShares implements ProtectedFileShareInterface
func (*FakeProtectedFileShares) Create ¶
func (c *FakeProtectedFileShares) Create(ctx context.Context, protectedFileShare *v1alpha1.ProtectedFileShare, opts v1.CreateOptions) (result *v1alpha1.ProtectedFileShare, err error)
Create takes the representation of a protectedFileShare and creates it. Returns the server's representation of the protectedFileShare, and an error, if there is any.
func (*FakeProtectedFileShares) Delete ¶
func (c *FakeProtectedFileShares) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the protectedFileShare and deletes it. Returns an error if one occurs.
func (*FakeProtectedFileShares) DeleteCollection ¶
func (c *FakeProtectedFileShares) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeProtectedFileShares) Get ¶
func (c *FakeProtectedFileShares) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ProtectedFileShare, err error)
Get takes name of the protectedFileShare, and returns the corresponding protectedFileShare object, and an error if there is any.
func (*FakeProtectedFileShares) List ¶
func (c *FakeProtectedFileShares) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ProtectedFileShareList, err error)
List takes label and field selectors, and returns the list of ProtectedFileShares that match those selectors.
func (*FakeProtectedFileShares) Patch ¶
func (c *FakeProtectedFileShares) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ProtectedFileShare, err error)
Patch applies the patch and returns the patched protectedFileShare.
func (*FakeProtectedFileShares) Update ¶
func (c *FakeProtectedFileShares) Update(ctx context.Context, protectedFileShare *v1alpha1.ProtectedFileShare, opts v1.UpdateOptions) (result *v1alpha1.ProtectedFileShare, err error)
Update takes the representation of a protectedFileShare and updates it. Returns the server's representation of the protectedFileShare, and an error, if there is any.
func (*FakeProtectedFileShares) UpdateStatus ¶
func (c *FakeProtectedFileShares) UpdateStatus(ctx context.Context, protectedFileShare *v1alpha1.ProtectedFileShare, opts v1.UpdateOptions) (*v1alpha1.ProtectedFileShare, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeProtectedFileShares) Watch ¶
func (c *FakeProtectedFileShares) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested protectedFileShares.
type FakeProtectedVms ¶
type FakeProtectedVms struct { Fake *FakeBackupV1alpha1 // contains filtered or unexported fields }
FakeProtectedVms implements ProtectedVmInterface
func (*FakeProtectedVms) Create ¶
func (c *FakeProtectedVms) Create(ctx context.Context, protectedVm *v1alpha1.ProtectedVm, opts v1.CreateOptions) (result *v1alpha1.ProtectedVm, err error)
Create takes the representation of a protectedVm and creates it. Returns the server's representation of the protectedVm, and an error, if there is any.
func (*FakeProtectedVms) Delete ¶
func (c *FakeProtectedVms) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the protectedVm and deletes it. Returns an error if one occurs.
func (*FakeProtectedVms) DeleteCollection ¶
func (c *FakeProtectedVms) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeProtectedVms) Get ¶
func (c *FakeProtectedVms) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ProtectedVm, err error)
Get takes name of the protectedVm, and returns the corresponding protectedVm object, and an error if there is any.
func (*FakeProtectedVms) List ¶
func (c *FakeProtectedVms) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ProtectedVmList, err error)
List takes label and field selectors, and returns the list of ProtectedVms that match those selectors.
func (*FakeProtectedVms) Patch ¶
func (c *FakeProtectedVms) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ProtectedVm, err error)
Patch applies the patch and returns the patched protectedVm.
func (*FakeProtectedVms) Update ¶
func (c *FakeProtectedVms) Update(ctx context.Context, protectedVm *v1alpha1.ProtectedVm, opts v1.UpdateOptions) (result *v1alpha1.ProtectedVm, err error)
Update takes the representation of a protectedVm and updates it. Returns the server's representation of the protectedVm, and an error, if there is any.
func (*FakeProtectedVms) UpdateStatus ¶
func (c *FakeProtectedVms) UpdateStatus(ctx context.Context, protectedVm *v1alpha1.ProtectedVm, opts v1.UpdateOptions) (*v1alpha1.ProtectedVm, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeProtectedVms) Watch ¶
func (c *FakeProtectedVms) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested protectedVms.