app

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2021 License: Apache-2.0 Imports: 56 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateIntotoFromPFlags

func CreateIntotoFromPFlags() (models.ProposedEntry, error)

func CreateJarFromPFlags

func CreateJarFromPFlags() (models.ProposedEntry, error)

func CreateRFC3161FromPFlags

func CreateRFC3161FromPFlags() (models.ProposedEntry, error)

func CreateRekordFromPFlags

func CreateRekordFromPFlags() (models.ProposedEntry, error)

func CreateRpmFromPFlags

func CreateRpmFromPFlags() (models.ProposedEntry, error)

func Execute

func Execute()

Execute runs the base CLI

func GetRekorClient

func GetRekorClient(rekorServerURL string) (*client.Rekor, error)

Types

type Info

type Info struct {
	GitVersion   string
	GitCommit    string
	GitTreeState string
	BuildDate    string
	GoVersion    string
	Compiler     string
	Platform     string
}

func VersionInfo

func VersionInfo() Info

func (*Info) JSONString

func (i *Info) JSONString() (string, error)

JSONString returns the JSON representation of the version info

func (*Info) String

func (i *Info) String() string

String returns the string representation of the version info

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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