MCPcopy Create free account
hub / github.com/conforma/cli / ResolveDigest

Method ResolveDigest

internal/utils/oci/fake/client.go:128–132  ·  view source on GitHub ↗
(ref name.Reference)

Source from the content-addressed store, hash-verified

126}
127
128func (m *FakeClient) ResolveDigest(ref name.Reference) (string, error) {
129 args := m.Called(ref)
130
131 return args.String(0), args.Error(1)
132}
133
134func (m *FakeClient) Image(ref name.Reference) (v1.Image, error) {
135 args := m.Called(ref)

Callers

nothing calls this directly

Calls 2

ErrorMethod · 0.65
StringMethod · 0.45

Tested by

no test coverage detected