utils

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const IsoDateTimeLayout = "2006-01-02T15:04:05.000-0700"
View Source
const SonarIntegration = "sonar"

Variables

This section is empty.

Functions

func BuildBuildInfoRepoKey added in v0.5.0

func BuildBuildInfoRepoKey(project string) string

func BuildReleaseBundleRepoKey added in v0.5.0

func BuildReleaseBundleRepoKey(project string) string

func GetEnvVariable added in v0.3.0

func GetEnvVariable(envVarName string) (string, error)

func IsRunningUnderGitHubAction added in v0.6.0

func IsRunningUnderGitHubAction() bool

func IsSonarIntegration added in v0.7.1

func IsSonarIntegration(integration string) bool

func ParseIsoTimestamp

func ParseIsoTimestamp(isoTimestamp string) (time.Time, error)

func ValidateIntegration added in v0.7.1

func ValidateIntegration(integration string) error

Types

type AqlResult added in v0.5.0

type AqlResult struct {
	Results []*servicesUtils.ResultItem `json:"results,omitempty"`
}

func ExecuteAqlQuery added in v0.5.0

func ExecuteAqlQuery(query string, client *artifactory.ArtifactoryServicesManager) (*AqlResult, error)

ExecuteAqlQuery executes an AQL query and returns the result.

Jump to

Keyboard shortcuts

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