bean

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2025 License: Apache-2.0 Imports: 1 Imported by: 1 module, 3 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	DevtronImageScanningIntegratorPluginIdentifier = "devtron-image-scanning-integrator"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RegisterScanToolsDto

type RegisterScanToolsDto struct {
	ScanToolMetadata       *ScanToolsMetadataDto      `json:"scanToolMetadata" validate:"dive,required"`
	ScanToolPluginMetadata *ScanToolPluginMetadataDto `json:"scanToolPluginMetadata,omitempty" validate:"dive,required"`
}

type ScanTargetType

type ScanTargetType string
const (
	ScanTargetTypeImage ScanTargetType = "IMAGE"
)

type ScanToolPluginMetadataDto

type ScanToolPluginMetadataDto struct {
	Name             string                  `json:"name" validate:"required,min=3,max=100"`
	PluginIdentifier string                  `json:"pluginIdentifier" validate:"required,min=3,max=100,global-entity-name"`
	Description      string                  `json:"description" validate:"max=300"`
	PluginSteps      []*bean2.PluginStepsDto `json:"pluginSteps,omitempty"`
}

type ScanToolsMetadataDto

type ScanToolsMetadataDto struct {
	ScanToolId               int            `json:"scanToolId,omitempty"`
	Name                     string         `json:"name,omitempty" validate:"required"`
	Version                  string         `json:"version,omitempty" validate:"required"`
	ServerBaseUrl            string         `json:"serverBaseUrl,omitempty"`
	ResultDescriptorTemplate string         `json:"resultDescriptorTemplate,omitempty"`
	ScanTarget               ScanTargetType `json:"scanTarget,omitempty"`
	ToolMetaData             string         `json:"toolMetadata,omitempty"`
	ScanToolUrl              string         `json:"scanToolUrl,omitempty"`
}

Jump to

Keyboard shortcuts

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