artifact

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2021 License: Apache-2.0 Imports: 25 Imported by: 20

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilesystemRun

func FilesystemRun(ctx *cli.Context) error

FilesystemRun runs scan on filesystem

func ImageRun

func ImageRun(ctx *cli.Context) error

ImageRun runs scan on docker image

func RepositoryRun

func RepositoryRun(ctx *cli.Context) error

RepositoryRun runs scan on repository

Types

type Config

type Config struct {
	config.GlobalConfig
	config.ArtifactConfig
	config.DBConfig
	config.ImageConfig
	config.ReportConfig
	config.CacheConfig
	// contains filtered or unexported fields
}

Config holds the artifact config

func NewConfig

func NewConfig(c *cli.Context) (Config, error)

NewConfig is the factory method to return config

func (*Config) Init

func (c *Config) Init() error

Init initializes the artifact config

type InitializeScanner

InitializeScanner type to define initialize function signature

Jump to

Keyboard shortcuts

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