Documentation
¶
Index ¶
- func Handle(args []string) error
- func ListModuleFiles(root string, moduleDir string) ([]string, error)
- func Render(w io.Writer, modules []Module) error
- func RenderAnnotated(w io.Writer, modules []Module, annotations map[string]ModuleAnnotation) error
- func UpdateLocalDepsAndRender(w io.Writer, dir string, dryRun bool) error
- type DependencyAnnotation
- type FindOptions
- type Module
- type ModuleAnnotation
- type ModuleReplace
- type ModuleRequire
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListModuleFiles ¶ added in v0.0.106
func RenderAnnotated ¶ added in v0.0.106
Types ¶
type DependencyAnnotation ¶ added in v0.0.106
type FindOptions ¶ added in v0.0.106
type FindOptions struct {
NoTags bool
}
type Module ¶
type Module struct {
Dir string
Path string
Depends []string
LatestTag string
LatestTagKnown bool
Requires []ModuleRequire
Replaces []ModuleReplace
// contains filtered or unexported fields
}
func FindWithOptions ¶ added in v0.0.106
func FindWithOptions(root string, opts FindOptions) ([]Module, error)
type ModuleAnnotation ¶ added in v0.0.106
type ModuleAnnotation struct {
UpdatedDeps []DependencyAnnotation
PreviousTag string
NewTag string
}
type ModuleReplace ¶ added in v0.0.106
type ModuleRequire ¶ added in v0.0.106
Click to show internal directories.
Click to hide internal directories.