api

package
v0.29.10 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2026 License: Apache-2.0 Imports: 3 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StoreRequest

type StoreRequest[Input any, Output any] struct {
	// Object is the original Tekton object as received by the controller.
	Object objects.TektonObject
	// Artifact is the artifact that was extracted from the Object (e.g. build config, image, etc.)
	Artifact Input
	// Payload is the formatted payload that was generated for the Artifact (e.g. simplesigning, in-toto attestation)
	Payload Output
	// Bundle contains the signing output details.
	Bundle *signing.Bundle
}

StoreRequest contains the information needed to store a signature/attestation object.

type StoreResponse

type StoreResponse struct {
}

StoreResponse contains metadata for the result of the store operation.

type Storer

type Storer[Input, Output any] interface {
	Store(context.Context, *StoreRequest[Input, Output]) (*StoreResponse, error)
}

Jump to

Keyboard shortcuts

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