Documentation ¶
Index ¶
- Constants
- func AsyncUpdateCapabilities(controllerFlagFile string)
- func GetMetroDomain(backendName string) string
- func GetMetrovStorePairID(backendName string) string
- func RegisterBackend(backendConfigs []map[string]interface{}, keepLogin bool, driverName string) error
- func SelectStoragePool(requestSize int64, parameters map[string]interface{}) (*StoragePool, *StoragePool, error)
- func SyncUpdateCapabilities() error
- type AccessibleTopology
- type Backend
- type StoragePool
Constants ¶
View Source
const (
// Topology constant for topology filter function
Topology = "topology"
)
Variables ¶
This section is empty.
Functions ¶
func AsyncUpdateCapabilities ¶
func AsyncUpdateCapabilities(controllerFlagFile string)
func GetMetroDomain ¶
func GetMetrovStorePairID ¶
func RegisterBackend ¶
func SelectStoragePool ¶
func SelectStoragePool(requestSize int64, parameters map[string]interface{}) (*StoragePool, *StoragePool, error)
func SyncUpdateCapabilities ¶
func SyncUpdateCapabilities() error
Types ¶
type AccessibleTopology ¶
type AccessibleTopology struct { RequisiteTopologies []map[string]string PreferredTopologies []map[string]string }
AccessibleTopology represents selected node topology
type Backend ¶
type Backend struct { Name string Storage string Available bool Plugin plugin.Plugin Pools []*StoragePool Parameters map[string]interface{} SupportedTopologies []map[string]string MetroDomain string MetrovStorePairID string MetroBackendName string MetroBackend *Backend ReplicaBackendName string ReplicaBackend *Backend }
func GetBackend ¶
type StoragePool ¶
type StoragePool struct { Name string Storage string Parent string Capabilities map[string]interface{} Plugin plugin.Plugin }
func (*StoragePool) GetSupportedTopologies ¶
func (pool *StoragePool) GetSupportedTopologies() []map[string]string
GetSupportedTopologies return configured supported topology by pool
Click to show internal directories.
Click to hide internal directories.