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 ErrCannotReadEntries = fmt.Errorf("cannot read entries")
Functions ¶
This section is empty.
Types ¶
type Entrypoint ¶
type LocalManifesto ¶
type LocalManifesto struct {
Modules []module.Manifesto `json:"modules"`
Entries []Entrypoint `json:"entries,omitempty"`
}
func LoadLocalManifesto ¶
func LoadLocalManifesto(projPath string) (*LocalManifesto, 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.