config

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvAttachmentArtifactoryTempPath = "EVIDENCE_ATTACHMENT_ARTIFACTORY_TEMP_PATH"
	KeyAttachmentArtifactoryTempPath = keyAttachmentArtifactoryTempPath
)

Variables

This section is empty.

Functions

func PersistAttachmentArtifactoryTempPath added in v0.9.0

func PersistAttachmentArtifactoryTempPath(artifactoryTempPath string) error

func ResolveAttachmentArtifactoryTempPath added in v0.9.0

func ResolveAttachmentArtifactoryTempPath() string

Types

type AttachmentConfig added in v0.9.0

type AttachmentConfig struct {
	ArtifactoryTempPath string `yaml:"artifactoryTempPath"`
}

type EvidenceConfig

type EvidenceConfig struct {
	Sonar      *SonarConfig      `yaml:"sonar"`
	Attachment *AttachmentConfig `yaml:"attachment"`
}

func LoadEvidenceConfig

func LoadEvidenceConfig() *EvidenceConfig

type SonarConfig

type SonarConfig struct {
	URL                    string `yaml:"url"`
	ReportTaskFile         string `yaml:"reportTaskFile"`
	PollingMaxRetries      *int   `yaml:"pollingMaxRetries"`
	PollingRetryIntervalMs *int   `yaml:"pollingRetryIntervalMs"`
}

Jump to

Keyboard shortcuts

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