Documentation ¶
Index ¶
- Constants
- func NewEntry() types.EntryImpl
- type V002Entry
- func (v V002Entry) APIVersion() string
- func (v V002Entry) ArtifactHash() (string, error)
- func (v *V002Entry) AttestationKey() string
- func (v *V002Entry) AttestationKeyValue() (string, []byte)
- func (v *V002Entry) Canonicalize(_ context.Context) ([]byte, error)
- func (v V002Entry) CreateFromArtifactProperties(_ context.Context, props types.ArtifactProperties) (models.ProposedEntry, error)
- func (v V002Entry) IndexKeys() ([]string, error)
- func (v V002Entry) Insertable() (bool, error)
- func (v *V002Entry) Unmarshal(pe models.ProposedEntry) error
- func (v V002Entry) Verifiers() ([]pki.PublicKey, error)
Constants ¶
View Source
const (
APIVERSION = "0.0.2"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type V002Entry ¶
type V002Entry struct { IntotoObj models.IntotoV002Schema // contains filtered or unexported fields }
func (V002Entry) APIVersion ¶
func (V002Entry) ArtifactHash ¶
func (*V002Entry) AttestationKey ¶
AttestationKey returns the digest of the attestation that was uploaded, to be used to lookup the attestation from storage
func (*V002Entry) AttestationKeyValue ¶
AttestationKeyValue returns both the key and value to be persisted into attestation storage
func (*V002Entry) Canonicalize ¶
func (V002Entry) CreateFromArtifactProperties ¶
func (v V002Entry) CreateFromArtifactProperties(_ context.Context, props types.ArtifactProperties) (models.ProposedEntry, error)
func (V002Entry) Insertable ¶
Click to show internal directories.
Click to hide internal directories.