simple

package
v0.26.1 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2026 License: Apache-2.0 Imports: 6 Imported by: ? modules, 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

View Source
const (
	PayloadTypeSimpleSigning = formats.PayloadTypeSimpleSigning
)

Variables

This section is empty.

Functions

func NewFormatter

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

Types

type SimpleContainerImage added in v0.6.0

type SimpleContainerImage payload.SimpleContainerImage

func NewSimpleStruct

func NewSimpleStruct(img name.Digest) SimpleContainerImage

func (SimpleContainerImage) ImageName added in v0.6.0

func (i SimpleContainerImage) ImageName() string

type SimpleSigning

type SimpleSigning struct{}

SimpleSigning is a formatter that uses the RedHat simple signing format https://www.redhat.com/en/blog/container-image-signing

func (*SimpleSigning) CreatePayload

func (i *SimpleSigning) CreatePayload(ctx context.Context, obj interface{}) (interface{}, error)

CreatePayload implements the Payloader interface.

func (*SimpleSigning) RetrieveAllArtifactURIs added in v0.21.1

func (i *SimpleSigning) RetrieveAllArtifactURIs(_ context.Context, _ interface{}) ([]string, error)

RetrieveAllArtifactURIs returns always an error, feature not available for simplesigning formatter.

func (*SimpleSigning) Type

func (i *SimpleSigning) Type() config.PayloadType

func (*SimpleSigning) Wrap added in v0.3.0

func (i *SimpleSigning) Wrap() bool

Jump to

Keyboard shortcuts

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