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

distribution

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package distribution provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAbortReleaseBundleV1DistributionRequest

func NewAbortReleaseBundleV1DistributionRequest(server string, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath) (*http.Request, error)

NewAbortReleaseBundleV1DistributionRequest constructs an http.Request for the AbortReleaseBundleV1Distribution method

func NewAbortReleaseBundleV2DistributionRequest

func NewAbortReleaseBundleV2DistributionRequest(server string, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *AbortReleaseBundleV2DistributionParams) (*http.Request, error)

NewAbortReleaseBundleV2DistributionRequest constructs an http.Request for the AbortReleaseBundleV2Distribution method

func NewCreateOrRefreshTokenRequestWithBody

func NewCreateOrRefreshTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateOrRefreshTokenRequestWithBody constructs an http.Request for the CreateOrRefreshToken method, with any body, and a specified content type

func NewCreateOrRefreshTokenRequestWithFormdataBody

func NewCreateOrRefreshTokenRequestWithFormdataBody(server string, body CreateOrRefreshTokenFormdataRequestBody) (*http.Request, error)

NewCreateOrRefreshTokenRequestWithFormdataBody calls the generic CreateOrRefreshToken builder with application/x-www-form-urlencoded body

func NewCreateReleaseBundleV1VersionRequest

func NewCreateReleaseBundleV1VersionRequest(server string, params *CreateReleaseBundleV1VersionParams, body CreateReleaseBundleV1VersionJSONRequestBody) (*http.Request, error)

NewCreateReleaseBundleV1VersionRequest calls the generic CreateReleaseBundleV1Version builder with application/json body

func NewCreateReleaseBundleV1VersionRequestWithBody

