kubernetes: k8s.io/kubernetes/pkg/util/parsers Index | Files

package parsers

import "k8s.io/kubernetes/pkg/util/parsers"

Index

Package Files

parsers.go

Constants

const (
    // DefaultImageTag is the default tag for docker image.
    DefaultImageTag = "latest"
)

func ParseImageName Uses

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.

Package parsers imports 4 packages (graph) and is imported by 250 packages. Updated 2019-06-24. Refresh now. Tools for package owners.