...

Package image

import "sigs.k8s.io/kustomize/api/internal/image"
Overview
Index

Overview ▾

func IsImageMatched

func IsImageMatched(s, t string) bool

IsImageMatched returns true if the value of t is identical to the image name in the full image name and tag as given by s.

func Split

func Split(imageName string) (name string, tag string, digest string)

Split separates and returns the name and tag parts from the image string using either colon `:` or at `@` separators. image reference pattern: [[host[:port]/]component/]component[:tag][@digest]