func NewCreateReleaseBundleV1VersionRequestWithBody(server string, params *CreateReleaseBundleV1VersionParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateReleaseBundleV1VersionRequestWithBody constructs an http.Request for the CreateReleaseBundleV1Version method, with any body, and a specified content type

func NewCreateSpecificSupportBundleRequest

func NewCreateSpecificSupportBundleRequest(server string, bundleId string, body CreateSpecificSupportBundleJSONRequestBody) (*http.Request, error)

NewCreateSpecificSupportBundleRequest calls the generic CreateSpecificSupportBundle builder with application/json body

func NewCreateSpecificSupportBundleRequestWithBody

func NewCreateSpecificSupportBundleRequestWithBody(server string, bundleId string, contentType string, body io.Reader) (*http.Request, error)

NewCreateSpecificSupportBundleRequestWithBody constructs an http.Request for the CreateSpecificSupportBundle method, with any body, and a specified content type

func NewCreateSupportBundleRequest

func NewCreateSupportBundleRequest(server string, body CreateSupportBundleJSONRequestBody) (*http.Request, error)

NewCreateSupportBundleRequest calls the generic CreateSupportBundle builder with application/json body

func NewCreateSupportBundleRequestWithBody

func NewCreateSupportBundleRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateSupportBundleRequestWithBody constructs an http.Request for the CreateSupportBundle method, with any body, and a specified content type

func NewDeleteAllReleaseBundleV1VersionsRequest

func NewDeleteAllReleaseBundleV1VersionsRequest(server string, releaseBundleName ReleaseBundleNamePath, params *DeleteAllReleaseBundleV1VersionsParams) (*http.Request, error)

NewDeleteAllReleaseBundleV1VersionsRequest constructs an http.Request for the DeleteAllReleaseBundleV1Versions method

func NewDeleteDistributionPermissionRequest

func NewDeleteDistributionPermissionRequest(server string, permissionName string) (*http.Request, error)

NewDeleteDistributionPermissionRequest constructs an http.Request for the DeleteDistributionPermission method

func NewDeleteExportedReleaseBundleV1FileRequest

func NewDeleteExportedReleaseBundleV1FileRequest(server string, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath) (*http.Request, error)

NewDeleteExportedReleaseBundleV1FileRequest constructs an http.Request for the DeleteExportedReleaseBundleV1File method

func NewDeleteGpgKeyByAliasRequest

func NewDeleteGpgKeyByAliasRequest(server string, alias string) (*http.Request, error)

NewDeleteGpgKeyByAliasRequest constructs an http.Request for the DeleteGpgKeyByAlias method

func NewDeleteReleaseBundleV1VersionFromDistributionEdgesRequest

func NewDeleteReleaseBundleV1VersionFromDistributionEdgesRequest(server string, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, body DeleteReleaseBundleV1VersionFromDistributionEdgesJSONRequestBody) (*http.Request, error)

NewDeleteReleaseBundleV1VersionFromDistributionEdgesRequest calls the generic DeleteReleaseBundleV1VersionFromDistributionEdges builder with application/json body

func NewDeleteReleaseBundleV1VersionFromDistributionEdgesRequestWithBody

func NewDeleteReleaseBundleV1VersionFromDistributionEdgesRequestWithBody(server string, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, contentType string, body io.Reader) (*http.Request, error)

NewDeleteReleaseBundleV1VersionFromDistributionEdgesRequestWithBody constructs an http.Request for the DeleteReleaseBundleV1VersionFromDistributionEdges method, with any body, and a specified content type

func NewDeleteReleaseBundleV1VersionRequest

func NewDeleteReleaseBundleV1VersionRequest(server string, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *DeleteReleaseBundleV1VersionParams) (*http.Request, error)

NewDeleteReleaseBundleV1VersionRequest constructs an http.Request for the DeleteReleaseBundleV1Version method

func NewDeleteSupportBundleRequest

func NewDeleteSupportBundleRequest(server string, bundleId string) (*http.Request, error)

NewDeleteSupportBundleRequest constructs an http.Request for the DeleteSupportBundle method

func NewDistributeByLastDaysRequest

func NewDistributeByLastDaysRequest(server string, body DistributeByLastDaysJSONRequestBody) (*http.Request, error)

NewDistributeByLastDaysRequest calls the generic DistributeByLastDays builder with application/json body

func NewDistributeByLastDaysRequestWithBody

func NewDistributeByLastDaysRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewDistributeByLastDaysRequestWithBody constructs an http.Request for the DistributeByLastDays method, with any body, and a specified content type

func NewDistributeDynamicReleaseBundleV1Request

func NewDistributeDynamicReleaseBundleV1Request(server string, params *DistributeDynamicReleaseBundleV1Params, body DistributeDynamicReleaseBundleV1JSONRequestBody) (*http.Request, error)

NewDistributeDynamicReleaseBundleV1Request calls the generic DistributeDynamicReleaseBundleV1 builder with application/json body

func NewDistributeDynamicReleaseBundleV1RequestWithBody

func NewDistributeDynamicReleaseBundleV1RequestWithBody(server string, params *DistributeDynamicReleaseBundleV1Params, contentType string, body io.Reader) (*http.Request, error)

NewDistributeDynamicReleaseBundleV1RequestWithBody constructs an http.Request for the DistributeDynamicReleaseBundleV1 method, with any body, and a specified content type

func NewDistributeReleaseBundleV1VersionRequest

func NewDistributeReleaseBundleV1VersionRequest(server string, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, body DistributeReleaseBundleV1VersionJSONRequestBody) (*http.Request, error)

NewDistributeReleaseBundleV1VersionRequest calls the generic DistributeReleaseBundleV1Version builder with application/json body

func NewDistributeReleaseBundleV1VersionRequestWithBody

func NewDistributeReleaseBundleV1VersionRequestWithBody(server string, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, contentType string, body io.Reader) (*http.Request, error)

NewDistributeReleaseBundleV1VersionRequestWithBody constructs an http.Request for the DistributeReleaseBundleV1Version method, with any body, and a specified content type

func NewDistributeReleaseBundleV2VersionRequest

func NewDistributeReleaseBundleV2VersionRequest(server string, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *DistributeReleaseBundleV2VersionParams, body DistributeReleaseBundleV2VersionJSONRequestBody) (*http.Request, error)

NewDistributeReleaseBundleV2VersionRequest calls the generic DistributeReleaseBundleV2Version builder with application/json body

func NewDistributeReleaseBundleV2VersionRequestWithBody

func NewDistributeReleaseBundleV2VersionRequestWithBody(server string, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *DistributeReleaseBundleV2VersionParams, contentType string, body io.Reader) (*http.Request, error)

NewDistributeReleaseBundleV2VersionRequestWithBody constructs an http.Request for the DistributeReleaseBundleV2Version method, with any body, and a specified content type

func NewDistributionPingRequest

func NewDistributionPingRequest(server string) (*http.Request, error)

NewDistributionPingRequest constructs an http.Request for the DistributionPing method

func NewDownloadSupportBundleRequest

func NewDownloadSupportBundleRequest(server string, bundleId string) (*http.Request, error)

NewDownloadSupportBundleRequest constructs an http.Request for the DownloadSupportBundle method

func NewExecuteMaintenanceActionRequestWithBody

func NewExecuteMaintenanceActionRequestWithBody(server string, actionType ExecuteMaintenanceActionParamsActionType, params *ExecuteMaintenanceActionParams, contentType string, body io.Reader) (*http.Request, error)

NewExecuteMaintenanceActionRequestWithBody constructs an http.Request for the ExecuteMaintenanceAction method, with any body, and a specified content type

func NewExecuteMaintenanceActionRequestWithTextBody

func NewExecuteMaintenanceActionRequestWithTextBody(server string, actionType ExecuteMaintenanceActionParamsActionType, params *ExecuteMaintenanceActionParams, body ExecuteMaintenanceActionTextRequestBody) (*http.Request, error)

NewExecuteMaintenanceActionRequestWithTextBody calls the generic ExecuteMaintenanceAction builder with text/plain body

func NewExportReleaseBundleV1VersionRequest

func NewExportReleaseBundleV1VersionRequest(server string, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *ExportReleaseBundleV1VersionParams) (*http.Request, error)

NewExportReleaseBundleV1VersionRequest constructs an http.Request for the ExportReleaseBundleV1Version method

func NewGenerateMaintenanceExecutionTokenRequest

func NewGenerateMaintenanceExecutionTokenRequest(server string, actionType GenerateMaintenanceExecutionTokenParamsActionType) (*http.Request, error)

NewGenerateMaintenanceExecutionTokenRequest constructs an http.Request for the GenerateMaintenanceExecutionToken method

func NewGetAllBundlesRequest

func NewGetAllBundlesRequest(server string, params *GetAllBundlesParams) (*http.Request, error)

NewGetAllBundlesRequest constructs an http.Request for the GetAllBundles method

func NewGetAllDistributionPermissionsRequest

func NewGetAllDistributionPermissionsRequest(server string) (*http.Request, error)

NewGetAllDistributionPermissionsRequest constructs an http.Request for the GetAllDistributionPermissions method

func NewGetAllGpgKeyAliasesRequest

func NewGetAllGpgKeyAliasesRequest(server string) (*http.Request, error)

NewGetAllGpgKeyAliasesRequest constructs an http.Request for the GetAllGpgKeyAliases method

func NewGetDistributionEdgeNodesRequest

func NewGetDistributionEdgeNodesRequest(server string, params *GetDistributionEdgeNodesParams) (*http.Request, error)

NewGetDistributionEdgeNodesRequest constructs an http.Request for the GetDistributionEdgeNodes method

func NewGetDistributionPermissionByNameRequest

func NewGetDistributionPermissionByNameRequest(server string, permissionName string) (*http.Request, error)

NewGetDistributionPermissionByNameRequest constructs an http.Request for the GetDistributionPermissionByName method

func NewGetDistributionStatusDetailsByReleaseBundleV1NameRequest

func NewGetDistributionStatusDetailsByReleaseBundleV1NameRequest(server string, releaseBundleName ReleaseBundleNamePath) (*http.Request, error)

NewGetDistributionStatusDetailsByReleaseBundleV1NameRequest constructs an http.Request for the GetDistributionStatusDetailsByReleaseBundleV1Name method

func NewGetDistributionStatusDetailsByReleaseBundleV1TrackerIdRequest

func NewGetDistributionStatusDetailsByReleaseBundleV1TrackerIdRequest(server string, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, distributionTracker DistributionTrackerPath) (*http.Request, error)

NewGetDistributionStatusDetailsByReleaseBundleV1TrackerIdRequest constructs an http.Request for the GetDistributionStatusDetailsByReleaseBundleV1TrackerId method

func NewGetDistributionStatusDetailsByReleaseBundleV1VersionRequest

func NewGetDistributionStatusDetailsByReleaseBundleV1VersionRequest(server string, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath) (*http.Request, error)

NewGetDistributionStatusDetailsByReleaseBundleV1VersionRequest constructs an http.Request for the GetDistributionStatusDetailsByReleaseBundleV1Version method

func NewGetDistributionStatusDetailsByTrackerIdRequest

func NewGetDistributionStatusDetailsByTrackerIdRequest(server string, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, distributionTracker DistributionTrackerPath) (*http.Request, error)

NewGetDistributionStatusDetailsByTrackerIdRequest constructs an http.Request for the GetDistributionStatusDetailsByTrackerId method

func NewGetDistributionStatusDetailsRequest

func NewGetDistributionStatusDetailsRequest(server string) (*http.Request, error)

NewGetDistributionStatusDetailsRequest constructs an http.Request for the GetDistributionStatusDetails method

func NewGetDistributionSystemInfoRequest

func NewGetDistributionSystemInfoRequest(server string) (*http.Request, error)

NewGetDistributionSystemInfoRequest constructs an http.Request for the GetDistributionSystemInfo method

func NewGetDistributionSystemSettingsRequest

func NewGetDistributionSystemSettingsRequest(server string) (*http.Request, error)

NewGetDistributionSystemSettingsRequest constructs an http.Request for the GetDistributionSystemSettings method

func NewGetExportedReleaseBundleV1StatusRequest

func NewGetExportedReleaseBundleV1StatusRequest(server string, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath) (*http.Request, error)

NewGetExportedReleaseBundleV1StatusRequest constructs an http.Request for the GetExportedReleaseBundleV1Status method

func NewGetGpgPublicKeyByAliasRequest

func NewGetGpgPublicKeyByAliasRequest(server string, alias string) (*http.Request, error)

NewGetGpgPublicKeyByAliasRequest constructs an http.Request for the GetGpgPublicKeyByAlias method

func NewGetGpgSigningKeyRequest

func NewGetGpgSigningKeyRequest(server string) (*http.Request, error)

NewGetGpgSigningKeyRequest constructs an http.Request for the GetGpgSigningKey method

func NewGetLatestReleaseBundleV1VersionRequest

func NewGetLatestReleaseBundleV1VersionRequest(server string, releaseBundleName ReleaseBundleNamePath) (*http.Request, error)

NewGetLatestReleaseBundleV1VersionRequest constructs an http.Request for the GetLatestReleaseBundleV1Version method

func NewGetOpenMetricsForDistributionRequest

func NewGetOpenMetricsForDistributionRequest(server string) (*http.Request, error)

NewGetOpenMetricsForDistributionRequest constructs an http.Request for the GetOpenMetricsForDistribution method

func NewGetPublicSigningKeyForDistributionRequest

func NewGetPublicSigningKeyForDistributionRequest(server string, keyName string) (*http.Request, error)

NewGetPublicSigningKeyForDistributionRequest constructs an http.Request for the GetPublicSigningKeyForDistribution method

func NewGetReleaseBundleV1VersionDetailsRequest

func NewGetReleaseBundleV1VersionDetailsRequest(server string, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *GetReleaseBundleV1VersionDetailsParams) (*http.Request, error)

NewGetReleaseBundleV1VersionDetailsRequest constructs an http.Request for the GetReleaseBundleV1VersionDetails method

func NewGetReleaseBundleV1VersionSha256Request

func NewGetReleaseBundleV1VersionSha256Request(server string, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath) (*http.Request, error)

NewGetReleaseBundleV1VersionSha256Request constructs an http.Request for the GetReleaseBundleV1VersionSha256 method

func NewGetReleaseBundleV1VersionsByNameRequest

func NewGetReleaseBundleV1VersionsByNameRequest(server string, releaseBundleName ReleaseBundleNamePath, params *GetReleaseBundleV1VersionsByNameParams) (*http.Request, error)

NewGetReleaseBundleV1VersionsByNameRequest constructs an http.Request for the GetReleaseBundleV1VersionsByName method

func NewGetReleaseBundleV2DistributionTrackersRequest

func NewGetReleaseBundleV2DistributionTrackersRequest(server string, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *GetReleaseBundleV2DistributionTrackersParams) (*http.Request, error)

NewGetReleaseBundleV2DistributionTrackersRequest constructs an http.Request for the GetReleaseBundleV2DistributionTrackers method

func NewGetStuckDistributionsRequest

func NewGetStuckDistributionsRequest(server string) (*http.Request, error)

NewGetStuckDistributionsRequest constructs an http.Request for the GetStuckDistributions method

func NewGetSupportBundleInfoRequest

func NewGetSupportBundleInfoRequest(server string, bundleId string) (*http.Request, error)

NewGetSupportBundleInfoRequest constructs an http.Request for the GetSupportBundleInfo method

func NewGetTokenInfosRequest

func NewGetTokenInfosRequest(server string) (*http.Request, error)

NewGetTokenInfosRequest constructs an http.Request for the GetTokenInfos method

func NewImportReleaseBundleV1VersionRequest

func NewImportReleaseBundleV1VersionRequest(server string, params *ImportReleaseBundleV1VersionParams) (*http.Request, error)

NewImportReleaseBundleV1VersionRequest constructs an http.Request for the ImportReleaseBundleV1Version method

func NewListSupportBundlesRequest

func NewListSupportBundlesRequest(server string) (*http.Request, error)

NewListSupportBundlesRequest constructs an http.Request for the ListSupportBundles method

func NewPropagatePublicSigningKeyRequest

func NewPropagatePublicSigningKeyRequest(server string, keyName string) (*http.Request, error)

NewPropagatePublicSigningKeyRequest constructs an http.Request for the PropagatePublicSigningKey method

func NewRemoteDeleteReleaseBundleV2DistributionRequest

func NewRemoteDeleteReleaseBundleV2DistributionRequest(server string, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *RemoteDeleteReleaseBundleV2DistributionParams, body RemoteDeleteReleaseBundleV2DistributionJSONRequestBody) (*http.Request, error)

NewRemoteDeleteReleaseBundleV2DistributionRequest calls the generic RemoteDeleteReleaseBundleV2Distribution builder with application/json body

func NewRemoteDeleteReleaseBundleV2DistributionRequestWithBody

func NewRemoteDeleteReleaseBundleV2DistributionRequestWithBody(server string, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *RemoteDeleteReleaseBundleV2DistributionParams, contentType string, body io.Reader) (*http.Request, error)

NewRemoteDeleteReleaseBundleV2DistributionRequestWithBody constructs an http.Request for the RemoteDeleteReleaseBundleV2Distribution method, with any body, and a specified content type

func NewRevokeTokenRequestWithBody

func NewRevokeTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewRevokeTokenRequestWithBody constructs an http.Request for the RevokeToken method, with any body, and a specified content type

func NewRevokeTokenRequestWithFormdataBody

func NewRevokeTokenRequestWithFormdataBody(server string, body RevokeTokenFormdataRequestBody) (*http.Request, error)

NewRevokeTokenRequestWithFormdataBody calls the generic RevokeToken builder with application/x-www-form-urlencoded body

func NewSetDistributionPermissionRequest

func NewSetDistributionPermissionRequest(server string, permissionName string, body SetDistributionPermissionJSONRequestBody) (*http.Request, error)

NewSetDistributionPermissionRequest calls the generic SetDistributionPermission builder with application/json body

func NewSetDistributionPermissionRequestWithBody

func NewSetDistributionPermissionRequestWithBody(server string, permissionName string, contentType string, body io.Reader) (*http.Request, error)

NewSetDistributionPermissionRequestWithBody constructs an http.Request for the SetDistributionPermission method, with any body, and a specified content type

func NewSetGpgSigningKeyRequest

func NewSetGpgSigningKeyRequest(server string, body SetGpgSigningKeyJSONRequestBody) (*http.Request, error)

NewSetGpgSigningKeyRequest calls the generic SetGpgSigningKey builder with application/json body

func NewSetGpgSigningKeyRequestWithBody

func NewSetGpgSigningKeyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewSetGpgSigningKeyRequestWithBody constructs an http.Request for the SetGpgSigningKey method, with any body, and a specified content type

func NewSignReleaseBundleV1VersionRequest

func NewSignReleaseBundleV1VersionRequest(server string, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *SignReleaseBundleV1VersionParams, body SignReleaseBundleV1VersionJSONRequestBody) (*http.Request, error)

NewSignReleaseBundleV1VersionRequest calls the generic SignReleaseBundleV1Version builder with application/json body

func NewSignReleaseBundleV1VersionRequestWithBody

func NewSignReleaseBundleV1VersionRequestWithBody(server string, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *SignReleaseBundleV1VersionParams, contentType string, body io.Reader) (*http.Request, error)

NewSignReleaseBundleV1VersionRequestWithBody constructs an http.Request for the SignReleaseBundleV1Version method, with any body, and a specified content type

func NewTriggerXrayScanReleaseBundleV1VersionRequest

func NewTriggerXrayScanReleaseBundleV1VersionRequest(server string, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath) (*http.Request, error)

NewTriggerXrayScanReleaseBundleV1VersionRequest constructs an http.Request for the TriggerXrayScanReleaseBundleV1Version method

func NewUpdateDistributionSystemSettingsRequest

func NewUpdateDistributionSystemSettingsRequest(server string, body UpdateDistributionSystemSettingsJSONRequestBody) (*http.Request, error)

NewUpdateDistributionSystemSettingsRequest calls the generic UpdateDistributionSystemSettings builder with application/json body

func NewUpdateDistributionSystemSettingsRequestWithBody

func NewUpdateDistributionSystemSettingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateDistributionSystemSettingsRequestWithBody constructs an http.Request for the UpdateDistributionSystemSettings method, with any body, and a specified content type

func NewUpdateGpgKeyAliasRequest

func NewUpdateGpgKeyAliasRequest(server string, alias string, body UpdateGpgKeyAliasJSONRequestBody) (*http.Request, error)

NewUpdateGpgKeyAliasRequest calls the generic UpdateGpgKeyAlias builder with application/json body

func NewUpdateGpgKeyAliasRequestWithBody

func NewUpdateGpgKeyAliasRequestWithBody(server string, alias string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateGpgKeyAliasRequestWithBody constructs an http.Request for the UpdateGpgKeyAlias method, with any body, and a specified content type

func NewUpdateReleaseBundleV1VersionRequest

func NewUpdateReleaseBundleV1VersionRequest(server string, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *UpdateReleaseBundleV1VersionParams, body UpdateReleaseBundleV1VersionJSONRequestBody) (*http.Request, error)

NewUpdateReleaseBundleV1VersionRequest calls the generic UpdateReleaseBundleV1Version builder with application/json body

func NewUpdateReleaseBundleV1VersionRequestWithBody

func NewUpdateReleaseBundleV1VersionRequestWithBody(server string, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *UpdateReleaseBundleV1VersionParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateReleaseBundleV1VersionRequestWithBody constructs an http.Request for the UpdateReleaseBundleV1Version method, with any body, and a specified content type

func NewUpdateReleaseBundleV2DistributionPriorityRequest

func NewUpdateReleaseBundleV2DistributionPriorityRequest(server string, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, distributionTracker DistributionTrackerPath, body UpdateReleaseBundleV2DistributionPriorityJSONRequestBody) (*http.Request, error)

NewUpdateReleaseBundleV2DistributionPriorityRequest calls the generic UpdateReleaseBundleV2DistributionPriority builder with application/json body

func NewUpdateReleaseBundleV2DistributionPriorityRequestWithBody

func NewUpdateReleaseBundleV2DistributionPriorityRequestWithBody(server string, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, distributionTracker DistributionTrackerPath, contentType string, body io.Reader) (*http.Request, error)

NewUpdateReleaseBundleV2DistributionPriorityRequestWithBody constructs an http.Request for the UpdateReleaseBundleV2DistributionPriority method, with any body, and a specified content type

func NewUploadAndPropagateGpgSigningKeysForDistributionRequest

func NewUploadAndPropagateGpgSigningKeysForDistributionRequest(server string, params *UploadAndPropagateGpgSigningKeysForDistributionParams) (*http.Request, error)

NewUploadAndPropagateGpgSigningKeysForDistributionRequest constructs an http.Request for the UploadAndPropagateGpgSigningKeysForDistribution method

Types

type AbortReleaseBundleV1DistributionResponse

type AbortReleaseBundleV1DistributionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *[]PlatformServiceInstance
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseAbortReleaseBundleV1DistributionResponse

func ParseAbortReleaseBundleV1DistributionResponse(rsp *http.Response) (*AbortReleaseBundleV1DistributionResponse, error)

ParseAbortReleaseBundleV1DistributionResponse parses an HTTP response from a AbortReleaseBundleV1DistributionWithResponse call

func (AbortReleaseBundleV1DistributionResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AbortReleaseBundleV1DistributionResponse) GetBody

GetBody returns the raw response body bytes

func (AbortReleaseBundleV1DistributionResponse) GetJSON202

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (AbortReleaseBundleV1DistributionResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (AbortReleaseBundleV1DistributionResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (AbortReleaseBundleV1DistributionResponse) Status

Status returns HTTPResponse.Status

func (AbortReleaseBundleV1DistributionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AbortReleaseBundleV2DistributionParams

type AbortReleaseBundleV2DistributionParams struct {
	// RepositoryKey Optional query parameter. For Release Bundles v2, the repository that stores the bundle. Omitted means the project's default release bundle repository.
	RepositoryKey *RepositoryKeyQuery `form:"repository_key,omitempty" json:"repository_key,omitempty"`

	// Project Optional query parameter. Key of the project the bundle belongs to. Omitted means the default project.
	Project *ProjectQuery `form:"project,omitempty" json:"project,omitempty"`
}

AbortReleaseBundleV2DistributionParams defines parameters for AbortReleaseBundleV2Distribution.

type AbortReleaseBundleV2DistributionResponse

type AbortReleaseBundleV2DistributionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *[]PlatformServiceInstance
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseAbortReleaseBundleV2DistributionResponse

func ParseAbortReleaseBundleV2DistributionResponse(rsp *http.Response) (*AbortReleaseBundleV2DistributionResponse, error)

ParseAbortReleaseBundleV2DistributionResponse parses an HTTP response from a AbortReleaseBundleV2DistributionWithResponse call

func (AbortReleaseBundleV2DistributionResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AbortReleaseBundleV2DistributionResponse) GetBody

GetBody returns the raw response body bytes

func (AbortReleaseBundleV2DistributionResponse) GetJSON202

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (AbortReleaseBundleV2DistributionResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (AbortReleaseBundleV2DistributionResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (AbortReleaseBundleV2DistributionResponse) GetJSON501

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (AbortReleaseBundleV2DistributionResponse) Status

Status returns HTTPResponse.Status

func (AbortReleaseBundleV2DistributionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) AbortReleaseBundleV1Distribution

func (c *Client) AbortReleaseBundleV1Distribution(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, reqEditors ...RequestEditorFn) (*http.Response, error)

AbortReleaseBundleV1Distribution Abort a release bundle v1 distribution

Stops the in-progress distribution of the version: transfers not yet finished are cancelled and the affected edges discard what they had partly received. Edges that already completed keep the version.

Corresponds with PUT /api/v1/distribution/{release_bundle_name}/{release_bundle_version}/abort (the `AbortReleaseBundleV1Distribution` operationId).

func (*Client) AbortReleaseBundleV2Distribution

func (c *Client) AbortReleaseBundleV2Distribution(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *AbortReleaseBundleV2DistributionParams, reqEditors ...RequestEditorFn) (*http.Response, error)

AbortReleaseBundleV2Distribution Abort a Release Bundle v2 distribution

Not implemented; answers 501.

Corresponds with PUT /api/v2/distribution/abort/{release_bundle_name}/{release_bundle_version} (the `AbortReleaseBundleV2Distribution` operationId).

func (*Client) CreateOrRefreshTokenWithBody

func (c *Client) CreateOrRefreshTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateOrRefreshTokenWithBody Create or refresh a token

Issues or refreshes a token from a form body. `grant_type=client_credentials` issues a token for `username`; `grant_type=refresh_token` exchanges a refresh token and its access token for a new pair. The tokens are ordinary access tokens.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/security/token (the `CreateOrRefreshToken` operationId).

func (*Client) CreateOrRefreshTokenWithFormdataBody

func (c *Client) CreateOrRefreshTokenWithFormdataBody(ctx context.Context, body CreateOrRefreshTokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateOrRefreshTokenWithFormdataBody Create or refresh a token

Issues or refreshes a token from a form body. `grant_type=client_credentials` issues a token for `username`; `grant_type=refresh_token` exchanges a refresh token and its access token for a new pair. The tokens are ordinary access tokens.

Takes a body of the `application/x-www-form-urlencoded` content type.

Corresponds with POST /api/v1/security/token (the `CreateOrRefreshToken` operationId).

func (*Client) CreateReleaseBundleV1Version

func (c *Client) CreateReleaseBundleV1Version(ctx context.Context, params *CreateReleaseBundleV1VersionParams, body CreateReleaseBundleV1VersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateReleaseBundleV1Version Create a release bundle v1 version

Creates a release bundle version: an immutable manifest of the artifacts selected by the spec's AQL queries, each recorded with its repository path, sha256 checksum and any properties the query adds. When `sign_immediately` is true, or the X-GPG-PASSPHRASE header is sent, the version is also signed with the default GPG key in the same call. With `dry_run` the queries are evaluated and the would-be version is returned without storing anything. A name and version pair is unique; creating an existing pair answers 400. The artifacts stay in their repositories.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/release_bundle (the `CreateReleaseBundleV1Version` operationId).

func (*Client) CreateReleaseBundleV1VersionWithBody

func (c *Client) CreateReleaseBundleV1VersionWithBody(ctx context.Context, params *CreateReleaseBundleV1VersionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateReleaseBundleV1VersionWithBody Create a release bundle v1 version

Creates a release bundle version: an immutable manifest of the artifacts selected by the spec's AQL queries, each recorded with its repository path, sha256 checksum and any properties the query adds. When `sign_immediately` is true, or the X-GPG-PASSPHRASE header is sent, the version is also signed with the default GPG key in the same call. With `dry_run` the queries are evaluated and the would-be version is returned without storing anything. A name and version pair is unique; creating an existing pair answers 400. The artifacts stay in their repositories.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/release_bundle (the `CreateReleaseBundleV1Version` operationId).

func (*Client) CreateSpecificSupportBundle

func (c *Client) CreateSpecificSupportBundle(ctx context.Context, bundleId string, body CreateSpecificSupportBundleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateSpecificSupportBundle Create a support bundle with a given id

Collects a support bundle as the create operation does, under the id in the path.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v1/system/support/bundle/{bundle_id} (the `CreateSpecificSupportBundle` operationId).

func (*Client) CreateSpecificSupportBundleWithBody

func (c *Client) CreateSpecificSupportBundleWithBody(ctx context.Context, bundleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateSpecificSupportBundleWithBody Create a support bundle with a given id

Collects a support bundle as the create operation does, under the id in the path.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/system/support/bundle/{bundle_id} (the `CreateSpecificSupportBundle` operationId).

func (*Client) CreateSupportBundle

func (c *Client) CreateSupportBundle(ctx context.Context, body CreateSupportBundleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateSupportBundle Create a support bundle

Collects a support bundle under a generated id: logs for a date window, the configuration with every secret masked, system information and goroutine dumps, as selected. Administrators only.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/system/support/bundle (the `CreateSupportBundle` operationId).

func (*Client) CreateSupportBundleWithBody

func (c *Client) CreateSupportBundleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateSupportBundleWithBody Create a support bundle

Collects a support bundle under a generated id: logs for a date window, the configuration with every secret masked, system information and goroutine dumps, as selected. Administrators only.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/system/support/bundle (the `CreateSupportBundle` operationId).

func (*Client) DeleteAllReleaseBundleV1Versions

func (c *Client) DeleteAllReleaseBundleV1Versions(ctx context.Context, releaseBundleName ReleaseBundleNamePath, params *DeleteAllReleaseBundleV1VersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteAllReleaseBundleV1Versions Delete every version of a release bundle

Deletes every version of the named release bundle from this instance, with the same rules as deleting one version.

Corresponds with DELETE /api/v1/release_bundle/{release_bundle_name} (the `DeleteAllReleaseBundleV1Versions` operationId).

func (*Client) DeleteDistributionPermission

func (c *Client) DeleteDistributionPermission(ctx context.Context, permissionName string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteDistributionPermission Delete a destination permission

Deletes one destination permission. Administrators only.

Corresponds with DELETE /api/v1/security/permissions/{permission_name} (the `DeleteDistributionPermission` operationId).

func (*Client) DeleteExportedReleaseBundleV1File

func (c *Client) DeleteExportedReleaseBundleV1File(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteExportedReleaseBundleV1File Delete an exported release bundle archive

Deletes the exported zip of the version from the export directory. The version itself is untouched.

Corresponds with DELETE /api/v1/export/release_bundle/{release_bundle_name}/{release_bundle_version} (the `DeleteExportedReleaseBundleV1File` operationId).

func (*Client) DeleteGpgKeyByAlias

func (c *Client) DeleteGpgKeyByAlias(ctx context.Context, alias string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteGpgKeyByAlias Delete a GPG key

Deletes the key pair. Versions already signed with it stay valid on edges that hold its public part; new versions cannot be signed with it.

Corresponds with DELETE /api/v1/keys/pgp/{alias} (the `DeleteGpgKeyByAlias` operationId).

func (*Client) DeleteReleaseBundleV1Version

func (c *Client) DeleteReleaseBundleV1Version(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *DeleteReleaseBundleV1VersionParams, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteReleaseBundleV1Version Delete a release bundle v1 version

Deletes one version from this instance. The artifacts are not deleted; they stay in their repositories under their own retention. Copies already on edges are untouched; remove those with the edge delete operation first.

Corresponds with DELETE /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version} (the `DeleteReleaseBundleV1Version` operationId).

func (*Client) DeleteReleaseBundleV1VersionFromDistributionEdges

func (c *Client) DeleteReleaseBundleV1VersionFromDistributionEdges(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, body DeleteReleaseBundleV1VersionFromDistributionEdgesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteReleaseBundleV1VersionFromDistributionEdges Delete a release bundle v1 version from edges

Removes a distributed version from the edges the rules select. Each edge deletes the version and the artifacts that no other version on that edge still needs. With `on_success=delete` the version is also deleted here once every selected edge has confirmed. With `dry_run` the selected edges are returned and nothing changes.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/distribution/{release_bundle_name}/{release_bundle_version}/delete (the `DeleteReleaseBundleV1VersionFromDistributionEdges` operationId).

func (*Client) DeleteReleaseBundleV1VersionFromDistributionEdgesWithBody

func (c *Client) DeleteReleaseBundleV1VersionFromDistributionEdgesWithBody(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteReleaseBundleV1VersionFromDistributionEdgesWithBody Delete a release bundle v1 version from edges

Removes a distributed version from the edges the rules select. Each edge deletes the version and the artifacts that no other version on that edge still needs. With `on_success=delete` the version is also deleted here once every selected edge has confirmed. With `dry_run` the selected edges are returned and nothing changes.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/distribution/{release_bundle_name}/{release_bundle_version}/delete (the `DeleteReleaseBundleV1VersionFromDistributionEdges` operationId).

func (*Client) DeleteSupportBundle

func (c *Client) DeleteSupportBundle(ctx context.Context, bundleId string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteSupportBundle Delete a support bundle

Deletes one support bundle. Administrators only.

Corresponds with DELETE /api/v1/system/support/bundle/{bundle_id} (the `DeleteSupportBundle` operationId).

func (*Client) DistributeByLastDays

func (c *Client) DistributeByLastDays(ctx context.Context, body DistributeByLastDaysJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

DistributeByLastDays Redistribute recent release bundles to an edge

Redistributes to one edge every release bundle version distributed in a window of days ending on `date`, for example after the edge was rebuilt. The window length runs from 1 to the configured maximum, 7 by default. Administrators only.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/maintenance/distributeByLastDays (the `DistributeByLastDays` operationId).

func (*Client) DistributeByLastDaysWithBody

func (c *Client) DistributeByLastDaysWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

DistributeByLastDaysWithBody Redistribute recent release bundles to an edge

Redistributes to one edge every release bundle version distributed in a window of days ending on `date`, for example after the edge was rebuilt. The window length runs from 1 to the configured maximum, 7 by default. Administrators only.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/maintenance/distributeByLastDays (the `DistributeByLastDays` operationId).

func (*Client) DistributeDynamicReleaseBundleV1

func (c *Client) DistributeDynamicReleaseBundleV1(ctx context.Context, params *DistributeDynamicReleaseBundleV1Params, body DistributeDynamicReleaseBundleV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

DistributeDynamicReleaseBundleV1 Create, sign and distribute a release bundle in one call

Creates a release bundle version from the spec with a generated name and version, signs it with the default GPG key and distributes it to the edges the rules select, all in one request. The rules and edge requirements are those of the ordinary distribute operation.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/dynamic/distribute (the `DistributeDynamicReleaseBundleV1` operationId).

func (*Client) DistributeDynamicReleaseBundleV1WithBody

func (c *Client) DistributeDynamicReleaseBundleV1WithBody(ctx context.Context, params *DistributeDynamicReleaseBundleV1Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

DistributeDynamicReleaseBundleV1WithBody Create, sign and distribute a release bundle in one call

Creates a release bundle version from the spec with a generated name and version, signs it with the default GPG key and distributes it to the edges the rules select, all in one request. The rules and edge requirements are those of the ordinary distribute operation.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/dynamic/distribute (the `DistributeDynamicReleaseBundleV1` operationId).

func (*Client) DistributeReleaseBundleV1Version

func (c *Client) DistributeReleaseBundleV1Version(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, body DistributeReleaseBundleV1VersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

DistributeReleaseBundleV1Version Distribute a release bundle v1 version

Sends a signed version to the edges the distribution rules select and returns a tracker. The transfer runs asynchronously over the peer protocol: each edge receives the signed manifest and the artifacts it does not already hold, verifies the signature against its trusted keys and every checksum, and only then makes the version visible. Edges must be instances paired in the edge role. With `dry_run` the selected edges are returned and nothing is sent.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/distribution/{release_bundle_name}/{release_bundle_version} (the `DistributeReleaseBundleV1Version` operationId).

func (*Client) DistributeReleaseBundleV1VersionWithBody

func (c *Client) DistributeReleaseBundleV1VersionWithBody(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

DistributeReleaseBundleV1VersionWithBody Distribute a release bundle v1 version

Sends a signed version to the edges the distribution rules select and returns a tracker. The transfer runs asynchronously over the peer protocol: each edge receives the signed manifest and the artifacts it does not already hold, verifies the signature against its trusted keys and every checksum, and only then makes the version visible. Edges must be instances paired in the edge role. With `dry_run` the selected edges are returned and nothing is sent.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/distribution/{release_bundle_name}/{release_bundle_version} (the `DistributeReleaseBundleV1Version` operationId).

func (*Client) DistributeReleaseBundleV2Version

func (c *Client) DistributeReleaseBundleV2Version(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *DistributeReleaseBundleV2VersionParams, body DistributeReleaseBundleV2VersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

DistributeReleaseBundleV2Version Distribute a Release Bundle v2 version

Not implemented; answers 501.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v2/distribution/distribute/{release_bundle_name}/{release_bundle_version} (the `DistributeReleaseBundleV2Version` operationId).

func (*Client) DistributeReleaseBundleV2VersionWithBody

func (c *Client) DistributeReleaseBundleV2VersionWithBody(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *DistributeReleaseBundleV2VersionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

DistributeReleaseBundleV2VersionWithBody Distribute a Release Bundle v2 version

Not implemented; answers 501.

Takes any type of body and a specified content type.

Corresponds with POST /api/v2/distribution/distribute/{release_bundle_name}/{release_bundle_version} (the `DistributeReleaseBundleV2Version` operationId).

func (*Client) DistributionPing

func (c *Client) DistributionPing(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

DistributionPing Ping the distribution service

Answers 200 with message OK when the instance's distribution features are usable, meaning the database and blob store are reachable. The distribution service is the instance itself. Anonymous callers may use it unless anonymous access is disabled.

Corresponds with GET /api/v1/system/ping (the `DistributionPing` operationId).

func (*Client) DownloadSupportBundle

func (c *Client) DownloadSupportBundle(ctx context.Context, bundleId string, reqEditors ...RequestEditorFn) (*http.Response, error)

DownloadSupportBundle Download a support bundle

Downloads one support bundle as a zip archive. Administrators only.

Corresponds with GET /api/v1/system/support/bundle/{bundle_id}/archive (the `DownloadSupportBundle` operationId).

func (*Client) ExecuteMaintenanceActionWithBody

func (c *Client) ExecuteMaintenanceActionWithBody(ctx context.Context, actionType ExecuteMaintenanceActionParamsActionType, params *ExecuteMaintenanceActionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ExecuteMaintenanceActionWithBody Run a maintenance action

Runs a maintenance action using a token from the token operation, sent as the plain-text body. UNLOCK_STUCK releases every stuck distribution so it can be retried or cleaned up; STOP_ALL force-stops every in-progress distribution, ends every non-final tracker and empties the pending work queue. `dryRun` defaults to true and reports what would change without changing it. Administrators only.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/maintenance/execute/{actionType} (the `ExecuteMaintenanceAction` operationId).

func (*Client) ExecuteMaintenanceActionWithTextBody

func (c *Client) ExecuteMaintenanceActionWithTextBody(ctx context.Context, actionType ExecuteMaintenanceActionParamsActionType, params *ExecuteMaintenanceActionParams, body ExecuteMaintenanceActionTextRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ExecuteMaintenanceActionWithTextBody Run a maintenance action

Runs a maintenance action using a token from the token operation, sent as the plain-text body. UNLOCK_STUCK releases every stuck distribution so it can be retried or cleaned up; STOP_ALL force-stops every in-progress distribution, ends every non-final tracker and empties the pending work queue. `dryRun` defaults to true and reports what would change without changing it. Administrators only.

Takes a body of the `text/plain` content type.

Corresponds with POST /api/v1/maintenance/execute/{actionType} (the `ExecuteMaintenanceAction` operationId).

func (*Client) ExportReleaseBundleV1Version

func (c *Client) ExportReleaseBundleV1Version(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *ExportReleaseBundleV1VersionParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ExportReleaseBundleV1Version Export a release bundle v1 version for air-gapped transfer

Starts an asynchronous export of a signed version to one zip archive holding the signed manifest, its signature and every artifact, for carrying to an instance with no network path to this one. Poll the status operation; the archive is written to the instance's export directory.

Corresponds with POST /api/v1/export/release_bundle/{release_bundle_name}/{release_bundle_version} (the `ExportReleaseBundleV1Version` operationId).

func (*Client) GenerateMaintenanceExecutionToken

func (c *Client) GenerateMaintenanceExecutionToken(ctx context.Context, actionType GenerateMaintenanceExecutionTokenParamsActionType, reqEditors ...RequestEditorFn) (*http.Response, error)

GenerateMaintenanceExecutionToken Get a maintenance token

Issues a single-use token for one maintenance action. The token expires after 3 minutes and must be sent as the body of the execute operation. Administrators only.

Corresponds with GET /api/v1/maintenance/generate_token/{actionType} (the `GenerateMaintenanceExecutionToken` operationId).

func (*Client) GetAllBundles

func (c *Client) GetAllBundles(ctx context.Context, params *GetAllBundlesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetAllBundles List release bundle v1 versions

Lists the release bundle v1 versions on this instance, one entry per version, newest first. Use `start_pos` to page.

Corresponds with GET /api/v1/release_bundle (the `GetAllBundles` operationId).

func (*Client) GetAllDistributionPermissions

func (c *Client) GetAllDistributionPermissions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetAllDistributionPermissions List destination permissions

Lists every destination permission. Administrators only.

Corresponds with GET /api/v1/security/permissions (the `GetAllDistributionPermissions` operationId).

func (*Client) GetAllGpgKeyAliases

func (c *Client) GetAllGpgKeyAliases(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetAllGpgKeyAliases List GPG key aliases

Lists the aliases of the configured GPG keys.

Corresponds with GET /api/v1/keys/pgp/aliases (the `GetAllGpgKeyAliases` operationId).

func (*Client) GetDistributionEdgeNodes

func (c *Client) GetDistributionEdgeNodes(ctx context.Context, params *GetDistributionEdgeNodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDistributionEdgeNodes List edge nodes

Lists the edges this instance can distribute to: the instances paired with it in the edge role, with the name and service id each declared at pairing.

Corresponds with GET /api/v1/distribution/edge_nodes (the `GetDistributionEdgeNodes` operationId).

func (*Client) GetDistributionPermissionByName

func (c *Client) GetDistributionPermissionByName(ctx context.Context, permissionName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDistributionPermissionByName Get a destination permission

Returns one destination permission. Administrators only.

Corresponds with GET /api/v1/security/permissions/{permission_name} (the `GetDistributionPermissionByName` operationId).

func (*Client) GetDistributionStatusDetails

func (c *Client) GetDistributionStatusDetails(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDistributionStatusDetails List distribution statuses

Lists the distribution trackers of every release bundle v1 version, newest first.

Corresponds with GET /api/v1/release_bundle/distribution (the `GetDistributionStatusDetails` operationId).

func (*Client) GetDistributionStatusDetailsByReleaseBundleV1Name

func (c *Client) GetDistributionStatusDetailsByReleaseBundleV1Name(ctx context.Context, releaseBundleName ReleaseBundleNamePath, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDistributionStatusDetailsByReleaseBundleV1Name List distribution statuses of a release bundle

Lists the distribution trackers of every version of the named release bundle, newest first.

Corresponds with GET /api/v1/release_bundle/{release_bundle_name}/distribution (the `GetDistributionStatusDetailsByReleaseBundleV1Name` operationId).

func (*Client) GetDistributionStatusDetailsByReleaseBundleV1TrackerId

func (c *Client) GetDistributionStatusDetailsByReleaseBundleV1TrackerId(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, distributionTracker DistributionTrackerPath, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDistributionStatusDetailsByReleaseBundleV1TrackerId Get a distribution tracker

Returns one tracker with the status of the transfer to each of its edges.

Corresponds with GET /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version}/distribution/{distribution_tracker} (the `GetDistributionStatusDetailsByReleaseBundleV1TrackerId` operationId).

func (*Client) GetDistributionStatusDetailsByReleaseBundleV1Version

func (c *Client) GetDistributionStatusDetailsByReleaseBundleV1Version(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDistributionStatusDetailsByReleaseBundleV1Version List distribution statuses of a version

Lists the distribution trackers of one release bundle version, newest first.

Corresponds with GET /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version}/distribution (the `GetDistributionStatusDetailsByReleaseBundleV1Version` operationId).

func (*Client) GetDistributionStatusDetailsByTrackerId

func (c *Client) GetDistributionStatusDetailsByTrackerId(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, distributionTracker DistributionTrackerPath, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDistributionStatusDetailsByTrackerId Get a Release Bundle v2 distribution tracker

Not implemented; answers 501.

Corresponds with GET /api/v2/distribution/trackers/{release_bundle_name}/{release_bundle_version}/{distribution_tracker} (the `GetDistributionStatusDetailsByTrackerId` operationId).

func (*Client) GetDistributionSystemInfo

func (c *Client) GetDistributionSystemInfo(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDistributionSystemInfo Get distribution system information

Returns the version, service id and health of the distribution service. `status` is UNSTABLE, with `message` naming the failing dependency, when the database or blob store is unavailable.

Corresponds with GET /api/v1/system/info (the `GetDistributionSystemInfo` operationId).

func (*Client) GetDistributionSystemSettings

func (c *Client) GetDistributionSystemSettings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDistributionSystemSettings Get distribution settings

Returns the distribution settings. Administrators only.

Corresponds with GET /api/v1/system/settings (the `GetDistributionSystemSettings` operationId).

func (*Client) GetExportedReleaseBundleV1Status

func (c *Client) GetExportedReleaseBundleV1Status(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, reqEditors ...RequestEditorFn) (*http.Response, error)

GetExportedReleaseBundleV1Status Get the export status of a release bundle v1 version

Reports how far the export of a version has got.

Corresponds with GET /api/v1/export/release_bundle/{release_bundle_name}/{release_bundle_version}/status (the `GetExportedReleaseBundleV1Status` operationId).

func (*Client) GetGpgPublicKeyByAlias

func (c *Client) GetGpgPublicKeyByAlias(ctx context.Context, alias string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetGpgPublicKeyByAlias Get a GPG key by alias

Returns the alias and public part of one key.

Corresponds with GET /api/v1/keys/pgp/{alias} (the `GetGpgPublicKeyByAlias` operationId).

func (*Client) GetGpgSigningKey

func (c *Client) GetGpgSigningKey(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetGpgSigningKey Get the default GPG signing key

Returns the alias and ASCII-armoured public part of the default GPG key, the key that signs release bundles. The private part is never returned.

Corresponds with GET /api/v1/keys/pgp (the `GetGpgSigningKey` operationId).

func (*Client) GetLatestReleaseBundleV1Version

func (c *Client) GetLatestReleaseBundleV1Version(ctx context.Context, releaseBundleName ReleaseBundleNamePath, reqEditors ...RequestEditorFn) (*http.Response, error)

GetLatestReleaseBundleV1Version Get the latest version of a release bundle

Returns the newest version of the named release bundle by creation time. A version literally named `LATEST` cannot be read through the version path for the same reason.

Corresponds with GET /api/v1/release_bundle/{release_bundle_name}/LATEST (the `GetLatestReleaseBundleV1Version` operationId).

func (*Client) GetOpenMetricsForDistribution

func (c *Client) GetOpenMetricsForDistribution(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetOpenMetricsForDistribution Get distribution metrics

Returns the release bundle and distribution counters in OpenMetrics text, under `jfds_` metric names. Administrators only.

Corresponds with GET /api/v1/metrics (the `GetOpenMetricsForDistribution` operationId).

func (*Client) GetPublicSigningKeyForDistribution

func (c *Client) GetPublicSigningKeyForDistribution(ctx context.Context, keyName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetPublicSigningKeyForDistribution Get a signing key's public part

Returns the ASCII-armoured public part of the named key from the keypair store, as plain text.

Corresponds with GET /api/v2/distribution/key/{key_name} (the `GetPublicSigningKeyForDistribution` operationId).

func (*Client) GetReleaseBundleV1VersionDetails

func (c *Client) GetReleaseBundleV1VersionDetails(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *GetReleaseBundleV1VersionDetailsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetReleaseBundleV1VersionDetails Get a release bundle v1 version

Returns a version's details and artifact list. With `format=jws` or `format=jose` the signed manifest is returned instead, as the compact JWS string or the JOSE JSON serialisation, which is what edges verify; those formats need a signed version.

Corresponds with GET /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version} (the `GetReleaseBundleV1VersionDetails` operationId).

func (*Client) GetReleaseBundleV1VersionSha256

func (c *Client) GetReleaseBundleV1VersionSha256(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, reqEditors ...RequestEditorFn) (*http.Response, error)

GetReleaseBundleV1VersionSha256 Get the checksum of a release bundle v1 version

Answers with the sha256 of the version's signed manifest in the X-Checksum-Sha256 header and no body. Edges and clients use it to compare versions without downloading them.

Corresponds with HEAD /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version} (the `GetReleaseBundleV1VersionSha256` operationId).

func (*Client) GetReleaseBundleV1VersionsByName

func (c *Client) GetReleaseBundleV1VersionsByName(ctx context.Context, releaseBundleName ReleaseBundleNamePath, params *GetReleaseBundleV1VersionsByNameParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetReleaseBundleV1VersionsByName List the versions of one release bundle

Lists every version of the named release bundle, newest first.

Corresponds with GET /api/v1/release_bundle/{release_bundle_name} (the `GetReleaseBundleV1VersionsByName` operationId).

func (*Client) GetReleaseBundleV2DistributionTrackers

func (c *Client) GetReleaseBundleV2DistributionTrackers(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *GetReleaseBundleV2DistributionTrackersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetReleaseBundleV2DistributionTrackers List Release Bundle v2 distribution trackers

Not implemented; answers 501.

Corresponds with GET /api/v2/distribution/trackers/{release_bundle_name}/{release_bundle_version} (the `GetReleaseBundleV2DistributionTrackers` operationId).

func (*Client) GetStuckDistributions

func (c *Client) GetStuckDistributions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetStuckDistributions List stuck distributions

Lists distributions stuck in a non-final state, for example after an edge disappeared mid-transfer. Unlock them with the UNLOCK_STUCK maintenance action. Administrators only.

Corresponds with GET /api/v1/maintenance/stuck_distributions (the `GetStuckDistributions` operationId).

func (*Client) GetSupportBundleInfo

func (c *Client) GetSupportBundleInfo(ctx context.Context, bundleId string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetSupportBundleInfo Get a support bundle

Returns one support bundle's metadata. Administrators only.

Corresponds with GET /api/v1/system/support/bundle/{bundle_id} (the `GetSupportBundleInfo` operationId).

func (*Client) GetTokenInfos

func (c *Client) GetTokenInfos(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetTokenInfos List tokens

Lists the tokens issued through the Distribution token operations. They are ordinary access tokens, so the Access token list shows them too. Administrators only.

Corresponds with GET /api/v1/security/token (the `GetTokenInfos` operationId).

func (*Client) ImportReleaseBundleV1Version

func (c *Client) ImportReleaseBundleV1Version(ctx context.Context, params *ImportReleaseBundleV1VersionParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ImportReleaseBundleV1Version Import an exported release bundle v1 archive

Imports an archive produced by the export operation, typically on an air-gapped instance. The archive must already be in the instance's release bundle import directory. The signature is verified against this instance's trusted keys (so the signing key's public part must have been propagated or added first), every artifact checksum is verified, the artifacts are deployed to the repositories the manifest names, and the version is recorded. With `dry_run` all checks run and nothing is written.

Corresponds with POST /api/release/import (the `ImportReleaseBundleV1Version` operationId).

func (*Client) ListSupportBundles

func (c *Client) ListSupportBundles(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

ListSupportBundles List support bundles

Lists the support bundles on this instance. Administrators only.

Corresponds with GET /api/v1/system/support/bundles (the `ListSupportBundles` operationId).

func (*Client) PropagatePublicSigningKey

func (c *Client) PropagatePublicSigningKey(ctx context.Context, keyName string, reqEditors ...RequestEditorFn) (*http.Response, error)

PropagatePublicSigningKey Propagate a signing key to edges

Sends the named key's public part to every edge peer, which adds it to the keys it trusts for verifying release bundle signatures. Run it after adding or rotating the signing key and before distributing.

Corresponds with POST /api/v2/distribution/key/propagate/{key_name} (the `PropagatePublicSigningKey` operationId).

func (*Client) RemoteDeleteReleaseBundleV2Distribution

func (c *Client) RemoteDeleteReleaseBundleV2Distribution(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *RemoteDeleteReleaseBundleV2DistributionParams, body RemoteDeleteReleaseBundleV2DistributionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

RemoteDeleteReleaseBundleV2Distribution Delete a Release Bundle v2 version from edges

Not implemented; answers 501.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v2/distribution/remote_delete/{release_bundle_name}/{release_bundle_version} (the `RemoteDeleteReleaseBundleV2Distribution` operationId).

func (*Client) RemoteDeleteReleaseBundleV2DistributionWithBody

func (c *Client) RemoteDeleteReleaseBundleV2DistributionWithBody(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *RemoteDeleteReleaseBundleV2DistributionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

RemoteDeleteReleaseBundleV2DistributionWithBody Delete a Release Bundle v2 version from edges

Not implemented; answers 501.

Takes any type of body and a specified content type.

Corresponds with POST /api/v2/distribution/remote_delete/{release_bundle_name}/{release_bundle_version} (the `RemoteDeleteReleaseBundleV2Distribution` operationId).

func (*Client) RevokeTokenWithBody

func (c *Client) RevokeTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

RevokeTokenWithBody Revoke a token

Revokes a token given either its value (access or refresh token) or its id, in a form body, as in RFC 7009. Administrators only.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/security/token/revoke (the `RevokeToken` operationId).

func (*Client) RevokeTokenWithFormdataBody

func (c *Client) RevokeTokenWithFormdataBody(ctx context.Context, body RevokeTokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

RevokeTokenWithFormdataBody Revoke a token

Revokes a token given either its value (access or refresh token) or its id, in a form body, as in RFC 7009. Administrators only.

Takes a body of the `application/x-www-form-urlencoded` content type.

Corresponds with POST /api/v1/security/token/revoke (the `RevokeToken` operationId).

func (*Client) SetDistributionPermission

func (c *Client) SetDistributionPermission(ctx context.Context, permissionName string, body SetDistributionPermissionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetDistributionPermission Create or replace a destination permission

Creates the destination permission, or replaces it when the name exists. A destination permission grants users and groups the right to distribute release bundles to, or delete them from, the edges its destinations match. Administrators only.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v1/security/permissions/{permission_name} (the `SetDistributionPermission` operationId).

func (*Client) SetDistributionPermissionWithBody

func (c *Client) SetDistributionPermissionWithBody(ctx context.Context, permissionName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SetDistributionPermissionWithBody Create or replace a destination permission

Creates the destination permission, or replaces it when the name exists. A destination permission grants users and groups the right to distribute release bundles to, or delete them from, the edges its destinations match. Administrators only.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/security/permissions/{permission_name} (the `SetDistributionPermission` operationId).

func (*Client) SetGpgSigningKey

func (c *Client) SetGpgSigningKey(ctx context.Context, body SetGpgSigningKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetGpgSigningKey Add a GPG signing key

Adds a GPG key pair and makes it the default signing key. The private key is stored sealed in the instance's keypair store, the same store `/artifactory/api/security/keypair` manages, so a key added here is visible there and the reverse.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/keys/pgp (the `SetGpgSigningKey` operationId).

func (*Client) SetGpgSigningKeyWithBody

func (c *Client) SetGpgSigningKeyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SetGpgSigningKeyWithBody Add a GPG signing key

Adds a GPG key pair and makes it the default signing key. The private key is stored sealed in the instance's keypair store, the same store `/artifactory/api/security/keypair` manages, so a key added here is visible there and the reverse.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/keys/pgp (the `SetGpgSigningKey` operationId).

func (*Client) SignReleaseBundleV1Version

func (c *Client) SignReleaseBundleV1Version(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *SignReleaseBundleV1VersionParams, body SignReleaseBundleV1VersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SignReleaseBundleV1Version Sign a release bundle v1 version

Signs an OPEN version with the default GPG key, or with the key whose passphrase is sent in X-GPG-PASSPHRASE, producing a JWS over the manifest, and records the manifest in the storing repository. A version must be signed before it can be distributed or exported and is immutable afterwards. Signing an already signed version is rejected with 400.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version}/sign (the `SignReleaseBundleV1Version` operationId).

func (*Client) SignReleaseBundleV1VersionWithBody

func (c *Client) SignReleaseBundleV1VersionWithBody(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *SignReleaseBundleV1VersionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SignReleaseBundleV1VersionWithBody Sign a release bundle v1 version

Signs an OPEN version with the default GPG key, or with the key whose passphrase is sent in X-GPG-PASSPHRASE, producing a JWS over the manifest, and records the manifest in the storing repository. A version must be signed before it can be distributed or exported and is immutable afterwards. Signing an already signed version is rejected with 400.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version}/sign (the `SignReleaseBundleV1Version` operationId).

func (*Client) TriggerXrayScanReleaseBundleV1Version

func (c *Client) TriggerXrayScanReleaseBundleV1Version(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, reqEditors ...RequestEditorFn) (*http.Response, error)

TriggerXrayScanReleaseBundleV1Version Scan a release bundle v1 version with Xray

Not implemented; answers 501.

Corresponds with POST /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version}/trigger_xray_scan (the `TriggerXrayScanReleaseBundleV1Version` operationId).

func (*Client) UpdateDistributionSystemSettings

func (c *Client) UpdateDistributionSystemSettings(ctx context.Context, body UpdateDistributionSystemSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateDistributionSystemSettings Update distribution settings

Replaces the distribution settings. Administrators only.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/system/settings (the `UpdateDistributionSystemSettings` operationId).

func (*Client) UpdateDistributionSystemSettingsWithBody

func (c *Client) UpdateDistributionSystemSettingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateDistributionSystemSettingsWithBody Update distribution settings

Replaces the distribution settings. Administrators only.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/system/settings (the `UpdateDistributionSystemSettings` operationId).

func (*Client) UpdateGpgKeyAlias

func (c *Client) UpdateGpgKeyAlias(ctx context.Context, alias string, body UpdateGpgKeyAliasJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateGpgKeyAlias Rename a GPG key

Changes the alias of a key; the key material is unchanged.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v1/keys/pgp/{alias} (the `UpdateGpgKeyAlias` operationId).

func (*Client) UpdateGpgKeyAliasWithBody

func (c *Client) UpdateGpgKeyAliasWithBody(ctx context.Context, alias string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateGpgKeyAliasWithBody Rename a GPG key

Changes the alias of a key; the key material is unchanged.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/keys/pgp/{alias} (the `UpdateGpgKeyAlias` operationId).

func (*Client) UpdateReleaseBundleV1Version

func (c *Client) UpdateReleaseBundleV1Version(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *UpdateReleaseBundleV1VersionParams, body UpdateReleaseBundleV1VersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateReleaseBundleV1Version Update an unsigned release bundle v1 version

Replaces the content of a version that has not been signed. The body has the same shape as for creation, and its name and version must match the path. Signed versions are immutable and answer 400.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version} (the `UpdateReleaseBundleV1Version` operationId).

func (*Client) UpdateReleaseBundleV1VersionWithBody

func (c *Client) UpdateReleaseBundleV1VersionWithBody(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *UpdateReleaseBundleV1VersionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateReleaseBundleV1VersionWithBody Update an unsigned release bundle v1 version

Replaces the content of a version that has not been signed. The body has the same shape as for creation, and its name and version must match the path. Signed versions are immutable and answer 400.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version} (the `UpdateReleaseBundleV1Version` operationId).

func (*Client) UpdateReleaseBundleV2DistributionPriority

func (c *Client) UpdateReleaseBundleV2DistributionPriority(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, distributionTracker DistributionTrackerPath, body UpdateReleaseBundleV2DistributionPriorityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateReleaseBundleV2DistributionPriority Change the priority of a Release Bundle v2 distribution

Not implemented; answers 501.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v2/distribution/trackers/{release_bundle_name}/{release_bundle_version}/{distribution_tracker}/priority (the `UpdateReleaseBundleV2DistributionPriority` operationId).

func (*Client) UpdateReleaseBundleV2DistributionPriorityWithBody

func (c *Client) UpdateReleaseBundleV2DistributionPriorityWithBody(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, distributionTracker DistributionTrackerPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateReleaseBundleV2DistributionPriorityWithBody Change the priority of a Release Bundle v2 distribution

Not implemented; answers 501.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v2/distribution/trackers/{release_bundle_name}/{release_bundle_version}/{distribution_tracker}/priority (the `UpdateReleaseBundleV2DistributionPriority` operationId).

func (*Client) UploadAndPropagateGpgSigningKeysForDistribution

func (c *Client) UploadAndPropagateGpgSigningKeysForDistribution(ctx context.Context, params *UploadAndPropagateGpgSigningKeysForDistributionParams, reqEditors ...RequestEditorFn) (*http.Response, error)

UploadAndPropagateGpgSigningKeysForDistribution Propagate GPG keys to edges

Sends one key (`alias`) or every key (`all=true`) to every edge peer, which adds it to the keys it trusts for verifying signatures. Only public parts leave this instance.

Corresponds with POST /api/v1/keys/pgp/propagate (the `UploadAndPropagateGpgSigningKeysForDistribution` operationId).

type ClientInterface

type ClientInterface interface {

	// ImportReleaseBundleV1Version Import an exported release bundle v1 archive
	//
	// Imports an archive produced by the export operation, typically on an air-gapped instance. The archive must already be in the instance's release bundle import directory. The signature is verified against this instance's trusted keys (so the signing key's public part must have been propagated or added first), every artifact checksum is verified, the artifacts are deployed to the repositories the manifest names, and the version is recorded. With `dry_run` all checks run and nothing is written.
	//
	// Corresponds with POST /api/release/import (the `ImportReleaseBundleV1Version` operationId).
	ImportReleaseBundleV1Version(ctx context.Context, params *ImportReleaseBundleV1VersionParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDistributionEdgeNodes List edge nodes
	//
	// Lists the edges this instance can distribute to: the instances paired with it in the edge role, with the name and service id each declared at pairing.
	//
	// Corresponds with GET /api/v1/distribution/edge_nodes (the `GetDistributionEdgeNodes` operationId).
	GetDistributionEdgeNodes(ctx context.Context, params *GetDistributionEdgeNodesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DistributeReleaseBundleV1VersionWithBody Distribute a release bundle v1 version
	//
	// Sends a signed version to the edges the distribution rules select and returns a tracker. The transfer runs asynchronously over the peer protocol: each edge receives the signed manifest and the artifacts it does not already hold, verifies the signature against its trusted keys and every checksum, and only then makes the version visible. Edges must be instances paired in the edge role. With `dry_run` the selected edges are returned and nothing is sent.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/distribution/{release_bundle_name}/{release_bundle_version} (the `DistributeReleaseBundleV1Version` operationId).
	DistributeReleaseBundleV1VersionWithBody(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DistributeReleaseBundleV1Version Distribute a release bundle v1 version
	//
	// Sends a signed version to the edges the distribution rules select and returns a tracker. The transfer runs asynchronously over the peer protocol: each edge receives the signed manifest and the artifacts it does not already hold, verifies the signature against its trusted keys and every checksum, and only then makes the version visible. Edges must be instances paired in the edge role. With `dry_run` the selected edges are returned and nothing is sent.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/distribution/{release_bundle_name}/{release_bundle_version} (the `DistributeReleaseBundleV1Version` operationId).
	DistributeReleaseBundleV1Version(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, body DistributeReleaseBundleV1VersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AbortReleaseBundleV1Distribution Abort a release bundle v1 distribution
	//
	// Stops the in-progress distribution of the version: transfers not yet finished are cancelled and the affected edges discard what they had partly received. Edges that already completed keep the version.
	//
	// Corresponds with PUT /api/v1/distribution/{release_bundle_name}/{release_bundle_version}/abort (the `AbortReleaseBundleV1Distribution` operationId).
	AbortReleaseBundleV1Distribution(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteReleaseBundleV1VersionFromDistributionEdgesWithBody Delete a release bundle v1 version from edges
	//
	// Removes a distributed version from the edges the rules select. Each edge deletes the version and the artifacts that no other version on that edge still needs. With `on_success=delete` the version is also deleted here once every selected edge has confirmed. With `dry_run` the selected edges are returned and nothing changes.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/distribution/{release_bundle_name}/{release_bundle_version}/delete (the `DeleteReleaseBundleV1VersionFromDistributionEdges` operationId).
	DeleteReleaseBundleV1VersionFromDistributionEdgesWithBody(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteReleaseBundleV1VersionFromDistributionEdges Delete a release bundle v1 version from edges
	//
	// Removes a distributed version from the edges the rules select. Each edge deletes the version and the artifacts that no other version on that edge still needs. With `on_success=delete` the version is also deleted here once every selected edge has confirmed. With `dry_run` the selected edges are returned and nothing changes.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/distribution/{release_bundle_name}/{release_bundle_version}/delete (the `DeleteReleaseBundleV1VersionFromDistributionEdges` operationId).
	DeleteReleaseBundleV1VersionFromDistributionEdges(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, body DeleteReleaseBundleV1VersionFromDistributionEdgesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DistributeDynamicReleaseBundleV1WithBody Create, sign and distribute a release bundle in one call
	//
	// Creates a release bundle version from the spec with a generated name and version, signs it with the default GPG key and distributes it to the edges the rules select, all in one request. The rules and edge requirements are those of the ordinary distribute operation.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/dynamic/distribute (the `DistributeDynamicReleaseBundleV1` operationId).
	DistributeDynamicReleaseBundleV1WithBody(ctx context.Context, params *DistributeDynamicReleaseBundleV1Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DistributeDynamicReleaseBundleV1 Create, sign and distribute a release bundle in one call
	//
	// Creates a release bundle version from the spec with a generated name and version, signs it with the default GPG key and distributes it to the edges the rules select, all in one request. The rules and edge requirements are those of the ordinary distribute operation.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/dynamic/distribute (the `DistributeDynamicReleaseBundleV1` operationId).
	DistributeDynamicReleaseBundleV1(ctx context.Context, params *DistributeDynamicReleaseBundleV1Params, body DistributeDynamicReleaseBundleV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteExportedReleaseBundleV1File Delete an exported release bundle archive
	//
	// Deletes the exported zip of the version from the export directory. The version itself is untouched.
	//
	// Corresponds with DELETE /api/v1/export/release_bundle/{release_bundle_name}/{release_bundle_version} (the `DeleteExportedReleaseBundleV1File` operationId).
	DeleteExportedReleaseBundleV1File(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExportReleaseBundleV1Version Export a release bundle v1 version for air-gapped transfer
	//
	// Starts an asynchronous export of a signed version to one zip archive holding the signed manifest, its signature and every artifact, for carrying to an instance with no network path to this one. Poll the status operation; the archive is written to the instance's export directory.
	//
	// Corresponds with POST /api/v1/export/release_bundle/{release_bundle_name}/{release_bundle_version} (the `ExportReleaseBundleV1Version` operationId).
	ExportReleaseBundleV1Version(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *ExportReleaseBundleV1VersionParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetExportedReleaseBundleV1Status Get the export status of a release bundle v1 version
	//
	// Reports how far the export of a version has got.
	//
	// Corresponds with GET /api/v1/export/release_bundle/{release_bundle_name}/{release_bundle_version}/status (the `GetExportedReleaseBundleV1Status` operationId).
	GetExportedReleaseBundleV1Status(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetGpgSigningKey Get the default GPG signing key
	//
	// Returns the alias and ASCII-armoured public part of the default GPG key, the key that signs release bundles. The private part is never returned.
	//
	// Corresponds with GET /api/v1/keys/pgp (the `GetGpgSigningKey` operationId).
	GetGpgSigningKey(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetGpgSigningKeyWithBody Add a GPG signing key
	//
	// Adds a GPG key pair and makes it the default signing key. The private key is stored sealed in the instance's keypair store, the same store `/artifactory/api/security/keypair` manages, so a key added here is visible there and the reverse.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/keys/pgp (the `SetGpgSigningKey` operationId).
	SetGpgSigningKeyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetGpgSigningKey Add a GPG signing key
	//
	// Adds a GPG key pair and makes it the default signing key. The private key is stored sealed in the instance's keypair store, the same store `/artifactory/api/security/keypair` manages, so a key added here is visible there and the reverse.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/keys/pgp (the `SetGpgSigningKey` operationId).
	SetGpgSigningKey(ctx context.Context, body SetGpgSigningKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAllGpgKeyAliases List GPG key aliases
	//
	// Lists the aliases of the configured GPG keys.
	//
	// Corresponds with GET /api/v1/keys/pgp/aliases (the `GetAllGpgKeyAliases` operationId).
	GetAllGpgKeyAliases(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UploadAndPropagateGpgSigningKeysForDistribution Propagate GPG keys to edges
	//
	// Sends one key (`alias`) or every key (`all=true`) to every edge peer, which adds it to the keys it trusts for verifying signatures. Only public parts leave this instance.
	//
	// Corresponds with POST /api/v1/keys/pgp/propagate (the `UploadAndPropagateGpgSigningKeysForDistribution` operationId).
	UploadAndPropagateGpgSigningKeysForDistribution(ctx context.Context, params *UploadAndPropagateGpgSigningKeysForDistributionParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteGpgKeyByAlias Delete a GPG key
	//
	// Deletes the key pair. Versions already signed with it stay valid on edges that hold its public part; new versions cannot be signed with it.
	//
	// Corresponds with DELETE /api/v1/keys/pgp/{alias} (the `DeleteGpgKeyByAlias` operationId).
	DeleteGpgKeyByAlias(ctx context.Context, alias string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetGpgPublicKeyByAlias Get a GPG key by alias
	//
	// Returns the alias and public part of one key.
	//
	// Corresponds with GET /api/v1/keys/pgp/{alias} (the `GetGpgPublicKeyByAlias` operationId).
	GetGpgPublicKeyByAlias(ctx context.Context, alias string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateGpgKeyAliasWithBody Rename a GPG key
	//
	// Changes the alias of a key; the key material is unchanged.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/keys/pgp/{alias} (the `UpdateGpgKeyAlias` operationId).
	UpdateGpgKeyAliasWithBody(ctx context.Context, alias string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateGpgKeyAlias Rename a GPG key
	//
	// Changes the alias of a key; the key material is unchanged.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/keys/pgp/{alias} (the `UpdateGpgKeyAlias` operationId).
	UpdateGpgKeyAlias(ctx context.Context, alias string, body UpdateGpgKeyAliasJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DistributeByLastDaysWithBody Redistribute recent release bundles to an edge
	//
	// Redistributes to one edge every release bundle version distributed in a window of days ending on `date`, for example after the edge was rebuilt. The window length runs from 1 to the configured maximum, 7 by default. Administrators only.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/maintenance/distributeByLastDays (the `DistributeByLastDays` operationId).
	DistributeByLastDaysWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DistributeByLastDays Redistribute recent release bundles to an edge
	//
	// Redistributes to one edge every release bundle version distributed in a window of days ending on `date`, for example after the edge was rebuilt. The window length runs from 1 to the configured maximum, 7 by default. Administrators only.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/maintenance/distributeByLastDays (the `DistributeByLastDays` operationId).
	DistributeByLastDays(ctx context.Context, body DistributeByLastDaysJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExecuteMaintenanceActionWithBody Run a maintenance action
	//
	// Runs a maintenance action using a token from the token operation, sent as the plain-text body. UNLOCK_STUCK releases every stuck distribution so it can be retried or cleaned up; STOP_ALL force-stops every in-progress distribution, ends every non-final tracker and empties the pending work queue. `dryRun` defaults to true and reports what would change without changing it. Administrators only.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/maintenance/execute/{actionType} (the `ExecuteMaintenanceAction` operationId).
	ExecuteMaintenanceActionWithBody(ctx context.Context, actionType ExecuteMaintenanceActionParamsActionType, params *ExecuteMaintenanceActionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExecuteMaintenanceActionWithTextBody Run a maintenance action
	//
	// Runs a maintenance action using a token from the token operation, sent as the plain-text body. UNLOCK_STUCK releases every stuck distribution so it can be retried or cleaned up; STOP_ALL force-stops every in-progress distribution, ends every non-final tracker and empties the pending work queue. `dryRun` defaults to true and reports what would change without changing it. Administrators only.
	//
	// Takes a body of the `text/plain` content type.
	//
	// Corresponds with POST /api/v1/maintenance/execute/{actionType} (the `ExecuteMaintenanceAction` operationId).
	ExecuteMaintenanceActionWithTextBody(ctx context.Context, actionType ExecuteMaintenanceActionParamsActionType, params *ExecuteMaintenanceActionParams, body ExecuteMaintenanceActionTextRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GenerateMaintenanceExecutionToken Get a maintenance token
	//
	// Issues a single-use token for one maintenance action. The token expires after 3 minutes and must be sent as the body of the execute operation. Administrators only.
	//
	// Corresponds with GET /api/v1/maintenance/generate_token/{actionType} (the `GenerateMaintenanceExecutionToken` operationId).
	GenerateMaintenanceExecutionToken(ctx context.Context, actionType GenerateMaintenanceExecutionTokenParamsActionType, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetStuckDistributions List stuck distributions
	//
	// Lists distributions stuck in a non-final state, for example after an edge disappeared mid-transfer. Unlock them with the UNLOCK_STUCK maintenance action. Administrators only.
	//
	// Corresponds with GET /api/v1/maintenance/stuck_distributions (the `GetStuckDistributions` operationId).
	GetStuckDistributions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOpenMetricsForDistribution Get distribution metrics
	//
	// Returns the release bundle and distribution counters in OpenMetrics text, under `jfds_` metric names. Administrators only.
	//
	// Corresponds with GET /api/v1/metrics (the `GetOpenMetricsForDistribution` operationId).
	GetOpenMetricsForDistribution(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAllBundles List release bundle v1 versions
	//
	// Lists the release bundle v1 versions on this instance, one entry per version, newest first. Use `start_pos` to page.
	//
	// Corresponds with GET /api/v1/release_bundle (the `GetAllBundles` operationId).
	GetAllBundles(ctx context.Context, params *GetAllBundlesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateReleaseBundleV1VersionWithBody Create a release bundle v1 version
	//
	// Creates a release bundle version: an immutable manifest of the artifacts selected by the spec's AQL queries, each recorded with its repository path, sha256 checksum and any properties the query adds. When `sign_immediately` is true, or the X-GPG-PASSPHRASE header is sent, the version is also signed with the default GPG key in the same call. With `dry_run` the queries are evaluated and the would-be version is returned without storing anything. A name and version pair is unique; creating an existing pair answers 400. The artifacts stay in their repositories.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/release_bundle (the `CreateReleaseBundleV1Version` operationId).
	CreateReleaseBundleV1VersionWithBody(ctx context.Context, params *CreateReleaseBundleV1VersionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateReleaseBundleV1Version Create a release bundle v1 version
	//
	// Creates a release bundle version: an immutable manifest of the artifacts selected by the spec's AQL queries, each recorded with its repository path, sha256 checksum and any properties the query adds. When `sign_immediately` is true, or the X-GPG-PASSPHRASE header is sent, the version is also signed with the default GPG key in the same call. With `dry_run` the queries are evaluated and the would-be version is returned without storing anything. A name and version pair is unique; creating an existing pair answers 400. The artifacts stay in their repositories.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/release_bundle (the `CreateReleaseBundleV1Version` operationId).
	CreateReleaseBundleV1Version(ctx context.Context, params *CreateReleaseBundleV1VersionParams, body CreateReleaseBundleV1VersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDistributionStatusDetails List distribution statuses
	//
	// Lists the distribution trackers of every release bundle v1 version, newest first.
	//
	// Corresponds with GET /api/v1/release_bundle/distribution (the `GetDistributionStatusDetails` operationId).
	GetDistributionStatusDetails(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteAllReleaseBundleV1Versions Delete every version of a release bundle
	//
	// Deletes every version of the named release bundle from this instance, with the same rules as deleting one version.
	//
	// Corresponds with DELETE /api/v1/release_bundle/{release_bundle_name} (the `DeleteAllReleaseBundleV1Versions` operationId).
	DeleteAllReleaseBundleV1Versions(ctx context.Context, releaseBundleName ReleaseBundleNamePath, params *DeleteAllReleaseBundleV1VersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetReleaseBundleV1VersionsByName List the versions of one release bundle
	//
	// Lists every version of the named release bundle, newest first.
	//
	// Corresponds with GET /api/v1/release_bundle/{release_bundle_name} (the `GetReleaseBundleV1VersionsByName` operationId).
	GetReleaseBundleV1VersionsByName(ctx context.Context, releaseBundleName ReleaseBundleNamePath, params *GetReleaseBundleV1VersionsByNameParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLatestReleaseBundleV1Version Get the latest version of a release bundle
	//
	// Returns the newest version of the named release bundle by creation time. A version literally named `LATEST` cannot be read through the version path for the same reason.
	//
	// Corresponds with GET /api/v1/release_bundle/{release_bundle_name}/LATEST (the `GetLatestReleaseBundleV1Version` operationId).
	GetLatestReleaseBundleV1Version(ctx context.Context, releaseBundleName ReleaseBundleNamePath, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDistributionStatusDetailsByReleaseBundleV1Name List distribution statuses of a release bundle
	//
	// Lists the distribution trackers of every version of the named release bundle, newest first.
	//
	// Corresponds with GET /api/v1/release_bundle/{release_bundle_name}/distribution (the `GetDistributionStatusDetailsByReleaseBundleV1Name` operationId).
	GetDistributionStatusDetailsByReleaseBundleV1Name(ctx context.Context, releaseBundleName ReleaseBundleNamePath, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteReleaseBundleV1Version Delete a release bundle v1 version
	//
	// Deletes one version from this instance. The artifacts are not deleted; they stay in their repositories under their own retention. Copies already on edges are untouched; remove those with the edge delete operation first.
	//
	// Corresponds with DELETE /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version} (the `DeleteReleaseBundleV1Version` operationId).
	DeleteReleaseBundleV1Version(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *DeleteReleaseBundleV1VersionParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetReleaseBundleV1VersionDetails Get a release bundle v1 version
	//
	// Returns a version's details and artifact list. With `format=jws` or `format=jose` the signed manifest is returned instead, as the compact JWS string or the JOSE JSON serialisation, which is what edges verify; those formats need a signed version.
	//
	// Corresponds with GET /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version} (the `GetReleaseBundleV1VersionDetails` operationId).
	GetReleaseBundleV1VersionDetails(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *GetReleaseBundleV1VersionDetailsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetReleaseBundleV1VersionSha256 Get the checksum of a release bundle v1 version
	//
	// Answers with the sha256 of the version's signed manifest in the X-Checksum-Sha256 header and no body. Edges and clients use it to compare versions without downloading them.
	//
	// Corresponds with HEAD /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version} (the `GetReleaseBundleV1VersionSha256` operationId).
	GetReleaseBundleV1VersionSha256(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateReleaseBundleV1VersionWithBody Update an unsigned release bundle v1 version
	//
	// Replaces the content of a version that has not been signed. The body has the same shape as for creation, and its name and version must match the path. Signed versions are immutable and answer 400.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version} (the `UpdateReleaseBundleV1Version` operationId).
	UpdateReleaseBundleV1VersionWithBody(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *UpdateReleaseBundleV1VersionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateReleaseBundleV1Version Update an unsigned release bundle v1 version
	//
	// Replaces the content of a version that has not been signed. The body has the same shape as for creation, and its name and version must match the path. Signed versions are immutable and answer 400.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version} (the `UpdateReleaseBundleV1Version` operationId).
	UpdateReleaseBundleV1Version(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *UpdateReleaseBundleV1VersionParams, body UpdateReleaseBundleV1VersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDistributionStatusDetailsByReleaseBundleV1Version List distribution statuses of a version
	//
	// Lists the distribution trackers of one release bundle version, newest first.
	//
	// Corresponds with GET /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version}/distribution (the `GetDistributionStatusDetailsByReleaseBundleV1Version` operationId).
	GetDistributionStatusDetailsByReleaseBundleV1Version(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDistributionStatusDetailsByReleaseBundleV1TrackerId Get a distribution tracker
	//
	// Returns one tracker with the status of the transfer to each of its edges.
	//
	// Corresponds with GET /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version}/distribution/{distribution_tracker} (the `GetDistributionStatusDetailsByReleaseBundleV1TrackerId` operationId).
	GetDistributionStatusDetailsByReleaseBundleV1TrackerId(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, distributionTracker DistributionTrackerPath, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SignReleaseBundleV1VersionWithBody Sign a release bundle v1 version
	//
	// Signs an OPEN version with the default GPG key, or with the key whose passphrase is sent in X-GPG-PASSPHRASE, producing a JWS over the manifest, and records the manifest in the storing repository. A version must be signed before it can be distributed or exported and is immutable afterwards. Signing an already signed version is rejected with 400.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version}/sign (the `SignReleaseBundleV1Version` operationId).
	SignReleaseBundleV1VersionWithBody(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *SignReleaseBundleV1VersionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SignReleaseBundleV1Version Sign a release bundle v1 version
	//
	// Signs an OPEN version with the default GPG key, or with the key whose passphrase is sent in X-GPG-PASSPHRASE, producing a JWS over the manifest, and records the manifest in the storing repository. A version must be signed before it can be distributed or exported and is immutable afterwards. Signing an already signed version is rejected with 400.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version}/sign (the `SignReleaseBundleV1Version` operationId).
	SignReleaseBundleV1Version(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *SignReleaseBundleV1VersionParams, body SignReleaseBundleV1VersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TriggerXrayScanReleaseBundleV1Version Scan a release bundle v1 version with Xray
	//
	// Not implemented; answers 501.
	//
	// Corresponds with POST /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version}/trigger_xray_scan (the `TriggerXrayScanReleaseBundleV1Version` operationId).
	TriggerXrayScanReleaseBundleV1Version(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAllDistributionPermissions List destination permissions
	//
	// Lists every destination permission. Administrators only.
	//
	// Corresponds with GET /api/v1/security/permissions (the `GetAllDistributionPermissions` operationId).
	GetAllDistributionPermissions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteDistributionPermission Delete a destination permission
	//
	// Deletes one destination permission. Administrators only.
	//
	// Corresponds with DELETE /api/v1/security/permissions/{permission_name} (the `DeleteDistributionPermission` operationId).
	DeleteDistributionPermission(ctx context.Context, permissionName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDistributionPermissionByName Get a destination permission
	//
	// Returns one destination permission. Administrators only.
	//
	// Corresponds with GET /api/v1/security/permissions/{permission_name} (the `GetDistributionPermissionByName` operationId).
	GetDistributionPermissionByName(ctx context.Context, permissionName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetDistributionPermissionWithBody Create or replace a destination permission
	//
	// Creates the destination permission, or replaces it when the name exists. A destination permission grants users and groups the right to distribute release bundles to, or delete them from, the edges its destinations match. Administrators only.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/security/permissions/{permission_name} (the `SetDistributionPermission` operationId).
	SetDistributionPermissionWithBody(ctx context.Context, permissionName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetDistributionPermission Create or replace a destination permission
	//
	// Creates the destination permission, or replaces it when the name exists. A destination permission grants users and groups the right to distribute release bundles to, or delete them from, the edges its destinations match. Administrators only.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/security/permissions/{permission_name} (the `SetDistributionPermission` operationId).
	SetDistributionPermission(ctx context.Context, permissionName string, body SetDistributionPermissionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTokenInfos List tokens
	//
	// Lists the tokens issued through the Distribution token operations. They are ordinary access tokens, so the Access token list shows them too. Administrators only.
	//
	// Corresponds with GET /api/v1/security/token (the `GetTokenInfos` operationId).
	GetTokenInfos(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateOrRefreshTokenWithBody Create or refresh a token
	//
	// Issues or refreshes a token from a form body. `grant_type=client_credentials` issues a token for `username`; `grant_type=refresh_token` exchanges a refresh token and its access token for a new pair. The tokens are ordinary access tokens.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/security/token (the `CreateOrRefreshToken` operationId).
	CreateOrRefreshTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateOrRefreshTokenWithFormdataBody Create or refresh a token
	//
	// Issues or refreshes a token from a form body. `grant_type=client_credentials` issues a token for `username`; `grant_type=refresh_token` exchanges a refresh token and its access token for a new pair. The tokens are ordinary access tokens.
	//
	// Takes a body of the `application/x-www-form-urlencoded` content type.
	//
	// Corresponds with POST /api/v1/security/token (the `CreateOrRefreshToken` operationId).
	CreateOrRefreshTokenWithFormdataBody(ctx context.Context, body CreateOrRefreshTokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RevokeTokenWithBody Revoke a token
	//
	// Revokes a token given either its value (access or refresh token) or its id, in a form body, as in RFC 7009. Administrators only.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/security/token/revoke (the `RevokeToken` operationId).
	RevokeTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RevokeTokenWithFormdataBody Revoke a token
	//
	// Revokes a token given either its value (access or refresh token) or its id, in a form body, as in RFC 7009. Administrators only.
	//
	// Takes a body of the `application/x-www-form-urlencoded` content type.
	//
	// Corresponds with POST /api/v1/security/token/revoke (the `RevokeToken` operationId).
	RevokeTokenWithFormdataBody(ctx context.Context, body RevokeTokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDistributionSystemInfo Get distribution system information
	//
	// Returns the version, service id and health of the distribution service. `status` is UNSTABLE, with `message` naming the failing dependency, when the database or blob store is unavailable.
	//
	// Corresponds with GET /api/v1/system/info (the `GetDistributionSystemInfo` operationId).
	GetDistributionSystemInfo(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DistributionPing Ping the distribution service
	//
	// Answers 200 with message OK when the instance's distribution features are usable, meaning the database and blob store are reachable. The distribution service is the instance itself. Anonymous callers may use it unless anonymous access is disabled.
	//
	// Corresponds with GET /api/v1/system/ping (the `DistributionPing` operationId).
	DistributionPing(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDistributionSystemSettings Get distribution settings
	//
	// Returns the distribution settings. Administrators only.
	//
	// Corresponds with GET /api/v1/system/settings (the `GetDistributionSystemSettings` operationId).
	GetDistributionSystemSettings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateDistributionSystemSettingsWithBody Update distribution settings
	//
	// Replaces the distribution settings. Administrators only.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/system/settings (the `UpdateDistributionSystemSettings` operationId).
	UpdateDistributionSystemSettingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateDistributionSystemSettings Update distribution settings
	//
	// Replaces the distribution settings. Administrators only.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/system/settings (the `UpdateDistributionSystemSettings` operationId).
	UpdateDistributionSystemSettings(ctx context.Context, body UpdateDistributionSystemSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateSupportBundleWithBody Create a support bundle
	//
	// Collects a support bundle under a generated id: logs for a date window, the configuration with every secret masked, system information and goroutine dumps, as selected. Administrators only.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/system/support/bundle (the `CreateSupportBundle` operationId).
	CreateSupportBundleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateSupportBundle Create a support bundle
	//
	// Collects a support bundle under a generated id: logs for a date window, the configuration with every secret masked, system information and goroutine dumps, as selected. Administrators only.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/system/support/bundle (the `CreateSupportBundle` operationId).
	CreateSupportBundle(ctx context.Context, body CreateSupportBundleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteSupportBundle Delete a support bundle
	//
	// Deletes one support bundle. Administrators only.
	//
	// Corresponds with DELETE /api/v1/system/support/bundle/{bundle_id} (the `DeleteSupportBundle` operationId).
	DeleteSupportBundle(ctx context.Context, bundleId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSupportBundleInfo Get a support bundle
	//
	// Returns one support bundle's metadata. Administrators only.
	//
	// Corresponds with GET /api/v1/system/support/bundle/{bundle_id} (the `GetSupportBundleInfo` operationId).
	GetSupportBundleInfo(ctx context.Context, bundleId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateSpecificSupportBundleWithBody Create a support bundle with a given id
	//
	// Collects a support bundle as the create operation does, under the id in the path.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/system/support/bundle/{bundle_id} (the `CreateSpecificSupportBundle` operationId).
	CreateSpecificSupportBundleWithBody(ctx context.Context, bundleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateSpecificSupportBundle Create a support bundle with a given id
	//
	// Collects a support bundle as the create operation does, under the id in the path.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/system/support/bundle/{bundle_id} (the `CreateSpecificSupportBundle` operationId).
	CreateSpecificSupportBundle(ctx context.Context, bundleId string, body CreateSpecificSupportBundleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DownloadSupportBundle Download a support bundle
	//
	// Downloads one support bundle as a zip archive. Administrators only.
	//
	// Corresponds with GET /api/v1/system/support/bundle/{bundle_id}/archive (the `DownloadSupportBundle` operationId).
	DownloadSupportBundle(ctx context.Context, bundleId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSupportBundles List support bundles
	//
	// Lists the support bundles on this instance. Administrators only.
	//
	// Corresponds with GET /api/v1/system/support/bundles (the `ListSupportBundles` operationId).
	ListSupportBundles(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AbortReleaseBundleV2Distribution Abort a Release Bundle v2 distribution
	//
	// Not implemented; answers 501.
	//
	// Corresponds with PUT /api/v2/distribution/abort/{release_bundle_name}/{release_bundle_version} (the `AbortReleaseBundleV2Distribution` operationId).
	AbortReleaseBundleV2Distribution(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *AbortReleaseBundleV2DistributionParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DistributeReleaseBundleV2VersionWithBody Distribute a Release Bundle v2 version
	//
	// Not implemented; answers 501.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v2/distribution/distribute/{release_bundle_name}/{release_bundle_version} (the `DistributeReleaseBundleV2Version` operationId).
	DistributeReleaseBundleV2VersionWithBody(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *DistributeReleaseBundleV2VersionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DistributeReleaseBundleV2Version Distribute a Release Bundle v2 version
	//
	// Not implemented; answers 501.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v2/distribution/distribute/{release_bundle_name}/{release_bundle_version} (the `DistributeReleaseBundleV2Version` operationId).
	DistributeReleaseBundleV2Version(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *DistributeReleaseBundleV2VersionParams, body DistributeReleaseBundleV2VersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PropagatePublicSigningKey Propagate a signing key to edges
	//
	// Sends the named key's public part to every edge peer, which adds it to the keys it trusts for verifying release bundle signatures. Run it after adding or rotating the signing key and before distributing.
	//
	// Corresponds with POST /api/v2/distribution/key/propagate/{key_name} (the `PropagatePublicSigningKey` operationId).
	PropagatePublicSigningKey(ctx context.Context, keyName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPublicSigningKeyForDistribution Get a signing key's public part
	//
	// Returns the ASCII-armoured public part of the named key from the keypair store, as plain text.
	//
	// Corresponds with GET /api/v2/distribution/key/{key_name} (the `GetPublicSigningKeyForDistribution` operationId).
	GetPublicSigningKeyForDistribution(ctx context.Context, keyName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoteDeleteReleaseBundleV2DistributionWithBody Delete a Release Bundle v2 version from edges
	//
	// Not implemented; answers 501.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v2/distribution/remote_delete/{release_bundle_name}/{release_bundle_version} (the `RemoteDeleteReleaseBundleV2Distribution` operationId).
	RemoteDeleteReleaseBundleV2DistributionWithBody(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *RemoteDeleteReleaseBundleV2DistributionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoteDeleteReleaseBundleV2Distribution Delete a Release Bundle v2 version from edges
	//
	// Not implemented; answers 501.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v2/distribution/remote_delete/{release_bundle_name}/{release_bundle_version} (the `RemoteDeleteReleaseBundleV2Distribution` operationId).
	RemoteDeleteReleaseBundleV2Distribution(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *RemoteDeleteReleaseBundleV2DistributionParams, body RemoteDeleteReleaseBundleV2DistributionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetReleaseBundleV2DistributionTrackers List Release Bundle v2 distribution trackers
	//
	// Not implemented; answers 501.
	//
	// Corresponds with GET /api/v2/distribution/trackers/{release_bundle_name}/{release_bundle_version} (the `GetReleaseBundleV2DistributionTrackers` operationId).
	GetReleaseBundleV2DistributionTrackers(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *GetReleaseBundleV2DistributionTrackersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDistributionStatusDetailsByTrackerId Get a Release Bundle v2 distribution tracker
	//
	// Not implemented; answers 501.
	//
	// Corresponds with GET /api/v2/distribution/trackers/{release_bundle_name}/{release_bundle_version}/{distribution_tracker} (the `GetDistributionStatusDetailsByTrackerId` operationId).
	GetDistributionStatusDetailsByTrackerId(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, distributionTracker DistributionTrackerPath, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateReleaseBundleV2DistributionPriorityWithBody Change the priority of a Release Bundle v2 distribution
	//
	// Not implemented; answers 501.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v2/distribution/trackers/{release_bundle_name}/{release_bundle_version}/{distribution_tracker}/priority (the `UpdateReleaseBundleV2DistributionPriority` operationId).
	UpdateReleaseBundleV2DistributionPriorityWithBody(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, distributionTracker DistributionTrackerPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateReleaseBundleV2DistributionPriority Change the priority of a Release Bundle v2 distribution
	//
	// Not implemented; answers 501.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v2/distribution/trackers/{release_bundle_name}/{release_bundle_version}/{distribution_tracker}/priority (the `UpdateReleaseBundleV2DistributionPriority` operationId).
	UpdateReleaseBundleV2DistributionPriority(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, distributionTracker DistributionTrackerPath, body UpdateReleaseBundleV2DistributionPriorityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) AbortReleaseBundleV1DistributionWithResponse

func (c *ClientWithResponses) AbortReleaseBundleV1DistributionWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, reqEditors ...RequestEditorFn) (*AbortReleaseBundleV1DistributionResponse, error)

AbortReleaseBundleV1DistributionWithResponse Abort a release bundle v1 distribution

Stops the in-progress distribution of the version: transfers not yet finished are cancelled and the affected edges discard what they had partly received. Edges that already completed keep the version.

Returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/distribution/{release_bundle_name}/{release_bundle_version}/abort (the `AbortReleaseBundleV1Distribution` operationId).

func (*ClientWithResponses) AbortReleaseBundleV2DistributionWithResponse

func (c *ClientWithResponses) AbortReleaseBundleV2DistributionWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *AbortReleaseBundleV2DistributionParams, reqEditors ...RequestEditorFn) (*AbortReleaseBundleV2DistributionResponse, error)

AbortReleaseBundleV2DistributionWithResponse Abort a Release Bundle v2 distribution

Not implemented; answers 501.

Returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v2/distribution/abort/{release_bundle_name}/{release_bundle_version} (the `AbortReleaseBundleV2Distribution` operationId).

func (*ClientWithResponses) CreateOrRefreshTokenWithBodyWithResponse

func (c *ClientWithResponses) CreateOrRefreshTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrRefreshTokenResponse, error)

CreateOrRefreshTokenWithBodyWithResponse Create or refresh a token

Issues or refreshes a token from a form body. `grant_type=client_credentials` issues a token for `username`; `grant_type=refresh_token` exchanges a refresh token and its access token for a new pair. The tokens are ordinary access tokens.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/security/token (the `CreateOrRefreshToken` operationId).

func (*ClientWithResponses) CreateOrRefreshTokenWithFormdataBodyWithResponse

func (c *ClientWithResponses) CreateOrRefreshTokenWithFormdataBodyWithResponse(ctx context.Context, body CreateOrRefreshTokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*CreateOrRefreshTokenResponse, error)

CreateOrRefreshTokenWithFormdataBodyWithResponse Create or refresh a token

Issues or refreshes a token from a form body. `grant_type=client_credentials` issues a token for `username`; `grant_type=refresh_token` exchanges a refresh token and its access token for a new pair. The tokens are ordinary access tokens.

Takes a body of the `application/x-www-form-urlencoded` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/security/token (the `CreateOrRefreshToken` operationId).

func (*ClientWithResponses) CreateReleaseBundleV1VersionWithBodyWithResponse

func (c *ClientWithResponses) CreateReleaseBundleV1VersionWithBodyWithResponse(ctx context.Context, params *CreateReleaseBundleV1VersionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateReleaseBundleV1VersionResponse, error)

CreateReleaseBundleV1VersionWithBodyWithResponse Create a release bundle v1 version

Creates a release bundle version: an immutable manifest of the artifacts selected by the spec's AQL queries, each recorded with its repository path, sha256 checksum and any properties the query adds. When `sign_immediately` is true, or the X-GPG-PASSPHRASE header is sent, the version is also signed with the default GPG key in the same call. With `dry_run` the queries are evaluated and the would-be version is returned without storing anything. A name and version pair is unique; creating an existing pair answers 400. The artifacts stay in their repositories.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/release_bundle (the `CreateReleaseBundleV1Version` operationId).

func (*ClientWithResponses) CreateReleaseBundleV1VersionWithResponse

CreateReleaseBundleV1VersionWithResponse Create a release bundle v1 version

Creates a release bundle version: an immutable manifest of the artifacts selected by the spec's AQL queries, each recorded with its repository path, sha256 checksum and any properties the query adds. When `sign_immediately` is true, or the X-GPG-PASSPHRASE header is sent, the version is also signed with the default GPG key in the same call. With `dry_run` the queries are evaluated and the would-be version is returned without storing anything. A name and version pair is unique; creating an existing pair answers 400. The artifacts stay in their repositories.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/release_bundle (the `CreateReleaseBundleV1Version` operationId).

func (*ClientWithResponses) CreateSpecificSupportBundleWithBodyWithResponse

func (c *ClientWithResponses) CreateSpecificSupportBundleWithBodyWithResponse(ctx context.Context, bundleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSpecificSupportBundleResponse, error)

CreateSpecificSupportBundleWithBodyWithResponse Create a support bundle with a given id

Collects a support bundle as the create operation does, under the id in the path.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/system/support/bundle/{bundle_id} (the `CreateSpecificSupportBundle` operationId).

func (*ClientWithResponses) CreateSpecificSupportBundleWithResponse

func (c *ClientWithResponses) CreateSpecificSupportBundleWithResponse(ctx context.Context, bundleId string, body CreateSpecificSupportBundleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSpecificSupportBundleResponse, error)

CreateSpecificSupportBundleWithResponse Create a support bundle with a given id

Collects a support bundle as the create operation does, under the id in the path.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/system/support/bundle/{bundle_id} (the `CreateSpecificSupportBundle` operationId).

func (*ClientWithResponses) CreateSupportBundleWithBodyWithResponse

func (c *ClientWithResponses) CreateSupportBundleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSupportBundleResponse, error)

CreateSupportBundleWithBodyWithResponse Create a support bundle

Collects a support bundle under a generated id: logs for a date window, the configuration with every secret masked, system information and goroutine dumps, as selected. Administrators only.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/system/support/bundle (the `CreateSupportBundle` operationId).

func (*ClientWithResponses) CreateSupportBundleWithResponse

func (c *ClientWithResponses) CreateSupportBundleWithResponse(ctx context.Context, body CreateSupportBundleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSupportBundleResponse, error)

CreateSupportBundleWithResponse Create a support bundle

Collects a support bundle under a generated id: logs for a date window, the configuration with every secret masked, system information and goroutine dumps, as selected. Administrators only.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/system/support/bundle (the `CreateSupportBundle` operationId).

func (*ClientWithResponses) DeleteAllReleaseBundleV1VersionsWithResponse

func (c *ClientWithResponses) DeleteAllReleaseBundleV1VersionsWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, params *DeleteAllReleaseBundleV1VersionsParams, reqEditors ...RequestEditorFn) (*DeleteAllReleaseBundleV1VersionsResponse, error)

DeleteAllReleaseBundleV1VersionsWithResponse Delete every version of a release bundle

Deletes every version of the named release bundle from this instance, with the same rules as deleting one version.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/release_bundle/{release_bundle_name} (the `DeleteAllReleaseBundleV1Versions` operationId).

func (*ClientWithResponses) DeleteDistributionPermissionWithResponse

func (c *ClientWithResponses) DeleteDistributionPermissionWithResponse(ctx context.Context, permissionName string, reqEditors ...RequestEditorFn) (*DeleteDistributionPermissionResponse, error)

DeleteDistributionPermissionWithResponse Delete a destination permission

Deletes one destination permission. Administrators only.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/security/permissions/{permission_name} (the `DeleteDistributionPermission` operationId).

func (*ClientWithResponses) DeleteExportedReleaseBundleV1FileWithResponse

func (c *ClientWithResponses) DeleteExportedReleaseBundleV1FileWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, reqEditors ...RequestEditorFn) (*DeleteExportedReleaseBundleV1FileResponse, error)

DeleteExportedReleaseBundleV1FileWithResponse Delete an exported release bundle archive

Deletes the exported zip of the version from the export directory. The version itself is untouched.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/export/release_bundle/{release_bundle_name}/{release_bundle_version} (the `DeleteExportedReleaseBundleV1File` operationId).

func (*ClientWithResponses) DeleteGpgKeyByAliasWithResponse

func (c *ClientWithResponses) DeleteGpgKeyByAliasWithResponse(ctx context.Context, alias string, reqEditors ...RequestEditorFn) (*DeleteGpgKeyByAliasResponse, error)

DeleteGpgKeyByAliasWithResponse Delete a GPG key

Deletes the key pair. Versions already signed with it stay valid on edges that hold its public part; new versions cannot be signed with it.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/keys/pgp/{alias} (the `DeleteGpgKeyByAlias` operationId).

func (*ClientWithResponses) DeleteReleaseBundleV1VersionFromDistributionEdgesWithBodyWithResponse

func (c *ClientWithResponses) DeleteReleaseBundleV1VersionFromDistributionEdgesWithBodyWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteReleaseBundleV1VersionFromDistributionEdgesResponse, error)

DeleteReleaseBundleV1VersionFromDistributionEdgesWithBodyWithResponse Delete a release bundle v1 version from edges

Removes a distributed version from the edges the rules select. Each edge deletes the version and the artifacts that no other version on that edge still needs. With `on_success=delete` the version is also deleted here once every selected edge has confirmed. With `dry_run` the selected edges are returned and nothing changes.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/distribution/{release_bundle_name}/{release_bundle_version}/delete (the `DeleteReleaseBundleV1VersionFromDistributionEdges` operationId).

func (*ClientWithResponses) DeleteReleaseBundleV1VersionFromDistributionEdgesWithResponse

func (c *ClientWithResponses) DeleteReleaseBundleV1VersionFromDistributionEdgesWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, body DeleteReleaseBundleV1VersionFromDistributionEdgesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteReleaseBundleV1VersionFromDistributionEdgesResponse, error)

DeleteReleaseBundleV1VersionFromDistributionEdgesWithResponse Delete a release bundle v1 version from edges

Removes a distributed version from the edges the rules select. Each edge deletes the version and the artifacts that no other version on that edge still needs. With `on_success=delete` the version is also deleted here once every selected edge has confirmed. With `dry_run` the selected edges are returned and nothing changes.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/distribution/{release_bundle_name}/{release_bundle_version}/delete (the `DeleteReleaseBundleV1VersionFromDistributionEdges` operationId).

func (*ClientWithResponses) DeleteReleaseBundleV1VersionWithResponse

func (c *ClientWithResponses) DeleteReleaseBundleV1VersionWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *DeleteReleaseBundleV1VersionParams, reqEditors ...RequestEditorFn) (*DeleteReleaseBundleV1VersionResponse, error)

DeleteReleaseBundleV1VersionWithResponse Delete a release bundle v1 version

Deletes one version from this instance. The artifacts are not deleted; they stay in their repositories under their own retention. Copies already on edges are untouched; remove those with the edge delete operation first.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version} (the `DeleteReleaseBundleV1Version` operationId).

func (*ClientWithResponses) DeleteSupportBundleWithResponse

func (c *ClientWithResponses) DeleteSupportBundleWithResponse(ctx context.Context, bundleId string, reqEditors ...RequestEditorFn) (*DeleteSupportBundleResponse, error)

DeleteSupportBundleWithResponse Delete a support bundle

Deletes one support bundle. Administrators only.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/system/support/bundle/{bundle_id} (the `DeleteSupportBundle` operationId).

func (*ClientWithResponses) DistributeByLastDaysWithBodyWithResponse

func (c *ClientWithResponses) DistributeByLastDaysWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DistributeByLastDaysResponse, error)

DistributeByLastDaysWithBodyWithResponse Redistribute recent release bundles to an edge

Redistributes to one edge every release bundle version distributed in a window of days ending on `date`, for example after the edge was rebuilt. The window length runs from 1 to the configured maximum, 7 by default. Administrators only.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/maintenance/distributeByLastDays (the `DistributeByLastDays` operationId).

func (*ClientWithResponses) DistributeByLastDaysWithResponse

func (c *ClientWithResponses) DistributeByLastDaysWithResponse(ctx context.Context, body DistributeByLastDaysJSONRequestBody, reqEditors ...RequestEditorFn) (*DistributeByLastDaysResponse, error)

DistributeByLastDaysWithResponse Redistribute recent release bundles to an edge

Redistributes to one edge every release bundle version distributed in a window of days ending on `date`, for example after the edge was rebuilt. The window length runs from 1 to the configured maximum, 7 by default. Administrators only.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/maintenance/distributeByLastDays (the `DistributeByLastDays` operationId).

func (*ClientWithResponses) DistributeDynamicReleaseBundleV1WithBodyWithResponse

func (c *ClientWithResponses) DistributeDynamicReleaseBundleV1WithBodyWithResponse(ctx context.Context, params *DistributeDynamicReleaseBundleV1Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DistributeDynamicReleaseBundleV1Response, error)

DistributeDynamicReleaseBundleV1WithBodyWithResponse Create, sign and distribute a release bundle in one call

Creates a release bundle version from the spec with a generated name and version, signs it with the default GPG key and distributes it to the edges the rules select, all in one request. The rules and edge requirements are those of the ordinary distribute operation.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/dynamic/distribute (the `DistributeDynamicReleaseBundleV1` operationId).

func (*ClientWithResponses) DistributeDynamicReleaseBundleV1WithResponse

DistributeDynamicReleaseBundleV1WithResponse Create, sign and distribute a release bundle in one call

Creates a release bundle version from the spec with a generated name and version, signs it with the default GPG key and distributes it to the edges the rules select, all in one request. The rules and edge requirements are those of the ordinary distribute operation.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/dynamic/distribute (the `DistributeDynamicReleaseBundleV1` operationId).

func (*ClientWithResponses) DistributeReleaseBundleV1VersionWithBodyWithResponse

func (c *ClientWithResponses) DistributeReleaseBundleV1VersionWithBodyWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DistributeReleaseBundleV1VersionResponse, error)

DistributeReleaseBundleV1VersionWithBodyWithResponse Distribute a release bundle v1 version

Sends a signed version to the edges the distribution rules select and returns a tracker. The transfer runs asynchronously over the peer protocol: each edge receives the signed manifest and the artifacts it does not already hold, verifies the signature against its trusted keys and every checksum, and only then makes the version visible. Edges must be instances paired in the edge role. With `dry_run` the selected edges are returned and nothing is sent.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/distribution/{release_bundle_name}/{release_bundle_version} (the `DistributeReleaseBundleV1Version` operationId).

func (*ClientWithResponses) DistributeReleaseBundleV1VersionWithResponse

func (c *ClientWithResponses) DistributeReleaseBundleV1VersionWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, body DistributeReleaseBundleV1VersionJSONRequestBody, reqEditors ...RequestEditorFn) (*DistributeReleaseBundleV1VersionResponse, error)

DistributeReleaseBundleV1VersionWithResponse Distribute a release bundle v1 version

Sends a signed version to the edges the distribution rules select and returns a tracker. The transfer runs asynchronously over the peer protocol: each edge receives the signed manifest and the artifacts it does not already hold, verifies the signature against its trusted keys and every checksum, and only then makes the version visible. Edges must be instances paired in the edge role. With `dry_run` the selected edges are returned and nothing is sent.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/distribution/{release_bundle_name}/{release_bundle_version} (the `DistributeReleaseBundleV1Version` operationId).

func (*ClientWithResponses) DistributeReleaseBundleV2VersionWithBodyWithResponse

func (c *ClientWithResponses) DistributeReleaseBundleV2VersionWithBodyWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *DistributeReleaseBundleV2VersionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DistributeReleaseBundleV2VersionResponse, error)

DistributeReleaseBundleV2VersionWithBodyWithResponse Distribute a Release Bundle v2 version

Not implemented; answers 501.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/distribution/distribute/{release_bundle_name}/{release_bundle_version} (the `DistributeReleaseBundleV2Version` operationId).

func (*ClientWithResponses) DistributeReleaseBundleV2VersionWithResponse

DistributeReleaseBundleV2VersionWithResponse Distribute a Release Bundle v2 version

Not implemented; answers 501.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/distribution/distribute/{release_bundle_name}/{release_bundle_version} (the `DistributeReleaseBundleV2Version` operationId).

func (*ClientWithResponses) DistributionPingWithResponse

func (c *ClientWithResponses) DistributionPingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DistributionPingResponse, error)

DistributionPingWithResponse Ping the distribution service

Answers 200 with message OK when the instance's distribution features are usable, meaning the database and blob store are reachable. The distribution service is the instance itself. Anonymous callers may use it unless anonymous access is disabled.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/system/ping (the `DistributionPing` operationId).

func (*ClientWithResponses) DownloadSupportBundleWithResponse

func (c *ClientWithResponses) DownloadSupportBundleWithResponse(ctx context.Context, bundleId string, reqEditors ...RequestEditorFn) (*DownloadSupportBundleResponse, error)

DownloadSupportBundleWithResponse Download a support bundle

Downloads one support bundle as a zip archive. Administrators only.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/system/support/bundle/{bundle_id}/archive (the `DownloadSupportBundle` operationId).

func (*ClientWithResponses) ExecuteMaintenanceActionWithBodyWithResponse

func (c *ClientWithResponses) ExecuteMaintenanceActionWithBodyWithResponse(ctx context.Context, actionType ExecuteMaintenanceActionParamsActionType, params *ExecuteMaintenanceActionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExecuteMaintenanceActionResponse, error)

ExecuteMaintenanceActionWithBodyWithResponse Run a maintenance action

Runs a maintenance action using a token from the token operation, sent as the plain-text body. UNLOCK_STUCK releases every stuck distribution so it can be retried or cleaned up; STOP_ALL force-stops every in-progress distribution, ends every non-final tracker and empties the pending work queue. `dryRun` defaults to true and reports what would change without changing it. Administrators only.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/maintenance/execute/{actionType} (the `ExecuteMaintenanceAction` operationId).

func (*ClientWithResponses) ExecuteMaintenanceActionWithTextBodyWithResponse

ExecuteMaintenanceActionWithTextBodyWithResponse Run a maintenance action

Runs a maintenance action using a token from the token operation, sent as the plain-text body. UNLOCK_STUCK releases every stuck distribution so it can be retried or cleaned up; STOP_ALL force-stops every in-progress distribution, ends every non-final tracker and empties the pending work queue. `dryRun` defaults to true and reports what would change without changing it. Administrators only.

Takes a body of the `text/plain` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/maintenance/execute/{actionType} (the `ExecuteMaintenanceAction` operationId).

func (*ClientWithResponses) ExportReleaseBundleV1VersionWithResponse

func (c *ClientWithResponses) ExportReleaseBundleV1VersionWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *ExportReleaseBundleV1VersionParams, reqEditors ...RequestEditorFn) (*ExportReleaseBundleV1VersionResponse, error)

ExportReleaseBundleV1VersionWithResponse Export a release bundle v1 version for air-gapped transfer

Starts an asynchronous export of a signed version to one zip archive holding the signed manifest, its signature and every artifact, for carrying to an instance with no network path to this one. Poll the status operation; the archive is written to the instance's export directory.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/export/release_bundle/{release_bundle_name}/{release_bundle_version} (the `ExportReleaseBundleV1Version` operationId).

func (*ClientWithResponses) GenerateMaintenanceExecutionTokenWithResponse

func (c *ClientWithResponses) GenerateMaintenanceExecutionTokenWithResponse(ctx context.Context, actionType GenerateMaintenanceExecutionTokenParamsActionType, reqEditors ...RequestEditorFn) (*GenerateMaintenanceExecutionTokenResponse, error)

GenerateMaintenanceExecutionTokenWithResponse Get a maintenance token

Issues a single-use token for one maintenance action. The token expires after 3 minutes and must be sent as the body of the execute operation. Administrators only.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/maintenance/generate_token/{actionType} (the `GenerateMaintenanceExecutionToken` operationId).

func (*ClientWithResponses) GetAllBundlesWithResponse

func (c *ClientWithResponses) GetAllBundlesWithResponse(ctx context.Context, params *GetAllBundlesParams, reqEditors ...RequestEditorFn) (*GetAllBundlesResponse, error)

GetAllBundlesWithResponse List release bundle v1 versions

Lists the release bundle v1 versions on this instance, one entry per version, newest first. Use `start_pos` to page.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/release_bundle (the `GetAllBundles` operationId).

func (*ClientWithResponses) GetAllDistributionPermissionsWithResponse

func (c *ClientWithResponses) GetAllDistributionPermissionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllDistributionPermissionsResponse, error)

GetAllDistributionPermissionsWithResponse List destination permissions

Lists every destination permission. Administrators only.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/security/permissions (the `GetAllDistributionPermissions` operationId).

func (*ClientWithResponses) GetAllGpgKeyAliasesWithResponse

func (c *ClientWithResponses) GetAllGpgKeyAliasesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllGpgKeyAliasesResponse, error)

GetAllGpgKeyAliasesWithResponse List GPG key aliases

Lists the aliases of the configured GPG keys.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/keys/pgp/aliases (the `GetAllGpgKeyAliases` operationId).

func (*ClientWithResponses) GetDistributionEdgeNodesWithResponse

func (c *ClientWithResponses) GetDistributionEdgeNodesWithResponse(ctx context.Context, params *GetDistributionEdgeNodesParams, reqEditors ...RequestEditorFn) (*GetDistributionEdgeNodesResponse, error)

GetDistributionEdgeNodesWithResponse List edge nodes

Lists the edges this instance can distribute to: the instances paired with it in the edge role, with the name and service id each declared at pairing.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/distribution/edge_nodes (the `GetDistributionEdgeNodes` operationId).

func (*ClientWithResponses) GetDistributionPermissionByNameWithResponse

func (c *ClientWithResponses) GetDistributionPermissionByNameWithResponse(ctx context.Context, permissionName string, reqEditors ...RequestEditorFn) (*GetDistributionPermissionByNameResponse, error)

GetDistributionPermissionByNameWithResponse Get a destination permission

Returns one destination permission. Administrators only.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/security/permissions/{permission_name} (the `GetDistributionPermissionByName` operationId).

func (*ClientWithResponses) GetDistributionStatusDetailsByReleaseBundleV1NameWithResponse

func (c *ClientWithResponses) GetDistributionStatusDetailsByReleaseBundleV1NameWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, reqEditors ...RequestEditorFn) (*GetDistributionStatusDetailsByReleaseBundleV1NameResponse, error)

GetDistributionStatusDetailsByReleaseBundleV1NameWithResponse List distribution statuses of a release bundle

Lists the distribution trackers of every version of the named release bundle, newest first.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/release_bundle/{release_bundle_name}/distribution (the `GetDistributionStatusDetailsByReleaseBundleV1Name` operationId).

func (*ClientWithResponses) GetDistributionStatusDetailsByReleaseBundleV1TrackerIdWithResponse

func (c *ClientWithResponses) GetDistributionStatusDetailsByReleaseBundleV1TrackerIdWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, distributionTracker DistributionTrackerPath, reqEditors ...RequestEditorFn) (*GetDistributionStatusDetailsByReleaseBundleV1TrackerIdResponse, error)

GetDistributionStatusDetailsByReleaseBundleV1TrackerIdWithResponse Get a distribution tracker

Returns one tracker with the status of the transfer to each of its edges.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version}/distribution/{distribution_tracker} (the `GetDistributionStatusDetailsByReleaseBundleV1TrackerId` operationId).

func (*ClientWithResponses) GetDistributionStatusDetailsByReleaseBundleV1VersionWithResponse

func (c *ClientWithResponses) GetDistributionStatusDetailsByReleaseBundleV1VersionWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, reqEditors ...RequestEditorFn) (*GetDistributionStatusDetailsByReleaseBundleV1VersionResponse, error)

GetDistributionStatusDetailsByReleaseBundleV1VersionWithResponse List distribution statuses of a version

Lists the distribution trackers of one release bundle version, newest first.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version}/distribution (the `GetDistributionStatusDetailsByReleaseBundleV1Version` operationId).

func (*ClientWithResponses) GetDistributionStatusDetailsByTrackerIdWithResponse

func (c *ClientWithResponses) GetDistributionStatusDetailsByTrackerIdWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, distributionTracker DistributionTrackerPath, reqEditors ...RequestEditorFn) (*GetDistributionStatusDetailsByTrackerIdResponse, error)

GetDistributionStatusDetailsByTrackerIdWithResponse Get a Release Bundle v2 distribution tracker

Not implemented; answers 501.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v2/distribution/trackers/{release_bundle_name}/{release_bundle_version}/{distribution_tracker} (the `GetDistributionStatusDetailsByTrackerId` operationId).

func (*ClientWithResponses) GetDistributionStatusDetailsWithResponse

func (c *ClientWithResponses) GetDistributionStatusDetailsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDistributionStatusDetailsResponse, error)

GetDistributionStatusDetailsWithResponse List distribution statuses

Lists the distribution trackers of every release bundle v1 version, newest first.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/release_bundle/distribution (the `GetDistributionStatusDetails` operationId).

func (*ClientWithResponses) GetDistributionSystemInfoWithResponse

func (c *ClientWithResponses) GetDistributionSystemInfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDistributionSystemInfoResponse, error)

GetDistributionSystemInfoWithResponse Get distribution system information

Returns the version, service id and health of the distribution service. `status` is UNSTABLE, with `message` naming the failing dependency, when the database or blob store is unavailable.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/system/info (the `GetDistributionSystemInfo` operationId).

func (*ClientWithResponses) GetDistributionSystemSettingsWithResponse

func (c *ClientWithResponses) GetDistributionSystemSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDistributionSystemSettingsResponse, error)

GetDistributionSystemSettingsWithResponse Get distribution settings

Returns the distribution settings. Administrators only.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/system/settings (the `GetDistributionSystemSettings` operationId).

func (*ClientWithResponses) GetExportedReleaseBundleV1StatusWithResponse

func (c *ClientWithResponses) GetExportedReleaseBundleV1StatusWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, reqEditors ...RequestEditorFn) (*GetExportedReleaseBundleV1StatusResponse, error)

GetExportedReleaseBundleV1StatusWithResponse Get the export status of a release bundle v1 version

Reports how far the export of a version has got.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/export/release_bundle/{release_bundle_name}/{release_bundle_version}/status (the `GetExportedReleaseBundleV1Status` operationId).

func (*ClientWithResponses) GetGpgPublicKeyByAliasWithResponse

func (c *ClientWithResponses) GetGpgPublicKeyByAliasWithResponse(ctx context.Context, alias string, reqEditors ...RequestEditorFn) (*GetGpgPublicKeyByAliasResponse, error)

GetGpgPublicKeyByAliasWithResponse Get a GPG key by alias

Returns the alias and public part of one key.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/keys/pgp/{alias} (the `GetGpgPublicKeyByAlias` operationId).

func (*ClientWithResponses) GetGpgSigningKeyWithResponse

func (c *ClientWithResponses) GetGpgSigningKeyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetGpgSigningKeyResponse, error)

GetGpgSigningKeyWithResponse Get the default GPG signing key

Returns the alias and ASCII-armoured public part of the default GPG key, the key that signs release bundles. The private part is never returned.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/keys/pgp (the `GetGpgSigningKey` operationId).

func (*ClientWithResponses) GetLatestReleaseBundleV1VersionWithResponse

func (c *ClientWithResponses) GetLatestReleaseBundleV1VersionWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, reqEditors ...RequestEditorFn) (*GetLatestReleaseBundleV1VersionResponse, error)

GetLatestReleaseBundleV1VersionWithResponse Get the latest version of a release bundle

Returns the newest version of the named release bundle by creation time. A version literally named `LATEST` cannot be read through the version path for the same reason.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/release_bundle/{release_bundle_name}/LATEST (the `GetLatestReleaseBundleV1Version` operationId).

func (*ClientWithResponses) GetOpenMetricsForDistributionWithResponse

func (c *ClientWithResponses) GetOpenMetricsForDistributionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOpenMetricsForDistributionResponse, error)

GetOpenMetricsForDistributionWithResponse Get distribution metrics

Returns the release bundle and distribution counters in OpenMetrics text, under `jfds_` metric names. Administrators only.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/metrics (the `GetOpenMetricsForDistribution` operationId).

func (*ClientWithResponses) GetPublicSigningKeyForDistributionWithResponse

func (c *ClientWithResponses) GetPublicSigningKeyForDistributionWithResponse(ctx context.Context, keyName string, reqEditors ...RequestEditorFn) (*GetPublicSigningKeyForDistributionResponse, error)

GetPublicSigningKeyForDistributionWithResponse Get a signing key's public part

Returns the ASCII-armoured public part of the named key from the keypair store, as plain text.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v2/distribution/key/{key_name} (the `GetPublicSigningKeyForDistribution` operationId).

func (*ClientWithResponses) GetReleaseBundleV1VersionDetailsWithResponse

func (c *ClientWithResponses) GetReleaseBundleV1VersionDetailsWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *GetReleaseBundleV1VersionDetailsParams, reqEditors ...RequestEditorFn) (*GetReleaseBundleV1VersionDetailsResponse, error)

GetReleaseBundleV1VersionDetailsWithResponse Get a release bundle v1 version

Returns a version's details and artifact list. With `format=jws` or `format=jose` the signed manifest is returned instead, as the compact JWS string or the JOSE JSON serialisation, which is what edges verify; those formats need a signed version.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version} (the `GetReleaseBundleV1VersionDetails` operationId).

func (*ClientWithResponses) GetReleaseBundleV1VersionSha256WithResponse

func (c *ClientWithResponses) GetReleaseBundleV1VersionSha256WithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, reqEditors ...RequestEditorFn) (*GetReleaseBundleV1VersionSha256Response, error)

GetReleaseBundleV1VersionSha256WithResponse Get the checksum of a release bundle v1 version

Answers with the sha256 of the version's signed manifest in the X-Checksum-Sha256 header and no body. Edges and clients use it to compare versions without downloading them.

Returns a wrapper object for the known response body format(s).

Corresponds with HEAD /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version} (the `GetReleaseBundleV1VersionSha256` operationId).

func (*ClientWithResponses) GetReleaseBundleV1VersionsByNameWithResponse

func (c *ClientWithResponses) GetReleaseBundleV1VersionsByNameWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, params *GetReleaseBundleV1VersionsByNameParams, reqEditors ...RequestEditorFn) (*GetReleaseBundleV1VersionsByNameResponse, error)

GetReleaseBundleV1VersionsByNameWithResponse List the versions of one release bundle

Lists every version of the named release bundle, newest first.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/release_bundle/{release_bundle_name} (the `GetReleaseBundleV1VersionsByName` operationId).

func (*ClientWithResponses) GetReleaseBundleV2DistributionTrackersWithResponse

func (c *ClientWithResponses) GetReleaseBundleV2DistributionTrackersWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *GetReleaseBundleV2DistributionTrackersParams, reqEditors ...RequestEditorFn) (*GetReleaseBundleV2DistributionTrackersResponse, error)

GetReleaseBundleV2DistributionTrackersWithResponse List Release Bundle v2 distribution trackers

Not implemented; answers 501.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v2/distribution/trackers/{release_bundle_name}/{release_bundle_version} (the `GetReleaseBundleV2DistributionTrackers` operationId).

func (*ClientWithResponses) GetStuckDistributionsWithResponse

func (c *ClientWithResponses) GetStuckDistributionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetStuckDistributionsResponse, error)

GetStuckDistributionsWithResponse List stuck distributions

Lists distributions stuck in a non-final state, for example after an edge disappeared mid-transfer. Unlock them with the UNLOCK_STUCK maintenance action. Administrators only.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/maintenance/stuck_distributions (the `GetStuckDistributions` operationId).

func (*ClientWithResponses) GetSupportBundleInfoWithResponse

func (c *ClientWithResponses) GetSupportBundleInfoWithResponse(ctx context.Context, bundleId string, reqEditors ...RequestEditorFn) (*GetSupportBundleInfoResponse, error)

GetSupportBundleInfoWithResponse Get a support bundle

Returns one support bundle's metadata. Administrators only.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/system/support/bundle/{bundle_id} (the `GetSupportBundleInfo` operationId).

func (*ClientWithResponses) GetTokenInfosWithResponse

func (c *ClientWithResponses) GetTokenInfosWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTokenInfosResponse, error)

GetTokenInfosWithResponse List tokens

Lists the tokens issued through the Distribution token operations. They are ordinary access tokens, so the Access token list shows them too. Administrators only.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/security/token (the `GetTokenInfos` operationId).

func (*ClientWithResponses) ImportReleaseBundleV1VersionWithResponse

func (c *ClientWithResponses) ImportReleaseBundleV1VersionWithResponse(ctx context.Context, params *ImportReleaseBundleV1VersionParams, reqEditors ...RequestEditorFn) (*ImportReleaseBundleV1VersionResponse, error)

ImportReleaseBundleV1VersionWithResponse Import an exported release bundle v1 archive

Imports an archive produced by the export operation, typically on an air-gapped instance. The archive must already be in the instance's release bundle import directory. The signature is verified against this instance's trusted keys (so the signing key's public part must have been propagated or added first), every artifact checksum is verified, the artifacts are deployed to the repositories the manifest names, and the version is recorded. With `dry_run` all checks run and nothing is written.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /api/release/import (the `ImportReleaseBundleV1Version` operationId).

func (*ClientWithResponses) ListSupportBundlesWithResponse

func (c *ClientWithResponses) ListSupportBundlesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSupportBundlesResponse, error)

ListSupportBundlesWithResponse List support bundles

Lists the support bundles on this instance. Administrators only.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/system/support/bundles (the `ListSupportBundles` operationId).

func (*ClientWithResponses) PropagatePublicSigningKeyWithResponse

func (c *ClientWithResponses) PropagatePublicSigningKeyWithResponse(ctx context.Context, keyName string, reqEditors ...RequestEditorFn) (*PropagatePublicSigningKeyResponse, error)

PropagatePublicSigningKeyWithResponse Propagate a signing key to edges

Sends the named key's public part to every edge peer, which adds it to the keys it trusts for verifying release bundle signatures. Run it after adding or rotating the signing key and before distributing.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/distribution/key/propagate/{key_name} (the `PropagatePublicSigningKey` operationId).

func (*ClientWithResponses) RemoteDeleteReleaseBundleV2DistributionWithBodyWithResponse

func (c *ClientWithResponses) RemoteDeleteReleaseBundleV2DistributionWithBodyWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *RemoteDeleteReleaseBundleV2DistributionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoteDeleteReleaseBundleV2DistributionResponse, error)

RemoteDeleteReleaseBundleV2DistributionWithBodyWithResponse Delete a Release Bundle v2 version from edges

Not implemented; answers 501.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/distribution/remote_delete/{release_bundle_name}/{release_bundle_version} (the `RemoteDeleteReleaseBundleV2Distribution` operationId).

func (*ClientWithResponses) RemoteDeleteReleaseBundleV2DistributionWithResponse

RemoteDeleteReleaseBundleV2DistributionWithResponse Delete a Release Bundle v2 version from edges

Not implemented; answers 501.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v2/distribution/remote_delete/{release_bundle_name}/{release_bundle_version} (the `RemoteDeleteReleaseBundleV2Distribution` operationId).

func (*ClientWithResponses) RevokeTokenWithBodyWithResponse

func (c *ClientWithResponses) RevokeTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RevokeTokenResponse, error)

RevokeTokenWithBodyWithResponse Revoke a token

Revokes a token given either its value (access or refresh token) or its id, in a form body, as in RFC 7009. Administrators only.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/security/token/revoke (the `RevokeToken` operationId).

func (*ClientWithResponses) RevokeTokenWithFormdataBodyWithResponse

func (c *ClientWithResponses) RevokeTokenWithFormdataBodyWithResponse(ctx context.Context, body RevokeTokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*RevokeTokenResponse, error)

RevokeTokenWithFormdataBodyWithResponse Revoke a token

Revokes a token given either its value (access or refresh token) or its id, in a form body, as in RFC 7009. Administrators only.

Takes a body of the `application/x-www-form-urlencoded` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/security/token/revoke (the `RevokeToken` operationId).

func (*ClientWithResponses) SetDistributionPermissionWithBodyWithResponse

func (c *ClientWithResponses) SetDistributionPermissionWithBodyWithResponse(ctx context.Context, permissionName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetDistributionPermissionResponse, error)

SetDistributionPermissionWithBodyWithResponse Create or replace a destination permission

Creates the destination permission, or replaces it when the name exists. A destination permission grants users and groups the right to distribute release bundles to, or delete them from, the edges its destinations match. Administrators only.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/security/permissions/{permission_name} (the `SetDistributionPermission` operationId).

func (*ClientWithResponses) SetDistributionPermissionWithResponse

func (c *ClientWithResponses) SetDistributionPermissionWithResponse(ctx context.Context, permissionName string, body SetDistributionPermissionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetDistributionPermissionResponse, error)

SetDistributionPermissionWithResponse Create or replace a destination permission

Creates the destination permission, or replaces it when the name exists. A destination permission grants users and groups the right to distribute release bundles to, or delete them from, the edges its destinations match. Administrators only.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/security/permissions/{permission_name} (the `SetDistributionPermission` operationId).

func (*ClientWithResponses) SetGpgSigningKeyWithBodyWithResponse

func (c *ClientWithResponses) SetGpgSigningKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetGpgSigningKeyResponse, error)

SetGpgSigningKeyWithBodyWithResponse Add a GPG signing key

Adds a GPG key pair and makes it the default signing key. The private key is stored sealed in the instance's keypair store, the same store `/artifactory/api/security/keypair` manages, so a key added here is visible there and the reverse.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/keys/pgp (the `SetGpgSigningKey` operationId).

func (*ClientWithResponses) SetGpgSigningKeyWithResponse

func (c *ClientWithResponses) SetGpgSigningKeyWithResponse(ctx context.Context, body SetGpgSigningKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*SetGpgSigningKeyResponse, error)

SetGpgSigningKeyWithResponse Add a GPG signing key

Adds a GPG key pair and makes it the default signing key. The private key is stored sealed in the instance's keypair store, the same store `/artifactory/api/security/keypair` manages, so a key added here is visible there and the reverse.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/keys/pgp (the `SetGpgSigningKey` operationId).

func (*ClientWithResponses) SignReleaseBundleV1VersionWithBodyWithResponse

func (c *ClientWithResponses) SignReleaseBundleV1VersionWithBodyWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *SignReleaseBundleV1VersionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SignReleaseBundleV1VersionResponse, error)

SignReleaseBundleV1VersionWithBodyWithResponse Sign a release bundle v1 version

Signs an OPEN version with the default GPG key, or with the key whose passphrase is sent in X-GPG-PASSPHRASE, producing a JWS over the manifest, and records the manifest in the storing repository. A version must be signed before it can be distributed or exported and is immutable afterwards. Signing an already signed version is rejected with 400.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version}/sign (the `SignReleaseBundleV1Version` operationId).

func (*ClientWithResponses) SignReleaseBundleV1VersionWithResponse

func (c *ClientWithResponses) SignReleaseBundleV1VersionWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *SignReleaseBundleV1VersionParams, body SignReleaseBundleV1VersionJSONRequestBody, reqEditors ...RequestEditorFn) (*SignReleaseBundleV1VersionResponse, error)

SignReleaseBundleV1VersionWithResponse Sign a release bundle v1 version

Signs an OPEN version with the default GPG key, or with the key whose passphrase is sent in X-GPG-PASSPHRASE, producing a JWS over the manifest, and records the manifest in the storing repository. A version must be signed before it can be distributed or exported and is immutable afterwards. Signing an already signed version is rejected with 400.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version}/sign (the `SignReleaseBundleV1Version` operationId).

func (*ClientWithResponses) TriggerXrayScanReleaseBundleV1VersionWithResponse

func (c *ClientWithResponses) TriggerXrayScanReleaseBundleV1VersionWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, reqEditors ...RequestEditorFn) (*TriggerXrayScanReleaseBundleV1VersionResponse, error)

TriggerXrayScanReleaseBundleV1VersionWithResponse Scan a release bundle v1 version with Xray

Not implemented; answers 501.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version}/trigger_xray_scan (the `TriggerXrayScanReleaseBundleV1Version` operationId).

func (*ClientWithResponses) UpdateDistributionSystemSettingsWithBodyWithResponse

func (c *ClientWithResponses) UpdateDistributionSystemSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDistributionSystemSettingsResponse, error)

UpdateDistributionSystemSettingsWithBodyWithResponse Update distribution settings

Replaces the distribution settings. Administrators only.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/system/settings (the `UpdateDistributionSystemSettings` operationId).

func (*ClientWithResponses) UpdateDistributionSystemSettingsWithResponse

UpdateDistributionSystemSettingsWithResponse Update distribution settings

Replaces the distribution settings. Administrators only.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/system/settings (the `UpdateDistributionSystemSettings` operationId).

func (*ClientWithResponses) UpdateGpgKeyAliasWithBodyWithResponse

func (c *ClientWithResponses) UpdateGpgKeyAliasWithBodyWithResponse(ctx context.Context, alias string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGpgKeyAliasResponse, error)

UpdateGpgKeyAliasWithBodyWithResponse Rename a GPG key

Changes the alias of a key; the key material is unchanged.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/keys/pgp/{alias} (the `UpdateGpgKeyAlias` operationId).

func (*ClientWithResponses) UpdateGpgKeyAliasWithResponse

func (c *ClientWithResponses) UpdateGpgKeyAliasWithResponse(ctx context.Context, alias string, body UpdateGpgKeyAliasJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGpgKeyAliasResponse, error)

UpdateGpgKeyAliasWithResponse Rename a GPG key

Changes the alias of a key; the key material is unchanged.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/keys/pgp/{alias} (the `UpdateGpgKeyAlias` operationId).

func (*ClientWithResponses) UpdateReleaseBundleV1VersionWithBodyWithResponse

func (c *ClientWithResponses) UpdateReleaseBundleV1VersionWithBodyWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *UpdateReleaseBundleV1VersionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateReleaseBundleV1VersionResponse, error)

UpdateReleaseBundleV1VersionWithBodyWithResponse Update an unsigned release bundle v1 version

Replaces the content of a version that has not been signed. The body has the same shape as for creation, and its name and version must match the path. Signed versions are immutable and answer 400.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version} (the `UpdateReleaseBundleV1Version` operationId).

func (*ClientWithResponses) UpdateReleaseBundleV1VersionWithResponse

func (c *ClientWithResponses) UpdateReleaseBundleV1VersionWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *UpdateReleaseBundleV1VersionParams, body UpdateReleaseBundleV1VersionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateReleaseBundleV1VersionResponse, error)

UpdateReleaseBundleV1VersionWithResponse Update an unsigned release bundle v1 version

Replaces the content of a version that has not been signed. The body has the same shape as for creation, and its name and version must match the path. Signed versions are immutable and answer 400.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version} (the `UpdateReleaseBundleV1Version` operationId).

func (*ClientWithResponses) UpdateReleaseBundleV2DistributionPriorityWithBodyWithResponse

func (c *ClientWithResponses) UpdateReleaseBundleV2DistributionPriorityWithBodyWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, distributionTracker DistributionTrackerPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateReleaseBundleV2DistributionPriorityResponse, error)

UpdateReleaseBundleV2DistributionPriorityWithBodyWithResponse Change the priority of a Release Bundle v2 distribution

Not implemented; answers 501.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v2/distribution/trackers/{release_bundle_name}/{release_bundle_version}/{distribution_tracker}/priority (the `UpdateReleaseBundleV2DistributionPriority` operationId).

func (*ClientWithResponses) UpdateReleaseBundleV2DistributionPriorityWithResponse

func (c *ClientWithResponses) UpdateReleaseBundleV2DistributionPriorityWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, distributionTracker DistributionTrackerPath, body UpdateReleaseBundleV2DistributionPriorityJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateReleaseBundleV2DistributionPriorityResponse, error)

UpdateReleaseBundleV2DistributionPriorityWithResponse Change the priority of a Release Bundle v2 distribution

Not implemented; answers 501.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v2/distribution/trackers/{release_bundle_name}/{release_bundle_version}/{distribution_tracker}/priority (the `UpdateReleaseBundleV2DistributionPriority` operationId).

func (*ClientWithResponses) UploadAndPropagateGpgSigningKeysForDistributionWithResponse

func (c *ClientWithResponses) UploadAndPropagateGpgSigningKeysForDistributionWithResponse(ctx context.Context, params *UploadAndPropagateGpgSigningKeysForDistributionParams, reqEditors ...RequestEditorFn) (*UploadAndPropagateGpgSigningKeysForDistributionResponse, error)

UploadAndPropagateGpgSigningKeysForDistributionWithResponse Propagate GPG keys to edges

Sends one key (`alias`) or every key (`all=true`) to every edge peer, which adds it to the keys it trusts for verifying signatures. Only public parts leave this instance.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/keys/pgp/propagate (the `UploadAndPropagateGpgSigningKeysForDistribution` operationId).

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {

	// ImportReleaseBundleV1VersionWithResponse Import an exported release bundle v1 archive
	//
	// Imports an archive produced by the export operation, typically on an air-gapped instance. The archive must already be in the instance's release bundle import directory. The signature is verified against this instance's trusted keys (so the signing key's public part must have been propagated or added first), every artifact checksum is verified, the artifacts are deployed to the repositories the manifest names, and the version is recorded. With `dry_run` all checks run and nothing is written.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/release/import (the `ImportReleaseBundleV1Version` operationId).
	ImportReleaseBundleV1VersionWithResponse(ctx context.Context, params *ImportReleaseBundleV1VersionParams, reqEditors ...RequestEditorFn) (*ImportReleaseBundleV1VersionResponse, error)

	// GetDistributionEdgeNodesWithResponse List edge nodes
	//
	// Lists the edges this instance can distribute to: the instances paired with it in the edge role, with the name and service id each declared at pairing.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/distribution/edge_nodes (the `GetDistributionEdgeNodes` operationId).
	GetDistributionEdgeNodesWithResponse(ctx context.Context, params *GetDistributionEdgeNodesParams, reqEditors ...RequestEditorFn) (*GetDistributionEdgeNodesResponse, error)

	// DistributeReleaseBundleV1VersionWithBodyWithResponse Distribute a release bundle v1 version
	//
	// Sends a signed version to the edges the distribution rules select and returns a tracker. The transfer runs asynchronously over the peer protocol: each edge receives the signed manifest and the artifacts it does not already hold, verifies the signature against its trusted keys and every checksum, and only then makes the version visible. Edges must be instances paired in the edge role. With `dry_run` the selected edges are returned and nothing is sent.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/distribution/{release_bundle_name}/{release_bundle_version} (the `DistributeReleaseBundleV1Version` operationId).
	DistributeReleaseBundleV1VersionWithBodyWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DistributeReleaseBundleV1VersionResponse, error)

	// DistributeReleaseBundleV1VersionWithResponse Distribute a release bundle v1 version
	//
	// Sends a signed version to the edges the distribution rules select and returns a tracker. The transfer runs asynchronously over the peer protocol: each edge receives the signed manifest and the artifacts it does not already hold, verifies the signature against its trusted keys and every checksum, and only then makes the version visible. Edges must be instances paired in the edge role. With `dry_run` the selected edges are returned and nothing is sent.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/distribution/{release_bundle_name}/{release_bundle_version} (the `DistributeReleaseBundleV1Version` operationId).
	DistributeReleaseBundleV1VersionWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, body DistributeReleaseBundleV1VersionJSONRequestBody, reqEditors ...RequestEditorFn) (*DistributeReleaseBundleV1VersionResponse, error)

	// AbortReleaseBundleV1DistributionWithResponse Abort a release bundle v1 distribution
	//
	// Stops the in-progress distribution of the version: transfers not yet finished are cancelled and the affected edges discard what they had partly received. Edges that already completed keep the version.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/distribution/{release_bundle_name}/{release_bundle_version}/abort (the `AbortReleaseBundleV1Distribution` operationId).
	AbortReleaseBundleV1DistributionWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, reqEditors ...RequestEditorFn) (*AbortReleaseBundleV1DistributionResponse, error)

	// DeleteReleaseBundleV1VersionFromDistributionEdgesWithBodyWithResponse Delete a release bundle v1 version from edges
	//
	// Removes a distributed version from the edges the rules select. Each edge deletes the version and the artifacts that no other version on that edge still needs. With `on_success=delete` the version is also deleted here once every selected edge has confirmed. With `dry_run` the selected edges are returned and nothing changes.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/distribution/{release_bundle_name}/{release_bundle_version}/delete (the `DeleteReleaseBundleV1VersionFromDistributionEdges` operationId).
	DeleteReleaseBundleV1VersionFromDistributionEdgesWithBodyWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteReleaseBundleV1VersionFromDistributionEdgesResponse, error)

	// DeleteReleaseBundleV1VersionFromDistributionEdgesWithResponse Delete a release bundle v1 version from edges
	//
	// Removes a distributed version from the edges the rules select. Each edge deletes the version and the artifacts that no other version on that edge still needs. With `on_success=delete` the version is also deleted here once every selected edge has confirmed. With `dry_run` the selected edges are returned and nothing changes.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/distribution/{release_bundle_name}/{release_bundle_version}/delete (the `DeleteReleaseBundleV1VersionFromDistributionEdges` operationId).
	DeleteReleaseBundleV1VersionFromDistributionEdgesWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, body DeleteReleaseBundleV1VersionFromDistributionEdgesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteReleaseBundleV1VersionFromDistributionEdgesResponse, error)

	// DistributeDynamicReleaseBundleV1WithBodyWithResponse Create, sign and distribute a release bundle in one call
	//
	// Creates a release bundle version from the spec with a generated name and version, signs it with the default GPG key and distributes it to the edges the rules select, all in one request. The rules and edge requirements are those of the ordinary distribute operation.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/dynamic/distribute (the `DistributeDynamicReleaseBundleV1` operationId).
	DistributeDynamicReleaseBundleV1WithBodyWithResponse(ctx context.Context, params *DistributeDynamicReleaseBundleV1Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DistributeDynamicReleaseBundleV1Response, error)

	// DistributeDynamicReleaseBundleV1WithResponse Create, sign and distribute a release bundle in one call
	//
	// Creates a release bundle version from the spec with a generated name and version, signs it with the default GPG key and distributes it to the edges the rules select, all in one request. The rules and edge requirements are those of the ordinary distribute operation.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/dynamic/distribute (the `DistributeDynamicReleaseBundleV1` operationId).
	DistributeDynamicReleaseBundleV1WithResponse(ctx context.Context, params *DistributeDynamicReleaseBundleV1Params, body DistributeDynamicReleaseBundleV1JSONRequestBody, reqEditors ...RequestEditorFn) (*DistributeDynamicReleaseBundleV1Response, error)

	// DeleteExportedReleaseBundleV1FileWithResponse Delete an exported release bundle archive
	//
	// Deletes the exported zip of the version from the export directory. The version itself is untouched.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/export/release_bundle/{release_bundle_name}/{release_bundle_version} (the `DeleteExportedReleaseBundleV1File` operationId).
	DeleteExportedReleaseBundleV1FileWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, reqEditors ...RequestEditorFn) (*DeleteExportedReleaseBundleV1FileResponse, error)

	// ExportReleaseBundleV1VersionWithResponse Export a release bundle v1 version for air-gapped transfer
	//
	// Starts an asynchronous export of a signed version to one zip archive holding the signed manifest, its signature and every artifact, for carrying to an instance with no network path to this one. Poll the status operation; the archive is written to the instance's export directory.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/export/release_bundle/{release_bundle_name}/{release_bundle_version} (the `ExportReleaseBundleV1Version` operationId).
	ExportReleaseBundleV1VersionWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *ExportReleaseBundleV1VersionParams, reqEditors ...RequestEditorFn) (*ExportReleaseBundleV1VersionResponse, error)

	// GetExportedReleaseBundleV1StatusWithResponse Get the export status of a release bundle v1 version
	//
	// Reports how far the export of a version has got.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/export/release_bundle/{release_bundle_name}/{release_bundle_version}/status (the `GetExportedReleaseBundleV1Status` operationId).
	GetExportedReleaseBundleV1StatusWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, reqEditors ...RequestEditorFn) (*GetExportedReleaseBundleV1StatusResponse, error)

	// GetGpgSigningKeyWithResponse Get the default GPG signing key
	//
	// Returns the alias and ASCII-armoured public part of the default GPG key, the key that signs release bundles. The private part is never returned.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/keys/pgp (the `GetGpgSigningKey` operationId).
	GetGpgSigningKeyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetGpgSigningKeyResponse, error)

	// SetGpgSigningKeyWithBodyWithResponse Add a GPG signing key
	//
	// Adds a GPG key pair and makes it the default signing key. The private key is stored sealed in the instance's keypair store, the same store `/artifactory/api/security/keypair` manages, so a key added here is visible there and the reverse.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/keys/pgp (the `SetGpgSigningKey` operationId).
	SetGpgSigningKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetGpgSigningKeyResponse, error)

	// SetGpgSigningKeyWithResponse Add a GPG signing key
	//
	// Adds a GPG key pair and makes it the default signing key. The private key is stored sealed in the instance's keypair store, the same store `/artifactory/api/security/keypair` manages, so a key added here is visible there and the reverse.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/keys/pgp (the `SetGpgSigningKey` operationId).
	SetGpgSigningKeyWithResponse(ctx context.Context, body SetGpgSigningKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*SetGpgSigningKeyResponse, error)

	// GetAllGpgKeyAliasesWithResponse List GPG key aliases
	//
	// Lists the aliases of the configured GPG keys.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/keys/pgp/aliases (the `GetAllGpgKeyAliases` operationId).
	GetAllGpgKeyAliasesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllGpgKeyAliasesResponse, error)

	// UploadAndPropagateGpgSigningKeysForDistributionWithResponse Propagate GPG keys to edges
	//
	// Sends one key (`alias`) or every key (`all=true`) to every edge peer, which adds it to the keys it trusts for verifying signatures. Only public parts leave this instance.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/keys/pgp/propagate (the `UploadAndPropagateGpgSigningKeysForDistribution` operationId).
	UploadAndPropagateGpgSigningKeysForDistributionWithResponse(ctx context.Context, params *UploadAndPropagateGpgSigningKeysForDistributionParams, reqEditors ...RequestEditorFn) (*UploadAndPropagateGpgSigningKeysForDistributionResponse, error)

	// DeleteGpgKeyByAliasWithResponse Delete a GPG key
	//
	// Deletes the key pair. Versions already signed with it stay valid on edges that hold its public part; new versions cannot be signed with it.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/keys/pgp/{alias} (the `DeleteGpgKeyByAlias` operationId).
	DeleteGpgKeyByAliasWithResponse(ctx context.Context, alias string, reqEditors ...RequestEditorFn) (*DeleteGpgKeyByAliasResponse, error)

	// GetGpgPublicKeyByAliasWithResponse Get a GPG key by alias
	//
	// Returns the alias and public part of one key.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/keys/pgp/{alias} (the `GetGpgPublicKeyByAlias` operationId).
	GetGpgPublicKeyByAliasWithResponse(ctx context.Context, alias string, reqEditors ...RequestEditorFn) (*GetGpgPublicKeyByAliasResponse, error)

	// UpdateGpgKeyAliasWithBodyWithResponse Rename a GPG key
	//
	// Changes the alias of a key; the key material is unchanged.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/keys/pgp/{alias} (the `UpdateGpgKeyAlias` operationId).
	UpdateGpgKeyAliasWithBodyWithResponse(ctx context.Context, alias string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGpgKeyAliasResponse, error)

	// UpdateGpgKeyAliasWithResponse Rename a GPG key
	//
	// Changes the alias of a key; the key material is unchanged.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/keys/pgp/{alias} (the `UpdateGpgKeyAlias` operationId).
	UpdateGpgKeyAliasWithResponse(ctx context.Context, alias string, body UpdateGpgKeyAliasJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGpgKeyAliasResponse, error)

	// DistributeByLastDaysWithBodyWithResponse Redistribute recent release bundles to an edge
	//
	// Redistributes to one edge every release bundle version distributed in a window of days ending on `date`, for example after the edge was rebuilt. The window length runs from 1 to the configured maximum, 7 by default. Administrators only.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/maintenance/distributeByLastDays (the `DistributeByLastDays` operationId).
	DistributeByLastDaysWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DistributeByLastDaysResponse, error)

	// DistributeByLastDaysWithResponse Redistribute recent release bundles to an edge
	//
	// Redistributes to one edge every release bundle version distributed in a window of days ending on `date`, for example after the edge was rebuilt. The window length runs from 1 to the configured maximum, 7 by default. Administrators only.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/maintenance/distributeByLastDays (the `DistributeByLastDays` operationId).
	DistributeByLastDaysWithResponse(ctx context.Context, body DistributeByLastDaysJSONRequestBody, reqEditors ...RequestEditorFn) (*DistributeByLastDaysResponse, error)

	// ExecuteMaintenanceActionWithBodyWithResponse Run a maintenance action
	//
	// Runs a maintenance action using a token from the token operation, sent as the plain-text body. UNLOCK_STUCK releases every stuck distribution so it can be retried or cleaned up; STOP_ALL force-stops every in-progress distribution, ends every non-final tracker and empties the pending work queue. `dryRun` defaults to true and reports what would change without changing it. Administrators only.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/maintenance/execute/{actionType} (the `ExecuteMaintenanceAction` operationId).
	ExecuteMaintenanceActionWithBodyWithResponse(ctx context.Context, actionType ExecuteMaintenanceActionParamsActionType, params *ExecuteMaintenanceActionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExecuteMaintenanceActionResponse, error)

	// ExecuteMaintenanceActionWithTextBodyWithResponse Run a maintenance action
	//
	// Runs a maintenance action using a token from the token operation, sent as the plain-text body. UNLOCK_STUCK releases every stuck distribution so it can be retried or cleaned up; STOP_ALL force-stops every in-progress distribution, ends every non-final tracker and empties the pending work queue. `dryRun` defaults to true and reports what would change without changing it. Administrators only.
	//
	// Takes a body of the `text/plain` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/maintenance/execute/{actionType} (the `ExecuteMaintenanceAction` operationId).
	ExecuteMaintenanceActionWithTextBodyWithResponse(ctx context.Context, actionType ExecuteMaintenanceActionParamsActionType, params *ExecuteMaintenanceActionParams, body ExecuteMaintenanceActionTextRequestBody, reqEditors ...RequestEditorFn) (*ExecuteMaintenanceActionResponse, error)

	// GenerateMaintenanceExecutionTokenWithResponse Get a maintenance token
	//
	// Issues a single-use token for one maintenance action. The token expires after 3 minutes and must be sent as the body of the execute operation. Administrators only.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/maintenance/generate_token/{actionType} (the `GenerateMaintenanceExecutionToken` operationId).
	GenerateMaintenanceExecutionTokenWithResponse(ctx context.Context, actionType GenerateMaintenanceExecutionTokenParamsActionType, reqEditors ...RequestEditorFn) (*GenerateMaintenanceExecutionTokenResponse, error)

	// GetStuckDistributionsWithResponse List stuck distributions
	//
	// Lists distributions stuck in a non-final state, for example after an edge disappeared mid-transfer. Unlock them with the UNLOCK_STUCK maintenance action. Administrators only.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/maintenance/stuck_distributions (the `GetStuckDistributions` operationId).
	GetStuckDistributionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetStuckDistributionsResponse, error)

	// GetOpenMetricsForDistributionWithResponse Get distribution metrics
	//
	// Returns the release bundle and distribution counters in OpenMetrics text, under `jfds_` metric names. Administrators only.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/metrics (the `GetOpenMetricsForDistribution` operationId).
	GetOpenMetricsForDistributionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOpenMetricsForDistributionResponse, error)

	// GetAllBundlesWithResponse List release bundle v1 versions
	//
	// Lists the release bundle v1 versions on this instance, one entry per version, newest first. Use `start_pos` to page.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/release_bundle (the `GetAllBundles` operationId).
	GetAllBundlesWithResponse(ctx context.Context, params *GetAllBundlesParams, reqEditors ...RequestEditorFn) (*GetAllBundlesResponse, error)

	// CreateReleaseBundleV1VersionWithBodyWithResponse Create a release bundle v1 version
	//
	// Creates a release bundle version: an immutable manifest of the artifacts selected by the spec's AQL queries, each recorded with its repository path, sha256 checksum and any properties the query adds. When `sign_immediately` is true, or the X-GPG-PASSPHRASE header is sent, the version is also signed with the default GPG key in the same call. With `dry_run` the queries are evaluated and the would-be version is returned without storing anything. A name and version pair is unique; creating an existing pair answers 400. The artifacts stay in their repositories.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/release_bundle (the `CreateReleaseBundleV1Version` operationId).
	CreateReleaseBundleV1VersionWithBodyWithResponse(ctx context.Context, params *CreateReleaseBundleV1VersionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateReleaseBundleV1VersionResponse, error)

	// CreateReleaseBundleV1VersionWithResponse Create a release bundle v1 version
	//
	// Creates a release bundle version: an immutable manifest of the artifacts selected by the spec's AQL queries, each recorded with its repository path, sha256 checksum and any properties the query adds. When `sign_immediately` is true, or the X-GPG-PASSPHRASE header is sent, the version is also signed with the default GPG key in the same call. With `dry_run` the queries are evaluated and the would-be version is returned without storing anything. A name and version pair is unique; creating an existing pair answers 400. The artifacts stay in their repositories.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/release_bundle (the `CreateReleaseBundleV1Version` operationId).
	CreateReleaseBundleV1VersionWithResponse(ctx context.Context, params *CreateReleaseBundleV1VersionParams, body CreateReleaseBundleV1VersionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateReleaseBundleV1VersionResponse, error)

	// GetDistributionStatusDetailsWithResponse List distribution statuses
	//
	// Lists the distribution trackers of every release bundle v1 version, newest first.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/release_bundle/distribution (the `GetDistributionStatusDetails` operationId).
	GetDistributionStatusDetailsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDistributionStatusDetailsResponse, error)

	// DeleteAllReleaseBundleV1VersionsWithResponse Delete every version of a release bundle
	//
	// Deletes every version of the named release bundle from this instance, with the same rules as deleting one version.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/release_bundle/{release_bundle_name} (the `DeleteAllReleaseBundleV1Versions` operationId).
	DeleteAllReleaseBundleV1VersionsWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, params *DeleteAllReleaseBundleV1VersionsParams, reqEditors ...RequestEditorFn) (*DeleteAllReleaseBundleV1VersionsResponse, error)

	// GetReleaseBundleV1VersionsByNameWithResponse List the versions of one release bundle
	//
	// Lists every version of the named release bundle, newest first.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/release_bundle/{release_bundle_name} (the `GetReleaseBundleV1VersionsByName` operationId).
	GetReleaseBundleV1VersionsByNameWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, params *GetReleaseBundleV1VersionsByNameParams, reqEditors ...RequestEditorFn) (*GetReleaseBundleV1VersionsByNameResponse, error)

	// GetLatestReleaseBundleV1VersionWithResponse Get the latest version of a release bundle
	//
	// Returns the newest version of the named release bundle by creation time. A version literally named `LATEST` cannot be read through the version path for the same reason.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/release_bundle/{release_bundle_name}/LATEST (the `GetLatestReleaseBundleV1Version` operationId).
	GetLatestReleaseBundleV1VersionWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, reqEditors ...RequestEditorFn) (*GetLatestReleaseBundleV1VersionResponse, error)

	// GetDistributionStatusDetailsByReleaseBundleV1NameWithResponse List distribution statuses of a release bundle
	//
	// Lists the distribution trackers of every version of the named release bundle, newest first.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/release_bundle/{release_bundle_name}/distribution (the `GetDistributionStatusDetailsByReleaseBundleV1Name` operationId).
	GetDistributionStatusDetailsByReleaseBundleV1NameWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, reqEditors ...RequestEditorFn) (*GetDistributionStatusDetailsByReleaseBundleV1NameResponse, error)

	// DeleteReleaseBundleV1VersionWithResponse Delete a release bundle v1 version
	//
	// Deletes one version from this instance. The artifacts are not deleted; they stay in their repositories under their own retention. Copies already on edges are untouched; remove those with the edge delete operation first.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version} (the `DeleteReleaseBundleV1Version` operationId).
	DeleteReleaseBundleV1VersionWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *DeleteReleaseBundleV1VersionParams, reqEditors ...RequestEditorFn) (*DeleteReleaseBundleV1VersionResponse, error)

	// GetReleaseBundleV1VersionDetailsWithResponse Get a release bundle v1 version
	//
	// Returns a version's details and artifact list. With `format=jws` or `format=jose` the signed manifest is returned instead, as the compact JWS string or the JOSE JSON serialisation, which is what edges verify; those formats need a signed version.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version} (the `GetReleaseBundleV1VersionDetails` operationId).
	GetReleaseBundleV1VersionDetailsWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *GetReleaseBundleV1VersionDetailsParams, reqEditors ...RequestEditorFn) (*GetReleaseBundleV1VersionDetailsResponse, error)

	// GetReleaseBundleV1VersionSha256WithResponse Get the checksum of a release bundle v1 version
	//
	// Answers with the sha256 of the version's signed manifest in the X-Checksum-Sha256 header and no body. Edges and clients use it to compare versions without downloading them.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with HEAD /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version} (the `GetReleaseBundleV1VersionSha256` operationId).
	GetReleaseBundleV1VersionSha256WithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, reqEditors ...RequestEditorFn) (*GetReleaseBundleV1VersionSha256Response, error)

	// UpdateReleaseBundleV1VersionWithBodyWithResponse Update an unsigned release bundle v1 version
	//
	// Replaces the content of a version that has not been signed. The body has the same shape as for creation, and its name and version must match the path. Signed versions are immutable and answer 400.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version} (the `UpdateReleaseBundleV1Version` operationId).
	UpdateReleaseBundleV1VersionWithBodyWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *UpdateReleaseBundleV1VersionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateReleaseBundleV1VersionResponse, error)

	// UpdateReleaseBundleV1VersionWithResponse Update an unsigned release bundle v1 version
	//
	// Replaces the content of a version that has not been signed. The body has the same shape as for creation, and its name and version must match the path. Signed versions are immutable and answer 400.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version} (the `UpdateReleaseBundleV1Version` operationId).
	UpdateReleaseBundleV1VersionWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *UpdateReleaseBundleV1VersionParams, body UpdateReleaseBundleV1VersionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateReleaseBundleV1VersionResponse, error)

	// GetDistributionStatusDetailsByReleaseBundleV1VersionWithResponse List distribution statuses of a version
	//
	// Lists the distribution trackers of one release bundle version, newest first.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version}/distribution (the `GetDistributionStatusDetailsByReleaseBundleV1Version` operationId).
	GetDistributionStatusDetailsByReleaseBundleV1VersionWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, reqEditors ...RequestEditorFn) (*GetDistributionStatusDetailsByReleaseBundleV1VersionResponse, error)

	// GetDistributionStatusDetailsByReleaseBundleV1TrackerIdWithResponse Get a distribution tracker
	//
	// Returns one tracker with the status of the transfer to each of its edges.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version}/distribution/{distribution_tracker} (the `GetDistributionStatusDetailsByReleaseBundleV1TrackerId` operationId).
	GetDistributionStatusDetailsByReleaseBundleV1TrackerIdWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, distributionTracker DistributionTrackerPath, reqEditors ...RequestEditorFn) (*GetDistributionStatusDetailsByReleaseBundleV1TrackerIdResponse, error)

	// SignReleaseBundleV1VersionWithBodyWithResponse Sign a release bundle v1 version
	//
	// Signs an OPEN version with the default GPG key, or with the key whose passphrase is sent in X-GPG-PASSPHRASE, producing a JWS over the manifest, and records the manifest in the storing repository. A version must be signed before it can be distributed or exported and is immutable afterwards. Signing an already signed version is rejected with 400.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version}/sign (the `SignReleaseBundleV1Version` operationId).
	SignReleaseBundleV1VersionWithBodyWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *SignReleaseBundleV1VersionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SignReleaseBundleV1VersionResponse, error)

	// SignReleaseBundleV1VersionWithResponse Sign a release bundle v1 version
	//
	// Signs an OPEN version with the default GPG key, or with the key whose passphrase is sent in X-GPG-PASSPHRASE, producing a JWS over the manifest, and records the manifest in the storing repository. A version must be signed before it can be distributed or exported and is immutable afterwards. Signing an already signed version is rejected with 400.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version}/sign (the `SignReleaseBundleV1Version` operationId).
	SignReleaseBundleV1VersionWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *SignReleaseBundleV1VersionParams, body SignReleaseBundleV1VersionJSONRequestBody, reqEditors ...RequestEditorFn) (*SignReleaseBundleV1VersionResponse, error)

	// TriggerXrayScanReleaseBundleV1VersionWithResponse Scan a release bundle v1 version with Xray
	//
	// Not implemented; answers 501.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version}/trigger_xray_scan (the `TriggerXrayScanReleaseBundleV1Version` operationId).
	TriggerXrayScanReleaseBundleV1VersionWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, reqEditors ...RequestEditorFn) (*TriggerXrayScanReleaseBundleV1VersionResponse, error)

	// GetAllDistributionPermissionsWithResponse List destination permissions
	//
	// Lists every destination permission. Administrators only.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/security/permissions (the `GetAllDistributionPermissions` operationId).
	GetAllDistributionPermissionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAllDistributionPermissionsResponse, error)

	// DeleteDistributionPermissionWithResponse Delete a destination permission
	//
	// Deletes one destination permission. Administrators only.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/security/permissions/{permission_name} (the `DeleteDistributionPermission` operationId).
	DeleteDistributionPermissionWithResponse(ctx context.Context, permissionName string, reqEditors ...RequestEditorFn) (*DeleteDistributionPermissionResponse, error)

	// GetDistributionPermissionByNameWithResponse Get a destination permission
	//
	// Returns one destination permission. Administrators only.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/security/permissions/{permission_name} (the `GetDistributionPermissionByName` operationId).
	GetDistributionPermissionByNameWithResponse(ctx context.Context, permissionName string, reqEditors ...RequestEditorFn) (*GetDistributionPermissionByNameResponse, error)

	// SetDistributionPermissionWithBodyWithResponse Create or replace a destination permission
	//
	// Creates the destination permission, or replaces it when the name exists. A destination permission grants users and groups the right to distribute release bundles to, or delete them from, the edges its destinations match. Administrators only.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/security/permissions/{permission_name} (the `SetDistributionPermission` operationId).
	SetDistributionPermissionWithBodyWithResponse(ctx context.Context, permissionName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetDistributionPermissionResponse, error)

	// SetDistributionPermissionWithResponse Create or replace a destination permission
	//
	// Creates the destination permission, or replaces it when the name exists. A destination permission grants users and groups the right to distribute release bundles to, or delete them from, the edges its destinations match. Administrators only.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/security/permissions/{permission_name} (the `SetDistributionPermission` operationId).
	SetDistributionPermissionWithResponse(ctx context.Context, permissionName string, body SetDistributionPermissionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetDistributionPermissionResponse, error)

	// GetTokenInfosWithResponse List tokens
	//
	// Lists the tokens issued through the Distribution token operations. They are ordinary access tokens, so the Access token list shows them too. Administrators only.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/security/token (the `GetTokenInfos` operationId).
	GetTokenInfosWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTokenInfosResponse, error)

	// CreateOrRefreshTokenWithBodyWithResponse Create or refresh a token
	//
	// Issues or refreshes a token from a form body. `grant_type=client_credentials` issues a token for `username`; `grant_type=refresh_token` exchanges a refresh token and its access token for a new pair. The tokens are ordinary access tokens.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/security/token (the `CreateOrRefreshToken` operationId).
	CreateOrRefreshTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrRefreshTokenResponse, error)

	// CreateOrRefreshTokenWithFormdataBodyWithResponse Create or refresh a token
	//
	// Issues or refreshes a token from a form body. `grant_type=client_credentials` issues a token for `username`; `grant_type=refresh_token` exchanges a refresh token and its access token for a new pair. The tokens are ordinary access tokens.
	//
	// Takes a body of the `application/x-www-form-urlencoded` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/security/token (the `CreateOrRefreshToken` operationId).
	CreateOrRefreshTokenWithFormdataBodyWithResponse(ctx context.Context, body CreateOrRefreshTokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*CreateOrRefreshTokenResponse, error)

	// RevokeTokenWithBodyWithResponse Revoke a token
	//
	// Revokes a token given either its value (access or refresh token) or its id, in a form body, as in RFC 7009. Administrators only.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/security/token/revoke (the `RevokeToken` operationId).
	RevokeTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RevokeTokenResponse, error)

	// RevokeTokenWithFormdataBodyWithResponse Revoke a token
	//
	// Revokes a token given either its value (access or refresh token) or its id, in a form body, as in RFC 7009. Administrators only.
	//
	// Takes a body of the `application/x-www-form-urlencoded` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/security/token/revoke (the `RevokeToken` operationId).
	RevokeTokenWithFormdataBodyWithResponse(ctx context.Context, body RevokeTokenFormdataRequestBody, reqEditors ...RequestEditorFn) (*RevokeTokenResponse, error)

	// GetDistributionSystemInfoWithResponse Get distribution system information
	//
	// Returns the version, service id and health of the distribution service. `status` is UNSTABLE, with `message` naming the failing dependency, when the database or blob store is unavailable.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/system/info (the `GetDistributionSystemInfo` operationId).
	GetDistributionSystemInfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDistributionSystemInfoResponse, error)

	// DistributionPingWithResponse Ping the distribution service
	//
	// Answers 200 with message OK when the instance's distribution features are usable, meaning the database and blob store are reachable. The distribution service is the instance itself. Anonymous callers may use it unless anonymous access is disabled.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/system/ping (the `DistributionPing` operationId).
	DistributionPingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DistributionPingResponse, error)

	// GetDistributionSystemSettingsWithResponse Get distribution settings
	//
	// Returns the distribution settings. Administrators only.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/system/settings (the `GetDistributionSystemSettings` operationId).
	GetDistributionSystemSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDistributionSystemSettingsResponse, error)

	// UpdateDistributionSystemSettingsWithBodyWithResponse Update distribution settings
	//
	// Replaces the distribution settings. Administrators only.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/system/settings (the `UpdateDistributionSystemSettings` operationId).
	UpdateDistributionSystemSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDistributionSystemSettingsResponse, error)

	// UpdateDistributionSystemSettingsWithResponse Update distribution settings
	//
	// Replaces the distribution settings. Administrators only.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/system/settings (the `UpdateDistributionSystemSettings` operationId).
	UpdateDistributionSystemSettingsWithResponse(ctx context.Context, body UpdateDistributionSystemSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDistributionSystemSettingsResponse, error)

	// CreateSupportBundleWithBodyWithResponse Create a support bundle
	//
	// Collects a support bundle under a generated id: logs for a date window, the configuration with every secret masked, system information and goroutine dumps, as selected. Administrators only.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/system/support/bundle (the `CreateSupportBundle` operationId).
	CreateSupportBundleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSupportBundleResponse, error)

	// CreateSupportBundleWithResponse Create a support bundle
	//
	// Collects a support bundle under a generated id: logs for a date window, the configuration with every secret masked, system information and goroutine dumps, as selected. Administrators only.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/system/support/bundle (the `CreateSupportBundle` operationId).
	CreateSupportBundleWithResponse(ctx context.Context, body CreateSupportBundleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSupportBundleResponse, error)

	// DeleteSupportBundleWithResponse Delete a support bundle
	//
	// Deletes one support bundle. Administrators only.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/system/support/bundle/{bundle_id} (the `DeleteSupportBundle` operationId).
	DeleteSupportBundleWithResponse(ctx context.Context, bundleId string, reqEditors ...RequestEditorFn) (*DeleteSupportBundleResponse, error)

	// GetSupportBundleInfoWithResponse Get a support bundle
	//
	// Returns one support bundle's metadata. Administrators only.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/system/support/bundle/{bundle_id} (the `GetSupportBundleInfo` operationId).
	GetSupportBundleInfoWithResponse(ctx context.Context, bundleId string, reqEditors ...RequestEditorFn) (*GetSupportBundleInfoResponse, error)

	// CreateSpecificSupportBundleWithBodyWithResponse Create a support bundle with a given id
	//
	// Collects a support bundle as the create operation does, under the id in the path.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/system/support/bundle/{bundle_id} (the `CreateSpecificSupportBundle` operationId).
	CreateSpecificSupportBundleWithBodyWithResponse(ctx context.Context, bundleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSpecificSupportBundleResponse, error)

	// CreateSpecificSupportBundleWithResponse Create a support bundle with a given id
	//
	// Collects a support bundle as the create operation does, under the id in the path.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/system/support/bundle/{bundle_id} (the `CreateSpecificSupportBundle` operationId).
	CreateSpecificSupportBundleWithResponse(ctx context.Context, bundleId string, body CreateSpecificSupportBundleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSpecificSupportBundleResponse, error)

	// DownloadSupportBundleWithResponse Download a support bundle
	//
	// Downloads one support bundle as a zip archive. Administrators only.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/system/support/bundle/{bundle_id}/archive (the `DownloadSupportBundle` operationId).
	DownloadSupportBundleWithResponse(ctx context.Context, bundleId string, reqEditors ...RequestEditorFn) (*DownloadSupportBundleResponse, error)

	// ListSupportBundlesWithResponse List support bundles
	//
	// Lists the support bundles on this instance. Administrators only.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/system/support/bundles (the `ListSupportBundles` operationId).
	ListSupportBundlesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSupportBundlesResponse, error)

	// AbortReleaseBundleV2DistributionWithResponse Abort a Release Bundle v2 distribution
	//
	// Not implemented; answers 501.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v2/distribution/abort/{release_bundle_name}/{release_bundle_version} (the `AbortReleaseBundleV2Distribution` operationId).
	AbortReleaseBundleV2DistributionWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *AbortReleaseBundleV2DistributionParams, reqEditors ...RequestEditorFn) (*AbortReleaseBundleV2DistributionResponse, error)

	// DistributeReleaseBundleV2VersionWithBodyWithResponse Distribute a Release Bundle v2 version
	//
	// Not implemented; answers 501.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/distribution/distribute/{release_bundle_name}/{release_bundle_version} (the `DistributeReleaseBundleV2Version` operationId).
	DistributeReleaseBundleV2VersionWithBodyWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *DistributeReleaseBundleV2VersionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DistributeReleaseBundleV2VersionResponse, error)

	// DistributeReleaseBundleV2VersionWithResponse Distribute a Release Bundle v2 version
	//
	// Not implemented; answers 501.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/distribution/distribute/{release_bundle_name}/{release_bundle_version} (the `DistributeReleaseBundleV2Version` operationId).
	DistributeReleaseBundleV2VersionWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *DistributeReleaseBundleV2VersionParams, body DistributeReleaseBundleV2VersionJSONRequestBody, reqEditors ...RequestEditorFn) (*DistributeReleaseBundleV2VersionResponse, error)

	// PropagatePublicSigningKeyWithResponse Propagate a signing key to edges
	//
	// Sends the named key's public part to every edge peer, which adds it to the keys it trusts for verifying release bundle signatures. Run it after adding or rotating the signing key and before distributing.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/distribution/key/propagate/{key_name} (the `PropagatePublicSigningKey` operationId).
	PropagatePublicSigningKeyWithResponse(ctx context.Context, keyName string, reqEditors ...RequestEditorFn) (*PropagatePublicSigningKeyResponse, error)

	// GetPublicSigningKeyForDistributionWithResponse Get a signing key's public part
	//
	// Returns the ASCII-armoured public part of the named key from the keypair store, as plain text.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v2/distribution/key/{key_name} (the `GetPublicSigningKeyForDistribution` operationId).
	GetPublicSigningKeyForDistributionWithResponse(ctx context.Context, keyName string, reqEditors ...RequestEditorFn) (*GetPublicSigningKeyForDistributionResponse, error)

	// RemoteDeleteReleaseBundleV2DistributionWithBodyWithResponse Delete a Release Bundle v2 version from edges
	//
	// Not implemented; answers 501.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/distribution/remote_delete/{release_bundle_name}/{release_bundle_version} (the `RemoteDeleteReleaseBundleV2Distribution` operationId).
	RemoteDeleteReleaseBundleV2DistributionWithBodyWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *RemoteDeleteReleaseBundleV2DistributionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoteDeleteReleaseBundleV2DistributionResponse, error)

	// RemoteDeleteReleaseBundleV2DistributionWithResponse Delete a Release Bundle v2 version from edges
	//
	// Not implemented; answers 501.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v2/distribution/remote_delete/{release_bundle_name}/{release_bundle_version} (the `RemoteDeleteReleaseBundleV2Distribution` operationId).
	RemoteDeleteReleaseBundleV2DistributionWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *RemoteDeleteReleaseBundleV2DistributionParams, body RemoteDeleteReleaseBundleV2DistributionJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoteDeleteReleaseBundleV2DistributionResponse, error)

	// GetReleaseBundleV2DistributionTrackersWithResponse List Release Bundle v2 distribution trackers
	//
	// Not implemented; answers 501.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v2/distribution/trackers/{release_bundle_name}/{release_bundle_version} (the `GetReleaseBundleV2DistributionTrackers` operationId).
	GetReleaseBundleV2DistributionTrackersWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params *GetReleaseBundleV2DistributionTrackersParams, reqEditors ...RequestEditorFn) (*GetReleaseBundleV2DistributionTrackersResponse, error)

	// GetDistributionStatusDetailsByTrackerIdWithResponse Get a Release Bundle v2 distribution tracker
	//
	// Not implemented; answers 501.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v2/distribution/trackers/{release_bundle_name}/{release_bundle_version}/{distribution_tracker} (the `GetDistributionStatusDetailsByTrackerId` operationId).
	GetDistributionStatusDetailsByTrackerIdWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, distributionTracker DistributionTrackerPath, reqEditors ...RequestEditorFn) (*GetDistributionStatusDetailsByTrackerIdResponse, error)

	// UpdateReleaseBundleV2DistributionPriorityWithBodyWithResponse Change the priority of a Release Bundle v2 distribution
	//
	// Not implemented; answers 501.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v2/distribution/trackers/{release_bundle_name}/{release_bundle_version}/{distribution_tracker}/priority (the `UpdateReleaseBundleV2DistributionPriority` operationId).
	UpdateReleaseBundleV2DistributionPriorityWithBodyWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, distributionTracker DistributionTrackerPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateReleaseBundleV2DistributionPriorityResponse, error)

	// UpdateReleaseBundleV2DistributionPriorityWithResponse Change the priority of a Release Bundle v2 distribution
	//
	// Not implemented; answers 501.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v2/distribution/trackers/{release_bundle_name}/{release_bundle_version}/{distribution_tracker}/priority (the `UpdateReleaseBundleV2DistributionPriority` operationId).
	UpdateReleaseBundleV2DistributionPriorityWithResponse(ctx context.Context, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, distributionTracker DistributionTrackerPath, body UpdateReleaseBundleV2DistributionPriorityJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateReleaseBundleV2DistributionPriorityResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CreateOrRefreshTokenFormdataBody

type CreateOrRefreshTokenFormdataBody struct {
	// AccessToken Optional within this object. For a refresh: the access token being refreshed.
	AccessToken *string `form:"access_token,omitempty" json:"access_token,omitempty"`

	// ExpiresIn Optional within this object. Lifetime in seconds. Omitted uses the default expiry; 0 means never and needs an administrator.
	ExpiresIn *int64 `form:"expires_in,omitempty" json:"expires_in,omitempty"`

	// GrantType Optional within this object. client_credentials to issue a token, refresh_token to refresh one. Defaults to client_credentials.
	GrantType *CreateOrRefreshTokenFormdataBodyGrantType `form:"grant_type,omitempty" json:"grant_type,omitempty"`

	// RefreshToken Optional within this object. For a refresh: the refresh token.
	RefreshToken *string `form:"refresh_token,omitempty" json:"refresh_token,omitempty"`

	// Refreshable Optional within this object. When true a refresh token is issued too. Defaults to false.
	Refreshable *bool `form:"refreshable,omitempty" json:"refreshable,omitempty"`

	// Scope Optional within this object. admin (administrators only) or groups:<names>. Omitted gives the subject's own permissions.
	Scope *string `form:"scope,omitempty" json:"scope,omitempty"`

	// Username Optional within this object. Subject of the new token. Non-administrators may only name themselves.
	Username *string `form:"username,omitempty" json:"username,omitempty"`
}

CreateOrRefreshTokenFormdataBody defines parameters for CreateOrRefreshToken.

type CreateOrRefreshTokenFormdataBodyGrantType

type CreateOrRefreshTokenFormdataBodyGrantType string

CreateOrRefreshTokenFormdataBodyGrantType defines parameters for CreateOrRefreshToken.

const (
	ClientCredentials CreateOrRefreshTokenFormdataBodyGrantType = "client_credentials"
	RefreshToken      CreateOrRefreshTokenFormdataBodyGrantType = "refresh_token"
)

Defines values for CreateOrRefreshTokenFormdataBodyGrantType.

func (CreateOrRefreshTokenFormdataBodyGrantType) Valid

Valid indicates whether the value is a known member of the CreateOrRefreshTokenFormdataBodyGrantType enum.

type CreateOrRefreshTokenFormdataRequestBody

type CreateOrRefreshTokenFormdataRequestBody CreateOrRefreshTokenFormdataBody

CreateOrRefreshTokenFormdataRequestBody defines body for CreateOrRefreshToken for application/x-www-form-urlencoded ContentType.

type CreateOrRefreshTokenResponse

type CreateOrRefreshTokenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DistributionTokenResponse
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *DistributionTokenResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseCreateOrRefreshTokenResponse

func ParseCreateOrRefreshTokenResponse(rsp *http.Response) (*CreateOrRefreshTokenResponse, error)

ParseCreateOrRefreshTokenResponse parses an HTTP response from a CreateOrRefreshTokenWithResponse call

func (CreateOrRefreshTokenResponse) ContentType

func (r CreateOrRefreshTokenResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateOrRefreshTokenResponse) GetBody

func (r CreateOrRefreshTokenResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateOrRefreshTokenResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CreateOrRefreshTokenResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateOrRefreshTokenResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateOrRefreshTokenResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateOrRefreshTokenResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateOrRefreshTokenResponse) Status

Status returns HTTPResponse.Status

func (CreateOrRefreshTokenResponse) StatusCode

func (r CreateOrRefreshTokenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateReleaseBundleV1VersionJSONRequestBody

type CreateReleaseBundleV1VersionJSONRequestBody = ReleaseBundleCreation

CreateReleaseBundleV1VersionJSONRequestBody defines body for CreateReleaseBundleV1Version for application/json ContentType.

type CreateReleaseBundleV1VersionParams

type CreateReleaseBundleV1VersionParams struct {
	// Project Optional query parameter. Key of the project the bundle belongs to. Omitted means the default project.
	Project *ProjectQuery `form:"project,omitempty" json:"project,omitempty"`

	// XGPGPASSPHRASE Optional header parameter. Passphrase protecting the signing key's private part. Needed only when the key has one; never logged or stored.
	XGPGPASSPHRASE *string `json:"X-GPG-PASSPHRASE,omitempty"`
}

CreateReleaseBundleV1VersionParams defines parameters for CreateReleaseBundleV1Version.

type CreateReleaseBundleV1VersionResponse

type CreateReleaseBundleV1VersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ReleaseBundleV1Version
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *ReleaseBundleV1Version
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ErrorResponse
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *CreateReleaseBundleV1VersionResponse201Headers
}

func ParseCreateReleaseBundleV1VersionResponse

func ParseCreateReleaseBundleV1VersionResponse(rsp *http.Response) (*CreateReleaseBundleV1VersionResponse, error)

ParseCreateReleaseBundleV1VersionResponse parses an HTTP response from a CreateReleaseBundleV1VersionWithResponse call

func (CreateReleaseBundleV1VersionResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateReleaseBundleV1VersionResponse) GetBody

GetBody returns the raw response body bytes

func (CreateReleaseBundleV1VersionResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CreateReleaseBundleV1VersionResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateReleaseBundleV1VersionResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateReleaseBundleV1VersionResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateReleaseBundleV1VersionResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CreateReleaseBundleV1VersionResponse) Status

Status returns HTTPResponse.Status

func (CreateReleaseBundleV1VersionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateReleaseBundleV1VersionResponse201Headers

type CreateReleaseBundleV1VersionResponse201Headers struct {
	XChecksumSha256 *string
}

CreateReleaseBundleV1VersionResponse201Headers the declared response headers of an HTTP 201 response for CreateReleaseBundleV1Version

type CreateSpecificSupportBundleJSONRequestBody

type CreateSpecificSupportBundleJSONRequestBody = SupportBundleCreateRequest

CreateSpecificSupportBundleJSONRequestBody defines body for CreateSpecificSupportBundle for application/json ContentType.

type CreateSpecificSupportBundleResponse

type CreateSpecificSupportBundleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SupportBundleCreateResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseCreateSpecificSupportBundleResponse

func ParseCreateSpecificSupportBundleResponse(rsp *http.Response) (*CreateSpecificSupportBundleResponse, error)

ParseCreateSpecificSupportBundleResponse parses an HTTP response from a CreateSpecificSupportBundleWithResponse call

func (CreateSpecificSupportBundleResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateSpecificSupportBundleResponse) GetBody

GetBody returns the raw response body bytes

func (CreateSpecificSupportBundleResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CreateSpecificSupportBundleResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateSpecificSupportBundleResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateSpecificSupportBundleResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateSpecificSupportBundleResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreateSpecificSupportBundleResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (CreateSpecificSupportBundleResponse) Status

Status returns HTTPResponse.Status

func (CreateSpecificSupportBundleResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateSupportBundleJSONRequestBody

type CreateSupportBundleJSONRequestBody = SupportBundleCreateRequest

CreateSupportBundleJSONRequestBody defines body for CreateSupportBundle for application/json ContentType.

type CreateSupportBundleResponse

type CreateSupportBundleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SupportBundleCreateResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseCreateSupportBundleResponse

func ParseCreateSupportBundleResponse(rsp *http.Response) (*CreateSupportBundleResponse, error)

ParseCreateSupportBundleResponse parses an HTTP response from a CreateSupportBundleWithResponse call

func (CreateSupportBundleResponse) ContentType

func (r CreateSupportBundleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateSupportBundleResponse) GetBody

func (r CreateSupportBundleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateSupportBundleResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CreateSupportBundleResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateSupportBundleResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateSupportBundleResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateSupportBundleResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (CreateSupportBundleResponse) Status

Status returns HTTPResponse.Status

func (CreateSupportBundleResponse) StatusCode

func (r CreateSupportBundleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteAllReleaseBundleV1VersionsParams

type DeleteAllReleaseBundleV1VersionsParams struct {
	// Archive Optional query parameter. Accepted and ignored; the version is deleted either way.
	Archive *bool `form:"archive,omitempty" json:"archive,omitempty"`
}

DeleteAllReleaseBundleV1VersionsParams defines parameters for DeleteAllReleaseBundleV1Versions.

type DeleteAllReleaseBundleV1VersionsResponse

type DeleteAllReleaseBundleV1VersionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseDeleteAllReleaseBundleV1VersionsResponse

func ParseDeleteAllReleaseBundleV1VersionsResponse(rsp *http.Response) (*DeleteAllReleaseBundleV1VersionsResponse, error)

ParseDeleteAllReleaseBundleV1VersionsResponse parses an HTTP response from a DeleteAllReleaseBundleV1VersionsWithResponse call

func (DeleteAllReleaseBundleV1VersionsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteAllReleaseBundleV1VersionsResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteAllReleaseBundleV1VersionsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteAllReleaseBundleV1VersionsResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteAllReleaseBundleV1VersionsResponse) Status

Status returns HTTPResponse.Status

func (DeleteAllReleaseBundleV1VersionsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteDistributionPermissionResponse

type DeleteDistributionPermissionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseDeleteDistributionPermissionResponse

func ParseDeleteDistributionPermissionResponse(rsp *http.Response) (*DeleteDistributionPermissionResponse, error)

ParseDeleteDistributionPermissionResponse parses an HTTP response from a DeleteDistributionPermissionWithResponse call

func (DeleteDistributionPermissionResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteDistributionPermissionResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteDistributionPermissionResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteDistributionPermissionResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteDistributionPermissionResponse) Status

Status returns HTTPResponse.Status

func (DeleteDistributionPermissionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteExportedReleaseBundleV1FileResponse

type DeleteExportedReleaseBundleV1FileResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
}

func ParseDeleteExportedReleaseBundleV1FileResponse

func ParseDeleteExportedReleaseBundleV1FileResponse(rsp *http.Response) (*DeleteExportedReleaseBundleV1FileResponse, error)

ParseDeleteExportedReleaseBundleV1FileResponse parses an HTTP response from a DeleteExportedReleaseBundleV1FileWithResponse call

func (DeleteExportedReleaseBundleV1FileResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteExportedReleaseBundleV1FileResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteExportedReleaseBundleV1FileResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteExportedReleaseBundleV1FileResponse) Status

Status returns HTTPResponse.Status

func (DeleteExportedReleaseBundleV1FileResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteGpgKeyByAliasResponse

type DeleteGpgKeyByAliasResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseDeleteGpgKeyByAliasResponse

func ParseDeleteGpgKeyByAliasResponse(rsp *http.Response) (*DeleteGpgKeyByAliasResponse, error)

ParseDeleteGpgKeyByAliasResponse parses an HTTP response from a DeleteGpgKeyByAliasWithResponse call

func (DeleteGpgKeyByAliasResponse) ContentType

func (r DeleteGpgKeyByAliasResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteGpgKeyByAliasResponse) GetBody

func (r DeleteGpgKeyByAliasResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteGpgKeyByAliasResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteGpgKeyByAliasResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteGpgKeyByAliasResponse) Status

Status returns HTTPResponse.Status

func (DeleteGpgKeyByAliasResponse) StatusCode

func (r DeleteGpgKeyByAliasResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteReleaseBundleRequest

type DeleteReleaseBundleRequest struct {
	// DistributionRules Optional within this object. Rules selecting the edges; an edge matching any rule is selected. Only peers paired as edges can match.
	DistributionRules *[]DistributionRule `json:"distribution_rules,omitempty"`

	// DryRun Optional within this object. When true the response lists the edges that would be affected and nothing changes. Defaults to false.
	DryRun *bool `json:"dry_run,omitempty"`

	// OnSuccess Optional within this object. `delete` also deletes the version here once every selected edge confirmed; `keep`, the default, leaves it.
	OnSuccess *DeleteReleaseBundleRequestOnSuccess `json:"on_success,omitempty"`
}

DeleteReleaseBundleRequest Which edges should remove a distributed version.

type DeleteReleaseBundleRequestOnSuccess

type DeleteReleaseBundleRequestOnSuccess string

DeleteReleaseBundleRequestOnSuccess Optional within this object. `delete` also deletes the version here once every selected edge confirmed; `keep`, the default, leaves it.

const (
	DeleteReleaseBundleRequestOnSuccessDelete DeleteReleaseBundleRequestOnSuccess = "delete"
	DeleteReleaseBundleRequestOnSuccessKeep   DeleteReleaseBundleRequestOnSuccess = "keep"
)

Defines values for DeleteReleaseBundleRequestOnSuccess.

func (DeleteReleaseBundleRequestOnSuccess) Valid

Valid indicates whether the value is a known member of the DeleteReleaseBundleRequestOnSuccess enum.

type DeleteReleaseBundleV1VersionFromDistributionEdgesJSONRequestBody

type DeleteReleaseBundleV1VersionFromDistributionEdgesJSONRequestBody = DeleteReleaseBundleRequest

DeleteReleaseBundleV1VersionFromDistributionEdgesJSONRequestBody defines body for DeleteReleaseBundleV1VersionFromDistributionEdges for application/json ContentType.

type DeleteReleaseBundleV1VersionFromDistributionEdgesResponse

type DeleteReleaseBundleV1VersionFromDistributionEdgesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DistributionResponse
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *DistributionResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseDeleteReleaseBundleV1VersionFromDistributionEdgesResponse

func ParseDeleteReleaseBundleV1VersionFromDistributionEdgesResponse(rsp *http.Response) (*DeleteReleaseBundleV1VersionFromDistributionEdgesResponse, error)

ParseDeleteReleaseBundleV1VersionFromDistributionEdgesResponse parses an HTTP response from a DeleteReleaseBundleV1VersionFromDistributionEdgesWithResponse call

func (DeleteReleaseBundleV1VersionFromDistributionEdgesResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteReleaseBundleV1VersionFromDistributionEdgesResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteReleaseBundleV1VersionFromDistributionEdgesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteReleaseBundleV1VersionFromDistributionEdgesResponse) GetJSON202

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (DeleteReleaseBundleV1VersionFromDistributionEdgesResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteReleaseBundleV1VersionFromDistributionEdgesResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteReleaseBundleV1VersionFromDistributionEdgesResponse) Status

Status returns HTTPResponse.Status

func (DeleteReleaseBundleV1VersionFromDistributionEdgesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteReleaseBundleV1VersionParams

type DeleteReleaseBundleV1VersionParams struct {
	// Archive Optional query parameter. Accepted and ignored; the version is deleted either way.
	Archive *bool `form:"archive,omitempty" json:"archive,omitempty"`
}

DeleteReleaseBundleV1VersionParams defines parameters for DeleteReleaseBundleV1Version.

type DeleteReleaseBundleV1VersionResponse

type DeleteReleaseBundleV1VersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseDeleteReleaseBundleV1VersionResponse

func ParseDeleteReleaseBundleV1VersionResponse(rsp *http.Response) (*DeleteReleaseBundleV1VersionResponse, error)

ParseDeleteReleaseBundleV1VersionResponse parses an HTTP response from a DeleteReleaseBundleV1VersionWithResponse call

func (DeleteReleaseBundleV1VersionResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteReleaseBundleV1VersionResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteReleaseBundleV1VersionResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteReleaseBundleV1VersionResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteReleaseBundleV1VersionResponse) Status

Status returns HTTPResponse.Status

func (DeleteReleaseBundleV1VersionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteSupportBundleResponse

type DeleteSupportBundleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseDeleteSupportBundleResponse

func ParseDeleteSupportBundleResponse(rsp *http.Response) (*DeleteSupportBundleResponse, error)

ParseDeleteSupportBundleResponse parses an HTTP response from a DeleteSupportBundleWithResponse call

func (DeleteSupportBundleResponse) ContentType

func (r DeleteSupportBundleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteSupportBundleResponse) GetBody

func (r DeleteSupportBundleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteSupportBundleResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteSupportBundleResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteSupportBundleResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteSupportBundleResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DeleteSupportBundleResponse) Status

Status returns HTTPResponse.Status

func (DeleteSupportBundleResponse) StatusCode

func (r DeleteSupportBundleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DestinationPermission

type DestinationPermission struct {
	// DistributionDestinations Optional within this object. The edges this permission covers; an edge is covered when it matches any entry.
	DistributionDestinations *[]struct {
		// CityName Optional within this object. City the edge declared when it was paired, or `*`.
		CityName *string `json:"cityName,omitempty"`

		// CountryCodes Optional within this object. ISO 3166 country codes the edge declared, or `*`.
		CountryCodes *[]string `json:"countryCodes,omitempty"`

		// SiteName Optional within this object. Name of the edge peer, or `*` for every edge.
		SiteName *string `json:"siteName,omitempty"`
	} `json:"distribution_destinations,omitempty"`

	// Id Optional within this object. Server-owned identifier of the permission; ignored on input.
	Id *string `json:"id,omitempty"`

	// Name Optional within this object. Name of the permission; must match the path when sent.
	Name *string `json:"name,omitempty"`

	// Principals Optional within this object. The users and groups granted actions on the destinations.
	Principals *struct {
		// Groups Optional within this object. Map from group name to the actions its members may take: `distribute`, `delete` or both.
		Groups *map[string][]DestinationPermissionPrincipalsGroups `json:"groups,omitempty"`

		// Users Optional within this object. Map from username to the actions that user may take: `distribute`, `delete` or both.
		Users *map[string][]DestinationPermissionPrincipalsUsers `json:"users,omitempty"`
	} `json:"principals,omitempty"`

	// ResourceType Optional within this object. Always DESTINATION.
	ResourceType *DestinationPermissionResourceType `json:"resourceType,omitempty"`
}

DestinationPermission Who may distribute release bundles to, or delete them from, a set of edges.

type DestinationPermissionPrincipalsGroups

type DestinationPermissionPrincipalsGroups string

DestinationPermissionPrincipalsGroups defines model for DestinationPermission.Principals.Groups.

const (
	DestinationPermissionPrincipalsGroupsDelete     DestinationPermissionPrincipalsGroups = "delete"
	DestinationPermissionPrincipalsGroupsDistribute DestinationPermissionPrincipalsGroups = "distribute"
)

Defines values for DestinationPermissionPrincipalsGroups.

func (DestinationPermissionPrincipalsGroups) Valid

Valid indicates whether the value is a known member of the DestinationPermissionPrincipalsGroups enum.

type DestinationPermissionPrincipalsUsers

type DestinationPermissionPrincipalsUsers string

DestinationPermissionPrincipalsUsers defines model for DestinationPermission.Principals.Users.

const (
	DestinationPermissionPrincipalsUsersDelete     DestinationPermissionPrincipalsUsers = "delete"
	DestinationPermissionPrincipalsUsersDistribute DestinationPermissionPrincipalsUsers = "distribute"
)

Defines values for DestinationPermissionPrincipalsUsers.

func (DestinationPermissionPrincipalsUsers) Valid

Valid indicates whether the value is a known member of the DestinationPermissionPrincipalsUsers enum.

type DestinationPermissionResourceType

type DestinationPermissionResourceType string

DestinationPermissionResourceType Optional within this object. Always DESTINATION.

const (
	DESTINATION DestinationPermissionResourceType = "DESTINATION"
)

Defines values for DestinationPermissionResourceType.

func (DestinationPermissionResourceType) Valid

Valid indicates whether the value is a known member of the DestinationPermissionResourceType enum.

type DistributeByLastDaysJSONRequestBody

type DistributeByLastDaysJSONRequestBody = DistributeByLastDaysRequest

DistributeByLastDaysJSONRequestBody defines body for DistributeByLastDays for application/json ContentType.

type DistributeByLastDaysRequest

type DistributeByLastDaysRequest struct {
	// AutoCreateMissingRepositories Optional within this object. When true the edge creates any target repository it lacks. Defaults to false.
	AutoCreateMissingRepositories *bool `json:"autoCreateMissingRepositories,omitempty"`

	// Date Required within this object. Last day of the window, as YYYY-MM-DD.
	Date string `json:"date"`

	// EdgeName Required within this object. Name of the edge peer to redistribute to.
	EdgeName string `json:"edgeName"`

	// LastNumberOfDays Required within this object. Window length in days, counting back from date; from 1 to the configured maximum, 7 by default.
	LastNumberOfDays int `json:"lastNumberOfDays"`

	// Priority Optional within this object. Priority of the distributions started. Defaults to medium.
	Priority *DistributionPriorityLevel `json:"priority,omitempty"`
}

DistributeByLastDaysRequest A window of days and the edge to redistribute it to.

type DistributeByLastDaysResponse

type DistributeByLastDaysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DistributeByLastDaysResult
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseDistributeByLastDaysResponse

func ParseDistributeByLastDaysResponse(rsp *http.Response) (*DistributeByLastDaysResponse, error)

ParseDistributeByLastDaysResponse parses an HTTP response from a DistributeByLastDaysWithResponse call

func (DistributeByLastDaysResponse) ContentType

func (r DistributeByLastDaysResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DistributeByLastDaysResponse) GetBody

func (r DistributeByLastDaysResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DistributeByLastDaysResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DistributeByLastDaysResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DistributeByLastDaysResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DistributeByLastDaysResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DistributeByLastDaysResponse) Status

Status returns HTTPResponse.Status

func (DistributeByLastDaysResponse) StatusCode

func (r DistributeByLastDaysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DistributeByLastDaysResult

type DistributeByLastDaysResult struct {
	// TotalTriggered Optional within this object. Number of distributions started.
	TotalTriggered *int `json:"totalTriggered,omitempty"`

	// Triggered Optional within this object. The versions redistributed, one entry each.
	Triggered *[]string `json:"triggered,omitempty"`
}

DistributeByLastDaysResult The redistributions started.

type DistributeDynamicReleaseBundleV1JSONRequestBody

type DistributeDynamicReleaseBundleV1JSONRequestBody = DynamicDistributionRequest

DistributeDynamicReleaseBundleV1JSONRequestBody defines body for DistributeDynamicReleaseBundleV1 for application/json ContentType.

type DistributeDynamicReleaseBundleV1Params

type DistributeDynamicReleaseBundleV1Params struct {
	// XGPGPASSPHRASE Optional header parameter. Passphrase protecting the signing key's private part. Needed only when the key has one; never logged or stored.
	XGPGPASSPHRASE *string `json:"X-GPG-PASSPHRASE,omitempty"`
}

DistributeDynamicReleaseBundleV1Params defines parameters for DistributeDynamicReleaseBundleV1.

type DistributeDynamicReleaseBundleV1Response

type DistributeDynamicReleaseBundleV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *DynamicDistributionResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseDistributeDynamicReleaseBundleV1Response

func ParseDistributeDynamicReleaseBundleV1Response(rsp *http.Response) (*DistributeDynamicReleaseBundleV1Response, error)

ParseDistributeDynamicReleaseBundleV1Response parses an HTTP response from a DistributeDynamicReleaseBundleV1WithResponse call

func (DistributeDynamicReleaseBundleV1Response) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DistributeDynamicReleaseBundleV1Response) GetBody

GetBody returns the raw response body bytes

func (DistributeDynamicReleaseBundleV1Response) GetJSON202

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (DistributeDynamicReleaseBundleV1Response) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DistributeDynamicReleaseBundleV1Response) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DistributeDynamicReleaseBundleV1Response) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DistributeDynamicReleaseBundleV1Response) Status

Status returns HTTPResponse.Status

func (DistributeDynamicReleaseBundleV1Response) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DistributeReleaseBundleV1VersionJSONRequestBody

type DistributeReleaseBundleV1VersionJSONRequestBody = DistributionRequest

DistributeReleaseBundleV1VersionJSONRequestBody defines body for DistributeReleaseBundleV1Version for application/json ContentType.

type DistributeReleaseBundleV1VersionResponse

type DistributeReleaseBundleV1VersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DistributionResponse
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *DistributionResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseDistributeReleaseBundleV1VersionResponse

func ParseDistributeReleaseBundleV1VersionResponse(rsp *http.Response) (*DistributeReleaseBundleV1VersionResponse, error)

ParseDistributeReleaseBundleV1VersionResponse parses an HTTP response from a DistributeReleaseBundleV1VersionWithResponse call

func (DistributeReleaseBundleV1VersionResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DistributeReleaseBundleV1VersionResponse) GetBody

GetBody returns the raw response body bytes

func (DistributeReleaseBundleV1VersionResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DistributeReleaseBundleV1VersionResponse) GetJSON202

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (DistributeReleaseBundleV1VersionResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DistributeReleaseBundleV1VersionResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DistributeReleaseBundleV1VersionResponse) Status

Status returns HTTPResponse.Status

func (DistributeReleaseBundleV1VersionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DistributeReleaseBundleV2VersionJSONRequestBody

type DistributeReleaseBundleV2VersionJSONRequestBody = RBv2DistributionRequest

DistributeReleaseBundleV2VersionJSONRequestBody defines body for DistributeReleaseBundleV2Version for application/json ContentType.

type DistributeReleaseBundleV2VersionParams

type DistributeReleaseBundleV2VersionParams struct {
	// RepositoryKey Optional query parameter. For Release Bundles v2, the repository that stores the bundle. Omitted means the project's default release bundle repository.
	RepositoryKey *RepositoryKeyQuery `form:"repository_key,omitempty" json:"repository_key,omitempty"`

	// Project Optional query parameter. Key of the project the bundle belongs to. Omitted means the default project.
	Project *ProjectQuery `form:"project,omitempty" json:"project,omitempty"`

	// XGPGPASSPHRASE Optional header parameter. Passphrase protecting the signing key's private part. Needed only when the key has one; never logged or stored.
	XGPGPASSPHRASE *string `json:"X-GPG-PASSPHRASE,omitempty"`
}

DistributeReleaseBundleV2VersionParams defines parameters for DistributeReleaseBundleV2Version.

type DistributeReleaseBundleV2VersionResponse

type DistributeReleaseBundleV2VersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DistributionResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseDistributeReleaseBundleV2VersionResponse

func ParseDistributeReleaseBundleV2VersionResponse(rsp *http.Response) (*DistributeReleaseBundleV2VersionResponse, error)

ParseDistributeReleaseBundleV2VersionResponse parses an HTTP response from a DistributeReleaseBundleV2VersionWithResponse call

func (DistributeReleaseBundleV2VersionResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DistributeReleaseBundleV2VersionResponse) GetBody

GetBody returns the raw response body bytes

func (DistributeReleaseBundleV2VersionResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DistributeReleaseBundleV2VersionResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DistributeReleaseBundleV2VersionResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DistributeReleaseBundleV2VersionResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (DistributeReleaseBundleV2VersionResponse) GetJSON501

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (DistributeReleaseBundleV2VersionResponse) Status

Status returns HTTPResponse.Status

func (DistributeReleaseBundleV2VersionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DistributionPingResponse

type DistributionPingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *MessageStatusResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseDistributionPingResponse

func ParseDistributionPingResponse(rsp *http.Response) (*DistributionPingResponse, error)

ParseDistributionPingResponse parses an HTTP response from a DistributionPingWithResponse call

func (DistributionPingResponse) ContentType

func (r DistributionPingResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DistributionPingResponse) GetBody

func (r DistributionPingResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DistributionPingResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DistributionPingResponse) GetJSON401

func (r DistributionPingResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DistributionPingResponse) GetJSON500

func (r DistributionPingResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DistributionPingResponse) Status

func (r DistributionPingResponse) Status() string

Status returns HTTPResponse.Status

func (DistributionPingResponse) StatusCode

func (r DistributionPingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DistributionPriorityLevel

type DistributionPriorityLevel string

DistributionPriorityLevel Scheduling priority of a distribution: high work is sent before medium and medium before low. Defaults to medium.

const (
	High   DistributionPriorityLevel = "high"
	Low    DistributionPriorityLevel = "low"
	Medium DistributionPriorityLevel = "medium"
)

Defines values for DistributionPriorityLevel.

func (DistributionPriorityLevel) Valid

func (e DistributionPriorityLevel) Valid() bool

Valid indicates whether the value is a known member of the DistributionPriorityLevel enum.

type DistributionPriorityUpdateRequest

type DistributionPriorityUpdateRequest struct {
	// DistributionRules Optional within this object. Rules whose matching edges take the rule's own priority; other edges keep the base priority.
	DistributionRules *[]DistributionRule `json:"distribution_rules,omitempty"`

	// Priority Optional within this object. New base priority. Omitted leaves it unchanged.
	Priority *DistributionPriorityLevel `json:"priority,omitempty"`
}

DistributionPriorityUpdateRequest New priorities for an in-flight Release Bundle v2 distribution.

type DistributionPriorityUpdateResponse

type DistributionPriorityUpdateResponse struct {
	// DistributionTrackerFriendlyId Optional within this object. Short sequential id of the tracker, for people.
	DistributionTrackerFriendlyId *int64 `json:"distribution_tracker_friendly_id,omitempty"`

	// DistributionTrackerId Optional within this object. Id of the tracker changed.
	DistributionTrackerId *int64 `json:"distribution_tracker_id,omitempty"`

	// Edges Optional within this object. Per-edge outcome.
	Edges *[]EdgePriorityUpdate `json:"edges,omitempty"`

	// Priority Optional within this object. Base priority after the change.
	Priority *DistributionPriorityLevel `json:"priority,omitempty"`

	// ReleaseBundleName Optional within this object. Name of the release bundle.
	ReleaseBundleName *string `json:"release_bundle_name,omitempty"`

	// ReleaseBundleVersion Optional within this object. Version of the release bundle.
	ReleaseBundleVersion *string `json:"release_bundle_version,omitempty"`
}

DistributionPriorityUpdateResponse The outcome of a priority change.

type DistributionPriorityUpdateResult

type DistributionPriorityUpdateResult string

DistributionPriorityUpdateResult Per-edge outcome of a priority change: applied took effect at once, recorded applies to work not yet sent, skipped means the edge had finished, unchanged means the priority already matched.

const (
	Applied   DistributionPriorityUpdateResult = "applied"
	Recorded  DistributionPriorityUpdateResult = "recorded"
	Skipped   DistributionPriorityUpdateResult = "skipped"
	Unchanged DistributionPriorityUpdateResult = "unchanged"
)

Defines values for DistributionPriorityUpdateResult.

func (DistributionPriorityUpdateResult) Valid

Valid indicates whether the value is a known member of the DistributionPriorityUpdateResult enum.

type DistributionProgress

type DistributionProgress struct {
	// DistributedBy Optional within this object. User who started the distribution.
	DistributedBy *string `json:"distributed_by,omitempty"`

	// DistributionId Optional within this object. Id of the tracker.
	DistributionId *int64 `json:"distribution_id,omitempty"`

	// EdgeNodes Optional within this object. One entry per target edge.
	EdgeNodes *[]struct {
		// Name Optional within this object. Name of the edge peer.
		Name *string `json:"name,omitempty"`

		// Priority Optional within this object. Priority in force for this edge.
		Priority *DistributionPriorityLevel `json:"priority,omitempty"`

		// ServiceId Optional within this object. Service id of the edge peer.
		ServiceId *string `json:"service_id,omitempty"`

		// Status Optional within this object. Status of the transfer to this edge, for example In progress, Completed or Failed.
		Status *string `json:"status,omitempty"`
	} `json:"edge_nodes,omitempty"`

	// Priority Optional within this object. Base priority of the distribution.
	Priority *DistributionPriorityLevel `json:"priority,omitempty"`

	// Started Optional within this object. When the distribution started, RFC 3339.
	Started *string `json:"started,omitempty"`

	// Status Optional within this object. Overall status: In progress until every edge finished, then Completed, or Failed when any edge failed.
	Status *string `json:"status,omitempty"`

	// Type Optional within this object. distribute or delete.
	Type *string `json:"type,omitempty"`
}

DistributionProgress One distribution tracker with the progress of each edge.

type DistributionRequest

type DistributionRequest struct {
	// AutoCreateMissingRepositories Optional within this object. When true each edge creates target repositories it lacks; otherwise a missing repository fails that edge. Defaults to false.
	AutoCreateMissingRepositories *bool `json:"auto_create_missing_repositories,omitempty"`

	// DistributionRules Optional within this object. Rules selecting the edges; an edge matching any rule is selected. Only peers paired as edges can match.
	DistributionRules *[]DistributionRule `json:"distribution_rules,omitempty"`

	// DryRun Optional within this object. When true the response lists the selected edges and nothing is sent. Defaults to false.
	DryRun *bool `json:"dry_run,omitempty"`
}

DistributionRequest Which edges should receive a signed version.

type DistributionResponse

type DistributionResponse struct {
	// Id Optional within this object. Id of the distribution tracker; use it with the tracker status operations.
	Id *int64 `json:"id,omitempty"`

	// Sites Optional within this object. The edges selected.
	Sites *[]PlatformServiceInstance `json:"sites,omitempty"`
}

DistributionResponse The tracker created for a distribute or delete request.

type DistributionRule

type DistributionRule struct {
	// CityName Optional within this object. City the edge declared, or `*`.
	CityName *string `json:"city_name,omitempty"`

	// CountryCodes Optional within this object. ISO 3166 country codes the edge declared, or `*`.
	CountryCodes *[]string `json:"country_codes,omitempty"`

	// Priority Optional within this object. Priority for the edges this rule selects; overrides the base priority.
	Priority *DistributionPriorityLevel `json:"priority,omitempty"`

	// SiteName Optional within this object. Name of the edge peer, or `*`.
	SiteName *string `json:"site_name,omitempty"`
}

DistributionRule Selects edges by what each edge peer declared when it was paired. Fields combine with AND; an omitted field or `*` matches any value.

type DistributionStatus

type DistributionStatus struct {
	// CreatedBy Optional within this object. User who created the version.
	CreatedBy *string `json:"created_by,omitempty"`

	// DistributedBy Optional within this object. User who started the distribution.
	DistributedBy *string `json:"distributed_by,omitempty"`

	// DistributionFriendlyId Optional within this object. Short sequential number of the tracker.
	DistributionFriendlyId *int64 `json:"distribution_friendly_id,omitempty"`

	// DistributionId Required within this object. Id of the tracker; the id a distribute or delete call returned.
	DistributionId int64 `json:"distribution_id"`

	// DistributionRules Optional within this object. The rules the targets were selected by.
	DistributionRules *[]DistributionRule `json:"distribution_rules,omitempty"`

	// Duration Optional within this object. Running time in milliseconds.
	Duration *int64 `json:"duration,omitempty"`

	// FinishTime Optional within this object. When it finished, RFC 3339; absent while running.
	FinishTime *time.Time `json:"finish_time,omitempty"`

	// ReleaseBundleName Optional within this object. Name of the bundle.
	ReleaseBundleName *string `json:"release_bundle_name,omitempty"`

	// ReleaseBundleVersion Optional within this object. Version of the bundle.
	ReleaseBundleVersion *string `json:"release_bundle_version,omitempty"`

	// Sites Optional within this object. Progress per target instance.
	Sites *[]struct {
		// DistributedBytes Optional within this object. Bytes transferred so far.
		DistributedBytes *int64 `json:"distributed_bytes,omitempty"`

		// DistributedFiles Optional within this object. Files transferred so far.
		DistributedFiles *int64 `json:"distributed_files,omitempty"`

		// FileErrors Optional within this object. Per-file errors, one string each.
		FileErrors *[]string `json:"file_errors,omitempty"`

		// FilesInProgress Optional within this object. Paths still being transferred.
		FilesInProgress *[]string `json:"files_in_progress,omitempty"`

		// GeneralError Optional within this object. Why the target failed, when it did; empty otherwise.
		GeneralError *string `json:"general_error,omitempty"`

		// Status Optional within this object. Status on this target.
		Status *DistributionStatusSitesStatus `json:"status,omitempty"`

		// TargetArtifactory Optional within this object. The target instance.
		TargetArtifactory *struct {
			// Name Optional within this object. Name of the target as configured.
			Name *string `json:"name,omitempty"`

			// ServiceId Optional within this object. Service id of the target, the peer's instance id in the form `jfrt@<uuid>`.
			ServiceId *string `json:"service_id,omitempty"`

			// Type Optional within this object. Role of the target; always `edge`.
			Type *string `json:"type,omitempty"`
		} `json:"target_artifactory,omitempty"`

		// TotalBytes Optional within this object. Bytes to transfer.
		TotalBytes *int64 `json:"total_bytes,omitempty"`

		// TotalFiles Optional within this object. Files to transfer.
		TotalFiles *int64 `json:"total_files,omitempty"`
	} `json:"sites,omitempty"`

	// StartTime Optional within this object. When the distribution started, RFC 3339.
	StartTime *time.Time `json:"start_time,omitempty"`

	// Status Optional within this object. Overall status, the worst of the targets' statuses.
	Status *DistributionStatusStatus `json:"status,omitempty"`

	// Type Optional within this object. distribute, or delete_release_bundle_version for a remote delete.
	Type *DistributionStatusType `json:"type,omitempty"`
}

DistributionStatus One distribution (or remote delete) of a version and its per-target progress.

type DistributionStatusSitesStatus

type DistributionStatusSitesStatus string

DistributionStatusSitesStatus Optional within this object. Status on this target.

const (
	DistributionStatusSitesStatusCompleted      DistributionStatusSitesStatus = "Completed"
	DistributionStatusSitesStatusFailed         DistributionStatusSitesStatus = "Failed"
	DistributionStatusSitesStatusInProgress     DistributionStatusSitesStatus = "In progress"
	DistributionStatusSitesStatusInQueue        DistributionStatusSitesStatus = "In queue"
	DistributionStatusSitesStatusNotDistributed DistributionStatusSitesStatus = "Not distributed"
)

Defines values for DistributionStatusSitesStatus.

func (DistributionStatusSitesStatus) Valid

Valid indicates whether the value is a known member of the DistributionStatusSitesStatus enum.

type DistributionStatusStatus

type DistributionStatusStatus string

DistributionStatusStatus Optional within this object. Overall status, the worst of the targets' statuses.

const (
	DistributionStatusStatusCompleted      DistributionStatusStatus = "Completed"
	DistributionStatusStatusFailed         DistributionStatusStatus = "Failed"
	DistributionStatusStatusInProgress     DistributionStatusStatus = "In progress"
	DistributionStatusStatusInQueue        DistributionStatusStatus = "In queue"
	DistributionStatusStatusNotDistributed DistributionStatusStatus = "Not distributed"
)

Defines values for DistributionStatusStatus.

func (DistributionStatusStatus) Valid

func (e DistributionStatusStatus) Valid() bool

Valid indicates whether the value is a known member of the DistributionStatusStatus enum.

type DistributionStatusType

type DistributionStatusType string

DistributionStatusType Optional within this object. distribute, or delete_release_bundle_version for a remote delete.

const (
	DistributionStatusTypeDeleteReleaseBundleVersion DistributionStatusType = "delete_release_bundle_version"
	DistributionStatusTypeDistribute                 DistributionStatusType = "distribute"
)

Defines values for DistributionStatusType.

func (DistributionStatusType) Valid

func (e DistributionStatusType) Valid() bool

Valid indicates whether the value is a known member of the DistributionStatusType enum.

type DistributionTokenResponse

type DistributionTokenResponse struct {
	// AccessToken Optional within this object. The access token, a JWT.
	AccessToken *string `json:"access_token,omitempty"`

	// ExpiresIn Optional within this object. Seconds until the access token expires.
	ExpiresIn *int64 `json:"expires_in,omitempty"`

	// RefreshToken Optional within this object. Refresh token, present when a refreshable token was requested.
	RefreshToken *string `json:"refresh_token,omitempty"`

	// Scope Optional within this object. The scope granted.
	Scope *string `json:"scope,omitempty"`

	// TokenType Optional within this object. Always Bearer.
	TokenType *string `json:"token_type,omitempty"`
}

DistributionTokenResponse A token issued by the Distribution token operation.

type DistributionTrackerPath

type DistributionTrackerPath = int64

DistributionTrackerPath defines model for distributionTrackerPath.

type DistributionTrackerSimple

type DistributionTrackerSimple struct {
	// DistributedBy Optional within this object. User who started the distribution.
	DistributedBy *string `json:"distributed_by,omitempty"`

	// DistributionId Optional within this object. Id of the tracker.
	DistributionId *int64 `json:"distribution_id,omitempty"`

	// Priority Optional within this object. Base priority of the distribution.
	Priority *DistributionPriorityLevel `json:"priority,omitempty"`

	// Started Optional within this object. When the distribution started, RFC 3339.
	Started *string `json:"started,omitempty"`

	// Status Optional within this object. Overall status of the distribution.
	Status *string `json:"status,omitempty"`

	// Type Optional within this object. distribute or delete.
	Type *string `json:"type,omitempty"`
}

DistributionTrackerSimple Summary of one distribution tracker.

type DownloadSupportBundleResponse

type DownloadSupportBundleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseDownloadSupportBundleResponse

func ParseDownloadSupportBundleResponse(rsp *http.Response) (*DownloadSupportBundleResponse, error)

ParseDownloadSupportBundleResponse parses an HTTP response from a DownloadSupportBundleWithResponse call

func (DownloadSupportBundleResponse) ContentType

func (r DownloadSupportBundleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DownloadSupportBundleResponse) GetBody

func (r DownloadSupportBundleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DownloadSupportBundleResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DownloadSupportBundleResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DownloadSupportBundleResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DownloadSupportBundleResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (DownloadSupportBundleResponse) Status

Status returns HTTPResponse.Status

func (DownloadSupportBundleResponse) StatusCode

func (r DownloadSupportBundleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DynamicDistributionRequest

type DynamicDistributionRequest struct {
	// DistributionRules Required within this object. Rules selecting the edges; an edge matching any rule is selected. Only peers paired as edges can match.
	DistributionRules []DistributionRule `json:"distribution_rules"`

	// Spec Optional within this object. What the generated bundle contains.
	Spec *struct {
		// ProjectKey Optional within this object. Project the generated bundle belongs to. Omitted means the default project.
		ProjectKey *string `json:"project_key,omitempty"`

		// Queries Optional within this object. AQL queries whose results become the bundle's artifacts, each in the query shape of ReleaseBundleCreation.
		Queries *[]interface{} `json:"queries,omitempty"`
	} `json:"spec,omitempty"`
}

DynamicDistributionRequest The content of a generated bundle and where to send it.

type DynamicDistributionResponse

type DynamicDistributionResponse struct {
	// Id Optional within this object. Id of the distribution tracker; use it with the tracker status operations.
	Id *int64 `json:"id,omitempty"`

	// Name Required within this object. Generated name of the bundle.
	Name string `json:"name"`

	// Sites Optional within this object. The edges selected.
	Sites *[]PlatformServiceInstance `json:"sites,omitempty"`

	// Version Required within this object. Generated version of the bundle.
	Version string `json:"version"`
}

DynamicDistributionResponse The tracker plus the generated bundle name and version.

type EdgeNodesInfo

type EdgeNodesInfo struct {
	// EdgeNodes Optional within this object. One entry per edge.
	EdgeNodes *[]PlatformServiceInstance `json:"edge_nodes,omitempty"`
}

EdgeNodesInfo The edge peers.

type EdgePriorityUpdate

type EdgePriorityUpdate struct {
	// EdgeNodeName Optional within this object. Name of the edge peer.
	EdgeNodeName *string `json:"edge_node_name,omitempty"`

	// EffectivePriority Optional within this object. Priority now in force for this edge.
	EffectivePriority *DistributionPriorityLevel `json:"effective_priority,omitempty"`

	// PreviousPriority Optional within this object. Priority before the change.
	PreviousPriority *DistributionPriorityLevel `json:"previous_priority,omitempty"`

	// Result Optional within this object. What happened for this edge.
	Result *DistributionPriorityUpdateResult `json:"result,omitempty"`

	// Status Optional within this object. Transfer status of this edge when the change was made.
	Status *string `json:"status,omitempty"`
}

EdgePriorityUpdate The outcome of a priority change for one edge.

type ErrorResponse

type ErrorResponse struct {
	// Detail Optional within this object. Extra context such as the bundle or target the error concerns.
	Detail *string `json:"detail,omitempty"`

	// Errors Required within this object. One entry per error.
	Errors []struct {
		// Message Required within this object. Human readable explanation.
		Message string `json:"message"`

		// Status Required within this object. The HTTP status this error maps to.
		Status int `json:"status"`
	} `json:"errors"`

	// Message Required within this object. Human readable explanation of the first error.
	Message string `json:"message"`

	// StatusCode Required within this object. The HTTP status of the response.
	StatusCode int `json:"status_code"`
}

ErrorResponse The Distribution error envelope. status_code and message repeat the first entry of errors.

type ExecuteMaintenanceAction202JSONResponseBody

type ExecuteMaintenanceAction202JSONResponseBody struct {
	// contains filtered or unexported fields
}

ExecuteMaintenanceAction202JSONResponseBody defines parameters for ExecuteMaintenanceAction.

func (ExecuteMaintenanceAction202JSONResponseBody) AsForceStopAllReport

AsForceStopAllReport returns the union data inside the ExecuteMaintenanceAction202JSONResponseBody as a ForceStopAllReport

func (ExecuteMaintenanceAction202JSONResponseBody) AsUnlockStuckReport

AsUnlockStuckReport returns the union data inside the ExecuteMaintenanceAction202JSONResponseBody as a UnlockStuckReport

func (*ExecuteMaintenanceAction202JSONResponseBody) FromForceStopAllReport

FromForceStopAllReport overwrites any union data inside the ExecuteMaintenanceAction202JSONResponseBody as the provided ForceStopAllReport

func (*ExecuteMaintenanceAction202JSONResponseBody) FromUnlockStuckReport

FromUnlockStuckReport overwrites any union data inside the ExecuteMaintenanceAction202JSONResponseBody as the provided UnlockStuckReport

func (ExecuteMaintenanceAction202JSONResponseBody) MarshalJSON

func (*ExecuteMaintenanceAction202JSONResponseBody) MergeForceStopAllReport

MergeForceStopAllReport performs a merge with any union data inside the ExecuteMaintenanceAction202JSONResponseBody, using the provided ForceStopAllReport

func (*ExecuteMaintenanceAction202JSONResponseBody) MergeUnlockStuckReport

MergeUnlockStuckReport performs a merge with any union data inside the ExecuteMaintenanceAction202JSONResponseBody, using the provided UnlockStuckReport

func (*ExecuteMaintenanceAction202JSONResponseBody) UnmarshalJSON

type ExecuteMaintenanceActionParams

type ExecuteMaintenanceActionParams struct {
	// DryRun Optional query parameter. When true, the default, the action is simulated and the report shows what would change. Pass false to perform it.
	DryRun *bool `form:"dryRun,omitempty" json:"dryRun,omitempty"`
}

ExecuteMaintenanceActionParams defines parameters for ExecuteMaintenanceAction.

type ExecuteMaintenanceActionParamsActionType

type ExecuteMaintenanceActionParamsActionType string

ExecuteMaintenanceActionParamsActionType defines parameters for ExecuteMaintenanceAction.

const (
	ExecuteMaintenanceActionParamsActionTypeSTOPALL     ExecuteMaintenanceActionParamsActionType = "STOP_ALL"
	ExecuteMaintenanceActionParamsActionTypeUNLOCKSTUCK ExecuteMaintenanceActionParamsActionType = "UNLOCK_STUCK"
)

Defines values for ExecuteMaintenanceActionParamsActionType.

func (ExecuteMaintenanceActionParamsActionType) Valid

Valid indicates whether the value is a known member of the ExecuteMaintenanceActionParamsActionType enum.

type ExecuteMaintenanceActionResponse

type ExecuteMaintenanceActionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *ExecuteMaintenanceAction202JSONResponseBody
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseExecuteMaintenanceActionResponse

func ParseExecuteMaintenanceActionResponse(rsp *http.Response) (*ExecuteMaintenanceActionResponse, error)

ParseExecuteMaintenanceActionResponse parses an HTTP response from a ExecuteMaintenanceActionWithResponse call

func (ExecuteMaintenanceActionResponse) ContentType

func (r ExecuteMaintenanceActionResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ExecuteMaintenanceActionResponse) GetBody

func (r ExecuteMaintenanceActionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ExecuteMaintenanceActionResponse) GetJSON202

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (ExecuteMaintenanceActionResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ExecuteMaintenanceActionResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ExecuteMaintenanceActionResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ExecuteMaintenanceActionResponse) Status

Status returns HTTPResponse.Status

func (ExecuteMaintenanceActionResponse) StatusCode

func (r ExecuteMaintenanceActionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ExecuteMaintenanceActionTextBody

type ExecuteMaintenanceActionTextBody = string

ExecuteMaintenanceActionTextBody defines parameters for ExecuteMaintenanceAction.

type ExecuteMaintenanceActionTextRequestBody

type ExecuteMaintenanceActionTextRequestBody = ExecuteMaintenanceActionTextBody

ExecuteMaintenanceActionTextRequestBody defines body for ExecuteMaintenanceAction for text/plain ContentType.

type ExportReleaseBundleV1VersionParams

type ExportReleaseBundleV1VersionParams struct {
	// XGPGPASSPHRASE Optional header parameter. Passphrase protecting the signing key's private part. Needed only when the key has one; never logged or stored.
	XGPGPASSPHRASE *string `json:"X-GPG-PASSPHRASE,omitempty"`
}

ExportReleaseBundleV1VersionParams defines parameters for ExportReleaseBundleV1Version.

type ExportReleaseBundleV1VersionResponse

type ExportReleaseBundleV1VersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
}

func ParseExportReleaseBundleV1VersionResponse

func ParseExportReleaseBundleV1VersionResponse(rsp *http.Response) (*ExportReleaseBundleV1VersionResponse, error)

ParseExportReleaseBundleV1VersionResponse parses an HTTP response from a ExportReleaseBundleV1VersionWithResponse call

func (ExportReleaseBundleV1VersionResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ExportReleaseBundleV1VersionResponse) GetBody

GetBody returns the raw response body bytes

func (ExportReleaseBundleV1VersionResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ExportReleaseBundleV1VersionResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ExportReleaseBundleV1VersionResponse) Status

Status returns HTTPResponse.Status

func (ExportReleaseBundleV1VersionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ForceStopAllReport

type ForceStopAllReport struct {
	// TasksQueueFlushed Optional within this object. True when the pending work queue was emptied; false in a dry run.
	TasksQueueFlushed *bool `json:"tasksQueueFlushed,omitempty"`

	// TrackersDbInfo Optional within this object. How many records were, or would be, stopped.
	TrackersDbInfo *struct {
		// AffectedEdgeTrackerArtifacts Optional within this object. Per-artifact transfer records stopped.
		AffectedEdgeTrackerArtifacts *int `json:"affectedEdgeTrackerArtifacts,omitempty"`

		// AffectedEdgeTrackers Optional within this object. Per-edge transfer records stopped.
		AffectedEdgeTrackers *int `json:"affectedEdgeTrackers,omitempty"`

		// AffectedTrackers Optional within this object. Distribution trackers stopped.
		AffectedTrackers *int `json:"affectedTrackers,omitempty"`
	} `json:"trackersDbInfo,omitempty"`
}

ForceStopAllReport What STOP_ALL affected, or would affect in a dry run.

type GenerateMaintenanceExecutionTokenParamsActionType

type GenerateMaintenanceExecutionTokenParamsActionType string

GenerateMaintenanceExecutionTokenParamsActionType defines parameters for GenerateMaintenanceExecutionToken.

const (
	GenerateMaintenanceExecutionTokenParamsActionTypeSTOPALL     GenerateMaintenanceExecutionTokenParamsActionType = "STOP_ALL"
	GenerateMaintenanceExecutionTokenParamsActionTypeUNLOCKSTUCK GenerateMaintenanceExecutionTokenParamsActionType = "UNLOCK_STUCK"
)

Defines values for GenerateMaintenanceExecutionTokenParamsActionType.

func (GenerateMaintenanceExecutionTokenParamsActionType) Valid

Valid indicates whether the value is a known member of the GenerateMaintenanceExecutionTokenParamsActionType enum.

type GenerateMaintenanceExecutionTokenResponse

type GenerateMaintenanceExecutionTokenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Token Optional within this object. Single-use token, valid for 3 minutes, to send as the body of the execute operation.
		Token *string `json:"token,omitempty"`
	}
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseGenerateMaintenanceExecutionTokenResponse

func ParseGenerateMaintenanceExecutionTokenResponse(rsp *http.Response) (*GenerateMaintenanceExecutionTokenResponse, error)

ParseGenerateMaintenanceExecutionTokenResponse parses an HTTP response from a GenerateMaintenanceExecutionTokenWithResponse call

func (GenerateMaintenanceExecutionTokenResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GenerateMaintenanceExecutionTokenResponse) GetBody

GetBody returns the raw response body bytes

func (GenerateMaintenanceExecutionTokenResponse) GetJSON200

func (r GenerateMaintenanceExecutionTokenResponse) GetJSON200() *struct {
	// Token Optional within this object. Single-use token, valid for 3 minutes, to send as the body of the execute operation.
	Token *string `json:"token,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GenerateMaintenanceExecutionTokenResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GenerateMaintenanceExecutionTokenResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GenerateMaintenanceExecutionTokenResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GenerateMaintenanceExecutionTokenResponse) Status

Status returns HTTPResponse.Status

func (GenerateMaintenanceExecutionTokenResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetAllBundlesParams

type GetAllBundlesParams struct {
	// StartPos Optional query parameter. Zero-based offset into the list, for paging. Defaults to 0.
	StartPos *int `form:"start_pos,omitempty" json:"start_pos,omitempty"`
}

GetAllBundlesParams defines parameters for GetAllBundles.

type GetAllBundlesResponse

type GetAllBundlesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]struct {
		// Name Optional within this object. Name of the bundle.
		Name *string `json:"name,omitempty"`

		// Status Optional within this object. State of the version.
		Status *string `json:"status,omitempty"`

		// Version Optional within this object. Version within the name.
		Version *string `json:"version,omitempty"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
}

func ParseGetAllBundlesResponse

func ParseGetAllBundlesResponse(rsp *http.Response) (*GetAllBundlesResponse, error)

ParseGetAllBundlesResponse parses an HTTP response from a GetAllBundlesWithResponse call

func (GetAllBundlesResponse) ContentType

func (r GetAllBundlesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAllBundlesResponse) GetBody

func (r GetAllBundlesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAllBundlesResponse) GetJSON200

func (r GetAllBundlesResponse) GetJSON200() *[]struct {
	// Name Optional within this object. Name of the bundle.
	Name *string `json:"name,omitempty"`

	// Status Optional within this object. State of the version.
	Status *string `json:"status,omitempty"`

	// Version Optional within this object. Version within the name.
	Version *string `json:"version,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAllBundlesResponse) GetJSON401

func (r GetAllBundlesResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetAllBundlesResponse) Status

func (r GetAllBundlesResponse) Status() string

Status returns HTTPResponse.Status

func (GetAllBundlesResponse) StatusCode

func (r GetAllBundlesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAllDistributionPermissionsResponse

type GetAllDistributionPermissionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]DestinationPermission
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
}

func ParseGetAllDistributionPermissionsResponse

func ParseGetAllDistributionPermissionsResponse(rsp *http.Response) (*GetAllDistributionPermissionsResponse, error)

ParseGetAllDistributionPermissionsResponse parses an HTTP response from a GetAllDistributionPermissionsWithResponse call

func (GetAllDistributionPermissionsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAllDistributionPermissionsResponse) GetBody

GetBody returns the raw response body bytes

func (GetAllDistributionPermissionsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAllDistributionPermissionsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetAllDistributionPermissionsResponse) Status

Status returns HTTPResponse.Status

func (GetAllDistributionPermissionsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetAllGpgKeyAliasesResponse

type GetAllGpgKeyAliasesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]GpgKeyAlias
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
}

func ParseGetAllGpgKeyAliasesResponse

func ParseGetAllGpgKeyAliasesResponse(rsp *http.Response) (*GetAllGpgKeyAliasesResponse, error)

ParseGetAllGpgKeyAliasesResponse parses an HTTP response from a GetAllGpgKeyAliasesWithResponse call

func (GetAllGpgKeyAliasesResponse) ContentType

func (r GetAllGpgKeyAliasesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAllGpgKeyAliasesResponse) GetBody

func (r GetAllGpgKeyAliasesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAllGpgKeyAliasesResponse) GetJSON200

func (r GetAllGpgKeyAliasesResponse) GetJSON200() *[]GpgKeyAlias

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAllGpgKeyAliasesResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetAllGpgKeyAliasesResponse) Status

Status returns HTTPResponse.Status

func (GetAllGpgKeyAliasesResponse) StatusCode

func (r GetAllGpgKeyAliasesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDistributionEdgeNodesParams

type GetDistributionEdgeNodesParams struct {
	// Limit Optional query parameter. Maximum number of edges to return. Omitted returns all.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// IncludeSourceArtifactory Optional query parameter. When true the list also contains this instance as the source. Defaults to false.
	IncludeSourceArtifactory *bool `form:"include_source_artifactory,omitempty" json:"include_source_artifactory,omitempty"`
}

GetDistributionEdgeNodesParams defines parameters for GetDistributionEdgeNodes.

type GetDistributionEdgeNodesResponse

type GetDistributionEdgeNodesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *EdgeNodesInfo
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
}

func ParseGetDistributionEdgeNodesResponse

func ParseGetDistributionEdgeNodesResponse(rsp *http.Response) (*GetDistributionEdgeNodesResponse, error)

ParseGetDistributionEdgeNodesResponse parses an HTTP response from a GetDistributionEdgeNodesWithResponse call

func (GetDistributionEdgeNodesResponse) ContentType

func (r GetDistributionEdgeNodesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDistributionEdgeNodesResponse) GetBody

func (r GetDistributionEdgeNodesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetDistributionEdgeNodesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDistributionEdgeNodesResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetDistributionEdgeNodesResponse) Status

Status returns HTTPResponse.Status

func (GetDistributionEdgeNodesResponse) StatusCode

func (r GetDistributionEdgeNodesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDistributionPermissionByNameResponse

type GetDistributionPermissionByNameResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DestinationPermission
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseGetDistributionPermissionByNameResponse

func ParseGetDistributionPermissionByNameResponse(rsp *http.Response) (*GetDistributionPermissionByNameResponse, error)

ParseGetDistributionPermissionByNameResponse parses an HTTP response from a GetDistributionPermissionByNameWithResponse call

func (GetDistributionPermissionByNameResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDistributionPermissionByNameResponse) GetBody

GetBody returns the raw response body bytes

func (GetDistributionPermissionByNameResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDistributionPermissionByNameResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetDistributionPermissionByNameResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetDistributionPermissionByNameResponse) Status

Status returns HTTPResponse.Status

func (GetDistributionPermissionByNameResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetDistributionStatusDetailsByReleaseBundleV1NameResponse

type GetDistributionStatusDetailsByReleaseBundleV1NameResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]DistributionStatus
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
}

func ParseGetDistributionStatusDetailsByReleaseBundleV1NameResponse

func ParseGetDistributionStatusDetailsByReleaseBundleV1NameResponse(rsp *http.Response) (*GetDistributionStatusDetailsByReleaseBundleV1NameResponse, error)

ParseGetDistributionStatusDetailsByReleaseBundleV1NameResponse parses an HTTP response from a GetDistributionStatusDetailsByReleaseBundleV1NameWithResponse call

func (GetDistributionStatusDetailsByReleaseBundleV1NameResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDistributionStatusDetailsByReleaseBundleV1NameResponse) GetBody

GetBody returns the raw response body bytes

func (GetDistributionStatusDetailsByReleaseBundleV1NameResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDistributionStatusDetailsByReleaseBundleV1NameResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetDistributionStatusDetailsByReleaseBundleV1NameResponse) Status

Status returns HTTPResponse.Status

func (GetDistributionStatusDetailsByReleaseBundleV1NameResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetDistributionStatusDetailsByReleaseBundleV1TrackerIdResponse

type GetDistributionStatusDetailsByReleaseBundleV1TrackerIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DistributionProgress
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
}

func ParseGetDistributionStatusDetailsByReleaseBundleV1TrackerIdResponse

func ParseGetDistributionStatusDetailsByReleaseBundleV1TrackerIdResponse(rsp *http.Response) (*GetDistributionStatusDetailsByReleaseBundleV1TrackerIdResponse, error)

ParseGetDistributionStatusDetailsByReleaseBundleV1TrackerIdResponse parses an HTTP response from a GetDistributionStatusDetailsByReleaseBundleV1TrackerIdWithResponse call

func (GetDistributionStatusDetailsByReleaseBundleV1TrackerIdResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDistributionStatusDetailsByReleaseBundleV1TrackerIdResponse) GetBody

GetBody returns the raw response body bytes

func (GetDistributionStatusDetailsByReleaseBundleV1TrackerIdResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDistributionStatusDetailsByReleaseBundleV1TrackerIdResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetDistributionStatusDetailsByReleaseBundleV1TrackerIdResponse) Status

Status returns HTTPResponse.Status

func (GetDistributionStatusDetailsByReleaseBundleV1TrackerIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetDistributionStatusDetailsByReleaseBundleV1VersionResponse

type GetDistributionStatusDetailsByReleaseBundleV1VersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]DistributionStatus
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
}

func ParseGetDistributionStatusDetailsByReleaseBundleV1VersionResponse

func ParseGetDistributionStatusDetailsByReleaseBundleV1VersionResponse(rsp *http.Response) (*GetDistributionStatusDetailsByReleaseBundleV1VersionResponse, error)

ParseGetDistributionStatusDetailsByReleaseBundleV1VersionResponse parses an HTTP response from a GetDistributionStatusDetailsByReleaseBundleV1VersionWithResponse call

func (GetDistributionStatusDetailsByReleaseBundleV1VersionResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDistributionStatusDetailsByReleaseBundleV1VersionResponse) GetBody

GetBody returns the raw response body bytes

func (GetDistributionStatusDetailsByReleaseBundleV1VersionResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDistributionStatusDetailsByReleaseBundleV1VersionResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetDistributionStatusDetailsByReleaseBundleV1VersionResponse) Status

Status returns HTTPResponse.Status

func (GetDistributionStatusDetailsByReleaseBundleV1VersionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetDistributionStatusDetailsByTrackerIdResponse

type GetDistributionStatusDetailsByTrackerIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DistributionProgress
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseGetDistributionStatusDetailsByTrackerIdResponse

func ParseGetDistributionStatusDetailsByTrackerIdResponse(rsp *http.Response) (*GetDistributionStatusDetailsByTrackerIdResponse, error)

ParseGetDistributionStatusDetailsByTrackerIdResponse parses an HTTP response from a GetDistributionStatusDetailsByTrackerIdWithResponse call

func (GetDistributionStatusDetailsByTrackerIdResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDistributionStatusDetailsByTrackerIdResponse) GetBody

GetBody returns the raw response body bytes

func (GetDistributionStatusDetailsByTrackerIdResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDistributionStatusDetailsByTrackerIdResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetDistributionStatusDetailsByTrackerIdResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetDistributionStatusDetailsByTrackerIdResponse) GetJSON501

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (GetDistributionStatusDetailsByTrackerIdResponse) Status

Status returns HTTPResponse.Status

func (GetDistributionStatusDetailsByTrackerIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetDistributionStatusDetailsResponse

type GetDistributionStatusDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]DistributionStatus
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
}

func ParseGetDistributionStatusDetailsResponse

func ParseGetDistributionStatusDetailsResponse(rsp *http.Response) (*GetDistributionStatusDetailsResponse, error)

ParseGetDistributionStatusDetailsResponse parses an HTTP response from a GetDistributionStatusDetailsWithResponse call

func (GetDistributionStatusDetailsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDistributionStatusDetailsResponse) GetBody

GetBody returns the raw response body bytes

func (GetDistributionStatusDetailsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDistributionStatusDetailsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetDistributionStatusDetailsResponse) Status

Status returns HTTPResponse.Status

func (GetDistributionStatusDetailsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetDistributionSystemInfoResponse

type GetDistributionSystemInfoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SystemInfo
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
}

func ParseGetDistributionSystemInfoResponse

func ParseGetDistributionSystemInfoResponse(rsp *http.Response) (*GetDistributionSystemInfoResponse, error)

ParseGetDistributionSystemInfoResponse parses an HTTP response from a GetDistributionSystemInfoWithResponse call

func (GetDistributionSystemInfoResponse) ContentType

func (r GetDistributionSystemInfoResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDistributionSystemInfoResponse) GetBody

GetBody returns the raw response body bytes

func (GetDistributionSystemInfoResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDistributionSystemInfoResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetDistributionSystemInfoResponse) Status

Status returns HTTPResponse.Status

func (GetDistributionSystemInfoResponse) StatusCode

func (r GetDistributionSystemInfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDistributionSystemSettingsResponse

type GetDistributionSystemSettingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SystemSettings
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseGetDistributionSystemSettingsResponse

func ParseGetDistributionSystemSettingsResponse(rsp *http.Response) (*GetDistributionSystemSettingsResponse, error)

ParseGetDistributionSystemSettingsResponse parses an HTTP response from a GetDistributionSystemSettingsWithResponse call

func (GetDistributionSystemSettingsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDistributionSystemSettingsResponse) GetBody

GetBody returns the raw response body bytes

func (GetDistributionSystemSettingsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDistributionSystemSettingsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetDistributionSystemSettingsResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetDistributionSystemSettingsResponse) Status

Status returns HTTPResponse.Status

func (GetDistributionSystemSettingsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetExportedReleaseBundleV1Status200JSONResponseBodyStatus

type GetExportedReleaseBundleV1Status200JSONResponseBodyStatus string

GetExportedReleaseBundleV1Status200JSONResponseBodyStatus defines parameters for GetExportedReleaseBundleV1Status.

const (
	GetExportedReleaseBundleV1Status200JSONResponseBodyStatusCOMPLETED   GetExportedReleaseBundleV1Status200JSONResponseBodyStatus = "COMPLETED"
	GetExportedReleaseBundleV1Status200JSONResponseBodyStatusFAILED      GetExportedReleaseBundleV1Status200JSONResponseBodyStatus = "FAILED"
	GetExportedReleaseBundleV1Status200JSONResponseBodyStatusINPROGRESS  GetExportedReleaseBundleV1Status200JSONResponseBodyStatus = "IN_PROGRESS"
	GetExportedReleaseBundleV1Status200JSONResponseBodyStatusNOTEXPORTED GetExportedReleaseBundleV1Status200JSONResponseBodyStatus = "NOT_EXPORTED"
)

Defines values for GetExportedReleaseBundleV1Status200JSONResponseBodyStatus.

func (GetExportedReleaseBundleV1Status200JSONResponseBodyStatus) Valid

Valid indicates whether the value is a known member of the GetExportedReleaseBundleV1Status200JSONResponseBodyStatus enum.

type GetExportedReleaseBundleV1StatusResponse

type GetExportedReleaseBundleV1StatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Status Optional within this object. NOT_EXPORTED, IN_PROGRESS, COMPLETED or FAILED.
		Status *GetExportedReleaseBundleV1Status200JSONResponseBodyStatus `json:"status,omitempty"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
}

func ParseGetExportedReleaseBundleV1StatusResponse

func ParseGetExportedReleaseBundleV1StatusResponse(rsp *http.Response) (*GetExportedReleaseBundleV1StatusResponse, error)

ParseGetExportedReleaseBundleV1StatusResponse parses an HTTP response from a GetExportedReleaseBundleV1StatusWithResponse call

func (GetExportedReleaseBundleV1StatusResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetExportedReleaseBundleV1StatusResponse) GetBody

GetBody returns the raw response body bytes

func (GetExportedReleaseBundleV1StatusResponse) GetJSON200

func (r GetExportedReleaseBundleV1StatusResponse) GetJSON200() *struct {
	// Status Optional within this object. NOT_EXPORTED, IN_PROGRESS, COMPLETED or FAILED.
	Status *GetExportedReleaseBundleV1Status200JSONResponseBodyStatus `json:"status,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetExportedReleaseBundleV1StatusResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetExportedReleaseBundleV1StatusResponse) Status

Status returns HTTPResponse.Status

func (GetExportedReleaseBundleV1StatusResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetGpgPublicKeyByAliasResponse

type GetGpgPublicKeyByAliasResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GpgKey
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseGetGpgPublicKeyByAliasResponse

func ParseGetGpgPublicKeyByAliasResponse(rsp *http.Response) (*GetGpgPublicKeyByAliasResponse, error)

ParseGetGpgPublicKeyByAliasResponse parses an HTTP response from a GetGpgPublicKeyByAliasWithResponse call

func (GetGpgPublicKeyByAliasResponse) ContentType

func (r GetGpgPublicKeyByAliasResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetGpgPublicKeyByAliasResponse) GetBody

func (r GetGpgPublicKeyByAliasResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetGpgPublicKeyByAliasResponse) GetJSON200

func (r GetGpgPublicKeyByAliasResponse) GetJSON200() *GpgKey

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetGpgPublicKeyByAliasResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetGpgPublicKeyByAliasResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetGpgPublicKeyByAliasResponse) Status

Status returns HTTPResponse.Status

func (GetGpgPublicKeyByAliasResponse) StatusCode

func (r GetGpgPublicKeyByAliasResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetGpgSigningKeyResponse

type GetGpgSigningKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GpgKey
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
}

func ParseGetGpgSigningKeyResponse

func ParseGetGpgSigningKeyResponse(rsp *http.Response) (*GetGpgSigningKeyResponse, error)

ParseGetGpgSigningKeyResponse parses an HTTP response from a GetGpgSigningKeyWithResponse call

func (GetGpgSigningKeyResponse) ContentType

func (r GetGpgSigningKeyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetGpgSigningKeyResponse) GetBody

func (r GetGpgSigningKeyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetGpgSigningKeyResponse) GetJSON200

func (r GetGpgSigningKeyResponse) GetJSON200() *GpgKey

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetGpgSigningKeyResponse) GetJSON401

func (r GetGpgSigningKeyResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetGpgSigningKeyResponse) Status

func (r GetGpgSigningKeyResponse) Status() string

Status returns HTTPResponse.Status

func (GetGpgSigningKeyResponse) StatusCode

func (r GetGpgSigningKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLatestReleaseBundleV1VersionResponse

type GetLatestReleaseBundleV1VersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ReleaseBundleV1Version
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseGetLatestReleaseBundleV1VersionResponse

func ParseGetLatestReleaseBundleV1VersionResponse(rsp *http.Response) (*GetLatestReleaseBundleV1VersionResponse, error)

ParseGetLatestReleaseBundleV1VersionResponse parses an HTTP response from a GetLatestReleaseBundleV1VersionWithResponse call

func (GetLatestReleaseBundleV1VersionResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetLatestReleaseBundleV1VersionResponse) GetBody

GetBody returns the raw response body bytes

func (GetLatestReleaseBundleV1VersionResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetLatestReleaseBundleV1VersionResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetLatestReleaseBundleV1VersionResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetLatestReleaseBundleV1VersionResponse) Status

Status returns HTTPResponse.Status

func (GetLatestReleaseBundleV1VersionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetOpenMetricsForDistributionResponse

type GetOpenMetricsForDistributionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseGetOpenMetricsForDistributionResponse

func ParseGetOpenMetricsForDistributionResponse(rsp *http.Response) (*GetOpenMetricsForDistributionResponse, error)

ParseGetOpenMetricsForDistributionResponse parses an HTTP response from a GetOpenMetricsForDistributionWithResponse call

func (GetOpenMetricsForDistributionResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetOpenMetricsForDistributionResponse) GetBody

GetBody returns the raw response body bytes

func (GetOpenMetricsForDistributionResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetOpenMetricsForDistributionResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetOpenMetricsForDistributionResponse) Status

Status returns HTTPResponse.Status

func (GetOpenMetricsForDistributionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetPublicSigningKeyForDistributionResponse

type GetPublicSigningKeyForDistributionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseGetPublicSigningKeyForDistributionResponse

func ParseGetPublicSigningKeyForDistributionResponse(rsp *http.Response) (*GetPublicSigningKeyForDistributionResponse, error)

ParseGetPublicSigningKeyForDistributionResponse parses an HTTP response from a GetPublicSigningKeyForDistributionWithResponse call

func (GetPublicSigningKeyForDistributionResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetPublicSigningKeyForDistributionResponse) GetBody

GetBody returns the raw response body bytes

func (GetPublicSigningKeyForDistributionResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetPublicSigningKeyForDistributionResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetPublicSigningKeyForDistributionResponse) Status

Status returns HTTPResponse.Status

func (GetPublicSigningKeyForDistributionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetReleaseBundleV1VersionDetailsParams

type GetReleaseBundleV1VersionDetailsParams struct {
	// Format Optional query parameter. json (the default) returns the version details; jws returns the signed manifest in JWS JSON serialization (header, payload, signature); jose returns it as a compact JWS string.
	Format *GetReleaseBundleV1VersionDetailsParamsFormat `form:"format,omitempty" json:"format,omitempty"`
}

GetReleaseBundleV1VersionDetailsParams defines parameters for GetReleaseBundleV1VersionDetails.

type GetReleaseBundleV1VersionDetailsParamsFormat

type GetReleaseBundleV1VersionDetailsParamsFormat string

GetReleaseBundleV1VersionDetailsParamsFormat defines parameters for GetReleaseBundleV1VersionDetails.

Defines values for GetReleaseBundleV1VersionDetailsParamsFormat.

func (GetReleaseBundleV1VersionDetailsParamsFormat) Valid

Valid indicates whether the value is a known member of the GetReleaseBundleV1VersionDetailsParamsFormat enum.

type GetReleaseBundleV1VersionDetailsResponse

type GetReleaseBundleV1VersionDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationjoseJSON200 the response for an HTTP 200 `application/jose+json` response
	ApplicationjoseJSON200 *struct {
		// Header Required within this object. Base64url protected header.
		Header string `json:"header"`

		// Payload Required within this object. Base64url manifest.
		Payload string `json:"payload"`

		// Signature Required within this object. Base64url signature.
		Signature string `json:"signature"`
	}
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ReleaseBundleV1Version
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseGetReleaseBundleV1VersionDetailsResponse

func ParseGetReleaseBundleV1VersionDetailsResponse(rsp *http.Response) (*GetReleaseBundleV1VersionDetailsResponse, error)

ParseGetReleaseBundleV1VersionDetailsResponse parses an HTTP response from a GetReleaseBundleV1VersionDetailsWithResponse call

func (GetReleaseBundleV1VersionDetailsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetReleaseBundleV1VersionDetailsResponse) GetApplicationjoseJSON200

func (r GetReleaseBundleV1VersionDetailsResponse) GetApplicationjoseJSON200() *struct {
	// Header Required within this object. Base64url protected header.
	Header string `json:"header"`

	// Payload Required within this object. Base64url manifest.
	Payload string `json:"payload"`

	// Signature Required within this object. Base64url signature.
	Signature string `json:"signature"`
}

GetApplicationjoseJSON200 returns the response for an HTTP 200 `application/jose+json` response

func (GetReleaseBundleV1VersionDetailsResponse) GetBody

GetBody returns the raw response body bytes

func (GetReleaseBundleV1VersionDetailsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetReleaseBundleV1VersionDetailsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetReleaseBundleV1VersionDetailsResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetReleaseBundleV1VersionDetailsResponse) Status

Status returns HTTPResponse.Status

func (GetReleaseBundleV1VersionDetailsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetReleaseBundleV1VersionSha256Response

type GetReleaseBundleV1VersionSha256Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetReleaseBundleV1VersionSha256Response200Headers
}

func ParseGetReleaseBundleV1VersionSha256Response

func ParseGetReleaseBundleV1VersionSha256Response(rsp *http.Response) (*GetReleaseBundleV1VersionSha256Response, error)

ParseGetReleaseBundleV1VersionSha256Response parses an HTTP response from a GetReleaseBundleV1VersionSha256WithResponse call

func (GetReleaseBundleV1VersionSha256Response) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetReleaseBundleV1VersionSha256Response) GetBody

GetBody returns the raw response body bytes

func (GetReleaseBundleV1VersionSha256Response) Status

Status returns HTTPResponse.Status

func (GetReleaseBundleV1VersionSha256Response) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetReleaseBundleV1VersionSha256Response200Headers

type GetReleaseBundleV1VersionSha256Response200Headers struct {
	XChecksumSha256 *string
}

GetReleaseBundleV1VersionSha256Response200Headers the declared response headers of an HTTP 200 response for GetReleaseBundleV1VersionSha256

type GetReleaseBundleV1VersionsByNameParams

type GetReleaseBundleV1VersionsByNameParams struct {
	// StartPos Optional query parameter. Zero-based offset into the list, for paging. Defaults to 0.
	StartPos *int `form:"start_pos,omitempty" json:"start_pos,omitempty"`
}

GetReleaseBundleV1VersionsByNameParams defines parameters for GetReleaseBundleV1VersionsByName.

type GetReleaseBundleV1VersionsByNameResponse

type GetReleaseBundleV1VersionsByNameResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]struct {
		// Created Optional within this object. When the version was created, RFC 3339.
		Created *time.Time `json:"created,omitempty"`

		// Status Optional within this object. State of the version.
		Status *string `json:"status,omitempty"`

		// Version Optional within this object. The version.
		Version *string `json:"version,omitempty"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseGetReleaseBundleV1VersionsByNameResponse

func ParseGetReleaseBundleV1VersionsByNameResponse(rsp *http.Response) (*GetReleaseBundleV1VersionsByNameResponse, error)

ParseGetReleaseBundleV1VersionsByNameResponse parses an HTTP response from a GetReleaseBundleV1VersionsByNameWithResponse call

func (GetReleaseBundleV1VersionsByNameResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetReleaseBundleV1VersionsByNameResponse) GetBody

GetBody returns the raw response body bytes

func (GetReleaseBundleV1VersionsByNameResponse) GetJSON200

func (r GetReleaseBundleV1VersionsByNameResponse) GetJSON200() *[]struct {
	// Created Optional within this object. When the version was created, RFC 3339.
	Created *time.Time `json:"created,omitempty"`

	// Status Optional within this object. State of the version.
	Status *string `json:"status,omitempty"`

	// Version Optional within this object. The version.
	Version *string `json:"version,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetReleaseBundleV1VersionsByNameResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetReleaseBundleV1VersionsByNameResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetReleaseBundleV1VersionsByNameResponse) Status

Status returns HTTPResponse.Status

func (GetReleaseBundleV1VersionsByNameResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetReleaseBundleV2DistributionTrackersParams

type GetReleaseBundleV2DistributionTrackersParams struct {
	// RepositoryKey Optional query parameter. For Release Bundles v2, the repository that stores the bundle. Omitted means the project's default release bundle repository.
	RepositoryKey *RepositoryKeyQuery `form:"repository_key,omitempty" json:"repository_key,omitempty"`

	// Project Optional query parameter. Key of the project the bundle belongs to. Omitted means the default project.
	Project *ProjectQuery `form:"project,omitempty" json:"project,omitempty"`
}

GetReleaseBundleV2DistributionTrackersParams defines parameters for GetReleaseBundleV2DistributionTrackers.

type GetReleaseBundleV2DistributionTrackersResponse

type GetReleaseBundleV2DistributionTrackersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]DistributionTrackerSimple
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseGetReleaseBundleV2DistributionTrackersResponse

func ParseGetReleaseBundleV2DistributionTrackersResponse(rsp *http.Response) (*GetReleaseBundleV2DistributionTrackersResponse, error)

ParseGetReleaseBundleV2DistributionTrackersResponse parses an HTTP response from a GetReleaseBundleV2DistributionTrackersWithResponse call

func (GetReleaseBundleV2DistributionTrackersResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetReleaseBundleV2DistributionTrackersResponse) GetBody

GetBody returns the raw response body bytes

func (GetReleaseBundleV2DistributionTrackersResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetReleaseBundleV2DistributionTrackersResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetReleaseBundleV2DistributionTrackersResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetReleaseBundleV2DistributionTrackersResponse) GetJSON501

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (GetReleaseBundleV2DistributionTrackersResponse) Status

Status returns HTTPResponse.Status

func (GetReleaseBundleV2DistributionTrackersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetStuckDistributionsResponse

type GetStuckDistributionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]StuckDistribution
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseGetStuckDistributionsResponse

func ParseGetStuckDistributionsResponse(rsp *http.Response) (*GetStuckDistributionsResponse, error)

ParseGetStuckDistributionsResponse parses an HTTP response from a GetStuckDistributionsWithResponse call

func (GetStuckDistributionsResponse) ContentType

func (r GetStuckDistributionsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetStuckDistributionsResponse) GetBody

func (r GetStuckDistributionsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetStuckDistributionsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetStuckDistributionsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetStuckDistributionsResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetStuckDistributionsResponse) Status

Status returns HTTPResponse.Status

func (GetStuckDistributionsResponse) StatusCode

func (r GetStuckDistributionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSupportBundleInfoResponse

type GetSupportBundleInfoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SupportBundleInfo
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseGetSupportBundleInfoResponse

func ParseGetSupportBundleInfoResponse(rsp *http.Response) (*GetSupportBundleInfoResponse, error)

ParseGetSupportBundleInfoResponse parses an HTTP response from a GetSupportBundleInfoWithResponse call

func (GetSupportBundleInfoResponse) ContentType

func (r GetSupportBundleInfoResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSupportBundleInfoResponse) GetBody

func (r GetSupportBundleInfoResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSupportBundleInfoResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSupportBundleInfoResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSupportBundleInfoResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetSupportBundleInfoResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSupportBundleInfoResponse) GetJSON500

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (GetSupportBundleInfoResponse) Status

Status returns HTTPResponse.Status

func (GetSupportBundleInfoResponse) StatusCode

func (r GetSupportBundleInfoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTokenInfosResponse

type GetTokenInfosResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TokensResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseGetTokenInfosResponse

func ParseGetTokenInfosResponse(rsp *http.Response) (*GetTokenInfosResponse, error)

ParseGetTokenInfosResponse parses an HTTP response from a GetTokenInfosWithResponse call

func (GetTokenInfosResponse) ContentType

func (r GetTokenInfosResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTokenInfosResponse) GetBody

func (r GetTokenInfosResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetTokenInfosResponse) GetJSON200

func (r GetTokenInfosResponse) GetJSON200() *TokensResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTokenInfosResponse) GetJSON401

func (r GetTokenInfosResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTokenInfosResponse) GetJSON403

func (r GetTokenInfosResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetTokenInfosResponse) Status

func (r GetTokenInfosResponse) Status() string

Status returns HTTPResponse.Status

func (GetTokenInfosResponse) StatusCode

func (r GetTokenInfosResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GpgKey

type GpgKey struct {
	// Alias Required within this object. Alias of the key.
	Alias string `json:"alias"`

	// Default Optional within this object. True for the key that signs when no alias is chosen.
	Default *bool `json:"default,omitempty"`

	// PublicKey Required within this object. ASCII-armoured public key.
	PublicKey string `json:"public_key"`
}

GpgKey A GPG key's alias and public part.

type GpgKeyAlias

type GpgKeyAlias struct {
	// Alias Required within this object. Alias of the key.
	Alias string `json:"alias"`

	// Default Optional within this object. True for the key that signs when no alias is chosen.
	Default *bool `json:"default,omitempty"`

	// Passphrase Optional within this object. True when the private key is protected by a passphrase, which callers then send in X-GPG-PASSPHRASE when signing.
	Passphrase *bool `json:"passphrase,omitempty"`
}

GpgKeyAlias One configured GPG signing key, as listed by the aliases operation.

type GpgKeyUpload

type GpgKeyUpload struct {
	// Alias Optional within this object. Flat form: name for the key pair; must be unique.
	Alias *string `json:"alias,omitempty"`

	// FailOnPropagationFailure Optional within this object. When true a propagation failure fails the upload. Defaults to false.
	FailOnPropagationFailure *bool `json:"fail_on_propagation_failure,omitempty"`

	// Key Optional within this object. Wrapped form: The key pair, given either as armoured text or as a vault reference.
	Key *struct {
		// Alias Optional within this object. Name for the key pair; must be unique. Required when more than one key is configured.
		Alias *string `json:"alias,omitempty"`

		// PrivateKey Optional within this object. ASCII-armoured private key, stored sealed and never returned. Not combined with vault_data.
		PrivateKey *string `json:"private_key,omitempty"`

		// PublicKey Optional within this object. ASCII-armoured public key. Not combined with vault_data.
		PublicKey *string `json:"public_key,omitempty"`

		// VaultData Optional within this object. Where to read the pair from a vault instead. A key sent with vault_data is rejected with 400.
		VaultData *struct {
			// PrivateKey Optional within this object. Path and key of the private part.
			PrivateKey *struct {
				// Key Optional within this object. Key within the secret.
				Key *string `json:"key,omitempty"`

				// Path Optional within this object. Secret path.
				Path *string `json:"path,omitempty"`
			} `json:"private_key,omitempty"`

			// PublicKey Optional within this object. Path and key of the public part.
			PublicKey *struct {
				// Key Optional within this object. Key within the secret.
				Key *string `json:"key,omitempty"`

				// Path Optional within this object. Secret path.
				Path *string `json:"path,omitempty"`
			} `json:"public_key,omitempty"`

			// VaultId Optional within this object. Vault name, such as hashicorp.
			VaultId *string `json:"vault_id,omitempty"`
		} `json:"vault_data,omitempty"`
	} `json:"key,omitempty"`

	// PrivateKey Optional within this object. Flat form: ASCII-armoured private key, stored sealed and never returned.
	PrivateKey *string `json:"private_key,omitempty"`

	// PropagateToEdgeNodes Optional within this object. When true the key is pushed to every receiving instance. Defaults to false.
	PropagateToEdgeNodes *bool `json:"propagate_to_edge_nodes,omitempty"`

	// PublicKey Optional within this object. Flat form: ASCII-armoured public key.
	PublicKey *string `json:"public_key,omitempty"`

	// SetAsDefault Optional within this object. When true the key becomes the default signing key; the first key uploaded always does.
	SetAsDefault *bool `json:"set_as_default,omitempty"`
}

GpgKeyUpload Body of a GPG key upload, in one of two forms: the flat form (alias, public_key and private_key at the top level) or the wrapped form (key plus the propagation flags). A body must carry a key in one form.

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type ImportReleaseBundleV1VersionParams

type ImportReleaseBundleV1VersionParams struct {
	// FileName Required query parameter. Name of the exported zip, which must already be in the instance's release bundle import directory.
	FileName string `form:"file_name" json:"file_name"`

	// DryRun Optional query parameter. When true every check runs and nothing is imported. Defaults to false.
	DryRun *bool `form:"dry_run,omitempty" json:"dry_run,omitempty"`
}

ImportReleaseBundleV1VersionParams defines parameters for ImportReleaseBundleV1Version.

type ImportReleaseBundleV1VersionResponse

type ImportReleaseBundleV1VersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Message Optional within this object. What was imported, or validated in a dry run.
		Message *string `json:"message,omitempty"`
	}
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseImportReleaseBundleV1VersionResponse

func ParseImportReleaseBundleV1VersionResponse(rsp *http.Response) (*ImportReleaseBundleV1VersionResponse, error)

ParseImportReleaseBundleV1VersionResponse parses an HTTP response from a ImportReleaseBundleV1VersionWithResponse call

func (ImportReleaseBundleV1VersionResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ImportReleaseBundleV1VersionResponse) GetBody

GetBody returns the raw response body bytes

func (ImportReleaseBundleV1VersionResponse) GetJSON200

func (r ImportReleaseBundleV1VersionResponse) GetJSON200() *struct {
	// Message Optional within this object. What was imported, or validated in a dry run.
	Message *string `json:"message,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ImportReleaseBundleV1VersionResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ImportReleaseBundleV1VersionResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ImportReleaseBundleV1VersionResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ImportReleaseBundleV1VersionResponse) Status

Status returns HTTPResponse.Status

func (ImportReleaseBundleV1VersionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListSupportBundlesResponse

type ListSupportBundlesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SupportBundleList
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON500 the response for an HTTP 500 `application/json` response
	JSON500 *ErrorResponse
}

func ParseListSupportBundlesResponse

func ParseListSupportBundlesResponse(rsp *http.Response) (*ListSupportBundlesResponse, error)

ParseListSupportBundlesResponse parses an HTTP response from a ListSupportBundlesWithResponse call

func (ListSupportBundlesResponse) ContentType

func (r ListSupportBundlesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListSupportBundlesResponse) GetBody

func (r ListSupportBundlesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListSupportBundlesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListSupportBundlesResponse) GetJSON401

func (r ListSupportBundlesResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ListSupportBundlesResponse) GetJSON403

func (r ListSupportBundlesResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ListSupportBundlesResponse) GetJSON500

func (r ListSupportBundlesResponse) GetJSON500() *ErrorResponse

GetJSON500 returns the response for an HTTP 500 `application/json` response

func (ListSupportBundlesResponse) Status

Status returns HTTPResponse.Status

func (ListSupportBundlesResponse) StatusCode

func (r ListSupportBundlesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MessageStatusResponse

type MessageStatusResponse struct {
	// Detail Optional within this object. Extra context, when there is any.
	Detail *string `json:"detail,omitempty"`

	// Message Optional within this object. The message, OK when healthy.
	Message *string `json:"message,omitempty"`

	// StatusCode Optional within this object. HTTP status of the response.
	StatusCode *int `json:"status_code,omitempty"`
}

MessageStatusResponse A status message.

type PlatformServiceInstance

type PlatformServiceInstance struct {
	// Name Optional within this object. Name of the instance; for an edge, the peer name.
	Name *string `json:"name,omitempty"`

	// ServiceId Optional within this object. Service id of the instance.
	ServiceId *string `json:"service_id,omitempty"`

	// Type Optional within this object. `edge` for an edge peer, `artifactory` for this source instance.
	Type *string `json:"type,omitempty"`
}

PlatformServiceInstance One instance in the distribution topology.

type ProjectQuery

type ProjectQuery = string

ProjectQuery defines model for projectQuery.

type PropagatePublicSigningKeyResponse

type PropagatePublicSigningKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PropagationReport
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParsePropagatePublicSigningKeyResponse

func ParsePropagatePublicSigningKeyResponse(rsp *http.Response) (*PropagatePublicSigningKeyResponse, error)

ParsePropagatePublicSigningKeyResponse parses an HTTP response from a PropagatePublicSigningKeyWithResponse call

func (PropagatePublicSigningKeyResponse) ContentType

func (r PropagatePublicSigningKeyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PropagatePublicSigningKeyResponse) GetBody

GetBody returns the raw response body bytes

func (PropagatePublicSigningKeyResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PropagatePublicSigningKeyResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PropagatePublicSigningKeyResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (PropagatePublicSigningKeyResponse) Status

Status returns HTTPResponse.Status

func (PropagatePublicSigningKeyResponse) StatusCode

func (r PropagatePublicSigningKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PropagationReport

type PropagationReport struct {
	// Report Required within this object. The report.
	Report struct {
		// Details Optional within this object. One entry per target instance and key.
		Details *[]struct {
			// JpdId Optional within this object. Id of the target instance, the peer's instance id.
			JpdId *string `json:"jpd_id,omitempty"`

			// KeyAlias Optional within this object. Alias of the key pushed.
			KeyAlias *string `json:"key_alias,omitempty"`

			// Name Optional within this object. Name of the target instance.
			Name *string `json:"name,omitempty"`

			// Status Optional within this object. SUCCESS or FAILURE for this target.
			Status *PropagationReportReportDetailsStatus `json:"status,omitempty"`
		} `json:"details,omitempty"`

		// Message Optional within this object. Error detail when the status is not SUCCESS.
		Message *string `json:"message,omitempty"`

		// Status Required within this object. Overall result. PROPAGATION_NOT_REQUESTED when the call asked not to propagate, NO_GPG_KEY_TO_PROPAGATE when no key matched. PROPAGATION_NOT_SUPPORTED_BY_MISSION_CONTROL is not returned.
		Status PropagationReportReportStatus `json:"status"`
	} `json:"report"`
}

PropagationReport Outcome of pushing signing keys to the receiving instances.

type PropagationReportReportDetailsStatus

type PropagationReportReportDetailsStatus string

PropagationReportReportDetailsStatus Optional within this object. SUCCESS or FAILURE for this target.

const (
	PropagationReportReportDetailsStatusFAILURE PropagationReportReportDetailsStatus = "FAILURE"
	PropagationReportReportDetailsStatusSUCCESS PropagationReportReportDetailsStatus = "SUCCESS"
)

Defines values for PropagationReportReportDetailsStatus.

func (PropagationReportReportDetailsStatus) Valid

Valid indicates whether the value is a known member of the PropagationReportReportDetailsStatus enum.

type PropagationReportReportStatus

type PropagationReportReportStatus string

PropagationReportReportStatus Required within this object. Overall result. PROPAGATION_NOT_REQUESTED when the call asked not to propagate, NO_GPG_KEY_TO_PROPAGATE when no key matched. PROPAGATION_NOT_SUPPORTED_BY_MISSION_CONTROL is not returned.

const (
	PropagationReportReportStatusFAILURE                                 PropagationReportReportStatus = "FAILURE"
	PropagationReportReportStatusNOGPGKEYTOPROPAGATE                     PropagationReportReportStatus = "NO_GPG_KEY_TO_PROPAGATE"
	PropagationReportReportStatusPARTIALSUCCESS                          PropagationReportReportStatus = "PARTIAL_SUCCESS"
	PropagationReportReportStatusPROPAGATIONNOTREQUESTED                 PropagationReportReportStatus = "PROPAGATION_NOT_REQUESTED"
	PropagationReportReportStatusPROPAGATIONNOTSUPPORTEDBYMISSIONCONTROL PropagationReportReportStatus = "PROPAGATION_NOT_SUPPORTED_BY_MISSION_CONTROL"
	PropagationReportReportStatusSUCCESS                                 PropagationReportReportStatus = "SUCCESS"
)

Defines values for PropagationReportReportStatus.

func (PropagationReportReportStatus) Valid

Valid indicates whether the value is a known member of the PropagationReportReportStatus enum.

type RBv2DistributionRequest

type RBv2DistributionRequest struct {
	// AutoCreateMissingRepositories Optional within this object. When true each edge creates target repositories it lacks. Defaults to false.
	AutoCreateMissingRepositories *bool `json:"auto_create_missing_repositories,omitempty"`

	// DistributionRules Optional within this object. Rules selecting the edges; an edge matching any rule is selected. Only peers paired as edges can match.
	DistributionRules *[]DistributionRule `json:"distribution_rules,omitempty"`

	// DryRun Optional within this object. When true nothing is sent. Defaults to false.
	DryRun *bool `json:"dry_run,omitempty"`

	// IncludeEvidence Optional within this object. When true evidence attached to the bundle is sent too.
	IncludeEvidence *bool `json:"include_evidence,omitempty"`

	// InsecureTls Optional within this object. Accepted and ignored; TLS toward the edges is always verified.
	InsecureTls *bool `json:"insecure_tls,omitempty"`

	// Modifications Optional within this object. Path mappings the edges apply when storing the artifacts.
	Modifications *map[string]interface{} `json:"modifications,omitempty"`

	// Priority Optional within this object. Base priority. Defaults to medium.
	Priority *DistributionPriorityLevel `json:"priority,omitempty"`
}

RBv2DistributionRequest Which edges should receive a Release Bundle v2 version.

type RBv2RemoteDeleteRequest

type RBv2RemoteDeleteRequest struct {
	// AutoCreateMissingRepositories Optional within this object. Accepted; has no effect on deletion.
	AutoCreateMissingRepositories *bool `json:"auto_create_missing_repositories,omitempty"`

	// DistributionRules Optional within this object. Rules selecting the edges; an edge matching any rule is selected. Only peers paired as edges can match.
	DistributionRules *[]DistributionRule `json:"distribution_rules,omitempty"`

	// DryRun Optional within this object. When true nothing changes. Defaults to false.
	DryRun *bool `json:"dry_run,omitempty"`

	// Priority Optional within this object. Base priority. Defaults to medium.
	Priority *DistributionPriorityLevel `json:"priority,omitempty"`
}

RBv2RemoteDeleteRequest Which edges should remove a Release Bundle v2 version.

type ReleaseBundleCreation

type ReleaseBundleCreation struct {
	// Description Optional within this object. Free text describing the version.
	Description *string `json:"description,omitempty"`

	// DryRun Optional within this object. When true the queries are evaluated and the result returned; nothing is stored. Defaults to false.
	DryRun *bool `json:"dry_run,omitempty"`

	// Name Required within this object. Name of the bundle; several versions share it.
	Name string `json:"name"`

	// ReleaseNotes Optional within this object. Release notes kept with the version.
	ReleaseNotes *struct {
		// Content Required within this object. The notes themselves.
		Content string `json:"content"`

		// Syntax Optional within this object. Markup of content. Defaults to plain_text.
		Syntax *ReleaseBundleCreationReleaseNotesSyntax `json:"syntax,omitempty"`
	} `json:"release_notes,omitempty"`

	// SignImmediately Optional within this object. When true the version is signed as soon as it is stored, with the default key or the one whose passphrase is sent in X-GPG-PASSPHRASE. Defaults to false.
	SignImmediately *bool `json:"sign_immediately,omitempty"`

	// Spec Required within this object. How the artifacts are selected.
	Spec struct {
		// ExcludePropsPatterns Optional within this object. Patterns of property keys not copied to the receiving instance for any artifact. They do not affect added_props.
		ExcludePropsPatterns *[]string `json:"exclude_props_patterns,omitempty"`

		// Queries Required within this object. The queries whose results become the artifacts; at least one.
		Queries []struct {
			// AddedProps Optional within this object. Properties set on the artifacts once they are stored on the receiving instance.
			AddedProps *[]struct {
				// Key Required within this object. Property key to create or replace.
				Key string `json:"key"`

				// Values Optional within this object. Values for the key. Defaults to an empty list.
				Values *[]string `json:"values,omitempty"`
			} `json:"added_props,omitempty"`

			// Aql Required within this object. An AQL items query, for example items.find({"repo":"libs-release-local"}), run against this instance. Every item it returns is pinned by path and SHA-256.
			Aql string `json:"aql"`

			// ExcludePropsPatterns Optional within this object. Patterns of property keys not copied with this query's artifacts. Combined with spec.exclude_props_patterns.
			ExcludePropsPatterns *[]string `json:"exclude_props_patterns,omitempty"`

			// Mappings Optional within this object. Path rewrites applied when the artifacts are stored on the receiving instance. Each input is a regular expression matched against <repo>/<path>; output may use $1, $2 for its groups.
			Mappings *[]struct {
				// Input Required within this object. Regular expression matched against the source <repo>/<path>.
				Input string `json:"input"`

				// Output Required within this object. Replacement <repo>/<path>; $1 and so on refer to groups in input.
				Output string `json:"output"`
			} `json:"mappings,omitempty"`

			// QueryName Optional within this object. Label for the query in the version details. 2 to 32 characters, starting with a letter followed by letters, digits or any of _-.:. Defaults to query-<index>.
			QueryName *string `json:"query_name,omitempty"`
		} `json:"queries"`

		// SourceArtifactoryId Optional within this object. Service id of the instance the queries run against. Deprecated and ignored: queries always run against this instance.
		// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
		SourceArtifactoryId *string `json:"source_artifactory_id,omitempty"`
	} `json:"spec"`

	// StoringRepository Optional within this object. Release bundles repository that records the signed manifest. Null or omitted means the instance default.
	StoringRepository *string `json:"storing_repository,omitempty"`

	// Version Required within this object. Version within the name; unique per name.
	Version string `json:"version"`
}

ReleaseBundleCreation Body of a release bundle v1 create. The same body without name and version updates an unsigned version (ReleaseBundleUpdate).

type ReleaseBundleCreationReleaseNotesSyntax

type ReleaseBundleCreationReleaseNotesSyntax string

ReleaseBundleCreationReleaseNotesSyntax Optional within this object. Markup of content. Defaults to plain_text.

const (
	ReleaseBundleCreationReleaseNotesSyntaxAsciidoc  ReleaseBundleCreationReleaseNotesSyntax = "asciidoc"
	ReleaseBundleCreationReleaseNotesSyntaxMarkdown  ReleaseBundleCreationReleaseNotesSyntax = "markdown"
	ReleaseBundleCreationReleaseNotesSyntaxPlainText ReleaseBundleCreationReleaseNotesSyntax = "plain_text"
)

Defines values for ReleaseBundleCreationReleaseNotesSyntax.

func (ReleaseBundleCreationReleaseNotesSyntax) Valid

Valid indicates whether the value is a known member of the ReleaseBundleCreationReleaseNotesSyntax enum.

type ReleaseBundleNamePath

type ReleaseBundleNamePath = string

ReleaseBundleNamePath defines model for releaseBundleNamePath.

type ReleaseBundleUpdate

type ReleaseBundleUpdate struct {
	// Description Optional within this object. Free text describing the version.
	Description *string `json:"description,omitempty"`

	// DryRun Optional within this object. When true the queries are evaluated and the result returned; nothing is stored. Defaults to false.
	DryRun *bool `json:"dry_run,omitempty"`

	// ReleaseNotes Optional within this object. Release notes kept with the version.
	ReleaseNotes *struct {
		// Content Required within this object. The notes themselves.
		Content string `json:"content"`

		// Syntax Optional within this object. Markup of content. Defaults to plain_text.
		Syntax *ReleaseBundleUpdateReleaseNotesSyntax `json:"syntax,omitempty"`
	} `json:"release_notes,omitempty"`

	// SignImmediately Optional within this object. When true the version is signed as soon as it is stored, with the default key or the one whose passphrase is sent in X-GPG-PASSPHRASE. Defaults to false.
	SignImmediately *bool `json:"sign_immediately,omitempty"`

	// Spec Required within this object. How the artifacts are selected.
	Spec struct {
		// ExcludePropsPatterns Optional within this object. Patterns of property keys not copied to the receiving instance for any artifact. They do not affect added_props.
		ExcludePropsPatterns *[]string `json:"exclude_props_patterns,omitempty"`

		// Queries Required within this object. The queries whose results become the artifacts; at least one.
		Queries []struct {
			// AddedProps Optional within this object. Properties set on the artifacts once they are stored on the receiving instance.
			AddedProps *[]struct {
				// Key Required within this object. Property key to create or replace.
				Key string `json:"key"`

				// Values Optional within this object. Values for the key. Defaults to an empty list.
				Values *[]string `json:"values,omitempty"`
			} `json:"added_props,omitempty"`

			// Aql Required within this object. An AQL items query, for example items.find({"repo":"libs-release-local"}), run against this instance. Every item it returns is pinned by path and SHA-256.
			Aql string `json:"aql"`

			// ExcludePropsPatterns Optional within this object. Patterns of property keys not copied with this query's artifacts. Combined with spec.exclude_props_patterns.
			ExcludePropsPatterns *[]string `json:"exclude_props_patterns,omitempty"`

			// Mappings Optional within this object. Path rewrites applied when the artifacts are stored on the receiving instance. Each input is a regular expression matched against <repo>/<path>; output may use $1, $2 for its groups.
			Mappings *[]struct {
				// Input Required within this object. Regular expression matched against the source <repo>/<path>.
				Input string `json:"input"`

				// Output Required within this object. Replacement <repo>/<path>; $1 and so on refer to groups in input.
				Output string `json:"output"`
			} `json:"mappings,omitempty"`

			// QueryName Optional within this object. Label for the query in the version details. 2 to 32 characters, starting with a letter followed by letters, digits or any of _-.:. Defaults to query-<index>.
			QueryName *string `json:"query_name,omitempty"`
		} `json:"queries"`

		// SourceArtifactoryId Optional within this object. Service id of the instance the queries run against. Deprecated and ignored: queries always run against this instance.
		// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
		SourceArtifactoryId *string `json:"source_artifactory_id,omitempty"`
	} `json:"spec"`

	// StoringRepository Optional within this object. Release bundles repository that records the signed manifest. Null or omitted means the instance default.
	StoringRepository *string `json:"storing_repository,omitempty"`
}

ReleaseBundleUpdate Body of a release bundle v1 update: the creation body without name and version, which come from the path. Only an OPEN (unsigned) version can be updated; the queries are run again and replace the artifact list.

type ReleaseBundleUpdateReleaseNotesSyntax

type ReleaseBundleUpdateReleaseNotesSyntax string

ReleaseBundleUpdateReleaseNotesSyntax Optional within this object. Markup of content. Defaults to plain_text.

const (
	ReleaseBundleUpdateReleaseNotesSyntaxAsciidoc  ReleaseBundleUpdateReleaseNotesSyntax = "asciidoc"
	ReleaseBundleUpdateReleaseNotesSyntaxMarkdown  ReleaseBundleUpdateReleaseNotesSyntax = "markdown"
	ReleaseBundleUpdateReleaseNotesSyntaxPlainText ReleaseBundleUpdateReleaseNotesSyntax = "plain_text"
)

Defines values for ReleaseBundleUpdateReleaseNotesSyntax.

func (ReleaseBundleUpdateReleaseNotesSyntax) Valid

Valid indicates whether the value is a known member of the ReleaseBundleUpdateReleaseNotesSyntax enum.

type ReleaseBundleV1Version

type ReleaseBundleV1Version struct {
	// Archived Optional within this object. Whether the version is archived. Always false.
	Archived *bool `json:"archived,omitempty"`

	// Artifacts Optional within this object. The artifacts the version pins.
	Artifacts *[]struct {
		// Checksum Optional within this object. SHA-256 of the artifact. A receiving instance rejects content whose digest differs.
		Checksum *string `json:"checksum,omitempty"`

		// Props Optional within this object. Properties recorded with the artifact, including those added by the query.
		Props *[]struct {
			// Key Optional within this object. Property key.
			Key *string `json:"key,omitempty"`

			// Values Optional within this object. Property values.
			Values *[]string `json:"values,omitempty"`
		} `json:"props,omitempty"`

		// RepoPath Optional within this object. <repo>/<path> of the artifact on this instance; the same value as source_repo_path.
		RepoPath *string `json:"repo_path,omitempty"`

		// SourceRepoPath Optional within this object. <repo>/<path> of the artifact on this instance.
		SourceRepoPath *string `json:"source_repo_path,omitempty"`

		// TargetRepoPath Optional within this object. <repo>/<path> the artifact is stored under on a receiving instance, after the query's mappings.
		TargetRepoPath *string `json:"target_repo_path,omitempty"`

		// XrayScanInfo Optional within this object. Scan block state of the artifact; blocked is always false.
		XrayScanInfo *struct {
			// Blocked Optional within this object. Whether a scan policy blocks the artifact.
			Blocked *bool `json:"blocked,omitempty"`

			// BlockedReason Optional within this object. Why it is blocked; null when it is not.
			BlockedReason *string `json:"blocked_reason,omitempty"`
		} `json:"xray_scan_info,omitempty"`
	} `json:"artifacts,omitempty"`

	// Created Optional within this object. When the version was created, RFC 3339.
	Created *time.Time `json:"created,omitempty"`

	// CreatedBy Optional within this object. User who created the version.
	CreatedBy *string `json:"created_by,omitempty"`

	// Description Optional within this object. Free text describing the version.
	Description *string `json:"description,omitempty"`

	// DistributedBy Optional within this object. User who last distributed the version, when it has been distributed.
	DistributedBy *string `json:"distributed_by,omitempty"`

	// Name Required within this object. Name of the bundle.
	Name string `json:"name"`

	// ReleaseNotes Optional within this object. Release notes kept with the version.
	ReleaseNotes *struct {
		// Content Required within this object. The notes themselves.
		Content string `json:"content"`

		// Syntax Optional within this object. Markup of content. Defaults to plain_text.
		Syntax *ReleaseBundleV1VersionReleaseNotesSyntax `json:"syntax,omitempty"`
	} `json:"release_notes,omitempty"`

	// State Required within this object. OPEN until the version is signed, then SIGNED; a SIGNED version is immutable and can be distributed or exported.
	State ReleaseBundleV1VersionState `json:"state"`

	// Status Optional within this object. The version state; always the same value as state.
	Status *string `json:"status,omitempty"`

	// Version Required within this object. Version within the name.
	Version string `json:"version"`
}

ReleaseBundleV1Version A release bundle v1 version, as create, sign, list and get return it. state and status both carry the version state.

type ReleaseBundleV1VersionReleaseNotesSyntax

type ReleaseBundleV1VersionReleaseNotesSyntax string

ReleaseBundleV1VersionReleaseNotesSyntax Optional within this object. Markup of content. Defaults to plain_text.

const (
	ReleaseBundleV1VersionReleaseNotesSyntaxAsciidoc  ReleaseBundleV1VersionReleaseNotesSyntax = "asciidoc"
	ReleaseBundleV1VersionReleaseNotesSyntaxMarkdown  ReleaseBundleV1VersionReleaseNotesSyntax = "markdown"
	ReleaseBundleV1VersionReleaseNotesSyntaxPlainText ReleaseBundleV1VersionReleaseNotesSyntax = "plain_text"
)

Defines values for ReleaseBundleV1VersionReleaseNotesSyntax.

func (ReleaseBundleV1VersionReleaseNotesSyntax) Valid

Valid indicates whether the value is a known member of the ReleaseBundleV1VersionReleaseNotesSyntax enum.

type ReleaseBundleV1VersionState

type ReleaseBundleV1VersionState string

ReleaseBundleV1VersionState Required within this object. OPEN until the version is signed, then SIGNED; a SIGNED version is immutable and can be distributed or exported.

const (
	OPEN   ReleaseBundleV1VersionState = "OPEN"
	SIGNED ReleaseBundleV1VersionState = "SIGNED"
)

Defines values for ReleaseBundleV1VersionState.

func (ReleaseBundleV1VersionState) Valid

Valid indicates whether the value is a known member of the ReleaseBundleV1VersionState enum.

type ReleaseBundleVersionPath

type ReleaseBundleVersionPath = string

ReleaseBundleVersionPath defines model for releaseBundleVersionPath.

type RemoteDeleteReleaseBundleV2DistributionJSONRequestBody

type RemoteDeleteReleaseBundleV2DistributionJSONRequestBody = RBv2RemoteDeleteRequest

RemoteDeleteReleaseBundleV2DistributionJSONRequestBody defines body for RemoteDeleteReleaseBundleV2Distribution for application/json ContentType.

type RemoteDeleteReleaseBundleV2DistributionParams

type RemoteDeleteReleaseBundleV2DistributionParams struct {
	// RepositoryKey Optional query parameter. For Release Bundles v2, the repository that stores the bundle. Omitted means the project's default release bundle repository.
	RepositoryKey *RepositoryKeyQuery `form:"repository_key,omitempty" json:"repository_key,omitempty"`

	// Project Optional query parameter. Key of the project the bundle belongs to. Omitted means the default project.
	Project *ProjectQuery `form:"project,omitempty" json:"project,omitempty"`
}

RemoteDeleteReleaseBundleV2DistributionParams defines parameters for RemoteDeleteReleaseBundleV2Distribution.

type RemoteDeleteReleaseBundleV2DistributionResponse

type RemoteDeleteReleaseBundleV2DistributionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DistributionResponse
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *DistributionResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseRemoteDeleteReleaseBundleV2DistributionResponse

func ParseRemoteDeleteReleaseBundleV2DistributionResponse(rsp *http.Response) (*RemoteDeleteReleaseBundleV2DistributionResponse, error)

ParseRemoteDeleteReleaseBundleV2DistributionResponse parses an HTTP response from a RemoteDeleteReleaseBundleV2DistributionWithResponse call

func (RemoteDeleteReleaseBundleV2DistributionResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RemoteDeleteReleaseBundleV2DistributionResponse) GetBody

GetBody returns the raw response body bytes

func (RemoteDeleteReleaseBundleV2DistributionResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (RemoteDeleteReleaseBundleV2DistributionResponse) GetJSON202

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (RemoteDeleteReleaseBundleV2DistributionResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (RemoteDeleteReleaseBundleV2DistributionResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (RemoteDeleteReleaseBundleV2DistributionResponse) GetJSON501

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (RemoteDeleteReleaseBundleV2DistributionResponse) Status

Status returns HTTPResponse.Status

func (RemoteDeleteReleaseBundleV2DistributionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RepositoryKeyQuery

type RepositoryKeyQuery = string

RepositoryKeyQuery defines model for repositoryKeyQuery.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type RevokeTokenFormdataBody

type RevokeTokenFormdataBody struct {
	// Token Optional within this object. The token value, access or refresh, to revoke. Give this or token_id.
	Token *string `form:"token,omitempty" json:"token,omitempty"`

	// TokenId Optional within this object. Id of the token to revoke. Give this or token.
	TokenId *string `form:"token_id,omitempty" json:"token_id,omitempty"`
}

RevokeTokenFormdataBody defines parameters for RevokeToken.

type RevokeTokenFormdataRequestBody

type RevokeTokenFormdataRequestBody RevokeTokenFormdataBody

RevokeTokenFormdataRequestBody defines body for RevokeToken for application/x-www-form-urlencoded ContentType.

type RevokeTokenResponse

type RevokeTokenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseRevokeTokenResponse

func ParseRevokeTokenResponse(rsp *http.Response) (*RevokeTokenResponse, error)

ParseRevokeTokenResponse parses an HTTP response from a RevokeTokenWithResponse call

func (RevokeTokenResponse) ContentType

func (r RevokeTokenResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RevokeTokenResponse) GetBody

func (r RevokeTokenResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RevokeTokenResponse) GetJSON400

func (r RevokeTokenResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (RevokeTokenResponse) GetJSON401

func (r RevokeTokenResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (RevokeTokenResponse) GetJSON403

func (r RevokeTokenResponse) GetJSON403() *ErrorResponse

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (RevokeTokenResponse) GetJSON404

func (r RevokeTokenResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (RevokeTokenResponse) Status

func (r RevokeTokenResponse) Status() string

Status returns HTTPResponse.Status

func (RevokeTokenResponse) StatusCode

func (r RevokeTokenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetDistributionPermissionJSONRequestBody

type SetDistributionPermissionJSONRequestBody = DestinationPermission

SetDistributionPermissionJSONRequestBody defines body for SetDistributionPermission for application/json ContentType.

type SetDistributionPermissionResponse

type SetDistributionPermissionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DestinationPermission
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ErrorResponse
}

func ParseSetDistributionPermissionResponse

func ParseSetDistributionPermissionResponse(rsp *http.Response) (*SetDistributionPermissionResponse, error)

ParseSetDistributionPermissionResponse parses an HTTP response from a SetDistributionPermissionWithResponse call

func (SetDistributionPermissionResponse) ContentType

func (r SetDistributionPermissionResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SetDistributionPermissionResponse) GetBody

GetBody returns the raw response body bytes

func (SetDistributionPermissionResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SetDistributionPermissionResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (SetDistributionPermissionResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (SetDistributionPermissionResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (SetDistributionPermissionResponse) Status

Status returns HTTPResponse.Status

func (SetDistributionPermissionResponse) StatusCode

func (r SetDistributionPermissionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetGpgSigningKeyJSONRequestBody

type SetGpgSigningKeyJSONRequestBody = GpgKeyUpload

SetGpgSigningKeyJSONRequestBody defines body for SetGpgSigningKey for application/json ContentType.

type SetGpgSigningKeyResponse

type SetGpgSigningKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PropagationReport
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
}

func ParseSetGpgSigningKeyResponse

func ParseSetGpgSigningKeyResponse(rsp *http.Response) (*SetGpgSigningKeyResponse, error)

ParseSetGpgSigningKeyResponse parses an HTTP response from a SetGpgSigningKeyWithResponse call

func (SetGpgSigningKeyResponse) ContentType

func (r SetGpgSigningKeyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SetGpgSigningKeyResponse) GetBody

func (r SetGpgSigningKeyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SetGpgSigningKeyResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SetGpgSigningKeyResponse) GetJSON400

func (r SetGpgSigningKeyResponse) GetJSON400() *ErrorResponse

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (SetGpgSigningKeyResponse) GetJSON401

func (r SetGpgSigningKeyResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (SetGpgSigningKeyResponse) Status

func (r SetGpgSigningKeyResponse) Status() string

Status returns HTTPResponse.Status

func (SetGpgSigningKeyResponse) StatusCode

func (r SetGpgSigningKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SignReleaseBundleV1VersionJSONBody

type SignReleaseBundleV1VersionJSONBody struct {
	// StoringRepository Optional within this object. Release bundles repository that records the manifest; null or omitted means the instance default.
	StoringRepository *string `json:"storing_repository,omitempty"`
}

SignReleaseBundleV1VersionJSONBody defines parameters for SignReleaseBundleV1Version.

type SignReleaseBundleV1VersionJSONRequestBody

type SignReleaseBundleV1VersionJSONRequestBody SignReleaseBundleV1VersionJSONBody

SignReleaseBundleV1VersionJSONRequestBody defines body for SignReleaseBundleV1Version for application/json ContentType.

type SignReleaseBundleV1VersionParams

type SignReleaseBundleV1VersionParams struct {
	// XGPGPASSPHRASE Optional header parameter. Passphrase protecting the signing key's private part. Needed only when the key has one; never logged or stored.
	XGPGPASSPHRASE *string `json:"X-GPG-PASSPHRASE,omitempty"`
}

SignReleaseBundleV1VersionParams defines parameters for SignReleaseBundleV1Version.

type SignReleaseBundleV1VersionResponse

type SignReleaseBundleV1VersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ReleaseBundleV1Version
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *SignReleaseBundleV1VersionResponse200Headers
}

func ParseSignReleaseBundleV1VersionResponse

func ParseSignReleaseBundleV1VersionResponse(rsp *http.Response) (*SignReleaseBundleV1VersionResponse, error)

ParseSignReleaseBundleV1VersionResponse parses an HTTP response from a SignReleaseBundleV1VersionWithResponse call

func (SignReleaseBundleV1VersionResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SignReleaseBundleV1VersionResponse) GetBody

GetBody returns the raw response body bytes

func (SignReleaseBundleV1VersionResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SignReleaseBundleV1VersionResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (SignReleaseBundleV1VersionResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (SignReleaseBundleV1VersionResponse) Status

Status returns HTTPResponse.Status

func (SignReleaseBundleV1VersionResponse) StatusCode

func (r SignReleaseBundleV1VersionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SignReleaseBundleV1VersionResponse200Headers

type SignReleaseBundleV1VersionResponse200Headers struct {
	XChecksumSha256 *string
}

SignReleaseBundleV1VersionResponse200Headers the declared response headers of an HTTP 200 response for SignReleaseBundleV1Version

type StuckDistribution

type StuckDistribution struct {
	// BundleName Optional within this object. Name of the release bundle.
	BundleName *string `json:"bundleName,omitempty"`

	// BundleVersion Optional within this object. Version of the release bundle.
	BundleVersion *string `json:"bundleVersion,omitempty"`

	// DistributionFriendlyId Optional within this object. Short sequential id of the tracker.
	DistributionFriendlyId *int64 `json:"distributionFriendlyId,omitempty"`

	// DistributionTrackerId Optional within this object. Id of the tracker.
	DistributionTrackerId *int64 `json:"distributionTrackerId,omitempty"`

	// ReleaseBundlesSchema Optional within this object. Bundle format: RBV1, RBV2 or RBV2_ATW. Always RBV1.
	ReleaseBundlesSchema *StuckDistributionReleaseBundlesSchema `json:"releaseBundlesSchema,omitempty"`

	// Status Optional within this object. The non-final state it is stuck in.
	Status *StuckDistributionStatus `json:"status,omitempty"`
}

StuckDistribution A distribution stuck in a non-final state.

type StuckDistributionReleaseBundlesSchema

type StuckDistributionReleaseBundlesSchema string

StuckDistributionReleaseBundlesSchema Optional within this object. Bundle format: RBV1, RBV2 or RBV2_ATW. Always RBV1.

Defines values for StuckDistributionReleaseBundlesSchema.

func (StuckDistributionReleaseBundlesSchema) Valid

Valid indicates whether the value is a known member of the StuckDistributionReleaseBundlesSchema enum.

type StuckDistributionStatus

type StuckDistributionStatus string

StuckDistributionStatus Optional within this object. The non-final state it is stuck in.

const (
	StuckDistributionStatusABORTINPROGRESS    StuckDistributionStatus = "ABORT_IN_PROGRESS"
	StuckDistributionStatusCLOSEINPROGRESS    StuckDistributionStatus = "CLOSE_IN_PROGRESS"
	StuckDistributionStatusINPROGRESS         StuckDistributionStatus = "IN_PROGRESS"
	StuckDistributionStatusQUEUED             StuckDistributionStatus = "QUEUED"
	StuckDistributionStatusSTORINGINPROGRESS  StuckDistributionStatus = "STORING_IN_PROGRESS"
	StuckDistributionStatusVALIDATE           StuckDistributionStatus = "VALIDATE"
	StuckDistributionStatusXRAYSCANINPROGRESS StuckDistributionStatus = "XRAY_SCAN_IN_PROGRESS"
)

Defines values for StuckDistributionStatus.

func (StuckDistributionStatus) Valid

func (e StuckDistributionStatus) Valid() bool

Valid indicates whether the value is a known member of the StuckDistributionStatus enum.

type SupportBundleCreateRequest

type SupportBundleCreateRequest struct {
	// Description Optional within this object. Free text describing why the bundle was made.
	Description *string `json:"description,omitempty"`

	// Name Optional within this object. Name of the bundle.
	Name *string `json:"name,omitempty"`

	// Parameters Optional within this object. Which kinds of information to collect.
	Parameters *struct {
		// Configuration Optional within this object. Include the configuration with every secret masked. Defaults to true.
		Configuration *bool `json:"configuration,omitempty"`

		// Logs Optional within this object. Log collection.
		Logs *struct {
			// EndDate Optional within this object. Last day of logs to include, YYYY-MM-DD.
			EndDate *openapi_types.Date `json:"end_date,omitempty"`

			// Include Optional within this object. Include logs. Defaults to true.
			Include *bool `json:"include,omitempty"`

			// StartDate Optional within this object. First day of logs to include, YYYY-MM-DD.
			StartDate *openapi_types.Date `json:"start_date,omitempty"`
		} `json:"logs,omitempty"`

		// System Optional within this object. Include system information: versions, operating system and storage. Defaults to true.
		System *bool `json:"system,omitempty"`

		// ThreadDump Optional within this object. Goroutine dumps to capture.
		ThreadDump *struct {
			// Count Optional within this object. How many dumps to take. Defaults to 1.
			Count *int `json:"count,omitempty"`

			// Interval Optional within this object. Milliseconds between dumps. Defaults to 0.
			Interval *int `json:"interval,omitempty"`
		} `json:"thread_dump,omitempty"`
	} `json:"parameters,omitempty"`
}

SupportBundleCreateRequest What a support bundle collects.

type SupportBundleCreateResponse

type SupportBundleCreateResponse struct {
	// Artifactory Optional within this object. The instance holding the bundle.
	Artifactory *struct {
		// BundleUrl Optional within this object. URL that downloads the bundle.
		BundleUrl *string `json:"bundle_url,omitempty"`

		// ServiceId Optional within this object. Service id of the instance.
		ServiceId *string `json:"service_id,omitempty"`
	} `json:"artifactory,omitempty"`

	// Id Optional within this object. Id of the bundle.
	Id *string `json:"id,omitempty"`
}

SupportBundleCreateResponse Where a new support bundle can be fetched.

type SupportBundleInfo

type SupportBundleInfo struct {
	// Artifactory Optional within this object. The instance holding the bundle.
	Artifactory *struct {
		// BundleUrl Optional within this object. URL that downloads the bundle.
		BundleUrl *string `json:"bundle_url,omitempty"`

		// ServiceId Optional within this object. Service id of the instance.
		ServiceId *string `json:"service_id,omitempty"`
	} `json:"artifactory,omitempty"`

	// Created Optional within this object. Date the bundle was created.
	Created *openapi_types.Date `json:"created,omitempty"`

	// Description Optional within this object. Free text describing why the bundle was made.
	Description *string `json:"description,omitempty"`

	// Name Optional within this object. Name of the bundle.
	Name *string `json:"name,omitempty"`

	// Parameters Optional within this object. What the bundle collected.
	Parameters *struct {
		// Configuration Optional within this object. Whether the masked configuration was included.
		Configuration *bool `json:"configuration,omitempty"`

		// Logs Optional within this object. Log collection.
		Logs *struct {
			// EndDate Optional within this object. Last day of logs included.
			EndDate *openapi_types.Date `json:"end_date,omitempty"`

			// Include Optional within this object. Whether logs were included.
			Include *bool `json:"include,omitempty"`

			// StartDate Optional within this object. First day of logs included.
			StartDate *openapi_types.Date `json:"start_date,omitempty"`
		} `json:"logs,omitempty"`

		// System Optional within this object. Whether system information was included.
		System *bool `json:"system,omitempty"`

		// ThreadDump Optional within this object. Goroutine dumps captured.
		ThreadDump *struct {
			// Count Optional within this object. How many dumps were taken.
			Count *int `json:"count,omitempty"`

			// Interval Optional within this object. Milliseconds between dumps.
			Interval *int `json:"interval,omitempty"`
		} `json:"thread_dump,omitempty"`
	} `json:"parameters,omitempty"`

	// Status Optional within this object. Collection status: in_progress, success or failure.
	Status *string `json:"status,omitempty"`
}

SupportBundleInfo Metadata of one support bundle.

type SupportBundleList

type SupportBundleList struct {
	// Bundles Optional within this object. One entry per bundle.
	Bundles *[]struct {
		// Created Optional within this object. Date the bundle was created.
		Created *openapi_types.Date `json:"created,omitempty"`

		// Description Optional within this object. Free text describing the bundle.
		Description *string `json:"description,omitempty"`

		// Id Optional within this object. Id of the bundle.
		Id *string `json:"id,omitempty"`

		// Name Optional within this object. Name of the bundle.
		Name *string `json:"name,omitempty"`
	} `json:"bundles,omitempty"`

	// Count Optional within this object. Number of bundles.
	Count *int `json:"count,omitempty"`
}

SupportBundleList Support bundles on the instance.

type SystemInfo

type SystemInfo struct {
	// Message Optional within this object. Which dependency is failing, when status is UNSTABLE.
	Message *string `json:"message,omitempty"`

	// ServiceId Optional within this object. Service id of the instance.
	ServiceId *string `json:"serviceId,omitempty"`

	// Status Optional within this object. STABLE when every dependency is reachable, otherwise UNSTABLE.
	Status *SystemInfoStatus `json:"status,omitempty"`

	// Version Optional within this object. The compatibility version reported to clients.
	Version *string `json:"version,omitempty"`
}

SystemInfo Version and health of the distribution service.

type SystemInfoStatus

type SystemInfoStatus string

SystemInfoStatus Optional within this object. STABLE when every dependency is reachable, otherwise UNSTABLE.

const (
	STABLE   SystemInfoStatus = "STABLE"
	UNSTABLE SystemInfoStatus = "UNSTABLE"
)

Defines values for SystemInfoStatus.

func (SystemInfoStatus) Valid

func (e SystemInfoStatus) Valid() bool

Valid indicates whether the value is a known member of the SystemInfoStatus enum.

type SystemSettings

type SystemSettings struct {
	// CallHomeEnabled Optional within this object. Accepted and stored. No usage data is sent, so it has no effect.
	CallHomeEnabled *bool `json:"call_home_enabled,omitempty"`
}

SystemSettings Distribution settings.

type TokenInfo

type TokenInfo struct {
	// Expiry Optional within this object. Expiry as epoch seconds; 0 for a token that never expires.
	Expiry *int64 `json:"expiry,omitempty"`

	// IssuedAt Optional within this object. Issue time as epoch seconds.
	IssuedAt *int64 `json:"issued_at,omitempty"`

	// Issuer Optional within this object. Service id of the issuer.
	Issuer *string `json:"issuer,omitempty"`

	// Refreshable Optional within this object. Whether a refresh token was issued with it.
	Refreshable *bool `json:"refreshable,omitempty"`

	// Subject Optional within this object. Subject the token was issued for.
	Subject *string `json:"subject,omitempty"`

	// TokenId Optional within this object. Id of the token, for revocation.
	TokenId *string `json:"token_id,omitempty"`
}

TokenInfo One issued token.

type TokensResponse

type TokensResponse struct {
	// Tokens Optional within this object. One entry per token.
	Tokens *[]TokenInfo `json:"tokens,omitempty"`
}

TokensResponse Issued tokens.

type TriggerXrayScanReleaseBundleV1VersionResponse

type TriggerXrayScanReleaseBundleV1VersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]interface{}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseTriggerXrayScanReleaseBundleV1VersionResponse

func ParseTriggerXrayScanReleaseBundleV1VersionResponse(rsp *http.Response) (*TriggerXrayScanReleaseBundleV1VersionResponse, error)

ParseTriggerXrayScanReleaseBundleV1VersionResponse parses an HTTP response from a TriggerXrayScanReleaseBundleV1VersionWithResponse call

func (TriggerXrayScanReleaseBundleV1VersionResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (TriggerXrayScanReleaseBundleV1VersionResponse) GetBody

GetBody returns the raw response body bytes

func (TriggerXrayScanReleaseBundleV1VersionResponse) GetJSON200

func (r TriggerXrayScanReleaseBundleV1VersionResponse) GetJSON200() *map[string]interface{}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (TriggerXrayScanReleaseBundleV1VersionResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (TriggerXrayScanReleaseBundleV1VersionResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (TriggerXrayScanReleaseBundleV1VersionResponse) GetJSON501

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (TriggerXrayScanReleaseBundleV1VersionResponse) Status

Status returns HTTPResponse.Status

func (TriggerXrayScanReleaseBundleV1VersionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UnlockStuckReport

type UnlockStuckReport struct {
	// StuckDistributions Optional within this object. The distributions unlocked, or that would be.
	StuckDistributions *[]StuckDistribution `json:"stuckDistributions,omitempty"`

	// Unlocked Optional within this object. True when they were unlocked; false in a dry run.
	Unlocked *bool `json:"unlocked,omitempty"`
}

UnlockStuckReport What UNLOCK_STUCK affected, or would affect in a dry run.

type UpdateDistributionSystemSettingsJSONRequestBody

type UpdateDistributionSystemSettingsJSONRequestBody = SystemSettings

UpdateDistributionSystemSettingsJSONRequestBody defines body for UpdateDistributionSystemSettings for application/json ContentType.

type UpdateDistributionSystemSettingsResponse

type UpdateDistributionSystemSettingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
}

func ParseUpdateDistributionSystemSettingsResponse

func ParseUpdateDistributionSystemSettingsResponse(rsp *http.Response) (*UpdateDistributionSystemSettingsResponse, error)

ParseUpdateDistributionSystemSettingsResponse parses an HTTP response from a UpdateDistributionSystemSettingsWithResponse call

func (UpdateDistributionSystemSettingsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateDistributionSystemSettingsResponse) GetBody

GetBody returns the raw response body bytes

func (UpdateDistributionSystemSettingsResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateDistributionSystemSettingsResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UpdateDistributionSystemSettingsResponse) Status

Status returns HTTPResponse.Status

func (UpdateDistributionSystemSettingsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateGpgKeyAliasJSONBody

type UpdateGpgKeyAliasJSONBody struct {
	// Alias Optional within this object. The new alias; must not be taken.
	Alias *string `json:"alias,omitempty"`

	// NewAlias Optional within this object. The new alias; used when alias is absent.
	NewAlias *string `json:"new_alias,omitempty"`
}

UpdateGpgKeyAliasJSONBody defines parameters for UpdateGpgKeyAlias.

type UpdateGpgKeyAliasJSONRequestBody

type UpdateGpgKeyAliasJSONRequestBody UpdateGpgKeyAliasJSONBody

UpdateGpgKeyAliasJSONRequestBody defines body for UpdateGpgKeyAlias for application/json ContentType.

type UpdateGpgKeyAliasResponse

type UpdateGpgKeyAliasResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GpgKey
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
}

func ParseUpdateGpgKeyAliasResponse

func ParseUpdateGpgKeyAliasResponse(rsp *http.Response) (*UpdateGpgKeyAliasResponse, error)

ParseUpdateGpgKeyAliasResponse parses an HTTP response from a UpdateGpgKeyAliasWithResponse call

func (UpdateGpgKeyAliasResponse) ContentType

func (r UpdateGpgKeyAliasResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateGpgKeyAliasResponse) GetBody

func (r UpdateGpgKeyAliasResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateGpgKeyAliasResponse) GetJSON200

func (r UpdateGpgKeyAliasResponse) GetJSON200() *GpgKey

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateGpgKeyAliasResponse) GetJSON401

func (r UpdateGpgKeyAliasResponse) GetJSON401() *ErrorResponse

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateGpgKeyAliasResponse) GetJSON404

func (r UpdateGpgKeyAliasResponse) GetJSON404() *ErrorResponse

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateGpgKeyAliasResponse) Status

func (r UpdateGpgKeyAliasResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateGpgKeyAliasResponse) StatusCode

func (r UpdateGpgKeyAliasResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateReleaseBundleV1VersionJSONRequestBody

type UpdateReleaseBundleV1VersionJSONRequestBody = ReleaseBundleUpdate

UpdateReleaseBundleV1VersionJSONRequestBody defines body for UpdateReleaseBundleV1Version for application/json ContentType.

type UpdateReleaseBundleV1VersionParams

type UpdateReleaseBundleV1VersionParams struct {
	// XGPGPASSPHRASE Optional header parameter. Passphrase protecting the signing key's private part. Needed only when the key has one; never logged or stored.
	XGPGPASSPHRASE *string `json:"X-GPG-PASSPHRASE,omitempty"`
}

UpdateReleaseBundleV1VersionParams defines parameters for UpdateReleaseBundleV1Version.

type UpdateReleaseBundleV1VersionResponse

type UpdateReleaseBundleV1VersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ReleaseBundleV1Version
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *UpdateReleaseBundleV1VersionResponse200Headers
}

func ParseUpdateReleaseBundleV1VersionResponse

func ParseUpdateReleaseBundleV1VersionResponse(rsp *http.Response) (*UpdateReleaseBundleV1VersionResponse, error)

ParseUpdateReleaseBundleV1VersionResponse parses an HTTP response from a UpdateReleaseBundleV1VersionWithResponse call

func (UpdateReleaseBundleV1VersionResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateReleaseBundleV1VersionResponse) GetBody

GetBody returns the raw response body bytes

func (UpdateReleaseBundleV1VersionResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateReleaseBundleV1VersionResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateReleaseBundleV1VersionResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateReleaseBundleV1VersionResponse) Status

Status returns HTTPResponse.Status

func (UpdateReleaseBundleV1VersionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateReleaseBundleV1VersionResponse200Headers

type UpdateReleaseBundleV1VersionResponse200Headers struct {
	XChecksumSha256 *string
}

UpdateReleaseBundleV1VersionResponse200Headers the declared response headers of an HTTP 200 response for UpdateReleaseBundleV1Version

type UpdateReleaseBundleV2DistributionPriorityJSONRequestBody

type UpdateReleaseBundleV2DistributionPriorityJSONRequestBody = DistributionPriorityUpdateRequest

UpdateReleaseBundleV2DistributionPriorityJSONRequestBody defines body for UpdateReleaseBundleV2DistributionPriority for application/json ContentType.

type UpdateReleaseBundleV2DistributionPriorityResponse

type UpdateReleaseBundleV2DistributionPriorityResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DistributionPriorityUpdateResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ErrorResponse
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ErrorResponse
}

func ParseUpdateReleaseBundleV2DistributionPriorityResponse

func ParseUpdateReleaseBundleV2DistributionPriorityResponse(rsp *http.Response) (*UpdateReleaseBundleV2DistributionPriorityResponse, error)

ParseUpdateReleaseBundleV2DistributionPriorityResponse parses an HTTP response from a UpdateReleaseBundleV2DistributionPriorityWithResponse call

func (UpdateReleaseBundleV2DistributionPriorityResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateReleaseBundleV2DistributionPriorityResponse) GetBody

GetBody returns the raw response body bytes

func (UpdateReleaseBundleV2DistributionPriorityResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateReleaseBundleV2DistributionPriorityResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateReleaseBundleV2DistributionPriorityResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateReleaseBundleV2DistributionPriorityResponse) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UpdateReleaseBundleV2DistributionPriorityResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateReleaseBundleV2DistributionPriorityResponse) GetJSON501

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (UpdateReleaseBundleV2DistributionPriorityResponse) Status

Status returns HTTPResponse.Status

func (UpdateReleaseBundleV2DistributionPriorityResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UploadAndPropagateGpgSigningKeysForDistributionParams

type UploadAndPropagateGpgSigningKeysForDistributionParams struct {
	// Alias Optional query parameter. Alias of the one key to propagate. Ignored when all is true.
	Alias *string `form:"alias,omitempty" json:"alias,omitempty"`

	// All Optional query parameter. When true every configured key is propagated. Defaults to false.
	All *bool `form:"all,omitempty" json:"all,omitempty"`
}

UploadAndPropagateGpgSigningKeysForDistributionParams defines parameters for UploadAndPropagateGpgSigningKeysForDistribution.

type UploadAndPropagateGpgSigningKeysForDistributionResponse

type UploadAndPropagateGpgSigningKeysForDistributionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PropagationReport
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ErrorResponse
}

func ParseUploadAndPropagateGpgSigningKeysForDistributionResponse

func ParseUploadAndPropagateGpgSigningKeysForDistributionResponse(rsp *http.Response) (*UploadAndPropagateGpgSigningKeysForDistributionResponse, error)

ParseUploadAndPropagateGpgSigningKeysForDistributionResponse parses an HTTP response from a UploadAndPropagateGpgSigningKeysForDistributionWithResponse call

func (UploadAndPropagateGpgSigningKeysForDistributionResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UploadAndPropagateGpgSigningKeysForDistributionResponse) GetBody

GetBody returns the raw response body bytes

func (UploadAndPropagateGpgSigningKeysForDistributionResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UploadAndPropagateGpgSigningKeysForDistributionResponse) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UploadAndPropagateGpgSigningKeysForDistributionResponse) Status

Status returns HTTPResponse.Status

func (UploadAndPropagateGpgSigningKeysForDistributionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

Jump to

Keyboard shortcuts

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