Documentation ¶
Index ¶
- func Fetch(conf config.Config) (metadata string, err error)
- func Json(metadata string, key string) (j string, err error)
- type Authentication
- type Command
- type Config
- type Configs
- type File
- type Group
- type Init
- type JavaScriptBoolean
- type Metadata
- type Package
- type Service
- type ServiceManager
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Authentication ¶
type Command ¶
type Command struct { Command string `json:"command"` Env map[string]string `json:"env"` Cwd string `json:"cwd"` Test string `json:"test"` IgnoreErrors JavaScriptBoolean `json:"ignoreErrors"` WaitAfterCompletion JavaScriptBoolean `json:"waitAfterCompletion"` }
type Config ¶
type Config struct { Packages map[string]*Package `json:"packages"` Groups map[string]*Group `json:"groups"` Users map[string]*User `json:"users"` Sources map[string]string `json:"sources"` Files map[string]*File `json:"files"` Commands map[string]*Command `json:"commands"` Services *ServiceManager `json:"services"` }
Arranged in order of execution
type Init ¶
type Init struct { ConfigSets map[string][]interface{} `json:"configSets"` Configs map[string]*Config `json:"-"` }
Skips Configs which will be picked up on the second run
type JavaScriptBoolean ¶
type JavaScriptBoolean bool
func (*JavaScriptBoolean) UnmarshalJSON ¶
func (bit *JavaScriptBoolean) UnmarshalJSON(data []byte) error
type Metadata ¶
type Metadata struct { Authentication map[string]*Authentication `json:"AWS::CloudFormation::Authentication"` Init *Init `json:"AWS::CloudFormation::Init"` }
type Service ¶
type Service struct { EnsureRunning JavaScriptBoolean `json:"ensureRunning"` Enabled JavaScriptBoolean `json:"enabled"` Files []string `json:"files"` Sources []string `json:"sources"` Packages map[string][]string `json:"packages"` Commands []string `json:"commands"` }
type ServiceManager ¶
Click to show internal directories.
Click to hide internal directories.