carlos / platform Public

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

Plain git — no account needed to clone.

Download

Download this file

1//go:build !linux
2
3package host
4
5import (
6 "context"
7 "github.com/carlosframework/platform/internal/hostbox"
8 "github.com/carlosframework/platform/internal/instancectl"
9)
10
11type linuxClaimLaunchKernel struct {
12 OptRoot, CgroupRoot, ProcRoot string
13 Owner uint32
14 BoundApp string
15}
16
17func (linuxClaimLaunchKernel) Verify(string, hostbox.LaunchFile) error { return hostbox.ErrUnsupported }
18
19func (linuxClaimLaunchKernel) Observe(instancectl.ClaimUnitStarted) (ClaimLaunchObserved, error) {
20 return ClaimLaunchObserved{}, hostbox.ErrUnsupported
21}
22
23func (linuxClaimLaunchKernel) VerifyDigest(context.Context, string, hostbox.LaunchFile, string) error {
24 return hostbox.ErrUnsupported
25}
26