Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InputType ¶
type InputType string
func (InputType) IsOnFilesystem ¶
IsOnFilesystem returns true if the InputType can be found on the filesystem.
type Registry ¶
type Registry struct { SkipVerifyTLS bool `yaml:"skip-verify-tls" json:"skip-verify-tls" mapstructure:"skip-verify-tls"` UseHTTP bool `yaml:"use-http" json:"use-http" mapstructure:"use-http"` Auths []RegistryAuth `yaml:"auths" json:"auths" mapstructure:"auths"` }
type RegistryAuth ¶
type ScanInfo ¶
type ScanInfo struct { ScannerName string `json:"scanner_name" yaml:"scanner_name" mapstructure:"scanner_name"` InputType InputType `json:"input_type" yaml:"input_type" mapstructure:"input_type"` InputPath string `json:"input_path" yaml:"input_path" mapstructure:"input_path"` InputSize int64 `json:"input_size" yaml:"input_size" mapstructure:"input_size"` StartTime time.Time `json:"start_time" yaml:"start_time" mapstructure:"start_time"` EndTime time.Time `json:"end_time" yaml:"end_time" mapstructure:"end_time"` }
ScanInfo defines basic metadata for a successfully processed ScanInput.
type ScanInput ¶
type ScanInput struct { // StripPathFromResult overrides global StripInputPaths value StripPathFromResult *bool `json:"strip_path_from_result" yaml:"strip_path_from_result" mapstructure:"strip_path_from_result"` Input string `json:"input" yaml:"input" mapstructure:"input"` InputType InputType `json:"input_type" yaml:"input_type" mapstructure:"input_type"` }
Click to show internal directories.
Click to hide internal directories.