Documentation
¶
Overview ¶
Package firecracker provides Firecracker-based VM backend.
Index ¶
- func IsAvailable() bool
- type VMM
- func (v *VMM) Attach(_ context.Context, _ string) error
- func (v *VMM) Cleanup(_ context.Context, vmID string) error
- func (v *VMM) Create(_ context.Context, vmCfg *dokivm.VMConfig) (*dokivm.MicroVM, error)
- func (v *VMM) Exec(_ context.Context, _ string, _ []string, _ []string, _ bool) error
- func (v *VMM) Kill(_ context.Context, vmID string) error
- func (v *VMM) Logs(_ context.Context, _ string) (io.Reader, error)
- func (v *VMM) Name() string
- func (v *VMM) Start(ctx context.Context, vmID string) error
- func (v *VMM) State(_ context.Context, vmID string) (dokivm.VMState, error)
- func (v *VMM) Stats(_ context.Context, _ string) (*dokivm.VMStats, error)
- func (v *VMM) Stop(ctx context.Context, vmID string, timeout time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.