Help us shape the future of Go! Take the 2026 Go Developer Survey

bean

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2025 License: Apache-2.0 Imports: 1 Imported by: 3

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