daggerpin

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EngineVersion

func EngineVersion(path string) (string, error)

EngineVersion reads dagger.json's engineVersion field.

func GoModDaggerVersion

func GoModDaggerVersion(path string) (string, error)

GoModDaggerVersion reads the root go.mod's effective dagger.io/dagger version: the `require` version, UNLESS a `replace dagger.io/dagger => ...` directive exists, in which case the replace directive's version is what actually gets built and therefore wins. Checking only `f.Require` would let a future replace directive silently defeat this guard's purpose (design.md D-B: drift must fail RED, never survive review).

Types

This section is empty.

Jump to

Keyboard shortcuts

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