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

simple

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFormatter

func NewFormatter() (formats.Payloader, error)

Types

type Critical

type Critical struct {
	Identity map[string]string
	Image    map[string]string
	Type     string
}

type Simple

type Simple struct {
	Critical Critical
	Optional map[string]interface{}
}

func NewSimpleStruct

func NewSimpleStruct() Simple

func (*Simple) ImageName

func (s *Simple) 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(obj interface{}) (interface{}, error)

CreatePayload implements the Payloader interface.

func (*SimpleSigning) Type

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

Jump to

Keyboard shortcuts

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