Documentation
¶
Index ¶
- Constants
- Variables
- func GetCommandFlags(cmdKey string) []components.Flag
- func GetCommands() []components.Command
- func GetJfrogCliEvidenceApp() components.App
- type EvidenceCommands
- func NewEvidenceBuildCommand(ctx *components.Context, execute execCommandFunc) EvidenceCommands
- func NewEvidenceCustomCommand(ctx *components.Context, execute execCommandFunc) EvidenceCommands
- func NewEvidenceGitHubCommand(ctx *components.Context, execute execCommandFunc) EvidenceCommands
- func NewEvidencePackageCommand(ctx *components.Context, execute execCommandFunc) EvidenceCommands
- func NewEvidenceReleaseBundleCommand(ctx *components.Context, execute execCommandFunc) EvidenceCommands
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
Source Files
¶
Click to show internal directories.
Click to hide internal directories.