Download this file
| 1 | //go:build !linux |
| 2 | |
| 3 | package host |
| 4 | |
| 5 | import ( |
| 6 | "context" |
| 7 | "github.com/carlosframework/platform/internal/activator" |
| 8 | "github.com/carlosframework/platform/internal/hostclaim" |
| 9 | "github.com/carlosframework/platform/internal/hostwrite" |
| 10 | "net" |
| 11 | ) |
| 12 | |
| 13 | func (*ClaimRoleAssembly) Prelaunch(context.Context, hostclaim.Observed, hostwrite.Work, ClaimLaunchInputs) (*activator.RoleLaunch, error) { |
| 14 | return nil, hostwrite.ErrUnavailable |
| 15 | } |
| 16 | |
| 17 | func (*ClaimRoleAssembly) Launch(context.Context, hostclaim.Observed, hostwrite.Work, ClaimLaunchInputs, *activator.RoleLaunch) (*activator.RoleLaunch, error) { |
| 18 | return nil, hostwrite.ErrUnavailable |
| 19 | } |
| 20 | |
| 21 | func claimReadyPeer(net.Conn, int) error { return hostwrite.ErrUnavailable } |
| 22 | |
| 23 | func (*ClaimRoleAssembly) PrepareState(context.Context, hostclaim.Observed, hostwrite.Work, ClaimLaunchInputs) error { |
| 24 | return hostwrite.ErrUnavailable |
| 25 | } |
| 26 | |