Documentation ¶
Index ¶
- Constants
- Variables
- func CreateDelegationSet(ctx context.Context, zoneId *string, r53 *route53.Client) (*types.DelegationSet, error)
- func CreateHostedZone(ctx context.Context, domain string, r53 *route53.Client) (*types.HostedZone, error)deprecated
- func GetAccountID(arn string) string
- func GetDelegationSet(ctx context.Context, r53 *route53.Client) (*types.DelegationSet, error)
- func GetHostedZoneByName(ctx context.Context, domain string, r53 *route53.Client) (*types.HostedZone, error)
- func IsParameterNotFoundError(err error) booldeprecated
- func IsS3NoSuchKeyError(err error) booldeprecated
- func ListResourceRecords(ctx context.Context, zoneId, recordName string, recordType types.RRType, ...) ([]string, error)
- func LoadDefaultConfig(ctx context.Context, region Region) (aws.Config, error)
- type Aws
- func (a *Aws) DeleteSecrets(ctx context.Context, names ...string) error
- func (a *Aws) IsValidSecret(ctx context.Context, name string) (bool, error)
- func (a *Aws) ListSecrets(ctx context.Context) ([]string, error)
- func (a *Aws) ListSecretsByPrefix(ctx context.Context, prefix string) ([]string, error)
- func (a *Aws) LoadConfig(ctx context.Context) (aws.Config, error)
- func (a *Aws) PutSecret(ctx context.Context, name, value string) error
- type ErrNoSuchKey
- type ErrParameterNotFound
- type Region
- type SsmParametersAPI
Constants ¶
View Source
const CreateHostedZoneComment = "Created by defang cli"
Variables ¶
Functions ¶
func CreateDelegationSet ¶
func CreateHostedZone
deprecated
func GetAccountID ¶
func GetDelegationSet ¶
func GetHostedZoneByName ¶
func IsParameterNotFoundError
deprecated
func IsS3NoSuchKeyError
deprecated
func ListResourceRecords ¶
Types ¶
type Aws ¶
type Aws struct {
Region Region
}
func (*Aws) IsValidSecret ¶
func (*Aws) ListSecretsByPrefix ¶
type ErrNoSuchKey ¶
type ErrParameterNotFound ¶
type ErrParameterNotFound = types.ParameterNotFound
type SsmParametersAPI ¶
type SsmParametersAPI interface { DescribeParameters(ctx context.Context, params *ssm.DescribeParametersInput, optFns ...func(*ssm.Options)) (*ssm.DescribeParametersOutput, error) PutParameter(ctx context.Context, params *ssm.PutParameterInput, optFns ...func(*ssm.Options)) (*ssm.PutParameterOutput, error) DeleteParameters(ctx context.Context, params *ssm.DeleteParametersInput, optFns ...func(*ssm.Options)) (*ssm.DeleteParametersOutput, error) GetParameters(ctx context.Context, params *ssm.GetParametersInput, optFns ...func(*ssm.Options)) (*ssm.GetParametersOutput, error) GetParametersByPath(ctx context.Context, params *ssm.GetParametersByPathInput, optFns ...func(*ssm.Options)) (*ssm.GetParametersByPathOutput, error) }
var SsmClientOverride SsmParametersAPI
Click to show internal directories.
Click to hide internal directories.