clamav

package
v2.4.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ScannerName = "clamav"

Variables

This section is empty.

Functions

func NewScanner

func NewScanner(socket string) (api.Scanner, error)

Types

type ClamScanner

type ClamScanner struct {
	// Socket is the location of the clamav socket.
	Socket string
	// contains filtered or unexported fields
}

func (*ClamScanner) Name

func (s *ClamScanner) Name() string

func (*ClamScanner) Scan

func (s *ClamScanner) Scan(ctx context.Context, path string, image *docker.Image, filter api.FilesFilter) ([]api.Result, interface{}, error)

Scan will scan the image

Jump to

Keyboard shortcuts

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