dependencymanager

package
v1.13.1-test-3 Latest Latest
Warning

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

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

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