keyoption

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Usage

func Usage() string

Types

type Option

type Option struct {
	DefaultName string

	RootCerts signutils.GenericCertificatePool
	Keys      signing.KeyRegistry
	// contains filtered or unexported fields
}

func From

func New

func New() *Option

func (*Option) AddFlags

func (o *Option) AddFlags(fs *pflag.FlagSet)

func (*Option) ApplySigningOption

func (o *Option) ApplySigningOption(opts *ocmsign.Options)

func (*Option) Configure

func (o *Option) Configure(ctx clictx.Context) error

func (*Option) HandleKeys

func (o *Option) HandleKeys(ctx clictx.Context, desc string, keys []string, add func(string, interface{})) error

Jump to

Keyboard shortcuts

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