scanTool

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type ScanToolMetadataService

type ScanToolMetadataService interface {
	MarkToolAsActive(toolName, version string, tx *pg.Tx) error
	MarkOtherToolsInActive(toolName string, tx *pg.Tx, version string) error
	GetActiveTool() (*repository.ScanToolMetadata, error)
	ScanToolMetadataService_ent
}

type ScanToolMetadataServiceImpl

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

func NewScanToolMetadataServiceImpl

func NewScanToolMetadataServiceImpl(logger *zap.SugaredLogger,
	scanToolMetadataRepository repository.ScanToolMetadataRepository) *ScanToolMetadataServiceImpl

func (*ScanToolMetadataServiceImpl) GetActiveTool

func (*ScanToolMetadataServiceImpl) MarkOtherToolsInActive

func (impl *ScanToolMetadataServiceImpl) MarkOtherToolsInActive(toolName string, tx *pg.Tx, version string) error

func (*ScanToolMetadataServiceImpl) MarkToolAsActive

func (impl *ScanToolMetadataServiceImpl) MarkToolAsActive(toolName, version string, tx *pg.Tx) error

func (*ScanToolMetadataServiceImpl) RegisterScanTools

func (impl *ScanToolMetadataServiceImpl) RegisterScanTools(registerScanToolDto *bean.RegisterScanToolsDto, userId int32) error

type ScanToolMetadataService_ent

type ScanToolMetadataService_ent interface {
	RegisterScanTools(registerScanToolDto *bean.RegisterScanToolsDto, userId int32) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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