carlos / platform Public

Clone
git clone https://amadan.net/carlos/platform

Plain git — no account needed to clone.

Download

Download this file

1package hostbox
2
3import (
4 "context"
5 "github.com/carlosframework/platform/internal/hostguard"
6)
7
8type StopFileIdentity struct{ Device, Inode uint64 }
9type StopCgroupIdentity struct {
10 RelativePath string
11 Device, Inode uint64
12 InvocationID string
13}
14type StopKernelJournal struct {
15 WritersClosed bool
16 UnitReservationIDs []string
17 Completed ProducerCompletion `json:",omitzero"`
18 ControllerPID int
19 ProcessStart string
20 V int
21 Target hostguard.FenceTarget
22 Settled bool
23 PendingRoles bool
24 Cgroups []StopCgroupIdentity
25 Files []StopFileIdentity
26 ProducerIDs []string
27}
28type StopKernelJournalReader interface {
29 ReadStopKernelJournal(context.Context, hostguard.FenceTarget) (StopKernelJournal, error)
30}
31