utils

package
v0.0.0-...-035f276 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetImageReference

func GetImageReference(imageRef string) (registry.IImageReference, error)

GetImageReference receives image reference string (e.g. tomer.azurecr.io/redis:v1) Function extract and return received ref: registry and repository and identifiers like digest/tag, also saves the original ref str If image reference is not in right format or unknown, returns error.

func IsRegistryEndpointACR

func IsRegistryEndpointACR(registryEndpoint string) bool

IsRegistryEndpointACR return is registryEndpoing is ACR based (ACR suffix)

Types

This section is empty.

Jump to

Keyboard shortcuts

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