MCPcopy
hub / github.com/google/go-containerregistry / newErrBadName

Function newErrBadName

pkg/name/errors.go:38–40  ·  view source on GitHub ↗

newErrBadName returns a ErrBadName which returns the given formatted string from Error().

(fmtStr string, args ...any)

Source from the content-addressed store, hash-verified

36
37// newErrBadName returns a ErrBadName which returns the given formatted string from Error().
38func newErrBadName(fmtStr string, args ...any) *ErrBadName {
39 return &ErrBadName{fmt.Sprintf(fmtStr, args...)}
40}
41
42// IsErrBadName returns true if the given error is an ErrBadName.
43//

Callers 7

NewRepositoryFunction · 0.85
NewDigestFunction · 0.85
checkElementFunction · 0.85
NewTagFunction · 0.85
ParseReferenceFunction · 0.85
checkRegistryFunction · 0.85
NewRegistryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…