Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBackupRepositories
- func (c *FakeBackupRepositories) Create(ctx context.Context, backupRepository *velerov1.BackupRepository, ...) (result *velerov1.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 *velerov1.BackupRepository, err error)
- func (c *FakeBackupRepositories) List(ctx context.Context, opts v1.ListOptions) (result *velerov1.BackupRepositoryList, err error)
- func (c *FakeBackupRepositories) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *velerov1.BackupRepository, err error)
- func (c *FakeBackupRepositories) Update(ctx context.Context, backupRepository *velerov1.BackupRepository, ...) (result *velerov1.BackupRepository, err error)
- func (c *FakeBackupRepositories) UpdateStatus(ctx context.Context, backupRepository *velerov1.BackupRepository, ...) (*velerov1.BackupRepository, error)
- func (c *FakeBackupRepositories) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeBackupStorageLocations
- func (c *FakeBackupStorageLocations) Create(ctx context.Context, backupStorageLocation *velerov1.BackupStorageLocation, ...) (result *velerov1.BackupStorageLocation, err error)
- func (c *FakeBackupStorageLocations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBackupStorageLocations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBackupStorageLocations) Get(ctx context.Context, name string, options v1.GetOptions) (result *velerov1.BackupStorageLocation, err error)
- func (c *FakeBackupStorageLocations) List(ctx context.Context, opts v1.ListOptions) (result *velerov1.BackupStorageLocationList, err error)
- func (c *FakeBackupStorageLocations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *velerov1.BackupStorageLocation, err error)
- func (c *FakeBackupStorageLocations) Update(ctx context.Context, backupStorageLocation *velerov1.BackupStorageLocation, ...) (result *velerov1.BackupStorageLocation, err error)
- func (c *FakeBackupStorageLocations) UpdateStatus(ctx context.Context, backupStorageLocation *velerov1.BackupStorageLocation, ...) (*velerov1.BackupStorageLocation, error)
- func (c *FakeBackupStorageLocations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeBackups
- func (c *FakeBackups) Create(ctx context.Context, backup *velerov1.Backup, opts v1.CreateOptions) (result *velerov1.Backup, err error)
- func (c *FakeBackups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBackups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBackups) Get(ctx context.Context, name string, options v1.GetOptions) (result *velerov1.Backup, err error)
- func (c *FakeBackups) List(ctx context.Context, opts v1.ListOptions) (result *velerov1.BackupList, err error)
- func (c *FakeBackups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *velerov1.Backup, err error)
- func (c *FakeBackups) Update(ctx context.Context, backup *velerov1.Backup, opts v1.UpdateOptions) (result *velerov1.Backup, err error)
- func (c *FakeBackups) UpdateStatus(ctx context.Context, backup *velerov1.Backup, opts v1.UpdateOptions) (*velerov1.Backup, error)
- func (c *FakeBackups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDeleteBackupRequests
- func (c *FakeDeleteBackupRequests) Create(ctx context.Context, deleteBackupRequest *velerov1.DeleteBackupRequest, ...) (result *velerov1.DeleteBackupRequest, err error)
- func (c *FakeDeleteBackupRequests) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDeleteBackupRequests) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDeleteBackupRequests) Get(ctx context.Context, name string, options v1.GetOptions) (result *velerov1.DeleteBackupRequest, err error)
- func (c *FakeDeleteBackupRequests) List(ctx context.Context, opts v1.ListOptions) (result *velerov1.DeleteBackupRequestList, err error)
- func (c *FakeDeleteBackupRequests) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *velerov1.DeleteBackupRequest, err error)
- func (c *FakeDeleteBackupRequests) Update(ctx context.Context, deleteBackupRequest *velerov1.DeleteBackupRequest, ...) (result *velerov1.DeleteBackupRequest, err error)
- func (c *FakeDeleteBackupRequests) UpdateStatus(ctx context.Context, deleteBackupRequest *velerov1.DeleteBackupRequest, ...) (*velerov1.DeleteBackupRequest, error)
- func (c *FakeDeleteBackupRequests) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDownloadRequests
- func (c *FakeDownloadRequests) Create(ctx context.Context, downloadRequest *velerov1.DownloadRequest, ...) (result *velerov1.DownloadRequest, err error)
- func (c *FakeDownloadRequests) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDownloadRequests) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDownloadRequests) Get(ctx context.Context, name string, options v1.GetOptions) (result *velerov1.DownloadRequest, err error)
- func (c *FakeDownloadRequests) List(ctx context.Context, opts v1.ListOptions) (result *velerov1.DownloadRequestList, err error)
- func (c *FakeDownloadRequests) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *velerov1.DownloadRequest, err error)
- func (c *FakeDownloadRequests) Update(ctx context.Context, downloadRequest *velerov1.DownloadRequest, ...) (result *velerov1.DownloadRequest, err error)
- func (c *FakeDownloadRequests) UpdateStatus(ctx context.Context, downloadRequest *velerov1.DownloadRequest, ...) (*velerov1.DownloadRequest, error)
- func (c *FakeDownloadRequests) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePodVolumeBackups
- func (c *FakePodVolumeBackups) Create(ctx context.Context, podVolumeBackup *velerov1.PodVolumeBackup, ...) (result *velerov1.PodVolumeBackup, err error)
- func (c *FakePodVolumeBackups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePodVolumeBackups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePodVolumeBackups) Get(ctx context.Context, name string, options v1.GetOptions) (result *velerov1.PodVolumeBackup, err error)
- func (c *FakePodVolumeBackups) List(ctx context.Context, opts v1.ListOptions) (result *velerov1.PodVolumeBackupList, err error)
- func (c *FakePodVolumeBackups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *velerov1.PodVolumeBackup, err error)
- func (c *FakePodVolumeBackups) Update(ctx context.Context, podVolumeBackup *velerov1.PodVolumeBackup, ...) (result *velerov1.PodVolumeBackup, err error)
- func (c *FakePodVolumeBackups) UpdateStatus(ctx context.Context, podVolumeBackup *velerov1.PodVolumeBackup, ...) (*velerov1.PodVolumeBackup, error)
- func (c *FakePodVolumeBackups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePodVolumeRestores
- func (c *FakePodVolumeRestores) Create(ctx context.Context, podVolumeRestore *velerov1.PodVolumeRestore, ...) (result *velerov1.PodVolumeRestore, err error)
- func (c *FakePodVolumeRestores) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePodVolumeRestores) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePodVolumeRestores) Get(ctx context.Context, name string, options v1.GetOptions) (result *velerov1.PodVolumeRestore, err error)
- func (c *FakePodVolumeRestores) List(ctx context.Context, opts v1.ListOptions) (result *velerov1.PodVolumeRestoreList, err error)
- func (c *FakePodVolumeRestores) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *velerov1.PodVolumeRestore, err error)
- func (c *FakePodVolumeRestores) Update(ctx context.Context, podVolumeRestore *velerov1.PodVolumeRestore, ...) (result *velerov1.PodVolumeRestore, err error)
- func (c *FakePodVolumeRestores) UpdateStatus(ctx context.Context, podVolumeRestore *velerov1.PodVolumeRestore, ...) (*velerov1.PodVolumeRestore, error)
- func (c *FakePodVolumeRestores) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRestores
- func (c *FakeRestores) Create(ctx context.Context, restore *velerov1.Restore, opts v1.CreateOptions) (result *velerov1.Restore, err error)
- func (c *FakeRestores) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRestores) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRestores) Get(ctx context.Context, name string, options v1.GetOptions) (result *velerov1.Restore, err error)
- func (c *FakeRestores) List(ctx context.Context, opts v1.ListOptions) (result *velerov1.RestoreList, err error)
- func (c *FakeRestores) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *velerov1.Restore, err error)
- func (c *FakeRestores) Update(ctx context.Context, restore *velerov1.Restore, opts v1.UpdateOptions) (result *velerov1.Restore, err error)
- func (c *FakeRestores) UpdateStatus(ctx context.Context, restore *velerov1.Restore, opts v1.UpdateOptions) (*velerov1.Restore, error)
- func (c *FakeRestores) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSchedules
- func (c *FakeSchedules) Create(ctx context.Context, schedule *velerov1.Schedule, opts v1.CreateOptions) (result *velerov1.Schedule, err error)
- func (c *FakeSchedules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSchedules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSchedules) Get(ctx context.Context, name string, options v1.GetOptions) (result *velerov1.Schedule, err error)
- func (c *FakeSchedules) List(ctx context.Context, opts v1.ListOptions) (result *velerov1.ScheduleList, err error)
- func (c *FakeSchedules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *velerov1.Schedule, err error)
- func (c *FakeSchedules) Update(ctx context.Context, schedule *velerov1.Schedule, opts v1.UpdateOptions) (result *velerov1.Schedule, err error)
- func (c *FakeSchedules) UpdateStatus(ctx context.Context, schedule *velerov1.Schedule, opts v1.UpdateOptions) (*velerov1.Schedule, error)
- func (c *FakeSchedules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeServerStatusRequests
- func (c *FakeServerStatusRequests) Create(ctx context.Context, serverStatusRequest *velerov1.ServerStatusRequest, ...) (result *velerov1.ServerStatusRequest, err error)
- func (c *FakeServerStatusRequests) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeServerStatusRequests) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeServerStatusRequests) Get(ctx context.Context, name string, options v1.GetOptions) (result *velerov1.ServerStatusRequest, err error)
- func (c *FakeServerStatusRequests) List(ctx context.Context, opts v1.ListOptions) (result *velerov1.ServerStatusRequestList, err error)
- func (c *FakeServerStatusRequests) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *velerov1.ServerStatusRequest, err error)
- func (c *FakeServerStatusRequests) Update(ctx context.Context, serverStatusRequest *velerov1.ServerStatusRequest, ...) (result *velerov1.ServerStatusRequest, err error)
- func (c *FakeServerStatusRequests) UpdateStatus(ctx context.Context, serverStatusRequest *velerov1.ServerStatusRequest, ...) (*velerov1.ServerStatusRequest, error)
- func (c *FakeServerStatusRequests) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVeleroV1
- func (c *FakeVeleroV1) BackupRepositories(namespace string) v1.BackupRepositoryInterface
- func (c *FakeVeleroV1) BackupStorageLocations(namespace string) v1.BackupStorageLocationInterface
- func (c *FakeVeleroV1) Backups(namespace string) v1.BackupInterface
- func (c *FakeVeleroV1) DeleteBackupRequests(namespace string) v1.DeleteBackupRequestInterface
- func (c *FakeVeleroV1) DownloadRequests(namespace string) v1.DownloadRequestInterface
- func (c *FakeVeleroV1) PodVolumeBackups(namespace string) v1.PodVolumeBackupInterface
- func (c *FakeVeleroV1) PodVolumeRestores(namespace string) v1.PodVolumeRestoreInterface
- func (c *FakeVeleroV1) RESTClient() rest.Interface
- func (c *FakeVeleroV1) Restores(namespace string) v1.RestoreInterface
- func (c *FakeVeleroV1) Schedules(namespace string) v1.ScheduleInterface
- func (c *FakeVeleroV1) ServerStatusRequests(namespace string) v1.ServerStatusRequestInterface
- func (c *FakeVeleroV1) VolumeSnapshotLocations(namespace string) v1.VolumeSnapshotLocationInterface
- type FakeVolumeSnapshotLocations
- func (c *FakeVolumeSnapshotLocations) Create(ctx context.Context, volumeSnapshotLocation *velerov1.VolumeSnapshotLocation, ...) (result *velerov1.VolumeSnapshotLocation, err error)
- func (c *FakeVolumeSnapshotLocations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeVolumeSnapshotLocations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeVolumeSnapshotLocations) Get(ctx context.Context, name string, options v1.GetOptions) (result *velerov1.VolumeSnapshotLocation, err error)
- func (c *FakeVolumeSnapshotLocations) List(ctx context.Context, opts v1.ListOptions) (result *velerov1.VolumeSnapshotLocationList, err error)
- func (c *FakeVolumeSnapshotLocations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *velerov1.VolumeSnapshotLocation, err error)
- func (c *FakeVolumeSnapshotLocations) Update(ctx context.Context, volumeSnapshotLocation *velerov1.VolumeSnapshotLocation, ...) (result *velerov1.VolumeSnapshotLocation, err error)
- func (c *FakeVolumeSnapshotLocations) UpdateStatus(ctx context.Context, volumeSnapshotLocation *velerov1.VolumeSnapshotLocation, ...) (*velerov1.VolumeSnapshotLocation, error)
- func (c *FakeVolumeSnapshotLocations) 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 ¶ added in v1.10.0
type FakeBackupRepositories struct { Fake *FakeVeleroV1 // contains filtered or unexported fields }
FakeBackupRepositories implements BackupRepositoryInterface
func (*FakeBackupRepositories) Create ¶ added in v1.10.0
func (c *FakeBackupRepositories) Create(ctx context.Context, backupRepository *velerov1.BackupRepository, opts v1.CreateOptions) (result *velerov1.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 ¶ added in v1.10.0
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 ¶ added in v1.10.0
func (c *FakeBackupRepositories) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBackupRepositories) Get ¶ added in v1.10.0
func (c *FakeBackupRepositories) Get(ctx context.Context, name string, options v1.GetOptions) (result *velerov1.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 ¶ added in v1.10.0
func (c *FakeBackupRepositories) List(ctx context.Context, opts v1.ListOptions) (result *velerov1.BackupRepositoryList, err error)
List takes label and field selectors, and returns the list of BackupRepositories that match those selectors.
func (*FakeBackupRepositories) Patch ¶ added in v1.10.0
func (c *FakeBackupRepositories) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *velerov1.BackupRepository, err error)
Patch applies the patch and returns the patched backupRepository.
func (*FakeBackupRepositories) Update ¶ added in v1.10.0
func (c *FakeBackupRepositories) Update(ctx context.Context, backupRepository *velerov1.BackupRepository, opts v1.UpdateOptions) (result *velerov1.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) UpdateStatus ¶ added in v1.10.0
func (c *FakeBackupRepositories) UpdateStatus(ctx context.Context, backupRepository *velerov1.BackupRepository, opts v1.UpdateOptions) (*velerov1.BackupRepository, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeBackupRepositories) Watch ¶ added in v1.10.0
func (c *FakeBackupRepositories) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested backupRepositories.
type FakeBackupStorageLocations ¶
type FakeBackupStorageLocations struct { Fake *FakeVeleroV1 // contains filtered or unexported fields }
FakeBackupStorageLocations implements BackupStorageLocationInterface
func (*FakeBackupStorageLocations) Create ¶
func (c *FakeBackupStorageLocations) Create(ctx context.Context, backupStorageLocation *velerov1.BackupStorageLocation, opts v1.CreateOptions) (result *velerov1.BackupStorageLocation, err error)
Create takes the representation of a backupStorageLocation and creates it. Returns the server's representation of the backupStorageLocation, and an error, if there is any.
func (*FakeBackupStorageLocations) Delete ¶
func (c *FakeBackupStorageLocations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the backupStorageLocation and deletes it. Returns an error if one occurs.
func (*FakeBackupStorageLocations) DeleteCollection ¶
func (c *FakeBackupStorageLocations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBackupStorageLocations) Get ¶
func (c *FakeBackupStorageLocations) Get(ctx context.Context, name string, options v1.GetOptions) (result *velerov1.BackupStorageLocation, err error)
Get takes name of the backupStorageLocation, and returns the corresponding backupStorageLocation object, and an error if there is any.
func (*FakeBackupStorageLocations) List ¶
func (c *FakeBackupStorageLocations) List(ctx context.Context, opts v1.ListOptions) (result *velerov1.BackupStorageLocationList, err error)
List takes label and field selectors, and returns the list of BackupStorageLocations that match those selectors.
func (*FakeBackupStorageLocations) Patch ¶
func (c *FakeBackupStorageLocations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *velerov1.BackupStorageLocation, err error)
Patch applies the patch and returns the patched backupStorageLocation.
func (*FakeBackupStorageLocations) Update ¶
func (c *FakeBackupStorageLocations) Update(ctx context.Context, backupStorageLocation *velerov1.BackupStorageLocation, opts v1.UpdateOptions) (result *velerov1.BackupStorageLocation, err error)
Update takes the representation of a backupStorageLocation and updates it. Returns the server's representation of the backupStorageLocation, and an error, if there is any.
func (*FakeBackupStorageLocations) UpdateStatus ¶
func (c *FakeBackupStorageLocations) UpdateStatus(ctx context.Context, backupStorageLocation *velerov1.BackupStorageLocation, opts v1.UpdateOptions) (*velerov1.BackupStorageLocation, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeBackupStorageLocations) Watch ¶
func (c *FakeBackupStorageLocations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested backupStorageLocations.
type FakeBackups ¶
type FakeBackups struct { Fake *FakeVeleroV1 // contains filtered or unexported fields }
FakeBackups implements BackupInterface
func (*FakeBackups) Create ¶
func (c *FakeBackups) Create(ctx context.Context, backup *velerov1.Backup, opts v1.CreateOptions) (result *velerov1.Backup, err error)
Create takes the representation of a backup and creates it. Returns the server's representation of the backup, and an error, if there is any.
func (*FakeBackups) Delete ¶
func (c *FakeBackups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the backup and deletes it. Returns an error if one occurs.
func (*FakeBackups) DeleteCollection ¶
func (c *FakeBackups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBackups) Get ¶
func (c *FakeBackups) Get(ctx context.Context, name string, options v1.GetOptions) (result *velerov1.Backup, err error)
Get takes name of the backup, and returns the corresponding backup object, and an error if there is any.
func (*FakeBackups) List ¶
func (c *FakeBackups) List(ctx context.Context, opts v1.ListOptions) (result *velerov1.BackupList, err error)
List takes label and field selectors, and returns the list of Backups that match those selectors.
func (*FakeBackups) Patch ¶
func (c *FakeBackups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *velerov1.Backup, err error)
Patch applies the patch and returns the patched backup.
func (*FakeBackups) Update ¶
func (c *FakeBackups) Update(ctx context.Context, backup *velerov1.Backup, opts v1.UpdateOptions) (result *velerov1.Backup, err error)
Update takes the representation of a backup and updates it. Returns the server's representation of the backup, and an error, if there is any.
func (*FakeBackups) UpdateStatus ¶
func (c *FakeBackups) UpdateStatus(ctx context.Context, backup *velerov1.Backup, opts v1.UpdateOptions) (*velerov1.Backup, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeBackups) Watch ¶
func (c *FakeBackups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested backups.
type FakeDeleteBackupRequests ¶
type FakeDeleteBackupRequests struct { Fake *FakeVeleroV1 // contains filtered or unexported fields }
FakeDeleteBackupRequests implements DeleteBackupRequestInterface
func (*FakeDeleteBackupRequests) Create ¶
func (c *FakeDeleteBackupRequests) Create(ctx context.Context, deleteBackupRequest *velerov1.DeleteBackupRequest, opts v1.CreateOptions) (result *velerov1.DeleteBackupRequest, err error)
Create takes the representation of a deleteBackupRequest and creates it. Returns the server's representation of the deleteBackupRequest, and an error, if there is any.
func (*FakeDeleteBackupRequests) Delete ¶
func (c *FakeDeleteBackupRequests) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the deleteBackupRequest and deletes it. Returns an error if one occurs.
func (*FakeDeleteBackupRequests) DeleteCollection ¶
func (c *FakeDeleteBackupRequests) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDeleteBackupRequests) Get ¶
func (c *FakeDeleteBackupRequests) Get(ctx context.Context, name string, options v1.GetOptions) (result *velerov1.DeleteBackupRequest, err error)
Get takes name of the deleteBackupRequest, and returns the corresponding deleteBackupRequest object, and an error if there is any.
func (*FakeDeleteBackupRequests) List ¶
func (c *FakeDeleteBackupRequests) List(ctx context.Context, opts v1.ListOptions) (result *velerov1.DeleteBackupRequestList, err error)
List takes label and field selectors, and returns the list of DeleteBackupRequests that match those selectors.
func (*FakeDeleteBackupRequests) Patch ¶
func (c *FakeDeleteBackupRequests) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *velerov1.DeleteBackupRequest, err error)
Patch applies the patch and returns the patched deleteBackupRequest.
func (*FakeDeleteBackupRequests) Update ¶
func (c *FakeDeleteBackupRequests) Update(ctx context.Context, deleteBackupRequest *velerov1.DeleteBackupRequest, opts v1.UpdateOptions) (result *velerov1.DeleteBackupRequest, err error)
Update takes the representation of a deleteBackupRequest and updates it. Returns the server's representation of the deleteBackupRequest, and an error, if there is any.
func (*FakeDeleteBackupRequests) UpdateStatus ¶
func (c *FakeDeleteBackupRequests) UpdateStatus(ctx context.Context, deleteBackupRequest *velerov1.DeleteBackupRequest, opts v1.UpdateOptions) (*velerov1.DeleteBackupRequest, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDeleteBackupRequests) Watch ¶
func (c *FakeDeleteBackupRequests) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested deleteBackupRequests.
type FakeDownloadRequests ¶
type FakeDownloadRequests struct { Fake *FakeVeleroV1 // contains filtered or unexported fields }
FakeDownloadRequests implements DownloadRequestInterface
func (*FakeDownloadRequests) Create ¶
func (c *FakeDownloadRequests) Create(ctx context.Context, downloadRequest *velerov1.DownloadRequest, opts v1.CreateOptions) (result *velerov1.DownloadRequest, err error)
Create takes the representation of a downloadRequest and creates it. Returns the server's representation of the downloadRequest, and an error, if there is any.
func (*FakeDownloadRequests) Delete ¶
func (c *FakeDownloadRequests) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the downloadRequest and deletes it. Returns an error if one occurs.
func (*FakeDownloadRequests) DeleteCollection ¶
func (c *FakeDownloadRequests) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDownloadRequests) Get ¶
func (c *FakeDownloadRequests) Get(ctx context.Context, name string, options v1.GetOptions) (result *velerov1.DownloadRequest, err error)
Get takes name of the downloadRequest, and returns the corresponding downloadRequest object, and an error if there is any.
func (*FakeDownloadRequests) List ¶
func (c *FakeDownloadRequests) List(ctx context.Context, opts v1.ListOptions) (result *velerov1.DownloadRequestList, err error)
List takes label and field selectors, and returns the list of DownloadRequests that match those selectors.
func (*FakeDownloadRequests) Patch ¶
func (c *FakeDownloadRequests) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *velerov1.DownloadRequest, err error)
Patch applies the patch and returns the patched downloadRequest.
func (*FakeDownloadRequests) Update ¶
func (c *FakeDownloadRequests) Update(ctx context.Context, downloadRequest *velerov1.DownloadRequest, opts v1.UpdateOptions) (result *velerov1.DownloadRequest, err error)
Update takes the representation of a downloadRequest and updates it. Returns the server's representation of the downloadRequest, and an error, if there is any.
func (*FakeDownloadRequests) UpdateStatus ¶
func (c *FakeDownloadRequests) UpdateStatus(ctx context.Context, downloadRequest *velerov1.DownloadRequest, opts v1.UpdateOptions) (*velerov1.DownloadRequest, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDownloadRequests) Watch ¶
func (c *FakeDownloadRequests) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested downloadRequests.
type FakePodVolumeBackups ¶
type FakePodVolumeBackups struct { Fake *FakeVeleroV1 // contains filtered or unexported fields }
FakePodVolumeBackups implements PodVolumeBackupInterface
func (*FakePodVolumeBackups) Create ¶
func (c *FakePodVolumeBackups) Create(ctx context.Context, podVolumeBackup *velerov1.PodVolumeBackup, opts v1.CreateOptions) (result *velerov1.PodVolumeBackup, err error)
Create takes the representation of a podVolumeBackup and creates it. Returns the server's representation of the podVolumeBackup, and an error, if there is any.
func (*FakePodVolumeBackups) Delete ¶
func (c *FakePodVolumeBackups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the podVolumeBackup and deletes it. Returns an error if one occurs.
func (*FakePodVolumeBackups) DeleteCollection ¶
func (c *FakePodVolumeBackups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePodVolumeBackups) Get ¶
func (c *FakePodVolumeBackups) Get(ctx context.Context, name string, options v1.GetOptions) (result *velerov1.PodVolumeBackup, err error)
Get takes name of the podVolumeBackup, and returns the corresponding podVolumeBackup object, and an error if there is any.
func (*FakePodVolumeBackups) List ¶
func (c *FakePodVolumeBackups) List(ctx context.Context, opts v1.ListOptions) (result *velerov1.PodVolumeBackupList, err error)
List takes label and field selectors, and returns the list of PodVolumeBackups that match those selectors.
func (*FakePodVolumeBackups) Patch ¶
func (c *FakePodVolumeBackups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *velerov1.PodVolumeBackup, err error)
Patch applies the patch and returns the patched podVolumeBackup.
func (*FakePodVolumeBackups) Update ¶
func (c *FakePodVolumeBackups) Update(ctx context.Context, podVolumeBackup *velerov1.PodVolumeBackup, opts v1.UpdateOptions) (result *velerov1.PodVolumeBackup, err error)
Update takes the representation of a podVolumeBackup and updates it. Returns the server's representation of the podVolumeBackup, and an error, if there is any.
func (*FakePodVolumeBackups) UpdateStatus ¶
func (c *FakePodVolumeBackups) UpdateStatus(ctx context.Context, podVolumeBackup *velerov1.PodVolumeBackup, opts v1.UpdateOptions) (*velerov1.PodVolumeBackup, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePodVolumeBackups) Watch ¶
func (c *FakePodVolumeBackups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested podVolumeBackups.
type FakePodVolumeRestores ¶
type FakePodVolumeRestores struct { Fake *FakeVeleroV1 // contains filtered or unexported fields }
FakePodVolumeRestores implements PodVolumeRestoreInterface
func (*FakePodVolumeRestores) Create ¶
func (c *FakePodVolumeRestores) Create(ctx context.Context, podVolumeRestore *velerov1.PodVolumeRestore, opts v1.CreateOptions) (result *velerov1.PodVolumeRestore, err error)
Create takes the representation of a podVolumeRestore and creates it. Returns the server's representation of the podVolumeRestore, and an error, if there is any.
func (*FakePodVolumeRestores) Delete ¶
func (c *FakePodVolumeRestores) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the podVolumeRestore and deletes it. Returns an error if one occurs.
func (*FakePodVolumeRestores) DeleteCollection ¶
func (c *FakePodVolumeRestores) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePodVolumeRestores) Get ¶
func (c *FakePodVolumeRestores) Get(ctx context.Context, name string, options v1.GetOptions) (result *velerov1.PodVolumeRestore, err error)
Get takes name of the podVolumeRestore, and returns the corresponding podVolumeRestore object, and an error if there is any.
func (*FakePodVolumeRestores) List ¶
func (c *FakePodVolumeRestores) List(ctx context.Context, opts v1.ListOptions) (result *velerov1.PodVolumeRestoreList, err error)
List takes label and field selectors, and returns the list of PodVolumeRestores that match those selectors.
func (*FakePodVolumeRestores) Patch ¶
func (c *FakePodVolumeRestores) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *velerov1.PodVolumeRestore, err error)
Patch applies the patch and returns the patched podVolumeRestore.
func (*FakePodVolumeRestores) Update ¶
func (c *FakePodVolumeRestores) Update(ctx context.Context, podVolumeRestore *velerov1.PodVolumeRestore, opts v1.UpdateOptions) (result *velerov1.PodVolumeRestore, err error)
Update takes the representation of a podVolumeRestore and updates it. Returns the server's representation of the podVolumeRestore, and an error, if there is any.
func (*FakePodVolumeRestores) UpdateStatus ¶
func (c *FakePodVolumeRestores) UpdateStatus(ctx context.Context, podVolumeRestore *velerov1.PodVolumeRestore, opts v1.UpdateOptions) (*velerov1.PodVolumeRestore, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePodVolumeRestores) Watch ¶
func (c *FakePodVolumeRestores) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested podVolumeRestores.
type FakeRestores ¶
type FakeRestores struct { Fake *FakeVeleroV1 // contains filtered or unexported fields }
FakeRestores implements RestoreInterface
func (*FakeRestores) Create ¶
func (c *FakeRestores) Create(ctx context.Context, restore *velerov1.Restore, opts v1.CreateOptions) (result *velerov1.Restore, err error)
Create takes the representation of a restore and creates it. Returns the server's representation of the restore, and an error, if there is any.
func (*FakeRestores) Delete ¶
func (c *FakeRestores) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the restore and deletes it. Returns an error if one occurs.
func (*FakeRestores) DeleteCollection ¶
func (c *FakeRestores) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRestores) Get ¶
func (c *FakeRestores) Get(ctx context.Context, name string, options v1.GetOptions) (result *velerov1.Restore, err error)
Get takes name of the restore, and returns the corresponding restore object, and an error if there is any.
func (*FakeRestores) List ¶
func (c *FakeRestores) List(ctx context.Context, opts v1.ListOptions) (result *velerov1.RestoreList, err error)
List takes label and field selectors, and returns the list of Restores that match those selectors.
func (*FakeRestores) Patch ¶
func (c *FakeRestores) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *velerov1.Restore, err error)
Patch applies the patch and returns the patched restore.
func (*FakeRestores) Update ¶
func (c *FakeRestores) Update(ctx context.Context, restore *velerov1.Restore, opts v1.UpdateOptions) (result *velerov1.Restore, err error)
Update takes the representation of a restore and updates it. Returns the server's representation of the restore, and an error, if there is any.
func (*FakeRestores) UpdateStatus ¶
func (c *FakeRestores) UpdateStatus(ctx context.Context, restore *velerov1.Restore, opts v1.UpdateOptions) (*velerov1.Restore, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRestores) Watch ¶
func (c *FakeRestores) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested restores.
type FakeSchedules ¶
type FakeSchedules struct { Fake *FakeVeleroV1 // contains filtered or unexported fields }
FakeSchedules implements ScheduleInterface
func (*FakeSchedules) Create ¶
func (c *FakeSchedules) Create(ctx context.Context, schedule *velerov1.Schedule, opts v1.CreateOptions) (result *velerov1.Schedule, err error)
Create takes the representation of a schedule and creates it. Returns the server's representation of the schedule, and an error, if there is any.
func (*FakeSchedules) Delete ¶
func (c *FakeSchedules) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the schedule and deletes it. Returns an error if one occurs.
func (*FakeSchedules) DeleteCollection ¶
func (c *FakeSchedules) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSchedules) Get ¶
func (c *FakeSchedules) Get(ctx context.Context, name string, options v1.GetOptions) (result *velerov1.Schedule, err error)
Get takes name of the schedule, and returns the corresponding schedule object, and an error if there is any.
func (*FakeSchedules) List ¶
func (c *FakeSchedules) List(ctx context.Context, opts v1.ListOptions) (result *velerov1.ScheduleList, err error)
List takes label and field selectors, and returns the list of Schedules that match those selectors.
func (*FakeSchedules) Patch ¶
func (c *FakeSchedules) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *velerov1.Schedule, err error)
Patch applies the patch and returns the patched schedule.
func (*FakeSchedules) Update ¶
func (c *FakeSchedules) Update(ctx context.Context, schedule *velerov1.Schedule, opts v1.UpdateOptions) (result *velerov1.Schedule, err error)
Update takes the representation of a schedule and updates it. Returns the server's representation of the schedule, and an error, if there is any.
func (*FakeSchedules) UpdateStatus ¶
func (c *FakeSchedules) UpdateStatus(ctx context.Context, schedule *velerov1.Schedule, opts v1.UpdateOptions) (*velerov1.Schedule, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSchedules) Watch ¶
func (c *FakeSchedules) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested schedules.
type FakeServerStatusRequests ¶
type FakeServerStatusRequests struct { Fake *FakeVeleroV1 // contains filtered or unexported fields }
FakeServerStatusRequests implements ServerStatusRequestInterface
func (*FakeServerStatusRequests) Create ¶
func (c *FakeServerStatusRequests) Create(ctx context.Context, serverStatusRequest *velerov1.ServerStatusRequest, opts v1.CreateOptions) (result *velerov1.ServerStatusRequest, err error)
Create takes the representation of a serverStatusRequest and creates it. Returns the server's representation of the serverStatusRequest, and an error, if there is any.
func (*FakeServerStatusRequests) Delete ¶
func (c *FakeServerStatusRequests) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the serverStatusRequest and deletes it. Returns an error if one occurs.
func (*FakeServerStatusRequests) DeleteCollection ¶
func (c *FakeServerStatusRequests) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServerStatusRequests) Get ¶
func (c *FakeServerStatusRequests) Get(ctx context.Context, name string, options v1.GetOptions) (result *velerov1.ServerStatusRequest, err error)
Get takes name of the serverStatusRequest, and returns the corresponding serverStatusRequest object, and an error if there is any.
func (*FakeServerStatusRequests) List ¶
func (c *FakeServerStatusRequests) List(ctx context.Context, opts v1.ListOptions) (result *velerov1.ServerStatusRequestList, err error)
List takes label and field selectors, and returns the list of ServerStatusRequests that match those selectors.
func (*FakeServerStatusRequests) Patch ¶
func (c *FakeServerStatusRequests) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *velerov1.ServerStatusRequest, err error)
Patch applies the patch and returns the patched serverStatusRequest.
func (*FakeServerStatusRequests) Update ¶
func (c *FakeServerStatusRequests) Update(ctx context.Context, serverStatusRequest *velerov1.ServerStatusRequest, opts v1.UpdateOptions) (result *velerov1.ServerStatusRequest, err error)
Update takes the representation of a serverStatusRequest and updates it. Returns the server's representation of the serverStatusRequest, and an error, if there is any.
func (*FakeServerStatusRequests) UpdateStatus ¶
func (c *FakeServerStatusRequests) UpdateStatus(ctx context.Context, serverStatusRequest *velerov1.ServerStatusRequest, opts v1.UpdateOptions) (*velerov1.ServerStatusRequest, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeServerStatusRequests) Watch ¶
func (c *FakeServerStatusRequests) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested serverStatusRequests.
type FakeVeleroV1 ¶
func (*FakeVeleroV1) BackupRepositories ¶ added in v1.10.0
func (c *FakeVeleroV1) BackupRepositories(namespace string) v1.BackupRepositoryInterface
func (*FakeVeleroV1) BackupStorageLocations ¶
func (c *FakeVeleroV1) BackupStorageLocations(namespace string) v1.BackupStorageLocationInterface
func (*FakeVeleroV1) Backups ¶
func (c *FakeVeleroV1) Backups(namespace string) v1.BackupInterface
func (*FakeVeleroV1) DeleteBackupRequests ¶
func (c *FakeVeleroV1) DeleteBackupRequests(namespace string) v1.DeleteBackupRequestInterface
func (*FakeVeleroV1) DownloadRequests ¶
func (c *FakeVeleroV1) DownloadRequests(namespace string) v1.DownloadRequestInterface
func (*FakeVeleroV1) PodVolumeBackups ¶
func (c *FakeVeleroV1) PodVolumeBackups(namespace string) v1.PodVolumeBackupInterface
func (*FakeVeleroV1) PodVolumeRestores ¶
func (c *FakeVeleroV1) PodVolumeRestores(namespace string) v1.PodVolumeRestoreInterface
func (*FakeVeleroV1) RESTClient ¶
func (c *FakeVeleroV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeVeleroV1) Restores ¶
func (c *FakeVeleroV1) Restores(namespace string) v1.RestoreInterface
func (*FakeVeleroV1) Schedules ¶
func (c *FakeVeleroV1) Schedules(namespace string) v1.ScheduleInterface
func (*FakeVeleroV1) ServerStatusRequests ¶
func (c *FakeVeleroV1) ServerStatusRequests(namespace string) v1.ServerStatusRequestInterface
func (*FakeVeleroV1) VolumeSnapshotLocations ¶
func (c *FakeVeleroV1) VolumeSnapshotLocations(namespace string) v1.VolumeSnapshotLocationInterface
type FakeVolumeSnapshotLocations ¶
type FakeVolumeSnapshotLocations struct { Fake *FakeVeleroV1 // contains filtered or unexported fields }
FakeVolumeSnapshotLocations implements VolumeSnapshotLocationInterface
func (*FakeVolumeSnapshotLocations) Create ¶
func (c *FakeVolumeSnapshotLocations) Create(ctx context.Context, volumeSnapshotLocation *velerov1.VolumeSnapshotLocation, opts v1.CreateOptions) (result *velerov1.VolumeSnapshotLocation, err error)
Create takes the representation of a volumeSnapshotLocation and creates it. Returns the server's representation of the volumeSnapshotLocation, and an error, if there is any.
func (*FakeVolumeSnapshotLocations) Delete ¶
func (c *FakeVolumeSnapshotLocations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the volumeSnapshotLocation and deletes it. Returns an error if one occurs.
func (*FakeVolumeSnapshotLocations) DeleteCollection ¶
func (c *FakeVolumeSnapshotLocations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVolumeSnapshotLocations) Get ¶
func (c *FakeVolumeSnapshotLocations) Get(ctx context.Context, name string, options v1.GetOptions) (result *velerov1.VolumeSnapshotLocation, err error)
Get takes name of the volumeSnapshotLocation, and returns the corresponding volumeSnapshotLocation object, and an error if there is any.
func (*FakeVolumeSnapshotLocations) List ¶
func (c *FakeVolumeSnapshotLocations) List(ctx context.Context, opts v1.ListOptions) (result *velerov1.VolumeSnapshotLocationList, err error)
List takes label and field selectors, and returns the list of VolumeSnapshotLocations that match those selectors.
func (*FakeVolumeSnapshotLocations) Patch ¶
func (c *FakeVolumeSnapshotLocations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *velerov1.VolumeSnapshotLocation, err error)
Patch applies the patch and returns the patched volumeSnapshotLocation.
func (*FakeVolumeSnapshotLocations) Update ¶
func (c *FakeVolumeSnapshotLocations) Update(ctx context.Context, volumeSnapshotLocation *velerov1.VolumeSnapshotLocation, opts v1.UpdateOptions) (result *velerov1.VolumeSnapshotLocation, err error)
Update takes the representation of a volumeSnapshotLocation and updates it. Returns the server's representation of the volumeSnapshotLocation, and an error, if there is any.
func (*FakeVolumeSnapshotLocations) UpdateStatus ¶
func (c *FakeVolumeSnapshotLocations) UpdateStatus(ctx context.Context, volumeSnapshotLocation *velerov1.VolumeSnapshotLocation, opts v1.UpdateOptions) (*velerov1.VolumeSnapshotLocation, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeVolumeSnapshotLocations) Watch ¶
func (c *FakeVolumeSnapshotLocations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested volumeSnapshotLocations.