Documentation
¶
Overview ¶
Package workspace provides workspace discovery and management for monox.
Index ¶
- func Init(path string, name string) error
- type Workspace
- func (w *Workspace) GetProject(name string) (*api.Project, bool)
- func (w *Workspace) GetProjectByPath(path string) (*api.Project, bool)
- func (w *Workspace) GetProjectsByLanguage(language string) []*api.Project
- func (w *Workspace) GetProjectsByTag(tag string) []*api.Project
- func (w *Workspace) ListProjects() []*api.Project
- func (w *Workspace) Validate() []error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Workspace ¶
Workspace represents a monox workspace.
func (*Workspace) GetProject ¶
GetProject returns a project by name.
func (*Workspace) GetProjectByPath ¶
GetProjectByPath returns a project by path.
func (*Workspace) GetProjectsByLanguage ¶
GetProjectsByLanguage returns projects with a specific language.
func (*Workspace) GetProjectsByTag ¶
GetProjectsByTag returns projects matching a tag.
func (*Workspace) ListProjects ¶
ListProjects returns all projects.
Click to show internal directories.
Click to hide internal directories.