v2alpha2

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PayloadTypeSlsav2alpha2 = formats.PayloadTypeSlsav2alpha2
)

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) 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