Documentation ¶
Index ¶
- func CloseSecretsManagerPluginUpdaterAndClient(secretName string, client interface{})
- func CloseSecretsManagerPluginUpdaterAndClientByTypeName(updaterClasses map[string]struct{})
- func GetAccessKey(secretName string) (*auth.SecretsManagerPluginCredentials, error)
- func GetAccessKeyId(secretName string) (string, error)
- func GetAccessKeySecret(secretName string) (string, error)
- func GetAliyunSdkSecretsManagerPlugin() (*aliyunSdkSecretsManagerPlugin, error)
- func GetSecretName(userSecretName string) (string, error)
- func Init() error
- func InitAliyunSdkSecretsManagerPlugin(loader service.SecretsManagerPluginCredentialsLoader) (err error)
- func RefreshSecretInfo(secretName string) error
- func RegisterSecretsManagerUpdater(secretName string, ...) error
- func Shutdown() error
- type TokenBucket
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 GetAccessKeySecret ¶
func GetAliyunSdkSecretsManagerPlugin ¶
func GetAliyunSdkSecretsManagerPlugin() (*aliyunSdkSecretsManagerPlugin, error)
func GetSecretName ¶
func InitAliyunSdkSecretsManagerPlugin ¶
func InitAliyunSdkSecretsManagerPlugin(loader service.SecretsManagerPluginCredentialsLoader) (err error)
func RefreshSecretInfo ¶
func RegisterSecretsManagerUpdater ¶
func RegisterSecretsManagerUpdater(secretName string, securityUpdater service.SecretsManagerPluginCredentialUpdater) error
Types ¶
type TokenBucket ¶
type TokenBucket struct {
// contains filtered or unexported fields
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.