Documentation
¶
Overview ¶
Package storage for storage plugin
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CtxWithPluginName ¶
CtxWithPluginName return context.Context with plugin name
func PluginNameFromCtx ¶
PluginNameFromCtx returns plugin name from context
Types ¶
type Clientset ¶
type Clientset struct {
// contains filtered or unexported fields
}
Clientset contains the core and capabilities plugin clients.
func NewForClient ¶
NewForClient return a new clientset instance
func (*Clientset) ArchiveV1alpha1 ¶
func (c *Clientset) ArchiveV1alpha1() archivev1alpha1.ArchiveInterface
ArchiveV1alpha1 return archive v1alpha1 interface
func (*Clientset) CoreV1alpha1 ¶
func (c *Clientset) CoreV1alpha1() corev1alpha1.CoreV1alpha1Interface
CoreV1alpha1 return core v1alpha1 interface
func (*Clientset) FileStoreV1alpha1 ¶
func (c *Clientset) FileStoreV1alpha1() v1alpha1.FileStoreV1alpha1Interface
FileStoreV1alpha1 return file store v1alpha1 interface
type Interface ¶
type Interface interface {
CoreV1alpha1() corev1alpha1.CoreV1alpha1Interface
FileStoreV1alpha1() v1alpha1.FileStoreV1alpha1Interface
ArchiveV1alpha1() archivev1alpha1.ArchiveInterface
}
func ClientSetFromCtx ¶
ClientSetFromCtx return clientset from context
type PluginRegister ¶
type PluginRegister interface {
client.Interface
client.LivenessChecker
client.Initializer
client.DependentResourceGetter
client.PluginAddressable
// core interface must be implemented, will be served
corev1alpha1.CoreInterface
// GetStoragePluginClassName returns storage plugin class name
GetStoragePluginClassName() string
}
PluginRegister provides storage plugin registration methods to update StoragePluginClass and StoragePlugin status
type VersionedRouter ¶
type VersionedRouter interface {
route.ContextRoute
GroupVersion() schema.GroupVersion
}
VersionedRouter defines route with group version method
Directories
¶
| Path | Synopsis |
|---|---|
|
Package capabilities for storage plugin capabilities
|
Package capabilities for storage plugin capabilities |
|
archive
Package archive for archive capability
|
Package archive for archive capability |
|
archive/v1alpha1
Package v1alpha1 defines versioned interfaces for archive capability
|
Package v1alpha1 defines versioned interfaces for archive capability |
|
filestore
Package filestore for file store capability
|
Package filestore for file store capability |
|
filestore/v1alpha1
Package v1alpha1 defines versioned interfaces for file-store capability
|
Package v1alpha1 defines versioned interfaces for file-store capability |
|
Package client for storage plugin client
|
Package client for storage plugin client |
|
versioned/archive/v1alpha1
Package v1alpha1 for archive v1alpha1 client
|
Package v1alpha1 for archive v1alpha1 client |
|
versioned/core/v1alpha1
Package v1alpha1 for storage plugin core v1alpha1 client
|
Package v1alpha1 for storage plugin core v1alpha1 client |
|
versioned/filestore/v1alpha1
Package v1alpha1 for file store v1alpha1 client
|
Package v1alpha1 for file store v1alpha1 client |
|
core
|
|
|
v1alpha1
Package v1alpha1 defines versioned api server routes of core v1alpha1
|
Package v1alpha1 defines versioned api server routes of core v1alpha1 |
|
Package route for storage plugin api server routes
|
Package route for storage plugin api server routes |
|
archive/v1alpha1
Package v1alpha1 for archive v1alpha1 routes
|
Package v1alpha1 for archive v1alpha1 routes |
|
core/v1alpha1
Package v1alpha1 for core v1alpha1 routes
|
Package v1alpha1 for core v1alpha1 routes |
|
filestore/v1alpha1
Package v1alpha1 for file store v1alpha1 routes
|
Package v1alpha1 for file store v1alpha1 routes |
Click to show internal directories.
Click to hide internal directories.