Documentation
¶
Index ¶
- func AppendImageUpdateRecordIDToOldIDs(oldIDs []string, recordID string) []string
- func CurrentContainerImageID(c container.Summary, inspect *container.InspectResponse) string
- func ResolveContainerImageMatch(c container.Summary, inspect *container.InspectResponse, ...) (newRef, match string)
- func ShouldInspectUnmatchedContainerForImageMatch(c container.Summary) bool
- func VerifyComposeServiceUpdatedImage(ctx context.Context, dcli *client.Client, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendImageUpdateRecordIDToOldIDs ¶
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 ¶
ShouldInspectUnmatchedContainerForImageMatch reports whether inspect may recover a tag match.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.