Documentation ¶
Index ¶
- Constants
- type Attestor
- func (a *Attestor) Attest(ctx *attestation.AttestationContext) error
- func (a *Attestor) BackRefs() map[string]cryptoutil.DigestSet
- func (a *Attestor) Name() string
- func (a *Attestor) RunType() attestation.RunType
- func (a *Attestor) Subjects() map[string]cryptoutil.DigestSet
- func (a *Attestor) Type() string
- type ErrNotGitlab
Constants ¶
View Source
const ( Name = "gitlab" Type = "https://witness.dev/attestations/gitlab/v0.1" RunType = attestation.PreMaterialRunType )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attestor ¶
type Attestor struct { JWT *jwt.Attestor `json:"jwt,omitempty"` CIConfigPath string `json:"ciconfigpath"` JobID string `json:"jobid"` JobImage string `json:"jobimage"` JobName string `json:"jobname"` JobStage string `json:"jobstage"` JobUrl string `json:"joburl"` PipelineID string `json:"pipelineid"` PipelineUrl string `json:"pipelineurl"` ProjectID string `json:"projectid"` ProjectUrl string `json:"projecturl"` RunnerID string `json:"runnerid"` CIHost string `json:"cihost"` CIServerUrl string `json:"ciserverurl"` }
func (*Attestor) Attest ¶
func (a *Attestor) Attest(ctx *attestation.AttestationContext) error
func (*Attestor) RunType ¶
func (a *Attestor) RunType() attestation.RunType
type ErrNotGitlab ¶
type ErrNotGitlab struct{}
func (ErrNotGitlab) Error ¶
func (e ErrNotGitlab) Error() string
Click to show internal directories.
Click to hide internal directories.