docker

package
v0.0.0-...-2f0a4f1 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

Manager allow to communicate with Docker on host.

func NewManager

func NewManager(scanners map[string]scanners.Scanner, scannersWithEmail map[string]scanners.ScannerWithEmail, host, caCert, cert, key string) (*Manager, error)

NewManager instantiates a new Manager struct.

func (*Manager) CleanContainers

func (m *Manager) CleanContainers() error

func (*Manager) ExecuteEmailScan

func (m *Manager) ExecuteEmailScan(scannerName string, params []string, files *multipart.FileHeader) (scanners.EmailReport, error)

func (*Manager) ExecuteIssueScan

func (m *Manager) ExecuteIssueScan(scannerName string, params []string, files *multipart.FileHeader) ([]model.IssueRequest, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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