Documentation ¶
Index ¶
- Variables
- func GenServerProv(data ServerData) string
- func NameAvailable(name string, e2 *ec2.Client) (available bool, err error)
- func WaitUntilRunning(ids []string, e2 *ec2.Client) (err error)
- type Server
- func (s *Server) Delete(e2 *ec2.Client) (err error)
- func (s *Server) GetPublicDNS(e2 *ec2.Client) (publicDNS string, err error)
- func (s *Server) GetVolumeId(e2 *ec2.Client) (volumeId string, err error)
- func (s Server) WaitUntilNetworkAvailable(e2 *ec2.Client) (err error)
- func (s Server) WaitUntilTerminated(e2 *ec2.Client) (err error)
- type ServerData
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrServerNotFound = errors.New("server not found")
Functions ¶
func GenServerProv ¶
func GenServerProv(data ServerData) string
Types ¶
type Server ¶
type Server struct { Name string Cluster string Id string Type string PublicDNS string VolumeId string `json:"volume_id"` NetworkInterfaceId string `json:"network_interface_id"` // contains filtered or unexported fields }
func (*Server) GetPublicDNS ¶
func (*Server) GetVolumeId ¶
func (Server) WaitUntilNetworkAvailable ¶
Click to show internal directories.
Click to hide internal directories.