Documentation ¶
Index ¶
- func New(log log.Logger, options ...Option) *tunnelServer
- func NewStreamReader(stream tunnel.Tunnel_StreamWorkspaceClient, log log.Logger) io.Reader
- func NewStreamWriter(stream tunnel.Tunnel_StreamWorkspaceServer, log log.Logger) io.Writer
- func NewTunnelClient(reader io.Reader, writer io.WriteCloser, exitOnClose bool, exitCode int) (tunnel.TunnelClient, error)
- func NewTunnelLogger(ctx context.Context, client tunnel.TunnelClient, debug bool) log.Logger
- func RunProxyServer(ctx context.Context, client tunnel.TunnelClient, reader io.Reader, ...) (*config.Result, error)
- func RunRunnerServer(ctx context.Context, reader io.Reader, writer io.WriteCloser, ...) error
- func RunServicesServer(ctx context.Context, reader io.Reader, writer io.WriteCloser, ...) error
- func RunSetupServer(ctx context.Context, reader io.Reader, writer io.WriteCloser, ...) (*config.Result, error)
- func RunUpServer(ctx context.Context, reader io.Reader, writer io.WriteCloser, ...) (*config.Result, error)
- type Option
- func WithAllowDockerCredentials(allowDockerCredentials bool) Option
- func WithAllowGitCredentials(allowGitCredentials bool) Option
- func WithForwarder(forwarder netstat.Forwarder) Option
- func WithGitCredentialsOverride(username string, token string) Option
- func WithMounts(mounts []*config.Mount) Option
- func WithWorkspace(workspace *provider2.Workspace) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStreamReader ¶
func NewStreamWriter ¶
func NewTunnelClient ¶
func NewTunnelClient(reader io.Reader, writer io.WriteCloser, exitOnClose bool, exitCode int) (tunnel.TunnelClient, error)
func NewTunnelLogger ¶
func RunProxyServer ¶
func RunRunnerServer ¶ added in v0.5.21
func RunServicesServer ¶ added in v0.4.0
func RunSetupServer ¶ added in v0.4.0
Types ¶
type Option ¶ added in v0.5.5
type Option func(*tunnelServer) *tunnelServer
func WithAllowDockerCredentials ¶ added in v0.5.5
func WithAllowGitCredentials ¶ added in v0.5.5
func WithForwarder ¶ added in v0.5.5
func WithGitCredentialsOverride ¶ added in v0.5.5
func WithMounts ¶ added in v0.5.5
func WithWorkspace ¶ added in v0.5.5
Click to show internal directories.
Click to hide internal directories.