keyoption

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: Apache-2.0 Imports: 8 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

	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