Documentation ¶
Index ¶
- func CheckArtifactoryLicense(client *resty.Client, licenseTypesToCheck ...string) error
- func CheckEnvVars(vars []string, dv string) string
- func CheckVersion(versionToCheck string, supportedVersion string) (bool, error)
- func ExecuteTemplate(name, temp string, fields interface{}) string
- func GetArtifactoryVersion(client *resty.Client) (string, error)
- func GetXrayVersion(client *resty.Client) (string, error)
- func OIDCTokenExchange(ctx context.Context, client *resty.Client, providerName string) (string, error)
- func SendUsage(ctx context.Context, client *resty.Client, productId string, ...)
- func SendUsageResourceCreate(ctx context.Context, client *resty.Client, productId, resourceName string)
- func SendUsageResourceDelete(ctx context.Context, client *resty.Client, productId, resourceName string)
- func SendUsageResourceRead(ctx context.Context, client *resty.Client, productId, resourceName string)
- func SendUsageResourceUpdate(ctx context.Context, client *resty.Client, productId, resourceName string)
- type OIDCAccessTokenRequest
- type OIDCAccessTokenResponse
- type ProvderMetadata
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckArtifactoryLicense ¶ added in v0.5.0
func CheckEnvVars ¶ added in v1.20.3
func CheckVersion ¶ added in v1.12.0
func ExecuteTemplate ¶ added in v1.1.0
func GetArtifactoryVersion ¶ added in v1.14.0
func GetXrayVersion ¶ added in v1.20.3
func OIDCTokenExchange ¶ added in v1.23.0
func OIDCTokenExchange(ctx context.Context, client *resty.Client, providerName string) (string, error)
OIDCTokenExchange use TFC_WORKLOAD_IDENTITY_TOKEN env var value to exchange for a access token using OIDC provider configured on JFrog platform
func SendUsageResourceCreate ¶ added in v1.21.0
func SendUsageResourceDelete ¶ added in v1.21.0
func SendUsageResourceRead ¶ added in v1.21.0
func SendUsageResourceUpdate ¶ added in v1.21.0
Types ¶
type OIDCAccessTokenRequest ¶ added in v1.23.0
type OIDCAccessTokenResponse ¶ added in v1.23.0
type OIDCAccessTokenResponse struct {
AccessToken string `json:"access_token"`
}
type ProvderMetadata ¶ added in v1.12.0
Click to show internal directories.
Click to hide internal directories.