Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ClamavAgentImage string ClamavUpdaterImage string ClamavLibraryHostPath string ClamavUpdaterCPURequest = ResourceQuantityFlag{Quantity: resource.MustParse("50m")} ClamavUpdaterCPULimit = ResourceQuantityFlag{Quantity: resource.MustParse("200m")} ClamavUpdaterMemoryRequest = ResourceQuantityFlag{Quantity: resource.MustParse("192Mi")} ClamavUpdaterMemoryLimit = ResourceQuantityFlag{Quantity: resource.MustParse("192Mi")} )
Functions ¶
Types ¶
type ErrUnknownEngine ¶
type ErrUnknownEngine avv1beta1.ScanEngine
func (ErrUnknownEngine) Error ¶
func (e ErrUnknownEngine) Error() string
type ResourceQuantityFlag ¶
func (*ResourceQuantityFlag) Set ¶
func (r *ResourceQuantityFlag) Set(s string) error
func (*ResourceQuantityFlag) String ¶
func (r *ResourceQuantityFlag) String() string
func (*ResourceQuantityFlag) Type ¶
func (r *ResourceQuantityFlag) Type() string
type ScanEngine ¶
type ScanEngine interface { Name() string AdviseJob(job *batchv1.Job) error Execute(context.Context, *avv1beta1.VirusScan, []string) (*ScanReport, error) }
func ByName ¶
func ByName(e avv1beta1.ScanEngine) (ScanEngine, error)
type ScanReport ¶
type ScanReport struct {
InfectedFiles []ScanReportItem
}
type ScanReportItem ¶
Click to show internal directories.
Click to hide internal directories.