Documentation ¶
Index ¶
Constants ¶
This section is empty.
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 *crafter.VersionedCraftingState, attClient pb.AttestationServiceClient, builderVersion, builderDigest string, signer sigstoresigner.Signer, opts ...Opt) (*AttestationRenderer, error)
func (*AttestationRenderer) Render ¶
Attestation (dsee envelope) -> { message: { Statement(in-toto): [subject, predicate] }, signature: "sig" }. NOTE: It currently only supports cosign key based signing.
func (*AttestationRenderer) RenderStatement ¶ added in v0.147.0
Render the in-toto statement skipping validations, dsse envelope wrapping nor signing
Click to show internal directories.
Click to hide internal directories.