image

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Expand

func Expand(name string) string

Expand returns the fully qualified image name.

func Match

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

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

func MatchHostname

func MatchHostname(image, hostname string) bool

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

func MatchTag

func MatchTag(a, b string) bool

MatchTag returns true if the image name matches an image in the list, including the tag.

func Trim

func Trim(name string) string

Trim returns the short image name without tag.

Types

This section is empty.

Jump to

Keyboard shortcuts

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