Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsBuildError ¶
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 types.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 { // The remainder is redundant with the above. Refactoring this will follow in a later story so as not to blow // up the one that necessitates adding the primer at this level. // https://activestatef.atlassian.net/browse/DX-2869 Output output.Outputer Prompt prompt.Prompter Project *project.Project Auth *authentication.Auth Config *config.Instance Analytics analytics.Dispatcher SvcModel *model.SvcModel // contains filtered or unexported fields }
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
}
func (ResolveNamespaceError) Error ¶
func (e ResolveNamespaceError) Error() string
Click to show internal directories.
Click to hide internal directories.