Versions in this module Expand all Collapse all v0 v0.0.10 Jul 2, 2026 Changes in this version + func AdminProfilesPath(root Root) string + func AliasesPath(root Root) string + func AppendHistory(root Root, action, alias, tunnelID, detail string) error + func EnsureDirs(root Root) error + func HistoryPath(root Root) string + func IsSecretReference(value string) bool + func LoadAliases(root Root) (map[string]AliasRecord, error) + func LoadProcesses(root Root) (map[string]ProcessRecord, error) + func NewError(message string) error + func NormalizeAlias(alias string) (string, error) + func ProcessesPath(root Root) string + func RejectInlineSecretMaterial(value string, field string) error + func SaveAdminProfiles(root Root, file AdminProfilesFile) error + func SaveAliases(root Root, records map[string]AliasRecord) error + func SaveProcesses(root Root, records map[string]ProcessRecord) error + func UTCNow() string + func ValidateSecretReference(value string, field string) error + type AdminProfile struct + AdminKey string + ControlPlaneBaseURL string + ControlPlaneURLPath string + Name string + UpdatedAt string + type AdminProfilesFile struct + ActiveProfile string + Profiles map[string]AdminProfile + func LoadAdminProfiles(root Root) (AdminProfilesFile, error) + type AliasRecord struct + AdminProfile string + Alias string + ConfigPath string + Description string + HealthURLFile string + Name string + OrganizationIDs []string + ProfileDir string + ProfileName string + ProfilePath string + TenantIDs []string + TunnelID string + UpdatedAt string + WorkspaceIDs []string + func AliasRecordFromTunnel(alias string, tunnelID string, name string, description string, ...) AliasRecord + type Error struct + func (e *Error) Error() string + type ProcessRecord struct + AdminProfile string + Alias string + Command string + ConfigPath string + HealthURLFile string + LogPath string + Mode string + PID int + ProfileDir string + ProfileName string + ProfilePath string + SessionName string + StartedAt string + TargetKind string + TargetValue string + TunnelID string + type Root struct + Path string + func ResolveRoot(lookupEnv func(string) (string, bool)) Root