Documentation
¶
Index ¶
Constants ¶
View Source
const ( Version = "managed-install-v1" Mode = "observe" Agent = "claude" DefaultPath = "/Library/Application Support/Kontext/managed.json" EnvPath = "KONTEXT_MANAGED_CONFIG" )
Variables ¶
View Source
var ErrNotManaged = errors.New("managed config not found")
Functions ¶
func PathFromEnv ¶
func PathFromEnv() string
Types ¶
type Config ¶
type Credentials ¶
type Credentials struct {
InstallTokenRef TokenRef `json:"install_token_ref"`
}
type LoadedConfig ¶
func Load ¶
func Load() (LoadedConfig, error)
func LoadFile ¶
func LoadFile(path string) (LoadedConfig, error)
Click to show internal directories.
Click to hide internal directories.