Documentation ¶
Index ¶
- Constants
- func Start(model Model, consulClient tools.Consul) error
- type Deployer
- func NewAmazonFromJson(serialized json.RawMessage, consulClient tools.Consul) (Deployer, error)
- func NewDistantFromJson(serialized json.RawMessage, _ tools.Consul) (Deployer, error)
- func NewLocalFromJson(serialized json.RawMessage, consulClient tools.Consul) (Deployer, error)
- func NewNone(_ json.RawMessage, _ tools.Consul) (Deployer, error)
- type DistantRunError
- type LocalRunError
- type Model
- type Type
Constants ¶
View Source
const TypeAmazon = "amazon"
View Source
const TypeDistant = "distant"
View Source
const TypeLocal = "local"
View Source
const TypeNone = Type("none")
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DistantRunError ¶
type DistantRunError struct {
Errors []error
}
func (DistantRunError) Error ¶
func (distErr DistantRunError) Error() string
type LocalRunError ¶
type LocalRunError struct {
Errors []error
}
func (LocalRunError) Error ¶
func (localErr LocalRunError) Error() string
type Model ¶
type Model struct { Type Type SleepAfterDeployTime time.Duration Config json.RawMessage }
func (*Model) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.