Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDockerOption ¶
func GetDockerOption() (types.DockerOption, error)
Types ¶
type DockerConfig ¶
type DockerConfig struct { AuthURL string `env:"TRIVY_AUTH_URL"` UserName string `env:"TRIVY_USERNAME"` Password string `env:"TRIVY_PASSWORD"` Timeout time.Duration `env:"TRIVY_TIMEOUT_SEC" envDefault:"60s"` Insecure bool `env:"TRIVY_INSECURE" envDefault:"true"` NonSSL bool `env:"TRIVY_NON_SSL" envDefault:"false"` }
type ScanOptions ¶
type ScanOptions struct {
VulnType []string
}
Click to show internal directories.
Click to hide internal directories.