storeoption

package
v0.19.1-rc.2 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULT_VERIFIED_FILE = "~/.ocm/verified"

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option struct {

	// File is used to remember verify component versions.
	File                 string
	RememberVerification bool
	Store                ocmsign.VerifiedStore
	// contains filtered or unexported fields
}

func From

func New

func New(name ...string) *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) Usage

func (o *Option) Usage() string

Jump to

Keyboard shortcuts

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