credentialinfomanager

package
v0.0.0-...-9c72d28 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2020 License: Apache-2.0, Apache-2.0, Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnRegisterCredential

func UnRegisterCredential(credentialName string) (bool, error)

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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL