Documentation ¶
Index ¶
- func FetchGraph(plugins []*api.Plugin, d common.Downloader, workingDir string, maxWorkers int, ...) (*api.Graph, error)
- func GetGraphPath(hash string, workingDir string) string
- func GetStorePath(workingDir string) string
- func LockPlugins(g *api.Graph, optional bool) (*api.PluginsRegistry, error)
- func NewNode(p *api.Plugin, workingDir string, optional bool) (*api.Graph_Node, error)
- func ReadGraph(graphPath string) (*api.Graph, error)
- func WriteGraph(g *api.Graph, graphPath string) error
- type Incompatibilities
- type Incompatibility
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchGraph ¶
func FetchGraph(plugins []*api.Plugin, d common.Downloader, workingDir string, maxWorkers int, optional bool) (*api.Graph, error)
FetchGraph computes the graph for a list of plugins or read it from the store
func GetGraphPath ¶
GetGraphPath returns the path to the plugin graph in the store
func GetStorePath ¶
GetStorePath returns the path to the store
func LockPlugins ¶
LockPlugins generates a fully-qualified registry of plugins from a graph
Types ¶
type Incompatibilities ¶
type Incompatibilities []Incompatibility
Incompatibilities maps a plugin to a target incompatibility
func FindIncompatibilities ¶
func FindIncompatibilities(plugins []*api.Plugin, lockedPlugins []*api.Plugin, g *api.Graph) (Incompatibilities, error)
FindIncompatibilities walks through a graph and check if there are missmatches between a list of requested plugins and the locked plugin versions.
func (Incompatibilities) Print ¶
func (incs Incompatibilities) Print()
Print prints a map of incompatibilities
Click to show internal directories.
Click to hide internal directories.