match

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendImageUpdateRecordIDToOldIDs

func AppendImageUpdateRecordIDToOldIDs(oldIDs []string, recordID string) []string

AppendImageUpdateRecordIDToOldIDs includes SHA-like update record IDs in the old-image match set.

func CurrentContainerImageID

func CurrentContainerImageID(c container.Summary, inspect *container.InspectResponse) string

CurrentContainerImageID returns the best available image ID for a container.

func ResolveContainerImageMatch

func ResolveContainerImageMatch(c container.Summary, inspect *container.InspectResponse, oldIDToNewRef map[string]string, updatedNorm map[string]string) (newRef, match string)

ResolveContainerImageMatch finds the new image reference for a running container.

func ShouldInspectUnmatchedContainerForImageMatch

func ShouldInspectUnmatchedContainerForImageMatch(c container.Summary) bool

ShouldInspectUnmatchedContainerForImageMatch reports whether inspect may recover a tag match.

func VerifyComposeServiceUpdatedImage

func VerifyComposeServiceUpdatedImage(ctx context.Context, dcli *client.Client, projectName, serviceName, oldImageID string) error

VerifyComposeServiceUpdatedImage verifies that a compose service no longer runs oldImageID.

Types

This section is empty.

Jump to

Keyboard shortcuts

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