ssmloader

package module
v0.0.1-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func List

func List(ctx context.Context, api Client, path string) ([]string, error)

func Load

func Load(ctx context.Context, api Client, path string) ([]byte, error)

func With

func With(api Client) fileloaders.Option

Types

type Client

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

type Loader

type Loader struct {
	// contains filtered or unexported fields
}

func New

func New(api Client) *Loader

func (*Loader) List

func (l *Loader) List(ctx context.Context, path string) ([]string, error)

func (*Loader) Load

func (l *Loader) Load(ctx context.Context, path string) ([]byte, error)

Jump to

Keyboard shortcuts

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