Documentation ¶
Index ¶
Constants ¶
View Source
const ( EnvVarMasterPublicKey = "BIFROEST_MASTER_PUBLIC_KEY" DefaultInitPathUnix = `/var/lib/engity/bifroest/init` DefaultInitPathWindows = `C:\ProgramData\Engity\Bifroest\init` )
View Source
const (
DefaultInitPath = DefaultInitPathUnix
)
View Source
const (
ServicePort = 8683
)
Variables ¶
View Source
var (
ErrNoSuchProcess = protocol.ErrNoSuchProcess
)
Functions ¶
This section is empty.
Types ¶
type Imp ¶
type Service ¶
type Session ¶
type Session interface { io.Closer Ping(ctx context.Context, connectionId connection.Id) error InitiateTcpForward(ctx context.Context, connectionId connection.Id, target net.HostPort) (gonet.Conn, error) InitiateNamedPipe(ctx context.Context, connectionId connection.Id, purpose net.Purpose) (net.NamedPipe, error) // GetConnectionExitCode will return either the exitCode (if found) // or [connection.ErrNotFound] if the corresponding connection can't be found. GetConnectionExitCode(ctx context.Context, connectionId connection.Id) (int, error) // Kill will try to kill the process with the given signal. // If pid is 0, the process will be resolved by its connection.EnvVar that is matching the provided // connectionId. Kill(ctx context.Context, connectionId connection.Id, pid int, signal sys.Signal) error }
Click to show internal directories.
Click to hide internal directories.