util

package
v1.20.4 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 6 Imported by: 81

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckEnvVars added in v1.20.3

func CheckEnvVars(vars []string, dv string) string

func CheckVersion added in v1.12.0

func CheckVersion(versionToCheck string, supportedVersion string) (bool, error)

func GetArtifactoryVersion added in v1.14.0

func GetArtifactoryVersion(client *resty.Client) (string, error)

func GetXrayVersion added in v1.20.3

func GetXrayVersion(client *resty.Client) (string, error)

func SendUsage added in v0.4.0

func SendUsage(ctx context.Context, client *resty.Client, productId string, featureUsages ...string)

Types

type ProvderMetadata added in v1.12.0

type ProvderMetadata struct {
	Client             *resty.Client
	ArtifactoryVersion string
	XrayVersion        string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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