Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeArkV1
- func (c *FakeArkV1) Backups(namespace string) v1.BackupInterface
- func (c *FakeArkV1) Configs(namespace string) v1.ConfigInterface
- func (c *FakeArkV1) DownloadRequests(namespace string) v1.DownloadRequestInterface
- func (c *FakeArkV1) RESTClient() rest.Interface
- func (c *FakeArkV1) Restores(namespace string) v1.RestoreInterface
- func (c *FakeArkV1) Schedules(namespace string) v1.ScheduleInterface
- type FakeBackups
- func (c *FakeBackups) Create(backup *v1.Backup) (result *v1.Backup, err error)
- func (c *FakeBackups) Delete(name string, options *meta_v1.DeleteOptions) error
- func (c *FakeBackups) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
- func (c *FakeBackups) Get(name string, options meta_v1.GetOptions) (result *v1.Backup, err error)
- func (c *FakeBackups) List(opts meta_v1.ListOptions) (result *v1.BackupList, err error)
- func (c *FakeBackups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Backup, err error)
- func (c *FakeBackups) Update(backup *v1.Backup) (result *v1.Backup, err error)
- func (c *FakeBackups) UpdateStatus(backup *v1.Backup) (*v1.Backup, error)
- func (c *FakeBackups) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
- type FakeConfigs
- func (c *FakeConfigs) Create(config *v1.Config) (result *v1.Config, err error)
- func (c *FakeConfigs) Delete(name string, options *meta_v1.DeleteOptions) error
- func (c *FakeConfigs) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
- func (c *FakeConfigs) Get(name string, options meta_v1.GetOptions) (result *v1.Config, err error)
- func (c *FakeConfigs) List(opts meta_v1.ListOptions) (result *v1.ConfigList, err error)
- func (c *FakeConfigs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Config, err error)
- func (c *FakeConfigs) Update(config *v1.Config) (result *v1.Config, err error)
- func (c *FakeConfigs) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
- type FakeDownloadRequests
- func (c *FakeDownloadRequests) Create(downloadRequest *v1.DownloadRequest) (result *v1.DownloadRequest, err error)
- func (c *FakeDownloadRequests) Delete(name string, options *meta_v1.DeleteOptions) error
- func (c *FakeDownloadRequests) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
- func (c *FakeDownloadRequests) Get(name string, options meta_v1.GetOptions) (result *v1.DownloadRequest, err error)
- func (c *FakeDownloadRequests) List(opts meta_v1.ListOptions) (result *v1.DownloadRequestList, err error)
- func (c *FakeDownloadRequests) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.DownloadRequest, err error)
- func (c *FakeDownloadRequests) Update(downloadRequest *v1.DownloadRequest) (result *v1.DownloadRequest, err error)
- func (c *FakeDownloadRequests) UpdateStatus(downloadRequest *v1.DownloadRequest) (*v1.DownloadRequest, error)
- func (c *FakeDownloadRequests) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
- type FakeRestores
- func (c *FakeRestores) Create(restore *v1.Restore) (result *v1.Restore, err error)
- func (c *FakeRestores) Delete(name string, options *meta_v1.DeleteOptions) error
- func (c *FakeRestores) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
- func (c *FakeRestores) Get(name string, options meta_v1.GetOptions) (result *v1.Restore, err error)
- func (c *FakeRestores) List(opts meta_v1.ListOptions) (result *v1.RestoreList, err error)
- func (c *FakeRestores) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Restore, err error)
- func (c *FakeRestores) Update(restore *v1.Restore) (result *v1.Restore, err error)
- func (c *FakeRestores) UpdateStatus(restore *v1.Restore) (*v1.Restore, error)
- func (c *FakeRestores) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
- type FakeSchedules
- func (c *FakeSchedules) Create(schedule *v1.Schedule) (result *v1.Schedule, err error)
- func (c *FakeSchedules) Delete(name string, options *meta_v1.DeleteOptions) error
- func (c *FakeSchedules) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
- func (c *FakeSchedules) Get(name string, options meta_v1.GetOptions) (result *v1.Schedule, err error)
- func (c *FakeSchedules) List(opts meta_v1.ListOptions) (result *v1.ScheduleList, err error)
- func (c *FakeSchedules) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Schedule, err error)
- func (c *FakeSchedules) Update(schedule *v1.Schedule) (result *v1.Schedule, err error)
- func (c *FakeSchedules) UpdateStatus(schedule *v1.Schedule) (*v1.Schedule, error)
- func (c *FakeSchedules) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeArkV1 ¶
func (*FakeArkV1) DownloadRequests ¶ added in v0.4.0
func (c *FakeArkV1) DownloadRequests(namespace string) v1.DownloadRequestInterface
func (*FakeArkV1) RESTClient ¶
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeBackups ¶
type FakeBackups struct { Fake *FakeArkV1 // contains filtered or unexported fields }
FakeBackups implements BackupInterface
func (*FakeBackups) Delete ¶
func (c *FakeBackups) Delete(name string, options *meta_v1.DeleteOptions) error
func (*FakeBackups) DeleteCollection ¶
func (c *FakeBackups) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
func (*FakeBackups) Get ¶
func (c *FakeBackups) Get(name string, options meta_v1.GetOptions) (result *v1.Backup, err error)
func (*FakeBackups) List ¶
func (c *FakeBackups) List(opts meta_v1.ListOptions) (result *v1.BackupList, err error)
func (*FakeBackups) Patch ¶
func (c *FakeBackups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Backup, err error)
Patch applies the patch and returns the patched backup.
func (*FakeBackups) UpdateStatus ¶
func (*FakeBackups) Watch ¶
func (c *FakeBackups) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested backups.
type FakeConfigs ¶
type FakeConfigs struct { Fake *FakeArkV1 // contains filtered or unexported fields }
FakeConfigs implements ConfigInterface
func (*FakeConfigs) Delete ¶
func (c *FakeConfigs) Delete(name string, options *meta_v1.DeleteOptions) error
func (*FakeConfigs) DeleteCollection ¶
func (c *FakeConfigs) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
func (*FakeConfigs) Get ¶
func (c *FakeConfigs) Get(name string, options meta_v1.GetOptions) (result *v1.Config, err error)
func (*FakeConfigs) List ¶
func (c *FakeConfigs) List(opts meta_v1.ListOptions) (result *v1.ConfigList, err error)
func (*FakeConfigs) Patch ¶
func (c *FakeConfigs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Config, err error)
Patch applies the patch and returns the patched config.
func (*FakeConfigs) Watch ¶
func (c *FakeConfigs) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested configs.
type FakeDownloadRequests ¶ added in v0.4.0
type FakeDownloadRequests struct { Fake *FakeArkV1 // contains filtered or unexported fields }
FakeDownloadRequests implements DownloadRequestInterface
func (*FakeDownloadRequests) Create ¶ added in v0.4.0
func (c *FakeDownloadRequests) Create(downloadRequest *v1.DownloadRequest) (result *v1.DownloadRequest, err error)
func (*FakeDownloadRequests) Delete ¶ added in v0.4.0
func (c *FakeDownloadRequests) Delete(name string, options *meta_v1.DeleteOptions) error
func (*FakeDownloadRequests) DeleteCollection ¶ added in v0.4.0
func (c *FakeDownloadRequests) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
func (*FakeDownloadRequests) Get ¶ added in v0.4.0
func (c *FakeDownloadRequests) Get(name string, options meta_v1.GetOptions) (result *v1.DownloadRequest, err error)
func (*FakeDownloadRequests) List ¶ added in v0.4.0
func (c *FakeDownloadRequests) List(opts meta_v1.ListOptions) (result *v1.DownloadRequestList, err error)
func (*FakeDownloadRequests) Patch ¶ added in v0.4.0
func (c *FakeDownloadRequests) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.DownloadRequest, err error)
Patch applies the patch and returns the patched downloadRequest.
func (*FakeDownloadRequests) Update ¶ added in v0.4.0
func (c *FakeDownloadRequests) Update(downloadRequest *v1.DownloadRequest) (result *v1.DownloadRequest, err error)
func (*FakeDownloadRequests) UpdateStatus ¶ added in v0.4.0
func (c *FakeDownloadRequests) UpdateStatus(downloadRequest *v1.DownloadRequest) (*v1.DownloadRequest, error)
func (*FakeDownloadRequests) Watch ¶ added in v0.4.0
func (c *FakeDownloadRequests) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested downloadRequests.
type FakeRestores ¶
type FakeRestores struct { Fake *FakeArkV1 // contains filtered or unexported fields }
FakeRestores implements RestoreInterface
func (*FakeRestores) Delete ¶
func (c *FakeRestores) Delete(name string, options *meta_v1.DeleteOptions) error
func (*FakeRestores) DeleteCollection ¶
func (c *FakeRestores) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
func (*FakeRestores) Get ¶
func (c *FakeRestores) Get(name string, options meta_v1.GetOptions) (result *v1.Restore, err error)
func (*FakeRestores) List ¶
func (c *FakeRestores) List(opts meta_v1.ListOptions) (result *v1.RestoreList, err error)
func (*FakeRestores) Patch ¶
func (c *FakeRestores) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Restore, err error)
Patch applies the patch and returns the patched restore.
func (*FakeRestores) UpdateStatus ¶
func (*FakeRestores) Watch ¶
func (c *FakeRestores) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested restores.
type FakeSchedules ¶
type FakeSchedules struct { Fake *FakeArkV1 // contains filtered or unexported fields }
FakeSchedules implements ScheduleInterface
func (*FakeSchedules) Delete ¶
func (c *FakeSchedules) Delete(name string, options *meta_v1.DeleteOptions) error
func (*FakeSchedules) DeleteCollection ¶
func (c *FakeSchedules) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
func (*FakeSchedules) Get ¶
func (c *FakeSchedules) Get(name string, options meta_v1.GetOptions) (result *v1.Schedule, err error)
func (*FakeSchedules) List ¶
func (c *FakeSchedules) List(opts meta_v1.ListOptions) (result *v1.ScheduleList, err error)
func (*FakeSchedules) Patch ¶
func (c *FakeSchedules) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Schedule, err error)
Patch applies the patch and returns the patched schedule.
func (*FakeSchedules) UpdateStatus ¶
func (*FakeSchedules) Watch ¶
func (c *FakeSchedules) Watch(opts meta_v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested schedules.