Help us shape the future of Go! Take the 2026 Go Developer Survey

pin

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrRule = errors.New("pin rule")
)

Functions

func Check

func Check(app config.App, rel config.Release, current, tag string) (bool, error)

func ImageOnly

func ImageOnly(cfg config.Config, files []forge.File) bool

func Line

func Line(content []byte) (string, bool)

func ParseRef

func ParseRef(ref string) (repo, tag string)

func Path

func Path(app config.App) string

func Read

func Read(root string, app config.App) (string, error)

func Replace

func Replace(content []byte, app config.App, rel config.Release, tag string) ([]byte, error)

func Set

func Set(root string, app config.App, rel config.Release, tag string) error

func ValidApp

func ValidApp(name string) bool

func Verify

func Verify(root string, cfg config.Config) []error

func VerifyRef

func VerifyRef(cfg config.Config, app config.App, ref string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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