cli

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2025 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Evidence commands keys
	CreateEvidence = "create-evidence"
	GetEvidence    = "get-evidence"
	VerifyEvidence = "verify-evidence"
)
View Source
const (
	// Base flags keys
	ServerId = "server-id"
)

Variables

View Source
var ErrUnsupportedSubject = errors.New("unsupported subject")

Functions

func GetCommandFlags

func GetCommandFlags(cmdKey string) []components.Flag

func GetCommands

func GetCommands() []components.Command

func GetJfrogCliEvidenceApp added in v0.2.0

func GetJfrogCliEvidenceApp() components.App

Types

type EvidenceCommands added in v0.1.3

type EvidenceCommands interface {
	CreateEvidence(ctx *components.Context, serverDetails *config.ServerDetails) error
	GetEvidence(ctx *components.Context, serverDetails *config.ServerDetails) error
	VerifyEvidence(ctx *components.Context, serverDetails *config.ServerDetails) error
}

func NewEvidenceBuildCommand added in v0.1.3

func NewEvidenceBuildCommand(ctx *components.Context, execute execCommandFunc) EvidenceCommands

func NewEvidenceCustomCommand added in v0.1.3

func NewEvidenceCustomCommand(ctx *components.Context, execute execCommandFunc) EvidenceCommands

func NewEvidenceGitHubCommand added in v0.3.0

func NewEvidenceGitHubCommand(ctx *components.Context, execute execCommandFunc) EvidenceCommands

func NewEvidencePackageCommand added in v0.1.5

func NewEvidencePackageCommand(ctx *components.Context, execute execCommandFunc) EvidenceCommands

func NewEvidenceReleaseBundleCommand added in v0.1.3

func NewEvidenceReleaseBundleCommand(ctx *components.Context, execute execCommandFunc) EvidenceCommands

Directories

Path Synopsis
docs
get

Jump to

Keyboard shortcuts

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