Documentation ¶
Overview ¶
Package parameters provides tools for interactive creation of parameters file for aws cloud formation.
Index ¶
- func ConfigureParameters(context *context.Context) error
- func GetAwsParameters(context *context.Context) (parameters []*cloudformation2.Parameter, err error)
- func GetJSONParameters(context *context.Context) (resultString []byte, err error)
- func ParseParameterToAwsCompatible(params []*Parameter) (parameters []*cloudformation2.Parameter)
- func ResolveParameters(context *context.Context) (params []*cloudformation2.Parameter, err error)
- type Parameter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureParameters ¶
ConfigureParameters allows to create file with parameters.
func GetAwsParameters ¶
func GetAwsParameters(context *context.Context) (parameters []*cloudformation2.Parameter, err error)
GetAwsParameters gets parameters from context and parses to AWS parameters.
func GetJSONParameters ¶
GetJSONParameters gets parameters from context.CliArguments.TemplatePath.
func ParseParameterToAwsCompatible ¶
func ParseParameterToAwsCompatible(params []*Parameter) (parameters []*cloudformation2.Parameter)
ParseParameterToAwsCompatible converts parameters from file to compatible with AWS.
func ResolveParameters ¶
func ResolveParameters(context *context.Context) (params []*cloudformation2.Parameter, err error)
Get the parameters - if parameters file provided - from file, else - interactively from user.
Types ¶
Click to show internal directories.
Click to hide internal directories.