Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProperty ¶
func GetProperty(props map[string]interface{}, t taxonomy.ConnectionType, key string) (string, error)
get property
Types ¶
type AgentInterface ¶
type AgentInterface interface {
// allocate storage
AllocateStorage(request *storagemanager.AllocateStorageRequest, client kclient.Client) (taxonomy.Connection, error)
// delete storage
DeleteStorage(request *storagemanager.DeleteStorageRequest, client kclient.Client) error
// return the supported connection type
GetConnectionType() taxonomy.ConnectionType
}
agent interface for managing storage for a supported connection type
Click to show internal directories.
Click to hide internal directories.