Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigDrive ¶
type ConfigDrive struct {
Directory string
}
func NewConfigDrive ¶
func NewConfigDrive(userdata string) (*ConfigDrive, error)
func (*ConfigDrive) Destroy ¶
func (d *ConfigDrive) Destroy() error
type Dnsmasq ¶
type Dnsmasq struct { Segments []*Segment // contains filtered or unexported fields }
func NewDnsmasq ¶
func (*Dnsmasq) GetInterface ¶
type LocalCluster ¶
type LocalCluster struct { util.MultiDestructor Dnsmasq *Dnsmasq NTPServer *ntp.Server OmahaServer *omaha.Server SSHAgent *network.SSHAgent SimpleEtcd *SimpleEtcd // contains filtered or unexported fields }
func NewLocalCluster ¶
func NewLocalCluster() (*LocalCluster, error)
func (*LocalCluster) GetDiscoveryURL ¶
func (lc *LocalCluster) GetDiscoveryURL(size int) (string, error)
func (*LocalCluster) NewCommand ¶
func (lc *LocalCluster) NewCommand(name string, arg ...string) exec.Cmd
type NsCmd ¶
func (*NsCmd) CombinedOutput ¶
type NsDialer ¶
type NsDialer struct { network.RetryDialer NsHandle netns.NsHandle }
NsDialer is a RetryDialer that can enter any network namespace.
func NewNsDialer ¶
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.