Documentation ¶
Index ¶
- Constants
- Variables
- func CloseSDKCoreClient(client interface{}, secretName string) error
- func Destroy()
- func GetClient(client interface{}, regionId string, secretName string) (interface{}, error)
- func GetClientWithOptions(client interface{}, regionId string, config *sdk.Config, secretName string) (interface{}, error)
- func GetEndpointMap() map[string]string
- func GetEndpointType() string
- type SecretsMangerSdkCorePluginCredentialUpdater
- func (acu *SecretsMangerSdkCorePluginCredentialUpdater) Close() error
- func (acu *SecretsMangerSdkCorePluginCredentialUpdater) GetClient() interface{}
- func (acu *SecretsMangerSdkCorePluginCredentialUpdater) GetTypeName() string
- func (acu *SecretsMangerSdkCorePluginCredentialUpdater) UpdateCredential(secretInfo *cmodels.SecretInfo) error
Constants ¶
View Source
const ( InitWithOptionsFiledName = "InitWithOptions" EndpointMapFiledName = "EndpointMap" )
Variables ¶
View Source
var EndpointMap map[string]string
EndpointMap Endpoint Data
View Source
var EndpointType = "regional"
EndpointType regional or central
Functions ¶
func CloseSDKCoreClient ¶
func GetClientWithOptions ¶
Types ¶
type SecretsMangerSdkCorePluginCredentialUpdater ¶
type SecretsMangerSdkCorePluginCredentialUpdater struct {
// contains filtered or unexported fields
}
func NewSecretsMangerSdkCorePluginCredentialUpdater ¶
func NewSecretsMangerSdkCorePluginCredentialUpdater(client interface{}, accessKeyCredential auth.Credential) *SecretsMangerSdkCorePluginCredentialUpdater
func (*SecretsMangerSdkCorePluginCredentialUpdater) Close ¶
func (acu *SecretsMangerSdkCorePluginCredentialUpdater) Close() error
func (*SecretsMangerSdkCorePluginCredentialUpdater) GetClient ¶
func (acu *SecretsMangerSdkCorePluginCredentialUpdater) GetClient() interface{}
func (*SecretsMangerSdkCorePluginCredentialUpdater) GetTypeName ¶
func (acu *SecretsMangerSdkCorePluginCredentialUpdater) GetTypeName() string
func (*SecretsMangerSdkCorePluginCredentialUpdater) UpdateCredential ¶
func (acu *SecretsMangerSdkCorePluginCredentialUpdater) UpdateCredential(secretInfo *cmodels.SecretInfo) error
Click to show internal directories.
Click to hide internal directories.