Documentation
¶
Index ¶
- Constants
- type BindSpec
- func (b BindSpec) DisplayURLs() []string
- func (b BindSpec) DisplayURLsForPort(port int) []string
- func (b BindSpec) Host() string
- func (b BindSpec) IsLoopbackOnly() bool
- func (b BindSpec) IsWildcard() bool
- func (b BindSpec) ListenAddrs() []string
- func (b BindSpec) ListenLabel() string
- func (b BindSpec) ListenLabelForPort(port int) string
- func (b BindSpec) Port() int
- type Options
- type Server
- func (s *Server) Close() error
- func (s *Server) DisplayURLs() []string
- func (s *Server) HandlerForDesktopBridge() http.Handler
- func (s *Server) ListenLabel() string
- func (s *Server) Port() int
- func (s *Server) RuntimeAttachStatus() runtimemanagement.RuntimeAttachStatus
- func (s *Server) RuntimeControlEndpointForDesktopBridge() *runtimemanagement.RuntimeControlEndpoint
- func (s *Server) RuntimeServiceSnapshotForDesktopBridge() runtimeservice.Snapshot
- func (s *Server) Start(ctx context.Context) error
- func (s *Server) StartOnListeners(ctx context.Context, listeners []net.Listener, ...) error
Constants ¶
View Source
const DefaultBind = "localhost:23998"
View Source
const (
// LocalEnvPublicID is the fixed env_public_id used for Local UI mode.
LocalEnvPublicID = "env_local"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindSpec ¶
type BindSpec struct {
// contains filtered or unexported fields
}
BindSpec is the parsed Local UI listener configuration.
func (BindSpec) DisplayURLs ¶
func (BindSpec) DisplayURLsForPort ¶
func (BindSpec) IsLoopbackOnly ¶
func (BindSpec) IsWildcard ¶
func (BindSpec) ListenAddrs ¶
func (BindSpec) ListenLabel ¶
func (BindSpec) ListenLabelForPort ¶
type Options ¶
type Options struct {
Logger *slog.Logger
Bind BindSpec
DesktopManaged bool
DesktopOwnerID string
EffectiveRunMode string
RemoteEnabled bool
ControlplaneBaseURL string
ControlplaneProviderID string
EnvPublicID string
// Gateway is the Env App gateway handler mounted under /_redeven_proxy/*.
Gateway *gateway.Gateway
// Agent serves direct sessions (RPC/streams) after a successful E2EE handshake.
Agent *agent.Agent
// ConfigPath is the absolute path to the runtime config file.
// It is used to compute the local permission cap and to render Settings consistently.
ConfigPath string
StateRoot string
RuntimeControlSocketPath string
// Version is the runtime build version (used by /api/local/agent/version/latest).
Version string
// Diagnostics stores structured debug-only request timing events.
Diagnostics *diagnostics.Store
// AccessGate protects the local browser entry when password mode is enabled.
AccessGate *accessgate.Gate
}
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) DisplayURLs ¶
func (*Server) HandlerForDesktopBridge ¶ added in v0.6.8
func (*Server) ListenLabel ¶
func (*Server) RuntimeAttachStatus ¶ added in v0.6.8
func (s *Server) RuntimeAttachStatus() runtimemanagement.RuntimeAttachStatus
func (*Server) RuntimeControlEndpointForDesktopBridge ¶ added in v0.6.8
func (s *Server) RuntimeControlEndpointForDesktopBridge() *runtimemanagement.RuntimeControlEndpoint
func (*Server) RuntimeServiceSnapshotForDesktopBridge ¶ added in v0.6.8
func (s *Server) RuntimeServiceSnapshotForDesktopBridge() runtimeservice.Snapshot
Click to show internal directories.
Click to hide internal directories.