Documentation ¶
Index ¶
Constants ¶
View Source
const ( Name = "environment" Type = "https://witness.dev/attestations/environment/v0.1" RunType = attestation.PreRunType )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attestor ¶
type Attestor struct { OS string `json:"os"` Hostname string `json:"hostname"` Username string `json:"username"` Variables map[string]string `json:"variables,omitempty"` }
func (*Attestor) Attest ¶
func (a *Attestor) Attest(ctx *attestation.AttestationContext) error
func (*Attestor) RunType ¶
func (a *Attestor) RunType() attestation.RunType
Click to show internal directories.
Click to hide internal directories.