dependencymanager

package
v1.12.0-evm-gateway-M1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 15 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:              "dependencies",
	Short:            "Manage contracts and dependencies",
	TraverseChildren: true,
	GroupID:          "manager",
	Aliases:          []string{"deps"},
}

Functions

This section is empty.

Types

type DependencyInstaller

type DependencyInstaller struct {
	Gateways map[string]gateway.Gateway
	Logger   output.Logger
	State    *flowkit.State
	Mutex    sync.Mutex
}

func NewDependencyInstaller

func NewDependencyInstaller(logger output.Logger, state *flowkit.State) (*DependencyInstaller, error)

NewDependencyInstaller creates a new instance of DependencyInstaller

func (*DependencyInstaller) Add

func (di *DependencyInstaller) Add(depSource, customName string) error

Add processes a single dependency and installs it and any dependencies it has, as well as adding it to the state

func (*DependencyInstaller) Install

func (di *DependencyInstaller) Install() error

Install processes all the dependencies in the state and installs them and any dependencies they have

Jump to

Keyboard shortcuts

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