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 SaveState bool TargetDir string SkipDeployments bool SkipAlias bool // contains filtered or unexported fields }
func NewDependencyInstaller ¶
func NewDependencyInstaller(logger output.Logger, state *flowkit.State, saveState bool, targetDir string, flags Flags) (*DependencyInstaller, error)
NewDependencyInstaller creates a new instance of DependencyInstaller
func (*DependencyInstaller) Add ¶
func (di *DependencyInstaller) Add(dep config.Dependency) error
Add processes a single dependency and installs it and any dependencies it has, as well as adding it to the state
func (*DependencyInstaller) AddBySourceString ¶ added in v1.20.0
func (di *DependencyInstaller) AddBySourceString(depSource, customName string) error
AddBySourceString processes a single dependency and installs it and any dependencies it has, as well as adding it to the state
func (*DependencyInstaller) AddMany ¶ added in v1.20.0
func (di *DependencyInstaller) AddMany(dependencies []config.Dependency) error
AddMany processes multiple dependencies and installs them as well as adding them 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
Click to show internal directories.
Click to hide internal directories.