Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type CSIDriverExpansion
- type CSIDriverInterface
- type CSIDriversGetter
- type CSINodeExpansion
- type CSINodeInterface
- type CSINodesGetter
- type StorageClassExpansion
- type StorageClassInterface
- type StorageClassesGetter
- type StorageClient
- type StorageInterface
- type VolumeAttachmentExpansion
- type VolumeAttachmentInterface
- type VolumeAttachmentsGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CSIDriverExpansion ¶ added in v1.14.0
type CSIDriverExpansion interface{}
type CSIDriverInterface ¶ added in v1.14.0
type CSIDriverInterface interface { Create(*storage.CSIDriver) (*storage.CSIDriver, error) Update(*storage.CSIDriver) (*storage.CSIDriver, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*storage.CSIDriver, error) List(opts v1.ListOptions) (*storage.CSIDriverList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *storage.CSIDriver, err error) CSIDriverExpansion }
CSIDriverInterface has methods to work with CSIDriver resources.
type CSIDriversGetter ¶ added in v1.14.0
type CSIDriversGetter interface {
CSIDrivers() CSIDriverInterface
}
CSIDriversGetter has a method to return a CSIDriverInterface. A group's client should implement this interface.
type CSINodeExpansion ¶ added in v1.14.0
type CSINodeExpansion interface{}
type CSINodeInterface ¶ added in v1.14.0
type CSINodeInterface interface { Create(*storage.CSINode) (*storage.CSINode, error) Update(*storage.CSINode) (*storage.CSINode, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*storage.CSINode, error) List(opts v1.ListOptions) (*storage.CSINodeList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *storage.CSINode, err error) CSINodeExpansion }
CSINodeInterface has methods to work with CSINode resources.
type CSINodesGetter ¶ added in v1.14.0
type CSINodesGetter interface {
CSINodes() CSINodeInterface
}
CSINodesGetter has a method to return a CSINodeInterface. A group's client should implement this interface.
type StorageClassExpansion ¶
type StorageClassExpansion interface{}
type StorageClassInterface ¶
type StorageClassInterface interface { Create(*storage.StorageClass) (*storage.StorageClass, error) Update(*storage.StorageClass) (*storage.StorageClass, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*storage.StorageClass, error) List(opts v1.ListOptions) (*storage.StorageClassList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *storage.StorageClass, err error) StorageClassExpansion }
StorageClassInterface has methods to work with StorageClass resources.
type StorageClassesGetter ¶
type StorageClassesGetter interface {
StorageClasses() StorageClassInterface
}
StorageClassesGetter has a method to return a StorageClassInterface. A group's client should implement this interface.
type StorageClient ¶
type StorageClient struct {
// contains filtered or unexported fields
}
StorageClient is used to interact with features provided by the storage.k8s.io group.
func New ¶
func New(c rest.Interface) *StorageClient
New creates a new StorageClient for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*StorageClient, error)
NewForConfig creates a new StorageClient for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *StorageClient
NewForConfigOrDie creates a new StorageClient for the given config and panics if there is an error in the config.
func (*StorageClient) CSIDrivers ¶ added in v1.14.0
func (c *StorageClient) CSIDrivers() CSIDriverInterface
func (*StorageClient) CSINodes ¶ added in v1.14.0
func (c *StorageClient) CSINodes() CSINodeInterface
func (*StorageClient) RESTClient ¶
func (c *StorageClient) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*StorageClient) StorageClasses ¶
func (c *StorageClient) StorageClasses() StorageClassInterface
func (*StorageClient) VolumeAttachments ¶ added in v1.9.0
func (c *StorageClient) VolumeAttachments() VolumeAttachmentInterface
type StorageInterface ¶
type StorageInterface interface { RESTClient() rest.Interface CSIDriversGetter CSINodesGetter StorageClassesGetter VolumeAttachmentsGetter }
type VolumeAttachmentExpansion ¶ added in v1.9.0
type VolumeAttachmentExpansion interface{}
type VolumeAttachmentInterface ¶ added in v1.9.0
type VolumeAttachmentInterface interface { Create(*storage.VolumeAttachment) (*storage.VolumeAttachment, error) Update(*storage.VolumeAttachment) (*storage.VolumeAttachment, error) UpdateStatus(*storage.VolumeAttachment) (*storage.VolumeAttachment, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*storage.VolumeAttachment, error) List(opts v1.ListOptions) (*storage.VolumeAttachmentList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *storage.VolumeAttachment, err error) VolumeAttachmentExpansion }
VolumeAttachmentInterface has methods to work with VolumeAttachment resources.
type VolumeAttachmentsGetter ¶ added in v1.9.0
type VolumeAttachmentsGetter interface {
VolumeAttachments() VolumeAttachmentInterface
}
VolumeAttachmentsGetter has a method to return a VolumeAttachmentInterface. A group's client should implement this interface.