sdk

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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 CloseSDKCoreClient(client interface{}, secretName string) error

func Destroy

func Destroy()

func GetClient

func GetClient(client interface{}, regionId string, secretName string) (interface{}, error)

func GetClientWithOptions

func GetClientWithOptions(client interface{}, regionId string, config *sdk.Config, secretName string) (interface{}, error)

func GetEndpointMap

func GetEndpointMap() map[string]string

GetEndpointMap Get Endpoint Data Map

func GetEndpointType

func GetEndpointType() string

GetEndpointType Get Endpoint Type Value

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 (*SecretsMangerSdkCorePluginCredentialUpdater) GetClient

func (acu *SecretsMangerSdkCorePluginCredentialUpdater) GetClient() interface{}

func (*SecretsMangerSdkCorePluginCredentialUpdater) GetTypeName

func (*SecretsMangerSdkCorePluginCredentialUpdater) UpdateCredential

func (acu *SecretsMangerSdkCorePluginCredentialUpdater) UpdateCredential(secretInfo *cmodels.SecretInfo) error

Jump to

Keyboard shortcuts

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