securitycheck

package
v0.0.0-...-e6d3209 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCheckContainer

func GetCheckContainer(securityCheck *models.SecurityCheck) (*models.SecurityCheck, error)

func GetCheckHost

func GetCheckHost(securityCheck *models.SecurityCheck) (*models.SecurityCheck, error)

Types

type SecurityCheckService

type SecurityCheckService struct {
	*models.SecurityCheckList
	ClusterCheckObject   *models.ClusterCheck
	DefaultTMP           map[string]*models.SystemTemplate
	DefaultJob           map[string]*models.Job
	Batch                int64
	CurrentBatchTaskList []*models.Task
}

func (*SecurityCheckService) ClusterCheck

func (this *SecurityCheckService) ClusterCheck() models.Result

func (*SecurityCheckService) DeliverTask

func (this *SecurityCheckService) DeliverTask() models.Result

func (*SecurityCheckService) GetCurrentBatchTask

func (this *SecurityCheckService) GetCurrentBatchTask() []*models.Task

func (*SecurityCheckService) PrePare

func (this *SecurityCheckService) PrePare()

func (*SecurityCheckService) PrePareDefaultJob

func (this *SecurityCheckService) PrePareDefaultJob() map[string]*models.Job

func (*SecurityCheckService) PrePareDefaultTMP

func (this *SecurityCheckService) PrePareDefaultTMP() map[string]*models.SystemTemplate

func (*SecurityCheckService) PrePareTask

func (this *SecurityCheckService) PrePareTask(securityCheck *models.SecurityCheck)

type SecurityScanService

type SecurityScanService struct {
	*models.SecurityCheckParams
	ClusterCheckObject   *models.ClusterCheck
	DefaultTMP           map[string]*models.SystemTemplate
	DefaultJob           map[string]*models.Job
	HostList             []*models.HostConfig
	ContainerList        []*models.ContainerConfig
	ImageList            []*models.ImageConfig
	ClusterList          []*models.Cluster
	Job                  *models.Job
	Batch                int64
	CurrentBatchTaskList []*models.Task
	IsSystem             bool
}

func (*SecurityScanService) Check

func (this *SecurityScanService) Check() models.Result

func (*SecurityScanService) ClusterCheck

func (this *SecurityScanService) ClusterCheck() models.Result

func (*SecurityScanService) DeliverTask

func (this *SecurityScanService) DeliverTask() models.Result

func (*SecurityScanService) GetCurrentBatchTask

func (this *SecurityScanService) GetCurrentBatchTask() []*models.Task

func (*SecurityScanService) PrePare

func (this *SecurityScanService) PrePare()

func (*SecurityScanService) PrePareDefaultJob

func (this *SecurityScanService) PrePareDefaultJob() map[string]*models.Job

func (*SecurityScanService) PrePareDefaultTMP

func (this *SecurityScanService) PrePareDefaultTMP() map[string]*models.SystemTemplate

func (*SecurityScanService) PrePareTask

func (this *SecurityScanService) PrePareTask(securityCheck *models.SecurityCheck)

Jump to

Keyboard shortcuts

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