awsssm

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 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 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)

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