Documentation ¶
Index ¶
Constants ¶
View Source
const ( Name = "maven" Type = "https://witness.dev/attestations/maven/v0.1" RunType = attestation.PreMaterialRunType )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attestor ¶
type Attestor struct { XMLName xml.Name `xml:"project" json:"-"` GroupId string `xml:"groupId" json:"groupid"` ArtifactId string `xml:"artifactId" json:"artifactid"` Version string `xml:"version" json:"version"` ProjectName string `xml:"name" json:"projectname"` Dependencies []MavenDependency `xml:"dependencies>dependency" json:"dependencies"` // contains filtered or unexported fields }
func (*Attestor) Attest ¶
func (a *Attestor) Attest(ctx *attestation.AttestationContext) error
func (*Attestor) RunType ¶
func (a *Attestor) RunType() attestation.RunType
func (*Attestor) Schema ¶ added in v0.4.0
func (a *Attestor) Schema() *jsonschema.Schema
type MavenDependency ¶
Click to show internal directories.
Click to hide internal directories.