goproxy

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const ResolveMethod = "go-proxy"

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(ctx context.Context, intent binny.VersionIntent) (string, error)

func (VersionResolver) UpdateVersion

func (v VersionResolver) UpdateVersion(ctx context.Context, intent binny.VersionIntent) (string, error)

Jump to

Keyboard shortcuts

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