Documentation
¶
Index ¶
Constants ¶
View Source
const ( ScopeHome = "home" ScopeWorkspace = "workspace" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Document ¶
type Document struct {
Scope string `json:"scope"`
Workspace string `json:"workspace,omitempty"`
Path string `json:"path"`
Exists bool `json:"exists"`
Revision string `json:"revision"`
Raw string `json:"raw"`
Layer map[string]any `json:"layer"`
Problems []string `json:"problems"`
Sections []SectionInfo `json:"sections"`
}
type SectionInfo ¶
type SectionInfo struct {
Name string `json:"name"`
Kind agentdecl.SectionKind `json:"kind"`
}
type SectionView ¶
type SectionView struct {
Section string `json:"section"`
Kind agentdecl.SectionKind `json:"kind"`
Scope string `json:"scope"`
Workspace string `json:"workspace,omitempty"`
InLayer bool `json:"inLayer"`
Layer any `json:"layer"`
Effective any `json:"effective"`
Items []Item `json:"items,omitempty"`
Revision string `json:"revision"`
}
Click to show internal directories.
Click to hide internal directories.