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

Struct AttestationDetail

pkg/cmd/attestation/inspect/bundle.go:49–55  ·  view source on GitHub ↗

AttestationDetail captures attestation source details that will be returned by the inspect command

Source from the content-addressed store, hash-verified

47// AttestationDetail captures attestation source details
48// that will be returned by the inspect command
49type AttestationDetail struct {
50 OrgName string `json:"orgName"`
51 OrgID string `json:"orgId"`
52 RepositoryName string `json:"repositoryName"`
53 RepositoryID string `json:"repositoryId"`
54 WorkflowID string `json:"workflowId"`
55}
56
57func getOrgAndRepo(tenant, repoURL string) (string, string, error) {
58 var after string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected