cfn_macro

package
v0.0.0-...-69f65aa Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CfnMacroInstaller

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

func NewCfnMacroRuntime

func NewCfnMacroRuntime(cfg aws.Config, bucketName string) *CfnMacroInstaller

func (*CfnMacroInstaller) Delete

func (r *CfnMacroInstaller) Delete(macros []string) error

func (*CfnMacroInstaller) InstallMacro

func (r *CfnMacroInstaller) InstallMacro(params *InstallationParameters) error

func (*CfnMacroInstaller) List

func (r *CfnMacroInstaller) List() error

type Config

type Config struct {
	TemplateFile         string
	TemplateModelBuilder TemplateModelBuilderFunc
}

type InstallationParameters

type InstallationParameters struct {
	KiltDefinition io.ReadCloser
	MacroName      string
	OptIn          bool
	RecipeConfig   string

	LambdaZip          io.ReadCloser
	ZipDestinationName string

	CfnTemplate  io.ReadCloser
	ModelBuilder TemplateModelBuilderFunc
}

type TemplateDefaultModel

type TemplateDefaultModel struct {
	BucketName    string
	MacroName     string
	MacroFileName string
	OptIn         bool
	KiltZipPath   string
	RecipeConfig  string
}

type TemplateModelBuilderFunc

type TemplateModelBuilderFunc func(input TemplateDefaultModel) interface{}

Jump to

Keyboard shortcuts

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