Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefaultIgnoreFileNames ¶
func GetDefaultIgnoreFileNames() []string
Types ¶
type DockerScan ¶
type DockerScan struct {
// contains filtered or unexported fields
}
func NewScanner ¶
func NewScanner(ctx context.Context, fileScanner FileScanner, imageName string, opts ...Option) (*DockerScan, error)
func (*DockerScan) FindLayers ¶
func (*DockerScan) ProcessLayers ¶
func (*DockerScan) ScannedLayers ¶
func (scanner *DockerScan) ScannedLayers() []string
type FileScanner ¶
type LayerResult ¶
type LayerResult struct { Layer string FileName string Results []file.ExtractResult }
type Option ¶
type Option func(*options) error
func WithCallbackResult ¶
func WithCallbackResult(f func(scanner *DockerScan, result *LayerResult) error) Option
func WithCredentials ¶
func WithCredentials(creds authn.Authenticator) Option
func WithIgnoreFileNames ¶
func WithProbability ¶
Click to show internal directories.
Click to hide internal directories.