Documentation
¶
Index ¶
- func BuildEnvironmentURL(controlplaneBaseURL string, envPublicID string) string
- type BrandMark
- type BrandMarkSize
- type Config
- type ControlPlaneSetup
- type ControlPlaneStatus
- type Controller
- type Event
- type EventKind
- type HostInfo
- type LogBuffer
- type LogLine
- type Mode
- type Phase
- type Recorder
- type Renderer
- type RendererOptions
- type Reporter
- type ResolveInput
- type Result
- type RichFocus
- type RichPanel
- type RuntimeOverview
- type RuntimeProviderLink
- type RuntimeSession
- type RuntimeWorkload
- type Severity
- type Sink
- type Snapshot
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildEnvironmentURL ¶
Types ¶
type BrandMark ¶
type BrandMark struct {
Size BrandMarkSize
Lines []string
MinWidth int
MinHeight int
ANSIAccent bool
}
func CompactBrandMark ¶
func CompactBrandMark() BrandMark
func CompactBrandMarkFrame ¶
func TinyBrandMark ¶
func TinyBrandMark() BrandMark
type BrandMarkSize ¶
type BrandMarkSize string
const ( BrandMarkCompact BrandMarkSize = "compact" BrandMarkTiny BrandMarkSize = "tiny" )
type Config ¶
func ResolveConfig ¶
func ResolveConfig(requested Mode, in ResolveInput) Config
type ControlPlaneSetup ¶
type ControlPlaneStatus ¶
type Controller ¶
type Controller interface {
ConnectControlPlane(ctx context.Context) error
DisconnectControlPlane(ctx context.Context) error
ConfigureControlPlane(ctx context.Context, setup ControlPlaneSetup) (ControlPlaneStatus, error)
ControlPlaneStatus() ControlPlaneStatus
RuntimeOverview() RuntimeOverview
RuntimeSessions() []RuntimeSession
}
type HostInfo ¶
func DetectHostInfo ¶
func DetectHostInfo() HostInfo
type LogBuffer ¶
type LogBuffer struct {
// contains filtered or unexported fields
}
func NewLogBuffer ¶
type Phase ¶
type Phase string
const ( PhaseResolveState Phase = "resolve_state" PhaseAcquireLock Phase = "acquire_lock" PhaseLoadConfig Phase = "load_config" PhaseBootstrap Phase = "bootstrap" PhaseStartServices Phase = "start_services" PhaseStartLocalUI Phase = "start_local_ui" PhaseConnectControl Phase = "connect_control" PhaseReady Phase = "ready" PhaseShutdown Phase = "shutdown" )
type Renderer ¶
type Renderer struct {
// contains filtered or unexported fields
}
func NewRendererWithOptions ¶
func NewRendererWithOptions(w io.Writer, cfg Config, opts RendererOptions) *Renderer
func (*Renderer) SetController ¶
func (r *Renderer) SetController(controller Controller)
type RendererOptions ¶
type Reporter ¶
type Reporter struct {
// contains filtered or unexported fields
}
func NewReporter ¶
func (*Reporter) UpdateSnapshot ¶
type ResolveInput ¶
type RuntimeOverview ¶
type RuntimeOverview struct {
Version string
Commit string
BuildTime string
ProtocolVersion string
Compatibility string
CompatibilityMessage string
MinimumDesktopVersion string
MinimumRuntimeVersion string
ServiceOwner string
DesktopManaged bool
EffectiveRunMode string
RemoteEnabled bool
OpenReadinessState string
OpenReadinessReasonCode string
OpenReadinessMessage string
Workload RuntimeWorkload
ProviderLink RuntimeProviderLink
}
type RuntimeProviderLink ¶
type RuntimeSession ¶
type RuntimeWorkload ¶
type Snapshot ¶
type Snapshot struct {
Version string
Commit string
RequestedRunMode string
EffectiveRunMode string
PresentationMode string
DesktopManaged bool
RemoteEnabled bool
ControlChannelEnabled bool
LocalUIEnabled bool
ProviderOrigin string
ControlplaneBaseURL string
ControlplaneProviderID string
EnvPublicID string
StateDir string
LocalUIBind string
LocalUIURLs []string
LocalUIExposure runtimemanagement.LocalUIExposure
EnvironmentURL string
RuntimeControlSocketPath string
}
Click to show internal directories.
Click to hide internal directories.