Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeDatamoverV1alpha1
- type FakeDownloads
- func (c *FakeDownloads) Create(ctx context.Context, download *v1alpha1.Download, opts v1.CreateOptions) (result *v1alpha1.Download, err error)
- func (c *FakeDownloads) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDownloads) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDownloads) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Download, err error)
- func (c *FakeDownloads) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DownloadList, err error)
- func (c *FakeDownloads) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Download, err error)
- func (c *FakeDownloads) Update(ctx context.Context, download *v1alpha1.Download, opts v1.UpdateOptions) (result *v1alpha1.Download, err error)
- func (c *FakeDownloads) UpdateStatus(ctx context.Context, download *v1alpha1.Download, opts v1.UpdateOptions) (*v1alpha1.Download, error)
- func (c *FakeDownloads) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeUploads
- func (c *FakeUploads) Create(ctx context.Context, upload *v1alpha1.Upload, opts v1.CreateOptions) (result *v1alpha1.Upload, err error)
- func (c *FakeUploads) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeUploads) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeUploads) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Upload, err error)
- func (c *FakeUploads) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.UploadList, err error)
- func (c *FakeUploads) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Upload, err error)
- func (c *FakeUploads) Update(ctx context.Context, upload *v1alpha1.Upload, opts v1.UpdateOptions) (result *v1alpha1.Upload, err error)
- func (c *FakeUploads) UpdateStatus(ctx context.Context, upload *v1alpha1.Upload, opts v1.UpdateOptions) (*v1alpha1.Upload, error)
- func (c *FakeUploads) 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 FakeDatamoverV1alpha1 ¶
func (*FakeDatamoverV1alpha1) Downloads ¶
func (c *FakeDatamoverV1alpha1) Downloads(namespace string) v1alpha1.DownloadInterface
func (*FakeDatamoverV1alpha1) RESTClient ¶
func (c *FakeDatamoverV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeDatamoverV1alpha1) Uploads ¶
func (c *FakeDatamoverV1alpha1) Uploads(namespace string) v1alpha1.UploadInterface
type FakeDownloads ¶
type FakeDownloads struct { Fake *FakeDatamoverV1alpha1 // contains filtered or unexported fields }
FakeDownloads implements DownloadInterface
func (*FakeDownloads) Create ¶
func (c *FakeDownloads) Create(ctx context.Context, download *v1alpha1.Download, opts v1.CreateOptions) (result *v1alpha1.Download, err error)
Create takes the representation of a download and creates it. Returns the server's representation of the download, and an error, if there is any.
func (*FakeDownloads) Delete ¶
func (c *FakeDownloads) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the download and deletes it. Returns an error if one occurs.
func (*FakeDownloads) DeleteCollection ¶
func (c *FakeDownloads) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDownloads) Get ¶
func (c *FakeDownloads) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Download, err error)
Get takes name of the download, and returns the corresponding download object, and an error if there is any.
func (*FakeDownloads) List ¶
func (c *FakeDownloads) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DownloadList, err error)
List takes label and field selectors, and returns the list of Downloads that match those selectors.
func (*FakeDownloads) Patch ¶
func (c *FakeDownloads) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Download, err error)
Patch applies the patch and returns the patched download.
func (*FakeDownloads) Update ¶
func (c *FakeDownloads) Update(ctx context.Context, download *v1alpha1.Download, opts v1.UpdateOptions) (result *v1alpha1.Download, err error)
Update takes the representation of a download and updates it. Returns the server's representation of the download, and an error, if there is any.
func (*FakeDownloads) UpdateStatus ¶
func (c *FakeDownloads) UpdateStatus(ctx context.Context, download *v1alpha1.Download, opts v1.UpdateOptions) (*v1alpha1.Download, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDownloads) Watch ¶
func (c *FakeDownloads) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested downloads.
type FakeUploads ¶
type FakeUploads struct { Fake *FakeDatamoverV1alpha1 // contains filtered or unexported fields }
FakeUploads implements UploadInterface
func (*FakeUploads) Create ¶
func (c *FakeUploads) Create(ctx context.Context, upload *v1alpha1.Upload, opts v1.CreateOptions) (result *v1alpha1.Upload, err error)
Create takes the representation of a upload and creates it. Returns the server's representation of the upload, and an error, if there is any.
func (*FakeUploads) Delete ¶
func (c *FakeUploads) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the upload and deletes it. Returns an error if one occurs.
func (*FakeUploads) DeleteCollection ¶
func (c *FakeUploads) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeUploads) Get ¶
func (c *FakeUploads) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Upload, err error)
Get takes name of the upload, and returns the corresponding upload object, and an error if there is any.
func (*FakeUploads) List ¶
func (c *FakeUploads) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.UploadList, err error)
List takes label and field selectors, and returns the list of Uploads that match those selectors.
func (*FakeUploads) Patch ¶
func (c *FakeUploads) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Upload, err error)
Patch applies the patch and returns the patched upload.
func (*FakeUploads) Update ¶
func (c *FakeUploads) Update(ctx context.Context, upload *v1alpha1.Upload, opts v1.UpdateOptions) (result *v1alpha1.Upload, err error)
Update takes the representation of a upload and updates it. Returns the server's representation of the upload, and an error, if there is any.
func (*FakeUploads) UpdateStatus ¶
func (c *FakeUploads) UpdateStatus(ctx context.Context, upload *v1alpha1.Upload, opts v1.UpdateOptions) (*v1alpha1.Upload, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeUploads) Watch ¶
func (c *FakeUploads) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested uploads.