Documentation
¶
Overview ¶
Package depview groups one scan's dependencies by service: the direct ones the attach rule puts on a service, and the transitive ones its manifest folders reach through the lockfiles. What no service carries is grouped last, as "not on a service".
Index ¶
Constants ¶
const Rest = "not on a service"
Rest is the name of the group for dependencies on no service.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Dep ¶
type Dep struct {
Key string `json:"key"`
Ecosystem string `json:"ecosystem"`
Name string `json:"name"`
Version string `json:"version,omitempty"`
Scope string `json:"scope,omitempty"` // prod, dev, unknown
Licence string `json:"licence,omitempty"` // as declared; empty: not declared
Direct bool `json:"direct"`
Via []string `json:"via,omitempty"`
Path string `json:"path"`
Line int `json:"line"`
Change string `json:"change,omitempty"` // new, upgraded, downgraded, changed; empty: unchanged or no comparison
WasVersion string `json:"was_version,omitempty"`
}
Dep is one dependency as a view lists it.
type Service ¶
type Service struct {
Service string `json:"service"` // key; "" for what no service carries
Name string `json:"name"`
Direct []Dep `json:"direct"`
Transitive []Dep `json:"transitive"`
}
Service is the dependencies of one service.