Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PackManifest ¶
type PackManifest struct {
SchemaID string `json:"schema_id"`
SchemaVersion string `json:"schema_version"`
CreatedAt string `json:"created_at"`
PackID string `json:"pack_id"`
PackType string `json:"pack_type"`
Contents []PackEntry `json:"contents"`
Signatures []Signature `json:"signatures,omitempty"`
}
type Result ¶
type Result struct {
PackID string `json:"pack_id"`
PackType string `json:"pack_type"`
FilesVerified int `json:"files_verified"`
SignaturesVerified int `json:"signatures_verified"`
ProofRecordsVerified int `json:"proof_records_verified,omitempty"`
}
func VerifyPack ¶
func VerifyPackWithOptions ¶
func VerifyPackWithOptions(path string, opts VerifyOpts) (*Result, error)
type RunpackFile ¶
type RunpackManifest ¶
type RunpackResult ¶
type RunpackResult struct {
RunID string `json:"run_id"`
ManifestDigest string `json:"manifest_digest"`
FilesVerified int `json:"files_verified"`
SignaturesVerified int `json:"signatures_verified"`
}
func VerifyRunpack ¶
func VerifyRunpackWithOptions ¶
func VerifyRunpackWithOptions(path string, opts VerifyOpts) (*RunpackResult, error)
type VerifyOpts ¶
type VerifyOpts struct {
VerifySignatures bool
PublicKey ed25519.PublicKey
Cosign signing.CosignVerifyOpts
}
Click to show internal directories.
Click to hide internal directories.