Documentation ¶
Index ¶
- func CalculateChecksum(model interface{}) (string, error)
- func Init(provider client.ConfigProvider)
- func Resolve(data string) (string, error)
- func Unmarshal(extension string, data []byte, model interface{}) error
- type Bool
- type Config
- type Mapper
- type MapperStore
- type RawConfig
- type RawDefaults
- type RawStack
- type RawStackCapabilities
- type RawStackParameter
- type RawStackParameters
- type RawStackTag
- type RawStackTags
- type ResolveStack
- type Stack
- type StackParameter
- type StackParameters
- type StackTag
- type StackTags
- type Stacks
- type String
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateChecksum ¶
func Init ¶
func Init(provider client.ConfigProvider)
Types ¶
type MapperStore ¶
func NewMapperStore ¶
func NewMapperStore() *MapperStore
func (*MapperStore) Set ¶
func (store *MapperStore) Set(prefix string, mapper Mapper)
type RawConfig ¶
type RawConfig struct { Defaults RawDefaults `json:"defaults"` Stacks []*RawStack `json:"stacks"` }
type RawDefaults ¶
type RawDefaults struct {
ArtefactBucket String `json:"artefactBucket" yaml:"artefactBucket"`
}
type RawStack ¶
type RawStack struct { Name String `json:"name"` Capabilities RawStackCapabilities `json:"capabilities"` Parameters RawStackParameters `json:"parameters"` Region String `json:"region"` Tags RawStackTags `json:"tags"` TerminationProtection Bool `json:"terminationProtection" yaml:"terminationProtection"` PolicyFile String `json:"policyFile" yaml:"policyFile"` TemplateFile String `json:"templateFile" yaml:"templateFile"` }
type RawStackCapabilities ¶
type RawStackCapabilities []String
type RawStackParameter ¶
type RawStackParameters ¶
type RawStackParameters []*RawStackParameter
type RawStackTag ¶
type RawStackTags ¶
type RawStackTags []*RawStackTag
type ResolveStack ¶
func NewResolveStack ¶
func NewResolveStack() ResolveStack
func (ResolveStack) Peek ¶
func (stack ResolveStack) Peek() *strings.Builder
func (ResolveStack) Pop ¶
func (stack ResolveStack) Pop() (ResolveStack, string)
func (ResolveStack) Push ¶
func (stack ResolveStack) Push() ResolveStack
func (ResolveStack) String ¶
func (stack ResolveStack) String() string
type Stack ¶
type Stack struct { Name string Capabilities []string Parameters StackParameters Region *string Tags StackTags TerminationProtection bool Policy []byte `json:"-"` Template []byte `json:"-"` ArtefactBucket string `json:",omitempty"` PolicyKey string `json:",omitempty"` TemplateKey string `json:",omitempty"` Checksum string }
func (*Stack) ShouldUpload ¶
type StackParameter ¶
type StackParameters ¶
type StackParameters []*StackParameter
func (StackParameters) Contains ¶
func (parameters StackParameters) Contains(key, value string) bool
type String ¶
type String string
func (*String) StringPointer ¶
func (*String) UnmarshalJSON ¶
func (*String) UnmarshalYAML ¶
Click to show internal directories.
Click to hide internal directories.