trivy

package
v0.0.0-...-3a47f7e Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2022 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Trivy

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

func New

func New(url string, options ...func(*Trivy)) Trivy

func (Trivy) Scan

func (t Trivy) Scan(image types.Image) (vulnerabilities []types.Vulnerability, err error)

type TrivyOption

type TrivyOption func(*Trivy)

func WithCustomHeaders

func WithCustomHeaders(headers http.Header) TrivyOption

func WithLogger

func WithLogger(l log.Logger) TrivyOption

Jump to

Keyboard shortcuts

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