Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeDataDownloads
- func (c *FakeDataDownloads) Create(ctx context.Context, dataDownload *v2alpha1.DataDownload, ...) (result *v2alpha1.DataDownload, err error)
- func (c *FakeDataDownloads) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDataDownloads) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDataDownloads) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2alpha1.DataDownload, err error)
- func (c *FakeDataDownloads) List(ctx context.Context, opts v1.ListOptions) (result *v2alpha1.DataDownloadList, err error)
- func (c *FakeDataDownloads) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v2alpha1.DataDownload, err error)
- func (c *FakeDataDownloads) Update(ctx context.Context, dataDownload *v2alpha1.DataDownload, ...) (result *v2alpha1.DataDownload, err error)
- func (c *FakeDataDownloads) UpdateStatus(ctx context.Context, dataDownload *v2alpha1.DataDownload, ...) (*v2alpha1.DataDownload, error)
- func (c *FakeDataDownloads) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDataUploads
- func (c *FakeDataUploads) Create(ctx context.Context, dataUpload *v2alpha1.DataUpload, opts v1.CreateOptions) (result *v2alpha1.DataUpload, err error)
- func (c *FakeDataUploads) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDataUploads) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDataUploads) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2alpha1.DataUpload, err error)
- func (c *FakeDataUploads) List(ctx context.Context, opts v1.ListOptions) (result *v2alpha1.DataUploadList, err error)
- func (c *FakeDataUploads) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v2alpha1.DataUpload, err error)
- func (c *FakeDataUploads) Update(ctx context.Context, dataUpload *v2alpha1.DataUpload, opts v1.UpdateOptions) (result *v2alpha1.DataUpload, err error)
- func (c *FakeDataUploads) UpdateStatus(ctx context.Context, dataUpload *v2alpha1.DataUpload, opts v1.UpdateOptions) (*v2alpha1.DataUpload, error)
- func (c *FakeDataUploads) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeVeleroV2alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeDataDownloads ¶
type FakeDataDownloads struct { Fake *FakeVeleroV2alpha1 // contains filtered or unexported fields }
FakeDataDownloads implements DataDownloadInterface
func (*FakeDataDownloads) Create ¶
func (c *FakeDataDownloads) Create(ctx context.Context, dataDownload *v2alpha1.DataDownload, opts v1.CreateOptions) (result *v2alpha1.DataDownload, err error)
Create takes the representation of a dataDownload and creates it. Returns the server's representation of the dataDownload, and an error, if there is any.
func (*FakeDataDownloads) Delete ¶
func (c *FakeDataDownloads) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the dataDownload and deletes it. Returns an error if one occurs.
func (*FakeDataDownloads) DeleteCollection ¶
func (c *FakeDataDownloads) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDataDownloads) Get ¶
func (c *FakeDataDownloads) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2alpha1.DataDownload, err error)
Get takes name of the dataDownload, and returns the corresponding dataDownload object, and an error if there is any.
func (*FakeDataDownloads) List ¶
func (c *FakeDataDownloads) List(ctx context.Context, opts v1.ListOptions) (result *v2alpha1.DataDownloadList, err error)
List takes label and field selectors, and returns the list of DataDownloads that match those selectors.
func (*FakeDataDownloads) Patch ¶
func (c *FakeDataDownloads) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2alpha1.DataDownload, err error)
Patch applies the patch and returns the patched dataDownload.
func (*FakeDataDownloads) Update ¶
func (c *FakeDataDownloads) Update(ctx context.Context, dataDownload *v2alpha1.DataDownload, opts v1.UpdateOptions) (result *v2alpha1.DataDownload, err error)
Update takes the representation of a dataDownload and updates it. Returns the server's representation of the dataDownload, and an error, if there is any.
func (*FakeDataDownloads) UpdateStatus ¶
func (c *FakeDataDownloads) UpdateStatus(ctx context.Context, dataDownload *v2alpha1.DataDownload, opts v1.UpdateOptions) (*v2alpha1.DataDownload, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDataDownloads) Watch ¶
func (c *FakeDataDownloads) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested dataDownloads.
type FakeDataUploads ¶
type FakeDataUploads struct { Fake *FakeVeleroV2alpha1 // contains filtered or unexported fields }
FakeDataUploads implements DataUploadInterface
func (*FakeDataUploads) Create ¶
func (c *FakeDataUploads) Create(ctx context.Context, dataUpload *v2alpha1.DataUpload, opts v1.CreateOptions) (result *v2alpha1.DataUpload, err error)
Create takes the representation of a dataUpload and creates it. Returns the server's representation of the dataUpload, and an error, if there is any.
func (*FakeDataUploads) Delete ¶
func (c *FakeDataUploads) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the dataUpload and deletes it. Returns an error if one occurs.
func (*FakeDataUploads) DeleteCollection ¶
func (c *FakeDataUploads) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDataUploads) Get ¶
func (c *FakeDataUploads) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2alpha1.DataUpload, err error)
Get takes name of the dataUpload, and returns the corresponding dataUpload object, and an error if there is any.
func (*FakeDataUploads) List ¶
func (c *FakeDataUploads) List(ctx context.Context, opts v1.ListOptions) (result *v2alpha1.DataUploadList, err error)
List takes label and field selectors, and returns the list of DataUploads that match those selectors.
func (*FakeDataUploads) Patch ¶
func (c *FakeDataUploads) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2alpha1.DataUpload, err error)
Patch applies the patch and returns the patched dataUpload.
func (*FakeDataUploads) Update ¶
func (c *FakeDataUploads) Update(ctx context.Context, dataUpload *v2alpha1.DataUpload, opts v1.UpdateOptions) (result *v2alpha1.DataUpload, err error)
Update takes the representation of a dataUpload and updates it. Returns the server's representation of the dataUpload, and an error, if there is any.
func (*FakeDataUploads) UpdateStatus ¶
func (c *FakeDataUploads) UpdateStatus(ctx context.Context, dataUpload *v2alpha1.DataUpload, opts v1.UpdateOptions) (*v2alpha1.DataUpload, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDataUploads) Watch ¶
func (c *FakeDataUploads) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested dataUploads.
type FakeVeleroV2alpha1 ¶
func (*FakeVeleroV2alpha1) DataDownloads ¶
func (c *FakeVeleroV2alpha1) DataDownloads(namespace string) v2alpha1.DataDownloadInterface
func (*FakeVeleroV2alpha1) DataUploads ¶
func (c *FakeVeleroV2alpha1) DataUploads(namespace string) v2alpha1.DataUploadInterface
func (*FakeVeleroV2alpha1) RESTClient ¶
func (c *FakeVeleroV2alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.