requirements

package
v0.0.0-...-98ed532 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: BSD-3-Clause Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrNoMatches

type ErrNoMatches struct {
	*locale.LocalizedError
	Query        string
	Alternatives *string
}

type PackageVersion

type PackageVersion struct {
	captain.NameVersionValue
}

func (*PackageVersion) Set

func (pv *PackageVersion) Set(arg string) error

type Requirement

type Requirement struct {
	Name          string
	Version       string
	Revision      *int
	BitWidth      int // Only needed for platform requirements
	Namespace     *model.Namespace
	NamespaceType *model.NamespaceType
	Operation     bpModel.Operation
	// contains filtered or unexported fields
}

Requirement represents a package, language or platform requirement For now, be aware that you should never provide BOTH ns AND nsType, one or the other should always be nil, but never both. The refactor should clean this up.

type RequirementOperation

type RequirementOperation struct {
	Output    output.Outputer
	Prompt    prompt.Prompter
	Project   *project.Project
	Auth      *authentication.Auth
	Config    *config.Instance
	Analytics analytics.Dispatcher
	SvcModel  *model.SvcModel
}

func NewRequirementOperation

func NewRequirementOperation(prime primeable) *RequirementOperation

func (*RequirementOperation) ExecuteRequirementOperation

func (r *RequirementOperation) ExecuteRequirementOperation(ts *time.Time, requirements ...*Requirement) (rerr error)

ExecuteRequirementOperation executes the operation on the requirement This has become quite unwieldy, and is ripe for a refactor - https://activestatef.atlassian.net/browse/DX-1897

type ResolveNamespaceError

type ResolveNamespaceError struct {
	Name string
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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