client-gok8s.io/client-go/pkg/util/parsers Index | Files

package parsers

import "k8s.io/client-go/pkg/util/parsers"

Index

Constants

const (
	DefaultImageTag = "latest"
)

Functions

func ParseImageName

func ParseImageName(image string) (string, string, string, error)

ParseImageName parses a docker image string into three parts: repo, tag and digest. If both tag and digest are empty, a default image tag will be returned.

Source Files

parsers.go

Version
v3.0.0+incompatible
Published
Jul 5, 2017
Platform
js/wasm
Imports
2 packages
Last checked
2 minutes ago

Tools for package owners.