utils

package
v2.7.2 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MatchHostname

func MatchHostname(image, hostname string) bool

MatchHostname returns true if the image hostname matches the specified hostname.

func MatchImage

func MatchImage(from string, to ...string) bool

MatchImage returns true if the image name matches an image in the list. Note the image tag is not used in the matching logic.

func MatchImageDynamic added in v2.7.1

func MatchImageDynamic(from string, to ...string) bool

MatchImageDynamic check if image is in list based on list. If an list entry has a tag specified it only will match if both are the same, else the tag is ignored.

Types

This section is empty.

Jump to

Keyboard shortcuts

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