report

package
v0.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package report provides functions for reading and writing attestation reports of various formats.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseAttestation

func ParseAttestation(b []byte, inform string) (*spb.Attestation, error)

ParseAttestation parses an attestation report from a byte slice as a given format.

func ReadAttestation

func ReadAttestation(infile, inform string) (*spb.Attestation, error)

ReadAttestation reads an attestation report from a file.

func Transform

func Transform(report *spb.Attestation, outform string) ([]byte, error)

Transform returns the attestation in the outform marshalled format.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL