utils

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 1 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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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