Versions in this module Expand all Collapse all v0 v0.0.9 Sep 13, 2013 Changes in this version + const DOCK + const KVM + const LXC + const NONE + var ErrNoDNSName = errors.New("DNS name not allocated") + var SupportedContainerTypes []ContainerType = []ContainerType + func SelectInternalAddress(addresses []Address, machineLocal bool) string + func SelectPublicAddress(addresses []Address) string + type Address struct + NetworkName string + Type AddressType + Value string + func NewAddress(value string) Address + type AddressType string + const HostName + const Ipv4Address + const Ipv6Address + func DeriveAddressType(value string) AddressType + type ContainerType string + func ParseSupportedContainerType(ctype string) (ContainerType, error) + func ParseSupportedContainerTypeOrNone(ctype string) (ContainerType, error) + type HardwareCharacteristics struct + Arch *string + CpuCores *uint64 + CpuPower *uint64 + Mem *uint64 + RootDisk *uint64 + func MustParseHardware(args ...string) HardwareCharacteristics + func ParseHardware(args ...string) (HardwareCharacteristics, error) + func (hc HardwareCharacteristics) String() string + type Id string + type Instance interface + Addresses func() ([]Address, error) + ClosePorts func(machineId string, ports []Port) error + DNSName func() (string, error) + Id func() Id + OpenPorts func(machineId string, ports []Port) error + Ports func(machineId string) ([]Port, error) + Status func() string + WaitDNSName func() (string, error) + type NetworkScope string + const NetworkCloudLocal + const NetworkMachineLocal + const NetworkPublic + const NetworkUnknown + type Port struct + Number int + Protocol string + func (p Port) String() string