Documentation ¶
Index ¶
- func GetCheckContainer(securityCheck *models.SecurityCheck) (*models.SecurityCheck, error)
- func GetCheckHost(securityCheck *models.SecurityCheck) (*models.SecurityCheck, error)
- type SecurityCheckService
- func (this *SecurityCheckService) ClusterCheck() models.Result
- func (this *SecurityCheckService) DeliverTask() models.Result
- func (this *SecurityCheckService) GetCurrentBatchTask() []*models.Task
- func (this *SecurityCheckService) PrePare()
- func (this *SecurityCheckService) PrePareDefaultJob() map[string]*models.Job
- func (this *SecurityCheckService) PrePareDefaultTMP() map[string]*models.SystemTemplate
- func (this *SecurityCheckService) PrePareTask(securityCheck *models.SecurityCheck)
- type SecurityScanService
- func (this *SecurityScanService) Check() models.Result
- func (this *SecurityScanService) ClusterCheck() models.Result
- func (this *SecurityScanService) DeliverTask() models.Result
- func (this *SecurityScanService) GetCurrentBatchTask() []*models.Task
- func (this *SecurityScanService) PrePare()
- func (this *SecurityScanService) PrePareDefaultJob() map[string]*models.Job
- func (this *SecurityScanService) PrePareDefaultTMP() map[string]*models.SystemTemplate
- func (this *SecurityScanService) PrePareTask(securityCheck *models.SecurityCheck)
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)
Click to show internal directories.
Click to hide internal directories.