verifyimagesignature

package
v3.11.0-0.27.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2018 License: Apache-2.0 Imports: 26 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 kcmdutil.Factory, streams genericclioptions.IOStreams) *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

	genericclioptions.IOStreams
}

func NewVerifyImageSignatureOptions

func NewVerifyImageSignatureOptions(streams genericclioptions.IOStreams) *VerifyImageSignatureOptions

func (*VerifyImageSignatureOptions) Complete

func (o *VerifyImageSignatureOptions) Complete(f kcmdutil.Factory, cmd *cobra.Command, args []string) 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