Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBackupRepositories
- func (c *FakeBackupRepositories) Create(ctx context.Context, backupRepository *v1alpha1.BackupRepository, ...) (result *v1alpha1.BackupRepository, err error)
- func (c *FakeBackupRepositories) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBackupRepositories) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBackupRepositories) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.BackupRepository, err error)
- func (c *FakeBackupRepositories) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BackupRepositoryList, err error)
- func (c *FakeBackupRepositories) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.BackupRepository, err error)
- func (c *FakeBackupRepositories) Update(ctx context.Context, backupRepository *v1alpha1.BackupRepository, ...) (result *v1alpha1.BackupRepository, err error)
- func (c *FakeBackupRepositories) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeBackupRepositoryClaims
- func (c *FakeBackupRepositoryClaims) Create(ctx context.Context, backupRepositoryClaim *v1alpha1.BackupRepositoryClaim, ...) (result *v1alpha1.BackupRepositoryClaim, err error)
- func (c *FakeBackupRepositoryClaims) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBackupRepositoryClaims) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBackupRepositoryClaims) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.BackupRepositoryClaim, err error)
- func (c *FakeBackupRepositoryClaims) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BackupRepositoryClaimList, err error)
- func (c *FakeBackupRepositoryClaims) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.BackupRepositoryClaim, err error)
- func (c *FakeBackupRepositoryClaims) Update(ctx context.Context, backupRepositoryClaim *v1alpha1.BackupRepositoryClaim, ...) (result *v1alpha1.BackupRepositoryClaim, err error)
- func (c *FakeBackupRepositoryClaims) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeBackupdriverV1alpha1
- func (c *FakeBackupdriverV1alpha1) BackupRepositories() v1alpha1.BackupRepositoryInterface
- func (c *FakeBackupdriverV1alpha1) BackupRepositoryClaims(namespace string) v1alpha1.BackupRepositoryClaimInterface
- func (c *FakeBackupdriverV1alpha1) CloneFromSnapshots(namespace string) v1alpha1.CloneFromSnapshotInterface
- func (c *FakeBackupdriverV1alpha1) DeleteSnapshots(namespace string) v1alpha1.DeleteSnapshotInterface
- func (c *FakeBackupdriverV1alpha1) RESTClient() rest.Interface
- func (c *FakeBackupdriverV1alpha1) Snapshots(namespace string) v1alpha1.SnapshotInterface
- type FakeCloneFromSnapshots
- func (c *FakeCloneFromSnapshots) Create(ctx context.Context, cloneFromSnapshot *v1alpha1.CloneFromSnapshot, ...) (result *v1alpha1.CloneFromSnapshot, err error)
- func (c *FakeCloneFromSnapshots) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCloneFromSnapshots) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCloneFromSnapshots) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CloneFromSnapshot, err error)
- func (c *FakeCloneFromSnapshots) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CloneFromSnapshotList, err error)
- func (c *FakeCloneFromSnapshots) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.CloneFromSnapshot, err error)
- func (c *FakeCloneFromSnapshots) Update(ctx context.Context, cloneFromSnapshot *v1alpha1.CloneFromSnapshot, ...) (result *v1alpha1.CloneFromSnapshot, err error)
- func (c *FakeCloneFromSnapshots) UpdateStatus(ctx context.Context, cloneFromSnapshot *v1alpha1.CloneFromSnapshot, ...) (*v1alpha1.CloneFromSnapshot, error)
- func (c *FakeCloneFromSnapshots) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDeleteSnapshots
- func (c *FakeDeleteSnapshots) Create(ctx context.Context, deleteSnapshot *v1alpha1.DeleteSnapshot, ...) (result *v1alpha1.DeleteSnapshot, err error)
- func (c *FakeDeleteSnapshots) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDeleteSnapshots) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDeleteSnapshots) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DeleteSnapshot, err error)
- func (c *FakeDeleteSnapshots) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DeleteSnapshotList, err error)
- func (c *FakeDeleteSnapshots) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.DeleteSnapshot, err error)
- func (c *FakeDeleteSnapshots) Update(ctx context.Context, deleteSnapshot *v1alpha1.DeleteSnapshot, ...) (result *v1alpha1.DeleteSnapshot, err error)
- func (c *FakeDeleteSnapshots) UpdateStatus(ctx context.Context, deleteSnapshot *v1alpha1.DeleteSnapshot, ...) (*v1alpha1.DeleteSnapshot, error)
- func (c *FakeDeleteSnapshots) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSnapshots
- func (c *FakeSnapshots) Create(ctx context.Context, snapshot *v1alpha1.Snapshot, opts v1.CreateOptions) (result *v1alpha1.Snapshot, err error)
- func (c *FakeSnapshots) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSnapshots) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSnapshots) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Snapshot, err error)
- func (c *FakeSnapshots) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SnapshotList, err error)
- func (c *FakeSnapshots) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Snapshot, err error)
- func (c *FakeSnapshots) Update(ctx context.Context, snapshot *v1alpha1.Snapshot, opts v1.UpdateOptions) (result *v1alpha1.Snapshot, err error)
- func (c *FakeSnapshots) UpdateStatus(ctx context.Context, snapshot *v1alpha1.Snapshot, opts v1.UpdateOptions) (*v1alpha1.Snapshot, error)
- func (c *FakeSnapshots) 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 FakeBackupRepositories ¶
type FakeBackupRepositories struct {
Fake *FakeBackupdriverV1alpha1
}
FakeBackupRepositories implements BackupRepositoryInterface
func (*FakeBackupRepositories) Create ¶
func (c *FakeBackupRepositories) Create(ctx context.Context, backupRepository *v1alpha1.BackupRepository, opts v1.CreateOptions) (result *v1alpha1.BackupRepository, err error)
Create takes the representation of a backupRepository and creates it. Returns the server's representation of the backupRepository, and an error, if there is any.
func (*FakeBackupRepositories) Delete ¶
func (c *FakeBackupRepositories) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the backupRepository and deletes it. Returns an error if one occurs.
func (*FakeBackupRepositories) DeleteCollection ¶
func (c *FakeBackupRepositories) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBackupRepositories) Get ¶
func (c *FakeBackupRepositories) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.BackupRepository, err error)
Get takes name of the backupRepository, and returns the corresponding backupRepository object, and an error if there is any.
func (*FakeBackupRepositories) List ¶
func (c *FakeBackupRepositories) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BackupRepositoryList, err error)
List takes label and field selectors, and returns the list of BackupRepositories that match those selectors.
func (*FakeBackupRepositories) Patch ¶
func (c *FakeBackupRepositories) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.BackupRepository, err error)
Patch applies the patch and returns the patched backupRepository.
func (*FakeBackupRepositories) Update ¶
func (c *FakeBackupRepositories) Update(ctx context.Context, backupRepository *v1alpha1.BackupRepository, opts v1.UpdateOptions) (result *v1alpha1.BackupRepository, err error)
Update takes the representation of a backupRepository and updates it. Returns the server's representation of the backupRepository, and an error, if there is any.
func (*FakeBackupRepositories) Watch ¶
func (c *FakeBackupRepositories) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested backupRepositories.
type FakeBackupRepositoryClaims ¶
type FakeBackupRepositoryClaims struct { Fake *FakeBackupdriverV1alpha1 // contains filtered or unexported fields }
FakeBackupRepositoryClaims implements BackupRepositoryClaimInterface
func (*FakeBackupRepositoryClaims) Create ¶
func (c *FakeBackupRepositoryClaims) Create(ctx context.Context, backupRepositoryClaim *v1alpha1.BackupRepositoryClaim, opts v1.CreateOptions) (result *v1alpha1.BackupRepositoryClaim, err error)
Create takes the representation of a backupRepositoryClaim and creates it. Returns the server's representation of the backupRepositoryClaim, and an error, if there is any.
func (*FakeBackupRepositoryClaims) Delete ¶
func (c *FakeBackupRepositoryClaims) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the backupRepositoryClaim and deletes it. Returns an error if one occurs.
func (*FakeBackupRepositoryClaims) DeleteCollection ¶
func (c *FakeBackupRepositoryClaims) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBackupRepositoryClaims) Get ¶
func (c *FakeBackupRepositoryClaims) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.BackupRepositoryClaim, err error)
Get takes name of the backupRepositoryClaim, and returns the corresponding backupRepositoryClaim object, and an error if there is any.
func (*FakeBackupRepositoryClaims) List ¶
func (c *FakeBackupRepositoryClaims) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BackupRepositoryClaimList, err error)
List takes label and field selectors, and returns the list of BackupRepositoryClaims that match those selectors.
func (*FakeBackupRepositoryClaims) Patch ¶
func (c *FakeBackupRepositoryClaims) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.BackupRepositoryClaim, err error)
Patch applies the patch and returns the patched backupRepositoryClaim.
func (*FakeBackupRepositoryClaims) Update ¶
func (c *FakeBackupRepositoryClaims) Update(ctx context.Context, backupRepositoryClaim *v1alpha1.BackupRepositoryClaim, opts v1.UpdateOptions) (result *v1alpha1.BackupRepositoryClaim, err error)
Update takes the representation of a backupRepositoryClaim and updates it. Returns the server's representation of the backupRepositoryClaim, and an error, if there is any.
func (*FakeBackupRepositoryClaims) Watch ¶
func (c *FakeBackupRepositoryClaims) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested backupRepositoryClaims.
type FakeBackupdriverV1alpha1 ¶
func (*FakeBackupdriverV1alpha1) BackupRepositories ¶
func (c *FakeBackupdriverV1alpha1) BackupRepositories() v1alpha1.BackupRepositoryInterface
func (*FakeBackupdriverV1alpha1) BackupRepositoryClaims ¶
func (c *FakeBackupdriverV1alpha1) BackupRepositoryClaims(namespace string) v1alpha1.BackupRepositoryClaimInterface
func (*FakeBackupdriverV1alpha1) CloneFromSnapshots ¶
func (c *FakeBackupdriverV1alpha1) CloneFromSnapshots(namespace string) v1alpha1.CloneFromSnapshotInterface
func (*FakeBackupdriverV1alpha1) DeleteSnapshots ¶
func (c *FakeBackupdriverV1alpha1) DeleteSnapshots(namespace string) v1alpha1.DeleteSnapshotInterface
func (*FakeBackupdriverV1alpha1) RESTClient ¶
func (c *FakeBackupdriverV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeBackupdriverV1alpha1) Snapshots ¶
func (c *FakeBackupdriverV1alpha1) Snapshots(namespace string) v1alpha1.SnapshotInterface
type FakeCloneFromSnapshots ¶
type FakeCloneFromSnapshots struct { Fake *FakeBackupdriverV1alpha1 // contains filtered or unexported fields }
FakeCloneFromSnapshots implements CloneFromSnapshotInterface
func (*FakeCloneFromSnapshots) Create ¶
func (c *FakeCloneFromSnapshots) Create(ctx context.Context, cloneFromSnapshot *v1alpha1.CloneFromSnapshot, opts v1.CreateOptions) (result *v1alpha1.CloneFromSnapshot, err error)
Create takes the representation of a cloneFromSnapshot and creates it. Returns the server's representation of the cloneFromSnapshot, and an error, if there is any.
func (*FakeCloneFromSnapshots) Delete ¶
func (c *FakeCloneFromSnapshots) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the cloneFromSnapshot and deletes it. Returns an error if one occurs.
func (*FakeCloneFromSnapshots) DeleteCollection ¶
func (c *FakeCloneFromSnapshots) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCloneFromSnapshots) Get ¶
func (c *FakeCloneFromSnapshots) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CloneFromSnapshot, err error)
Get takes name of the cloneFromSnapshot, and returns the corresponding cloneFromSnapshot object, and an error if there is any.
func (*FakeCloneFromSnapshots) List ¶
func (c *FakeCloneFromSnapshots) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CloneFromSnapshotList, err error)
List takes label and field selectors, and returns the list of CloneFromSnapshots that match those selectors.
func (*FakeCloneFromSnapshots) Patch ¶
func (c *FakeCloneFromSnapshots) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.CloneFromSnapshot, err error)
Patch applies the patch and returns the patched cloneFromSnapshot.
func (*FakeCloneFromSnapshots) Update ¶
func (c *FakeCloneFromSnapshots) Update(ctx context.Context, cloneFromSnapshot *v1alpha1.CloneFromSnapshot, opts v1.UpdateOptions) (result *v1alpha1.CloneFromSnapshot, err error)
Update takes the representation of a cloneFromSnapshot and updates it. Returns the server's representation of the cloneFromSnapshot, and an error, if there is any.
func (*FakeCloneFromSnapshots) UpdateStatus ¶
func (c *FakeCloneFromSnapshots) UpdateStatus(ctx context.Context, cloneFromSnapshot *v1alpha1.CloneFromSnapshot, opts v1.UpdateOptions) (*v1alpha1.CloneFromSnapshot, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCloneFromSnapshots) Watch ¶
func (c *FakeCloneFromSnapshots) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cloneFromSnapshots.
type FakeDeleteSnapshots ¶
type FakeDeleteSnapshots struct { Fake *FakeBackupdriverV1alpha1 // contains filtered or unexported fields }
FakeDeleteSnapshots implements DeleteSnapshotInterface
func (*FakeDeleteSnapshots) Create ¶
func (c *FakeDeleteSnapshots) Create(ctx context.Context, deleteSnapshot *v1alpha1.DeleteSnapshot, opts v1.CreateOptions) (result *v1alpha1.DeleteSnapshot, err error)
Create takes the representation of a deleteSnapshot and creates it. Returns the server's representation of the deleteSnapshot, and an error, if there is any.
func (*FakeDeleteSnapshots) Delete ¶
func (c *FakeDeleteSnapshots) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the deleteSnapshot and deletes it. Returns an error if one occurs.
func (*FakeDeleteSnapshots) DeleteCollection ¶
func (c *FakeDeleteSnapshots) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDeleteSnapshots) Get ¶
func (c *FakeDeleteSnapshots) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DeleteSnapshot, err error)
Get takes name of the deleteSnapshot, and returns the corresponding deleteSnapshot object, and an error if there is any.
func (*FakeDeleteSnapshots) List ¶
func (c *FakeDeleteSnapshots) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DeleteSnapshotList, err error)
List takes label and field selectors, and returns the list of DeleteSnapshots that match those selectors.
func (*FakeDeleteSnapshots) Patch ¶
func (c *FakeDeleteSnapshots) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.DeleteSnapshot, err error)
Patch applies the patch and returns the patched deleteSnapshot.
func (*FakeDeleteSnapshots) Update ¶
func (c *FakeDeleteSnapshots) Update(ctx context.Context, deleteSnapshot *v1alpha1.DeleteSnapshot, opts v1.UpdateOptions) (result *v1alpha1.DeleteSnapshot, err error)
Update takes the representation of a deleteSnapshot and updates it. Returns the server's representation of the deleteSnapshot, and an error, if there is any.
func (*FakeDeleteSnapshots) UpdateStatus ¶
func (c *FakeDeleteSnapshots) UpdateStatus(ctx context.Context, deleteSnapshot *v1alpha1.DeleteSnapshot, opts v1.UpdateOptions) (*v1alpha1.DeleteSnapshot, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDeleteSnapshots) Watch ¶
func (c *FakeDeleteSnapshots) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested deleteSnapshots.
type FakeSnapshots ¶
type FakeSnapshots struct { Fake *FakeBackupdriverV1alpha1 // contains filtered or unexported fields }
FakeSnapshots implements SnapshotInterface
func (*FakeSnapshots) Create ¶
func (c *FakeSnapshots) Create(ctx context.Context, snapshot *v1alpha1.Snapshot, opts v1.CreateOptions) (result *v1alpha1.Snapshot, err error)
Create takes the representation of a snapshot and creates it. Returns the server's representation of the snapshot, and an error, if there is any.
func (*FakeSnapshots) Delete ¶
func (c *FakeSnapshots) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the snapshot and deletes it. Returns an error if one occurs.
func (*FakeSnapshots) DeleteCollection ¶
func (c *FakeSnapshots) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSnapshots) Get ¶
func (c *FakeSnapshots) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Snapshot, err error)
Get takes name of the snapshot, and returns the corresponding snapshot object, and an error if there is any.
func (*FakeSnapshots) List ¶
func (c *FakeSnapshots) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SnapshotList, err error)
List takes label and field selectors, and returns the list of Snapshots that match those selectors.
func (*FakeSnapshots) Patch ¶
func (c *FakeSnapshots) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Snapshot, err error)
Patch applies the patch and returns the patched snapshot.
func (*FakeSnapshots) Update ¶
func (c *FakeSnapshots) Update(ctx context.Context, snapshot *v1alpha1.Snapshot, opts v1.UpdateOptions) (result *v1alpha1.Snapshot, err error)
Update takes the representation of a snapshot and updates it. Returns the server's representation of the snapshot, and an error, if there is any.
func (*FakeSnapshots) UpdateStatus ¶
func (c *FakeSnapshots) UpdateStatus(ctx context.Context, snapshot *v1alpha1.Snapshot, opts v1.UpdateOptions) (*v1alpha1.Snapshot, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSnapshots) Watch ¶
func (c *FakeSnapshots) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested snapshots.