scan

package
v0.0.0-...-00dab56 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadReleaseInfo

func DownloadReleaseInfo(url string, pullSecret string) (*release.ReleaseInfo, error)

func GetPayload

func GetPayload(config *types.Config) (*release.ReleaseInfo, error)

func IsFailed

func IsFailed(results []*types.ScanResults) bool

func IsWarnings

func IsWarnings(results []*types.ScanResults) bool

func PrintResults

func PrintResults(cfg *types.Config, results []*types.ScanResults)

func ReadReleaseInfo

func ReadReleaseInfo(filename string) (*release.ReleaseInfo, error)

func RunLocalScan

func RunLocalScan(ctx context.Context, cfg *types.Config, localBundlePath string) []*types.ScanResults

func RunNodeScan

func RunNodeScan(ctx context.Context, cfg *types.Config, root string) []*types.ScanResults

func RunOperatorScan

func RunOperatorScan(ctx context.Context, cfg *types.Config) []*types.ScanResults

func RunPayloadScan

func RunPayloadScan(ctx context.Context, cfg *types.Config) []*types.ScanResults

func ValidateApplicationDependencies

func ValidateApplicationDependencies(apps []string) error

func ValidateTag

func ValidateTag(ctx context.Context, cfg *types.Config, tag *v1.TagReference, rx chan<- *Result)

Types

type Request

type Request struct {
	Tag *v1.TagReference
}

type Result

type Result struct {
	Tag     *v1.TagReference
	Results *types.ScanResults
}

Jump to

Keyboard shortcuts

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