Documentation ¶
Index ¶
- type Workspace
- func (w *Workspace) Close()
- func (w *Workspace) GetControlsForArg(arg string) []*modconfig.Control
- func (w *Workspace) GetNamedQuery(queryName string) (*modconfig.Query, bool)
- func (w *Workspace) GetNamedQueryMap() map[string]*modconfig.Query
- func (w *Workspace) GetResourceMaps() *modconfig.WorkspaceResourceMaps
- func (w *Workspace) LoadExclusions() error
- func (w *Workspace) SetupWatcher(client *db.Client) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Workspace ¶
type Workspace struct { Path string Mod *modconfig.Mod // maps of mod resources from this mod and ALL DEPENDENCIES, keyed by long and short names QueryMap map[string]*modconfig.Query ControlMap map[string]*modconfig.Control ControlGroupMap map[string]*modconfig.ControlGroup // contains filtered or unexported fields }
func (*Workspace) GetControlsForArg ¶
GetControlsForArg :: resolve the arg into one or more controls
func (*Workspace) GetNamedQuery ¶
func (*Workspace) GetNamedQueryMap ¶
func (*Workspace) GetResourceMaps ¶ added in v0.5.0
func (w *Workspace) GetResourceMaps() *modconfig.WorkspaceResourceMaps
func (*Workspace) LoadExclusions ¶
Click to show internal directories.
Click to hide internal directories.