awsssm

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2025 License: MIT Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DescribeParameterStoreParameter added in v1.3.4

func DescribeParameterStoreParameter(ctx context.Context, client DescribeParametersApi, name string) (*ssm.DescribeParametersOutput, error)

func GetParameterStoreParameter

func GetParameterStoreParameter(ctx context.Context, client GetParameterAPI, name string, container any) error

func GetParameterStoreParameterString added in v0.5.1

func GetParameterStoreParameterString(ctx context.Context, client GetParameterAPI, name string) (*string, error)

func NewClient added in v0.3.0

func NewClient(useTracing bool) *ssm.Client

func ReadParameterStoreParameterFromExtension added in v0.2.2

func ReadParameterStoreParameterFromExtension(ctx context.Context, name string, api GetParmeterExtensionApi, decrypt bool) (*string, error)

func UpdateParameterStoreParameter added in v1.3.4

func UpdateParameterStoreParameter(ctx context.Context, client PutParameterApi, name, value string) error

Types

type DescribeParametersApi added in v1.3.4

type DescribeParametersApi interface {
	DescribeParameters(ctx context.Context,
		params *ssm.DescribeParametersInput,
		optFns ...func(*ssm.Options)) (*ssm.DescribeParametersOutput, error)
}

type GetParameterAPI

type GetParameterAPI interface {
	GetParameter(ctx context.Context,
		params *ssm.GetParameterInput,
		optFns ...func(*ssm.Options)) (*ssm.GetParameterOutput, error)
}

type GetParmeterExtensionApi added in v0.2.2

type GetParmeterExtensionApi interface {
	GetParameter(ctx context.Context, name string, decrypt bool) (*string, error)
}

type ParameterStoreExtensionClient added in v0.2.2

type ParameterStoreExtensionClient struct{}

func (*ParameterStoreExtensionClient) GetParameter added in v0.2.2

func (p *ParameterStoreExtensionClient) GetParameter(ctx context.Context, name string, decrypt bool) (*string, error)

type PutParameterApi added in v1.3.4

type PutParameterApi interface {
	PutParameter(ctx context.Context,
		params *ssm.PutParameterInput,
		optFns ...func(*ssm.Options)) (*ssm.PutParameterOutput, error)
}

Jump to

Keyboard shortcuts

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