cfn

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: MIT Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FuncMap

func FuncMap(ctx context.Context, cfg aws.Config) (template.FuncMap, error)

FuncMap provides a tamplate.FuncMap. can lockup values from CFn stack.

Types

type App

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

App represents an application

func New

func New(cfg aws.Config, cache *sync.Map) *App

New creates an application instance

func (*App) ExportedNames

func (a *App) ExportedNames(ctx context.Context) ([]string, error)

ExportedNames lists names of exports.

func (*App) ListOutput added in v0.0.2

func (a *App) ListOutput(ctx context.Context, stackName string) ([]string, error)

ListOutput lists output keys for the stack.

func (*App) LookupExport

func (a *App) LookupExport(ctx context.Context, name string) (value string, err error)

LookupExport lookups exported value.

func (*App) LookupOutput

func (a *App) LookupOutput(ctx context.Context, stackName, outputKey string) (outputValue string, err error)

LookupOutput lookups output value for the stack.

Jump to

Keyboard shortcuts

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