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