Documentation ¶
Index ¶
- func MakeConfigDrive(userdata *conf.Conf, outputDir string) (string, error)
- type Dnsmasq
- type Interface
- type LocalCluster
- func (lc *LocalCluster) Destroy()
- func (lc *LocalCluster) GetDiscoveryURL(size int) (string, error)
- func (lc *LocalCluster) GetNsHandle() netns.NsHandle
- func (lc *LocalCluster) GetOmahaHostPort() (string, error)
- func (lc *LocalCluster) NewCommand(name string, arg ...string) exec.Cmd
- func (lc *LocalCluster) NewTap(bridge string) (*TunTap, error)
- type LocalFlight
- type OmahaWrapper
- type Segment
- type SimpleEtcd
- type TunTap
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 OmahaServer OmahaWrapper // contains filtered or unexported fields }
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) GetOmahaHostPort ¶ added in v0.12.0
func (lc *LocalCluster) GetOmahaHostPort() (string, error)
func (*LocalCluster) NewCommand ¶
func (lc *LocalCluster) NewCommand(name string, arg ...string) exec.Cmd
type LocalFlight ¶ added in v0.12.0
type LocalFlight struct { destructor.MultiDestructor *platform.BaseFlight Dnsmasq *Dnsmasq SimpleEtcd *SimpleEtcd NTPServer *ntp.Server // contains filtered or unexported fields }
func NewLocalFlight ¶ added in v0.12.0
func (*LocalFlight) Destroy ¶ added in v0.12.0
func (lf *LocalFlight) Destroy()
func (*LocalFlight) NewCluster ¶ added in v0.12.0
func (lf *LocalFlight) NewCluster(rconf *platform.RuntimeConfig) (*LocalCluster, error)
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.