archivista

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func New

func New(url string) *Client

func (*Client) Download

func (c *Client) Download(ctx context.Context, gitoid string) (dsse.Envelope, error)

func (*Client) SearchGitoids

func (c *Client) SearchGitoids(ctx context.Context, vars SearchGitoidVariables) ([]string, error)

func (*Client) Store

func (c *Client) Store(ctx context.Context, env dsse.Envelope) (string, error)

type SearchGitoidVariables

type SearchGitoidVariables struct {
	SubjectDigests []string `json:"subjectDigests"`
	CollectionName string   `json:"collectionName"`
	Attestations   []string `json:"attestations"`
	ExcludeGitoids []string `json:"excludeGitoids"`
}

Jump to

Keyboard shortcuts

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