Documentation ¶
Index ¶
- func DeleteConnectionConfig(configName string) (bool, error)
- type ConnectionConfigInfo
- func CreateConnectionConfig(configName string, providerName string, driverName string, ...) (*ConnectionConfigInfo, error)
- func CreateConnectionConfigInfo(configInfo ConnectionConfigInfo) (*ConnectionConfigInfo, error)
- func GetConnectionConfig(configName string) (*ConnectionConfigInfo, error)
- func ListConnectionConfig() ([]*ConnectionConfigInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteConnectionConfig ¶
Types ¶
type ConnectionConfigInfo ¶
type ConnectionConfigInfo struct { ConfigName string // ex) "config01" ProviderName string // ex) "AWS" DriverName string // ex) "AWS-Test-Driver-V0.5" CredentialName string // ex) "credential01" RegionName string // ex) "region01" }
====================================================================
func CreateConnectionConfig ¶
func CreateConnectionConfig(configName string, providerName string, driverName string, credentialName string, regionName string) (*ConnectionConfigInfo, error)
1. check params 2. check driver files 3. insert them into cb-store You should copy the driver library into ~/libs before.
func CreateConnectionConfigInfo ¶
func CreateConnectionConfigInfo(configInfo ConnectionConfigInfo) (*ConnectionConfigInfo, error)
func GetConnectionConfig ¶
func GetConnectionConfig(configName string) (*ConnectionConfigInfo, error)
1. check params 2. get DriverInfo from cb-store
func ListConnectionConfig ¶
func ListConnectionConfig() ([]*ConnectionConfigInfo, error)
Click to show internal directories.
Click to hide internal directories.