resolver

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result struct {
	CogBinary  string
	CogVersion string
	SDKVersion string
	// SDKPatchVersion is the version to inject into cog.yaml build.sdk_version.
	// This is intentionally empty when a wheel is used without explicit --sdk-version.
	SDKPatchVersion string
	SDKWheel        string
}

Result holds resolved versions and paths

func Resolve

func Resolve(cogBinary, cogVersion, cogRef, sdkVersion, sdkWheel string, manifestDefaults map[string]string) (*Result, error)

Resolve resolves the cog binary and SDK version to use

Jump to

Keyboard shortcuts

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