storage

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttestationStorage

type AttestationStorage interface {
	StoreAttestation(ctx context.Context, key string, attestation []byte) error
	FetchAttestation(ctx context.Context, key string) ([]byte, error)
}

func NewAttestationStorage

func NewAttestationStorage() (AttestationStorage, error)

type Blob

type Blob struct {
	// contains filtered or unexported fields
}

func (*Blob) FetchAttestation added in v0.3.0

func (b *Blob) FetchAttestation(ctx context.Context, key string) ([]byte, error)

func (*Blob) StoreAttestation

func (b *Blob) StoreAttestation(ctx context.Context, key string, attestation []byte) error

Jump to

Keyboard shortcuts

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