Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type CStorVolumeAttachmentExpansion
- type CStorVolumeAttachmentInterface
- type CStorVolumeAttachmentsGetter
- type CstorV1Client
- func (c *CstorV1Client) CStorVolumeAttachments(namespace string) CStorVolumeAttachmentInterface
- func (c *CstorV1Client) RESTClient() rest.Interface
- func (c *CstorV1Client) VolumeSnapshotDatas() VolumeSnapshotDataInterface
- func (c *CstorV1Client) VolumeSnapshots(namespace string) VolumeSnapshotInterface
- type CstorV1Interface
- type VolumeSnapshotDataExpansion
- type VolumeSnapshotDataInterface
- type VolumeSnapshotDatasGetter
- type VolumeSnapshotExpansion
- type VolumeSnapshotInterface
- type VolumeSnapshotsGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CStorVolumeAttachmentExpansion ¶
type CStorVolumeAttachmentExpansion interface{}
type CStorVolumeAttachmentInterface ¶
type CStorVolumeAttachmentInterface interface { Create(*v1.CStorVolumeAttachment) (*v1.CStorVolumeAttachment, error) Update(*v1.CStorVolumeAttachment) (*v1.CStorVolumeAttachment, error) UpdateStatus(*v1.CStorVolumeAttachment) (*v1.CStorVolumeAttachment, error) Delete(name string, options *metav1.DeleteOptions) error DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error Get(name string, options metav1.GetOptions) (*v1.CStorVolumeAttachment, error) List(opts metav1.ListOptions) (*v1.CStorVolumeAttachmentList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.CStorVolumeAttachment, err error) CStorVolumeAttachmentExpansion }
CStorVolumeAttachmentInterface has methods to work with CStorVolumeAttachment resources.
type CStorVolumeAttachmentsGetter ¶
type CStorVolumeAttachmentsGetter interface {
CStorVolumeAttachments(namespace string) CStorVolumeAttachmentInterface
}
CStorVolumeAttachmentsGetter has a method to return a CStorVolumeAttachmentInterface. A group's client should implement this interface.
type CstorV1Client ¶
type CstorV1Client struct {
// contains filtered or unexported fields
}
CstorV1Client is used to interact with features provided by the cstor.openebs.io group.
func New ¶
func New(c rest.Interface) *CstorV1Client
New creates a new CstorV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*CstorV1Client, error)
NewForConfig creates a new CstorV1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *CstorV1Client
NewForConfigOrDie creates a new CstorV1Client for the given config and panics if there is an error in the config.
func (*CstorV1Client) CStorVolumeAttachments ¶
func (c *CstorV1Client) CStorVolumeAttachments(namespace string) CStorVolumeAttachmentInterface
func (*CstorV1Client) RESTClient ¶
func (c *CstorV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*CstorV1Client) VolumeSnapshotDatas ¶
func (c *CstorV1Client) VolumeSnapshotDatas() VolumeSnapshotDataInterface
func (*CstorV1Client) VolumeSnapshots ¶
func (c *CstorV1Client) VolumeSnapshots(namespace string) VolumeSnapshotInterface
type CstorV1Interface ¶
type CstorV1Interface interface { RESTClient() rest.Interface CStorVolumeAttachmentsGetter VolumeSnapshotsGetter VolumeSnapshotDatasGetter }
type VolumeSnapshotDataExpansion ¶
type VolumeSnapshotDataExpansion interface{}
type VolumeSnapshotDataInterface ¶
type VolumeSnapshotDataInterface interface { Create(*v1.VolumeSnapshotData) (*v1.VolumeSnapshotData, error) Update(*v1.VolumeSnapshotData) (*v1.VolumeSnapshotData, error) UpdateStatus(*v1.VolumeSnapshotData) (*v1.VolumeSnapshotData, error) Delete(name string, options *metav1.DeleteOptions) error DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error Get(name string, options metav1.GetOptions) (*v1.VolumeSnapshotData, error) List(opts metav1.ListOptions) (*v1.VolumeSnapshotDataList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.VolumeSnapshotData, err error) VolumeSnapshotDataExpansion }
VolumeSnapshotDataInterface has methods to work with VolumeSnapshotData resources.
type VolumeSnapshotDatasGetter ¶
type VolumeSnapshotDatasGetter interface {
VolumeSnapshotDatas() VolumeSnapshotDataInterface
}
VolumeSnapshotDatasGetter has a method to return a VolumeSnapshotDataInterface. A group's client should implement this interface.
type VolumeSnapshotExpansion ¶
type VolumeSnapshotExpansion interface{}
type VolumeSnapshotInterface ¶
type VolumeSnapshotInterface interface { Create(*v1.VolumeSnapshot) (*v1.VolumeSnapshot, error) Update(*v1.VolumeSnapshot) (*v1.VolumeSnapshot, error) UpdateStatus(*v1.VolumeSnapshot) (*v1.VolumeSnapshot, error) Delete(name string, options *metav1.DeleteOptions) error DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error Get(name string, options metav1.GetOptions) (*v1.VolumeSnapshot, error) List(opts metav1.ListOptions) (*v1.VolumeSnapshotList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.VolumeSnapshot, err error) VolumeSnapshotExpansion }
VolumeSnapshotInterface has methods to work with VolumeSnapshot resources.
type VolumeSnapshotsGetter ¶
type VolumeSnapshotsGetter interface {
VolumeSnapshots(namespace string) VolumeSnapshotInterface
}
VolumeSnapshotsGetter has a method to return a VolumeSnapshotInterface. A group's client should implement this interface.