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

v2alpha3

package
v0.28.7 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PayloadTypeSlsav2alpha3 = formats.PayloadTypeSlsav2alpha3
)

Variables

This section is empty.

Functions

func NewFormatter

func NewFormatter(cfg config.Config) (formats.Payloader, error)

Types

type Slsa

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

func (*Slsa) CreatePayload

func (s *Slsa) CreatePayload(ctx context.Context, obj interface{}) (interface{}, error)

func (*Slsa) RetrieveAllArtifactURIs added in v0.21.1

func (s *Slsa) RetrieveAllArtifactURIs(ctx context.Context, obj interface{}) ([]string, error)

RetrieveAllArtifactURIs returns the full URI of all artifacts detected as subjects.

func (*Slsa) Type

func (s *Slsa) Type() config.PayloadType

func (*Slsa) Wrap

func (s *Slsa) Wrap() bool

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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