Documentation
¶
Index ¶
- func RunCMD() *cobra.Command
- type PodNetwork
- type VM
- func (self *VM) Cleanup()
- func (self *VM) DownloadImage(ctx context.Context, strref string, auth string) (*spec.Container, error)
- func (self *VM) KillFilesystems()
- func (self *VM) KillQemu()
- func (self *VM) LaunchQemu() (err error)
- func (self *VM) MakeGuestLaunchConfig() (err error)
- func (self *VM) PrepareCradleGuest(cradlePath string) (err error)
- func (self *VM) SetupNetworkPostLaunch() error
- func (self *VM) SetupWorkDir() error
- func (self *VM) StartFilesystems() error
- func (self *VM) StartNetwork() error
- func (self *VM) StartVDocker() error
- func (self *VM) StopNetwork()
- func (self *VM) Wait() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PodNetwork ¶
type PodNetwork struct { GuestMac net.HardwareAddr GuestIfname string CID uint32 }
type VM ¶
type VM struct { ID string WorkDir string Launch spec.Launch CradleGuest spec.Cradle // qemu Cmd *exec.Cmd // virtiofsd Filesystems []*exec.Cmd // sdn EthHostSideMac [6]byte EthHostSideName string Ip4 *net.IPNet Ip6 *net.IPNet Gw4 net.IP Gw6 net.IP // reporter keepalive Stage atomic.Uint32 PodNetwork *PodNetwork // contains filtered or unexported fields }
func (*VM) DownloadImage ¶
func (*VM) KillFilesystems ¶
func (self *VM) KillFilesystems()
func (*VM) LaunchQemu ¶
func (*VM) MakeGuestLaunchConfig ¶
func (*VM) PrepareCradleGuest ¶
func (*VM) SetupNetworkPostLaunch ¶
func (*VM) SetupWorkDir ¶
func (*VM) StartFilesystems ¶
func (*VM) StartNetwork ¶
func (*VM) StartVDocker ¶
func (*VM) StopNetwork ¶
func (self *VM) StopNetwork()
Source Files
¶
Click to show internal directories.
Click to hide internal directories.