MCPcopy Create free account
hub / github.com/cli/cli / MockSigstoreVerifier

Struct MockSigstoreVerifier

pkg/cmd/attestation/verification/mock_verifier.go:16–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14)
15
16type MockSigstoreVerifier struct {
17 t *testing.T
18 mockResults []*AttestationProcessingResult
19}
20
21func (v *MockSigstoreVerifier) Verify([]*api.Attestation, verify.PolicyBuilder) ([]*AttestationProcessingResult, error) {
22 if v.mockResults != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected