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 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 WithAllowKubeConfig(allow bool) Option
- func WithForwarder(forwarder netstat.Forwarder) Option
- func WithMounts(mounts []*config.Mount) Option
- func WithPlatformOptions(options *devpod.PlatformOptions) 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 RunServicesServer ¶
func RunSetupServer ¶
Types ¶
type Option ¶
type Option func(*tunnelServer) *tunnelServer
func WithAllowGitCredentials ¶
func WithAllowKubeConfig ¶
func WithForwarder ¶
func WithMounts ¶
func WithPlatformOptions ¶
func WithPlatformOptions(options *devpod.PlatformOptions) Option
func WithWorkspace ¶
Click to show internal directories.
Click to hide internal directories.