rpc

package
v2.49.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConnectionTimeout = 5 * time.Second
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Invoker

type Invoker interface {
	Close() error
	StartJupyterServer(ctx context.Context) (int, string, error)
	RebuildContainer(ctx context.Context, full bool) error
	StartSSHServer(ctx context.Context) (int, string, error)
	StartSSHServerWithOptions(ctx context.Context, options StartSSHServerOptions) (int, string, error)
	KeepAlive()
}

func CreateInvoker

func CreateInvoker(ctx context.Context, fwd portforwarder.PortForwarder) (Invoker, error)

Connects to the internal RPC server and returns a new invoker for it

type StartSSHServerOptions

type StartSSHServerOptions struct {
	UserPublicKeyFile string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL