Help us shape the future of Go! Take the 2026 Go Developer Survey

api

package
v0.29.9 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

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