Documentation
¶
Index ¶
- type CacheSecretInfo
- type ClientKeyCredential
- type ClientKeyInfo
- type CredentialsProperties
- type DkmsConfig
- type RegionInfo
- func NewRegionInfoWithEndpoint(regionId string, endpoint string) *RegionInfo
- func NewRegionInfoWithKmsType(regionId string, vpc bool, endpoint string, kmsType int32) *RegionInfo
- func NewRegionInfoWithRegionId(regionId string) *RegionInfo
- func NewRegionInfoWithVpcEndpoint(regionId string, vpc bool, endpoint string) *RegionInfo
- type RegionInfoExtend
- type SecretInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheSecretInfo ¶
type CacheSecretInfo struct { SecretInfo *SecretInfo `json:"secretInfo"` Stage string `json:"stage"` RefreshTimestamp int64 `json:"refreshTimestamp"` }
func (*CacheSecretInfo) Clone ¶
func (csi *CacheSecretInfo) Clone() *CacheSecretInfo
type ClientKeyCredential ¶ added in v1.0.1
type ClientKeyCredential struct { Signer auth.Signer Credential auth.Credential }
func NewClientKeyCredential ¶ added in v1.0.1
func NewClientKeyCredential(signer auth.Signer, credential auth.Credential) *ClientKeyCredential
type ClientKeyInfo ¶ added in v1.0.1
func NewClientKeyInfo ¶ added in v1.0.1
func NewClientKeyInfo(keyId string, privateKeyData string) *ClientKeyInfo
type CredentialsProperties ¶ added in v1.0.1
type CredentialsProperties struct { Credential auth.Credential SecretNameSlice []string RegionInfoSlice []*RegionInfo SourceProperties map[string]string DkmsConfigsMap map[*RegionInfo]*DkmsConfig PrivateKeyPath string Password string }
func NewCredentialsProperties ¶ added in v1.0.1
func NewCredentialsProperties(credential auth.Credential, secretNameSlice []string, regionInfoSlice []*RegionInfo, sourceProperties map[string]string) *CredentialsProperties
type DkmsConfig ¶ added in v1.1.0
type RegionInfo ¶
type RegionInfo struct { // region id RegionId string // 表示程序运行的网络是否为VPC网络 Vpc bool // 终端地址信息 Endpoint string // KMS类型,0:KMS 1:DKMS KmsType int32 }
func NewRegionInfoWithEndpoint ¶
func NewRegionInfoWithEndpoint(regionId string, endpoint string) *RegionInfo
func NewRegionInfoWithKmsType ¶ added in v1.1.0
func NewRegionInfoWithKmsType(regionId string, vpc bool, endpoint string, kmsType int32) *RegionInfo
func NewRegionInfoWithRegionId ¶
func NewRegionInfoWithRegionId(regionId string) *RegionInfo
func NewRegionInfoWithVpcEndpoint ¶
func NewRegionInfoWithVpcEndpoint(regionId string, vpc bool, endpoint string) *RegionInfo
type RegionInfoExtend ¶
type RegionInfoExtend struct { *RegionInfo Escaped float64 Reachable bool }
type SecretInfo ¶
type SecretInfo struct { SecretName string `json:"secretName"` VersionId string `json:"versionId"` SecretValue string `json:"secretValue"` SecretValueByteBuffer []byte `json:"secretValueByteBuffer"` SecretDataType string `json:"secretDataType"` CreateTime string `json:"createTime"` SecretType string `json:"secretType"` AutomaticRotation string `json:"automaticRotation"` ExtendedConfig string `json:"extendedConfig"` RotationInterval string `json:"rotationInterval"` NextRotationDate string `json:"nextRotationDate"` }
func (*SecretInfo) Clone ¶
func (si *SecretInfo) Clone() *SecretInfo
Click to show internal directories.
Click to hide internal directories.