Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatamoverV1alpha1Client ¶
type DatamoverV1alpha1Client struct {
// contains filtered or unexported fields
}
DatamoverV1alpha1Client is used to interact with features provided by the datamover.cnsdp.vmware.com group.
func New ¶
func New(c rest.Interface) *DatamoverV1alpha1Client
New creates a new DatamoverV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*DatamoverV1alpha1Client, error)
NewForConfig creates a new DatamoverV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *DatamoverV1alpha1Client
NewForConfigOrDie creates a new DatamoverV1alpha1Client for the given config and panics if there is an error in the config.
func (*DatamoverV1alpha1Client) Downloads ¶
func (c *DatamoverV1alpha1Client) Downloads(namespace string) DownloadInterface
func (*DatamoverV1alpha1Client) RESTClient ¶
func (c *DatamoverV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*DatamoverV1alpha1Client) Uploads ¶
func (c *DatamoverV1alpha1Client) Uploads(namespace string) UploadInterface
type DatamoverV1alpha1Interface ¶
type DatamoverV1alpha1Interface interface { RESTClient() rest.Interface DownloadsGetter UploadsGetter }
type DownloadExpansion ¶
type DownloadExpansion interface{}
type DownloadInterface ¶
type DownloadInterface interface { Create(ctx context.Context, download *v1alpha1.Download, opts v1.CreateOptions) (*v1alpha1.Download, error) Update(ctx context.Context, download *v1alpha1.Download, opts v1.UpdateOptions) (*v1alpha1.Download, error) UpdateStatus(ctx context.Context, download *v1alpha1.Download, opts v1.UpdateOptions) (*v1alpha1.Download, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.Download, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.DownloadList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Download, err error) DownloadExpansion }
DownloadInterface has methods to work with Download resources.
type DownloadsGetter ¶
type DownloadsGetter interface {
Downloads(namespace string) DownloadInterface
}
DownloadsGetter has a method to return a DownloadInterface. A group's client should implement this interface.
type UploadExpansion ¶
type UploadExpansion interface{}
type UploadInterface ¶
type UploadInterface interface { Create(ctx context.Context, upload *v1alpha1.Upload, opts v1.CreateOptions) (*v1alpha1.Upload, error) Update(ctx context.Context, upload *v1alpha1.Upload, opts v1.UpdateOptions) (*v1alpha1.Upload, error) UpdateStatus(ctx context.Context, upload *v1alpha1.Upload, opts v1.UpdateOptions) (*v1alpha1.Upload, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.Upload, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.UploadList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Upload, err error) UploadExpansion }
UploadInterface has methods to work with Upload resources.
type UploadsGetter ¶
type UploadsGetter interface {
Uploads(namespace string) UploadInterface
}
UploadsGetter has a method to return a UploadInterface. A group's client should implement this interface.