simple

package
v0.16.2 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: 6 Imported by: 0

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