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 *omaha.TrivialServer SimpleEtcd *SimpleEtcd // contains filtered or unexported fields }
func NewLocalCluster ¶
func NewLocalCluster(basename, outputDir string) (*LocalCluster, error)
func (*LocalCluster) Destroy ¶ added in v0.3.0
func (lc *LocalCluster) Destroy() error
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 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() error
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.