Documentation ¶
Index ¶
- func Cleanup(fs filesystem.FileLoader, logger util.Logger) ([]string, diff.Diffs, error)
- func Deployments(curr string, fs filesystem.FileLoader, fix bool, path string, deps []string) ([]string, diff.Diffs, error)
- func Full(ctx context.Context, prj *project.Project, logger util.Logger) ([]string, error)
- func Ignored(prj *project.Project, fs filesystem.FileLoader, logger util.Logger) ([]string, error)
- func Imports(self string, fix bool, targetPath string, fs filesystem.FileLoader, ...) ([]string, diff.Diffs, error)
- func LoadDepsMap(projects project.Projects, minVersions int, pSvc *project.Service) (map[string]map[string][]string, error)
- func OnDepsUpgrade(ctx context.Context, prj *project.Project, up string, o string, n string, ...) error
- func SetDepsMap(ctx context.Context, projects project.Projects, dep *Dependency, ...) (string, error)
- func SetDepsProject(ctx context.Context, prjs project.Projects, key string, pSvc *project.Service, ...) (string, error)
- type Dependencies
- type Dependency
- type Pkg
- type Pkgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cleanup ¶
func Cleanup(fs filesystem.FileLoader, logger util.Logger) ([]string, diff.Diffs, error)
func Deployments ¶
func Deployments(curr string, fs filesystem.FileLoader, fix bool, path string, deps []string) ([]string, diff.Diffs, error)
func Ignored ¶ added in v0.7.15
func Ignored(prj *project.Project, fs filesystem.FileLoader, logger util.Logger) ([]string, error)
func LoadDepsMap ¶
func OnDepsUpgrade ¶
func SetDepsMap ¶
Types ¶
type Dependencies ¶
type Dependencies []*Dependency
func LoadDeps ¶
func LoadDeps( ctx context.Context, key string, path string, includeUpdates bool, fs filesystem.FileLoader, showAll bool, logger util.Logger, ) (Dependencies, error)
func LoadDepsEasyMode ¶
func LoadDepsEasyMode(key string, fs filesystem.FileLoader) (Dependencies, error)
func (Dependencies) Get ¶
func (d Dependencies) Get(k string) *Dependency
type Dependency ¶
type Dependency struct { Key string `json:"key"` Version string `json:"version,omitempty"` Available string `json:"available,omitempty"` References []string `json:"references,omitempty"` }
func ParseDependency ¶
func ParseDependency(line string) *Dependency
func (*Dependency) AddRef ¶
func (d *Dependency) AddRef(r string)
func (*Dependency) String ¶
func (d *Dependency) String() string
type Pkg ¶
Click to show internal directories.
Click to hide internal directories.