chainguard

package
v0.4.19 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithClock added in v0.4.19

func WithClock(c clock.Clock) option

Types

type Scanner

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

Scanner implements the Chainguard scanner

func NewScanner

func NewScanner(opts ...option) *Scanner

NewScanner is the factory method for Scanner

func (*Scanner) Detect

Detect vulnerabilities in package using Chainguard scanner

func (*Scanner) IsSupportedVersion

func (s *Scanner) IsSupportedVersion(_ ftypes.OSType, _ string) bool

IsSupportedVersion checks if the version is supported.

Jump to

Keyboard shortcuts

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