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: 19 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseSecretsManagerPluginUpdaterAndClient

func CloseSecretsManagerPluginUpdaterAndClient(secretName string, client interface{})

func CloseSecretsManagerPluginUpdaterAndClientByTypeName

func CloseSecretsManagerPluginUpdaterAndClientByTypeName(updaterClasses map[string]struct{})

func GetAccessKey

func GetAccessKey(secretName string) (*auth.SecretsManagerPluginCredentials, error)

func GetAccessKeyId

func GetAccessKeyId(secretName string) (string, error)

func GetAccessKeySecret

func GetAccessKeySecret(secretName string) (string, error)

func GetAliyunSdkSecretsManagerPlugin

func GetAliyunSdkSecretsManagerPlugin() (*aliyunSdkSecretsManagerPlugin, error)

func GetSecretName

func GetSecretName(userSecretName string) (string, error)

func Init

func Init() error

func InitAliyunSdkSecretsManagerPlugin

func InitAliyunSdkSecretsManagerPlugin(loader service.SecretsManagerPluginCredentialsLoader) (err error)

func RefreshSecretInfo

func RefreshSecretInfo(secretName string) error

func RegisterSecretsManagerUpdater

func RegisterSecretsManagerUpdater(secretName string, securityUpdater service.SecretsManagerPluginCredentialUpdater) error

func Shutdown

func Shutdown() error

Types

type TokenBucket

type TokenBucket struct {
	// contains filtered or unexported fields
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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