parallel

package
v0.0.0-...-6018a90 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package parallel combines several signature stores in a single store. Signatures are searched in each substore simultaneously until a match is found.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	Stores []store.Store
}

Store provides access to signatures stored in sub-stores.

func (*Store) Signatures

func (s *Store) Signatures(ctx context.Context, name string, digest string, fn store.Callback) error

Signatures fetches signatures for the provided digest.

func (*Store) String

func (s *Store) String() string

String returns a description of where this store finds signatures.

Jump to

Keyboard shortcuts

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