Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Dnsmasq ¶
type Dnsmasq struct { Segments []*Segment // contains filtered or unexported fields }
func NewDnsmasq ¶
func (*Dnsmasq) GetInterface ¶
type LocalCluster ¶
type LocalCluster struct { destructor.MultiDestructor *platform.BaseCluster Dnsmasq *Dnsmasq NTPServer *ntp.Server OmahaServer OmahaWrapper SimpleEtcd *SimpleEtcd // contains filtered or unexported fields }
func NewLocalCluster ¶
func NewLocalCluster(basename string, rconf *platform.RuntimeConfig, platformName platform.Name) (*LocalCluster, error)
func (*LocalCluster) Destroy ¶ added in v0.3.0
func (lc *LocalCluster) Destroy()
func (*LocalCluster) GetDiscoveryURL ¶
func (lc *LocalCluster) GetDiscoveryURL(size int) (string, error)
func (*LocalCluster) GetNsHandle ¶ added in v0.2.0
func (lc *LocalCluster) GetNsHandle() netns.NsHandle
func (*LocalCluster) NewCommand ¶
func (lc *LocalCluster) NewCommand(name string, arg ...string) exec.Cmd
type OmahaWrapper ¶ added in v0.8.0
type OmahaWrapper struct {
*omaha.TrivialServer
}
OmahaWrapper wraps the omaha trivial server to log any errors returned by destroy and doesn't return anything instead
func (OmahaWrapper) Destroy ¶ added in v0.8.0
func (o OmahaWrapper) Destroy()
type SimpleEtcd ¶
type SimpleEtcd struct { Port int // contains filtered or unexported fields }
SimpleEtcd provides a single node etcd server.
func NewSimpleEtcd ¶
func NewSimpleEtcd() (*SimpleEtcd, error)
func (*SimpleEtcd) Destroy ¶
func (se *SimpleEtcd) Destroy()
type TunTap ¶
Tun/Tap device that is compatible with the netlink library.
func AddLinkTap ¶
func AddLinkTun ¶
Click to show internal directories.
Click to hide internal directories.