...

Package app

import "github.com/sigstore/rekor/cmd/rekor-cli/app"
Overview
Index
Subdirectories

Overview ▾

func CreatePropsFromPflags

func CreatePropsFromPflags() *types.ArtifactProperties

func Execute

func Execute()

Execute runs the base CLI

func NewFlagValue

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

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

ParseTypeFlag validates the requested type (and optional version) are supported

func UserAgent

func UserAgent() string

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

type FlagType

type FlagType string

Subdirectories

Name Synopsis
..
format
state