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

Function BuildSigstoreJsMockResult

pkg/cmd/attestation/verification/mock_verifier.go:95–103  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

93}
94
95func BuildSigstoreJsMockResult(t *testing.T) AttestationProcessingResult {
96 bundle := data.SigstoreBundle(t)
97 buildConfigURI := "https://github.com/sigstore/sigstore-js/.github/workflows/build.yml@refs/heads/main"
98 buildSignerURI := "https://github.com/github/example/.github/workflows/release.yml@refs/heads/main"
99 sourceRepoOwnerURI := "https://github.com/sigstore"
100 sourceRepoURI := "https://github.com/sigstore/sigstore-js"
101 issuer := "https://token.actions.githubusercontent.com"
102 return BuildMockResult(bundle, buildConfigURI, buildSignerURI, sourceRepoOwnerURI, sourceRepoURI, issuer)
103}

Callers 2

TestVerifyAttestationsFunction · 0.92
NewMockSigstoreVerifierFunction · 0.85

Calls 2

SigstoreBundleFunction · 0.92
BuildMockResultFunction · 0.85

Tested by 1

TestVerifyAttestationsFunction · 0.74