tool

package
v0.0.0-...-64de021 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Overview

The tool package has the implementation of `codacy-trivy`.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() codacyTrivy

New creates a new instance of Codacy Trivy.

Types

type RunnerFactory

type RunnerFactory interface {
	NewRunner(ctx context.Context, config flag.Options) (artifact.Runner, error)
}

RunnerFactory can create new Trivy runners.

type ToolError

type ToolError struct {
	// contains filtered or unexported fields
}

ToolError is the error returned when failing to run the tool.

func (ToolError) Error

func (e ToolError) Error() string

func (ToolError) Unwrap

func (e ToolError) Unwrap() error

Jump to

Keyboard shortcuts

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