package
Version:
v0.0.0-...-5510d5e
Opens a new window with list of versions in this module.
Published: Dec 26, 2021
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Cert struct {
Status string `json:"status"`
Path string `json:"path"`
}
type Hosts struct {
KeyPair KeyPair `json:"key"`
Servers []*Server `json:"servers"`
}
type KeyPair struct {
Name string `json:"name"`
Status string `json:"status"`
}
type Network struct {
Name string `json:"name"`
Range string `json:"range"`
Subnets []Subnet `json:"subnets"`
Vpn VpnGateway `json:"vpn_gateway"`
}
type Provider struct {
Name string `json:"name"`
Profile string `json:"profile"`
Region string `json:"region"`
}
type Route struct {
From string `json:"from"`
To string `json:"to"`
}
type Server struct {
Name string `json:"name"`
Size string `json:"size"`
Number int `json:"number"`
Subnet string `json:"subnet"`
Address []string `json:"address"`
Image *ServerImage `json:"image"`
Status string `json:"status"`
Ports []int `json:"ports"`
}
type ServerImage struct {
Custom bool `json:"custom"`
Id string `json:"id"`
Status string `json:"status"`
ImagePath string `json:"image_path"`
BaseImage string `json:"base_image"`
LoginUser string `json:"login_user,omitempty"`
Architecture string `json:"architecture"`
AwsImageOwner string `json:"aws_image_owner,omitempty"`
ScriptFilePath []string `json:"scripts"`
InlineScripts []string `json:"inline"`
}
type Service struct {
Name string `json:"name"`
Storage *Storage `json:"storage"`
Network *Network `json:"network"`
Hosts *Hosts `json:"hosts"`
}
type State struct {
WorkDir string
Provider Provider `json:"provider"`
Service Service `json:"service"`
}
type Storage struct {
Id string `json:"id"`
}
type Subnet struct {
Name string `json:"name"`
Range string `json:"range"`
Private bool `json:"private"`
VpnGatewayAssociated bool `json:"vpn_gateway_associated"`
Routes []Route `json:"routes"`
}
type VpnGateway struct {
Id string `json:"id"`
Range string `json:"range"`
Domain string `json:"domain"`
AssociatedSubnet string `json:"associated_subnet"`
Cert Cert `json:"cert"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.