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

Function commonMockClient

cmd/validate/common_test.go:34–37  ·  view source on GitHub ↗
(client *fake.FakeClient)

Source from the content-addressed store, hash-verified

32)
33
34func commonMockClient(client *fake.FakeClient) {
35 // TODO: Replace mock.Anything calls with specific values
36 client.On("Head", mock.Anything).Return(&v1.Descriptor{MediaType: types.OCIManifestSchema1}, nil)
37}
38
39type MockDownloader struct {
40 mock.Mock

Calls

no outgoing calls

Tested by

no test coverage detected