dependency

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	DefaultRegistry string
	// contains filtered or unexported fields
}

func NewManager

func NewManager(ctx context.CLIContext) *Manager

func (*Manager) GetInstalledCommands

func (mgr *Manager) GetInstalledCommands(scope ScopeType) ([]schema.DependenciesIndexEntry, error)

func (*Manager) GetUpdateFor

func (mgr *Manager) GetUpdateFor(dep schema.Dependency) (Updates, error)

func (*Manager) InstallDependency

func (mgr *Manager) InstallDependency(dep schema.Dependency, scope ScopeType) (*schema.Dependency, error)

type ScopeType

type ScopeType string
const (
	GlobalScope  ScopeType = "global"
	ProjectScope ScopeType = "project"
)

type Updates

type Updates struct {
	NonBreaking string
	Breaking    string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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