Documentation ¶
Index ¶
- func UnRegisterCredential(credentialName string) (bool, error)
- type CredentialInfo
- func GetCredential(credentialName string) (*CredentialInfo, error)
- func ListCredential() ([]*CredentialInfo, error)
- func RegisterCredential(credentialName string, providerName string, keyValueInfoList []icbs.KeyValue) (*CredentialInfo, error)
- func RegisterCredentialInfo(crdInfo CredentialInfo) (*CredentialInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnRegisterCredential ¶
Types ¶
type CredentialInfo ¶
type CredentialInfo struct { CredentialName string // ex) "credential01" ProviderName string // ex) "AWS" KeyValueInfoList []icbs.KeyValue // ex) { {ClientId, XXX}, }
====================================================================
func GetCredential ¶
func GetCredential(credentialName string) (*CredentialInfo, error)
1. check params 2. get CredentialInfo from cb-store
func ListCredential ¶
func ListCredential() ([]*CredentialInfo, error)
func RegisterCredential ¶
func RegisterCredential(credentialName string, providerName string, keyValueInfoList []icbs.KeyValue) (*CredentialInfo, error)
1. check params 2. insert them into cb-store
func RegisterCredentialInfo ¶
func RegisterCredentialInfo(crdInfo CredentialInfo) (*CredentialInfo, error)
Click to show internal directories.
Click to hide internal directories.