ssm

package
v1.26.31 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: Unlicense Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(params ClientParams) (*ssm.Client, error)

NewClient for SSM.

Types

type ClientParams

type ClientParams struct {
	fx.In

	Config     *Config
	HTTPConfig *http.Config
	Logger     *zap.Logger
	Tracer     opentracing.Tracer
	Metrics    *prometheus.ClientMetrics
}

ConfigParams for SSM.

type Config

type Config struct {
	Access string `yaml:"access"`
	Secret string `yaml:"secret"`
	Region string `yaml:"region"`
	URL    string `yaml:"url"`
}

Config for SSM.

type Secret

type Secret struct {
	Data map[string]any `json:"data"`
}

Secret from SSM.

type Transformer

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

Transformer for SSM.

func NewTransformer

func NewTransformer(client *ssm.Client, tracer opentracing.Tracer) *Transformer

NewTransformer for SSM.

func (*Transformer) Transform

func (t *Transformer) Transform(ctx context.Context, value string) (any, error)

Transform for SSM.

Directories

Path Synopsis
trace

Jump to

Keyboard shortcuts

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