Documentation
¶
Index ¶
- Variables
- type Info
- func (v *Info) E2BVersion() (e2bVersion semver.Version, ok bool)
- func (v *Info) HasFilesystemSnapshots() bool
- func (v *Info) HasFreePageHinting() bool
- func (v *Info) HasFreePageReporting() bool
- func (v *Info) HasHugePages() bool
- func (v *Info) HasInPlaceCheckpoint() bool
- func (v *Info) HasMemfd() bool
- func (v *Info) LDKey() (key string, ok bool)
- func (v *Info) Version() semver.Version
Constants ¶
This section is empty.
Variables ¶
var ErrInvalidVersion = errors.New("invalid firecracker version")
ErrInvalidVersion reports a version string that is in none of the known formats. Callers must not fall back to guessing a format.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct {
// contains filtered or unexported fields
}
func (*Info) E2BVersion ¶
E2BVersion returns the e2b release semver carried by e2b-format versions. ok is false for the other formats.
func (*Info) HasFilesystemSnapshots ¶
HasFilesystemSnapshots reports whether this build's release contract includes producing filesystem-only (memoryless) snapshots. Callers refuse the request when false — silently taking a memory snapshot instead would betray an explicit memory:false.
func (*Info) HasFreePageHinting ¶
func (*Info) HasFreePageReporting ¶
func (*Info) HasHugePages ¶
func (*Info) HasInPlaceCheckpoint ¶
HasInPlaceCheckpoint reports whether this build's release contract includes the in-place checkpoint (pause, snapshot, resume the same FC process, with the deferred CoW memory export). Callers fall back to the resume-fresh checkpoint when false.