storage

package
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 10 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