Documentation
¶
Overview ¶
Package metakmsiface provides an interface to enable mocking the METAKMS service client for testing your code.
It is important to note that this interface will have breaking changes when the service model is updated and adds new API operations, paginators, and waiters.
Index ¶
- Constants
- type BatchGetSecretValueInput
- type BatchGetSecretValueOutput
- type DescribeSecretInput
- type DescribeSecretOutput
- type DescribeSecretVersionsInput
- func (s DescribeSecretVersionsInput) GoString() string
- func (s *DescribeSecretVersionsInput) SetCurrentPage(v int32) *DescribeSecretVersionsInput
- func (s *DescribeSecretVersionsInput) SetPageSize(v int32) *DescribeSecretVersionsInput
- func (s *DescribeSecretVersionsInput) SetSecretName(v string) *DescribeSecretVersionsInput
- func (s DescribeSecretVersionsInput) String() string
- func (s *DescribeSecretVersionsInput) Validate() error
- type DescribeSecretVersionsOutput
- func (s DescribeSecretVersionsOutput) GoString() string
- func (s *DescribeSecretVersionsOutput) SetPageInfo(v *PageInfoForDescribeSecretVersionsOutput) *DescribeSecretVersionsOutput
- func (s *DescribeSecretVersionsOutput) SetSecretVersions(v []*SecretVersionForDescribeSecretVersionsOutput) *DescribeSecretVersionsOutput
- func (s DescribeSecretVersionsOutput) String() string
- type DescribeSecretsInput
- func (s DescribeSecretsInput) GoString() string
- func (s *DescribeSecretsInput) SetCurrentPage(v int32) *DescribeSecretsInput
- func (s *DescribeSecretsInput) SetFilters(v string) *DescribeSecretsInput
- func (s *DescribeSecretsInput) SetPageSize(v int32) *DescribeSecretsInput
- func (s *DescribeSecretsInput) SetProjectName(v string) *DescribeSecretsInput
- func (s DescribeSecretsInput) String() string
- func (s *DescribeSecretsInput) Validate() error
- type DescribeSecretsOutput
- func (s DescribeSecretsOutput) GoString() string
- func (s *DescribeSecretsOutput) SetPageInfo(v *PageInfoForDescribeSecretsOutput) *DescribeSecretsOutput
- func (s *DescribeSecretsOutput) SetSecrets(v []*SecretForDescribeSecretsOutput) *DescribeSecretsOutput
- func (s DescribeSecretsOutput) String() string
- type GetSecretValueInput
- type GetSecretValueOutput
- func (s GetSecretValueOutput) GoString() string
- func (s *GetSecretValueOutput) SetCreationDate(v int64) *GetSecretValueOutput
- func (s *GetSecretValueOutput) SetSecretValue(v string) *GetSecretValueOutput
- func (s *GetSecretValueOutput) SetVersionID(v string) *GetSecretValueOutput
- func (s *GetSecretValueOutput) SetVersionStage(v string) *GetSecretValueOutput
- func (s GetSecretValueOutput) String() string
- type METAKMS
- func (c *METAKMS) BatchGetSecretValue(input *BatchGetSecretValueInput) (*BatchGetSecretValueOutput, error)
- func (c *METAKMS) BatchGetSecretValueCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *METAKMS) BatchGetSecretValueCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *METAKMS) BatchGetSecretValueCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *METAKMS) BatchGetSecretValueRequest(input *BatchGetSecretValueInput) (req *request.Request, output *BatchGetSecretValueOutput)
- func (c *METAKMS) BatchGetSecretValueWithContext(ctx volcengine.Context, input *BatchGetSecretValueInput, ...) (*BatchGetSecretValueOutput, error)
- func (c *METAKMS) DescribeSecret(input *DescribeSecretInput) (*DescribeSecretOutput, error)
- func (c *METAKMS) DescribeSecretCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *METAKMS) DescribeSecretCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *METAKMS) DescribeSecretCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *METAKMS) DescribeSecretRequest(input *DescribeSecretInput) (req *request.Request, output *DescribeSecretOutput)
- func (c *METAKMS) DescribeSecretVersions(input *DescribeSecretVersionsInput) (*DescribeSecretVersionsOutput, error)
- func (c *METAKMS) DescribeSecretVersionsCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *METAKMS) DescribeSecretVersionsCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *METAKMS) DescribeSecretVersionsCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *METAKMS) DescribeSecretVersionsRequest(input *DescribeSecretVersionsInput) (req *request.Request, output *DescribeSecretVersionsOutput)
- func (c *METAKMS) DescribeSecretVersionsWithContext(ctx volcengine.Context, input *DescribeSecretVersionsInput, ...) (*DescribeSecretVersionsOutput, error)
- func (c *METAKMS) DescribeSecretWithContext(ctx volcengine.Context, input *DescribeSecretInput, opts ...request.Option) (*DescribeSecretOutput, error)
- func (c *METAKMS) DescribeSecrets(input *DescribeSecretsInput) (*DescribeSecretsOutput, error)
- func (c *METAKMS) DescribeSecretsCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *METAKMS) DescribeSecretsCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *METAKMS) DescribeSecretsCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *METAKMS) DescribeSecretsRequest(input *DescribeSecretsInput) (req *request.Request, output *DescribeSecretsOutput)
- func (c *METAKMS) DescribeSecretsWithContext(ctx volcengine.Context, input *DescribeSecretsInput, opts ...request.Option) (*DescribeSecretsOutput, error)
- func (c *METAKMS) GetSecretValue(input *GetSecretValueInput) (*GetSecretValueOutput, error)
- func (c *METAKMS) GetSecretValueCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *METAKMS) GetSecretValueCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *METAKMS) GetSecretValueCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *METAKMS) GetSecretValueRequest(input *GetSecretValueInput) (req *request.Request, output *GetSecretValueOutput)
- func (c *METAKMS) GetSecretValueWithContext(ctx volcengine.Context, input *GetSecretValueInput, opts ...request.Option) (*GetSecretValueOutput, error)
- type METAKMSAPI
- type PageInfoForDescribeSecretVersionsOutput
- func (s PageInfoForDescribeSecretVersionsOutput) GoString() string
- func (s *PageInfoForDescribeSecretVersionsOutput) SetCount(v int32) *PageInfoForDescribeSecretVersionsOutput
- func (s *PageInfoForDescribeSecretVersionsOutput) SetCurrentPage(v int32) *PageInfoForDescribeSecretVersionsOutput
- func (s *PageInfoForDescribeSecretVersionsOutput) SetPageSize(v int32) *PageInfoForDescribeSecretVersionsOutput
- func (s *PageInfoForDescribeSecretVersionsOutput) SetTotalCount(v int32) *PageInfoForDescribeSecretVersionsOutput
- func (s PageInfoForDescribeSecretVersionsOutput) String() string
- type PageInfoForDescribeSecretsOutput
- func (s PageInfoForDescribeSecretsOutput) GoString() string
- func (s *PageInfoForDescribeSecretsOutput) SetCount(v int32) *PageInfoForDescribeSecretsOutput
- func (s *PageInfoForDescribeSecretsOutput) SetCurrentPage(v int32) *PageInfoForDescribeSecretsOutput
- func (s *PageInfoForDescribeSecretsOutput) SetPageSize(v int32) *PageInfoForDescribeSecretsOutput
- func (s *PageInfoForDescribeSecretsOutput) SetTotalCount(v int32) *PageInfoForDescribeSecretsOutput
- func (s PageInfoForDescribeSecretsOutput) String() string
- type SecretForDescribeSecretOutput
- func (s SecretForDescribeSecretOutput) GoString() string
- func (s *SecretForDescribeSecretOutput) SetCreationDate(v int64) *SecretForDescribeSecretOutput
- func (s *SecretForDescribeSecretOutput) SetDescription(v string) *SecretForDescribeSecretOutput
- func (s *SecretForDescribeSecretOutput) SetEncryptionKey(v string) *SecretForDescribeSecretOutput
- func (s *SecretForDescribeSecretOutput) SetExtendedConfig(v string) *SecretForDescribeSecretOutput
- func (s *SecretForDescribeSecretOutput) SetID(v string) *SecretForDescribeSecretOutput
- func (s *SecretForDescribeSecretOutput) SetLastRotationTime(v string) *SecretForDescribeSecretOutput
- func (s *SecretForDescribeSecretOutput) SetManaged(v bool) *SecretForDescribeSecretOutput
- func (s *SecretForDescribeSecretOutput) SetProjectName(v string) *SecretForDescribeSecretOutput
- func (s *SecretForDescribeSecretOutput) SetRotationInterval(v int32) *SecretForDescribeSecretOutput
- func (s *SecretForDescribeSecretOutput) SetRotationState(v string) *SecretForDescribeSecretOutput
- func (s *SecretForDescribeSecretOutput) SetScheduleDeleteTime(v string) *SecretForDescribeSecretOutput
- func (s *SecretForDescribeSecretOutput) SetScheduleRotationTime(v string) *SecretForDescribeSecretOutput
- func (s *SecretForDescribeSecretOutput) SetSecretName(v string) *SecretForDescribeSecretOutput
- func (s *SecretForDescribeSecretOutput) SetSecretState(v string) *SecretForDescribeSecretOutput
- func (s *SecretForDescribeSecretOutput) SetSecretType(v string) *SecretForDescribeSecretOutput
- func (s *SecretForDescribeSecretOutput) SetTrn(v string) *SecretForDescribeSecretOutput
- func (s *SecretForDescribeSecretOutput) SetUID(v string) *SecretForDescribeSecretOutput
- func (s *SecretForDescribeSecretOutput) SetUpdateDate(v int64) *SecretForDescribeSecretOutput
- func (s SecretForDescribeSecretOutput) String() string
- type SecretForDescribeSecretsOutput
- func (s SecretForDescribeSecretsOutput) GoString() string
- func (s *SecretForDescribeSecretsOutput) SetCreationDate(v int64) *SecretForDescribeSecretsOutput
- func (s *SecretForDescribeSecretsOutput) SetDescription(v string) *SecretForDescribeSecretsOutput
- func (s *SecretForDescribeSecretsOutput) SetEncryptionKey(v string) *SecretForDescribeSecretsOutput
- func (s *SecretForDescribeSecretsOutput) SetExtendedConfig(v string) *SecretForDescribeSecretsOutput
- func (s *SecretForDescribeSecretsOutput) SetID(v string) *SecretForDescribeSecretsOutput
- func (s *SecretForDescribeSecretsOutput) SetLastRotationTime(v string) *SecretForDescribeSecretsOutput
- func (s *SecretForDescribeSecretsOutput) SetManaged(v bool) *SecretForDescribeSecretsOutput
- func (s *SecretForDescribeSecretsOutput) SetProjectName(v string) *SecretForDescribeSecretsOutput
- func (s *SecretForDescribeSecretsOutput) SetRotationInterval(v int32) *SecretForDescribeSecretsOutput
- func (s *SecretForDescribeSecretsOutput) SetRotationState(v string) *SecretForDescribeSecretsOutput
- func (s *SecretForDescribeSecretsOutput) SetScheduleDeleteTime(v string) *SecretForDescribeSecretsOutput
- func (s *SecretForDescribeSecretsOutput) SetScheduleRotationTime(v string) *SecretForDescribeSecretsOutput
- func (s *SecretForDescribeSecretsOutput) SetSecretName(v string) *SecretForDescribeSecretsOutput
- func (s *SecretForDescribeSecretsOutput) SetSecretState(v string) *SecretForDescribeSecretsOutput
- func (s *SecretForDescribeSecretsOutput) SetSecretType(v string) *SecretForDescribeSecretsOutput
- func (s *SecretForDescribeSecretsOutput) SetTrn(v string) *SecretForDescribeSecretsOutput
- func (s *SecretForDescribeSecretsOutput) SetUID(v string) *SecretForDescribeSecretsOutput
- func (s *SecretForDescribeSecretsOutput) SetUpdateDate(v int64) *SecretForDescribeSecretsOutput
- func (s SecretForDescribeSecretsOutput) String() string
- type SecretValueForBatchGetSecretValueOutput
- func (s SecretValueForBatchGetSecretValueOutput) GoString() string
- func (s *SecretValueForBatchGetSecretValueOutput) SetCreationDate(v int64) *SecretValueForBatchGetSecretValueOutput
- func (s *SecretValueForBatchGetSecretValueOutput) SetSecretName(v string) *SecretValueForBatchGetSecretValueOutput
- func (s *SecretValueForBatchGetSecretValueOutput) SetSecretValue(v string) *SecretValueForBatchGetSecretValueOutput
- func (s *SecretValueForBatchGetSecretValueOutput) SetVersionID(v string) *SecretValueForBatchGetSecretValueOutput
- func (s *SecretValueForBatchGetSecretValueOutput) SetVersionStage(v string) *SecretValueForBatchGetSecretValueOutput
- func (s SecretValueForBatchGetSecretValueOutput) String() string
- type SecretVersionForDescribeSecretVersionsOutput
- func (s SecretVersionForDescribeSecretVersionsOutput) GoString() string
- func (s *SecretVersionForDescribeSecretVersionsOutput) SetCreationDate(v int64) *SecretVersionForDescribeSecretVersionsOutput
- func (s *SecretVersionForDescribeSecretVersionsOutput) SetVersionID(v string) *SecretVersionForDescribeSecretVersionsOutput
- func (s *SecretVersionForDescribeSecretVersionsOutput) SetVersionStage(v string) *SecretVersionForDescribeSecretVersionsOutput
- func (s SecretVersionForDescribeSecretVersionsOutput) String() string
Constants ¶
const ( // EnumOfVersionStageForBatchGetSecretValueOutputCurrent is a EnumOfVersionStageForBatchGetSecretValueOutput enum value EnumOfVersionStageForBatchGetSecretValueOutputCurrent = "CURRENT" // EnumOfVersionStageForBatchGetSecretValueOutputOlder is a EnumOfVersionStageForBatchGetSecretValueOutput enum value EnumOfVersionStageForBatchGetSecretValueOutputOlder = "OLDER" )
const ( // EnumOfSecretStateForDescribeSecretOutputEnable is a EnumOfSecretStateForDescribeSecretOutput enum value EnumOfSecretStateForDescribeSecretOutputEnable = "Enable" // EnumOfSecretStateForDescribeSecretOutputDisable is a EnumOfSecretStateForDescribeSecretOutput enum value EnumOfSecretStateForDescribeSecretOutputDisable = "Disable" // EnumOfSecretStateForDescribeSecretOutputPendingDelete is a EnumOfSecretStateForDescribeSecretOutput enum value EnumOfSecretStateForDescribeSecretOutputPendingDelete = "PendingDelete" )
const ( // EnumOfSecretTypeForDescribeSecretOutputGeneric is a EnumOfSecretTypeForDescribeSecretOutput enum value EnumOfSecretTypeForDescribeSecretOutputGeneric = "Generic" // EnumOfSecretTypeForDescribeSecretOutputIam is a EnumOfSecretTypeForDescribeSecretOutput enum value EnumOfSecretTypeForDescribeSecretOutputIam = "IAM" // EnumOfSecretTypeForDescribeSecretOutputRds is a EnumOfSecretTypeForDescribeSecretOutput enum value EnumOfSecretTypeForDescribeSecretOutputRds = "RDS" // EnumOfSecretTypeForDescribeSecretOutputRedis is a EnumOfSecretTypeForDescribeSecretOutput enum value EnumOfSecretTypeForDescribeSecretOutputRedis = "Redis" // EnumOfSecretTypeForDescribeSecretOutputEcs is a EnumOfSecretTypeForDescribeSecretOutput enum value EnumOfSecretTypeForDescribeSecretOutputEcs = "ECS" )
const ( // EnumOfVersionStageForDescribeSecretVersionsOutputCurrent is a EnumOfVersionStageForDescribeSecretVersionsOutput enum value EnumOfVersionStageForDescribeSecretVersionsOutputCurrent = "CURRENT" // EnumOfVersionStageForDescribeSecretVersionsOutputOlder is a EnumOfVersionStageForDescribeSecretVersionsOutput enum value EnumOfVersionStageForDescribeSecretVersionsOutputOlder = "OLDER" )
const ( // EnumOfSecretStateForDescribeSecretsOutputEnable is a EnumOfSecretStateForDescribeSecretsOutput enum value EnumOfSecretStateForDescribeSecretsOutputEnable = "Enable" // EnumOfSecretStateForDescribeSecretsOutputDisable is a EnumOfSecretStateForDescribeSecretsOutput enum value EnumOfSecretStateForDescribeSecretsOutputDisable = "Disable" // EnumOfSecretStateForDescribeSecretsOutputPendingDelete is a EnumOfSecretStateForDescribeSecretsOutput enum value EnumOfSecretStateForDescribeSecretsOutputPendingDelete = "PendingDelete" )
const ( // EnumOfSecretTypeForDescribeSecretsOutputGeneric is a EnumOfSecretTypeForDescribeSecretsOutput enum value EnumOfSecretTypeForDescribeSecretsOutputGeneric = "Generic" // EnumOfSecretTypeForDescribeSecretsOutputIam is a EnumOfSecretTypeForDescribeSecretsOutput enum value EnumOfSecretTypeForDescribeSecretsOutputIam = "IAM" // EnumOfSecretTypeForDescribeSecretsOutputRds is a EnumOfSecretTypeForDescribeSecretsOutput enum value EnumOfSecretTypeForDescribeSecretsOutputRds = "RDS" // EnumOfSecretTypeForDescribeSecretsOutputRedis is a EnumOfSecretTypeForDescribeSecretsOutput enum value EnumOfSecretTypeForDescribeSecretsOutputRedis = "Redis" // EnumOfSecretTypeForDescribeSecretsOutputEcs is a EnumOfSecretTypeForDescribeSecretsOutput enum value EnumOfSecretTypeForDescribeSecretsOutputEcs = "ECS" )
const ( ServiceName = "metakms" // Name of service. EndpointsID = ServiceName // ID to lookup a service endpoint with. ServiceID = "metakms" // ServiceID is a unique identifer of a specific service. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchGetSecretValueInput ¶
type BatchGetSecretValueInput struct {
SecretNames []*string `type:"list" json:",omitempty"`
// contains filtered or unexported fields
}
func (BatchGetSecretValueInput) GoString ¶
func (s BatchGetSecretValueInput) GoString() string
GoString returns the string representation
func (*BatchGetSecretValueInput) SetSecretNames ¶
func (s *BatchGetSecretValueInput) SetSecretNames(v []*string) *BatchGetSecretValueInput
SetSecretNames sets the SecretNames field's value.
func (BatchGetSecretValueInput) String ¶
func (s BatchGetSecretValueInput) String() string
String returns the string representation
type BatchGetSecretValueOutput ¶
type BatchGetSecretValueOutput struct {
Metadata *response.ResponseMetadata
SecretValues []*SecretValueForBatchGetSecretValueOutput `type:"list" json:",omitempty"`
// contains filtered or unexported fields
}
func (BatchGetSecretValueOutput) GoString ¶
func (s BatchGetSecretValueOutput) GoString() string
GoString returns the string representation
func (*BatchGetSecretValueOutput) SetSecretValues ¶
func (s *BatchGetSecretValueOutput) SetSecretValues(v []*SecretValueForBatchGetSecretValueOutput) *BatchGetSecretValueOutput
SetSecretValues sets the SecretValues field's value.
func (BatchGetSecretValueOutput) String ¶
func (s BatchGetSecretValueOutput) String() string
String returns the string representation
type DescribeSecretInput ¶
type DescribeSecretInput struct {
// SecretName is a required field
SecretName *string `min:"2" max:"128" type:"string" json:",omitempty" required:"true"`
// contains filtered or unexported fields
}
func (DescribeSecretInput) GoString ¶
func (s DescribeSecretInput) GoString() string
GoString returns the string representation
func (*DescribeSecretInput) SetSecretName ¶
func (s *DescribeSecretInput) SetSecretName(v string) *DescribeSecretInput
SetSecretName sets the SecretName field's value.
func (DescribeSecretInput) String ¶
func (s DescribeSecretInput) String() string
String returns the string representation
func (*DescribeSecretInput) Validate ¶
func (s *DescribeSecretInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeSecretOutput ¶
type DescribeSecretOutput struct {
Metadata *response.ResponseMetadata
Secret *SecretForDescribeSecretOutput `type:"structure" json:",omitempty"`
// contains filtered or unexported fields
}
func (DescribeSecretOutput) GoString ¶
func (s DescribeSecretOutput) GoString() string
GoString returns the string representation
func (*DescribeSecretOutput) SetSecret ¶
func (s *DescribeSecretOutput) SetSecret(v *SecretForDescribeSecretOutput) *DescribeSecretOutput
SetSecret sets the Secret field's value.
func (DescribeSecretOutput) String ¶
func (s DescribeSecretOutput) String() string
String returns the string representation
type DescribeSecretVersionsInput ¶
type DescribeSecretVersionsInput struct {
CurrentPage *int32 `min:"1" type:"int32" json:",omitempty"`
PageSize *int32 `min:"1" max:"100" type:"int32" json:",omitempty"`
// SecretName is a required field
SecretName *string `min:"2" max:"128" type:"string" json:",omitempty" required:"true"`
// contains filtered or unexported fields
}
func (DescribeSecretVersionsInput) GoString ¶
func (s DescribeSecretVersionsInput) GoString() string
GoString returns the string representation
func (*DescribeSecretVersionsInput) SetCurrentPage ¶
func (s *DescribeSecretVersionsInput) SetCurrentPage(v int32) *DescribeSecretVersionsInput
SetCurrentPage sets the CurrentPage field's value.
func (*DescribeSecretVersionsInput) SetPageSize ¶
func (s *DescribeSecretVersionsInput) SetPageSize(v int32) *DescribeSecretVersionsInput
SetPageSize sets the PageSize field's value.
func (*DescribeSecretVersionsInput) SetSecretName ¶
func (s *DescribeSecretVersionsInput) SetSecretName(v string) *DescribeSecretVersionsInput
SetSecretName sets the SecretName field's value.
func (DescribeSecretVersionsInput) String ¶
func (s DescribeSecretVersionsInput) String() string
String returns the string representation
func (*DescribeSecretVersionsInput) Validate ¶
func (s *DescribeSecretVersionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeSecretVersionsOutput ¶
type DescribeSecretVersionsOutput struct {
Metadata *response.ResponseMetadata
PageInfo *PageInfoForDescribeSecretVersionsOutput `type:"structure" json:",omitempty"`
SecretVersions []*SecretVersionForDescribeSecretVersionsOutput `type:"list" json:",omitempty"`
// contains filtered or unexported fields
}
func (DescribeSecretVersionsOutput) GoString ¶
func (s DescribeSecretVersionsOutput) GoString() string
GoString returns the string representation
func (*DescribeSecretVersionsOutput) SetPageInfo ¶
func (s *DescribeSecretVersionsOutput) SetPageInfo(v *PageInfoForDescribeSecretVersionsOutput) *DescribeSecretVersionsOutput
SetPageInfo sets the PageInfo field's value.
func (*DescribeSecretVersionsOutput) SetSecretVersions ¶
func (s *DescribeSecretVersionsOutput) SetSecretVersions(v []*SecretVersionForDescribeSecretVersionsOutput) *DescribeSecretVersionsOutput
SetSecretVersions sets the SecretVersions field's value.
func (DescribeSecretVersionsOutput) String ¶
func (s DescribeSecretVersionsOutput) String() string
String returns the string representation
type DescribeSecretsInput ¶
type DescribeSecretsInput struct {
CurrentPage *int32 `min:"1" type:"int32" json:",omitempty"`
Filters *string `max:"2048" type:"string" json:",omitempty"`
PageSize *int32 `min:"1" max:"100" type:"int32" json:",omitempty"`
ProjectName *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (DescribeSecretsInput) GoString ¶
func (s DescribeSecretsInput) GoString() string
GoString returns the string representation
func (*DescribeSecretsInput) SetCurrentPage ¶
func (s *DescribeSecretsInput) SetCurrentPage(v int32) *DescribeSecretsInput
SetCurrentPage sets the CurrentPage field's value.
func (*DescribeSecretsInput) SetFilters ¶
func (s *DescribeSecretsInput) SetFilters(v string) *DescribeSecretsInput
SetFilters sets the Filters field's value.
func (*DescribeSecretsInput) SetPageSize ¶
func (s *DescribeSecretsInput) SetPageSize(v int32) *DescribeSecretsInput
SetPageSize sets the PageSize field's value.
func (*DescribeSecretsInput) SetProjectName ¶
func (s *DescribeSecretsInput) SetProjectName(v string) *DescribeSecretsInput
SetProjectName sets the ProjectName field's value.
func (DescribeSecretsInput) String ¶
func (s DescribeSecretsInput) String() string
String returns the string representation
func (*DescribeSecretsInput) Validate ¶
func (s *DescribeSecretsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeSecretsOutput ¶
type DescribeSecretsOutput struct {
Metadata *response.ResponseMetadata
PageInfo *PageInfoForDescribeSecretsOutput `type:"structure" json:",omitempty"`
Secrets []*SecretForDescribeSecretsOutput `type:"list" json:",omitempty"`
// contains filtered or unexported fields
}
func (DescribeSecretsOutput) GoString ¶
func (s DescribeSecretsOutput) GoString() string
GoString returns the string representation
func (*DescribeSecretsOutput) SetPageInfo ¶
func (s *DescribeSecretsOutput) SetPageInfo(v *PageInfoForDescribeSecretsOutput) *DescribeSecretsOutput
SetPageInfo sets the PageInfo field's value.
func (*DescribeSecretsOutput) SetSecrets ¶
func (s *DescribeSecretsOutput) SetSecrets(v []*SecretForDescribeSecretsOutput) *DescribeSecretsOutput
SetSecrets sets the Secrets field's value.
func (DescribeSecretsOutput) String ¶
func (s DescribeSecretsOutput) String() string
String returns the string representation
type GetSecretValueInput ¶
type GetSecretValueInput struct {
// SecretName is a required field
SecretName *string `min:"2" max:"128" type:"string" json:",omitempty" required:"true"`
VersionID *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (GetSecretValueInput) GoString ¶
func (s GetSecretValueInput) GoString() string
GoString returns the string representation
func (*GetSecretValueInput) SetSecretName ¶
func (s *GetSecretValueInput) SetSecretName(v string) *GetSecretValueInput
SetSecretName sets the SecretName field's value.
func (*GetSecretValueInput) SetVersionID ¶
func (s *GetSecretValueInput) SetVersionID(v string) *GetSecretValueInput
SetVersionID sets the VersionID field's value.
func (GetSecretValueInput) String ¶
func (s GetSecretValueInput) String() string
String returns the string representation
func (*GetSecretValueInput) Validate ¶
func (s *GetSecretValueInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetSecretValueOutput ¶
type GetSecretValueOutput struct {
Metadata *response.ResponseMetadata
CreationDate *int64 `type:"int64" json:",omitempty"`
SecretValue *string `type:"string" json:",omitempty"`
VersionID *string `type:"string" json:",omitempty"`
VersionStage *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (GetSecretValueOutput) GoString ¶
func (s GetSecretValueOutput) GoString() string
GoString returns the string representation
func (*GetSecretValueOutput) SetCreationDate ¶
func (s *GetSecretValueOutput) SetCreationDate(v int64) *GetSecretValueOutput
SetCreationDate sets the CreationDate field's value.
func (*GetSecretValueOutput) SetSecretValue ¶
func (s *GetSecretValueOutput) SetSecretValue(v string) *GetSecretValueOutput
SetSecretValue sets the SecretValue field's value.
func (*GetSecretValueOutput) SetVersionID ¶
func (s *GetSecretValueOutput) SetVersionID(v string) *GetSecretValueOutput
SetVersionID sets the VersionID field's value.
func (*GetSecretValueOutput) SetVersionStage ¶
func (s *GetSecretValueOutput) SetVersionStage(v string) *GetSecretValueOutput
SetVersionStage sets the VersionStage field's value.
func (GetSecretValueOutput) String ¶
func (s GetSecretValueOutput) String() string
String returns the string representation
type METAKMS ¶
METAKMS provides the API operation methods for making requests to METAKMS. See this package's package overview docs for details on the service.
METAKMS methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*volcengine.Config) *METAKMS
New create int can support ssl or region locate set
func (*METAKMS) BatchGetSecretValue ¶
func (c *METAKMS) BatchGetSecretValue(input *BatchGetSecretValueInput) (*BatchGetSecretValueOutput, error)
BatchGetSecretValue API operation for METAKMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for METAKMS's API operation BatchGetSecretValue for usage and error information.
func (*METAKMS) BatchGetSecretValueCommon ¶
func (c *METAKMS) BatchGetSecretValueCommon(input *map[string]interface{}) (*map[string]interface{}, error)
BatchGetSecretValueCommon API operation for METAKMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for METAKMS's API operation BatchGetSecretValueCommon for usage and error information.
func (*METAKMS) BatchGetSecretValueCommonRequest ¶
func (c *METAKMS) BatchGetSecretValueCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
BatchGetSecretValueCommonRequest generates a "volcengine/request.Request" representing the client's request for the BatchGetSecretValueCommon operation. The "output" return value will be populated with the BatchGetSecretValueCommon request's response once the request completes successfully.
Use "Send" method on the returned BatchGetSecretValueCommon Request to send the API call to the service. the "output" return value is not valid until after BatchGetSecretValueCommon Send returns without error.
See BatchGetSecretValueCommon for more information on using the BatchGetSecretValueCommon API call, and error handling.
// Example sending a request using the BatchGetSecretValueCommonRequest method.
req, resp := client.BatchGetSecretValueCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*METAKMS) BatchGetSecretValueCommonWithContext ¶
func (c *METAKMS) BatchGetSecretValueCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
BatchGetSecretValueCommonWithContext is the same as BatchGetSecretValueCommon with the addition of the ability to pass a context and additional request options.
See BatchGetSecretValueCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*METAKMS) BatchGetSecretValueRequest ¶
func (c *METAKMS) BatchGetSecretValueRequest(input *BatchGetSecretValueInput) (req *request.Request, output *BatchGetSecretValueOutput)
BatchGetSecretValueRequest generates a "volcengine/request.Request" representing the client's request for the BatchGetSecretValue operation. The "output" return value will be populated with the BatchGetSecretValueCommon request's response once the request completes successfully.
Use "Send" method on the returned BatchGetSecretValueCommon Request to send the API call to the service. the "output" return value is not valid until after BatchGetSecretValueCommon Send returns without error.
See BatchGetSecretValue for more information on using the BatchGetSecretValue API call, and error handling.
// Example sending a request using the BatchGetSecretValueRequest method.
req, resp := client.BatchGetSecretValueRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*METAKMS) BatchGetSecretValueWithContext ¶
func (c *METAKMS) BatchGetSecretValueWithContext(ctx volcengine.Context, input *BatchGetSecretValueInput, opts ...request.Option) (*BatchGetSecretValueOutput, error)
BatchGetSecretValueWithContext is the same as BatchGetSecretValue with the addition of the ability to pass a context and additional request options.
See BatchGetSecretValue for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*METAKMS) DescribeSecret ¶
func (c *METAKMS) DescribeSecret(input *DescribeSecretInput) (*DescribeSecretOutput, error)
DescribeSecret API operation for METAKMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for METAKMS's API operation DescribeSecret for usage and error information.
func (*METAKMS) DescribeSecretCommon ¶
func (c *METAKMS) DescribeSecretCommon(input *map[string]interface{}) (*map[string]interface{}, error)
DescribeSecretCommon API operation for METAKMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for METAKMS's API operation DescribeSecretCommon for usage and error information.
func (*METAKMS) DescribeSecretCommonRequest ¶
func (c *METAKMS) DescribeSecretCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DescribeSecretCommonRequest generates a "volcengine/request.Request" representing the client's request for the DescribeSecretCommon operation. The "output" return value will be populated with the DescribeSecretCommon request's response once the request completes successfully.
Use "Send" method on the returned DescribeSecretCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeSecretCommon Send returns without error.
See DescribeSecretCommon for more information on using the DescribeSecretCommon API call, and error handling.
// Example sending a request using the DescribeSecretCommonRequest method.
req, resp := client.DescribeSecretCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*METAKMS) DescribeSecretCommonWithContext ¶
func (c *METAKMS) DescribeSecretCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DescribeSecretCommonWithContext is the same as DescribeSecretCommon with the addition of the ability to pass a context and additional request options.
See DescribeSecretCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*METAKMS) DescribeSecretRequest ¶
func (c *METAKMS) DescribeSecretRequest(input *DescribeSecretInput) (req *request.Request, output *DescribeSecretOutput)
DescribeSecretRequest generates a "volcengine/request.Request" representing the client's request for the DescribeSecret operation. The "output" return value will be populated with the DescribeSecretCommon request's response once the request completes successfully.
Use "Send" method on the returned DescribeSecretCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeSecretCommon Send returns without error.
See DescribeSecret for more information on using the DescribeSecret API call, and error handling.
// Example sending a request using the DescribeSecretRequest method.
req, resp := client.DescribeSecretRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*METAKMS) DescribeSecretVersions ¶
func (c *METAKMS) DescribeSecretVersions(input *DescribeSecretVersionsInput) (*DescribeSecretVersionsOutput, error)
DescribeSecretVersions API operation for METAKMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for METAKMS's API operation DescribeSecretVersions for usage and error information.
func (*METAKMS) DescribeSecretVersionsCommon ¶
func (c *METAKMS) DescribeSecretVersionsCommon(input *map[string]interface{}) (*map[string]interface{}, error)
DescribeSecretVersionsCommon API operation for METAKMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for METAKMS's API operation DescribeSecretVersionsCommon for usage and error information.
func (*METAKMS) DescribeSecretVersionsCommonRequest ¶
func (c *METAKMS) DescribeSecretVersionsCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DescribeSecretVersionsCommonRequest generates a "volcengine/request.Request" representing the client's request for the DescribeSecretVersionsCommon operation. The "output" return value will be populated with the DescribeSecretVersionsCommon request's response once the request completes successfully.
Use "Send" method on the returned DescribeSecretVersionsCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeSecretVersionsCommon Send returns without error.
See DescribeSecretVersionsCommon for more information on using the DescribeSecretVersionsCommon API call, and error handling.
// Example sending a request using the DescribeSecretVersionsCommonRequest method.
req, resp := client.DescribeSecretVersionsCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*METAKMS) DescribeSecretVersionsCommonWithContext ¶
func (c *METAKMS) DescribeSecretVersionsCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DescribeSecretVersionsCommonWithContext is the same as DescribeSecretVersionsCommon with the addition of the ability to pass a context and additional request options.
See DescribeSecretVersionsCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*METAKMS) DescribeSecretVersionsRequest ¶
func (c *METAKMS) DescribeSecretVersionsRequest(input *DescribeSecretVersionsInput) (req *request.Request, output *DescribeSecretVersionsOutput)
DescribeSecretVersionsRequest generates a "volcengine/request.Request" representing the client's request for the DescribeSecretVersions operation. The "output" return value will be populated with the DescribeSecretVersionsCommon request's response once the request completes successfully.
Use "Send" method on the returned DescribeSecretVersionsCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeSecretVersionsCommon Send returns without error.
See DescribeSecretVersions for more information on using the DescribeSecretVersions API call, and error handling.
// Example sending a request using the DescribeSecretVersionsRequest method.
req, resp := client.DescribeSecretVersionsRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*METAKMS) DescribeSecretVersionsWithContext ¶
func (c *METAKMS) DescribeSecretVersionsWithContext(ctx volcengine.Context, input *DescribeSecretVersionsInput, opts ...request.Option) (*DescribeSecretVersionsOutput, error)
DescribeSecretVersionsWithContext is the same as DescribeSecretVersions with the addition of the ability to pass a context and additional request options.
See DescribeSecretVersions for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*METAKMS) DescribeSecretWithContext ¶
func (c *METAKMS) DescribeSecretWithContext(ctx volcengine.Context, input *DescribeSecretInput, opts ...request.Option) (*DescribeSecretOutput, error)
DescribeSecretWithContext is the same as DescribeSecret with the addition of the ability to pass a context and additional request options.
See DescribeSecret for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*METAKMS) DescribeSecrets ¶
func (c *METAKMS) DescribeSecrets(input *DescribeSecretsInput) (*DescribeSecretsOutput, error)
DescribeSecrets API operation for METAKMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for METAKMS's API operation DescribeSecrets for usage and error information.
func (*METAKMS) DescribeSecretsCommon ¶
func (c *METAKMS) DescribeSecretsCommon(input *map[string]interface{}) (*map[string]interface{}, error)
DescribeSecretsCommon API operation for METAKMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for METAKMS's API operation DescribeSecretsCommon for usage and error information.
func (*METAKMS) DescribeSecretsCommonRequest ¶
func (c *METAKMS) DescribeSecretsCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DescribeSecretsCommonRequest generates a "volcengine/request.Request" representing the client's request for the DescribeSecretsCommon operation. The "output" return value will be populated with the DescribeSecretsCommon request's response once the request completes successfully.
Use "Send" method on the returned DescribeSecretsCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeSecretsCommon Send returns without error.
See DescribeSecretsCommon for more information on using the DescribeSecretsCommon API call, and error handling.
// Example sending a request using the DescribeSecretsCommonRequest method.
req, resp := client.DescribeSecretsCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*METAKMS) DescribeSecretsCommonWithContext ¶
func (c *METAKMS) DescribeSecretsCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DescribeSecretsCommonWithContext is the same as DescribeSecretsCommon with the addition of the ability to pass a context and additional request options.
See DescribeSecretsCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*METAKMS) DescribeSecretsRequest ¶
func (c *METAKMS) DescribeSecretsRequest(input *DescribeSecretsInput) (req *request.Request, output *DescribeSecretsOutput)
DescribeSecretsRequest generates a "volcengine/request.Request" representing the client's request for the DescribeSecrets operation. The "output" return value will be populated with the DescribeSecretsCommon request's response once the request completes successfully.
Use "Send" method on the returned DescribeSecretsCommon Request to send the API call to the service. the "output" return value is not valid until after DescribeSecretsCommon Send returns without error.
See DescribeSecrets for more information on using the DescribeSecrets API call, and error handling.
// Example sending a request using the DescribeSecretsRequest method.
req, resp := client.DescribeSecretsRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*METAKMS) DescribeSecretsWithContext ¶
func (c *METAKMS) DescribeSecretsWithContext(ctx volcengine.Context, input *DescribeSecretsInput, opts ...request.Option) (*DescribeSecretsOutput, error)
DescribeSecretsWithContext is the same as DescribeSecrets with the addition of the ability to pass a context and additional request options.
See DescribeSecrets for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*METAKMS) GetSecretValue ¶
func (c *METAKMS) GetSecretValue(input *GetSecretValueInput) (*GetSecretValueOutput, error)
GetSecretValue API operation for METAKMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for METAKMS's API operation GetSecretValue for usage and error information.
func (*METAKMS) GetSecretValueCommon ¶
func (c *METAKMS) GetSecretValueCommon(input *map[string]interface{}) (*map[string]interface{}, error)
GetSecretValueCommon API operation for METAKMS.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for METAKMS's API operation GetSecretValueCommon for usage and error information.
func (*METAKMS) GetSecretValueCommonRequest ¶
func (c *METAKMS) GetSecretValueCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
GetSecretValueCommonRequest generates a "volcengine/request.Request" representing the client's request for the GetSecretValueCommon operation. The "output" return value will be populated with the GetSecretValueCommon request's response once the request completes successfully.
Use "Send" method on the returned GetSecretValueCommon Request to send the API call to the service. the "output" return value is not valid until after GetSecretValueCommon Send returns without error.
See GetSecretValueCommon for more information on using the GetSecretValueCommon API call, and error handling.
// Example sending a request using the GetSecretValueCommonRequest method.
req, resp := client.GetSecretValueCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*METAKMS) GetSecretValueCommonWithContext ¶
func (c *METAKMS) GetSecretValueCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
GetSecretValueCommonWithContext is the same as GetSecretValueCommon with the addition of the ability to pass a context and additional request options.
See GetSecretValueCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*METAKMS) GetSecretValueRequest ¶
func (c *METAKMS) GetSecretValueRequest(input *GetSecretValueInput) (req *request.Request, output *GetSecretValueOutput)
GetSecretValueRequest generates a "volcengine/request.Request" representing the client's request for the GetSecretValue operation. The "output" return value will be populated with the GetSecretValueCommon request's response once the request completes successfully.
Use "Send" method on the returned GetSecretValueCommon Request to send the API call to the service. the "output" return value is not valid until after GetSecretValueCommon Send returns without error.
See GetSecretValue for more information on using the GetSecretValue API call, and error handling.
// Example sending a request using the GetSecretValueRequest method.
req, resp := client.GetSecretValueRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*METAKMS) GetSecretValueWithContext ¶
func (c *METAKMS) GetSecretValueWithContext(ctx volcengine.Context, input *GetSecretValueInput, opts ...request.Option) (*GetSecretValueOutput, error)
GetSecretValueWithContext is the same as GetSecretValue with the addition of the ability to pass a context and additional request options.
See GetSecretValue for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type METAKMSAPI ¶
type METAKMSAPI interface {
BatchGetSecretValueCommon(*map[string]interface{}) (*map[string]interface{}, error)
BatchGetSecretValueCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
BatchGetSecretValueCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
BatchGetSecretValue(*BatchGetSecretValueInput) (*BatchGetSecretValueOutput, error)
BatchGetSecretValueWithContext(volcengine.Context, *BatchGetSecretValueInput, ...request.Option) (*BatchGetSecretValueOutput, error)
BatchGetSecretValueRequest(*BatchGetSecretValueInput) (*request.Request, *BatchGetSecretValueOutput)
DescribeSecretCommon(*map[string]interface{}) (*map[string]interface{}, error)
DescribeSecretCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
DescribeSecretCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
DescribeSecret(*DescribeSecretInput) (*DescribeSecretOutput, error)
DescribeSecretWithContext(volcengine.Context, *DescribeSecretInput, ...request.Option) (*DescribeSecretOutput, error)
DescribeSecretRequest(*DescribeSecretInput) (*request.Request, *DescribeSecretOutput)
DescribeSecretVersionsCommon(*map[string]interface{}) (*map[string]interface{}, error)
DescribeSecretVersionsCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
DescribeSecretVersionsCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
DescribeSecretVersions(*DescribeSecretVersionsInput) (*DescribeSecretVersionsOutput, error)
DescribeSecretVersionsWithContext(volcengine.Context, *DescribeSecretVersionsInput, ...request.Option) (*DescribeSecretVersionsOutput, error)
DescribeSecretVersionsRequest(*DescribeSecretVersionsInput) (*request.Request, *DescribeSecretVersionsOutput)
DescribeSecretsCommon(*map[string]interface{}) (*map[string]interface{}, error)
DescribeSecretsCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
DescribeSecretsCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
DescribeSecrets(*DescribeSecretsInput) (*DescribeSecretsOutput, error)
DescribeSecretsWithContext(volcengine.Context, *DescribeSecretsInput, ...request.Option) (*DescribeSecretsOutput, error)
DescribeSecretsRequest(*DescribeSecretsInput) (*request.Request, *DescribeSecretsOutput)
GetSecretValueCommon(*map[string]interface{}) (*map[string]interface{}, error)
GetSecretValueCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
GetSecretValueCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
GetSecretValue(*GetSecretValueInput) (*GetSecretValueOutput, error)
GetSecretValueWithContext(volcengine.Context, *GetSecretValueInput, ...request.Option) (*GetSecretValueOutput, error)
GetSecretValueRequest(*GetSecretValueInput) (*request.Request, *GetSecretValueOutput)
}
METAKMSAPI provides an interface to enable mocking the metakms.METAKMS service client's API operation,
// volcengine sdk func uses an SDK service client to make a request to
// METAKMS.
func myFunc(svc METAKMSAPI) bool {
// Make svc.BatchGetSecretValue request
}
func main() {
sess := session.New()
svc := metakms.New(sess)
myFunc(svc)
}
type PageInfoForDescribeSecretVersionsOutput ¶
type PageInfoForDescribeSecretVersionsOutput struct {
Count *int32 `type:"int32" json:",omitempty"`
CurrentPage *int32 `type:"int32" json:",omitempty"`
PageSize *int32 `type:"int32" json:",omitempty"`
TotalCount *int32 `type:"int32" json:",omitempty"`
// contains filtered or unexported fields
}
func (PageInfoForDescribeSecretVersionsOutput) GoString ¶
func (s PageInfoForDescribeSecretVersionsOutput) GoString() string
GoString returns the string representation
func (*PageInfoForDescribeSecretVersionsOutput) SetCount ¶
func (s *PageInfoForDescribeSecretVersionsOutput) SetCount(v int32) *PageInfoForDescribeSecretVersionsOutput
SetCount sets the Count field's value.
func (*PageInfoForDescribeSecretVersionsOutput) SetCurrentPage ¶
func (s *PageInfoForDescribeSecretVersionsOutput) SetCurrentPage(v int32) *PageInfoForDescribeSecretVersionsOutput
SetCurrentPage sets the CurrentPage field's value.
func (*PageInfoForDescribeSecretVersionsOutput) SetPageSize ¶
func (s *PageInfoForDescribeSecretVersionsOutput) SetPageSize(v int32) *PageInfoForDescribeSecretVersionsOutput
SetPageSize sets the PageSize field's value.
func (*PageInfoForDescribeSecretVersionsOutput) SetTotalCount ¶
func (s *PageInfoForDescribeSecretVersionsOutput) SetTotalCount(v int32) *PageInfoForDescribeSecretVersionsOutput
SetTotalCount sets the TotalCount field's value.
func (PageInfoForDescribeSecretVersionsOutput) String ¶
func (s PageInfoForDescribeSecretVersionsOutput) String() string
String returns the string representation
type PageInfoForDescribeSecretsOutput ¶
type PageInfoForDescribeSecretsOutput struct {
Count *int32 `type:"int32" json:",omitempty"`
CurrentPage *int32 `type:"int32" json:",omitempty"`
PageSize *int32 `type:"int32" json:",omitempty"`
TotalCount *int32 `type:"int32" json:",omitempty"`
// contains filtered or unexported fields
}
func (PageInfoForDescribeSecretsOutput) GoString ¶
func (s PageInfoForDescribeSecretsOutput) GoString() string
GoString returns the string representation
func (*PageInfoForDescribeSecretsOutput) SetCount ¶
func (s *PageInfoForDescribeSecretsOutput) SetCount(v int32) *PageInfoForDescribeSecretsOutput
SetCount sets the Count field's value.
func (*PageInfoForDescribeSecretsOutput) SetCurrentPage ¶
func (s *PageInfoForDescribeSecretsOutput) SetCurrentPage(v int32) *PageInfoForDescribeSecretsOutput
SetCurrentPage sets the CurrentPage field's value.
func (*PageInfoForDescribeSecretsOutput) SetPageSize ¶
func (s *PageInfoForDescribeSecretsOutput) SetPageSize(v int32) *PageInfoForDescribeSecretsOutput
SetPageSize sets the PageSize field's value.
func (*PageInfoForDescribeSecretsOutput) SetTotalCount ¶
func (s *PageInfoForDescribeSecretsOutput) SetTotalCount(v int32) *PageInfoForDescribeSecretsOutput
SetTotalCount sets the TotalCount field's value.
func (PageInfoForDescribeSecretsOutput) String ¶
func (s PageInfoForDescribeSecretsOutput) String() string
String returns the string representation
type SecretForDescribeSecretOutput ¶
type SecretForDescribeSecretOutput struct {
CreationDate *int64 `type:"int64" json:",omitempty"`
Description *string `type:"string" json:",omitempty"`
EncryptionKey *string `type:"string" json:",omitempty"`
ExtendedConfig *string `max:"1024" type:"string" json:",omitempty"`
ID *string `type:"string" json:",omitempty"`
LastRotationTime *string `type:"string" json:",omitempty"`
Managed *bool `type:"boolean" json:",omitempty"`
ProjectName *string `type:"string" json:",omitempty"`
RotationInterval *int32 `type:"int32" json:",omitempty"`
RotationState *string `type:"string" json:",omitempty"`
ScheduleDeleteTime *string `type:"string" json:",omitempty"`
ScheduleRotationTime *string `type:"string" json:",omitempty"`
SecretName *string `type:"string" json:",omitempty"`
SecretState *string `type:"string" json:",omitempty" enum:"EnumOfSecretStateForDescribeSecretOutput"`
SecretType *string `type:"string" json:",omitempty" enum:"EnumOfSecretTypeForDescribeSecretOutput"`
Trn *string `type:"string" json:",omitempty"`
UID *string `type:"string" json:",omitempty"`
UpdateDate *int64 `type:"int64" json:",omitempty"`
// contains filtered or unexported fields
}
func (SecretForDescribeSecretOutput) GoString ¶
func (s SecretForDescribeSecretOutput) GoString() string
GoString returns the string representation
func (*SecretForDescribeSecretOutput) SetCreationDate ¶
func (s *SecretForDescribeSecretOutput) SetCreationDate(v int64) *SecretForDescribeSecretOutput
SetCreationDate sets the CreationDate field's value.
func (*SecretForDescribeSecretOutput) SetDescription ¶
func (s *SecretForDescribeSecretOutput) SetDescription(v string) *SecretForDescribeSecretOutput
SetDescription sets the Description field's value.
func (*SecretForDescribeSecretOutput) SetEncryptionKey ¶
func (s *SecretForDescribeSecretOutput) SetEncryptionKey(v string) *SecretForDescribeSecretOutput
SetEncryptionKey sets the EncryptionKey field's value.
func (*SecretForDescribeSecretOutput) SetExtendedConfig ¶
func (s *SecretForDescribeSecretOutput) SetExtendedConfig(v string) *SecretForDescribeSecretOutput
SetExtendedConfig sets the ExtendedConfig field's value.
func (*SecretForDescribeSecretOutput) SetID ¶
func (s *SecretForDescribeSecretOutput) SetID(v string) *SecretForDescribeSecretOutput
SetID sets the ID field's value.
func (*SecretForDescribeSecretOutput) SetLastRotationTime ¶
func (s *SecretForDescribeSecretOutput) SetLastRotationTime(v string) *SecretForDescribeSecretOutput
SetLastRotationTime sets the LastRotationTime field's value.
func (*SecretForDescribeSecretOutput) SetManaged ¶
func (s *SecretForDescribeSecretOutput) SetManaged(v bool) *SecretForDescribeSecretOutput
SetManaged sets the Managed field's value.
func (*SecretForDescribeSecretOutput) SetProjectName ¶
func (s *SecretForDescribeSecretOutput) SetProjectName(v string) *SecretForDescribeSecretOutput
SetProjectName sets the ProjectName field's value.
func (*SecretForDescribeSecretOutput) SetRotationInterval ¶
func (s *SecretForDescribeSecretOutput) SetRotationInterval(v int32) *SecretForDescribeSecretOutput
SetRotationInterval sets the RotationInterval field's value.
func (*SecretForDescribeSecretOutput) SetRotationState ¶
func (s *SecretForDescribeSecretOutput) SetRotationState(v string) *SecretForDescribeSecretOutput
SetRotationState sets the RotationState field's value.
func (*SecretForDescribeSecretOutput) SetScheduleDeleteTime ¶
func (s *SecretForDescribeSecretOutput) SetScheduleDeleteTime(v string) *SecretForDescribeSecretOutput
SetScheduleDeleteTime sets the ScheduleDeleteTime field's value.
func (*SecretForDescribeSecretOutput) SetScheduleRotationTime ¶
func (s *SecretForDescribeSecretOutput) SetScheduleRotationTime(v string) *SecretForDescribeSecretOutput
SetScheduleRotationTime sets the ScheduleRotationTime field's value.
func (*SecretForDescribeSecretOutput) SetSecretName ¶
func (s *SecretForDescribeSecretOutput) SetSecretName(v string) *SecretForDescribeSecretOutput
SetSecretName sets the SecretName field's value.
func (*SecretForDescribeSecretOutput) SetSecretState ¶
func (s *SecretForDescribeSecretOutput) SetSecretState(v string) *SecretForDescribeSecretOutput
SetSecretState sets the SecretState field's value.
func (*SecretForDescribeSecretOutput) SetSecretType ¶
func (s *SecretForDescribeSecretOutput) SetSecretType(v string) *SecretForDescribeSecretOutput
SetSecretType sets the SecretType field's value.
func (*SecretForDescribeSecretOutput) SetTrn ¶
func (s *SecretForDescribeSecretOutput) SetTrn(v string) *SecretForDescribeSecretOutput
SetTrn sets the Trn field's value.
func (*SecretForDescribeSecretOutput) SetUID ¶
func (s *SecretForDescribeSecretOutput) SetUID(v string) *SecretForDescribeSecretOutput
SetUID sets the UID field's value.
func (*SecretForDescribeSecretOutput) SetUpdateDate ¶
func (s *SecretForDescribeSecretOutput) SetUpdateDate(v int64) *SecretForDescribeSecretOutput
SetUpdateDate sets the UpdateDate field's value.
func (SecretForDescribeSecretOutput) String ¶
func (s SecretForDescribeSecretOutput) String() string
String returns the string representation
type SecretForDescribeSecretsOutput ¶
type SecretForDescribeSecretsOutput struct {
CreationDate *int64 `type:"int64" json:",omitempty"`
Description *string `type:"string" json:",omitempty"`
EncryptionKey *string `type:"string" json:",omitempty"`
ExtendedConfig *string `max:"1024" type:"string" json:",omitempty"`
ID *string `type:"string" json:",omitempty"`
LastRotationTime *string `type:"string" json:",omitempty"`
Managed *bool `type:"boolean" json:",omitempty"`
ProjectName *string `type:"string" json:",omitempty"`
RotationInterval *int32 `type:"int32" json:",omitempty"`
RotationState *string `type:"string" json:",omitempty"`
ScheduleDeleteTime *string `type:"string" json:",omitempty"`
ScheduleRotationTime *string `type:"string" json:",omitempty"`
SecretName *string `type:"string" json:",omitempty"`
SecretState *string `type:"string" json:",omitempty" enum:"EnumOfSecretStateForDescribeSecretsOutput"`
SecretType *string `type:"string" json:",omitempty" enum:"EnumOfSecretTypeForDescribeSecretsOutput"`
Trn *string `type:"string" json:",omitempty"`
UID *string `type:"string" json:",omitempty"`
UpdateDate *int64 `type:"int64" json:",omitempty"`
// contains filtered or unexported fields
}
func (SecretForDescribeSecretsOutput) GoString ¶
func (s SecretForDescribeSecretsOutput) GoString() string
GoString returns the string representation
func (*SecretForDescribeSecretsOutput) SetCreationDate ¶
func (s *SecretForDescribeSecretsOutput) SetCreationDate(v int64) *SecretForDescribeSecretsOutput
SetCreationDate sets the CreationDate field's value.
func (*SecretForDescribeSecretsOutput) SetDescription ¶
func (s *SecretForDescribeSecretsOutput) SetDescription(v string) *SecretForDescribeSecretsOutput
SetDescription sets the Description field's value.
func (*SecretForDescribeSecretsOutput) SetEncryptionKey ¶
func (s *SecretForDescribeSecretsOutput) SetEncryptionKey(v string) *SecretForDescribeSecretsOutput
SetEncryptionKey sets the EncryptionKey field's value.
func (*SecretForDescribeSecretsOutput) SetExtendedConfig ¶
func (s *SecretForDescribeSecretsOutput) SetExtendedConfig(v string) *SecretForDescribeSecretsOutput
SetExtendedConfig sets the ExtendedConfig field's value.
func (*SecretForDescribeSecretsOutput) SetID ¶
func (s *SecretForDescribeSecretsOutput) SetID(v string) *SecretForDescribeSecretsOutput
SetID sets the ID field's value.
func (*SecretForDescribeSecretsOutput) SetLastRotationTime ¶
func (s *SecretForDescribeSecretsOutput) SetLastRotationTime(v string) *SecretForDescribeSecretsOutput
SetLastRotationTime sets the LastRotationTime field's value.
func (*SecretForDescribeSecretsOutput) SetManaged ¶
func (s *SecretForDescribeSecretsOutput) SetManaged(v bool) *SecretForDescribeSecretsOutput
SetManaged sets the Managed field's value.
func (*SecretForDescribeSecretsOutput) SetProjectName ¶
func (s *SecretForDescribeSecretsOutput) SetProjectName(v string) *SecretForDescribeSecretsOutput
SetProjectName sets the ProjectName field's value.
func (*SecretForDescribeSecretsOutput) SetRotationInterval ¶
func (s *SecretForDescribeSecretsOutput) SetRotationInterval(v int32) *SecretForDescribeSecretsOutput
SetRotationInterval sets the RotationInterval field's value.
func (*SecretForDescribeSecretsOutput) SetRotationState ¶
func (s *SecretForDescribeSecretsOutput) SetRotationState(v string) *SecretForDescribeSecretsOutput
SetRotationState sets the RotationState field's value.
func (*SecretForDescribeSecretsOutput) SetScheduleDeleteTime ¶
func (s *SecretForDescribeSecretsOutput) SetScheduleDeleteTime(v string) *SecretForDescribeSecretsOutput
SetScheduleDeleteTime sets the ScheduleDeleteTime field's value.
func (*SecretForDescribeSecretsOutput) SetScheduleRotationTime ¶
func (s *SecretForDescribeSecretsOutput) SetScheduleRotationTime(v string) *SecretForDescribeSecretsOutput
SetScheduleRotationTime sets the ScheduleRotationTime field's value.
func (*SecretForDescribeSecretsOutput) SetSecretName ¶
func (s *SecretForDescribeSecretsOutput) SetSecretName(v string) *SecretForDescribeSecretsOutput
SetSecretName sets the SecretName field's value.
func (*SecretForDescribeSecretsOutput) SetSecretState ¶
func (s *SecretForDescribeSecretsOutput) SetSecretState(v string) *SecretForDescribeSecretsOutput
SetSecretState sets the SecretState field's value.
func (*SecretForDescribeSecretsOutput) SetSecretType ¶
func (s *SecretForDescribeSecretsOutput) SetSecretType(v string) *SecretForDescribeSecretsOutput
SetSecretType sets the SecretType field's value.
func (*SecretForDescribeSecretsOutput) SetTrn ¶
func (s *SecretForDescribeSecretsOutput) SetTrn(v string) *SecretForDescribeSecretsOutput
SetTrn sets the Trn field's value.
func (*SecretForDescribeSecretsOutput) SetUID ¶
func (s *SecretForDescribeSecretsOutput) SetUID(v string) *SecretForDescribeSecretsOutput
SetUID sets the UID field's value.
func (*SecretForDescribeSecretsOutput) SetUpdateDate ¶
func (s *SecretForDescribeSecretsOutput) SetUpdateDate(v int64) *SecretForDescribeSecretsOutput
SetUpdateDate sets the UpdateDate field's value.
func (SecretForDescribeSecretsOutput) String ¶
func (s SecretForDescribeSecretsOutput) String() string
String returns the string representation
type SecretValueForBatchGetSecretValueOutput ¶
type SecretValueForBatchGetSecretValueOutput struct {
CreationDate *int64 `type:"int64" json:",omitempty"`
SecretName *string `type:"string" json:",omitempty"`
SecretValue *string `type:"string" json:",omitempty"`
VersionID *string `type:"string" json:",omitempty"`
VersionStage *string `type:"string" json:",omitempty" enum:"EnumOfVersionStageForBatchGetSecretValueOutput"`
// contains filtered or unexported fields
}
func (SecretValueForBatchGetSecretValueOutput) GoString ¶
func (s SecretValueForBatchGetSecretValueOutput) GoString() string
GoString returns the string representation
func (*SecretValueForBatchGetSecretValueOutput) SetCreationDate ¶
func (s *SecretValueForBatchGetSecretValueOutput) SetCreationDate(v int64) *SecretValueForBatchGetSecretValueOutput
SetCreationDate sets the CreationDate field's value.
func (*SecretValueForBatchGetSecretValueOutput) SetSecretName ¶
func (s *SecretValueForBatchGetSecretValueOutput) SetSecretName(v string) *SecretValueForBatchGetSecretValueOutput
SetSecretName sets the SecretName field's value.
func (*SecretValueForBatchGetSecretValueOutput) SetSecretValue ¶
func (s *SecretValueForBatchGetSecretValueOutput) SetSecretValue(v string) *SecretValueForBatchGetSecretValueOutput
SetSecretValue sets the SecretValue field's value.
func (*SecretValueForBatchGetSecretValueOutput) SetVersionID ¶
func (s *SecretValueForBatchGetSecretValueOutput) SetVersionID(v string) *SecretValueForBatchGetSecretValueOutput
SetVersionID sets the VersionID field's value.
func (*SecretValueForBatchGetSecretValueOutput) SetVersionStage ¶
func (s *SecretValueForBatchGetSecretValueOutput) SetVersionStage(v string) *SecretValueForBatchGetSecretValueOutput
SetVersionStage sets the VersionStage field's value.
func (SecretValueForBatchGetSecretValueOutput) String ¶
func (s SecretValueForBatchGetSecretValueOutput) String() string
String returns the string representation
type SecretVersionForDescribeSecretVersionsOutput ¶
type SecretVersionForDescribeSecretVersionsOutput struct {
CreationDate *int64 `type:"int64" json:",omitempty"`
VersionID *string `type:"string" json:",omitempty"`
VersionStage *string `type:"string" json:",omitempty" enum:"EnumOfVersionStageForDescribeSecretVersionsOutput"`
// contains filtered or unexported fields
}
func (SecretVersionForDescribeSecretVersionsOutput) GoString ¶
func (s SecretVersionForDescribeSecretVersionsOutput) GoString() string
GoString returns the string representation
func (*SecretVersionForDescribeSecretVersionsOutput) SetCreationDate ¶
func (s *SecretVersionForDescribeSecretVersionsOutput) SetCreationDate(v int64) *SecretVersionForDescribeSecretVersionsOutput
SetCreationDate sets the CreationDate field's value.
func (*SecretVersionForDescribeSecretVersionsOutput) SetVersionID ¶
func (s *SecretVersionForDescribeSecretVersionsOutput) SetVersionID(v string) *SecretVersionForDescribeSecretVersionsOutput
SetVersionID sets the VersionID field's value.
func (*SecretVersionForDescribeSecretVersionsOutput) SetVersionStage ¶
func (s *SecretVersionForDescribeSecretVersionsOutput) SetVersionStage(v string) *SecretVersionForDescribeSecretVersionsOutput
SetVersionStage sets the VersionStage field's value.
func (SecretVersionForDescribeSecretVersionsOutput) String ¶
func (s SecretVersionForDescribeSecretVersionsOutput) String() string
String returns the string representation