archivista

package
v0.26.2 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// StorageBackendArchivista is the name of the Archivista storage backend
	StorageBackendArchivista = "archivista"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

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

Backend is a storage backend that is capable of storing Payloaders that are signed and wrapped with a DSSE envelope. Archivista is an in-toto attestation storage service.

func NewStorageBackend

func NewStorageBackend(cfg config.Config) (*Backend, error)

NewStorageBackend returns a new Archivista StorageBackend that can store Payloaders that are signed and wrapped in a DSSE envelope

func (*Backend) RetrievePayload

func (b *Backend) RetrievePayload(_ context.Context, _ string) ([]byte, []byte, error)

RetrievePayload is not implemented for Archivista.

func (*Backend) RetrievePayloads

func (b *Backend) RetrievePayloads(_ context.Context, _ objects.TektonObject, _ config.StorageOpts) (map[string]string, error)

RetrievePayloads is not implemented for Archivista.

func (*Backend) RetrieveSignatures

func (b *Backend) RetrieveSignatures(_ context.Context, _ objects.TektonObject, _ config.StorageOpts) (map[string][]string, error)

RetrieveSignatures is not implemented for Archivista.

func (*Backend) StorePayload

func (b *Backend) StorePayload(ctx context.Context, _ objects.TektonObject, _ []byte, signature string, _ config.StorageOpts) error

StorePayload attempts to parse `signature` as a DSSE envelope, and if successful sends it to an Archivista server for storage.

func (*Backend) Type

func (b *Backend) Type() string

Type returns the name of the storage backend

Jump to

Keyboard shortcuts

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