Documentation
¶
Index ¶
- Variables
- type Entrypoint
- type LocalManifesto
- func (m *LocalManifesto) AddModule(module module.Manifesto)
- func (m *LocalManifesto) FindLocalModule(moduleName string) (module.Manifesto, bool)
- func (m *LocalManifesto) LocalModules() []module.Manifesto
- func (m *LocalManifesto) ReadFromJSON(data []byte) error
- func (m *LocalManifesto) SaveAsLocalManifest(projPath string) error
- func (m *LocalManifesto) UpdateModule(module module.Manifesto)
- func (m *LocalManifesto) WriteToJSON() ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCannotGetLocalManifest = errsys.New("cannot get a local manifest", "Cannot get a local manifesto")
Functions ¶
This section is empty.
Types ¶
type Entrypoint ¶
type LocalManifesto ¶
type LocalManifesto struct {
Entries []Entrypoint `json:"entries,omitempty"`
Modules []module.Manifesto `json:"modules"`
}
func LoadLocalManifesto ¶
func LoadLocalManifesto(projPath string) (res LocalManifesto, err error)
func (*LocalManifesto) AddModule ¶
func (m *LocalManifesto) AddModule(module module.Manifesto)
func (*LocalManifesto) FindLocalModule ¶
func (m *LocalManifesto) FindLocalModule(moduleName string) (module.Manifesto, bool)
func (*LocalManifesto) LocalModules ¶
func (m *LocalManifesto) LocalModules() []module.Manifesto
func (*LocalManifesto) ReadFromJSON ¶
func (m *LocalManifesto) ReadFromJSON(data []byte) error
func (*LocalManifesto) SaveAsLocalManifest ¶
func (m *LocalManifesto) SaveAsLocalManifest(projPath string) error
func (*LocalManifesto) UpdateModule ¶
func (m *LocalManifesto) UpdateModule(module module.Manifesto)
func (*LocalManifesto) WriteToJSON ¶
func (m *LocalManifesto) WriteToJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.