options

package
v0.0.0-...-df1805e Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	// AddFlags adds this options' flags to the cobra command.
	AddFlags(cmd *cobra.Command)
}

type RootOptions

type RootOptions struct {
	LogLevel string
}

func (*RootOptions) AddFlags

func (ro *RootOptions) AddFlags(cmd *cobra.Command)

type ServeOptions

type ServeOptions struct {
	Port        int
	Cert        string
	Key         string
	PolicyFile  string
	RekorServer string
	PublicKey   string
}

func (*ServeOptions) AddFlags

func (so *ServeOptions) AddFlags(cmd *cobra.Command)

Jump to

Keyboard shortcuts

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