app

package
v0.10.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 License: Apache-2.0 Imports: 60 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreatePropsFromPflags added in v0.3.0

func CreatePropsFromPflags() *types.ArtifactProperties

func Execute

func Execute()

Execute runs the base CLI

func NewFlagValue added in v0.3.0

func NewFlagValue(flagType FlagType, defaultVal string) pflag.Value

NewFlagValue creates a new pflag.Value for the specified type with the specified default value. If a default value is not desired, pass "" for defaultVal.

func ParseTypeFlag added in v0.3.0

func ParseTypeFlag(typeStr string) (string, string, error)

TODO: add tests for this

func UserAgent added in v0.6.0

func UserAgent() string

UserAgent returns the User-Agent string which `rekor-cli` should send with HTTP requests.

Types

type FlagType added in v0.3.0

type FlagType string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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