Documentation
¶
Overview ¶
Package firecrackerbootprobejournal owns the host-instance-exclusive durable launch-intent record required before an M4 Jailer may start.
Index ¶
- Variables
- type Journal
- func (j *Journal) Close() error
- func (j *Journal) LaunchIntent() (firecrackerbootprobev2.Session, bool)
- func (j *Journal) LaunchSnapshot() (firecrackerbootprobev2.Snapshot, bool)
- func (j *Journal) StageLaunchIntent(session firecrackerbootprobev2.Session) error
- func (j *Journal) StageLaunchSnapshot(snapshot firecrackerbootprobev2.Snapshot) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrLocked = errors.New("Firecracker boot-probe host-instance journal is already locked")
Functions ¶
This section is empty.
Types ¶
type Journal ¶
type Journal struct {
// contains filtered or unexported fields
}
Journal exclusively owns one absolute host-instance journal path.
func (*Journal) LaunchIntent ¶
func (j *Journal) LaunchIntent() (firecrackerbootprobev2.Session, bool)
LaunchIntent returns the recovered immutable intent, if one was fsynced.
func (*Journal) LaunchSnapshot ¶
func (j *Journal) LaunchSnapshot() (firecrackerbootprobev2.Snapshot, bool)
func (*Journal) StageLaunchIntent ¶
func (j *Journal) StageLaunchIntent(session firecrackerbootprobev2.Session) error
StageLaunchIntent fsyncs exactly the authorized current delivery before launch.
func (*Journal) StageLaunchSnapshot ¶
func (j *Journal) StageLaunchSnapshot(snapshot firecrackerbootprobev2.Snapshot) error
StageLaunchSnapshot persists the exact control CAS version with intent.
Click to show internal directories.
Click to hide internal directories.