awsssm

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetParameterStoreParameter

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

func NewSSMClient

func NewSSMClient(ctx context.Context) *ssm.Client

func ReadParameterStoreParameterFromExtension added in v0.2.2

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

Types

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)

Jump to

Keyboard shortcuts

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