image

package
v3.11.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2018 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VerifyRecommendedName = "verify-image-signature"
)

Variables

This section is empty.

Functions

func NewCmdVerifyImageSignature

func NewCmdVerifyImageSignature(name, fullName string, f *clientcmd.Factory, out, errOut io.Writer) *cobra.Command

Types

type VerifyImageSignatureOptions

type VerifyImageSignatureOptions struct {
	InputImage        string
	ExpectedIdentity  string
	PublicKeyFilename string
	PublicKey         []byte
	Save              bool
	RemoveAll         bool
	CurrentUser       string
	CurrentUserToken  string
	RegistryURL       string
	Insecure          bool

	ImageClient imageclient.ImageInterface

	Out    io.Writer
	ErrOut io.Writer
}

func (*VerifyImageSignatureOptions) Complete

func (o *VerifyImageSignatureOptions) Complete(f *clientcmd.Factory, cmd *cobra.Command, args []string, out io.Writer) error

func (VerifyImageSignatureOptions) Run

func (*VerifyImageSignatureOptions) Validate

func (o *VerifyImageSignatureOptions) Validate() error

Jump to

Keyboard shortcuts

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