Documentation
¶
Index ¶
- type BackupInterface
- func (_m *BackupInterface) Create(ctx context.Context, backup *v1.Backup, opts metav1.CreateOptions) (*v1.Backup, error)
- func (_m *BackupInterface) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (_m *BackupInterface) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (_m *BackupInterface) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Backup, error)
- func (_m *BackupInterface) List(ctx context.Context, opts metav1.ListOptions) (*v1.BackupList, error)
- func (_m *BackupInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*v1.Backup, error)
- func (_m *BackupInterface) Update(ctx context.Context, backup *v1.Backup, opts metav1.UpdateOptions) (*v1.Backup, error)
- func (_m *BackupInterface) UpdateStatus(ctx context.Context, backup *v1.Backup, opts metav1.UpdateOptions) (*v1.Backup, error)
- func (_m *BackupInterface) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type BackupsGetter
- type DeleteBackupRequestInterface
- func (_m *DeleteBackupRequestInterface) Create(ctx context.Context, deleteBackupRequest *v1.DeleteBackupRequest, ...) (*v1.DeleteBackupRequest, error)
- func (_m *DeleteBackupRequestInterface) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (_m *DeleteBackupRequestInterface) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (_m *DeleteBackupRequestInterface) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.DeleteBackupRequest, error)
- func (_m *DeleteBackupRequestInterface) List(ctx context.Context, opts metav1.ListOptions) (*v1.DeleteBackupRequestList, error)
- func (_m *DeleteBackupRequestInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*v1.DeleteBackupRequest, error)
- func (_m *DeleteBackupRequestInterface) Update(ctx context.Context, deleteBackupRequest *v1.DeleteBackupRequest, ...) (*v1.DeleteBackupRequest, error)
- func (_m *DeleteBackupRequestInterface) UpdateStatus(ctx context.Context, deleteBackupRequest *v1.DeleteBackupRequest, ...) (*v1.DeleteBackupRequest, error)
- func (_m *DeleteBackupRequestInterface) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type DeleteBackupRequestsGetter
- type PodVolumeBackupInterface
- func (_m *PodVolumeBackupInterface) Create(ctx context.Context, podVolumeBackup *v1.PodVolumeBackup, ...) (*v1.PodVolumeBackup, error)
- func (_m *PodVolumeBackupInterface) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (_m *PodVolumeBackupInterface) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (_m *PodVolumeBackupInterface) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.PodVolumeBackup, error)
- func (_m *PodVolumeBackupInterface) List(ctx context.Context, opts metav1.ListOptions) (*v1.PodVolumeBackupList, error)
- func (_m *PodVolumeBackupInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*v1.PodVolumeBackup, error)
- func (_m *PodVolumeBackupInterface) Update(ctx context.Context, podVolumeBackup *v1.PodVolumeBackup, ...) (*v1.PodVolumeBackup, error)
- func (_m *PodVolumeBackupInterface) UpdateStatus(ctx context.Context, podVolumeBackup *v1.PodVolumeBackup, ...) (*v1.PodVolumeBackup, error)
- func (_m *PodVolumeBackupInterface) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type ScheduleInterface
- func (_m *ScheduleInterface) Create(ctx context.Context, schedule *v1.Schedule, opts metav1.CreateOptions) (*v1.Schedule, error)
- func (_m *ScheduleInterface) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (_m *ScheduleInterface) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (_m *ScheduleInterface) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Schedule, error)
- func (_m *ScheduleInterface) List(ctx context.Context, opts metav1.ListOptions) (*v1.ScheduleList, error)
- func (_m *ScheduleInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*v1.Schedule, error)
- func (_m *ScheduleInterface) Update(ctx context.Context, schedule *v1.Schedule, opts metav1.UpdateOptions) (*v1.Schedule, error)
- func (_m *ScheduleInterface) UpdateStatus(ctx context.Context, schedule *v1.Schedule, opts metav1.UpdateOptions) (*v1.Schedule, error)
- func (_m *ScheduleInterface) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type SchedulesGetter
- type VeleroV1Interface
- func (_m *VeleroV1Interface) BackupRepositories(namespace string) v1.BackupRepositoryInterface
- func (_m *VeleroV1Interface) BackupStorageLocations(namespace string) v1.BackupStorageLocationInterface
- func (_m *VeleroV1Interface) Backups(namespace string) v1.BackupInterface
- func (_m *VeleroV1Interface) DeleteBackupRequests(namespace string) v1.DeleteBackupRequestInterface
- func (_m *VeleroV1Interface) DownloadRequests(namespace string) v1.DownloadRequestInterface
- func (_m *VeleroV1Interface) PodVolumeBackups(namespace string) v1.PodVolumeBackupInterface
- func (_m *VeleroV1Interface) PodVolumeRestores(namespace string) v1.PodVolumeRestoreInterface
- func (_m *VeleroV1Interface) RESTClient() rest.Interface
- func (_m *VeleroV1Interface) Restores(namespace string) v1.RestoreInterface
- func (_m *VeleroV1Interface) Schedules(namespace string) v1.ScheduleInterface
- func (_m *VeleroV1Interface) ServerStatusRequests(namespace string) v1.ServerStatusRequestInterface
- func (_m *VeleroV1Interface) VolumeSnapshotLocations(namespace string) v1.VolumeSnapshotLocationInterface
- type VolumeSnapshotLocationInterface
- func (_m *VolumeSnapshotLocationInterface) Create(ctx context.Context, volumeSnapshotLocation *v1.VolumeSnapshotLocation, ...) (*v1.VolumeSnapshotLocation, error)
- func (_m *VolumeSnapshotLocationInterface) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (_m *VolumeSnapshotLocationInterface) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (_m *VolumeSnapshotLocationInterface) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.VolumeSnapshotLocation, error)
- func (_m *VolumeSnapshotLocationInterface) List(ctx context.Context, opts metav1.ListOptions) (*v1.VolumeSnapshotLocationList, error)
- func (_m *VolumeSnapshotLocationInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (*v1.VolumeSnapshotLocation, error)
- func (_m *VolumeSnapshotLocationInterface) Update(ctx context.Context, volumeSnapshotLocation *v1.VolumeSnapshotLocation, ...) (*v1.VolumeSnapshotLocation, error)
- func (_m *VolumeSnapshotLocationInterface) UpdateStatus(ctx context.Context, volumeSnapshotLocation *v1.VolumeSnapshotLocation, ...) (*v1.VolumeSnapshotLocation, error)
- func (_m *VolumeSnapshotLocationInterface) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type VolumeSnapshotLocationsGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupInterface ¶
BackupInterface is an autogenerated mock type for the BackupInterface type
func NewBackupInterface ¶
func NewBackupInterface(t interface { mock.TestingT Cleanup(func()) }) *BackupInterface
NewBackupInterface creates a new instance of BackupInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*BackupInterface) Create ¶
func (_m *BackupInterface) Create(ctx context.Context, backup *v1.Backup, opts metav1.CreateOptions) (*v1.Backup, error)
Create provides a mock function with given fields: ctx, backup, opts
func (*BackupInterface) Delete ¶
func (_m *BackupInterface) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete provides a mock function with given fields: ctx, name, opts
func (*BackupInterface) DeleteCollection ¶
func (_m *BackupInterface) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection provides a mock function with given fields: ctx, opts, listOpts
func (*BackupInterface) Get ¶
func (_m *BackupInterface) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Backup, error)
Get provides a mock function with given fields: ctx, name, opts
func (*BackupInterface) List ¶
func (_m *BackupInterface) List(ctx context.Context, opts metav1.ListOptions) (*v1.BackupList, error)
List provides a mock function with given fields: ctx, opts
func (*BackupInterface) Patch ¶
func (_m *BackupInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (*v1.Backup, error)
Patch provides a mock function with given fields: ctx, name, pt, data, opts, subresources
func (*BackupInterface) Update ¶
func (_m *BackupInterface) Update(ctx context.Context, backup *v1.Backup, opts metav1.UpdateOptions) (*v1.Backup, error)
Update provides a mock function with given fields: ctx, backup, opts
func (*BackupInterface) UpdateStatus ¶
func (_m *BackupInterface) UpdateStatus(ctx context.Context, backup *v1.Backup, opts metav1.UpdateOptions) (*v1.Backup, error)
UpdateStatus provides a mock function with given fields: ctx, backup, opts
func (*BackupInterface) Watch ¶
func (_m *BackupInterface) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch provides a mock function with given fields: ctx, opts
type BackupsGetter ¶
BackupsGetter is an autogenerated mock type for the BackupsGetter type
func NewBackupsGetter ¶
func NewBackupsGetter(t interface { mock.TestingT Cleanup(func()) }) *BackupsGetter
NewBackupsGetter creates a new instance of BackupsGetter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*BackupsGetter) Backups ¶
func (_m *BackupsGetter) Backups(namespace string) v1.BackupInterface
Backups provides a mock function with given fields: namespace
type DeleteBackupRequestInterface ¶
DeleteBackupRequestInterface is an autogenerated mock type for the DeleteBackupRequestInterface type
func NewDeleteBackupRequestInterface ¶
func NewDeleteBackupRequestInterface(t interface { mock.TestingT Cleanup(func()) }) *DeleteBackupRequestInterface
NewDeleteBackupRequestInterface creates a new instance of DeleteBackupRequestInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*DeleteBackupRequestInterface) Create ¶
func (_m *DeleteBackupRequestInterface) Create(ctx context.Context, deleteBackupRequest *v1.DeleteBackupRequest, opts metav1.CreateOptions) (*v1.DeleteBackupRequest, error)
Create provides a mock function with given fields: ctx, deleteBackupRequest, opts
func (*DeleteBackupRequestInterface) Delete ¶
func (_m *DeleteBackupRequestInterface) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete provides a mock function with given fields: ctx, name, opts
func (*DeleteBackupRequestInterface) DeleteCollection ¶
func (_m *DeleteBackupRequestInterface) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection provides a mock function with given fields: ctx, opts, listOpts
func (*DeleteBackupRequestInterface) Get ¶
func (_m *DeleteBackupRequestInterface) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.DeleteBackupRequest, error)
Get provides a mock function with given fields: ctx, name, opts
func (*DeleteBackupRequestInterface) List ¶
func (_m *DeleteBackupRequestInterface) List(ctx context.Context, opts metav1.ListOptions) (*v1.DeleteBackupRequestList, error)
List provides a mock function with given fields: ctx, opts
func (*DeleteBackupRequestInterface) Patch ¶
func (_m *DeleteBackupRequestInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (*v1.DeleteBackupRequest, error)
Patch provides a mock function with given fields: ctx, name, pt, data, opts, subresources
func (*DeleteBackupRequestInterface) Update ¶
func (_m *DeleteBackupRequestInterface) Update(ctx context.Context, deleteBackupRequest *v1.DeleteBackupRequest, opts metav1.UpdateOptions) (*v1.DeleteBackupRequest, error)
Update provides a mock function with given fields: ctx, deleteBackupRequest, opts
func (*DeleteBackupRequestInterface) UpdateStatus ¶
func (_m *DeleteBackupRequestInterface) UpdateStatus(ctx context.Context, deleteBackupRequest *v1.DeleteBackupRequest, opts metav1.UpdateOptions) (*v1.DeleteBackupRequest, error)
UpdateStatus provides a mock function with given fields: ctx, deleteBackupRequest, opts
func (*DeleteBackupRequestInterface) Watch ¶
func (_m *DeleteBackupRequestInterface) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch provides a mock function with given fields: ctx, opts
type DeleteBackupRequestsGetter ¶
DeleteBackupRequestsGetter is an autogenerated mock type for the DeleteBackupRequestsGetter type
func NewDeleteBackupRequestsGetter ¶
func NewDeleteBackupRequestsGetter(t interface { mock.TestingT Cleanup(func()) }) *DeleteBackupRequestsGetter
NewDeleteBackupRequestsGetter creates a new instance of DeleteBackupRequestsGetter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*DeleteBackupRequestsGetter) DeleteBackupRequests ¶
func (_m *DeleteBackupRequestsGetter) DeleteBackupRequests(namespace string) v1.DeleteBackupRequestInterface
DeleteBackupRequests provides a mock function with given fields: namespace
type PodVolumeBackupInterface ¶
PodVolumeBackupInterface is an autogenerated mock type for the PodVolumeBackupInterface type
func NewPodVolumeBackupInterface ¶
func NewPodVolumeBackupInterface(t interface { mock.TestingT Cleanup(func()) }) *PodVolumeBackupInterface
NewPodVolumeBackupInterface creates a new instance of PodVolumeBackupInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*PodVolumeBackupInterface) Create ¶
func (_m *PodVolumeBackupInterface) Create(ctx context.Context, podVolumeBackup *v1.PodVolumeBackup, opts metav1.CreateOptions) (*v1.PodVolumeBackup, error)
Create provides a mock function with given fields: ctx, podVolumeBackup, opts
func (*PodVolumeBackupInterface) Delete ¶
func (_m *PodVolumeBackupInterface) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete provides a mock function with given fields: ctx, name, opts
func (*PodVolumeBackupInterface) DeleteCollection ¶
func (_m *PodVolumeBackupInterface) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection provides a mock function with given fields: ctx, opts, listOpts
func (*PodVolumeBackupInterface) Get ¶
func (_m *PodVolumeBackupInterface) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.PodVolumeBackup, error)
Get provides a mock function with given fields: ctx, name, opts
func (*PodVolumeBackupInterface) List ¶
func (_m *PodVolumeBackupInterface) List(ctx context.Context, opts metav1.ListOptions) (*v1.PodVolumeBackupList, error)
List provides a mock function with given fields: ctx, opts
func (*PodVolumeBackupInterface) Patch ¶
func (_m *PodVolumeBackupInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (*v1.PodVolumeBackup, error)
Patch provides a mock function with given fields: ctx, name, pt, data, opts, subresources
func (*PodVolumeBackupInterface) Update ¶
func (_m *PodVolumeBackupInterface) Update(ctx context.Context, podVolumeBackup *v1.PodVolumeBackup, opts metav1.UpdateOptions) (*v1.PodVolumeBackup, error)
Update provides a mock function with given fields: ctx, podVolumeBackup, opts
func (*PodVolumeBackupInterface) UpdateStatus ¶
func (_m *PodVolumeBackupInterface) UpdateStatus(ctx context.Context, podVolumeBackup *v1.PodVolumeBackup, opts metav1.UpdateOptions) (*v1.PodVolumeBackup, error)
UpdateStatus provides a mock function with given fields: ctx, podVolumeBackup, opts
func (*PodVolumeBackupInterface) Watch ¶
func (_m *PodVolumeBackupInterface) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch provides a mock function with given fields: ctx, opts
type ScheduleInterface ¶
ScheduleInterface is an autogenerated mock type for the ScheduleInterface type
func NewScheduleInterface ¶
func NewScheduleInterface(t interface { mock.TestingT Cleanup(func()) }) *ScheduleInterface
NewScheduleInterface creates a new instance of ScheduleInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ScheduleInterface) Create ¶
func (_m *ScheduleInterface) Create(ctx context.Context, schedule *v1.Schedule, opts metav1.CreateOptions) (*v1.Schedule, error)
Create provides a mock function with given fields: ctx, schedule, opts
func (*ScheduleInterface) Delete ¶
func (_m *ScheduleInterface) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete provides a mock function with given fields: ctx, name, opts
func (*ScheduleInterface) DeleteCollection ¶
func (_m *ScheduleInterface) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection provides a mock function with given fields: ctx, opts, listOpts
func (*ScheduleInterface) Get ¶
func (_m *ScheduleInterface) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Schedule, error)
Get provides a mock function with given fields: ctx, name, opts
func (*ScheduleInterface) List ¶
func (_m *ScheduleInterface) List(ctx context.Context, opts metav1.ListOptions) (*v1.ScheduleList, error)
List provides a mock function with given fields: ctx, opts
func (*ScheduleInterface) Patch ¶
func (_m *ScheduleInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (*v1.Schedule, error)
Patch provides a mock function with given fields: ctx, name, pt, data, opts, subresources
func (*ScheduleInterface) Update ¶
func (_m *ScheduleInterface) Update(ctx context.Context, schedule *v1.Schedule, opts metav1.UpdateOptions) (*v1.Schedule, error)
Update provides a mock function with given fields: ctx, schedule, opts
func (*ScheduleInterface) UpdateStatus ¶
func (_m *ScheduleInterface) UpdateStatus(ctx context.Context, schedule *v1.Schedule, opts metav1.UpdateOptions) (*v1.Schedule, error)
UpdateStatus provides a mock function with given fields: ctx, schedule, opts
func (*ScheduleInterface) Watch ¶
func (_m *ScheduleInterface) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch provides a mock function with given fields: ctx, opts
type SchedulesGetter ¶
SchedulesGetter is an autogenerated mock type for the SchedulesGetter type
func NewSchedulesGetter ¶
func NewSchedulesGetter(t interface { mock.TestingT Cleanup(func()) }) *SchedulesGetter
NewSchedulesGetter creates a new instance of SchedulesGetter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*SchedulesGetter) Schedules ¶
func (_m *SchedulesGetter) Schedules(namespace string) v1.ScheduleInterface
Schedules provides a mock function with given fields: namespace
type VeleroV1Interface ¶
VeleroV1Interface is an autogenerated mock type for the VeleroV1Interface type
func NewVeleroV1Interface ¶
func NewVeleroV1Interface(t interface { mock.TestingT Cleanup(func()) }) *VeleroV1Interface
NewVeleroV1Interface creates a new instance of VeleroV1Interface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*VeleroV1Interface) BackupRepositories ¶
func (_m *VeleroV1Interface) BackupRepositories(namespace string) v1.BackupRepositoryInterface
BackupRepositories provides a mock function with given fields: namespace
func (*VeleroV1Interface) BackupStorageLocations ¶
func (_m *VeleroV1Interface) BackupStorageLocations(namespace string) v1.BackupStorageLocationInterface
BackupStorageLocations provides a mock function with given fields: namespace
func (*VeleroV1Interface) Backups ¶
func (_m *VeleroV1Interface) Backups(namespace string) v1.BackupInterface
Backups provides a mock function with given fields: namespace
func (*VeleroV1Interface) DeleteBackupRequests ¶
func (_m *VeleroV1Interface) DeleteBackupRequests(namespace string) v1.DeleteBackupRequestInterface
DeleteBackupRequests provides a mock function with given fields: namespace
func (*VeleroV1Interface) DownloadRequests ¶
func (_m *VeleroV1Interface) DownloadRequests(namespace string) v1.DownloadRequestInterface
DownloadRequests provides a mock function with given fields: namespace
func (*VeleroV1Interface) PodVolumeBackups ¶
func (_m *VeleroV1Interface) PodVolumeBackups(namespace string) v1.PodVolumeBackupInterface
PodVolumeBackups provides a mock function with given fields: namespace
func (*VeleroV1Interface) PodVolumeRestores ¶
func (_m *VeleroV1Interface) PodVolumeRestores(namespace string) v1.PodVolumeRestoreInterface
PodVolumeRestores provides a mock function with given fields: namespace
func (*VeleroV1Interface) RESTClient ¶
func (_m *VeleroV1Interface) RESTClient() rest.Interface
RESTClient provides a mock function with given fields:
func (*VeleroV1Interface) Restores ¶
func (_m *VeleroV1Interface) Restores(namespace string) v1.RestoreInterface
Restores provides a mock function with given fields: namespace
func (*VeleroV1Interface) Schedules ¶
func (_m *VeleroV1Interface) Schedules(namespace string) v1.ScheduleInterface
Schedules provides a mock function with given fields: namespace
func (*VeleroV1Interface) ServerStatusRequests ¶
func (_m *VeleroV1Interface) ServerStatusRequests(namespace string) v1.ServerStatusRequestInterface
ServerStatusRequests provides a mock function with given fields: namespace
func (*VeleroV1Interface) VolumeSnapshotLocations ¶
func (_m *VeleroV1Interface) VolumeSnapshotLocations(namespace string) v1.VolumeSnapshotLocationInterface
VolumeSnapshotLocations provides a mock function with given fields: namespace
type VolumeSnapshotLocationInterface ¶
VolumeSnapshotLocationInterface is an autogenerated mock type for the VolumeSnapshotLocationInterface type
func NewVolumeSnapshotLocationInterface ¶
func NewVolumeSnapshotLocationInterface(t interface { mock.TestingT Cleanup(func()) }) *VolumeSnapshotLocationInterface
NewVolumeSnapshotLocationInterface creates a new instance of VolumeSnapshotLocationInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*VolumeSnapshotLocationInterface) Create ¶
func (_m *VolumeSnapshotLocationInterface) Create(ctx context.Context, volumeSnapshotLocation *v1.VolumeSnapshotLocation, opts metav1.CreateOptions) (*v1.VolumeSnapshotLocation, error)
Create provides a mock function with given fields: ctx, volumeSnapshotLocation, opts
func (*VolumeSnapshotLocationInterface) Delete ¶
func (_m *VolumeSnapshotLocationInterface) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete provides a mock function with given fields: ctx, name, opts
func (*VolumeSnapshotLocationInterface) DeleteCollection ¶
func (_m *VolumeSnapshotLocationInterface) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection provides a mock function with given fields: ctx, opts, listOpts
func (*VolumeSnapshotLocationInterface) Get ¶
func (_m *VolumeSnapshotLocationInterface) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.VolumeSnapshotLocation, error)
Get provides a mock function with given fields: ctx, name, opts
func (*VolumeSnapshotLocationInterface) List ¶
func (_m *VolumeSnapshotLocationInterface) List(ctx context.Context, opts metav1.ListOptions) (*v1.VolumeSnapshotLocationList, error)
List provides a mock function with given fields: ctx, opts
func (*VolumeSnapshotLocationInterface) Patch ¶
func (_m *VolumeSnapshotLocationInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (*v1.VolumeSnapshotLocation, error)
Patch provides a mock function with given fields: ctx, name, pt, data, opts, subresources
func (*VolumeSnapshotLocationInterface) Update ¶
func (_m *VolumeSnapshotLocationInterface) Update(ctx context.Context, volumeSnapshotLocation *v1.VolumeSnapshotLocation, opts metav1.UpdateOptions) (*v1.VolumeSnapshotLocation, error)
Update provides a mock function with given fields: ctx, volumeSnapshotLocation, opts
func (*VolumeSnapshotLocationInterface) UpdateStatus ¶
func (_m *VolumeSnapshotLocationInterface) UpdateStatus(ctx context.Context, volumeSnapshotLocation *v1.VolumeSnapshotLocation, opts metav1.UpdateOptions) (*v1.VolumeSnapshotLocation, error)
UpdateStatus provides a mock function with given fields: ctx, volumeSnapshotLocation, opts
func (*VolumeSnapshotLocationInterface) Watch ¶
func (_m *VolumeSnapshotLocationInterface) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch provides a mock function with given fields: ctx, opts
type VolumeSnapshotLocationsGetter ¶
VolumeSnapshotLocationsGetter is an autogenerated mock type for the VolumeSnapshotLocationsGetter type
func NewVolumeSnapshotLocationsGetter ¶
func NewVolumeSnapshotLocationsGetter(t interface { mock.TestingT Cleanup(func()) }) *VolumeSnapshotLocationsGetter
NewVolumeSnapshotLocationsGetter creates a new instance of VolumeSnapshotLocationsGetter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*VolumeSnapshotLocationsGetter) VolumeSnapshotLocations ¶
func (_m *VolumeSnapshotLocationsGetter) VolumeSnapshotLocations(namespace string) v1.VolumeSnapshotLocationInterface
VolumeSnapshotLocations provides a mock function with given fields: namespace