pkg

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateLambdaEnv

func UpdateLambdaEnv(inputs *Inputs, lambdaApi lambdaiface.LambdaAPI) error

Types

type Env

type Env map[string]*string

func (*Env) Merge

func (e *Env) Merge(newEnv Env)

func (*Env) Set

func (e *Env) Set(s string) error

func (*Env) String

func (e *Env) String() string

type Inputs

type Inputs struct {
	FunctionName string
	Env          Env
}

func ParseInputs

func ParseInputs(args []string) (*Inputs, error)

type Lambda

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

func NewLambda

func NewLambda(client lambdaiface.LambdaAPI) *Lambda

func (*Lambda) ReadEnv

func (l *Lambda) ReadEnv(functionName string) (Env, error)

func (*Lambda) WriteEnv

func (l *Lambda) WriteEnv(functionName string, env Env) error

Jump to

Keyboard shortcuts

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