MCPcopy Index your code
hub / github.com/cli/cli / makeTestAttestation

Function makeTestAttestation

pkg/cmd/attestation/api/mock_client.go:17–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15}
16
17func makeTestAttestation() Attestation {
18 return Attestation{
19 Bundle: data.SigstoreBundle(nil),
20 BundleURL: "https://example.com",
21 Initiator: "user",
22 }
23}
24
25type MockClient struct {
26 OnGetByDigest func(params FetchParams) ([]*Attestation, error)

Calls 1

SigstoreBundleFunction · 0.92