Documentation ¶
Overview ¶
Package storagepool provides a specific implementation of CAS template engine
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCasPoolOperation ¶
NewCasPoolOperation returns a new instance of casPoolOperation
func NewStoragePoolEngine ¶
func NewStoragePoolEngine( castObj *v1alpha1.CASTemplate, openebsConfig string, key string, storagePoolValues map[string]interface{}) (e *storagePoolEngine, err error)
NewStoragePoolEngine returns a new instance of storagePoolEngine
Types ¶
type StoragePoolOperation ¶
type StoragePoolOperation struct {
// contains filtered or unexported fields
}
StoragePoolOperation holds the instance of StoragePool related operations
func NewStoragePoolOperation ¶
func NewStoragePoolOperation(poolName string) (*StoragePoolOperation, error)
NewStoragePoolOperation returns a new instance of StoragePoolOperation
func (*StoragePoolOperation) List ¶
func (s *StoragePoolOperation) List() (*v1alpha1.CStorPoolList, error)
List returns the list of storagepools
Click to show internal directories.
Click to hide internal directories.