Documentation ¶
Index ¶
- type Clouds
- type Containers
- type Driver
- type Enviroment
- type Fleet
- func (fleet *Fleet) Add(value Ship)
- func (fleet *Fleet) Append(ships []Ship)
- func (fleet *Fleet) AppendShip(ship Ship)
- func (fleet *Fleet) Available() []Ship
- func (fleet *Fleet) Delete(ship Ship)
- func (fleet *Fleet) Find(idOrName string) Ship
- func (fleet *Fleet) Ships() []Ship
- func (fleet *Fleet) Update(ship Ship)
- type HttpApiFunc
- type KraneConfiguration
- type Plan
- type Port
- type Ship
- type Ships
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Containers ¶
type Driver ¶
type Driver interface { List(parameters url.Values) (Fleet, error) Plan(parameters url.Values) ([]Plan, error) Create(parameters url.Values) (string, error) Destroy(parameters url.Values) (string, error) Stop(args map[string]string) error Name() string FindShip(name string) Ship ValidateId(text string) bool }
type Enviroment ¶
type Fleet ¶
type Fleet struct {
// contains filtered or unexported fields
}
func (*Fleet) AppendShip ¶
type HttpApiFunc ¶
type KraneConfiguration ¶
type KraneConfiguration struct { Production Enviroment `yaml:"production"` Driver Driver }
type Ship ¶
type Ship struct { Id string `json:"id"` Name string `json:"name"` Fqdn string `json:"fqdn"` Ip string `json:"ipAddress"` State string `json:"state"` Os string `json:"os"` Plan string `json:"plan"` Port int `json:"port"` Schema string `json:"schema"` LocalPort int Containers []Containers Touched bool }
Click to show internal directories.
Click to hide internal directories.