goproxy

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const ResolveMethod = "goproxy"

Variables

This section is empty.

Functions

func IsResolveMethod

func IsResolveMethod(method string) bool

Types

type VersionResolutionParameters

type VersionResolutionParameters struct {
	Module                 string `json:"module" yaml:"module" mapstructure:"module"`
	AllowUnresolvedVersion bool   `json:"allow-unresolved-version" yaml:"allow-unresolved-version" mapstructure:"allow-unresolved-version"`
}

type VersionResolver

type VersionResolver struct {
	// contains filtered or unexported fields
}

func (VersionResolver) ResolveVersion

func (v VersionResolver) ResolveVersion(want, _ string) (string, error)

func (VersionResolver) UpdateVersion

func (v VersionResolver) UpdateVersion(want, constraint string) (string, error)

Jump to

Keyboard shortcuts

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