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

imageref

package
v2.14.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2026 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

Package imageref contains shared image-reference parsing operations.

Index

Constants

View Source
const LocalBuildRegistry = "arcane.local"

LocalBuildRegistry is Arcane's reserved registry host for locally built image tags.

View Source
const UpdateCheckLabel = "com.getarcaneapp.arcane.update-check"

UpdateCheckLabel opts a container or service out of update checks and notifications. Automatic installation is governed separately by the updater label and the UI exclusion list.

Variables

This section is empty.

Functions

func IsUpdateCheckDisabled added in v2.14.0

func IsUpdateCheckDisabled(labels map[string]string) bool

IsUpdateCheckDisabled reports whether labels opt the resource out of update monitoring. Checks stay enabled unless the value parses as false.

func ParseUpdateLookup

func ParseUpdateLookup(imageRef string) (originalRef, tag string, repositoryCandidates map[string]struct{}, ok bool)

ParseUpdateLookup normalizes an image reference into the repository and tag candidates used to match persisted update records.

func UpdatePolicyKey added in v2.11.0

func UpdatePolicyKey(imageRef string, labels map[string]string) string

UpdatePolicyKey identifies the configured reference, selection policy, and monitoring eligibility a stored check result belongs to. Automatic installation eligibility is deliberately not part of the key.

Types

This section is empty.

Jump to

Keyboard shortcuts

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