Documentation ¶
Index ¶
Constants ¶
View Source
const ChainloopPredicateTypeV1 = "chainloop.dev/attestation/v0.1"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttestationRenderer ¶
type AttestationRenderer struct {
// contains filtered or unexported fields
}
func NewAttestationRenderer ¶
func NewAttestationRenderer(state *v1.CraftingState, keyPath, builderVersion, builderDigest string, logger *zerolog.Logger) (*AttestationRenderer, error)
type ChainloopMaintainer ¶
type ChainloopMetadata ¶
type ChainloopProvenanceM ¶
type ChainloopProvenanceM struct { SLSA *SLSACommonProvenanceMaterial `json:"slsa,omitempty"` StringVal string `json:"stringVal,omitempty"` }
func (*ChainloopProvenanceM) String ¶
func (m *ChainloopProvenanceM) String() string
type ChainloopProvenanceMaterial ¶
type ChainloopProvenanceMaterial struct { Name string `json:"name"` Type string `json:"type"` Material *ChainloopProvenanceM `json:"material"` }
type ChainloopProvenancePredicateV1 ¶
type ChainloopProvenancePredicateV1 struct { Metadata *ChainloopMetadata `json:"metadata"` Materials []*ChainloopProvenanceMaterial `json:"materials,omitempty"` Builder *slsacommon.ProvenanceBuilder `json:"builder"` BuildType string `json:"buildType"` Env map[string]string `json:"env,omitempty"` RunnerType string `json:"runnerType"` RunnerURL string `json:"runnerURL,omitempty"` }
type ChainloopRenderer ¶
type ChainloopRenderer struct {
// contains filtered or unexported fields
}
func (*ChainloopRenderer) Header ¶
func (r *ChainloopRenderer) Header() (*in_toto.StatementHeader, error)
func (*ChainloopRenderer) Predicate ¶
func (r *ChainloopRenderer) Predicate() (interface{}, error)
type SLSACommonProvenanceMaterial ¶
type SLSACommonProvenanceMaterial struct {
*slsacommon.ProvenanceMaterial
}
func (*SLSACommonProvenanceMaterial) String ¶
func (m *SLSACommonProvenanceMaterial) String() (res string)
Click to show internal directories.
Click to hide internal directories.