build

package
v0.2.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OnDepsUpgrade

func OnDepsUpgrade(prj *project.Project, up string, o string, n string, pSvc *project.Service, logger *zap.SugaredLogger) error

Types

type Dependencies

type Dependencies []*Dependency

func LoadDeps

func LoadDeps(path string) (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"`
	Available  string   `json:"available"`
	References []string `json:"references"`
}

func (*Dependency) AddRef

func (d *Dependency) AddRef(r string)

func (*Dependency) String

func (d *Dependency) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL