Documentation
¶
Overview ¶
Package distribution is the generated strict chi server for the Distribution REST API: the release bundle distribution surface (bundles v1, distribution rules and jobs, signing keys and edge targets) served under /distribution.
Role ¶
platform layer, in platform/gen, where make generate writes the strict server of every specification. oapi-codegen v2.8.0 writes server.gen.go, the server with its models and embedded document, from api/distribution.openapi.yaml with api/oapi-server-distribution.yaml; tools/stubgen writes unimplemented.gen.go from its strict interface. This doc.go is the one hand-written file, and make generate leaves it alone. In the target layout the releases module's HTTP adapters implement the interface (P15), as a partial strict server composed over UnimplementedStrict (decision 0044). Of this repository's packages it imports only platform/httpkit/apierror.
Inputs ¶
- api/distribution.openapi.yaml, which make bundle builds from the distribution, release bundle, signing key, security and system fragments in api/src/distribution. No operation in it is tagged handwritten, so the generated mux serves every one.
- At run time: an implementation of StrictServerInterface and the StrictHTTPServerOptions error handlers, for NewStrictHandlerWithOptions; the ChiServerOptions (BaseURL, BaseRouter, ErrorHandlerFunc), for HandlerWithOptions.
Outputs ¶
- StrictServerInterface, one method per operation with its request and response objects: release bundles v1 (create, update, sign, read, delete, export and import), their distribution to edge nodes with its status and trackers, the distribution of release bundles v2, GPG signing keys, distribution permissions and tokens, and the service's system, maintenance and support bundle operations. NewStrictHandler and NewStrictHandlerWithOptions adapt an implementation to the generated chi ServerInterface, and Handler, HandlerFromMux, HandlerFromMuxWithBaseURL and HandlerWithOptions mount that on a chi router.
- The models of the request and response bodies, with Valid on each enum, and the embedded document (GetSpec, GetSpecJSON and PathToRawSpec).
- UnimplementedStrict: every method returns apierror.ErrNotImplemented, which the server renders as a 501 in the envelope JFrog Distribution documents, with status_code, message and errors. A type that embeds it satisfies StrictServerInterface, and each operation the type implements shadows its stub.
Invariants ¶
- The *.gen.go files are never edited by hand: make generate rewrites both, and make verify-generate fails while either differs from what the document gives (decision 0002). A change goes into api/src/distribution or api/oapi-server-distribution.yaml.
- Servers embed UnimplementedStrict, not oapi-codegen's Unimplemented, which serves the non-strict ServerInterface with a bare 501 and no error envelope.
References ¶
- Decision 0002: docs/research/decisions/0002-spec-first-flat-crud-handwritten-item-paths.md.
- Decision 0023: docs/research/decisions/0023-release-bundles-and-distribution.md.
- Decision 0044: docs/research/decisions/0044-modular-monolith-migration.md ("Composition and HTTP").
- Research 16: docs/research/16-enterprise-products.md.
- Target layout: docs/research/architecture-options/5-modular-monolith.md, lines 164 and 165 (platform/gen), line 813 (the distribution row of the generated code table), lines 819 to 823 (composition by embedding) and line 1020 (the mapping row).
- Plan: docs/implementation/plan.md#p1b-enterprise-products-specs-and-model, tasks 1 and 3; #p15-release-bundles-v1-and-distribution; #p9d-modular-monolith-migration, epic WEB (https://github.com/weaveplatform/artifactweave/issues/944).
- https://github.com/weaveplatform/artifactweave/issues/1001
Status ¶
Implemented P1b, which brought Distribution and release bundles v1 into scope with this document and its generated server (plan P1b, tasks 1 and 3); the files arrived in the baseline commit of phases P0 to P2. Since then only descriptions have changed, in the 7.x API audit (#430) and the rewording of the served contract (#434). The server's distribution service embeds UnimplementedStrict and implements nothing, so every operation answers 501 until P15 builds it. Moved here in P9d.
Testing ¶
The package has no tests of its own, and .testcoverage.yml leaves it out of the coverage gate as generated code. The server's tests cover it:
- TestAccHandwrittenRoutesNotGenerated: the generated mux holds every operation of the document.
- TestAccUnimplementedOperationsAnswer501: every operation answers 501 with the Distribution body the envelope table gives.
- TestAccAPIReliabilityLedger: the API reliability ledger, which names this package's unimplemented.gen.go as the handler of every operation, is current; make api-ledger rewrites it.
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 ¶
- func GetSpec() (swagger *openapi3.T, err error)
- func GetSpecJSON() ([]byte, error)
- func GetSwagger() (*openapi3.T, error)deprecated
- func Handler(si ServerInterface) http.Handler
- func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler
- func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler
- func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler
- func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)
- type AbortReleaseBundleV1Distribution202JSONResponse
- type AbortReleaseBundleV1Distribution204Response
- type AbortReleaseBundleV1Distribution401JSONResponse
- type AbortReleaseBundleV1Distribution403JSONResponse
- type AbortReleaseBundleV1Distribution429JSONResponse
- type AbortReleaseBundleV1Distribution503JSONResponse
- type AbortReleaseBundleV1DistributionRequestObject
- type AbortReleaseBundleV1DistributionResponseObject
- type AbortReleaseBundleV2Distribution202JSONResponse
- type AbortReleaseBundleV2Distribution204Response
- type AbortReleaseBundleV2Distribution401JSONResponse
- type AbortReleaseBundleV2Distribution403JSONResponse
- type AbortReleaseBundleV2Distribution429JSONResponse
- type AbortReleaseBundleV2Distribution501JSONResponse
- type AbortReleaseBundleV2Distribution503JSONResponse
- type AbortReleaseBundleV2DistributionParams
- type AbortReleaseBundleV2DistributionRequestObject
- type AbortReleaseBundleV2DistributionResponseObject
- type ChiServerOptions
- type CreateOrRefreshToken200JSONResponse
- type CreateOrRefreshToken201JSONResponse
- type CreateOrRefreshToken400JSONResponse
- type CreateOrRefreshToken401JSONResponse
- type CreateOrRefreshToken403JSONResponse
- type CreateOrRefreshToken429JSONResponse
- type CreateOrRefreshToken503JSONResponse
- type CreateOrRefreshTokenFormdataBody
- type CreateOrRefreshTokenFormdataBodyGrantType
- type CreateOrRefreshTokenFormdataRequestBody
- type CreateOrRefreshTokenRequestObject
- type CreateOrRefreshTokenResponseObject
- type CreateReleaseBundleV1Version200JSONResponse
- type CreateReleaseBundleV1Version201JSONResponse
- type CreateReleaseBundleV1Version201ResponseHeaders
- type CreateReleaseBundleV1Version400JSONResponse
- type CreateReleaseBundleV1Version401JSONResponse
- type CreateReleaseBundleV1Version409JSONResponse
- type CreateReleaseBundleV1Version429JSONResponse
- type CreateReleaseBundleV1Version503JSONResponse
- type CreateReleaseBundleV1VersionJSONRequestBody
- type CreateReleaseBundleV1VersionParams
- type CreateReleaseBundleV1VersionRequestObject
- type CreateReleaseBundleV1VersionResponseObject
- type CreateSpecificSupportBundle200JSONResponse
- type CreateSpecificSupportBundle400JSONResponse
- type CreateSpecificSupportBundle401JSONResponse
- type CreateSpecificSupportBundle403JSONResponse
- type CreateSpecificSupportBundle404JSONResponse
- type CreateSpecificSupportBundle429JSONResponse
- type CreateSpecificSupportBundle500JSONResponse
- type CreateSpecificSupportBundle503JSONResponse
- type CreateSpecificSupportBundleJSONRequestBody
- type CreateSpecificSupportBundleRequestObject
- type CreateSpecificSupportBundleResponseObject
- type CreateSupportBundle200JSONResponse
- type CreateSupportBundle400JSONResponse
- type CreateSupportBundle401JSONResponse
- type CreateSupportBundle403JSONResponse
- type CreateSupportBundle429JSONResponse
- type CreateSupportBundle500JSONResponse
- type CreateSupportBundle503JSONResponse
- type CreateSupportBundleJSONRequestBody
- type CreateSupportBundleRequestObject
- type CreateSupportBundleResponseObject
- type DeleteAllReleaseBundleV1Versions204Response
- type DeleteAllReleaseBundleV1Versions401JSONResponse
- type DeleteAllReleaseBundleV1Versions403JSONResponse
- type DeleteAllReleaseBundleV1Versions429JSONResponse
- type DeleteAllReleaseBundleV1Versions503JSONResponse
- type DeleteAllReleaseBundleV1VersionsParams
- type DeleteAllReleaseBundleV1VersionsRequestObject
- type DeleteAllReleaseBundleV1VersionsResponseObject
- type DeleteDistributionPermission204Response
- type DeleteDistributionPermission401JSONResponse
- type DeleteDistributionPermission404JSONResponse
- type DeleteDistributionPermission429JSONResponse
- type DeleteDistributionPermission503JSONResponse
- type DeleteDistributionPermissionRequestObject
- type DeleteDistributionPermissionResponseObject
- type DeleteExportedReleaseBundleV1File200Response
- type DeleteExportedReleaseBundleV1File401JSONResponse
- type DeleteExportedReleaseBundleV1File429JSONResponse
- type DeleteExportedReleaseBundleV1File503JSONResponse
- type DeleteExportedReleaseBundleV1FileRequestObject
- type DeleteExportedReleaseBundleV1FileResponseObject
- type DeleteGpgKeyByAlias200Response
- type DeleteGpgKeyByAlias401JSONResponse
- type DeleteGpgKeyByAlias404JSONResponse
- type DeleteGpgKeyByAlias429JSONResponse
- type DeleteGpgKeyByAlias503JSONResponse
- type DeleteGpgKeyByAliasRequestObject
- type DeleteGpgKeyByAliasResponseObject
- type DeleteReleaseBundleRequest
- type DeleteReleaseBundleRequestOnSuccess
- type DeleteReleaseBundleV1Version204Response
- type DeleteReleaseBundleV1Version401JSONResponse
- type DeleteReleaseBundleV1Version403JSONResponse
- type DeleteReleaseBundleV1Version429JSONResponse
- type DeleteReleaseBundleV1Version503JSONResponse
- type DeleteReleaseBundleV1VersionFromDistributionEdges200JSONResponse
- type DeleteReleaseBundleV1VersionFromDistributionEdges202JSONResponse
- type DeleteReleaseBundleV1VersionFromDistributionEdges401JSONResponse
- type DeleteReleaseBundleV1VersionFromDistributionEdges403JSONResponse
- type DeleteReleaseBundleV1VersionFromDistributionEdges429JSONResponse
- type DeleteReleaseBundleV1VersionFromDistributionEdges503JSONResponse
- type DeleteReleaseBundleV1VersionFromDistributionEdgesJSONRequestBody
- type DeleteReleaseBundleV1VersionFromDistributionEdgesRequestObject
- type DeleteReleaseBundleV1VersionFromDistributionEdgesResponseObject
- type DeleteReleaseBundleV1VersionParams
- type DeleteReleaseBundleV1VersionRequestObject
- type DeleteReleaseBundleV1VersionResponseObject
- type DeleteSupportBundle204Response
- type DeleteSupportBundle401JSONResponse
- type DeleteSupportBundle403JSONResponse
- type DeleteSupportBundle404JSONResponse
- type DeleteSupportBundle429JSONResponse
- type DeleteSupportBundle500JSONResponse
- type DeleteSupportBundle503JSONResponse
- type DeleteSupportBundleRequestObject
- type DeleteSupportBundleResponseObject
- type DestinationPermission
- type DestinationPermissionPrincipalsGroups
- type DestinationPermissionPrincipalsUsers
- type DestinationPermissionResourceType
- type DistributeByLastDays200JSONResponse
- type DistributeByLastDays400JSONResponse
- type DistributeByLastDays401JSONResponse
- type DistributeByLastDays403JSONResponse
- type DistributeByLastDays429JSONResponse
- type DistributeByLastDays503JSONResponse
- type DistributeByLastDaysJSONRequestBody
- type DistributeByLastDaysRequest
- type DistributeByLastDaysRequestObject
- type DistributeByLastDaysResponseObject
- type DistributeByLastDaysResult
- type DistributeDynamicReleaseBundleV1JSONRequestBody
- type DistributeDynamicReleaseBundleV1Params
- type DistributeDynamicReleaseBundleV1RequestObject
- type DistributeDynamicReleaseBundleV1ResponseObject
- type DistributeDynamicReleaseBundleV1202JSONResponse
- type DistributeDynamicReleaseBundleV1400JSONResponse
- type DistributeDynamicReleaseBundleV1401JSONResponse
- type DistributeDynamicReleaseBundleV1403JSONResponse
- type DistributeDynamicReleaseBundleV1429JSONResponse
- type DistributeDynamicReleaseBundleV1503JSONResponse
- type DistributeReleaseBundleV1Version200JSONResponse
- type DistributeReleaseBundleV1Version202JSONResponse
- type DistributeReleaseBundleV1Version401JSONResponse
- type DistributeReleaseBundleV1Version403JSONResponse
- type DistributeReleaseBundleV1Version429JSONResponse
- type DistributeReleaseBundleV1Version503JSONResponse
- type DistributeReleaseBundleV1VersionJSONRequestBody
- type DistributeReleaseBundleV1VersionRequestObject
- type DistributeReleaseBundleV1VersionResponseObject
- type DistributeReleaseBundleV2Version200JSONResponse
- type DistributeReleaseBundleV2Version400JSONResponse
- type DistributeReleaseBundleV2Version401JSONResponse
- type DistributeReleaseBundleV2Version409JSONResponse
- type DistributeReleaseBundleV2Version429JSONResponse
- type DistributeReleaseBundleV2Version501JSONResponse
- type DistributeReleaseBundleV2Version503JSONResponse
- type DistributeReleaseBundleV2VersionJSONRequestBody
- type DistributeReleaseBundleV2VersionParams
- type DistributeReleaseBundleV2VersionRequestObject
- type DistributeReleaseBundleV2VersionResponseObject
- type DistributionPing200JSONResponse
- type DistributionPing401JSONResponse
- type DistributionPing429JSONResponse
- type DistributionPing500JSONResponse
- type DistributionPing503JSONResponse
- type DistributionPingRequestObject
- type DistributionPingResponseObject
- type DistributionPriorityLevel
- type DistributionPriorityUpdateRequest
- type DistributionPriorityUpdateResponse
- type DistributionPriorityUpdateResult
- type DistributionProgress
- type DistributionRequest
- type DistributionResponse
- type DistributionRule
- type DistributionStatus
- type DistributionStatusSitesStatus
- type DistributionStatusStatus
- type DistributionStatusType
- type DistributionTokenResponse
- type DistributionTrackerPath
- type DistributionTrackerSimple
- type DownloadSupportBundle200ApplicationzipResponse
- type DownloadSupportBundle401JSONResponse
- type DownloadSupportBundle403JSONResponse
- type DownloadSupportBundle404JSONResponse
- type DownloadSupportBundle429JSONResponse
- type DownloadSupportBundle500JSONResponse
- type DownloadSupportBundle503JSONResponse
- type DownloadSupportBundleRequestObject
- type DownloadSupportBundleResponseObject
- type DynamicDistributionRequest
- type DynamicDistributionResponse
- type EdgeNodesInfo
- type EdgePriorityUpdate
- type ErrorResponse
- type ExecuteMaintenanceAction202JSONResponse
- type ExecuteMaintenanceAction202JSONResponseBody
- func (t ExecuteMaintenanceAction202JSONResponseBody) AsForceStopAllReport() (ForceStopAllReport, error)
- func (t ExecuteMaintenanceAction202JSONResponseBody) AsUnlockStuckReport() (UnlockStuckReport, error)
- func (t *ExecuteMaintenanceAction202JSONResponseBody) FromForceStopAllReport(v ForceStopAllReport) error
- func (t *ExecuteMaintenanceAction202JSONResponseBody) FromUnlockStuckReport(v UnlockStuckReport) error
- func (t ExecuteMaintenanceAction202JSONResponseBody) MarshalJSON() ([]byte, error)
- func (t *ExecuteMaintenanceAction202JSONResponseBody) MergeForceStopAllReport(v ForceStopAllReport) error
- func (t *ExecuteMaintenanceAction202JSONResponseBody) MergeUnlockStuckReport(v UnlockStuckReport) error
- func (t *ExecuteMaintenanceAction202JSONResponseBody) UnmarshalJSON(b []byte) error
- type ExecuteMaintenanceAction400JSONResponse
- type ExecuteMaintenanceAction401JSONResponse
- type ExecuteMaintenanceAction403JSONResponse
- type ExecuteMaintenanceAction429JSONResponse
- type ExecuteMaintenanceAction503JSONResponse
- type ExecuteMaintenanceActionParams
- type ExecuteMaintenanceActionParamsActionType
- type ExecuteMaintenanceActionRequestObject
- type ExecuteMaintenanceActionResponseObject
- type ExecuteMaintenanceActionTextBody
- type ExecuteMaintenanceActionTextRequestBody
- type ExportReleaseBundleV1Version202Response
- type ExportReleaseBundleV1Version400JSONResponse
- type ExportReleaseBundleV1Version401JSONResponse
- type ExportReleaseBundleV1Version429JSONResponse
- type ExportReleaseBundleV1Version503JSONResponse
- type ExportReleaseBundleV1VersionParams
- type ExportReleaseBundleV1VersionRequestObject
- type ExportReleaseBundleV1VersionResponseObject
- type ForceStopAllReport
- type GenerateMaintenanceExecutionToken200JSONResponse
- type GenerateMaintenanceExecutionToken400JSONResponse
- type GenerateMaintenanceExecutionToken401JSONResponse
- type GenerateMaintenanceExecutionToken403JSONResponse
- type GenerateMaintenanceExecutionToken429JSONResponse
- type GenerateMaintenanceExecutionToken503JSONResponse
- type GenerateMaintenanceExecutionTokenParamsActionType
- type GenerateMaintenanceExecutionTokenRequestObject
- type GenerateMaintenanceExecutionTokenResponseObject
- type GetAllBundles200JSONResponse
- type GetAllBundles401JSONResponse
- type GetAllBundles429JSONResponse
- type GetAllBundles503JSONResponse
- type GetAllBundlesParams
- type GetAllBundlesRequestObject
- type GetAllBundlesResponseObject
- type GetAllDistributionPermissions200JSONResponse
- type GetAllDistributionPermissions401JSONResponse
- type GetAllDistributionPermissions429JSONResponse
- type GetAllDistributionPermissions503JSONResponse
- type GetAllDistributionPermissionsRequestObject
- type GetAllDistributionPermissionsResponseObject
- type GetAllGpgKeyAliases200JSONResponse
- type GetAllGpgKeyAliases401JSONResponse
- type GetAllGpgKeyAliases429JSONResponse
- type GetAllGpgKeyAliases503JSONResponse
- type GetAllGpgKeyAliasesRequestObject
- type GetAllGpgKeyAliasesResponseObject
- type GetDistributionEdgeNodes200JSONResponse
- type GetDistributionEdgeNodes401JSONResponse
- type GetDistributionEdgeNodes429JSONResponse
- type GetDistributionEdgeNodes503JSONResponse
- type GetDistributionEdgeNodesParams
- type GetDistributionEdgeNodesRequestObject
- type GetDistributionEdgeNodesResponseObject
- type GetDistributionPermissionByName200JSONResponse
- type GetDistributionPermissionByName401JSONResponse
- type GetDistributionPermissionByName404JSONResponse
- type GetDistributionPermissionByName429JSONResponse
- type GetDistributionPermissionByName503JSONResponse
- type GetDistributionPermissionByNameRequestObject
- type GetDistributionPermissionByNameResponseObject
- type GetDistributionStatusDetails200JSONResponse
- type GetDistributionStatusDetails401JSONResponse
- type GetDistributionStatusDetails429JSONResponse
- type GetDistributionStatusDetails503JSONResponse
- type GetDistributionStatusDetailsByReleaseBundleV1Name200JSONResponse
- type GetDistributionStatusDetailsByReleaseBundleV1Name401JSONResponse
- type GetDistributionStatusDetailsByReleaseBundleV1Name429JSONResponse
- type GetDistributionStatusDetailsByReleaseBundleV1Name503JSONResponse
- type GetDistributionStatusDetailsByReleaseBundleV1NameRequestObject
- type GetDistributionStatusDetailsByReleaseBundleV1NameResponseObject
- type GetDistributionStatusDetailsByReleaseBundleV1TrackerId200JSONResponse
- type GetDistributionStatusDetailsByReleaseBundleV1TrackerId401JSONResponse
- type GetDistributionStatusDetailsByReleaseBundleV1TrackerId429JSONResponse
- type GetDistributionStatusDetailsByReleaseBundleV1TrackerId503JSONResponse
- type GetDistributionStatusDetailsByReleaseBundleV1TrackerIdRequestObject
- type GetDistributionStatusDetailsByReleaseBundleV1TrackerIdResponseObject
- type GetDistributionStatusDetailsByReleaseBundleV1Version200JSONResponse
- type GetDistributionStatusDetailsByReleaseBundleV1Version401JSONResponse
- type GetDistributionStatusDetailsByReleaseBundleV1Version429JSONResponse
- type GetDistributionStatusDetailsByReleaseBundleV1Version503JSONResponse
- type GetDistributionStatusDetailsByReleaseBundleV1VersionRequestObject
- type GetDistributionStatusDetailsByReleaseBundleV1VersionResponseObject
- type GetDistributionStatusDetailsByTrackerId200JSONResponse
- type GetDistributionStatusDetailsByTrackerId401JSONResponse
- type GetDistributionStatusDetailsByTrackerId403JSONResponse
- type GetDistributionStatusDetailsByTrackerId429JSONResponse
- type GetDistributionStatusDetailsByTrackerId501JSONResponse
- type GetDistributionStatusDetailsByTrackerId503JSONResponse
- type GetDistributionStatusDetailsByTrackerIdRequestObject
- type GetDistributionStatusDetailsByTrackerIdResponseObject
- type GetDistributionStatusDetailsRequestObject
- type GetDistributionStatusDetailsResponseObject
- type GetDistributionSystemInfo200JSONResponse
- type GetDistributionSystemInfo401JSONResponse
- type GetDistributionSystemInfo429JSONResponse
- type GetDistributionSystemInfo503JSONResponse
- type GetDistributionSystemInfoRequestObject
- type GetDistributionSystemInfoResponseObject
- type GetDistributionSystemSettings200JSONResponse
- type GetDistributionSystemSettings401JSONResponse
- type GetDistributionSystemSettings403JSONResponse
- type GetDistributionSystemSettings429JSONResponse
- type GetDistributionSystemSettings503JSONResponse
- type GetDistributionSystemSettingsRequestObject
- type GetDistributionSystemSettingsResponseObject
- type GetExportedReleaseBundleV1Status200JSONResponse
- type GetExportedReleaseBundleV1Status200JSONResponseBodyStatus
- type GetExportedReleaseBundleV1Status401JSONResponse
- type GetExportedReleaseBundleV1Status429JSONResponse
- type GetExportedReleaseBundleV1Status503JSONResponse
- type GetExportedReleaseBundleV1StatusRequestObject
- type GetExportedReleaseBundleV1StatusResponseObject
- type GetGpgPublicKeyByAlias200JSONResponse
- type GetGpgPublicKeyByAlias401JSONResponse
- type GetGpgPublicKeyByAlias404JSONResponse
- type GetGpgPublicKeyByAlias429JSONResponse
- type GetGpgPublicKeyByAlias503JSONResponse
- type GetGpgPublicKeyByAliasRequestObject
- type GetGpgPublicKeyByAliasResponseObject
- type GetGpgSigningKey200JSONResponse
- type GetGpgSigningKey401JSONResponse
- type GetGpgSigningKey429JSONResponse
- type GetGpgSigningKey503JSONResponse
- type GetGpgSigningKeyRequestObject
- type GetGpgSigningKeyResponseObject
- type GetLatestReleaseBundleV1Version200JSONResponse
- type GetLatestReleaseBundleV1Version401JSONResponse
- type GetLatestReleaseBundleV1Version404JSONResponse
- type GetLatestReleaseBundleV1Version429JSONResponse
- type GetLatestReleaseBundleV1Version503JSONResponse
- type GetLatestReleaseBundleV1VersionRequestObject
- type GetLatestReleaseBundleV1VersionResponseObject
- type GetOpenMetricsForDistribution200TextResponse
- type GetOpenMetricsForDistribution401JSONResponse
- type GetOpenMetricsForDistribution403JSONResponse
- type GetOpenMetricsForDistribution429JSONResponse
- type GetOpenMetricsForDistribution503JSONResponse
- type GetOpenMetricsForDistributionRequestObject
- type GetOpenMetricsForDistributionResponseObject
- type GetPublicSigningKeyForDistribution200TextResponse
- type GetPublicSigningKeyForDistribution401JSONResponse
- type GetPublicSigningKeyForDistribution403JSONResponse
- type GetPublicSigningKeyForDistribution429JSONResponse
- type GetPublicSigningKeyForDistribution503JSONResponse
- type GetPublicSigningKeyForDistributionRequestObject
- type GetPublicSigningKeyForDistributionResponseObject
- type GetReleaseBundleV1VersionDetails200ApplicationJosePlusJSONResponse
- type GetReleaseBundleV1VersionDetails200ApplicationjoseResponse
- type GetReleaseBundleV1VersionDetails200JSONResponse
- type GetReleaseBundleV1VersionDetails401JSONResponse
- type GetReleaseBundleV1VersionDetails404JSONResponse
- type GetReleaseBundleV1VersionDetails429JSONResponse
- type GetReleaseBundleV1VersionDetails503JSONResponse
- type GetReleaseBundleV1VersionDetailsParams
- type GetReleaseBundleV1VersionDetailsParamsFormat
- type GetReleaseBundleV1VersionDetailsRequestObject
- type GetReleaseBundleV1VersionDetailsResponseObject
- type GetReleaseBundleV1VersionSha256RequestObject
- type GetReleaseBundleV1VersionSha256ResponseObject
- type GetReleaseBundleV1VersionSha256200Response
- type GetReleaseBundleV1VersionSha256200ResponseHeaders
- type GetReleaseBundleV1VersionSha256401Response
- type GetReleaseBundleV1VersionSha256404Response
- type GetReleaseBundleV1VersionSha256429JSONResponse
- type GetReleaseBundleV1VersionSha256503JSONResponse
- type GetReleaseBundleV1VersionsByName200JSONResponse
- type GetReleaseBundleV1VersionsByName401JSONResponse
- type GetReleaseBundleV1VersionsByName404JSONResponse
- type GetReleaseBundleV1VersionsByName429JSONResponse
- type GetReleaseBundleV1VersionsByName503JSONResponse
- type GetReleaseBundleV1VersionsByNameParams
- type GetReleaseBundleV1VersionsByNameRequestObject
- type GetReleaseBundleV1VersionsByNameResponseObject
- type GetReleaseBundleV2DistributionTrackers200JSONResponse
- type GetReleaseBundleV2DistributionTrackers401JSONResponse
- type GetReleaseBundleV2DistributionTrackers403JSONResponse
- type GetReleaseBundleV2DistributionTrackers429JSONResponse
- type GetReleaseBundleV2DistributionTrackers501JSONResponse
- type GetReleaseBundleV2DistributionTrackers503JSONResponse
- type GetReleaseBundleV2DistributionTrackersParams
- type GetReleaseBundleV2DistributionTrackersRequestObject
- type GetReleaseBundleV2DistributionTrackersResponseObject
- type GetStuckDistributions200JSONResponse
- type GetStuckDistributions401JSONResponse
- type GetStuckDistributions403JSONResponse
- type GetStuckDistributions429JSONResponse
- type GetStuckDistributions503JSONResponse
- type GetStuckDistributionsRequestObject
- type GetStuckDistributionsResponseObject
- type GetSupportBundleInfo200JSONResponse
- type GetSupportBundleInfo401JSONResponse
- type GetSupportBundleInfo403JSONResponse
- type GetSupportBundleInfo404JSONResponse
- type GetSupportBundleInfo429JSONResponse
- type GetSupportBundleInfo500JSONResponse
- type GetSupportBundleInfo503JSONResponse
- type GetSupportBundleInfoRequestObject
- type GetSupportBundleInfoResponseObject
- type GetTokenInfos200JSONResponse
- type GetTokenInfos401JSONResponse
- type GetTokenInfos403JSONResponse
- type GetTokenInfos429JSONResponse
- type GetTokenInfos503JSONResponse
- type GetTokenInfosRequestObject
- type GetTokenInfosResponseObject
- type GpgKey
- type GpgKeyAlias
- type GpgKeyUpload
- type IdempotencyKey
- type ImportReleaseBundleV1Version200JSONResponse
- type ImportReleaseBundleV1Version400JSONResponse
- type ImportReleaseBundleV1Version401JSONResponse
- type ImportReleaseBundleV1Version403JSONResponse
- type ImportReleaseBundleV1Version429JSONResponse
- type ImportReleaseBundleV1Version503JSONResponse
- type ImportReleaseBundleV1VersionParams
- type ImportReleaseBundleV1VersionRequestObject
- type ImportReleaseBundleV1VersionResponseObject
- type InvalidParamFormatError
- type ListSupportBundles200JSONResponse
- type ListSupportBundles401JSONResponse
- type ListSupportBundles403JSONResponse
- type ListSupportBundles429JSONResponse
- type ListSupportBundles500JSONResponse
- type ListSupportBundles503JSONResponse
- type ListSupportBundlesRequestObject
- type ListSupportBundlesResponseObject
- type MessageStatusResponse
- type MiddlewareFunc
- type PlatformServiceInstance
- type ProjectQuery
- type PropagatePublicSigningKey200JSONResponse
- type PropagatePublicSigningKey401JSONResponse
- type PropagatePublicSigningKey403JSONResponse
- type PropagatePublicSigningKey429JSONResponse
- type PropagatePublicSigningKey503JSONResponse
- type PropagatePublicSigningKeyRequestObject
- type PropagatePublicSigningKeyResponseObject
- type PropagationReport
- type PropagationReportReportDetailsStatus
- type PropagationReportReportStatus
- type RBv2DistributionRequest
- type RBv2RemoteDeleteRequest
- type ReleaseBundleCreation
- type ReleaseBundleCreationReleaseNotesSyntax
- type ReleaseBundleNamePath
- type ReleaseBundleUpdate
- type ReleaseBundleUpdateReleaseNotesSyntax
- type ReleaseBundleV1Version
- type ReleaseBundleV1VersionReleaseNotesSyntax
- type ReleaseBundleV1VersionState
- type ReleaseBundleVersionPath
- type RemoteDeleteReleaseBundleV2Distribution200JSONResponse
- type RemoteDeleteReleaseBundleV2Distribution202JSONResponse
- type RemoteDeleteReleaseBundleV2Distribution401JSONResponse
- type RemoteDeleteReleaseBundleV2Distribution403JSONResponse
- type RemoteDeleteReleaseBundleV2Distribution429JSONResponse
- type RemoteDeleteReleaseBundleV2Distribution501JSONResponse
- type RemoteDeleteReleaseBundleV2Distribution503JSONResponse
- type RemoteDeleteReleaseBundleV2DistributionJSONRequestBody
- type RemoteDeleteReleaseBundleV2DistributionParams
- type RemoteDeleteReleaseBundleV2DistributionRequestObject
- type RemoteDeleteReleaseBundleV2DistributionResponseObject
- type RepositoryKeyQuery
- type RequiredHeaderError
- type RequiredParamError
- type RevokeToken200Response
- type RevokeToken400JSONResponse
- type RevokeToken401JSONResponse
- type RevokeToken403JSONResponse
- type RevokeToken404JSONResponse
- type RevokeToken429JSONResponse
- type RevokeToken503JSONResponse
- type RevokeTokenFormdataBody
- type RevokeTokenFormdataRequestBody
- type RevokeTokenRequestObject
- type RevokeTokenResponseObject
- type ServerInterface
- type ServerInterfaceWrapper
- func (siw *ServerInterfaceWrapper) AbortReleaseBundleV1Distribution(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AbortReleaseBundleV2Distribution(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateOrRefreshToken(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateReleaseBundleV1Version(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateSpecificSupportBundle(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateSupportBundle(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteAllReleaseBundleV1Versions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteDistributionPermission(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteExportedReleaseBundleV1File(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteGpgKeyByAlias(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteReleaseBundleV1Version(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteReleaseBundleV1VersionFromDistributionEdges(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteSupportBundle(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DistributeByLastDays(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DistributeDynamicReleaseBundleV1(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DistributeReleaseBundleV1Version(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DistributeReleaseBundleV2Version(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DistributionPing(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DownloadSupportBundle(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ExecuteMaintenanceAction(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ExportReleaseBundleV1Version(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GenerateMaintenanceExecutionToken(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetAllBundles(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetAllDistributionPermissions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetAllGpgKeyAliases(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetDistributionEdgeNodes(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetDistributionPermissionByName(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetDistributionStatusDetails(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetDistributionStatusDetailsByReleaseBundleV1Name(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetDistributionStatusDetailsByReleaseBundleV1TrackerId(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetDistributionStatusDetailsByReleaseBundleV1Version(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetDistributionStatusDetailsByTrackerId(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetDistributionSystemInfo(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetDistributionSystemSettings(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetExportedReleaseBundleV1Status(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetGpgPublicKeyByAlias(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetGpgSigningKey(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetLatestReleaseBundleV1Version(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetOpenMetricsForDistribution(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetPublicSigningKeyForDistribution(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetReleaseBundleV1VersionDetails(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetReleaseBundleV1VersionSha256(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetReleaseBundleV1VersionsByName(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetReleaseBundleV2DistributionTrackers(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetStuckDistributions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetSupportBundleInfo(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetTokenInfos(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ImportReleaseBundleV1Version(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListSupportBundles(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PropagatePublicSigningKey(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RemoteDeleteReleaseBundleV2Distribution(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RevokeToken(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetDistributionPermission(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetGpgSigningKey(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SignReleaseBundleV1Version(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) TriggerXrayScanReleaseBundleV1Version(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateDistributionSystemSettings(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateGpgKeyAlias(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateReleaseBundleV1Version(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateReleaseBundleV2DistributionPriority(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UploadAndPropagateGpgSigningKeysForDistribution(w http.ResponseWriter, r *http.Request)
- type ServiceUnavailable
- type ServiceUnavailableJSONResponse
- type ServiceUnavailableResponseHeaders
- type SetDistributionPermission200JSONResponse
- type SetDistributionPermission400JSONResponse
- type SetDistributionPermission401JSONResponse
- type SetDistributionPermission409JSONResponse
- type SetDistributionPermission429JSONResponse
- type SetDistributionPermission503JSONResponse
- type SetDistributionPermissionJSONRequestBody
- type SetDistributionPermissionRequestObject
- type SetDistributionPermissionResponseObject
- type SetGpgSigningKey200JSONResponse
- type SetGpgSigningKey400JSONResponse
- type SetGpgSigningKey401JSONResponse
- type SetGpgSigningKey429JSONResponse
- type SetGpgSigningKey503JSONResponse
- type SetGpgSigningKeyJSONRequestBody
- type SetGpgSigningKeyRequestObject
- type SetGpgSigningKeyResponseObject
- type SignReleaseBundleV1Version200JSONResponse
- type SignReleaseBundleV1Version200ResponseHeaders
- type SignReleaseBundleV1Version400JSONResponse
- type SignReleaseBundleV1Version401JSONResponse
- type SignReleaseBundleV1Version429JSONResponse
- type SignReleaseBundleV1Version503JSONResponse
- type SignReleaseBundleV1VersionJSONBody
- type SignReleaseBundleV1VersionJSONRequestBody
- type SignReleaseBundleV1VersionParams
- type SignReleaseBundleV1VersionRequestObject
- type SignReleaseBundleV1VersionResponseObject
- type StrictHTTPServerOptions
- type StrictHandlerFunc
- type StrictMiddlewareFunc
- type StrictServerInterface
- type StuckDistribution
- type StuckDistributionReleaseBundlesSchema
- type StuckDistributionStatus
- type SupportBundleCreateRequest
- type SupportBundleCreateResponse
- type SupportBundleInfo
- type SupportBundleList
- type SystemInfo
- type SystemInfoStatus
- type SystemSettings
- type TokenInfo
- type TokensResponse
- type TooManyRequests
- type TooManyRequestsJSONResponse
- type TooManyRequestsResponseHeaders
- type TooManyValuesForParamError
- type TriggerXrayScanReleaseBundleV1Version200JSONResponse
- type TriggerXrayScanReleaseBundleV1Version401JSONResponse
- type TriggerXrayScanReleaseBundleV1Version403JSONResponse
- type TriggerXrayScanReleaseBundleV1Version429JSONResponse
- type TriggerXrayScanReleaseBundleV1Version501JSONResponse
- type TriggerXrayScanReleaseBundleV1Version503JSONResponse
- type TriggerXrayScanReleaseBundleV1VersionRequestObject
- type TriggerXrayScanReleaseBundleV1VersionResponseObject
- type UnescapedCookieParamError
- type Unimplemented
- func (_ Unimplemented) AbortReleaseBundleV1Distribution(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) AbortReleaseBundleV2Distribution(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) CreateOrRefreshToken(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) CreateReleaseBundleV1Version(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) CreateSpecificSupportBundle(w http.ResponseWriter, r *http.Request, bundleId string)
- func (_ Unimplemented) CreateSupportBundle(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) DeleteAllReleaseBundleV1Versions(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) DeleteDistributionPermission(w http.ResponseWriter, r *http.Request, permissionName string)
- func (_ Unimplemented) DeleteExportedReleaseBundleV1File(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) DeleteGpgKeyByAlias(w http.ResponseWriter, r *http.Request, alias string)
- func (_ Unimplemented) DeleteReleaseBundleV1Version(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) DeleteReleaseBundleV1VersionFromDistributionEdges(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) DeleteSupportBundle(w http.ResponseWriter, r *http.Request, bundleId string)
- func (_ Unimplemented) DistributeByLastDays(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) DistributeDynamicReleaseBundleV1(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) DistributeReleaseBundleV1Version(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) DistributeReleaseBundleV2Version(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) DistributionPing(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) DownloadSupportBundle(w http.ResponseWriter, r *http.Request, bundleId string)
- func (_ Unimplemented) ExecuteMaintenanceAction(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) ExportReleaseBundleV1Version(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) GenerateMaintenanceExecutionToken(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) GetAllBundles(w http.ResponseWriter, r *http.Request, params GetAllBundlesParams)
- func (_ Unimplemented) GetAllDistributionPermissions(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) GetAllGpgKeyAliases(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) GetDistributionEdgeNodes(w http.ResponseWriter, r *http.Request, params GetDistributionEdgeNodesParams)
- func (_ Unimplemented) GetDistributionPermissionByName(w http.ResponseWriter, r *http.Request, permissionName string)
- func (_ Unimplemented) GetDistributionStatusDetails(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) GetDistributionStatusDetailsByReleaseBundleV1Name(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) GetDistributionStatusDetailsByReleaseBundleV1TrackerId(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) GetDistributionStatusDetailsByReleaseBundleV1Version(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) GetDistributionStatusDetailsByTrackerId(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) GetDistributionSystemInfo(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) GetDistributionSystemSettings(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) GetExportedReleaseBundleV1Status(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) GetGpgPublicKeyByAlias(w http.ResponseWriter, r *http.Request, alias string)
- func (_ Unimplemented) GetGpgSigningKey(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) GetLatestReleaseBundleV1Version(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) GetOpenMetricsForDistribution(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) GetPublicSigningKeyForDistribution(w http.ResponseWriter, r *http.Request, keyName string)
- func (_ Unimplemented) GetReleaseBundleV1VersionDetails(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) GetReleaseBundleV1VersionSha256(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) GetReleaseBundleV1VersionsByName(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) GetReleaseBundleV2DistributionTrackers(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) GetStuckDistributions(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) GetSupportBundleInfo(w http.ResponseWriter, r *http.Request, bundleId string)
- func (_ Unimplemented) GetTokenInfos(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) ImportReleaseBundleV1Version(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) ListSupportBundles(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) PropagatePublicSigningKey(w http.ResponseWriter, r *http.Request, keyName string)
- func (_ Unimplemented) RemoteDeleteReleaseBundleV2Distribution(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) RevokeToken(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) SetDistributionPermission(w http.ResponseWriter, r *http.Request, permissionName string)
- func (_ Unimplemented) SetGpgSigningKey(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) SignReleaseBundleV1Version(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) TriggerXrayScanReleaseBundleV1Version(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) UpdateDistributionSystemSettings(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) UpdateGpgKeyAlias(w http.ResponseWriter, r *http.Request, alias string)
- func (_ Unimplemented) UpdateReleaseBundleV1Version(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) UpdateReleaseBundleV2DistributionPriority(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) UploadAndPropagateGpgSigningKeysForDistribution(w http.ResponseWriter, r *http.Request, ...)
- type UnimplementedStrict
- func (UnimplementedStrict) AbortReleaseBundleV1Distribution(context.Context, AbortReleaseBundleV1DistributionRequestObject) (AbortReleaseBundleV1DistributionResponseObject, error)
- func (UnimplementedStrict) AbortReleaseBundleV2Distribution(context.Context, AbortReleaseBundleV2DistributionRequestObject) (AbortReleaseBundleV2DistributionResponseObject, error)
- func (UnimplementedStrict) CreateOrRefreshToken(context.Context, CreateOrRefreshTokenRequestObject) (CreateOrRefreshTokenResponseObject, error)
- func (UnimplementedStrict) CreateReleaseBundleV1Version(context.Context, CreateReleaseBundleV1VersionRequestObject) (CreateReleaseBundleV1VersionResponseObject, error)
- func (UnimplementedStrict) CreateSpecificSupportBundle(context.Context, CreateSpecificSupportBundleRequestObject) (CreateSpecificSupportBundleResponseObject, error)
- func (UnimplementedStrict) CreateSupportBundle(context.Context, CreateSupportBundleRequestObject) (CreateSupportBundleResponseObject, error)
- func (UnimplementedStrict) DeleteAllReleaseBundleV1Versions(context.Context, DeleteAllReleaseBundleV1VersionsRequestObject) (DeleteAllReleaseBundleV1VersionsResponseObject, error)
- func (UnimplementedStrict) DeleteDistributionPermission(context.Context, DeleteDistributionPermissionRequestObject) (DeleteDistributionPermissionResponseObject, error)
- func (UnimplementedStrict) DeleteExportedReleaseBundleV1File(context.Context, DeleteExportedReleaseBundleV1FileRequestObject) (DeleteExportedReleaseBundleV1FileResponseObject, error)
- func (UnimplementedStrict) DeleteGpgKeyByAlias(context.Context, DeleteGpgKeyByAliasRequestObject) (DeleteGpgKeyByAliasResponseObject, error)
- func (UnimplementedStrict) DeleteReleaseBundleV1Version(context.Context, DeleteReleaseBundleV1VersionRequestObject) (DeleteReleaseBundleV1VersionResponseObject, error)
- func (UnimplementedStrict) DeleteReleaseBundleV1VersionFromDistributionEdges(context.Context, ...) (DeleteReleaseBundleV1VersionFromDistributionEdgesResponseObject, error)
- func (UnimplementedStrict) DeleteSupportBundle(context.Context, DeleteSupportBundleRequestObject) (DeleteSupportBundleResponseObject, error)
- func (UnimplementedStrict) DistributeByLastDays(context.Context, DistributeByLastDaysRequestObject) (DistributeByLastDaysResponseObject, error)
- func (UnimplementedStrict) DistributeDynamicReleaseBundleV1(context.Context, DistributeDynamicReleaseBundleV1RequestObject) (DistributeDynamicReleaseBundleV1ResponseObject, error)
- func (UnimplementedStrict) DistributeReleaseBundleV1Version(context.Context, DistributeReleaseBundleV1VersionRequestObject) (DistributeReleaseBundleV1VersionResponseObject, error)
- func (UnimplementedStrict) DistributeReleaseBundleV2Version(context.Context, DistributeReleaseBundleV2VersionRequestObject) (DistributeReleaseBundleV2VersionResponseObject, error)
- func (UnimplementedStrict) DistributionPing(context.Context, DistributionPingRequestObject) (DistributionPingResponseObject, error)
- func (UnimplementedStrict) DownloadSupportBundle(context.Context, DownloadSupportBundleRequestObject) (DownloadSupportBundleResponseObject, error)
- func (UnimplementedStrict) ExecuteMaintenanceAction(context.Context, ExecuteMaintenanceActionRequestObject) (ExecuteMaintenanceActionResponseObject, error)
- func (UnimplementedStrict) ExportReleaseBundleV1Version(context.Context, ExportReleaseBundleV1VersionRequestObject) (ExportReleaseBundleV1VersionResponseObject, error)
- func (UnimplementedStrict) GenerateMaintenanceExecutionToken(context.Context, GenerateMaintenanceExecutionTokenRequestObject) (GenerateMaintenanceExecutionTokenResponseObject, error)
- func (UnimplementedStrict) GetAllBundles(context.Context, GetAllBundlesRequestObject) (GetAllBundlesResponseObject, error)
- func (UnimplementedStrict) GetAllDistributionPermissions(context.Context, GetAllDistributionPermissionsRequestObject) (GetAllDistributionPermissionsResponseObject, error)
- func (UnimplementedStrict) GetAllGpgKeyAliases(context.Context, GetAllGpgKeyAliasesRequestObject) (GetAllGpgKeyAliasesResponseObject, error)
- func (UnimplementedStrict) GetDistributionEdgeNodes(context.Context, GetDistributionEdgeNodesRequestObject) (GetDistributionEdgeNodesResponseObject, error)
- func (UnimplementedStrict) GetDistributionPermissionByName(context.Context, GetDistributionPermissionByNameRequestObject) (GetDistributionPermissionByNameResponseObject, error)
- func (UnimplementedStrict) GetDistributionStatusDetails(context.Context, GetDistributionStatusDetailsRequestObject) (GetDistributionStatusDetailsResponseObject, error)
- func (UnimplementedStrict) GetDistributionStatusDetailsByReleaseBundleV1Name(context.Context, ...) (GetDistributionStatusDetailsByReleaseBundleV1NameResponseObject, error)
- func (UnimplementedStrict) GetDistributionStatusDetailsByReleaseBundleV1TrackerId(context.Context, ...) (GetDistributionStatusDetailsByReleaseBundleV1TrackerIdResponseObject, error)
- func (UnimplementedStrict) GetDistributionStatusDetailsByReleaseBundleV1Version(context.Context, ...) (GetDistributionStatusDetailsByReleaseBundleV1VersionResponseObject, error)
- func (UnimplementedStrict) GetDistributionStatusDetailsByTrackerId(context.Context, GetDistributionStatusDetailsByTrackerIdRequestObject) (GetDistributionStatusDetailsByTrackerIdResponseObject, error)
- func (UnimplementedStrict) GetDistributionSystemInfo(context.Context, GetDistributionSystemInfoRequestObject) (GetDistributionSystemInfoResponseObject, error)
- func (UnimplementedStrict) GetDistributionSystemSettings(context.Context, GetDistributionSystemSettingsRequestObject) (GetDistributionSystemSettingsResponseObject, error)
- func (UnimplementedStrict) GetExportedReleaseBundleV1Status(context.Context, GetExportedReleaseBundleV1StatusRequestObject) (GetExportedReleaseBundleV1StatusResponseObject, error)
- func (UnimplementedStrict) GetGpgPublicKeyByAlias(context.Context, GetGpgPublicKeyByAliasRequestObject) (GetGpgPublicKeyByAliasResponseObject, error)
- func (UnimplementedStrict) GetGpgSigningKey(context.Context, GetGpgSigningKeyRequestObject) (GetGpgSigningKeyResponseObject, error)
- func (UnimplementedStrict) GetLatestReleaseBundleV1Version(context.Context, GetLatestReleaseBundleV1VersionRequestObject) (GetLatestReleaseBundleV1VersionResponseObject, error)
- func (UnimplementedStrict) GetOpenMetricsForDistribution(context.Context, GetOpenMetricsForDistributionRequestObject) (GetOpenMetricsForDistributionResponseObject, error)
- func (UnimplementedStrict) GetPublicSigningKeyForDistribution(context.Context, GetPublicSigningKeyForDistributionRequestObject) (GetPublicSigningKeyForDistributionResponseObject, error)
- func (UnimplementedStrict) GetReleaseBundleV1VersionDetails(context.Context, GetReleaseBundleV1VersionDetailsRequestObject) (GetReleaseBundleV1VersionDetailsResponseObject, error)
- func (UnimplementedStrict) GetReleaseBundleV1VersionSha256(context.Context, GetReleaseBundleV1VersionSha256RequestObject) (GetReleaseBundleV1VersionSha256ResponseObject, error)
- func (UnimplementedStrict) GetReleaseBundleV1VersionsByName(context.Context, GetReleaseBundleV1VersionsByNameRequestObject) (GetReleaseBundleV1VersionsByNameResponseObject, error)
- func (UnimplementedStrict) GetReleaseBundleV2DistributionTrackers(context.Context, GetReleaseBundleV2DistributionTrackersRequestObject) (GetReleaseBundleV2DistributionTrackersResponseObject, error)
- func (UnimplementedStrict) GetStuckDistributions(context.Context, GetStuckDistributionsRequestObject) (GetStuckDistributionsResponseObject, error)
- func (UnimplementedStrict) GetSupportBundleInfo(context.Context, GetSupportBundleInfoRequestObject) (GetSupportBundleInfoResponseObject, error)
- func (UnimplementedStrict) GetTokenInfos(context.Context, GetTokenInfosRequestObject) (GetTokenInfosResponseObject, error)
- func (UnimplementedStrict) ImportReleaseBundleV1Version(context.Context, ImportReleaseBundleV1VersionRequestObject) (ImportReleaseBundleV1VersionResponseObject, error)
- func (UnimplementedStrict) ListSupportBundles(context.Context, ListSupportBundlesRequestObject) (ListSupportBundlesResponseObject, error)
- func (UnimplementedStrict) PropagatePublicSigningKey(context.Context, PropagatePublicSigningKeyRequestObject) (PropagatePublicSigningKeyResponseObject, error)
- func (UnimplementedStrict) RemoteDeleteReleaseBundleV2Distribution(context.Context, RemoteDeleteReleaseBundleV2DistributionRequestObject) (RemoteDeleteReleaseBundleV2DistributionResponseObject, error)
- func (UnimplementedStrict) RevokeToken(context.Context, RevokeTokenRequestObject) (RevokeTokenResponseObject, error)
- func (UnimplementedStrict) SetDistributionPermission(context.Context, SetDistributionPermissionRequestObject) (SetDistributionPermissionResponseObject, error)
- func (UnimplementedStrict) SetGpgSigningKey(context.Context, SetGpgSigningKeyRequestObject) (SetGpgSigningKeyResponseObject, error)
- func (UnimplementedStrict) SignReleaseBundleV1Version(context.Context, SignReleaseBundleV1VersionRequestObject) (SignReleaseBundleV1VersionResponseObject, error)
- func (UnimplementedStrict) TriggerXrayScanReleaseBundleV1Version(context.Context, TriggerXrayScanReleaseBundleV1VersionRequestObject) (TriggerXrayScanReleaseBundleV1VersionResponseObject, error)
- func (UnimplementedStrict) UpdateDistributionSystemSettings(context.Context, UpdateDistributionSystemSettingsRequestObject) (UpdateDistributionSystemSettingsResponseObject, error)
- func (UnimplementedStrict) UpdateGpgKeyAlias(context.Context, UpdateGpgKeyAliasRequestObject) (UpdateGpgKeyAliasResponseObject, error)
- func (UnimplementedStrict) UpdateReleaseBundleV1Version(context.Context, UpdateReleaseBundleV1VersionRequestObject) (UpdateReleaseBundleV1VersionResponseObject, error)
- func (UnimplementedStrict) UpdateReleaseBundleV2DistributionPriority(context.Context, UpdateReleaseBundleV2DistributionPriorityRequestObject) (UpdateReleaseBundleV2DistributionPriorityResponseObject, error)
- func (UnimplementedStrict) UploadAndPropagateGpgSigningKeysForDistribution(context.Context, UploadAndPropagateGpgSigningKeysForDistributionRequestObject) (UploadAndPropagateGpgSigningKeysForDistributionResponseObject, error)
- type UnlockStuckReport
- type UnmarshalingParamError
- type UpdateDistributionSystemSettings200Response
- type UpdateDistributionSystemSettings401JSONResponse
- type UpdateDistributionSystemSettings403JSONResponse
- type UpdateDistributionSystemSettings429JSONResponse
- type UpdateDistributionSystemSettings503JSONResponse
- type UpdateDistributionSystemSettingsJSONRequestBody
- type UpdateDistributionSystemSettingsRequestObject
- type UpdateDistributionSystemSettingsResponseObject
- type UpdateGpgKeyAlias200JSONResponse
- type UpdateGpgKeyAlias401JSONResponse
- type UpdateGpgKeyAlias404JSONResponse
- type UpdateGpgKeyAlias429JSONResponse
- type UpdateGpgKeyAlias503JSONResponse
- type UpdateGpgKeyAliasJSONBody
- type UpdateGpgKeyAliasJSONRequestBody
- type UpdateGpgKeyAliasRequestObject
- type UpdateGpgKeyAliasResponseObject
- type UpdateReleaseBundleV1Version200JSONResponse
- type UpdateReleaseBundleV1Version200ResponseHeaders
- type UpdateReleaseBundleV1Version400JSONResponse
- type UpdateReleaseBundleV1Version401JSONResponse
- type UpdateReleaseBundleV1Version429JSONResponse
- type UpdateReleaseBundleV1Version503JSONResponse
- type UpdateReleaseBundleV1VersionJSONRequestBody
- type UpdateReleaseBundleV1VersionParams
- type UpdateReleaseBundleV1VersionRequestObject
- type UpdateReleaseBundleV1VersionResponseObject
- type UpdateReleaseBundleV2DistributionPriority200JSONResponse
- type UpdateReleaseBundleV2DistributionPriority400JSONResponse
- type UpdateReleaseBundleV2DistributionPriority401JSONResponse
- type UpdateReleaseBundleV2DistributionPriority403JSONResponse
- type UpdateReleaseBundleV2DistributionPriority404JSONResponse
- type UpdateReleaseBundleV2DistributionPriority429JSONResponse
- type UpdateReleaseBundleV2DistributionPriority501JSONResponse
- type UpdateReleaseBundleV2DistributionPriority503JSONResponse
- type UpdateReleaseBundleV2DistributionPriorityJSONRequestBody
- type UpdateReleaseBundleV2DistributionPriorityRequestObject
- type UpdateReleaseBundleV2DistributionPriorityResponseObject
- type UploadAndPropagateGpgSigningKeysForDistribution200JSONResponse
- type UploadAndPropagateGpgSigningKeysForDistribution401JSONResponse
- type UploadAndPropagateGpgSigningKeysForDistribution429JSONResponse
- type UploadAndPropagateGpgSigningKeysForDistribution503JSONResponse
- type UploadAndPropagateGpgSigningKeysForDistributionParams
- type UploadAndPropagateGpgSigningKeysForDistributionRequestObject
- type UploadAndPropagateGpgSigningKeysForDistributionResponseObject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSpec ¶
GetSpec returns the OpenAPI specification corresponding to the generated code in this file. External references in the spec are resolved through PathToRawSpec; externally-referenced files must be embedded in their corresponding Go packages (via the import-mapping feature). URL-based external refs are not supported.
func GetSpecJSON ¶
GetSpecJSON returns the raw JSON bytes of the embedded OpenAPI specification: decompressed but not unmarshaled. External references are not resolved here; the bytes are the spec exactly as embedded by codegen. The result is cached at package init time, so repeated calls are cheap.
func GetSwagger
deprecated
func Handler ¶
func Handler(si ServerInterface) http.Handler
Handler creates http.Handler with routing matching OpenAPI spec.
func HandlerFromMux ¶
func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler
HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.
func HandlerWithOptions ¶
func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler
HandlerWithOptions creates http.Handler with additional options
Types ¶
type AbortReleaseBundleV1Distribution202JSONResponse ¶
type AbortReleaseBundleV1Distribution202JSONResponse []PlatformServiceInstance
func (AbortReleaseBundleV1Distribution202JSONResponse) VisitAbortReleaseBundleV1DistributionResponse ¶
func (response AbortReleaseBundleV1Distribution202JSONResponse) VisitAbortReleaseBundleV1DistributionResponse(w http.ResponseWriter) error
type AbortReleaseBundleV1Distribution204Response ¶
type AbortReleaseBundleV1Distribution204Response struct {
}
func (AbortReleaseBundleV1Distribution204Response) VisitAbortReleaseBundleV1DistributionResponse ¶
func (response AbortReleaseBundleV1Distribution204Response) VisitAbortReleaseBundleV1DistributionResponse(w http.ResponseWriter) error
type AbortReleaseBundleV1Distribution401JSONResponse ¶
type AbortReleaseBundleV1Distribution401JSONResponse ErrorResponse
func (AbortReleaseBundleV1Distribution401JSONResponse) VisitAbortReleaseBundleV1DistributionResponse ¶
func (response AbortReleaseBundleV1Distribution401JSONResponse) VisitAbortReleaseBundleV1DistributionResponse(w http.ResponseWriter) error
type AbortReleaseBundleV1Distribution403JSONResponse ¶
type AbortReleaseBundleV1Distribution403JSONResponse ErrorResponse
func (AbortReleaseBundleV1Distribution403JSONResponse) VisitAbortReleaseBundleV1DistributionResponse ¶
func (response AbortReleaseBundleV1Distribution403JSONResponse) VisitAbortReleaseBundleV1DistributionResponse(w http.ResponseWriter) error
type AbortReleaseBundleV1Distribution429JSONResponse ¶
type AbortReleaseBundleV1Distribution429JSONResponse struct{ TooManyRequestsJSONResponse }
func (AbortReleaseBundleV1Distribution429JSONResponse) VisitAbortReleaseBundleV1DistributionResponse ¶
func (response AbortReleaseBundleV1Distribution429JSONResponse) VisitAbortReleaseBundleV1DistributionResponse(w http.ResponseWriter) error
type AbortReleaseBundleV1Distribution503JSONResponse ¶
func (AbortReleaseBundleV1Distribution503JSONResponse) VisitAbortReleaseBundleV1DistributionResponse ¶
func (response AbortReleaseBundleV1Distribution503JSONResponse) VisitAbortReleaseBundleV1DistributionResponse(w http.ResponseWriter) error
type AbortReleaseBundleV1DistributionRequestObject ¶
type AbortReleaseBundleV1DistributionRequestObject struct {
ReleaseBundleName ReleaseBundleNamePath `json:"release_bundle_name"`
ReleaseBundleVersion ReleaseBundleVersionPath `json:"release_bundle_version"`
}
type AbortReleaseBundleV1DistributionResponseObject ¶
type AbortReleaseBundleV1DistributionResponseObject interface {
VisitAbortReleaseBundleV1DistributionResponse(w http.ResponseWriter) error
}
type AbortReleaseBundleV2Distribution202JSONResponse ¶
type AbortReleaseBundleV2Distribution202JSONResponse []PlatformServiceInstance
func (AbortReleaseBundleV2Distribution202JSONResponse) VisitAbortReleaseBundleV2DistributionResponse ¶
func (response AbortReleaseBundleV2Distribution202JSONResponse) VisitAbortReleaseBundleV2DistributionResponse(w http.ResponseWriter) error
type AbortReleaseBundleV2Distribution204Response ¶
type AbortReleaseBundleV2Distribution204Response struct {
}
func (AbortReleaseBundleV2Distribution204Response) VisitAbortReleaseBundleV2DistributionResponse ¶
func (response AbortReleaseBundleV2Distribution204Response) VisitAbortReleaseBundleV2DistributionResponse(w http.ResponseWriter) error
type AbortReleaseBundleV2Distribution401JSONResponse ¶
type AbortReleaseBundleV2Distribution401JSONResponse ErrorResponse
func (AbortReleaseBundleV2Distribution401JSONResponse) VisitAbortReleaseBundleV2DistributionResponse ¶
func (response AbortReleaseBundleV2Distribution401JSONResponse) VisitAbortReleaseBundleV2DistributionResponse(w http.ResponseWriter) error
type AbortReleaseBundleV2Distribution403JSONResponse ¶
type AbortReleaseBundleV2Distribution403JSONResponse ErrorResponse
func (AbortReleaseBundleV2Distribution403JSONResponse) VisitAbortReleaseBundleV2DistributionResponse ¶
func (response AbortReleaseBundleV2Distribution403JSONResponse) VisitAbortReleaseBundleV2DistributionResponse(w http.ResponseWriter) error
type AbortReleaseBundleV2Distribution429JSONResponse ¶
type AbortReleaseBundleV2Distribution429JSONResponse struct{ TooManyRequestsJSONResponse }
func (AbortReleaseBundleV2Distribution429JSONResponse) VisitAbortReleaseBundleV2DistributionResponse ¶
func (response AbortReleaseBundleV2Distribution429JSONResponse) VisitAbortReleaseBundleV2DistributionResponse(w http.ResponseWriter) error
type AbortReleaseBundleV2Distribution501JSONResponse ¶
type AbortReleaseBundleV2Distribution501JSONResponse ErrorResponse
func (AbortReleaseBundleV2Distribution501JSONResponse) VisitAbortReleaseBundleV2DistributionResponse ¶
func (response AbortReleaseBundleV2Distribution501JSONResponse) VisitAbortReleaseBundleV2DistributionResponse(w http.ResponseWriter) error
type AbortReleaseBundleV2Distribution503JSONResponse ¶
func (AbortReleaseBundleV2Distribution503JSONResponse) VisitAbortReleaseBundleV2DistributionResponse ¶
func (response AbortReleaseBundleV2Distribution503JSONResponse) VisitAbortReleaseBundleV2DistributionResponse(w http.ResponseWriter) error
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 AbortReleaseBundleV2DistributionRequestObject ¶
type AbortReleaseBundleV2DistributionRequestObject struct {
ReleaseBundleName ReleaseBundleNamePath `json:"release_bundle_name"`
ReleaseBundleVersion ReleaseBundleVersionPath `json:"release_bundle_version"`
Params AbortReleaseBundleV2DistributionParams
}
type AbortReleaseBundleV2DistributionResponseObject ¶
type AbortReleaseBundleV2DistributionResponseObject interface {
VisitAbortReleaseBundleV2DistributionResponse(w http.ResponseWriter) error
}
type ChiServerOptions ¶
type ChiServerOptions struct {
BaseURL string
BaseRouter chi.Router
Middlewares []MiddlewareFunc
ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
type CreateOrRefreshToken200JSONResponse ¶
type CreateOrRefreshToken200JSONResponse DistributionTokenResponse
func (CreateOrRefreshToken200JSONResponse) VisitCreateOrRefreshTokenResponse ¶
func (response CreateOrRefreshToken200JSONResponse) VisitCreateOrRefreshTokenResponse(w http.ResponseWriter) error
type CreateOrRefreshToken201JSONResponse ¶
type CreateOrRefreshToken201JSONResponse DistributionTokenResponse
func (CreateOrRefreshToken201JSONResponse) VisitCreateOrRefreshTokenResponse ¶
func (response CreateOrRefreshToken201JSONResponse) VisitCreateOrRefreshTokenResponse(w http.ResponseWriter) error
type CreateOrRefreshToken400JSONResponse ¶
type CreateOrRefreshToken400JSONResponse ErrorResponse
func (CreateOrRefreshToken400JSONResponse) VisitCreateOrRefreshTokenResponse ¶
func (response CreateOrRefreshToken400JSONResponse) VisitCreateOrRefreshTokenResponse(w http.ResponseWriter) error
type CreateOrRefreshToken401JSONResponse ¶
type CreateOrRefreshToken401JSONResponse ErrorResponse
func (CreateOrRefreshToken401JSONResponse) VisitCreateOrRefreshTokenResponse ¶
func (response CreateOrRefreshToken401JSONResponse) VisitCreateOrRefreshTokenResponse(w http.ResponseWriter) error
type CreateOrRefreshToken403JSONResponse ¶
type CreateOrRefreshToken403JSONResponse ErrorResponse
func (CreateOrRefreshToken403JSONResponse) VisitCreateOrRefreshTokenResponse ¶
func (response CreateOrRefreshToken403JSONResponse) VisitCreateOrRefreshTokenResponse(w http.ResponseWriter) error
type CreateOrRefreshToken429JSONResponse ¶
type CreateOrRefreshToken429JSONResponse struct{ TooManyRequestsJSONResponse }
func (CreateOrRefreshToken429JSONResponse) VisitCreateOrRefreshTokenResponse ¶
func (response CreateOrRefreshToken429JSONResponse) VisitCreateOrRefreshTokenResponse(w http.ResponseWriter) error
type CreateOrRefreshToken503JSONResponse ¶
func (CreateOrRefreshToken503JSONResponse) VisitCreateOrRefreshTokenResponse ¶
func (response CreateOrRefreshToken503JSONResponse) VisitCreateOrRefreshTokenResponse(w http.ResponseWriter) error
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 ¶
func (e CreateOrRefreshTokenFormdataBodyGrantType) Valid() bool
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 CreateOrRefreshTokenRequestObject ¶
type CreateOrRefreshTokenRequestObject struct {
Body *CreateOrRefreshTokenFormdataRequestBody
}
type CreateOrRefreshTokenResponseObject ¶
type CreateOrRefreshTokenResponseObject interface {
VisitCreateOrRefreshTokenResponse(w http.ResponseWriter) error
}
type CreateReleaseBundleV1Version200JSONResponse ¶
type CreateReleaseBundleV1Version200JSONResponse ReleaseBundleV1Version
func (CreateReleaseBundleV1Version200JSONResponse) VisitCreateReleaseBundleV1VersionResponse ¶
func (response CreateReleaseBundleV1Version200JSONResponse) VisitCreateReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type CreateReleaseBundleV1Version201JSONResponse ¶
type CreateReleaseBundleV1Version201JSONResponse struct {
Body ReleaseBundleV1Version
Headers CreateReleaseBundleV1Version201ResponseHeaders
}
func (CreateReleaseBundleV1Version201JSONResponse) VisitCreateReleaseBundleV1VersionResponse ¶
func (response CreateReleaseBundleV1Version201JSONResponse) VisitCreateReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type CreateReleaseBundleV1Version201ResponseHeaders ¶
type CreateReleaseBundleV1Version201ResponseHeaders struct {
XChecksumSha256 *string
}
type CreateReleaseBundleV1Version400JSONResponse ¶
type CreateReleaseBundleV1Version400JSONResponse ErrorResponse
func (CreateReleaseBundleV1Version400JSONResponse) VisitCreateReleaseBundleV1VersionResponse ¶
func (response CreateReleaseBundleV1Version400JSONResponse) VisitCreateReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type CreateReleaseBundleV1Version401JSONResponse ¶
type CreateReleaseBundleV1Version401JSONResponse ErrorResponse
func (CreateReleaseBundleV1Version401JSONResponse) VisitCreateReleaseBundleV1VersionResponse ¶
func (response CreateReleaseBundleV1Version401JSONResponse) VisitCreateReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type CreateReleaseBundleV1Version409JSONResponse ¶
type CreateReleaseBundleV1Version409JSONResponse ErrorResponse
func (CreateReleaseBundleV1Version409JSONResponse) VisitCreateReleaseBundleV1VersionResponse ¶
func (response CreateReleaseBundleV1Version409JSONResponse) VisitCreateReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type CreateReleaseBundleV1Version429JSONResponse ¶
type CreateReleaseBundleV1Version429JSONResponse struct{ TooManyRequestsJSONResponse }
func (CreateReleaseBundleV1Version429JSONResponse) VisitCreateReleaseBundleV1VersionResponse ¶
func (response CreateReleaseBundleV1Version429JSONResponse) VisitCreateReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type CreateReleaseBundleV1Version503JSONResponse ¶
func (CreateReleaseBundleV1Version503JSONResponse) VisitCreateReleaseBundleV1VersionResponse ¶
func (response CreateReleaseBundleV1Version503JSONResponse) VisitCreateReleaseBundleV1VersionResponse(w http.ResponseWriter) error
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 CreateReleaseBundleV1VersionRequestObject ¶
type CreateReleaseBundleV1VersionRequestObject struct {
Params CreateReleaseBundleV1VersionParams
Body *CreateReleaseBundleV1VersionJSONRequestBody
}
type CreateReleaseBundleV1VersionResponseObject ¶
type CreateReleaseBundleV1VersionResponseObject interface {
VisitCreateReleaseBundleV1VersionResponse(w http.ResponseWriter) error
}
type CreateSpecificSupportBundle200JSONResponse ¶
type CreateSpecificSupportBundle200JSONResponse SupportBundleCreateResponse
func (CreateSpecificSupportBundle200JSONResponse) VisitCreateSpecificSupportBundleResponse ¶
func (response CreateSpecificSupportBundle200JSONResponse) VisitCreateSpecificSupportBundleResponse(w http.ResponseWriter) error
type CreateSpecificSupportBundle400JSONResponse ¶
type CreateSpecificSupportBundle400JSONResponse ErrorResponse
func (CreateSpecificSupportBundle400JSONResponse) VisitCreateSpecificSupportBundleResponse ¶
func (response CreateSpecificSupportBundle400JSONResponse) VisitCreateSpecificSupportBundleResponse(w http.ResponseWriter) error
type CreateSpecificSupportBundle401JSONResponse ¶
type CreateSpecificSupportBundle401JSONResponse ErrorResponse
func (CreateSpecificSupportBundle401JSONResponse) VisitCreateSpecificSupportBundleResponse ¶
func (response CreateSpecificSupportBundle401JSONResponse) VisitCreateSpecificSupportBundleResponse(w http.ResponseWriter) error
type CreateSpecificSupportBundle403JSONResponse ¶
type CreateSpecificSupportBundle403JSONResponse ErrorResponse
func (CreateSpecificSupportBundle403JSONResponse) VisitCreateSpecificSupportBundleResponse ¶
func (response CreateSpecificSupportBundle403JSONResponse) VisitCreateSpecificSupportBundleResponse(w http.ResponseWriter) error
type CreateSpecificSupportBundle404JSONResponse ¶
type CreateSpecificSupportBundle404JSONResponse ErrorResponse
func (CreateSpecificSupportBundle404JSONResponse) VisitCreateSpecificSupportBundleResponse ¶
func (response CreateSpecificSupportBundle404JSONResponse) VisitCreateSpecificSupportBundleResponse(w http.ResponseWriter) error
type CreateSpecificSupportBundle429JSONResponse ¶
type CreateSpecificSupportBundle429JSONResponse struct{ TooManyRequestsJSONResponse }
func (CreateSpecificSupportBundle429JSONResponse) VisitCreateSpecificSupportBundleResponse ¶
func (response CreateSpecificSupportBundle429JSONResponse) VisitCreateSpecificSupportBundleResponse(w http.ResponseWriter) error
type CreateSpecificSupportBundle500JSONResponse ¶
type CreateSpecificSupportBundle500JSONResponse ErrorResponse
func (CreateSpecificSupportBundle500JSONResponse) VisitCreateSpecificSupportBundleResponse ¶
func (response CreateSpecificSupportBundle500JSONResponse) VisitCreateSpecificSupportBundleResponse(w http.ResponseWriter) error
type CreateSpecificSupportBundle503JSONResponse ¶
func (CreateSpecificSupportBundle503JSONResponse) VisitCreateSpecificSupportBundleResponse ¶
func (response CreateSpecificSupportBundle503JSONResponse) VisitCreateSpecificSupportBundleResponse(w http.ResponseWriter) error
type CreateSpecificSupportBundleJSONRequestBody ¶
type CreateSpecificSupportBundleJSONRequestBody = SupportBundleCreateRequest
CreateSpecificSupportBundleJSONRequestBody defines body for CreateSpecificSupportBundle for application/json ContentType.
type CreateSpecificSupportBundleRequestObject ¶
type CreateSpecificSupportBundleRequestObject struct {
BundleId string `json:"bundle_id"`
Body *CreateSpecificSupportBundleJSONRequestBody
}
type CreateSpecificSupportBundleResponseObject ¶
type CreateSpecificSupportBundleResponseObject interface {
VisitCreateSpecificSupportBundleResponse(w http.ResponseWriter) error
}
type CreateSupportBundle200JSONResponse ¶
type CreateSupportBundle200JSONResponse SupportBundleCreateResponse
func (CreateSupportBundle200JSONResponse) VisitCreateSupportBundleResponse ¶
func (response CreateSupportBundle200JSONResponse) VisitCreateSupportBundleResponse(w http.ResponseWriter) error
type CreateSupportBundle400JSONResponse ¶
type CreateSupportBundle400JSONResponse ErrorResponse
func (CreateSupportBundle400JSONResponse) VisitCreateSupportBundleResponse ¶
func (response CreateSupportBundle400JSONResponse) VisitCreateSupportBundleResponse(w http.ResponseWriter) error
type CreateSupportBundle401JSONResponse ¶
type CreateSupportBundle401JSONResponse ErrorResponse
func (CreateSupportBundle401JSONResponse) VisitCreateSupportBundleResponse ¶
func (response CreateSupportBundle401JSONResponse) VisitCreateSupportBundleResponse(w http.ResponseWriter) error
type CreateSupportBundle403JSONResponse ¶
type CreateSupportBundle403JSONResponse ErrorResponse
func (CreateSupportBundle403JSONResponse) VisitCreateSupportBundleResponse ¶
func (response CreateSupportBundle403JSONResponse) VisitCreateSupportBundleResponse(w http.ResponseWriter) error
type CreateSupportBundle429JSONResponse ¶
type CreateSupportBundle429JSONResponse struct{ TooManyRequestsJSONResponse }
func (CreateSupportBundle429JSONResponse) VisitCreateSupportBundleResponse ¶
func (response CreateSupportBundle429JSONResponse) VisitCreateSupportBundleResponse(w http.ResponseWriter) error
type CreateSupportBundle500JSONResponse ¶
type CreateSupportBundle500JSONResponse ErrorResponse
func (CreateSupportBundle500JSONResponse) VisitCreateSupportBundleResponse ¶
func (response CreateSupportBundle500JSONResponse) VisitCreateSupportBundleResponse(w http.ResponseWriter) error
type CreateSupportBundle503JSONResponse ¶
func (CreateSupportBundle503JSONResponse) VisitCreateSupportBundleResponse ¶
func (response CreateSupportBundle503JSONResponse) VisitCreateSupportBundleResponse(w http.ResponseWriter) error
type CreateSupportBundleJSONRequestBody ¶
type CreateSupportBundleJSONRequestBody = SupportBundleCreateRequest
CreateSupportBundleJSONRequestBody defines body for CreateSupportBundle for application/json ContentType.
type CreateSupportBundleRequestObject ¶
type CreateSupportBundleRequestObject struct {
Body *CreateSupportBundleJSONRequestBody
}
type CreateSupportBundleResponseObject ¶
type CreateSupportBundleResponseObject interface {
VisitCreateSupportBundleResponse(w http.ResponseWriter) error
}
type DeleteAllReleaseBundleV1Versions204Response ¶
type DeleteAllReleaseBundleV1Versions204Response struct {
}
func (DeleteAllReleaseBundleV1Versions204Response) VisitDeleteAllReleaseBundleV1VersionsResponse ¶
func (response DeleteAllReleaseBundleV1Versions204Response) VisitDeleteAllReleaseBundleV1VersionsResponse(w http.ResponseWriter) error
type DeleteAllReleaseBundleV1Versions401JSONResponse ¶
type DeleteAllReleaseBundleV1Versions401JSONResponse ErrorResponse
func (DeleteAllReleaseBundleV1Versions401JSONResponse) VisitDeleteAllReleaseBundleV1VersionsResponse ¶
func (response DeleteAllReleaseBundleV1Versions401JSONResponse) VisitDeleteAllReleaseBundleV1VersionsResponse(w http.ResponseWriter) error
type DeleteAllReleaseBundleV1Versions403JSONResponse ¶
type DeleteAllReleaseBundleV1Versions403JSONResponse ErrorResponse
func (DeleteAllReleaseBundleV1Versions403JSONResponse) VisitDeleteAllReleaseBundleV1VersionsResponse ¶
func (response DeleteAllReleaseBundleV1Versions403JSONResponse) VisitDeleteAllReleaseBundleV1VersionsResponse(w http.ResponseWriter) error
type DeleteAllReleaseBundleV1Versions429JSONResponse ¶
type DeleteAllReleaseBundleV1Versions429JSONResponse struct{ TooManyRequestsJSONResponse }
func (DeleteAllReleaseBundleV1Versions429JSONResponse) VisitDeleteAllReleaseBundleV1VersionsResponse ¶
func (response DeleteAllReleaseBundleV1Versions429JSONResponse) VisitDeleteAllReleaseBundleV1VersionsResponse(w http.ResponseWriter) error
type DeleteAllReleaseBundleV1Versions503JSONResponse ¶
func (DeleteAllReleaseBundleV1Versions503JSONResponse) VisitDeleteAllReleaseBundleV1VersionsResponse ¶
func (response DeleteAllReleaseBundleV1Versions503JSONResponse) VisitDeleteAllReleaseBundleV1VersionsResponse(w http.ResponseWriter) error
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 DeleteAllReleaseBundleV1VersionsRequestObject ¶
type DeleteAllReleaseBundleV1VersionsRequestObject struct {
ReleaseBundleName ReleaseBundleNamePath `json:"release_bundle_name"`
Params DeleteAllReleaseBundleV1VersionsParams
}
type DeleteAllReleaseBundleV1VersionsResponseObject ¶
type DeleteAllReleaseBundleV1VersionsResponseObject interface {
VisitDeleteAllReleaseBundleV1VersionsResponse(w http.ResponseWriter) error
}
type DeleteDistributionPermission204Response ¶
type DeleteDistributionPermission204Response struct {
}
func (DeleteDistributionPermission204Response) VisitDeleteDistributionPermissionResponse ¶
func (response DeleteDistributionPermission204Response) VisitDeleteDistributionPermissionResponse(w http.ResponseWriter) error
type DeleteDistributionPermission401JSONResponse ¶
type DeleteDistributionPermission401JSONResponse ErrorResponse
func (DeleteDistributionPermission401JSONResponse) VisitDeleteDistributionPermissionResponse ¶
func (response DeleteDistributionPermission401JSONResponse) VisitDeleteDistributionPermissionResponse(w http.ResponseWriter) error
type DeleteDistributionPermission404JSONResponse ¶
type DeleteDistributionPermission404JSONResponse ErrorResponse
func (DeleteDistributionPermission404JSONResponse) VisitDeleteDistributionPermissionResponse ¶
func (response DeleteDistributionPermission404JSONResponse) VisitDeleteDistributionPermissionResponse(w http.ResponseWriter) error
type DeleteDistributionPermission429JSONResponse ¶
type DeleteDistributionPermission429JSONResponse struct{ TooManyRequestsJSONResponse }
func (DeleteDistributionPermission429JSONResponse) VisitDeleteDistributionPermissionResponse ¶
func (response DeleteDistributionPermission429JSONResponse) VisitDeleteDistributionPermissionResponse(w http.ResponseWriter) error
type DeleteDistributionPermission503JSONResponse ¶
func (DeleteDistributionPermission503JSONResponse) VisitDeleteDistributionPermissionResponse ¶
func (response DeleteDistributionPermission503JSONResponse) VisitDeleteDistributionPermissionResponse(w http.ResponseWriter) error
type DeleteDistributionPermissionRequestObject ¶
type DeleteDistributionPermissionRequestObject struct {
PermissionName string `json:"permission_name"`
}
type DeleteDistributionPermissionResponseObject ¶
type DeleteDistributionPermissionResponseObject interface {
VisitDeleteDistributionPermissionResponse(w http.ResponseWriter) error
}
type DeleteExportedReleaseBundleV1File200Response ¶
type DeleteExportedReleaseBundleV1File200Response struct {
}
func (DeleteExportedReleaseBundleV1File200Response) VisitDeleteExportedReleaseBundleV1FileResponse ¶
func (response DeleteExportedReleaseBundleV1File200Response) VisitDeleteExportedReleaseBundleV1FileResponse(w http.ResponseWriter) error
type DeleteExportedReleaseBundleV1File401JSONResponse ¶
type DeleteExportedReleaseBundleV1File401JSONResponse ErrorResponse
func (DeleteExportedReleaseBundleV1File401JSONResponse) VisitDeleteExportedReleaseBundleV1FileResponse ¶
func (response DeleteExportedReleaseBundleV1File401JSONResponse) VisitDeleteExportedReleaseBundleV1FileResponse(w http.ResponseWriter) error
type DeleteExportedReleaseBundleV1File429JSONResponse ¶
type DeleteExportedReleaseBundleV1File429JSONResponse struct{ TooManyRequestsJSONResponse }
func (DeleteExportedReleaseBundleV1File429JSONResponse) VisitDeleteExportedReleaseBundleV1FileResponse ¶
func (response DeleteExportedReleaseBundleV1File429JSONResponse) VisitDeleteExportedReleaseBundleV1FileResponse(w http.ResponseWriter) error
type DeleteExportedReleaseBundleV1File503JSONResponse ¶
func (DeleteExportedReleaseBundleV1File503JSONResponse) VisitDeleteExportedReleaseBundleV1FileResponse ¶
func (response DeleteExportedReleaseBundleV1File503JSONResponse) VisitDeleteExportedReleaseBundleV1FileResponse(w http.ResponseWriter) error
type DeleteExportedReleaseBundleV1FileRequestObject ¶
type DeleteExportedReleaseBundleV1FileRequestObject struct {
ReleaseBundleName ReleaseBundleNamePath `json:"release_bundle_name"`
ReleaseBundleVersion ReleaseBundleVersionPath `json:"release_bundle_version"`
}
type DeleteExportedReleaseBundleV1FileResponseObject ¶
type DeleteExportedReleaseBundleV1FileResponseObject interface {
VisitDeleteExportedReleaseBundleV1FileResponse(w http.ResponseWriter) error
}
type DeleteGpgKeyByAlias200Response ¶
type DeleteGpgKeyByAlias200Response struct {
}
func (DeleteGpgKeyByAlias200Response) VisitDeleteGpgKeyByAliasResponse ¶
func (response DeleteGpgKeyByAlias200Response) VisitDeleteGpgKeyByAliasResponse(w http.ResponseWriter) error
type DeleteGpgKeyByAlias401JSONResponse ¶
type DeleteGpgKeyByAlias401JSONResponse ErrorResponse
func (DeleteGpgKeyByAlias401JSONResponse) VisitDeleteGpgKeyByAliasResponse ¶
func (response DeleteGpgKeyByAlias401JSONResponse) VisitDeleteGpgKeyByAliasResponse(w http.ResponseWriter) error
type DeleteGpgKeyByAlias404JSONResponse ¶
type DeleteGpgKeyByAlias404JSONResponse ErrorResponse
func (DeleteGpgKeyByAlias404JSONResponse) VisitDeleteGpgKeyByAliasResponse ¶
func (response DeleteGpgKeyByAlias404JSONResponse) VisitDeleteGpgKeyByAliasResponse(w http.ResponseWriter) error
type DeleteGpgKeyByAlias429JSONResponse ¶
type DeleteGpgKeyByAlias429JSONResponse struct{ TooManyRequestsJSONResponse }
func (DeleteGpgKeyByAlias429JSONResponse) VisitDeleteGpgKeyByAliasResponse ¶
func (response DeleteGpgKeyByAlias429JSONResponse) VisitDeleteGpgKeyByAliasResponse(w http.ResponseWriter) error
type DeleteGpgKeyByAlias503JSONResponse ¶
func (DeleteGpgKeyByAlias503JSONResponse) VisitDeleteGpgKeyByAliasResponse ¶
func (response DeleteGpgKeyByAlias503JSONResponse) VisitDeleteGpgKeyByAliasResponse(w http.ResponseWriter) error
type DeleteGpgKeyByAliasRequestObject ¶
type DeleteGpgKeyByAliasRequestObject struct {
Alias string `json:"alias"`
}
type DeleteGpgKeyByAliasResponseObject ¶
type DeleteGpgKeyByAliasResponseObject interface {
VisitDeleteGpgKeyByAliasResponse(w http.ResponseWriter) error
}
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 ¶
func (e DeleteReleaseBundleRequestOnSuccess) Valid() bool
Valid indicates whether the value is a known member of the DeleteReleaseBundleRequestOnSuccess enum.
type DeleteReleaseBundleV1Version204Response ¶
type DeleteReleaseBundleV1Version204Response struct {
}
func (DeleteReleaseBundleV1Version204Response) VisitDeleteReleaseBundleV1VersionResponse ¶
func (response DeleteReleaseBundleV1Version204Response) VisitDeleteReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type DeleteReleaseBundleV1Version401JSONResponse ¶
type DeleteReleaseBundleV1Version401JSONResponse ErrorResponse
func (DeleteReleaseBundleV1Version401JSONResponse) VisitDeleteReleaseBundleV1VersionResponse ¶
func (response DeleteReleaseBundleV1Version401JSONResponse) VisitDeleteReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type DeleteReleaseBundleV1Version403JSONResponse ¶
type DeleteReleaseBundleV1Version403JSONResponse ErrorResponse
func (DeleteReleaseBundleV1Version403JSONResponse) VisitDeleteReleaseBundleV1VersionResponse ¶
func (response DeleteReleaseBundleV1Version403JSONResponse) VisitDeleteReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type DeleteReleaseBundleV1Version429JSONResponse ¶
type DeleteReleaseBundleV1Version429JSONResponse struct{ TooManyRequestsJSONResponse }
func (DeleteReleaseBundleV1Version429JSONResponse) VisitDeleteReleaseBundleV1VersionResponse ¶
func (response DeleteReleaseBundleV1Version429JSONResponse) VisitDeleteReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type DeleteReleaseBundleV1Version503JSONResponse ¶
func (DeleteReleaseBundleV1Version503JSONResponse) VisitDeleteReleaseBundleV1VersionResponse ¶
func (response DeleteReleaseBundleV1Version503JSONResponse) VisitDeleteReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type DeleteReleaseBundleV1VersionFromDistributionEdges200JSONResponse ¶
type DeleteReleaseBundleV1VersionFromDistributionEdges200JSONResponse DistributionResponse
func (DeleteReleaseBundleV1VersionFromDistributionEdges200JSONResponse) VisitDeleteReleaseBundleV1VersionFromDistributionEdgesResponse ¶
func (response DeleteReleaseBundleV1VersionFromDistributionEdges200JSONResponse) VisitDeleteReleaseBundleV1VersionFromDistributionEdgesResponse(w http.ResponseWriter) error
type DeleteReleaseBundleV1VersionFromDistributionEdges202JSONResponse ¶
type DeleteReleaseBundleV1VersionFromDistributionEdges202JSONResponse DistributionResponse
func (DeleteReleaseBundleV1VersionFromDistributionEdges202JSONResponse) VisitDeleteReleaseBundleV1VersionFromDistributionEdgesResponse ¶
func (response DeleteReleaseBundleV1VersionFromDistributionEdges202JSONResponse) VisitDeleteReleaseBundleV1VersionFromDistributionEdgesResponse(w http.ResponseWriter) error
type DeleteReleaseBundleV1VersionFromDistributionEdges401JSONResponse ¶
type DeleteReleaseBundleV1VersionFromDistributionEdges401JSONResponse ErrorResponse
func (DeleteReleaseBundleV1VersionFromDistributionEdges401JSONResponse) VisitDeleteReleaseBundleV1VersionFromDistributionEdgesResponse ¶
func (response DeleteReleaseBundleV1VersionFromDistributionEdges401JSONResponse) VisitDeleteReleaseBundleV1VersionFromDistributionEdgesResponse(w http.ResponseWriter) error
type DeleteReleaseBundleV1VersionFromDistributionEdges403JSONResponse ¶
type DeleteReleaseBundleV1VersionFromDistributionEdges403JSONResponse ErrorResponse
func (DeleteReleaseBundleV1VersionFromDistributionEdges403JSONResponse) VisitDeleteReleaseBundleV1VersionFromDistributionEdgesResponse ¶
func (response DeleteReleaseBundleV1VersionFromDistributionEdges403JSONResponse) VisitDeleteReleaseBundleV1VersionFromDistributionEdgesResponse(w http.ResponseWriter) error
type DeleteReleaseBundleV1VersionFromDistributionEdges429JSONResponse ¶
type DeleteReleaseBundleV1VersionFromDistributionEdges429JSONResponse struct{ TooManyRequestsJSONResponse }
func (DeleteReleaseBundleV1VersionFromDistributionEdges429JSONResponse) VisitDeleteReleaseBundleV1VersionFromDistributionEdgesResponse ¶
func (response DeleteReleaseBundleV1VersionFromDistributionEdges429JSONResponse) VisitDeleteReleaseBundleV1VersionFromDistributionEdgesResponse(w http.ResponseWriter) error
type DeleteReleaseBundleV1VersionFromDistributionEdges503JSONResponse ¶
func (DeleteReleaseBundleV1VersionFromDistributionEdges503JSONResponse) VisitDeleteReleaseBundleV1VersionFromDistributionEdgesResponse ¶
func (response DeleteReleaseBundleV1VersionFromDistributionEdges503JSONResponse) VisitDeleteReleaseBundleV1VersionFromDistributionEdgesResponse(w http.ResponseWriter) error
type DeleteReleaseBundleV1VersionFromDistributionEdgesJSONRequestBody ¶
type DeleteReleaseBundleV1VersionFromDistributionEdgesJSONRequestBody = DeleteReleaseBundleRequest
DeleteReleaseBundleV1VersionFromDistributionEdgesJSONRequestBody defines body for DeleteReleaseBundleV1VersionFromDistributionEdges for application/json ContentType.
type DeleteReleaseBundleV1VersionFromDistributionEdgesRequestObject ¶
type DeleteReleaseBundleV1VersionFromDistributionEdgesRequestObject struct {
ReleaseBundleName ReleaseBundleNamePath `json:"release_bundle_name"`
ReleaseBundleVersion ReleaseBundleVersionPath `json:"release_bundle_version"`
Body *DeleteReleaseBundleV1VersionFromDistributionEdgesJSONRequestBody
}
type DeleteReleaseBundleV1VersionFromDistributionEdgesResponseObject ¶
type DeleteReleaseBundleV1VersionFromDistributionEdgesResponseObject interface {
VisitDeleteReleaseBundleV1VersionFromDistributionEdgesResponse(w http.ResponseWriter) error
}
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 DeleteReleaseBundleV1VersionRequestObject ¶
type DeleteReleaseBundleV1VersionRequestObject struct {
ReleaseBundleName ReleaseBundleNamePath `json:"release_bundle_name"`
ReleaseBundleVersion ReleaseBundleVersionPath `json:"release_bundle_version"`
Params DeleteReleaseBundleV1VersionParams
}
type DeleteReleaseBundleV1VersionResponseObject ¶
type DeleteReleaseBundleV1VersionResponseObject interface {
VisitDeleteReleaseBundleV1VersionResponse(w http.ResponseWriter) error
}
type DeleteSupportBundle204Response ¶
type DeleteSupportBundle204Response struct {
}
func (DeleteSupportBundle204Response) VisitDeleteSupportBundleResponse ¶
func (response DeleteSupportBundle204Response) VisitDeleteSupportBundleResponse(w http.ResponseWriter) error
type DeleteSupportBundle401JSONResponse ¶
type DeleteSupportBundle401JSONResponse ErrorResponse
func (DeleteSupportBundle401JSONResponse) VisitDeleteSupportBundleResponse ¶
func (response DeleteSupportBundle401JSONResponse) VisitDeleteSupportBundleResponse(w http.ResponseWriter) error
type DeleteSupportBundle403JSONResponse ¶
type DeleteSupportBundle403JSONResponse ErrorResponse
func (DeleteSupportBundle403JSONResponse) VisitDeleteSupportBundleResponse ¶
func (response DeleteSupportBundle403JSONResponse) VisitDeleteSupportBundleResponse(w http.ResponseWriter) error
type DeleteSupportBundle404JSONResponse ¶
type DeleteSupportBundle404JSONResponse ErrorResponse
func (DeleteSupportBundle404JSONResponse) VisitDeleteSupportBundleResponse ¶
func (response DeleteSupportBundle404JSONResponse) VisitDeleteSupportBundleResponse(w http.ResponseWriter) error
type DeleteSupportBundle429JSONResponse ¶
type DeleteSupportBundle429JSONResponse struct{ TooManyRequestsJSONResponse }
func (DeleteSupportBundle429JSONResponse) VisitDeleteSupportBundleResponse ¶
func (response DeleteSupportBundle429JSONResponse) VisitDeleteSupportBundleResponse(w http.ResponseWriter) error
type DeleteSupportBundle500JSONResponse ¶
type DeleteSupportBundle500JSONResponse ErrorResponse
func (DeleteSupportBundle500JSONResponse) VisitDeleteSupportBundleResponse ¶
func (response DeleteSupportBundle500JSONResponse) VisitDeleteSupportBundleResponse(w http.ResponseWriter) error
type DeleteSupportBundle503JSONResponse ¶
func (DeleteSupportBundle503JSONResponse) VisitDeleteSupportBundleResponse ¶
func (response DeleteSupportBundle503JSONResponse) VisitDeleteSupportBundleResponse(w http.ResponseWriter) error
type DeleteSupportBundleRequestObject ¶
type DeleteSupportBundleRequestObject struct {
BundleId string `json:"bundle_id"`
}
type DeleteSupportBundleResponseObject ¶
type DeleteSupportBundleResponseObject interface {
VisitDeleteSupportBundleResponse(w http.ResponseWriter) error
}
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 ¶
func (e DestinationPermissionPrincipalsGroups) Valid() bool
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 ¶
func (e DestinationPermissionPrincipalsUsers) Valid() bool
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 ¶
func (e DestinationPermissionResourceType) Valid() bool
Valid indicates whether the value is a known member of the DestinationPermissionResourceType enum.
type DistributeByLastDays200JSONResponse ¶
type DistributeByLastDays200JSONResponse DistributeByLastDaysResult
func (DistributeByLastDays200JSONResponse) VisitDistributeByLastDaysResponse ¶
func (response DistributeByLastDays200JSONResponse) VisitDistributeByLastDaysResponse(w http.ResponseWriter) error
type DistributeByLastDays400JSONResponse ¶
type DistributeByLastDays400JSONResponse ErrorResponse
func (DistributeByLastDays400JSONResponse) VisitDistributeByLastDaysResponse ¶
func (response DistributeByLastDays400JSONResponse) VisitDistributeByLastDaysResponse(w http.ResponseWriter) error
type DistributeByLastDays401JSONResponse ¶
type DistributeByLastDays401JSONResponse ErrorResponse
func (DistributeByLastDays401JSONResponse) VisitDistributeByLastDaysResponse ¶
func (response DistributeByLastDays401JSONResponse) VisitDistributeByLastDaysResponse(w http.ResponseWriter) error
type DistributeByLastDays403JSONResponse ¶
type DistributeByLastDays403JSONResponse ErrorResponse
func (DistributeByLastDays403JSONResponse) VisitDistributeByLastDaysResponse ¶
func (response DistributeByLastDays403JSONResponse) VisitDistributeByLastDaysResponse(w http.ResponseWriter) error
type DistributeByLastDays429JSONResponse ¶
type DistributeByLastDays429JSONResponse struct{ TooManyRequestsJSONResponse }
func (DistributeByLastDays429JSONResponse) VisitDistributeByLastDaysResponse ¶
func (response DistributeByLastDays429JSONResponse) VisitDistributeByLastDaysResponse(w http.ResponseWriter) error
type DistributeByLastDays503JSONResponse ¶
func (DistributeByLastDays503JSONResponse) VisitDistributeByLastDaysResponse ¶
func (response DistributeByLastDays503JSONResponse) VisitDistributeByLastDaysResponse(w http.ResponseWriter) error
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 DistributeByLastDaysRequestObject ¶
type DistributeByLastDaysRequestObject struct {
Body *DistributeByLastDaysJSONRequestBody
}
type DistributeByLastDaysResponseObject ¶
type DistributeByLastDaysResponseObject interface {
VisitDistributeByLastDaysResponse(w http.ResponseWriter) error
}
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 DistributeDynamicReleaseBundleV1RequestObject ¶
type DistributeDynamicReleaseBundleV1RequestObject struct {
Params DistributeDynamicReleaseBundleV1Params
Body *DistributeDynamicReleaseBundleV1JSONRequestBody
}
type DistributeDynamicReleaseBundleV1ResponseObject ¶
type DistributeDynamicReleaseBundleV1ResponseObject interface {
VisitDistributeDynamicReleaseBundleV1Response(w http.ResponseWriter) error
}
type DistributeDynamicReleaseBundleV1202JSONResponse ¶
type DistributeDynamicReleaseBundleV1202JSONResponse DynamicDistributionResponse
func (DistributeDynamicReleaseBundleV1202JSONResponse) VisitDistributeDynamicReleaseBundleV1Response ¶
func (response DistributeDynamicReleaseBundleV1202JSONResponse) VisitDistributeDynamicReleaseBundleV1Response(w http.ResponseWriter) error
type DistributeDynamicReleaseBundleV1400JSONResponse ¶
type DistributeDynamicReleaseBundleV1400JSONResponse ErrorResponse
func (DistributeDynamicReleaseBundleV1400JSONResponse) VisitDistributeDynamicReleaseBundleV1Response ¶
func (response DistributeDynamicReleaseBundleV1400JSONResponse) VisitDistributeDynamicReleaseBundleV1Response(w http.ResponseWriter) error
type DistributeDynamicReleaseBundleV1401JSONResponse ¶
type DistributeDynamicReleaseBundleV1401JSONResponse ErrorResponse
func (DistributeDynamicReleaseBundleV1401JSONResponse) VisitDistributeDynamicReleaseBundleV1Response ¶
func (response DistributeDynamicReleaseBundleV1401JSONResponse) VisitDistributeDynamicReleaseBundleV1Response(w http.ResponseWriter) error
type DistributeDynamicReleaseBundleV1403JSONResponse ¶
type DistributeDynamicReleaseBundleV1403JSONResponse ErrorResponse
func (DistributeDynamicReleaseBundleV1403JSONResponse) VisitDistributeDynamicReleaseBundleV1Response ¶
func (response DistributeDynamicReleaseBundleV1403JSONResponse) VisitDistributeDynamicReleaseBundleV1Response(w http.ResponseWriter) error
type DistributeDynamicReleaseBundleV1429JSONResponse ¶
type DistributeDynamicReleaseBundleV1429JSONResponse struct{ TooManyRequestsJSONResponse }
func (DistributeDynamicReleaseBundleV1429JSONResponse) VisitDistributeDynamicReleaseBundleV1Response ¶
func (response DistributeDynamicReleaseBundleV1429JSONResponse) VisitDistributeDynamicReleaseBundleV1Response(w http.ResponseWriter) error
type DistributeDynamicReleaseBundleV1503JSONResponse ¶
func (DistributeDynamicReleaseBundleV1503JSONResponse) VisitDistributeDynamicReleaseBundleV1Response ¶
func (response DistributeDynamicReleaseBundleV1503JSONResponse) VisitDistributeDynamicReleaseBundleV1Response(w http.ResponseWriter) error
type DistributeReleaseBundleV1Version200JSONResponse ¶
type DistributeReleaseBundleV1Version200JSONResponse DistributionResponse
func (DistributeReleaseBundleV1Version200JSONResponse) VisitDistributeReleaseBundleV1VersionResponse ¶
func (response DistributeReleaseBundleV1Version200JSONResponse) VisitDistributeReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type DistributeReleaseBundleV1Version202JSONResponse ¶
type DistributeReleaseBundleV1Version202JSONResponse DistributionResponse
func (DistributeReleaseBundleV1Version202JSONResponse) VisitDistributeReleaseBundleV1VersionResponse ¶
func (response DistributeReleaseBundleV1Version202JSONResponse) VisitDistributeReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type DistributeReleaseBundleV1Version401JSONResponse ¶
type DistributeReleaseBundleV1Version401JSONResponse ErrorResponse
func (DistributeReleaseBundleV1Version401JSONResponse) VisitDistributeReleaseBundleV1VersionResponse ¶
func (response DistributeReleaseBundleV1Version401JSONResponse) VisitDistributeReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type DistributeReleaseBundleV1Version403JSONResponse ¶
type DistributeReleaseBundleV1Version403JSONResponse ErrorResponse
func (DistributeReleaseBundleV1Version403JSONResponse) VisitDistributeReleaseBundleV1VersionResponse ¶
func (response DistributeReleaseBundleV1Version403JSONResponse) VisitDistributeReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type DistributeReleaseBundleV1Version429JSONResponse ¶
type DistributeReleaseBundleV1Version429JSONResponse struct{ TooManyRequestsJSONResponse }
func (DistributeReleaseBundleV1Version429JSONResponse) VisitDistributeReleaseBundleV1VersionResponse ¶
func (response DistributeReleaseBundleV1Version429JSONResponse) VisitDistributeReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type DistributeReleaseBundleV1Version503JSONResponse ¶
func (DistributeReleaseBundleV1Version503JSONResponse) VisitDistributeReleaseBundleV1VersionResponse ¶
func (response DistributeReleaseBundleV1Version503JSONResponse) VisitDistributeReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type DistributeReleaseBundleV1VersionJSONRequestBody ¶
type DistributeReleaseBundleV1VersionJSONRequestBody = DistributionRequest
DistributeReleaseBundleV1VersionJSONRequestBody defines body for DistributeReleaseBundleV1Version for application/json ContentType.
type DistributeReleaseBundleV1VersionRequestObject ¶
type DistributeReleaseBundleV1VersionRequestObject struct {
ReleaseBundleName ReleaseBundleNamePath `json:"release_bundle_name"`
ReleaseBundleVersion ReleaseBundleVersionPath `json:"release_bundle_version"`
Body *DistributeReleaseBundleV1VersionJSONRequestBody
}
type DistributeReleaseBundleV1VersionResponseObject ¶
type DistributeReleaseBundleV1VersionResponseObject interface {
VisitDistributeReleaseBundleV1VersionResponse(w http.ResponseWriter) error
}
type DistributeReleaseBundleV2Version200JSONResponse ¶
type DistributeReleaseBundleV2Version200JSONResponse DistributionResponse
func (DistributeReleaseBundleV2Version200JSONResponse) VisitDistributeReleaseBundleV2VersionResponse ¶
func (response DistributeReleaseBundleV2Version200JSONResponse) VisitDistributeReleaseBundleV2VersionResponse(w http.ResponseWriter) error
type DistributeReleaseBundleV2Version400JSONResponse ¶
type DistributeReleaseBundleV2Version400JSONResponse ErrorResponse
func (DistributeReleaseBundleV2Version400JSONResponse) VisitDistributeReleaseBundleV2VersionResponse ¶
func (response DistributeReleaseBundleV2Version400JSONResponse) VisitDistributeReleaseBundleV2VersionResponse(w http.ResponseWriter) error
type DistributeReleaseBundleV2Version401JSONResponse ¶
type DistributeReleaseBundleV2Version401JSONResponse ErrorResponse
func (DistributeReleaseBundleV2Version401JSONResponse) VisitDistributeReleaseBundleV2VersionResponse ¶
func (response DistributeReleaseBundleV2Version401JSONResponse) VisitDistributeReleaseBundleV2VersionResponse(w http.ResponseWriter) error
type DistributeReleaseBundleV2Version409JSONResponse ¶
type DistributeReleaseBundleV2Version409JSONResponse ErrorResponse
func (DistributeReleaseBundleV2Version409JSONResponse) VisitDistributeReleaseBundleV2VersionResponse ¶
func (response DistributeReleaseBundleV2Version409JSONResponse) VisitDistributeReleaseBundleV2VersionResponse(w http.ResponseWriter) error
type DistributeReleaseBundleV2Version429JSONResponse ¶
type DistributeReleaseBundleV2Version429JSONResponse struct{ TooManyRequestsJSONResponse }
func (DistributeReleaseBundleV2Version429JSONResponse) VisitDistributeReleaseBundleV2VersionResponse ¶
func (response DistributeReleaseBundleV2Version429JSONResponse) VisitDistributeReleaseBundleV2VersionResponse(w http.ResponseWriter) error
type DistributeReleaseBundleV2Version501JSONResponse ¶
type DistributeReleaseBundleV2Version501JSONResponse ErrorResponse
func (DistributeReleaseBundleV2Version501JSONResponse) VisitDistributeReleaseBundleV2VersionResponse ¶
func (response DistributeReleaseBundleV2Version501JSONResponse) VisitDistributeReleaseBundleV2VersionResponse(w http.ResponseWriter) error
type DistributeReleaseBundleV2Version503JSONResponse ¶
func (DistributeReleaseBundleV2Version503JSONResponse) VisitDistributeReleaseBundleV2VersionResponse ¶
func (response DistributeReleaseBundleV2Version503JSONResponse) VisitDistributeReleaseBundleV2VersionResponse(w http.ResponseWriter) error
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 DistributeReleaseBundleV2VersionRequestObject ¶
type DistributeReleaseBundleV2VersionRequestObject struct {
ReleaseBundleName ReleaseBundleNamePath `json:"release_bundle_name"`
ReleaseBundleVersion ReleaseBundleVersionPath `json:"release_bundle_version"`
Params DistributeReleaseBundleV2VersionParams
Body *DistributeReleaseBundleV2VersionJSONRequestBody
}
type DistributeReleaseBundleV2VersionResponseObject ¶
type DistributeReleaseBundleV2VersionResponseObject interface {
VisitDistributeReleaseBundleV2VersionResponse(w http.ResponseWriter) error
}
type DistributionPing200JSONResponse ¶
type DistributionPing200JSONResponse MessageStatusResponse
func (DistributionPing200JSONResponse) VisitDistributionPingResponse ¶
func (response DistributionPing200JSONResponse) VisitDistributionPingResponse(w http.ResponseWriter) error
type DistributionPing401JSONResponse ¶
type DistributionPing401JSONResponse ErrorResponse
func (DistributionPing401JSONResponse) VisitDistributionPingResponse ¶
func (response DistributionPing401JSONResponse) VisitDistributionPingResponse(w http.ResponseWriter) error
type DistributionPing429JSONResponse ¶
type DistributionPing429JSONResponse struct{ TooManyRequestsJSONResponse }
func (DistributionPing429JSONResponse) VisitDistributionPingResponse ¶
func (response DistributionPing429JSONResponse) VisitDistributionPingResponse(w http.ResponseWriter) error
type DistributionPing500JSONResponse ¶
type DistributionPing500JSONResponse ErrorResponse
func (DistributionPing500JSONResponse) VisitDistributionPingResponse ¶
func (response DistributionPing500JSONResponse) VisitDistributionPingResponse(w http.ResponseWriter) error
type DistributionPing503JSONResponse ¶
func (DistributionPing503JSONResponse) VisitDistributionPingResponse ¶
func (response DistributionPing503JSONResponse) VisitDistributionPingResponse(w http.ResponseWriter) error
type DistributionPingRequestObject ¶
type DistributionPingRequestObject struct {
}
type DistributionPingResponseObject ¶
type DistributionPingResponseObject interface {
VisitDistributionPingResponse(w http.ResponseWriter) error
}
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 ¶
func (e DistributionPriorityUpdateResult) Valid() bool
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 ¶
func (e DistributionStatusSitesStatus) Valid() bool
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 DownloadSupportBundle200ApplicationzipResponse ¶
func (DownloadSupportBundle200ApplicationzipResponse) VisitDownloadSupportBundleResponse ¶
func (response DownloadSupportBundle200ApplicationzipResponse) VisitDownloadSupportBundleResponse(w http.ResponseWriter) error
type DownloadSupportBundle401JSONResponse ¶
type DownloadSupportBundle401JSONResponse ErrorResponse
func (DownloadSupportBundle401JSONResponse) VisitDownloadSupportBundleResponse ¶
func (response DownloadSupportBundle401JSONResponse) VisitDownloadSupportBundleResponse(w http.ResponseWriter) error
type DownloadSupportBundle403JSONResponse ¶
type DownloadSupportBundle403JSONResponse ErrorResponse
func (DownloadSupportBundle403JSONResponse) VisitDownloadSupportBundleResponse ¶
func (response DownloadSupportBundle403JSONResponse) VisitDownloadSupportBundleResponse(w http.ResponseWriter) error
type DownloadSupportBundle404JSONResponse ¶
type DownloadSupportBundle404JSONResponse ErrorResponse
func (DownloadSupportBundle404JSONResponse) VisitDownloadSupportBundleResponse ¶
func (response DownloadSupportBundle404JSONResponse) VisitDownloadSupportBundleResponse(w http.ResponseWriter) error
type DownloadSupportBundle429JSONResponse ¶
type DownloadSupportBundle429JSONResponse struct{ TooManyRequestsJSONResponse }
func (DownloadSupportBundle429JSONResponse) VisitDownloadSupportBundleResponse ¶
func (response DownloadSupportBundle429JSONResponse) VisitDownloadSupportBundleResponse(w http.ResponseWriter) error
type DownloadSupportBundle500JSONResponse ¶
type DownloadSupportBundle500JSONResponse ErrorResponse
func (DownloadSupportBundle500JSONResponse) VisitDownloadSupportBundleResponse ¶
func (response DownloadSupportBundle500JSONResponse) VisitDownloadSupportBundleResponse(w http.ResponseWriter) error
type DownloadSupportBundle503JSONResponse ¶
func (DownloadSupportBundle503JSONResponse) VisitDownloadSupportBundleResponse ¶
func (response DownloadSupportBundle503JSONResponse) VisitDownloadSupportBundleResponse(w http.ResponseWriter) error
type DownloadSupportBundleRequestObject ¶
type DownloadSupportBundleRequestObject struct {
BundleId string `json:"bundle_id"`
}
type DownloadSupportBundleResponseObject ¶
type DownloadSupportBundleResponseObject interface {
VisitDownloadSupportBundleResponse(w http.ResponseWriter) error
}
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 ExecuteMaintenanceAction202JSONResponse ¶
type ExecuteMaintenanceAction202JSONResponse = ExecuteMaintenanceAction202JSONResponseBody
func (ExecuteMaintenanceAction202JSONResponse) VisitExecuteMaintenanceActionResponse ¶
func (response ExecuteMaintenanceAction202JSONResponse) VisitExecuteMaintenanceActionResponse(w http.ResponseWriter) error
type ExecuteMaintenanceAction202JSONResponseBody ¶
type ExecuteMaintenanceAction202JSONResponseBody struct {
// contains filtered or unexported fields
}
ExecuteMaintenanceAction202JSONResponseBody defines parameters for ExecuteMaintenanceAction.
func (ExecuteMaintenanceAction202JSONResponseBody) AsForceStopAllReport ¶
func (t ExecuteMaintenanceAction202JSONResponseBody) AsForceStopAllReport() (ForceStopAllReport, error)
AsForceStopAllReport returns the union data inside the ExecuteMaintenanceAction202JSONResponseBody as a ForceStopAllReport
func (ExecuteMaintenanceAction202JSONResponseBody) AsUnlockStuckReport ¶
func (t ExecuteMaintenanceAction202JSONResponseBody) AsUnlockStuckReport() (UnlockStuckReport, error)
AsUnlockStuckReport returns the union data inside the ExecuteMaintenanceAction202JSONResponseBody as a UnlockStuckReport
func (*ExecuteMaintenanceAction202JSONResponseBody) FromForceStopAllReport ¶
func (t *ExecuteMaintenanceAction202JSONResponseBody) FromForceStopAllReport(v ForceStopAllReport) error
FromForceStopAllReport overwrites any union data inside the ExecuteMaintenanceAction202JSONResponseBody as the provided ForceStopAllReport
func (*ExecuteMaintenanceAction202JSONResponseBody) FromUnlockStuckReport ¶
func (t *ExecuteMaintenanceAction202JSONResponseBody) FromUnlockStuckReport(v UnlockStuckReport) error
FromUnlockStuckReport overwrites any union data inside the ExecuteMaintenanceAction202JSONResponseBody as the provided UnlockStuckReport
func (ExecuteMaintenanceAction202JSONResponseBody) MarshalJSON ¶
func (t ExecuteMaintenanceAction202JSONResponseBody) MarshalJSON() ([]byte, error)
func (*ExecuteMaintenanceAction202JSONResponseBody) MergeForceStopAllReport ¶
func (t *ExecuteMaintenanceAction202JSONResponseBody) MergeForceStopAllReport(v ForceStopAllReport) error
MergeForceStopAllReport performs a merge with any union data inside the ExecuteMaintenanceAction202JSONResponseBody, using the provided ForceStopAllReport
func (*ExecuteMaintenanceAction202JSONResponseBody) MergeUnlockStuckReport ¶
func (t *ExecuteMaintenanceAction202JSONResponseBody) MergeUnlockStuckReport(v UnlockStuckReport) error
MergeUnlockStuckReport performs a merge with any union data inside the ExecuteMaintenanceAction202JSONResponseBody, using the provided UnlockStuckReport
func (*ExecuteMaintenanceAction202JSONResponseBody) UnmarshalJSON ¶
func (t *ExecuteMaintenanceAction202JSONResponseBody) UnmarshalJSON(b []byte) error
type ExecuteMaintenanceAction400JSONResponse ¶
type ExecuteMaintenanceAction400JSONResponse ErrorResponse
func (ExecuteMaintenanceAction400JSONResponse) VisitExecuteMaintenanceActionResponse ¶
func (response ExecuteMaintenanceAction400JSONResponse) VisitExecuteMaintenanceActionResponse(w http.ResponseWriter) error
type ExecuteMaintenanceAction401JSONResponse ¶
type ExecuteMaintenanceAction401JSONResponse ErrorResponse
func (ExecuteMaintenanceAction401JSONResponse) VisitExecuteMaintenanceActionResponse ¶
func (response ExecuteMaintenanceAction401JSONResponse) VisitExecuteMaintenanceActionResponse(w http.ResponseWriter) error
type ExecuteMaintenanceAction403JSONResponse ¶
type ExecuteMaintenanceAction403JSONResponse ErrorResponse
func (ExecuteMaintenanceAction403JSONResponse) VisitExecuteMaintenanceActionResponse ¶
func (response ExecuteMaintenanceAction403JSONResponse) VisitExecuteMaintenanceActionResponse(w http.ResponseWriter) error
type ExecuteMaintenanceAction429JSONResponse ¶
type ExecuteMaintenanceAction429JSONResponse struct{ TooManyRequestsJSONResponse }
func (ExecuteMaintenanceAction429JSONResponse) VisitExecuteMaintenanceActionResponse ¶
func (response ExecuteMaintenanceAction429JSONResponse) VisitExecuteMaintenanceActionResponse(w http.ResponseWriter) error
type ExecuteMaintenanceAction503JSONResponse ¶
func (ExecuteMaintenanceAction503JSONResponse) VisitExecuteMaintenanceActionResponse ¶
func (response ExecuteMaintenanceAction503JSONResponse) VisitExecuteMaintenanceActionResponse(w http.ResponseWriter) error
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 ¶
func (e ExecuteMaintenanceActionParamsActionType) Valid() bool
Valid indicates whether the value is a known member of the ExecuteMaintenanceActionParamsActionType enum.
type ExecuteMaintenanceActionRequestObject ¶
type ExecuteMaintenanceActionRequestObject struct {
ActionType ExecuteMaintenanceActionParamsActionType `json:"actionType"`
Params ExecuteMaintenanceActionParams
Body *ExecuteMaintenanceActionTextRequestBody
}
type ExecuteMaintenanceActionResponseObject ¶
type ExecuteMaintenanceActionResponseObject interface {
VisitExecuteMaintenanceActionResponse(w http.ResponseWriter) error
}
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 ExportReleaseBundleV1Version202Response ¶
type ExportReleaseBundleV1Version202Response struct {
}
func (ExportReleaseBundleV1Version202Response) VisitExportReleaseBundleV1VersionResponse ¶
func (response ExportReleaseBundleV1Version202Response) VisitExportReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type ExportReleaseBundleV1Version400JSONResponse ¶
type ExportReleaseBundleV1Version400JSONResponse ErrorResponse
func (ExportReleaseBundleV1Version400JSONResponse) VisitExportReleaseBundleV1VersionResponse ¶
func (response ExportReleaseBundleV1Version400JSONResponse) VisitExportReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type ExportReleaseBundleV1Version401JSONResponse ¶
type ExportReleaseBundleV1Version401JSONResponse ErrorResponse
func (ExportReleaseBundleV1Version401JSONResponse) VisitExportReleaseBundleV1VersionResponse ¶
func (response ExportReleaseBundleV1Version401JSONResponse) VisitExportReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type ExportReleaseBundleV1Version429JSONResponse ¶
type ExportReleaseBundleV1Version429JSONResponse struct{ TooManyRequestsJSONResponse }
func (ExportReleaseBundleV1Version429JSONResponse) VisitExportReleaseBundleV1VersionResponse ¶
func (response ExportReleaseBundleV1Version429JSONResponse) VisitExportReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type ExportReleaseBundleV1Version503JSONResponse ¶
func (ExportReleaseBundleV1Version503JSONResponse) VisitExportReleaseBundleV1VersionResponse ¶
func (response ExportReleaseBundleV1Version503JSONResponse) VisitExportReleaseBundleV1VersionResponse(w http.ResponseWriter) error
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 ExportReleaseBundleV1VersionRequestObject ¶
type ExportReleaseBundleV1VersionRequestObject struct {
ReleaseBundleName ReleaseBundleNamePath `json:"release_bundle_name"`
ReleaseBundleVersion ReleaseBundleVersionPath `json:"release_bundle_version"`
Params ExportReleaseBundleV1VersionParams
}
type ExportReleaseBundleV1VersionResponseObject ¶
type ExportReleaseBundleV1VersionResponseObject interface {
VisitExportReleaseBundleV1VersionResponse(w http.ResponseWriter) error
}
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 GenerateMaintenanceExecutionToken200JSONResponse ¶
type GenerateMaintenanceExecutionToken200JSONResponse 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"`
}
func (GenerateMaintenanceExecutionToken200JSONResponse) VisitGenerateMaintenanceExecutionTokenResponse ¶
func (response GenerateMaintenanceExecutionToken200JSONResponse) VisitGenerateMaintenanceExecutionTokenResponse(w http.ResponseWriter) error
type GenerateMaintenanceExecutionToken400JSONResponse ¶
type GenerateMaintenanceExecutionToken400JSONResponse ErrorResponse
func (GenerateMaintenanceExecutionToken400JSONResponse) VisitGenerateMaintenanceExecutionTokenResponse ¶
func (response GenerateMaintenanceExecutionToken400JSONResponse) VisitGenerateMaintenanceExecutionTokenResponse(w http.ResponseWriter) error
type GenerateMaintenanceExecutionToken401JSONResponse ¶
type GenerateMaintenanceExecutionToken401JSONResponse ErrorResponse
func (GenerateMaintenanceExecutionToken401JSONResponse) VisitGenerateMaintenanceExecutionTokenResponse ¶
func (response GenerateMaintenanceExecutionToken401JSONResponse) VisitGenerateMaintenanceExecutionTokenResponse(w http.ResponseWriter) error
type GenerateMaintenanceExecutionToken403JSONResponse ¶
type GenerateMaintenanceExecutionToken403JSONResponse ErrorResponse
func (GenerateMaintenanceExecutionToken403JSONResponse) VisitGenerateMaintenanceExecutionTokenResponse ¶
func (response GenerateMaintenanceExecutionToken403JSONResponse) VisitGenerateMaintenanceExecutionTokenResponse(w http.ResponseWriter) error
type GenerateMaintenanceExecutionToken429JSONResponse ¶
type GenerateMaintenanceExecutionToken429JSONResponse struct{ TooManyRequestsJSONResponse }
func (GenerateMaintenanceExecutionToken429JSONResponse) VisitGenerateMaintenanceExecutionTokenResponse ¶
func (response GenerateMaintenanceExecutionToken429JSONResponse) VisitGenerateMaintenanceExecutionTokenResponse(w http.ResponseWriter) error
type GenerateMaintenanceExecutionToken503JSONResponse ¶
func (GenerateMaintenanceExecutionToken503JSONResponse) VisitGenerateMaintenanceExecutionTokenResponse ¶
func (response GenerateMaintenanceExecutionToken503JSONResponse) VisitGenerateMaintenanceExecutionTokenResponse(w http.ResponseWriter) error
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 ¶
func (e GenerateMaintenanceExecutionTokenParamsActionType) Valid() bool
Valid indicates whether the value is a known member of the GenerateMaintenanceExecutionTokenParamsActionType enum.
type GenerateMaintenanceExecutionTokenRequestObject ¶
type GenerateMaintenanceExecutionTokenRequestObject struct {
ActionType GenerateMaintenanceExecutionTokenParamsActionType `json:"actionType"`
}
type GenerateMaintenanceExecutionTokenResponseObject ¶
type GenerateMaintenanceExecutionTokenResponseObject interface {
VisitGenerateMaintenanceExecutionTokenResponse(w http.ResponseWriter) error
}
type GetAllBundles200JSONResponse ¶
type GetAllBundles200JSONResponse []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"`
}
func (GetAllBundles200JSONResponse) VisitGetAllBundlesResponse ¶
func (response GetAllBundles200JSONResponse) VisitGetAllBundlesResponse(w http.ResponseWriter) error
type GetAllBundles401JSONResponse ¶
type GetAllBundles401JSONResponse ErrorResponse
func (GetAllBundles401JSONResponse) VisitGetAllBundlesResponse ¶
func (response GetAllBundles401JSONResponse) VisitGetAllBundlesResponse(w http.ResponseWriter) error
type GetAllBundles429JSONResponse ¶
type GetAllBundles429JSONResponse struct{ TooManyRequestsJSONResponse }
func (GetAllBundles429JSONResponse) VisitGetAllBundlesResponse ¶
func (response GetAllBundles429JSONResponse) VisitGetAllBundlesResponse(w http.ResponseWriter) error
type GetAllBundles503JSONResponse ¶
func (GetAllBundles503JSONResponse) VisitGetAllBundlesResponse ¶
func (response GetAllBundles503JSONResponse) VisitGetAllBundlesResponse(w http.ResponseWriter) error
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 GetAllBundlesRequestObject ¶
type GetAllBundlesRequestObject struct {
Params GetAllBundlesParams
}
type GetAllBundlesResponseObject ¶
type GetAllBundlesResponseObject interface {
VisitGetAllBundlesResponse(w http.ResponseWriter) error
}
type GetAllDistributionPermissions200JSONResponse ¶
type GetAllDistributionPermissions200JSONResponse []DestinationPermission
func (GetAllDistributionPermissions200JSONResponse) VisitGetAllDistributionPermissionsResponse ¶
func (response GetAllDistributionPermissions200JSONResponse) VisitGetAllDistributionPermissionsResponse(w http.ResponseWriter) error
type GetAllDistributionPermissions401JSONResponse ¶
type GetAllDistributionPermissions401JSONResponse ErrorResponse
func (GetAllDistributionPermissions401JSONResponse) VisitGetAllDistributionPermissionsResponse ¶
func (response GetAllDistributionPermissions401JSONResponse) VisitGetAllDistributionPermissionsResponse(w http.ResponseWriter) error
type GetAllDistributionPermissions429JSONResponse ¶
type GetAllDistributionPermissions429JSONResponse struct{ TooManyRequestsJSONResponse }
func (GetAllDistributionPermissions429JSONResponse) VisitGetAllDistributionPermissionsResponse ¶
func (response GetAllDistributionPermissions429JSONResponse) VisitGetAllDistributionPermissionsResponse(w http.ResponseWriter) error
type GetAllDistributionPermissions503JSONResponse ¶
func (GetAllDistributionPermissions503JSONResponse) VisitGetAllDistributionPermissionsResponse ¶
func (response GetAllDistributionPermissions503JSONResponse) VisitGetAllDistributionPermissionsResponse(w http.ResponseWriter) error
type GetAllDistributionPermissionsRequestObject ¶
type GetAllDistributionPermissionsRequestObject struct {
}
type GetAllDistributionPermissionsResponseObject ¶
type GetAllDistributionPermissionsResponseObject interface {
VisitGetAllDistributionPermissionsResponse(w http.ResponseWriter) error
}
type GetAllGpgKeyAliases200JSONResponse ¶
type GetAllGpgKeyAliases200JSONResponse []GpgKeyAlias
func (GetAllGpgKeyAliases200JSONResponse) VisitGetAllGpgKeyAliasesResponse ¶
func (response GetAllGpgKeyAliases200JSONResponse) VisitGetAllGpgKeyAliasesResponse(w http.ResponseWriter) error
type GetAllGpgKeyAliases401JSONResponse ¶
type GetAllGpgKeyAliases401JSONResponse ErrorResponse
func (GetAllGpgKeyAliases401JSONResponse) VisitGetAllGpgKeyAliasesResponse ¶
func (response GetAllGpgKeyAliases401JSONResponse) VisitGetAllGpgKeyAliasesResponse(w http.ResponseWriter) error
type GetAllGpgKeyAliases429JSONResponse ¶
type GetAllGpgKeyAliases429JSONResponse struct{ TooManyRequestsJSONResponse }
func (GetAllGpgKeyAliases429JSONResponse) VisitGetAllGpgKeyAliasesResponse ¶
func (response GetAllGpgKeyAliases429JSONResponse) VisitGetAllGpgKeyAliasesResponse(w http.ResponseWriter) error
type GetAllGpgKeyAliases503JSONResponse ¶
func (GetAllGpgKeyAliases503JSONResponse) VisitGetAllGpgKeyAliasesResponse ¶
func (response GetAllGpgKeyAliases503JSONResponse) VisitGetAllGpgKeyAliasesResponse(w http.ResponseWriter) error
type GetAllGpgKeyAliasesRequestObject ¶
type GetAllGpgKeyAliasesRequestObject struct {
}
type GetAllGpgKeyAliasesResponseObject ¶
type GetAllGpgKeyAliasesResponseObject interface {
VisitGetAllGpgKeyAliasesResponse(w http.ResponseWriter) error
}
type GetDistributionEdgeNodes200JSONResponse ¶
type GetDistributionEdgeNodes200JSONResponse EdgeNodesInfo
func (GetDistributionEdgeNodes200JSONResponse) VisitGetDistributionEdgeNodesResponse ¶
func (response GetDistributionEdgeNodes200JSONResponse) VisitGetDistributionEdgeNodesResponse(w http.ResponseWriter) error
type GetDistributionEdgeNodes401JSONResponse ¶
type GetDistributionEdgeNodes401JSONResponse ErrorResponse
func (GetDistributionEdgeNodes401JSONResponse) VisitGetDistributionEdgeNodesResponse ¶
func (response GetDistributionEdgeNodes401JSONResponse) VisitGetDistributionEdgeNodesResponse(w http.ResponseWriter) error
type GetDistributionEdgeNodes429JSONResponse ¶
type GetDistributionEdgeNodes429JSONResponse struct{ TooManyRequestsJSONResponse }
func (GetDistributionEdgeNodes429JSONResponse) VisitGetDistributionEdgeNodesResponse ¶
func (response GetDistributionEdgeNodes429JSONResponse) VisitGetDistributionEdgeNodesResponse(w http.ResponseWriter) error
type GetDistributionEdgeNodes503JSONResponse ¶
func (GetDistributionEdgeNodes503JSONResponse) VisitGetDistributionEdgeNodesResponse ¶
func (response GetDistributionEdgeNodes503JSONResponse) VisitGetDistributionEdgeNodesResponse(w http.ResponseWriter) error
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 GetDistributionEdgeNodesRequestObject ¶
type GetDistributionEdgeNodesRequestObject struct {
Params GetDistributionEdgeNodesParams
}
type GetDistributionEdgeNodesResponseObject ¶
type GetDistributionEdgeNodesResponseObject interface {
VisitGetDistributionEdgeNodesResponse(w http.ResponseWriter) error
}
type GetDistributionPermissionByName200JSONResponse ¶
type GetDistributionPermissionByName200JSONResponse DestinationPermission
func (GetDistributionPermissionByName200JSONResponse) VisitGetDistributionPermissionByNameResponse ¶
func (response GetDistributionPermissionByName200JSONResponse) VisitGetDistributionPermissionByNameResponse(w http.ResponseWriter) error
type GetDistributionPermissionByName401JSONResponse ¶
type GetDistributionPermissionByName401JSONResponse ErrorResponse
func (GetDistributionPermissionByName401JSONResponse) VisitGetDistributionPermissionByNameResponse ¶
func (response GetDistributionPermissionByName401JSONResponse) VisitGetDistributionPermissionByNameResponse(w http.ResponseWriter) error
type GetDistributionPermissionByName404JSONResponse ¶
type GetDistributionPermissionByName404JSONResponse ErrorResponse
func (GetDistributionPermissionByName404JSONResponse) VisitGetDistributionPermissionByNameResponse ¶
func (response GetDistributionPermissionByName404JSONResponse) VisitGetDistributionPermissionByNameResponse(w http.ResponseWriter) error
type GetDistributionPermissionByName429JSONResponse ¶
type GetDistributionPermissionByName429JSONResponse struct{ TooManyRequestsJSONResponse }
func (GetDistributionPermissionByName429JSONResponse) VisitGetDistributionPermissionByNameResponse ¶
func (response GetDistributionPermissionByName429JSONResponse) VisitGetDistributionPermissionByNameResponse(w http.ResponseWriter) error
type GetDistributionPermissionByName503JSONResponse ¶
func (GetDistributionPermissionByName503JSONResponse) VisitGetDistributionPermissionByNameResponse ¶
func (response GetDistributionPermissionByName503JSONResponse) VisitGetDistributionPermissionByNameResponse(w http.ResponseWriter) error
type GetDistributionPermissionByNameRequestObject ¶
type GetDistributionPermissionByNameRequestObject struct {
PermissionName string `json:"permission_name"`
}
type GetDistributionPermissionByNameResponseObject ¶
type GetDistributionPermissionByNameResponseObject interface {
VisitGetDistributionPermissionByNameResponse(w http.ResponseWriter) error
}
type GetDistributionStatusDetails200JSONResponse ¶
type GetDistributionStatusDetails200JSONResponse []DistributionStatus
func (GetDistributionStatusDetails200JSONResponse) VisitGetDistributionStatusDetailsResponse ¶
func (response GetDistributionStatusDetails200JSONResponse) VisitGetDistributionStatusDetailsResponse(w http.ResponseWriter) error
type GetDistributionStatusDetails401JSONResponse ¶
type GetDistributionStatusDetails401JSONResponse ErrorResponse
func (GetDistributionStatusDetails401JSONResponse) VisitGetDistributionStatusDetailsResponse ¶
func (response GetDistributionStatusDetails401JSONResponse) VisitGetDistributionStatusDetailsResponse(w http.ResponseWriter) error
type GetDistributionStatusDetails429JSONResponse ¶
type GetDistributionStatusDetails429JSONResponse struct{ TooManyRequestsJSONResponse }
func (GetDistributionStatusDetails429JSONResponse) VisitGetDistributionStatusDetailsResponse ¶
func (response GetDistributionStatusDetails429JSONResponse) VisitGetDistributionStatusDetailsResponse(w http.ResponseWriter) error
type GetDistributionStatusDetails503JSONResponse ¶
func (GetDistributionStatusDetails503JSONResponse) VisitGetDistributionStatusDetailsResponse ¶
func (response GetDistributionStatusDetails503JSONResponse) VisitGetDistributionStatusDetailsResponse(w http.ResponseWriter) error
type GetDistributionStatusDetailsByReleaseBundleV1Name200JSONResponse ¶
type GetDistributionStatusDetailsByReleaseBundleV1Name200JSONResponse []DistributionStatus
func (GetDistributionStatusDetailsByReleaseBundleV1Name200JSONResponse) VisitGetDistributionStatusDetailsByReleaseBundleV1NameResponse ¶
func (response GetDistributionStatusDetailsByReleaseBundleV1Name200JSONResponse) VisitGetDistributionStatusDetailsByReleaseBundleV1NameResponse(w http.ResponseWriter) error
type GetDistributionStatusDetailsByReleaseBundleV1Name401JSONResponse ¶
type GetDistributionStatusDetailsByReleaseBundleV1Name401JSONResponse ErrorResponse
func (GetDistributionStatusDetailsByReleaseBundleV1Name401JSONResponse) VisitGetDistributionStatusDetailsByReleaseBundleV1NameResponse ¶
func (response GetDistributionStatusDetailsByReleaseBundleV1Name401JSONResponse) VisitGetDistributionStatusDetailsByReleaseBundleV1NameResponse(w http.ResponseWriter) error
type GetDistributionStatusDetailsByReleaseBundleV1Name429JSONResponse ¶
type GetDistributionStatusDetailsByReleaseBundleV1Name429JSONResponse struct{ TooManyRequestsJSONResponse }
func (GetDistributionStatusDetailsByReleaseBundleV1Name429JSONResponse) VisitGetDistributionStatusDetailsByReleaseBundleV1NameResponse ¶
func (response GetDistributionStatusDetailsByReleaseBundleV1Name429JSONResponse) VisitGetDistributionStatusDetailsByReleaseBundleV1NameResponse(w http.ResponseWriter) error
type GetDistributionStatusDetailsByReleaseBundleV1Name503JSONResponse ¶
func (GetDistributionStatusDetailsByReleaseBundleV1Name503JSONResponse) VisitGetDistributionStatusDetailsByReleaseBundleV1NameResponse ¶
func (response GetDistributionStatusDetailsByReleaseBundleV1Name503JSONResponse) VisitGetDistributionStatusDetailsByReleaseBundleV1NameResponse(w http.ResponseWriter) error
type GetDistributionStatusDetailsByReleaseBundleV1NameRequestObject ¶
type GetDistributionStatusDetailsByReleaseBundleV1NameRequestObject struct {
ReleaseBundleName ReleaseBundleNamePath `json:"release_bundle_name"`
}
type GetDistributionStatusDetailsByReleaseBundleV1NameResponseObject ¶
type GetDistributionStatusDetailsByReleaseBundleV1NameResponseObject interface {
VisitGetDistributionStatusDetailsByReleaseBundleV1NameResponse(w http.ResponseWriter) error
}
type GetDistributionStatusDetailsByReleaseBundleV1TrackerId200JSONResponse ¶
type GetDistributionStatusDetailsByReleaseBundleV1TrackerId200JSONResponse DistributionProgress
func (GetDistributionStatusDetailsByReleaseBundleV1TrackerId200JSONResponse) VisitGetDistributionStatusDetailsByReleaseBundleV1TrackerIdResponse ¶
func (response GetDistributionStatusDetailsByReleaseBundleV1TrackerId200JSONResponse) VisitGetDistributionStatusDetailsByReleaseBundleV1TrackerIdResponse(w http.ResponseWriter) error
type GetDistributionStatusDetailsByReleaseBundleV1TrackerId401JSONResponse ¶
type GetDistributionStatusDetailsByReleaseBundleV1TrackerId401JSONResponse ErrorResponse
func (GetDistributionStatusDetailsByReleaseBundleV1TrackerId401JSONResponse) VisitGetDistributionStatusDetailsByReleaseBundleV1TrackerIdResponse ¶
func (response GetDistributionStatusDetailsByReleaseBundleV1TrackerId401JSONResponse) VisitGetDistributionStatusDetailsByReleaseBundleV1TrackerIdResponse(w http.ResponseWriter) error
type GetDistributionStatusDetailsByReleaseBundleV1TrackerId429JSONResponse ¶
type GetDistributionStatusDetailsByReleaseBundleV1TrackerId429JSONResponse struct{ TooManyRequestsJSONResponse }
func (GetDistributionStatusDetailsByReleaseBundleV1TrackerId429JSONResponse) VisitGetDistributionStatusDetailsByReleaseBundleV1TrackerIdResponse ¶
func (response GetDistributionStatusDetailsByReleaseBundleV1TrackerId429JSONResponse) VisitGetDistributionStatusDetailsByReleaseBundleV1TrackerIdResponse(w http.ResponseWriter) error
type GetDistributionStatusDetailsByReleaseBundleV1TrackerId503JSONResponse ¶
func (GetDistributionStatusDetailsByReleaseBundleV1TrackerId503JSONResponse) VisitGetDistributionStatusDetailsByReleaseBundleV1TrackerIdResponse ¶
func (response GetDistributionStatusDetailsByReleaseBundleV1TrackerId503JSONResponse) VisitGetDistributionStatusDetailsByReleaseBundleV1TrackerIdResponse(w http.ResponseWriter) error
type GetDistributionStatusDetailsByReleaseBundleV1TrackerIdRequestObject ¶
type GetDistributionStatusDetailsByReleaseBundleV1TrackerIdRequestObject struct {
ReleaseBundleName ReleaseBundleNamePath `json:"release_bundle_name"`
ReleaseBundleVersion ReleaseBundleVersionPath `json:"release_bundle_version"`
DistributionTracker DistributionTrackerPath `json:"distribution_tracker"`
}
type GetDistributionStatusDetailsByReleaseBundleV1TrackerIdResponseObject ¶
type GetDistributionStatusDetailsByReleaseBundleV1TrackerIdResponseObject interface {
VisitGetDistributionStatusDetailsByReleaseBundleV1TrackerIdResponse(w http.ResponseWriter) error
}
type GetDistributionStatusDetailsByReleaseBundleV1Version200JSONResponse ¶
type GetDistributionStatusDetailsByReleaseBundleV1Version200JSONResponse []DistributionStatus
func (GetDistributionStatusDetailsByReleaseBundleV1Version200JSONResponse) VisitGetDistributionStatusDetailsByReleaseBundleV1VersionResponse ¶
func (response GetDistributionStatusDetailsByReleaseBundleV1Version200JSONResponse) VisitGetDistributionStatusDetailsByReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type GetDistributionStatusDetailsByReleaseBundleV1Version401JSONResponse ¶
type GetDistributionStatusDetailsByReleaseBundleV1Version401JSONResponse ErrorResponse
func (GetDistributionStatusDetailsByReleaseBundleV1Version401JSONResponse) VisitGetDistributionStatusDetailsByReleaseBundleV1VersionResponse ¶
func (response GetDistributionStatusDetailsByReleaseBundleV1Version401JSONResponse) VisitGetDistributionStatusDetailsByReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type GetDistributionStatusDetailsByReleaseBundleV1Version429JSONResponse ¶
type GetDistributionStatusDetailsByReleaseBundleV1Version429JSONResponse struct{ TooManyRequestsJSONResponse }
func (GetDistributionStatusDetailsByReleaseBundleV1Version429JSONResponse) VisitGetDistributionStatusDetailsByReleaseBundleV1VersionResponse ¶
func (response GetDistributionStatusDetailsByReleaseBundleV1Version429JSONResponse) VisitGetDistributionStatusDetailsByReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type GetDistributionStatusDetailsByReleaseBundleV1Version503JSONResponse ¶
func (GetDistributionStatusDetailsByReleaseBundleV1Version503JSONResponse) VisitGetDistributionStatusDetailsByReleaseBundleV1VersionResponse ¶
func (response GetDistributionStatusDetailsByReleaseBundleV1Version503JSONResponse) VisitGetDistributionStatusDetailsByReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type GetDistributionStatusDetailsByReleaseBundleV1VersionRequestObject ¶
type GetDistributionStatusDetailsByReleaseBundleV1VersionRequestObject struct {
ReleaseBundleName ReleaseBundleNamePath `json:"release_bundle_name"`
ReleaseBundleVersion ReleaseBundleVersionPath `json:"release_bundle_version"`
}
type GetDistributionStatusDetailsByReleaseBundleV1VersionResponseObject ¶
type GetDistributionStatusDetailsByReleaseBundleV1VersionResponseObject interface {
VisitGetDistributionStatusDetailsByReleaseBundleV1VersionResponse(w http.ResponseWriter) error
}
type GetDistributionStatusDetailsByTrackerId200JSONResponse ¶
type GetDistributionStatusDetailsByTrackerId200JSONResponse DistributionProgress
func (GetDistributionStatusDetailsByTrackerId200JSONResponse) VisitGetDistributionStatusDetailsByTrackerIdResponse ¶
func (response GetDistributionStatusDetailsByTrackerId200JSONResponse) VisitGetDistributionStatusDetailsByTrackerIdResponse(w http.ResponseWriter) error
type GetDistributionStatusDetailsByTrackerId401JSONResponse ¶
type GetDistributionStatusDetailsByTrackerId401JSONResponse ErrorResponse
func (GetDistributionStatusDetailsByTrackerId401JSONResponse) VisitGetDistributionStatusDetailsByTrackerIdResponse ¶
func (response GetDistributionStatusDetailsByTrackerId401JSONResponse) VisitGetDistributionStatusDetailsByTrackerIdResponse(w http.ResponseWriter) error
type GetDistributionStatusDetailsByTrackerId403JSONResponse ¶
type GetDistributionStatusDetailsByTrackerId403JSONResponse ErrorResponse
func (GetDistributionStatusDetailsByTrackerId403JSONResponse) VisitGetDistributionStatusDetailsByTrackerIdResponse ¶
func (response GetDistributionStatusDetailsByTrackerId403JSONResponse) VisitGetDistributionStatusDetailsByTrackerIdResponse(w http.ResponseWriter) error
type GetDistributionStatusDetailsByTrackerId429JSONResponse ¶
type GetDistributionStatusDetailsByTrackerId429JSONResponse struct{ TooManyRequestsJSONResponse }
func (GetDistributionStatusDetailsByTrackerId429JSONResponse) VisitGetDistributionStatusDetailsByTrackerIdResponse ¶
func (response GetDistributionStatusDetailsByTrackerId429JSONResponse) VisitGetDistributionStatusDetailsByTrackerIdResponse(w http.ResponseWriter) error
type GetDistributionStatusDetailsByTrackerId501JSONResponse ¶
type GetDistributionStatusDetailsByTrackerId501JSONResponse ErrorResponse
func (GetDistributionStatusDetailsByTrackerId501JSONResponse) VisitGetDistributionStatusDetailsByTrackerIdResponse ¶
func (response GetDistributionStatusDetailsByTrackerId501JSONResponse) VisitGetDistributionStatusDetailsByTrackerIdResponse(w http.ResponseWriter) error
type GetDistributionStatusDetailsByTrackerId503JSONResponse ¶
func (GetDistributionStatusDetailsByTrackerId503JSONResponse) VisitGetDistributionStatusDetailsByTrackerIdResponse ¶
func (response GetDistributionStatusDetailsByTrackerId503JSONResponse) VisitGetDistributionStatusDetailsByTrackerIdResponse(w http.ResponseWriter) error
type GetDistributionStatusDetailsByTrackerIdRequestObject ¶
type GetDistributionStatusDetailsByTrackerIdRequestObject struct {
ReleaseBundleName ReleaseBundleNamePath `json:"release_bundle_name"`
ReleaseBundleVersion ReleaseBundleVersionPath `json:"release_bundle_version"`
DistributionTracker DistributionTrackerPath `json:"distribution_tracker"`
}
type GetDistributionStatusDetailsByTrackerIdResponseObject ¶
type GetDistributionStatusDetailsByTrackerIdResponseObject interface {
VisitGetDistributionStatusDetailsByTrackerIdResponse(w http.ResponseWriter) error
}
type GetDistributionStatusDetailsRequestObject ¶
type GetDistributionStatusDetailsRequestObject struct {
}
type GetDistributionStatusDetailsResponseObject ¶
type GetDistributionStatusDetailsResponseObject interface {
VisitGetDistributionStatusDetailsResponse(w http.ResponseWriter) error
}
type GetDistributionSystemInfo200JSONResponse ¶
type GetDistributionSystemInfo200JSONResponse SystemInfo
func (GetDistributionSystemInfo200JSONResponse) VisitGetDistributionSystemInfoResponse ¶
func (response GetDistributionSystemInfo200JSONResponse) VisitGetDistributionSystemInfoResponse(w http.ResponseWriter) error
type GetDistributionSystemInfo401JSONResponse ¶
type GetDistributionSystemInfo401JSONResponse ErrorResponse
func (GetDistributionSystemInfo401JSONResponse) VisitGetDistributionSystemInfoResponse ¶
func (response GetDistributionSystemInfo401JSONResponse) VisitGetDistributionSystemInfoResponse(w http.ResponseWriter) error
type GetDistributionSystemInfo429JSONResponse ¶
type GetDistributionSystemInfo429JSONResponse struct{ TooManyRequestsJSONResponse }
func (GetDistributionSystemInfo429JSONResponse) VisitGetDistributionSystemInfoResponse ¶
func (response GetDistributionSystemInfo429JSONResponse) VisitGetDistributionSystemInfoResponse(w http.ResponseWriter) error
type GetDistributionSystemInfo503JSONResponse ¶
func (GetDistributionSystemInfo503JSONResponse) VisitGetDistributionSystemInfoResponse ¶
func (response GetDistributionSystemInfo503JSONResponse) VisitGetDistributionSystemInfoResponse(w http.ResponseWriter) error
type GetDistributionSystemInfoRequestObject ¶
type GetDistributionSystemInfoRequestObject struct {
}
type GetDistributionSystemInfoResponseObject ¶
type GetDistributionSystemInfoResponseObject interface {
VisitGetDistributionSystemInfoResponse(w http.ResponseWriter) error
}
type GetDistributionSystemSettings200JSONResponse ¶
type GetDistributionSystemSettings200JSONResponse SystemSettings
func (GetDistributionSystemSettings200JSONResponse) VisitGetDistributionSystemSettingsResponse ¶
func (response GetDistributionSystemSettings200JSONResponse) VisitGetDistributionSystemSettingsResponse(w http.ResponseWriter) error
type GetDistributionSystemSettings401JSONResponse ¶
type GetDistributionSystemSettings401JSONResponse ErrorResponse
func (GetDistributionSystemSettings401JSONResponse) VisitGetDistributionSystemSettingsResponse ¶
func (response GetDistributionSystemSettings401JSONResponse) VisitGetDistributionSystemSettingsResponse(w http.ResponseWriter) error
type GetDistributionSystemSettings403JSONResponse ¶
type GetDistributionSystemSettings403JSONResponse ErrorResponse
func (GetDistributionSystemSettings403JSONResponse) VisitGetDistributionSystemSettingsResponse ¶
func (response GetDistributionSystemSettings403JSONResponse) VisitGetDistributionSystemSettingsResponse(w http.ResponseWriter) error
type GetDistributionSystemSettings429JSONResponse ¶
type GetDistributionSystemSettings429JSONResponse struct{ TooManyRequestsJSONResponse }
func (GetDistributionSystemSettings429JSONResponse) VisitGetDistributionSystemSettingsResponse ¶
func (response GetDistributionSystemSettings429JSONResponse) VisitGetDistributionSystemSettingsResponse(w http.ResponseWriter) error
type GetDistributionSystemSettings503JSONResponse ¶
func (GetDistributionSystemSettings503JSONResponse) VisitGetDistributionSystemSettingsResponse ¶
func (response GetDistributionSystemSettings503JSONResponse) VisitGetDistributionSystemSettingsResponse(w http.ResponseWriter) error
type GetDistributionSystemSettingsRequestObject ¶
type GetDistributionSystemSettingsRequestObject struct {
}
type GetDistributionSystemSettingsResponseObject ¶
type GetDistributionSystemSettingsResponseObject interface {
VisitGetDistributionSystemSettingsResponse(w http.ResponseWriter) error
}
type GetExportedReleaseBundleV1Status200JSONResponse ¶
type GetExportedReleaseBundleV1Status200JSONResponse struct {
// Status Optional within this object. NOT_EXPORTED, IN_PROGRESS, COMPLETED or FAILED.
Status *GetExportedReleaseBundleV1Status200JSONResponseBodyStatus `json:"status,omitempty"`
}
func (GetExportedReleaseBundleV1Status200JSONResponse) VisitGetExportedReleaseBundleV1StatusResponse ¶
func (response GetExportedReleaseBundleV1Status200JSONResponse) VisitGetExportedReleaseBundleV1StatusResponse(w http.ResponseWriter) error
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 ¶
func (e GetExportedReleaseBundleV1Status200JSONResponseBodyStatus) Valid() bool
Valid indicates whether the value is a known member of the GetExportedReleaseBundleV1Status200JSONResponseBodyStatus enum.
type GetExportedReleaseBundleV1Status401JSONResponse ¶
type GetExportedReleaseBundleV1Status401JSONResponse ErrorResponse
func (GetExportedReleaseBundleV1Status401JSONResponse) VisitGetExportedReleaseBundleV1StatusResponse ¶
func (response GetExportedReleaseBundleV1Status401JSONResponse) VisitGetExportedReleaseBundleV1StatusResponse(w http.ResponseWriter) error
type GetExportedReleaseBundleV1Status429JSONResponse ¶
type GetExportedReleaseBundleV1Status429JSONResponse struct{ TooManyRequestsJSONResponse }
func (GetExportedReleaseBundleV1Status429JSONResponse) VisitGetExportedReleaseBundleV1StatusResponse ¶
func (response GetExportedReleaseBundleV1Status429JSONResponse) VisitGetExportedReleaseBundleV1StatusResponse(w http.ResponseWriter) error
type GetExportedReleaseBundleV1Status503JSONResponse ¶
func (GetExportedReleaseBundleV1Status503JSONResponse) VisitGetExportedReleaseBundleV1StatusResponse ¶
func (response GetExportedReleaseBundleV1Status503JSONResponse) VisitGetExportedReleaseBundleV1StatusResponse(w http.ResponseWriter) error
type GetExportedReleaseBundleV1StatusRequestObject ¶
type GetExportedReleaseBundleV1StatusRequestObject struct {
ReleaseBundleName ReleaseBundleNamePath `json:"release_bundle_name"`
ReleaseBundleVersion ReleaseBundleVersionPath `json:"release_bundle_version"`
}
type GetExportedReleaseBundleV1StatusResponseObject ¶
type GetExportedReleaseBundleV1StatusResponseObject interface {
VisitGetExportedReleaseBundleV1StatusResponse(w http.ResponseWriter) error
}
type GetGpgPublicKeyByAlias200JSONResponse ¶
type GetGpgPublicKeyByAlias200JSONResponse GpgKey
func (GetGpgPublicKeyByAlias200JSONResponse) VisitGetGpgPublicKeyByAliasResponse ¶
func (response GetGpgPublicKeyByAlias200JSONResponse) VisitGetGpgPublicKeyByAliasResponse(w http.ResponseWriter) error
type GetGpgPublicKeyByAlias401JSONResponse ¶
type GetGpgPublicKeyByAlias401JSONResponse ErrorResponse
func (GetGpgPublicKeyByAlias401JSONResponse) VisitGetGpgPublicKeyByAliasResponse ¶
func (response GetGpgPublicKeyByAlias401JSONResponse) VisitGetGpgPublicKeyByAliasResponse(w http.ResponseWriter) error
type GetGpgPublicKeyByAlias404JSONResponse ¶
type GetGpgPublicKeyByAlias404JSONResponse ErrorResponse
func (GetGpgPublicKeyByAlias404JSONResponse) VisitGetGpgPublicKeyByAliasResponse ¶
func (response GetGpgPublicKeyByAlias404JSONResponse) VisitGetGpgPublicKeyByAliasResponse(w http.ResponseWriter) error
type GetGpgPublicKeyByAlias429JSONResponse ¶
type GetGpgPublicKeyByAlias429JSONResponse struct{ TooManyRequestsJSONResponse }
func (GetGpgPublicKeyByAlias429JSONResponse) VisitGetGpgPublicKeyByAliasResponse ¶
func (response GetGpgPublicKeyByAlias429JSONResponse) VisitGetGpgPublicKeyByAliasResponse(w http.ResponseWriter) error
type GetGpgPublicKeyByAlias503JSONResponse ¶
func (GetGpgPublicKeyByAlias503JSONResponse) VisitGetGpgPublicKeyByAliasResponse ¶
func (response GetGpgPublicKeyByAlias503JSONResponse) VisitGetGpgPublicKeyByAliasResponse(w http.ResponseWriter) error
type GetGpgPublicKeyByAliasRequestObject ¶
type GetGpgPublicKeyByAliasRequestObject struct {
Alias string `json:"alias"`
}
type GetGpgPublicKeyByAliasResponseObject ¶
type GetGpgPublicKeyByAliasResponseObject interface {
VisitGetGpgPublicKeyByAliasResponse(w http.ResponseWriter) error
}
type GetGpgSigningKey200JSONResponse ¶
type GetGpgSigningKey200JSONResponse GpgKey
func (GetGpgSigningKey200JSONResponse) VisitGetGpgSigningKeyResponse ¶
func (response GetGpgSigningKey200JSONResponse) VisitGetGpgSigningKeyResponse(w http.ResponseWriter) error
type GetGpgSigningKey401JSONResponse ¶
type GetGpgSigningKey401JSONResponse ErrorResponse
func (GetGpgSigningKey401JSONResponse) VisitGetGpgSigningKeyResponse ¶
func (response GetGpgSigningKey401JSONResponse) VisitGetGpgSigningKeyResponse(w http.ResponseWriter) error
type GetGpgSigningKey429JSONResponse ¶
type GetGpgSigningKey429JSONResponse struct{ TooManyRequestsJSONResponse }
func (GetGpgSigningKey429JSONResponse) VisitGetGpgSigningKeyResponse ¶
func (response GetGpgSigningKey429JSONResponse) VisitGetGpgSigningKeyResponse(w http.ResponseWriter) error
type GetGpgSigningKey503JSONResponse ¶
func (GetGpgSigningKey503JSONResponse) VisitGetGpgSigningKeyResponse ¶
func (response GetGpgSigningKey503JSONResponse) VisitGetGpgSigningKeyResponse(w http.ResponseWriter) error
type GetGpgSigningKeyRequestObject ¶
type GetGpgSigningKeyRequestObject struct {
}
type GetGpgSigningKeyResponseObject ¶
type GetGpgSigningKeyResponseObject interface {
VisitGetGpgSigningKeyResponse(w http.ResponseWriter) error
}
type GetLatestReleaseBundleV1Version200JSONResponse ¶
type GetLatestReleaseBundleV1Version200JSONResponse ReleaseBundleV1Version
func (GetLatestReleaseBundleV1Version200JSONResponse) VisitGetLatestReleaseBundleV1VersionResponse ¶
func (response GetLatestReleaseBundleV1Version200JSONResponse) VisitGetLatestReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type GetLatestReleaseBundleV1Version401JSONResponse ¶
type GetLatestReleaseBundleV1Version401JSONResponse ErrorResponse
func (GetLatestReleaseBundleV1Version401JSONResponse) VisitGetLatestReleaseBundleV1VersionResponse ¶
func (response GetLatestReleaseBundleV1Version401JSONResponse) VisitGetLatestReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type GetLatestReleaseBundleV1Version404JSONResponse ¶
type GetLatestReleaseBundleV1Version404JSONResponse ErrorResponse
func (GetLatestReleaseBundleV1Version404JSONResponse) VisitGetLatestReleaseBundleV1VersionResponse ¶
func (response GetLatestReleaseBundleV1Version404JSONResponse) VisitGetLatestReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type GetLatestReleaseBundleV1Version429JSONResponse ¶
type GetLatestReleaseBundleV1Version429JSONResponse struct{ TooManyRequestsJSONResponse }
func (GetLatestReleaseBundleV1Version429JSONResponse) VisitGetLatestReleaseBundleV1VersionResponse ¶
func (response GetLatestReleaseBundleV1Version429JSONResponse) VisitGetLatestReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type GetLatestReleaseBundleV1Version503JSONResponse ¶
func (GetLatestReleaseBundleV1Version503JSONResponse) VisitGetLatestReleaseBundleV1VersionResponse ¶
func (response GetLatestReleaseBundleV1Version503JSONResponse) VisitGetLatestReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type GetLatestReleaseBundleV1VersionRequestObject ¶
type GetLatestReleaseBundleV1VersionRequestObject struct {
ReleaseBundleName ReleaseBundleNamePath `json:"release_bundle_name"`
}
type GetLatestReleaseBundleV1VersionResponseObject ¶
type GetLatestReleaseBundleV1VersionResponseObject interface {
VisitGetLatestReleaseBundleV1VersionResponse(w http.ResponseWriter) error
}
type GetOpenMetricsForDistribution200TextResponse ¶
type GetOpenMetricsForDistribution200TextResponse string
func (GetOpenMetricsForDistribution200TextResponse) VisitGetOpenMetricsForDistributionResponse ¶
func (response GetOpenMetricsForDistribution200TextResponse) VisitGetOpenMetricsForDistributionResponse(w http.ResponseWriter) error
type GetOpenMetricsForDistribution401JSONResponse ¶
type GetOpenMetricsForDistribution401JSONResponse ErrorResponse
func (GetOpenMetricsForDistribution401JSONResponse) VisitGetOpenMetricsForDistributionResponse ¶
func (response GetOpenMetricsForDistribution401JSONResponse) VisitGetOpenMetricsForDistributionResponse(w http.ResponseWriter) error
type GetOpenMetricsForDistribution403JSONResponse ¶
type GetOpenMetricsForDistribution403JSONResponse ErrorResponse
func (GetOpenMetricsForDistribution403JSONResponse) VisitGetOpenMetricsForDistributionResponse ¶
func (response GetOpenMetricsForDistribution403JSONResponse) VisitGetOpenMetricsForDistributionResponse(w http.ResponseWriter) error
type GetOpenMetricsForDistribution429JSONResponse ¶
type GetOpenMetricsForDistribution429JSONResponse struct{ TooManyRequestsJSONResponse }
func (GetOpenMetricsForDistribution429JSONResponse) VisitGetOpenMetricsForDistributionResponse ¶
func (response GetOpenMetricsForDistribution429JSONResponse) VisitGetOpenMetricsForDistributionResponse(w http.ResponseWriter) error
type GetOpenMetricsForDistribution503JSONResponse ¶
func (GetOpenMetricsForDistribution503JSONResponse) VisitGetOpenMetricsForDistributionResponse ¶
func (response GetOpenMetricsForDistribution503JSONResponse) VisitGetOpenMetricsForDistributionResponse(w http.ResponseWriter) error
type GetOpenMetricsForDistributionRequestObject ¶
type GetOpenMetricsForDistributionRequestObject struct {
}
type GetOpenMetricsForDistributionResponseObject ¶
type GetOpenMetricsForDistributionResponseObject interface {
VisitGetOpenMetricsForDistributionResponse(w http.ResponseWriter) error
}
type GetPublicSigningKeyForDistribution200TextResponse ¶
type GetPublicSigningKeyForDistribution200TextResponse string
func (GetPublicSigningKeyForDistribution200TextResponse) VisitGetPublicSigningKeyForDistributionResponse ¶
func (response GetPublicSigningKeyForDistribution200TextResponse) VisitGetPublicSigningKeyForDistributionResponse(w http.ResponseWriter) error
type GetPublicSigningKeyForDistribution401JSONResponse ¶
type GetPublicSigningKeyForDistribution401JSONResponse ErrorResponse
func (GetPublicSigningKeyForDistribution401JSONResponse) VisitGetPublicSigningKeyForDistributionResponse ¶
func (response GetPublicSigningKeyForDistribution401JSONResponse) VisitGetPublicSigningKeyForDistributionResponse(w http.ResponseWriter) error
type GetPublicSigningKeyForDistribution403JSONResponse ¶
type GetPublicSigningKeyForDistribution403JSONResponse ErrorResponse
func (GetPublicSigningKeyForDistribution403JSONResponse) VisitGetPublicSigningKeyForDistributionResponse ¶
func (response GetPublicSigningKeyForDistribution403JSONResponse) VisitGetPublicSigningKeyForDistributionResponse(w http.ResponseWriter) error
type GetPublicSigningKeyForDistribution429JSONResponse ¶
type GetPublicSigningKeyForDistribution429JSONResponse struct{ TooManyRequestsJSONResponse }
func (GetPublicSigningKeyForDistribution429JSONResponse) VisitGetPublicSigningKeyForDistributionResponse ¶
func (response GetPublicSigningKeyForDistribution429JSONResponse) VisitGetPublicSigningKeyForDistributionResponse(w http.ResponseWriter) error
type GetPublicSigningKeyForDistribution503JSONResponse ¶
func (GetPublicSigningKeyForDistribution503JSONResponse) VisitGetPublicSigningKeyForDistributionResponse ¶
func (response GetPublicSigningKeyForDistribution503JSONResponse) VisitGetPublicSigningKeyForDistributionResponse(w http.ResponseWriter) error
type GetPublicSigningKeyForDistributionRequestObject ¶
type GetPublicSigningKeyForDistributionRequestObject struct {
KeyName string `json:"key_name"`
}
type GetPublicSigningKeyForDistributionResponseObject ¶
type GetPublicSigningKeyForDistributionResponseObject interface {
VisitGetPublicSigningKeyForDistributionResponse(w http.ResponseWriter) error
}
type GetReleaseBundleV1VersionDetails200ApplicationJosePlusJSONResponse ¶
type GetReleaseBundleV1VersionDetails200ApplicationJosePlusJSONResponse 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"`
}
func (GetReleaseBundleV1VersionDetails200ApplicationJosePlusJSONResponse) VisitGetReleaseBundleV1VersionDetailsResponse ¶
func (response GetReleaseBundleV1VersionDetails200ApplicationJosePlusJSONResponse) VisitGetReleaseBundleV1VersionDetailsResponse(w http.ResponseWriter) error
type GetReleaseBundleV1VersionDetails200ApplicationjoseResponse ¶
type GetReleaseBundleV1VersionDetails200ApplicationjoseResponse struct {
Body io.Reader
ContentLength int64
}
func (GetReleaseBundleV1VersionDetails200ApplicationjoseResponse) VisitGetReleaseBundleV1VersionDetailsResponse ¶
func (response GetReleaseBundleV1VersionDetails200ApplicationjoseResponse) VisitGetReleaseBundleV1VersionDetailsResponse(w http.ResponseWriter) error
type GetReleaseBundleV1VersionDetails200JSONResponse ¶
type GetReleaseBundleV1VersionDetails200JSONResponse ReleaseBundleV1Version
func (GetReleaseBundleV1VersionDetails200JSONResponse) VisitGetReleaseBundleV1VersionDetailsResponse ¶
func (response GetReleaseBundleV1VersionDetails200JSONResponse) VisitGetReleaseBundleV1VersionDetailsResponse(w http.ResponseWriter) error
type GetReleaseBundleV1VersionDetails401JSONResponse ¶
type GetReleaseBundleV1VersionDetails401JSONResponse ErrorResponse
func (GetReleaseBundleV1VersionDetails401JSONResponse) VisitGetReleaseBundleV1VersionDetailsResponse ¶
func (response GetReleaseBundleV1VersionDetails401JSONResponse) VisitGetReleaseBundleV1VersionDetailsResponse(w http.ResponseWriter) error
type GetReleaseBundleV1VersionDetails404JSONResponse ¶
type GetReleaseBundleV1VersionDetails404JSONResponse ErrorResponse
func (GetReleaseBundleV1VersionDetails404JSONResponse) VisitGetReleaseBundleV1VersionDetailsResponse ¶
func (response GetReleaseBundleV1VersionDetails404JSONResponse) VisitGetReleaseBundleV1VersionDetailsResponse(w http.ResponseWriter) error
type GetReleaseBundleV1VersionDetails429JSONResponse ¶
type GetReleaseBundleV1VersionDetails429JSONResponse struct{ TooManyRequestsJSONResponse }
func (GetReleaseBundleV1VersionDetails429JSONResponse) VisitGetReleaseBundleV1VersionDetailsResponse ¶
func (response GetReleaseBundleV1VersionDetails429JSONResponse) VisitGetReleaseBundleV1VersionDetailsResponse(w http.ResponseWriter) error
type GetReleaseBundleV1VersionDetails503JSONResponse ¶
func (GetReleaseBundleV1VersionDetails503JSONResponse) VisitGetReleaseBundleV1VersionDetailsResponse ¶
func (response GetReleaseBundleV1VersionDetails503JSONResponse) VisitGetReleaseBundleV1VersionDetailsResponse(w http.ResponseWriter) error
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.
const ( Jose GetReleaseBundleV1VersionDetailsParamsFormat = "jose" Json GetReleaseBundleV1VersionDetailsParamsFormat = "json" Jws GetReleaseBundleV1VersionDetailsParamsFormat = "jws" )
Defines values for GetReleaseBundleV1VersionDetailsParamsFormat.
func (GetReleaseBundleV1VersionDetailsParamsFormat) Valid ¶
func (e GetReleaseBundleV1VersionDetailsParamsFormat) Valid() bool
Valid indicates whether the value is a known member of the GetReleaseBundleV1VersionDetailsParamsFormat enum.
type GetReleaseBundleV1VersionDetailsRequestObject ¶
type GetReleaseBundleV1VersionDetailsRequestObject struct {
ReleaseBundleName ReleaseBundleNamePath `json:"release_bundle_name"`
ReleaseBundleVersion ReleaseBundleVersionPath `json:"release_bundle_version"`
Params GetReleaseBundleV1VersionDetailsParams
}
type GetReleaseBundleV1VersionDetailsResponseObject ¶
type GetReleaseBundleV1VersionDetailsResponseObject interface {
VisitGetReleaseBundleV1VersionDetailsResponse(w http.ResponseWriter) error
}
type GetReleaseBundleV1VersionSha256RequestObject ¶
type GetReleaseBundleV1VersionSha256RequestObject struct {
ReleaseBundleName ReleaseBundleNamePath `json:"release_bundle_name"`
ReleaseBundleVersion ReleaseBundleVersionPath `json:"release_bundle_version"`
}
type GetReleaseBundleV1VersionSha256ResponseObject ¶
type GetReleaseBundleV1VersionSha256ResponseObject interface {
VisitGetReleaseBundleV1VersionSha256Response(w http.ResponseWriter) error
}
type GetReleaseBundleV1VersionSha256200Response ¶
type GetReleaseBundleV1VersionSha256200Response struct {
Headers GetReleaseBundleV1VersionSha256200ResponseHeaders
}
func (GetReleaseBundleV1VersionSha256200Response) VisitGetReleaseBundleV1VersionSha256Response ¶
func (response GetReleaseBundleV1VersionSha256200Response) VisitGetReleaseBundleV1VersionSha256Response(w http.ResponseWriter) error
type GetReleaseBundleV1VersionSha256200ResponseHeaders ¶
type GetReleaseBundleV1VersionSha256200ResponseHeaders struct {
XChecksumSha256 *string
}
type GetReleaseBundleV1VersionSha256401Response ¶
type GetReleaseBundleV1VersionSha256401Response struct {
}
func (GetReleaseBundleV1VersionSha256401Response) VisitGetReleaseBundleV1VersionSha256Response ¶
func (response GetReleaseBundleV1VersionSha256401Response) VisitGetReleaseBundleV1VersionSha256Response(w http.ResponseWriter) error
type GetReleaseBundleV1VersionSha256404Response ¶
type GetReleaseBundleV1VersionSha256404Response struct {
}
func (GetReleaseBundleV1VersionSha256404Response) VisitGetReleaseBundleV1VersionSha256Response ¶
func (response GetReleaseBundleV1VersionSha256404Response) VisitGetReleaseBundleV1VersionSha256Response(w http.ResponseWriter) error
type GetReleaseBundleV1VersionSha256429JSONResponse ¶
type GetReleaseBundleV1VersionSha256429JSONResponse struct{ TooManyRequestsJSONResponse }
func (GetReleaseBundleV1VersionSha256429JSONResponse) VisitGetReleaseBundleV1VersionSha256Response ¶
func (response GetReleaseBundleV1VersionSha256429JSONResponse) VisitGetReleaseBundleV1VersionSha256Response(w http.ResponseWriter) error
type GetReleaseBundleV1VersionSha256503JSONResponse ¶
func (GetReleaseBundleV1VersionSha256503JSONResponse) VisitGetReleaseBundleV1VersionSha256Response ¶
func (response GetReleaseBundleV1VersionSha256503JSONResponse) VisitGetReleaseBundleV1VersionSha256Response(w http.ResponseWriter) error
type GetReleaseBundleV1VersionsByName200JSONResponse ¶
type GetReleaseBundleV1VersionsByName200JSONResponse []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"`
}
func (GetReleaseBundleV1VersionsByName200JSONResponse) VisitGetReleaseBundleV1VersionsByNameResponse ¶
func (response GetReleaseBundleV1VersionsByName200JSONResponse) VisitGetReleaseBundleV1VersionsByNameResponse(w http.ResponseWriter) error
type GetReleaseBundleV1VersionsByName401JSONResponse ¶
type GetReleaseBundleV1VersionsByName401JSONResponse ErrorResponse
func (GetReleaseBundleV1VersionsByName401JSONResponse) VisitGetReleaseBundleV1VersionsByNameResponse ¶
func (response GetReleaseBundleV1VersionsByName401JSONResponse) VisitGetReleaseBundleV1VersionsByNameResponse(w http.ResponseWriter) error
type GetReleaseBundleV1VersionsByName404JSONResponse ¶
type GetReleaseBundleV1VersionsByName404JSONResponse ErrorResponse
func (GetReleaseBundleV1VersionsByName404JSONResponse) VisitGetReleaseBundleV1VersionsByNameResponse ¶
func (response GetReleaseBundleV1VersionsByName404JSONResponse) VisitGetReleaseBundleV1VersionsByNameResponse(w http.ResponseWriter) error
type GetReleaseBundleV1VersionsByName429JSONResponse ¶
type GetReleaseBundleV1VersionsByName429JSONResponse struct{ TooManyRequestsJSONResponse }
func (GetReleaseBundleV1VersionsByName429JSONResponse) VisitGetReleaseBundleV1VersionsByNameResponse ¶
func (response GetReleaseBundleV1VersionsByName429JSONResponse) VisitGetReleaseBundleV1VersionsByNameResponse(w http.ResponseWriter) error
type GetReleaseBundleV1VersionsByName503JSONResponse ¶
func (GetReleaseBundleV1VersionsByName503JSONResponse) VisitGetReleaseBundleV1VersionsByNameResponse ¶
func (response GetReleaseBundleV1VersionsByName503JSONResponse) VisitGetReleaseBundleV1VersionsByNameResponse(w http.ResponseWriter) error
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 GetReleaseBundleV1VersionsByNameRequestObject ¶
type GetReleaseBundleV1VersionsByNameRequestObject struct {
ReleaseBundleName ReleaseBundleNamePath `json:"release_bundle_name"`
Params GetReleaseBundleV1VersionsByNameParams
}
type GetReleaseBundleV1VersionsByNameResponseObject ¶
type GetReleaseBundleV1VersionsByNameResponseObject interface {
VisitGetReleaseBundleV1VersionsByNameResponse(w http.ResponseWriter) error
}
type GetReleaseBundleV2DistributionTrackers200JSONResponse ¶
type GetReleaseBundleV2DistributionTrackers200JSONResponse []DistributionTrackerSimple
func (GetReleaseBundleV2DistributionTrackers200JSONResponse) VisitGetReleaseBundleV2DistributionTrackersResponse ¶
func (response GetReleaseBundleV2DistributionTrackers200JSONResponse) VisitGetReleaseBundleV2DistributionTrackersResponse(w http.ResponseWriter) error
type GetReleaseBundleV2DistributionTrackers401JSONResponse ¶
type GetReleaseBundleV2DistributionTrackers401JSONResponse ErrorResponse
func (GetReleaseBundleV2DistributionTrackers401JSONResponse) VisitGetReleaseBundleV2DistributionTrackersResponse ¶
func (response GetReleaseBundleV2DistributionTrackers401JSONResponse) VisitGetReleaseBundleV2DistributionTrackersResponse(w http.ResponseWriter) error
type GetReleaseBundleV2DistributionTrackers403JSONResponse ¶
type GetReleaseBundleV2DistributionTrackers403JSONResponse ErrorResponse
func (GetReleaseBundleV2DistributionTrackers403JSONResponse) VisitGetReleaseBundleV2DistributionTrackersResponse ¶
func (response GetReleaseBundleV2DistributionTrackers403JSONResponse) VisitGetReleaseBundleV2DistributionTrackersResponse(w http.ResponseWriter) error
type GetReleaseBundleV2DistributionTrackers429JSONResponse ¶
type GetReleaseBundleV2DistributionTrackers429JSONResponse struct{ TooManyRequestsJSONResponse }
func (GetReleaseBundleV2DistributionTrackers429JSONResponse) VisitGetReleaseBundleV2DistributionTrackersResponse ¶
func (response GetReleaseBundleV2DistributionTrackers429JSONResponse) VisitGetReleaseBundleV2DistributionTrackersResponse(w http.ResponseWriter) error
type GetReleaseBundleV2DistributionTrackers501JSONResponse ¶
type GetReleaseBundleV2DistributionTrackers501JSONResponse ErrorResponse
func (GetReleaseBundleV2DistributionTrackers501JSONResponse) VisitGetReleaseBundleV2DistributionTrackersResponse ¶
func (response GetReleaseBundleV2DistributionTrackers501JSONResponse) VisitGetReleaseBundleV2DistributionTrackersResponse(w http.ResponseWriter) error
type GetReleaseBundleV2DistributionTrackers503JSONResponse ¶
func (GetReleaseBundleV2DistributionTrackers503JSONResponse) VisitGetReleaseBundleV2DistributionTrackersResponse ¶
func (response GetReleaseBundleV2DistributionTrackers503JSONResponse) VisitGetReleaseBundleV2DistributionTrackersResponse(w http.ResponseWriter) error
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 GetReleaseBundleV2DistributionTrackersRequestObject ¶
type GetReleaseBundleV2DistributionTrackersRequestObject struct {
ReleaseBundleName ReleaseBundleNamePath `json:"release_bundle_name"`
ReleaseBundleVersion ReleaseBundleVersionPath `json:"release_bundle_version"`
Params GetReleaseBundleV2DistributionTrackersParams
}
type GetReleaseBundleV2DistributionTrackersResponseObject ¶
type GetReleaseBundleV2DistributionTrackersResponseObject interface {
VisitGetReleaseBundleV2DistributionTrackersResponse(w http.ResponseWriter) error
}
type GetStuckDistributions200JSONResponse ¶
type GetStuckDistributions200JSONResponse []StuckDistribution
func (GetStuckDistributions200JSONResponse) VisitGetStuckDistributionsResponse ¶
func (response GetStuckDistributions200JSONResponse) VisitGetStuckDistributionsResponse(w http.ResponseWriter) error
type GetStuckDistributions401JSONResponse ¶
type GetStuckDistributions401JSONResponse ErrorResponse
func (GetStuckDistributions401JSONResponse) VisitGetStuckDistributionsResponse ¶
func (response GetStuckDistributions401JSONResponse) VisitGetStuckDistributionsResponse(w http.ResponseWriter) error
type GetStuckDistributions403JSONResponse ¶
type GetStuckDistributions403JSONResponse ErrorResponse
func (GetStuckDistributions403JSONResponse) VisitGetStuckDistributionsResponse ¶
func (response GetStuckDistributions403JSONResponse) VisitGetStuckDistributionsResponse(w http.ResponseWriter) error
type GetStuckDistributions429JSONResponse ¶
type GetStuckDistributions429JSONResponse struct{ TooManyRequestsJSONResponse }
func (GetStuckDistributions429JSONResponse) VisitGetStuckDistributionsResponse ¶
func (response GetStuckDistributions429JSONResponse) VisitGetStuckDistributionsResponse(w http.ResponseWriter) error
type GetStuckDistributions503JSONResponse ¶
func (GetStuckDistributions503JSONResponse) VisitGetStuckDistributionsResponse ¶
func (response GetStuckDistributions503JSONResponse) VisitGetStuckDistributionsResponse(w http.ResponseWriter) error
type GetStuckDistributionsRequestObject ¶
type GetStuckDistributionsRequestObject struct {
}
type GetStuckDistributionsResponseObject ¶
type GetStuckDistributionsResponseObject interface {
VisitGetStuckDistributionsResponse(w http.ResponseWriter) error
}
type GetSupportBundleInfo200JSONResponse ¶
type GetSupportBundleInfo200JSONResponse SupportBundleInfo
func (GetSupportBundleInfo200JSONResponse) VisitGetSupportBundleInfoResponse ¶
func (response GetSupportBundleInfo200JSONResponse) VisitGetSupportBundleInfoResponse(w http.ResponseWriter) error
type GetSupportBundleInfo401JSONResponse ¶
type GetSupportBundleInfo401JSONResponse ErrorResponse
func (GetSupportBundleInfo401JSONResponse) VisitGetSupportBundleInfoResponse ¶
func (response GetSupportBundleInfo401JSONResponse) VisitGetSupportBundleInfoResponse(w http.ResponseWriter) error
type GetSupportBundleInfo403JSONResponse ¶
type GetSupportBundleInfo403JSONResponse ErrorResponse
func (GetSupportBundleInfo403JSONResponse) VisitGetSupportBundleInfoResponse ¶
func (response GetSupportBundleInfo403JSONResponse) VisitGetSupportBundleInfoResponse(w http.ResponseWriter) error
type GetSupportBundleInfo404JSONResponse ¶
type GetSupportBundleInfo404JSONResponse ErrorResponse
func (GetSupportBundleInfo404JSONResponse) VisitGetSupportBundleInfoResponse ¶
func (response GetSupportBundleInfo404JSONResponse) VisitGetSupportBundleInfoResponse(w http.ResponseWriter) error
type GetSupportBundleInfo429JSONResponse ¶
type GetSupportBundleInfo429JSONResponse struct{ TooManyRequestsJSONResponse }
func (GetSupportBundleInfo429JSONResponse) VisitGetSupportBundleInfoResponse ¶
func (response GetSupportBundleInfo429JSONResponse) VisitGetSupportBundleInfoResponse(w http.ResponseWriter) error
type GetSupportBundleInfo500JSONResponse ¶
type GetSupportBundleInfo500JSONResponse ErrorResponse
func (GetSupportBundleInfo500JSONResponse) VisitGetSupportBundleInfoResponse ¶
func (response GetSupportBundleInfo500JSONResponse) VisitGetSupportBundleInfoResponse(w http.ResponseWriter) error
type GetSupportBundleInfo503JSONResponse ¶
func (GetSupportBundleInfo503JSONResponse) VisitGetSupportBundleInfoResponse ¶
func (response GetSupportBundleInfo503JSONResponse) VisitGetSupportBundleInfoResponse(w http.ResponseWriter) error
type GetSupportBundleInfoRequestObject ¶
type GetSupportBundleInfoRequestObject struct {
BundleId string `json:"bundle_id"`
}
type GetSupportBundleInfoResponseObject ¶
type GetSupportBundleInfoResponseObject interface {
VisitGetSupportBundleInfoResponse(w http.ResponseWriter) error
}
type GetTokenInfos200JSONResponse ¶
type GetTokenInfos200JSONResponse TokensResponse
func (GetTokenInfos200JSONResponse) VisitGetTokenInfosResponse ¶
func (response GetTokenInfos200JSONResponse) VisitGetTokenInfosResponse(w http.ResponseWriter) error
type GetTokenInfos401JSONResponse ¶
type GetTokenInfos401JSONResponse ErrorResponse
func (GetTokenInfos401JSONResponse) VisitGetTokenInfosResponse ¶
func (response GetTokenInfos401JSONResponse) VisitGetTokenInfosResponse(w http.ResponseWriter) error
type GetTokenInfos403JSONResponse ¶
type GetTokenInfos403JSONResponse ErrorResponse
func (GetTokenInfos403JSONResponse) VisitGetTokenInfosResponse ¶
func (response GetTokenInfos403JSONResponse) VisitGetTokenInfosResponse(w http.ResponseWriter) error
type GetTokenInfos429JSONResponse ¶
type GetTokenInfos429JSONResponse struct{ TooManyRequestsJSONResponse }
func (GetTokenInfos429JSONResponse) VisitGetTokenInfosResponse ¶
func (response GetTokenInfos429JSONResponse) VisitGetTokenInfosResponse(w http.ResponseWriter) error
type GetTokenInfos503JSONResponse ¶
func (GetTokenInfos503JSONResponse) VisitGetTokenInfosResponse ¶
func (response GetTokenInfos503JSONResponse) VisitGetTokenInfosResponse(w http.ResponseWriter) error
type GetTokenInfosRequestObject ¶
type GetTokenInfosRequestObject struct {
}
type GetTokenInfosResponseObject ¶
type GetTokenInfosResponseObject interface {
VisitGetTokenInfosResponse(w http.ResponseWriter) error
}
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 ImportReleaseBundleV1Version200JSONResponse ¶
type ImportReleaseBundleV1Version200JSONResponse struct {
// Message Optional within this object. What was imported, or validated in a dry run.
Message *string `json:"message,omitempty"`
}
func (ImportReleaseBundleV1Version200JSONResponse) VisitImportReleaseBundleV1VersionResponse ¶
func (response ImportReleaseBundleV1Version200JSONResponse) VisitImportReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type ImportReleaseBundleV1Version400JSONResponse ¶
type ImportReleaseBundleV1Version400JSONResponse ErrorResponse
func (ImportReleaseBundleV1Version400JSONResponse) VisitImportReleaseBundleV1VersionResponse ¶
func (response ImportReleaseBundleV1Version400JSONResponse) VisitImportReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type ImportReleaseBundleV1Version401JSONResponse ¶
type ImportReleaseBundleV1Version401JSONResponse ErrorResponse
func (ImportReleaseBundleV1Version401JSONResponse) VisitImportReleaseBundleV1VersionResponse ¶
func (response ImportReleaseBundleV1Version401JSONResponse) VisitImportReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type ImportReleaseBundleV1Version403JSONResponse ¶
type ImportReleaseBundleV1Version403JSONResponse ErrorResponse
func (ImportReleaseBundleV1Version403JSONResponse) VisitImportReleaseBundleV1VersionResponse ¶
func (response ImportReleaseBundleV1Version403JSONResponse) VisitImportReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type ImportReleaseBundleV1Version429JSONResponse ¶
type ImportReleaseBundleV1Version429JSONResponse struct{ TooManyRequestsJSONResponse }
func (ImportReleaseBundleV1Version429JSONResponse) VisitImportReleaseBundleV1VersionResponse ¶
func (response ImportReleaseBundleV1Version429JSONResponse) VisitImportReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type ImportReleaseBundleV1Version503JSONResponse ¶
func (ImportReleaseBundleV1Version503JSONResponse) VisitImportReleaseBundleV1VersionResponse ¶
func (response ImportReleaseBundleV1Version503JSONResponse) VisitImportReleaseBundleV1VersionResponse(w http.ResponseWriter) error
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 ImportReleaseBundleV1VersionRequestObject ¶
type ImportReleaseBundleV1VersionRequestObject struct {
Params ImportReleaseBundleV1VersionParams
}
type ImportReleaseBundleV1VersionResponseObject ¶
type ImportReleaseBundleV1VersionResponseObject interface {
VisitImportReleaseBundleV1VersionResponse(w http.ResponseWriter) error
}
type InvalidParamFormatError ¶
func (*InvalidParamFormatError) Error ¶
func (e *InvalidParamFormatError) Error() string
func (*InvalidParamFormatError) Unwrap ¶
func (e *InvalidParamFormatError) Unwrap() error
type ListSupportBundles200JSONResponse ¶
type ListSupportBundles200JSONResponse SupportBundleList
func (ListSupportBundles200JSONResponse) VisitListSupportBundlesResponse ¶
func (response ListSupportBundles200JSONResponse) VisitListSupportBundlesResponse(w http.ResponseWriter) error
type ListSupportBundles401JSONResponse ¶
type ListSupportBundles401JSONResponse ErrorResponse
func (ListSupportBundles401JSONResponse) VisitListSupportBundlesResponse ¶
func (response ListSupportBundles401JSONResponse) VisitListSupportBundlesResponse(w http.ResponseWriter) error
type ListSupportBundles403JSONResponse ¶
type ListSupportBundles403JSONResponse ErrorResponse
func (ListSupportBundles403JSONResponse) VisitListSupportBundlesResponse ¶
func (response ListSupportBundles403JSONResponse) VisitListSupportBundlesResponse(w http.ResponseWriter) error
type ListSupportBundles429JSONResponse ¶
type ListSupportBundles429JSONResponse struct{ TooManyRequestsJSONResponse }
func (ListSupportBundles429JSONResponse) VisitListSupportBundlesResponse ¶
func (response ListSupportBundles429JSONResponse) VisitListSupportBundlesResponse(w http.ResponseWriter) error
type ListSupportBundles500JSONResponse ¶
type ListSupportBundles500JSONResponse ErrorResponse
func (ListSupportBundles500JSONResponse) VisitListSupportBundlesResponse ¶
func (response ListSupportBundles500JSONResponse) VisitListSupportBundlesResponse(w http.ResponseWriter) error
type ListSupportBundles503JSONResponse ¶
func (ListSupportBundles503JSONResponse) VisitListSupportBundlesResponse ¶
func (response ListSupportBundles503JSONResponse) VisitListSupportBundlesResponse(w http.ResponseWriter) error
type ListSupportBundlesRequestObject ¶
type ListSupportBundlesRequestObject struct {
}
type ListSupportBundlesResponseObject ¶
type ListSupportBundlesResponseObject interface {
VisitListSupportBundlesResponse(w http.ResponseWriter) error
}
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 PropagatePublicSigningKey200JSONResponse ¶
type PropagatePublicSigningKey200JSONResponse PropagationReport
func (PropagatePublicSigningKey200JSONResponse) VisitPropagatePublicSigningKeyResponse ¶
func (response PropagatePublicSigningKey200JSONResponse) VisitPropagatePublicSigningKeyResponse(w http.ResponseWriter) error
type PropagatePublicSigningKey401JSONResponse ¶
type PropagatePublicSigningKey401JSONResponse ErrorResponse
func (PropagatePublicSigningKey401JSONResponse) VisitPropagatePublicSigningKeyResponse ¶
func (response PropagatePublicSigningKey401JSONResponse) VisitPropagatePublicSigningKeyResponse(w http.ResponseWriter) error
type PropagatePublicSigningKey403JSONResponse ¶
type PropagatePublicSigningKey403JSONResponse ErrorResponse
func (PropagatePublicSigningKey403JSONResponse) VisitPropagatePublicSigningKeyResponse ¶
func (response PropagatePublicSigningKey403JSONResponse) VisitPropagatePublicSigningKeyResponse(w http.ResponseWriter) error
type PropagatePublicSigningKey429JSONResponse ¶
type PropagatePublicSigningKey429JSONResponse struct{ TooManyRequestsJSONResponse }
func (PropagatePublicSigningKey429JSONResponse) VisitPropagatePublicSigningKeyResponse ¶
func (response PropagatePublicSigningKey429JSONResponse) VisitPropagatePublicSigningKeyResponse(w http.ResponseWriter) error
type PropagatePublicSigningKey503JSONResponse ¶
func (PropagatePublicSigningKey503JSONResponse) VisitPropagatePublicSigningKeyResponse ¶
func (response PropagatePublicSigningKey503JSONResponse) VisitPropagatePublicSigningKeyResponse(w http.ResponseWriter) error
type PropagatePublicSigningKeyRequestObject ¶
type PropagatePublicSigningKeyRequestObject struct {
KeyName string `json:"key_name"`
}
type PropagatePublicSigningKeyResponseObject ¶
type PropagatePublicSigningKeyResponseObject interface {
VisitPropagatePublicSigningKeyResponse(w http.ResponseWriter) error
}
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 ¶
func (e PropagationReportReportDetailsStatus) Valid() bool
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 ¶
func (e PropagationReportReportStatus) Valid() bool
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 ¶
func (e ReleaseBundleCreationReleaseNotesSyntax) Valid() bool
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 ¶
func (e ReleaseBundleUpdateReleaseNotesSyntax) Valid() bool
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 ¶
func (e ReleaseBundleV1VersionReleaseNotesSyntax) Valid() bool
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 ¶
func (e ReleaseBundleV1VersionState) Valid() bool
Valid indicates whether the value is a known member of the ReleaseBundleV1VersionState enum.
type ReleaseBundleVersionPath ¶
type ReleaseBundleVersionPath = string
ReleaseBundleVersionPath defines model for releaseBundleVersionPath.
type RemoteDeleteReleaseBundleV2Distribution200JSONResponse ¶
type RemoteDeleteReleaseBundleV2Distribution200JSONResponse DistributionResponse
func (RemoteDeleteReleaseBundleV2Distribution200JSONResponse) VisitRemoteDeleteReleaseBundleV2DistributionResponse ¶
func (response RemoteDeleteReleaseBundleV2Distribution200JSONResponse) VisitRemoteDeleteReleaseBundleV2DistributionResponse(w http.ResponseWriter) error
type RemoteDeleteReleaseBundleV2Distribution202JSONResponse ¶
type RemoteDeleteReleaseBundleV2Distribution202JSONResponse DistributionResponse
func (RemoteDeleteReleaseBundleV2Distribution202JSONResponse) VisitRemoteDeleteReleaseBundleV2DistributionResponse ¶
func (response RemoteDeleteReleaseBundleV2Distribution202JSONResponse) VisitRemoteDeleteReleaseBundleV2DistributionResponse(w http.ResponseWriter) error
type RemoteDeleteReleaseBundleV2Distribution401JSONResponse ¶
type RemoteDeleteReleaseBundleV2Distribution401JSONResponse ErrorResponse
func (RemoteDeleteReleaseBundleV2Distribution401JSONResponse) VisitRemoteDeleteReleaseBundleV2DistributionResponse ¶
func (response RemoteDeleteReleaseBundleV2Distribution401JSONResponse) VisitRemoteDeleteReleaseBundleV2DistributionResponse(w http.ResponseWriter) error
type RemoteDeleteReleaseBundleV2Distribution403JSONResponse ¶
type RemoteDeleteReleaseBundleV2Distribution403JSONResponse ErrorResponse
func (RemoteDeleteReleaseBundleV2Distribution403JSONResponse) VisitRemoteDeleteReleaseBundleV2DistributionResponse ¶
func (response RemoteDeleteReleaseBundleV2Distribution403JSONResponse) VisitRemoteDeleteReleaseBundleV2DistributionResponse(w http.ResponseWriter) error
type RemoteDeleteReleaseBundleV2Distribution429JSONResponse ¶
type RemoteDeleteReleaseBundleV2Distribution429JSONResponse struct{ TooManyRequestsJSONResponse }
func (RemoteDeleteReleaseBundleV2Distribution429JSONResponse) VisitRemoteDeleteReleaseBundleV2DistributionResponse ¶
func (response RemoteDeleteReleaseBundleV2Distribution429JSONResponse) VisitRemoteDeleteReleaseBundleV2DistributionResponse(w http.ResponseWriter) error
type RemoteDeleteReleaseBundleV2Distribution501JSONResponse ¶
type RemoteDeleteReleaseBundleV2Distribution501JSONResponse ErrorResponse
func (RemoteDeleteReleaseBundleV2Distribution501JSONResponse) VisitRemoteDeleteReleaseBundleV2DistributionResponse ¶
func (response RemoteDeleteReleaseBundleV2Distribution501JSONResponse) VisitRemoteDeleteReleaseBundleV2DistributionResponse(w http.ResponseWriter) error
type RemoteDeleteReleaseBundleV2Distribution503JSONResponse ¶
func (RemoteDeleteReleaseBundleV2Distribution503JSONResponse) VisitRemoteDeleteReleaseBundleV2DistributionResponse ¶
func (response RemoteDeleteReleaseBundleV2Distribution503JSONResponse) VisitRemoteDeleteReleaseBundleV2DistributionResponse(w http.ResponseWriter) error
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 RemoteDeleteReleaseBundleV2DistributionRequestObject ¶
type RemoteDeleteReleaseBundleV2DistributionRequestObject struct {
ReleaseBundleName ReleaseBundleNamePath `json:"release_bundle_name"`
ReleaseBundleVersion ReleaseBundleVersionPath `json:"release_bundle_version"`
Params RemoteDeleteReleaseBundleV2DistributionParams
Body *RemoteDeleteReleaseBundleV2DistributionJSONRequestBody
}
type RemoteDeleteReleaseBundleV2DistributionResponseObject ¶
type RemoteDeleteReleaseBundleV2DistributionResponseObject interface {
VisitRemoteDeleteReleaseBundleV2DistributionResponse(w http.ResponseWriter) error
}
type RepositoryKeyQuery ¶
type RepositoryKeyQuery = string
RepositoryKeyQuery defines model for repositoryKeyQuery.
type RequiredHeaderError ¶
func (*RequiredHeaderError) Error ¶
func (e *RequiredHeaderError) Error() string
func (*RequiredHeaderError) Unwrap ¶
func (e *RequiredHeaderError) Unwrap() error
type RequiredParamError ¶
type RequiredParamError struct {
ParamName string
}
func (*RequiredParamError) Error ¶
func (e *RequiredParamError) Error() string
type RevokeToken200Response ¶
type RevokeToken200Response struct {
}
func (RevokeToken200Response) VisitRevokeTokenResponse ¶
func (response RevokeToken200Response) VisitRevokeTokenResponse(w http.ResponseWriter) error
type RevokeToken400JSONResponse ¶
type RevokeToken400JSONResponse ErrorResponse
func (RevokeToken400JSONResponse) VisitRevokeTokenResponse ¶
func (response RevokeToken400JSONResponse) VisitRevokeTokenResponse(w http.ResponseWriter) error
type RevokeToken401JSONResponse ¶
type RevokeToken401JSONResponse ErrorResponse
func (RevokeToken401JSONResponse) VisitRevokeTokenResponse ¶
func (response RevokeToken401JSONResponse) VisitRevokeTokenResponse(w http.ResponseWriter) error
type RevokeToken403JSONResponse ¶
type RevokeToken403JSONResponse ErrorResponse
func (RevokeToken403JSONResponse) VisitRevokeTokenResponse ¶
func (response RevokeToken403JSONResponse) VisitRevokeTokenResponse(w http.ResponseWriter) error
type RevokeToken404JSONResponse ¶
type RevokeToken404JSONResponse ErrorResponse
func (RevokeToken404JSONResponse) VisitRevokeTokenResponse ¶
func (response RevokeToken404JSONResponse) VisitRevokeTokenResponse(w http.ResponseWriter) error
type RevokeToken429JSONResponse ¶
type RevokeToken429JSONResponse struct{ TooManyRequestsJSONResponse }
func (RevokeToken429JSONResponse) VisitRevokeTokenResponse ¶
func (response RevokeToken429JSONResponse) VisitRevokeTokenResponse(w http.ResponseWriter) error
type RevokeToken503JSONResponse ¶
func (RevokeToken503JSONResponse) VisitRevokeTokenResponse ¶
func (response RevokeToken503JSONResponse) VisitRevokeTokenResponse(w http.ResponseWriter) error
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 RevokeTokenRequestObject ¶
type RevokeTokenRequestObject struct {
Body *RevokeTokenFormdataRequestBody
}
type RevokeTokenResponseObject ¶
type RevokeTokenResponseObject interface {
VisitRevokeTokenResponse(w http.ResponseWriter) error
}
type ServerInterface ¶
type ServerInterface interface {
// ImportReleaseBundleV1Version Import an exported release bundle v1 archive
// (POST /api/release/import)
ImportReleaseBundleV1Version(w http.ResponseWriter, r *http.Request, params ImportReleaseBundleV1VersionParams)
// GetDistributionEdgeNodes List edge nodes
// (GET /api/v1/distribution/edge_nodes)
GetDistributionEdgeNodes(w http.ResponseWriter, r *http.Request, params GetDistributionEdgeNodesParams)
// DistributeReleaseBundleV1Version Distribute a release bundle v1 version
// (POST /api/v1/distribution/{release_bundle_name}/{release_bundle_version})
DistributeReleaseBundleV1Version(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath)
// AbortReleaseBundleV1Distribution Abort a release bundle v1 distribution
// (PUT /api/v1/distribution/{release_bundle_name}/{release_bundle_version}/abort)
AbortReleaseBundleV1Distribution(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath)
// DeleteReleaseBundleV1VersionFromDistributionEdges Delete a release bundle v1 version from edges
// (POST /api/v1/distribution/{release_bundle_name}/{release_bundle_version}/delete)
DeleteReleaseBundleV1VersionFromDistributionEdges(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath)
// DistributeDynamicReleaseBundleV1 Create, sign and distribute a release bundle in one call
// (POST /api/v1/dynamic/distribute)
DistributeDynamicReleaseBundleV1(w http.ResponseWriter, r *http.Request, params DistributeDynamicReleaseBundleV1Params)
// DeleteExportedReleaseBundleV1File Delete an exported release bundle archive
// (DELETE /api/v1/export/release_bundle/{release_bundle_name}/{release_bundle_version})
DeleteExportedReleaseBundleV1File(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath)
// ExportReleaseBundleV1Version Export a release bundle v1 version for air-gapped transfer
// (POST /api/v1/export/release_bundle/{release_bundle_name}/{release_bundle_version})
ExportReleaseBundleV1Version(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params ExportReleaseBundleV1VersionParams)
// GetExportedReleaseBundleV1Status Get the export status of a release bundle v1 version
// (GET /api/v1/export/release_bundle/{release_bundle_name}/{release_bundle_version}/status)
GetExportedReleaseBundleV1Status(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath)
// GetGpgSigningKey Get the default GPG signing key
// (GET /api/v1/keys/pgp)
GetGpgSigningKey(w http.ResponseWriter, r *http.Request)
// SetGpgSigningKey Add a GPG signing key
// (POST /api/v1/keys/pgp)
SetGpgSigningKey(w http.ResponseWriter, r *http.Request)
// GetAllGpgKeyAliases List GPG key aliases
// (GET /api/v1/keys/pgp/aliases)
GetAllGpgKeyAliases(w http.ResponseWriter, r *http.Request)
// UploadAndPropagateGpgSigningKeysForDistribution Propagate GPG keys to edges
// (POST /api/v1/keys/pgp/propagate)
UploadAndPropagateGpgSigningKeysForDistribution(w http.ResponseWriter, r *http.Request, params UploadAndPropagateGpgSigningKeysForDistributionParams)
// DeleteGpgKeyByAlias Delete a GPG key
// (DELETE /api/v1/keys/pgp/{alias})
DeleteGpgKeyByAlias(w http.ResponseWriter, r *http.Request, alias string)
// GetGpgPublicKeyByAlias Get a GPG key by alias
// (GET /api/v1/keys/pgp/{alias})
GetGpgPublicKeyByAlias(w http.ResponseWriter, r *http.Request, alias string)
// UpdateGpgKeyAlias Rename a GPG key
// (PUT /api/v1/keys/pgp/{alias})
UpdateGpgKeyAlias(w http.ResponseWriter, r *http.Request, alias string)
// DistributeByLastDays Redistribute recent release bundles to an edge
// (POST /api/v1/maintenance/distributeByLastDays)
DistributeByLastDays(w http.ResponseWriter, r *http.Request)
// ExecuteMaintenanceAction Run a maintenance action
// (POST /api/v1/maintenance/execute/{actionType})
ExecuteMaintenanceAction(w http.ResponseWriter, r *http.Request, actionType ExecuteMaintenanceActionParamsActionType, params ExecuteMaintenanceActionParams)
// GenerateMaintenanceExecutionToken Get a maintenance token
// (GET /api/v1/maintenance/generate_token/{actionType})
GenerateMaintenanceExecutionToken(w http.ResponseWriter, r *http.Request, actionType GenerateMaintenanceExecutionTokenParamsActionType)
// GetStuckDistributions List stuck distributions
// (GET /api/v1/maintenance/stuck_distributions)
GetStuckDistributions(w http.ResponseWriter, r *http.Request)
// GetOpenMetricsForDistribution Get distribution metrics
// (GET /api/v1/metrics)
GetOpenMetricsForDistribution(w http.ResponseWriter, r *http.Request)
// GetAllBundles List release bundle v1 versions
// (GET /api/v1/release_bundle)
GetAllBundles(w http.ResponseWriter, r *http.Request, params GetAllBundlesParams)
// CreateReleaseBundleV1Version Create a release bundle v1 version
// (POST /api/v1/release_bundle)
CreateReleaseBundleV1Version(w http.ResponseWriter, r *http.Request, params CreateReleaseBundleV1VersionParams)
// GetDistributionStatusDetails List distribution statuses
// (GET /api/v1/release_bundle/distribution)
GetDistributionStatusDetails(w http.ResponseWriter, r *http.Request)
// DeleteAllReleaseBundleV1Versions Delete every version of a release bundle
// (DELETE /api/v1/release_bundle/{release_bundle_name})
DeleteAllReleaseBundleV1Versions(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, params DeleteAllReleaseBundleV1VersionsParams)
// GetReleaseBundleV1VersionsByName List the versions of one release bundle
// (GET /api/v1/release_bundle/{release_bundle_name})
GetReleaseBundleV1VersionsByName(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, params GetReleaseBundleV1VersionsByNameParams)
// GetLatestReleaseBundleV1Version Get the latest version of a release bundle
// (GET /api/v1/release_bundle/{release_bundle_name}/LATEST)
GetLatestReleaseBundleV1Version(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath)
// GetDistributionStatusDetailsByReleaseBundleV1Name List distribution statuses of a release bundle
// (GET /api/v1/release_bundle/{release_bundle_name}/distribution)
GetDistributionStatusDetailsByReleaseBundleV1Name(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath)
// DeleteReleaseBundleV1Version Delete a release bundle v1 version
// (DELETE /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version})
DeleteReleaseBundleV1Version(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params DeleteReleaseBundleV1VersionParams)
// GetReleaseBundleV1VersionDetails Get a release bundle v1 version
// (GET /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version})
GetReleaseBundleV1VersionDetails(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params GetReleaseBundleV1VersionDetailsParams)
// GetReleaseBundleV1VersionSha256 Get the checksum of a release bundle v1 version
// (HEAD /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version})
GetReleaseBundleV1VersionSha256(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath)
// UpdateReleaseBundleV1Version Update an unsigned release bundle v1 version
// (PUT /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version})
UpdateReleaseBundleV1Version(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params UpdateReleaseBundleV1VersionParams)
// GetDistributionStatusDetailsByReleaseBundleV1Version List distribution statuses of a version
// (GET /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version}/distribution)
GetDistributionStatusDetailsByReleaseBundleV1Version(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath)
// GetDistributionStatusDetailsByReleaseBundleV1TrackerId Get a distribution tracker
// (GET /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version}/distribution/{distribution_tracker})
GetDistributionStatusDetailsByReleaseBundleV1TrackerId(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, distributionTracker DistributionTrackerPath)
// SignReleaseBundleV1Version Sign a release bundle v1 version
// (POST /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version}/sign)
SignReleaseBundleV1Version(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params SignReleaseBundleV1VersionParams)
// TriggerXrayScanReleaseBundleV1Version Scan a release bundle v1 version with Xray
// (POST /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version}/trigger_xray_scan)
TriggerXrayScanReleaseBundleV1Version(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath)
// GetAllDistributionPermissions List destination permissions
// (GET /api/v1/security/permissions)
GetAllDistributionPermissions(w http.ResponseWriter, r *http.Request)
// DeleteDistributionPermission Delete a destination permission
// (DELETE /api/v1/security/permissions/{permission_name})
DeleteDistributionPermission(w http.ResponseWriter, r *http.Request, permissionName string)
// GetDistributionPermissionByName Get a destination permission
// (GET /api/v1/security/permissions/{permission_name})
GetDistributionPermissionByName(w http.ResponseWriter, r *http.Request, permissionName string)
// SetDistributionPermission Create or replace a destination permission
// (PUT /api/v1/security/permissions/{permission_name})
SetDistributionPermission(w http.ResponseWriter, r *http.Request, permissionName string)
// GetTokenInfos List tokens
// (GET /api/v1/security/token)
GetTokenInfos(w http.ResponseWriter, r *http.Request)
// CreateOrRefreshToken Create or refresh a token
// (POST /api/v1/security/token)
CreateOrRefreshToken(w http.ResponseWriter, r *http.Request)
// RevokeToken Revoke a token
// (POST /api/v1/security/token/revoke)
RevokeToken(w http.ResponseWriter, r *http.Request)
// GetDistributionSystemInfo Get distribution system information
// (GET /api/v1/system/info)
GetDistributionSystemInfo(w http.ResponseWriter, r *http.Request)
// DistributionPing Ping the distribution service
// (GET /api/v1/system/ping)
DistributionPing(w http.ResponseWriter, r *http.Request)
// GetDistributionSystemSettings Get distribution settings
// (GET /api/v1/system/settings)
GetDistributionSystemSettings(w http.ResponseWriter, r *http.Request)
// UpdateDistributionSystemSettings Update distribution settings
// (POST /api/v1/system/settings)
UpdateDistributionSystemSettings(w http.ResponseWriter, r *http.Request)
// CreateSupportBundle Create a support bundle
// (POST /api/v1/system/support/bundle)
CreateSupportBundle(w http.ResponseWriter, r *http.Request)
// DeleteSupportBundle Delete a support bundle
// (DELETE /api/v1/system/support/bundle/{bundle_id})
DeleteSupportBundle(w http.ResponseWriter, r *http.Request, bundleId string)
// GetSupportBundleInfo Get a support bundle
// (GET /api/v1/system/support/bundle/{bundle_id})
GetSupportBundleInfo(w http.ResponseWriter, r *http.Request, bundleId string)
// CreateSpecificSupportBundle Create a support bundle with a given id
// (PUT /api/v1/system/support/bundle/{bundle_id})
CreateSpecificSupportBundle(w http.ResponseWriter, r *http.Request, bundleId string)
// DownloadSupportBundle Download a support bundle
// (GET /api/v1/system/support/bundle/{bundle_id}/archive)
DownloadSupportBundle(w http.ResponseWriter, r *http.Request, bundleId string)
// ListSupportBundles List support bundles
// (GET /api/v1/system/support/bundles)
ListSupportBundles(w http.ResponseWriter, r *http.Request)
// AbortReleaseBundleV2Distribution Abort a Release Bundle v2 distribution
// (PUT /api/v2/distribution/abort/{release_bundle_name}/{release_bundle_version})
AbortReleaseBundleV2Distribution(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params AbortReleaseBundleV2DistributionParams)
// DistributeReleaseBundleV2Version Distribute a Release Bundle v2 version
// (POST /api/v2/distribution/distribute/{release_bundle_name}/{release_bundle_version})
DistributeReleaseBundleV2Version(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params DistributeReleaseBundleV2VersionParams)
// PropagatePublicSigningKey Propagate a signing key to edges
// (POST /api/v2/distribution/key/propagate/{key_name})
PropagatePublicSigningKey(w http.ResponseWriter, r *http.Request, keyName string)
// GetPublicSigningKeyForDistribution Get a signing key's public part
// (GET /api/v2/distribution/key/{key_name})
GetPublicSigningKeyForDistribution(w http.ResponseWriter, r *http.Request, keyName string)
// RemoteDeleteReleaseBundleV2Distribution Delete a Release Bundle v2 version from edges
// (POST /api/v2/distribution/remote_delete/{release_bundle_name}/{release_bundle_version})
RemoteDeleteReleaseBundleV2Distribution(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params RemoteDeleteReleaseBundleV2DistributionParams)
// GetReleaseBundleV2DistributionTrackers List Release Bundle v2 distribution trackers
// (GET /api/v2/distribution/trackers/{release_bundle_name}/{release_bundle_version})
GetReleaseBundleV2DistributionTrackers(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params GetReleaseBundleV2DistributionTrackersParams)
// GetDistributionStatusDetailsByTrackerId Get a Release Bundle v2 distribution tracker
// (GET /api/v2/distribution/trackers/{release_bundle_name}/{release_bundle_version}/{distribution_tracker})
GetDistributionStatusDetailsByTrackerId(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, distributionTracker DistributionTrackerPath)
// UpdateReleaseBundleV2DistributionPriority Change the priority of a Release Bundle v2 distribution
// (PUT /api/v2/distribution/trackers/{release_bundle_name}/{release_bundle_version}/{distribution_tracker}/priority)
UpdateReleaseBundleV2DistributionPriority(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, distributionTracker DistributionTrackerPath)
}
ServerInterface represents all server handlers.
func NewStrictHandler ¶
func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface
func NewStrictHandlerWithOptions ¶
func NewStrictHandlerWithOptions(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc, options StrictHTTPServerOptions) ServerInterface
type ServerInterfaceWrapper ¶
type ServerInterfaceWrapper struct {
Handler ServerInterface
HandlerMiddlewares []MiddlewareFunc
ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
ServerInterfaceWrapper converts contexts to parameters.
func (*ServerInterfaceWrapper) AbortReleaseBundleV1Distribution ¶
func (siw *ServerInterfaceWrapper) AbortReleaseBundleV1Distribution(w http.ResponseWriter, r *http.Request)
AbortReleaseBundleV1Distribution operation middleware
func (*ServerInterfaceWrapper) AbortReleaseBundleV2Distribution ¶
func (siw *ServerInterfaceWrapper) AbortReleaseBundleV2Distribution(w http.ResponseWriter, r *http.Request)
AbortReleaseBundleV2Distribution operation middleware
func (*ServerInterfaceWrapper) CreateOrRefreshToken ¶
func (siw *ServerInterfaceWrapper) CreateOrRefreshToken(w http.ResponseWriter, r *http.Request)
CreateOrRefreshToken operation middleware
func (*ServerInterfaceWrapper) CreateReleaseBundleV1Version ¶
func (siw *ServerInterfaceWrapper) CreateReleaseBundleV1Version(w http.ResponseWriter, r *http.Request)
CreateReleaseBundleV1Version operation middleware
func (*ServerInterfaceWrapper) CreateSpecificSupportBundle ¶
func (siw *ServerInterfaceWrapper) CreateSpecificSupportBundle(w http.ResponseWriter, r *http.Request)
CreateSpecificSupportBundle operation middleware
func (*ServerInterfaceWrapper) CreateSupportBundle ¶
func (siw *ServerInterfaceWrapper) CreateSupportBundle(w http.ResponseWriter, r *http.Request)
CreateSupportBundle operation middleware
func (*ServerInterfaceWrapper) DeleteAllReleaseBundleV1Versions ¶
func (siw *ServerInterfaceWrapper) DeleteAllReleaseBundleV1Versions(w http.ResponseWriter, r *http.Request)
DeleteAllReleaseBundleV1Versions operation middleware
func (*ServerInterfaceWrapper) DeleteDistributionPermission ¶
func (siw *ServerInterfaceWrapper) DeleteDistributionPermission(w http.ResponseWriter, r *http.Request)
DeleteDistributionPermission operation middleware
func (*ServerInterfaceWrapper) DeleteExportedReleaseBundleV1File ¶
func (siw *ServerInterfaceWrapper) DeleteExportedReleaseBundleV1File(w http.ResponseWriter, r *http.Request)
DeleteExportedReleaseBundleV1File operation middleware
func (*ServerInterfaceWrapper) DeleteGpgKeyByAlias ¶
func (siw *ServerInterfaceWrapper) DeleteGpgKeyByAlias(w http.ResponseWriter, r *http.Request)
DeleteGpgKeyByAlias operation middleware
func (*ServerInterfaceWrapper) DeleteReleaseBundleV1Version ¶
func (siw *ServerInterfaceWrapper) DeleteReleaseBundleV1Version(w http.ResponseWriter, r *http.Request)
DeleteReleaseBundleV1Version operation middleware
func (*ServerInterfaceWrapper) DeleteReleaseBundleV1VersionFromDistributionEdges ¶
func (siw *ServerInterfaceWrapper) DeleteReleaseBundleV1VersionFromDistributionEdges(w http.ResponseWriter, r *http.Request)
DeleteReleaseBundleV1VersionFromDistributionEdges operation middleware
func (*ServerInterfaceWrapper) DeleteSupportBundle ¶
func (siw *ServerInterfaceWrapper) DeleteSupportBundle(w http.ResponseWriter, r *http.Request)
DeleteSupportBundle operation middleware
func (*ServerInterfaceWrapper) DistributeByLastDays ¶
func (siw *ServerInterfaceWrapper) DistributeByLastDays(w http.ResponseWriter, r *http.Request)
DistributeByLastDays operation middleware
func (*ServerInterfaceWrapper) DistributeDynamicReleaseBundleV1 ¶
func (siw *ServerInterfaceWrapper) DistributeDynamicReleaseBundleV1(w http.ResponseWriter, r *http.Request)
DistributeDynamicReleaseBundleV1 operation middleware
func (*ServerInterfaceWrapper) DistributeReleaseBundleV1Version ¶
func (siw *ServerInterfaceWrapper) DistributeReleaseBundleV1Version(w http.ResponseWriter, r *http.Request)
DistributeReleaseBundleV1Version operation middleware
func (*ServerInterfaceWrapper) DistributeReleaseBundleV2Version ¶
func (siw *ServerInterfaceWrapper) DistributeReleaseBundleV2Version(w http.ResponseWriter, r *http.Request)
DistributeReleaseBundleV2Version operation middleware
func (*ServerInterfaceWrapper) DistributionPing ¶
func (siw *ServerInterfaceWrapper) DistributionPing(w http.ResponseWriter, r *http.Request)
DistributionPing operation middleware
func (*ServerInterfaceWrapper) DownloadSupportBundle ¶
func (siw *ServerInterfaceWrapper) DownloadSupportBundle(w http.ResponseWriter, r *http.Request)
DownloadSupportBundle operation middleware
func (*ServerInterfaceWrapper) ExecuteMaintenanceAction ¶
func (siw *ServerInterfaceWrapper) ExecuteMaintenanceAction(w http.ResponseWriter, r *http.Request)
ExecuteMaintenanceAction operation middleware
func (*ServerInterfaceWrapper) ExportReleaseBundleV1Version ¶
func (siw *ServerInterfaceWrapper) ExportReleaseBundleV1Version(w http.ResponseWriter, r *http.Request)
ExportReleaseBundleV1Version operation middleware
func (*ServerInterfaceWrapper) GenerateMaintenanceExecutionToken ¶
func (siw *ServerInterfaceWrapper) GenerateMaintenanceExecutionToken(w http.ResponseWriter, r *http.Request)
GenerateMaintenanceExecutionToken operation middleware
func (*ServerInterfaceWrapper) GetAllBundles ¶
func (siw *ServerInterfaceWrapper) GetAllBundles(w http.ResponseWriter, r *http.Request)
GetAllBundles operation middleware
func (*ServerInterfaceWrapper) GetAllDistributionPermissions ¶
func (siw *ServerInterfaceWrapper) GetAllDistributionPermissions(w http.ResponseWriter, r *http.Request)
GetAllDistributionPermissions operation middleware
func (*ServerInterfaceWrapper) GetAllGpgKeyAliases ¶
func (siw *ServerInterfaceWrapper) GetAllGpgKeyAliases(w http.ResponseWriter, r *http.Request)
GetAllGpgKeyAliases operation middleware
func (*ServerInterfaceWrapper) GetDistributionEdgeNodes ¶
func (siw *ServerInterfaceWrapper) GetDistributionEdgeNodes(w http.ResponseWriter, r *http.Request)
GetDistributionEdgeNodes operation middleware
func (*ServerInterfaceWrapper) GetDistributionPermissionByName ¶
func (siw *ServerInterfaceWrapper) GetDistributionPermissionByName(w http.ResponseWriter, r *http.Request)
GetDistributionPermissionByName operation middleware
func (*ServerInterfaceWrapper) GetDistributionStatusDetails ¶
func (siw *ServerInterfaceWrapper) GetDistributionStatusDetails(w http.ResponseWriter, r *http.Request)
GetDistributionStatusDetails operation middleware
func (*ServerInterfaceWrapper) GetDistributionStatusDetailsByReleaseBundleV1Name ¶
func (siw *ServerInterfaceWrapper) GetDistributionStatusDetailsByReleaseBundleV1Name(w http.ResponseWriter, r *http.Request)
GetDistributionStatusDetailsByReleaseBundleV1Name operation middleware
func (*ServerInterfaceWrapper) GetDistributionStatusDetailsByReleaseBundleV1TrackerId ¶
func (siw *ServerInterfaceWrapper) GetDistributionStatusDetailsByReleaseBundleV1TrackerId(w http.ResponseWriter, r *http.Request)
GetDistributionStatusDetailsByReleaseBundleV1TrackerId operation middleware
func (*ServerInterfaceWrapper) GetDistributionStatusDetailsByReleaseBundleV1Version ¶
func (siw *ServerInterfaceWrapper) GetDistributionStatusDetailsByReleaseBundleV1Version(w http.ResponseWriter, r *http.Request)
GetDistributionStatusDetailsByReleaseBundleV1Version operation middleware
func (*ServerInterfaceWrapper) GetDistributionStatusDetailsByTrackerId ¶
func (siw *ServerInterfaceWrapper) GetDistributionStatusDetailsByTrackerId(w http.ResponseWriter, r *http.Request)
GetDistributionStatusDetailsByTrackerId operation middleware
func (*ServerInterfaceWrapper) GetDistributionSystemInfo ¶
func (siw *ServerInterfaceWrapper) GetDistributionSystemInfo(w http.ResponseWriter, r *http.Request)
GetDistributionSystemInfo operation middleware
func (*ServerInterfaceWrapper) GetDistributionSystemSettings ¶
func (siw *ServerInterfaceWrapper) GetDistributionSystemSettings(w http.ResponseWriter, r *http.Request)
GetDistributionSystemSettings operation middleware
func (*ServerInterfaceWrapper) GetExportedReleaseBundleV1Status ¶
func (siw *ServerInterfaceWrapper) GetExportedReleaseBundleV1Status(w http.ResponseWriter, r *http.Request)
GetExportedReleaseBundleV1Status operation middleware
func (*ServerInterfaceWrapper) GetGpgPublicKeyByAlias ¶
func (siw *ServerInterfaceWrapper) GetGpgPublicKeyByAlias(w http.ResponseWriter, r *http.Request)
GetGpgPublicKeyByAlias operation middleware
func (*ServerInterfaceWrapper) GetGpgSigningKey ¶
func (siw *ServerInterfaceWrapper) GetGpgSigningKey(w http.ResponseWriter, r *http.Request)
GetGpgSigningKey operation middleware
func (*ServerInterfaceWrapper) GetLatestReleaseBundleV1Version ¶
func (siw *ServerInterfaceWrapper) GetLatestReleaseBundleV1Version(w http.ResponseWriter, r *http.Request)
GetLatestReleaseBundleV1Version operation middleware
func (*ServerInterfaceWrapper) GetOpenMetricsForDistribution ¶
func (siw *ServerInterfaceWrapper) GetOpenMetricsForDistribution(w http.ResponseWriter, r *http.Request)
GetOpenMetricsForDistribution operation middleware
func (*ServerInterfaceWrapper) GetPublicSigningKeyForDistribution ¶
func (siw *ServerInterfaceWrapper) GetPublicSigningKeyForDistribution(w http.ResponseWriter, r *http.Request)
GetPublicSigningKeyForDistribution operation middleware
func (*ServerInterfaceWrapper) GetReleaseBundleV1VersionDetails ¶
func (siw *ServerInterfaceWrapper) GetReleaseBundleV1VersionDetails(w http.ResponseWriter, r *http.Request)
GetReleaseBundleV1VersionDetails operation middleware
func (*ServerInterfaceWrapper) GetReleaseBundleV1VersionSha256 ¶
func (siw *ServerInterfaceWrapper) GetReleaseBundleV1VersionSha256(w http.ResponseWriter, r *http.Request)
GetReleaseBundleV1VersionSha256 operation middleware
func (*ServerInterfaceWrapper) GetReleaseBundleV1VersionsByName ¶
func (siw *ServerInterfaceWrapper) GetReleaseBundleV1VersionsByName(w http.ResponseWriter, r *http.Request)
GetReleaseBundleV1VersionsByName operation middleware
func (*ServerInterfaceWrapper) GetReleaseBundleV2DistributionTrackers ¶
func (siw *ServerInterfaceWrapper) GetReleaseBundleV2DistributionTrackers(w http.ResponseWriter, r *http.Request)
GetReleaseBundleV2DistributionTrackers operation middleware
func (*ServerInterfaceWrapper) GetStuckDistributions ¶
func (siw *ServerInterfaceWrapper) GetStuckDistributions(w http.ResponseWriter, r *http.Request)
GetStuckDistributions operation middleware
func (*ServerInterfaceWrapper) GetSupportBundleInfo ¶
func (siw *ServerInterfaceWrapper) GetSupportBundleInfo(w http.ResponseWriter, r *http.Request)
GetSupportBundleInfo operation middleware
func (*ServerInterfaceWrapper) GetTokenInfos ¶
func (siw *ServerInterfaceWrapper) GetTokenInfos(w http.ResponseWriter, r *http.Request)
GetTokenInfos operation middleware
func (*ServerInterfaceWrapper) ImportReleaseBundleV1Version ¶
func (siw *ServerInterfaceWrapper) ImportReleaseBundleV1Version(w http.ResponseWriter, r *http.Request)
ImportReleaseBundleV1Version operation middleware
func (*ServerInterfaceWrapper) ListSupportBundles ¶
func (siw *ServerInterfaceWrapper) ListSupportBundles(w http.ResponseWriter, r *http.Request)
ListSupportBundles operation middleware
func (*ServerInterfaceWrapper) PropagatePublicSigningKey ¶
func (siw *ServerInterfaceWrapper) PropagatePublicSigningKey(w http.ResponseWriter, r *http.Request)
PropagatePublicSigningKey operation middleware
func (*ServerInterfaceWrapper) RemoteDeleteReleaseBundleV2Distribution ¶
func (siw *ServerInterfaceWrapper) RemoteDeleteReleaseBundleV2Distribution(w http.ResponseWriter, r *http.Request)
RemoteDeleteReleaseBundleV2Distribution operation middleware
func (*ServerInterfaceWrapper) RevokeToken ¶
func (siw *ServerInterfaceWrapper) RevokeToken(w http.ResponseWriter, r *http.Request)
RevokeToken operation middleware
func (*ServerInterfaceWrapper) SetDistributionPermission ¶
func (siw *ServerInterfaceWrapper) SetDistributionPermission(w http.ResponseWriter, r *http.Request)
SetDistributionPermission operation middleware
func (*ServerInterfaceWrapper) SetGpgSigningKey ¶
func (siw *ServerInterfaceWrapper) SetGpgSigningKey(w http.ResponseWriter, r *http.Request)
SetGpgSigningKey operation middleware
func (*ServerInterfaceWrapper) SignReleaseBundleV1Version ¶
func (siw *ServerInterfaceWrapper) SignReleaseBundleV1Version(w http.ResponseWriter, r *http.Request)
SignReleaseBundleV1Version operation middleware
func (*ServerInterfaceWrapper) TriggerXrayScanReleaseBundleV1Version ¶
func (siw *ServerInterfaceWrapper) TriggerXrayScanReleaseBundleV1Version(w http.ResponseWriter, r *http.Request)
TriggerXrayScanReleaseBundleV1Version operation middleware
func (*ServerInterfaceWrapper) UpdateDistributionSystemSettings ¶
func (siw *ServerInterfaceWrapper) UpdateDistributionSystemSettings(w http.ResponseWriter, r *http.Request)
UpdateDistributionSystemSettings operation middleware
func (*ServerInterfaceWrapper) UpdateGpgKeyAlias ¶
func (siw *ServerInterfaceWrapper) UpdateGpgKeyAlias(w http.ResponseWriter, r *http.Request)
UpdateGpgKeyAlias operation middleware
func (*ServerInterfaceWrapper) UpdateReleaseBundleV1Version ¶
func (siw *ServerInterfaceWrapper) UpdateReleaseBundleV1Version(w http.ResponseWriter, r *http.Request)
UpdateReleaseBundleV1Version operation middleware
func (*ServerInterfaceWrapper) UpdateReleaseBundleV2DistributionPriority ¶
func (siw *ServerInterfaceWrapper) UpdateReleaseBundleV2DistributionPriority(w http.ResponseWriter, r *http.Request)
UpdateReleaseBundleV2DistributionPriority operation middleware
func (*ServerInterfaceWrapper) UploadAndPropagateGpgSigningKeysForDistribution ¶
func (siw *ServerInterfaceWrapper) UploadAndPropagateGpgSigningKeysForDistribution(w http.ResponseWriter, r *http.Request)
UploadAndPropagateGpgSigningKeysForDistribution operation middleware
type ServiceUnavailable ¶
type ServiceUnavailable = ErrorResponse
ServiceUnavailable The Distribution error envelope. status_code and message repeat the first entry of errors.
type ServiceUnavailableJSONResponse ¶
type ServiceUnavailableJSONResponse struct {
}
type ServiceUnavailableResponseHeaders ¶
type ServiceUnavailableResponseHeaders struct {
}
type SetDistributionPermission200JSONResponse ¶
type SetDistributionPermission200JSONResponse DestinationPermission
func (SetDistributionPermission200JSONResponse) VisitSetDistributionPermissionResponse ¶
func (response SetDistributionPermission200JSONResponse) VisitSetDistributionPermissionResponse(w http.ResponseWriter) error
type SetDistributionPermission400JSONResponse ¶
type SetDistributionPermission400JSONResponse ErrorResponse
func (SetDistributionPermission400JSONResponse) VisitSetDistributionPermissionResponse ¶
func (response SetDistributionPermission400JSONResponse) VisitSetDistributionPermissionResponse(w http.ResponseWriter) error
type SetDistributionPermission401JSONResponse ¶
type SetDistributionPermission401JSONResponse ErrorResponse
func (SetDistributionPermission401JSONResponse) VisitSetDistributionPermissionResponse ¶
func (response SetDistributionPermission401JSONResponse) VisitSetDistributionPermissionResponse(w http.ResponseWriter) error
type SetDistributionPermission409JSONResponse ¶
type SetDistributionPermission409JSONResponse ErrorResponse
func (SetDistributionPermission409JSONResponse) VisitSetDistributionPermissionResponse ¶
func (response SetDistributionPermission409JSONResponse) VisitSetDistributionPermissionResponse(w http.ResponseWriter) error
type SetDistributionPermission429JSONResponse ¶
type SetDistributionPermission429JSONResponse struct{ TooManyRequestsJSONResponse }
func (SetDistributionPermission429JSONResponse) VisitSetDistributionPermissionResponse ¶
func (response SetDistributionPermission429JSONResponse) VisitSetDistributionPermissionResponse(w http.ResponseWriter) error
type SetDistributionPermission503JSONResponse ¶
func (SetDistributionPermission503JSONResponse) VisitSetDistributionPermissionResponse ¶
func (response SetDistributionPermission503JSONResponse) VisitSetDistributionPermissionResponse(w http.ResponseWriter) error
type SetDistributionPermissionJSONRequestBody ¶
type SetDistributionPermissionJSONRequestBody = DestinationPermission
SetDistributionPermissionJSONRequestBody defines body for SetDistributionPermission for application/json ContentType.
type SetDistributionPermissionRequestObject ¶
type SetDistributionPermissionRequestObject struct {
PermissionName string `json:"permission_name"`
Body *SetDistributionPermissionJSONRequestBody
}
type SetDistributionPermissionResponseObject ¶
type SetDistributionPermissionResponseObject interface {
VisitSetDistributionPermissionResponse(w http.ResponseWriter) error
}
type SetGpgSigningKey200JSONResponse ¶
type SetGpgSigningKey200JSONResponse PropagationReport
func (SetGpgSigningKey200JSONResponse) VisitSetGpgSigningKeyResponse ¶
func (response SetGpgSigningKey200JSONResponse) VisitSetGpgSigningKeyResponse(w http.ResponseWriter) error
type SetGpgSigningKey400JSONResponse ¶
type SetGpgSigningKey400JSONResponse ErrorResponse
func (SetGpgSigningKey400JSONResponse) VisitSetGpgSigningKeyResponse ¶
func (response SetGpgSigningKey400JSONResponse) VisitSetGpgSigningKeyResponse(w http.ResponseWriter) error
type SetGpgSigningKey401JSONResponse ¶
type SetGpgSigningKey401JSONResponse ErrorResponse
func (SetGpgSigningKey401JSONResponse) VisitSetGpgSigningKeyResponse ¶
func (response SetGpgSigningKey401JSONResponse) VisitSetGpgSigningKeyResponse(w http.ResponseWriter) error
type SetGpgSigningKey429JSONResponse ¶
type SetGpgSigningKey429JSONResponse struct{ TooManyRequestsJSONResponse }
func (SetGpgSigningKey429JSONResponse) VisitSetGpgSigningKeyResponse ¶
func (response SetGpgSigningKey429JSONResponse) VisitSetGpgSigningKeyResponse(w http.ResponseWriter) error
type SetGpgSigningKey503JSONResponse ¶
func (SetGpgSigningKey503JSONResponse) VisitSetGpgSigningKeyResponse ¶
func (response SetGpgSigningKey503JSONResponse) VisitSetGpgSigningKeyResponse(w http.ResponseWriter) error
type SetGpgSigningKeyJSONRequestBody ¶
type SetGpgSigningKeyJSONRequestBody = GpgKeyUpload
SetGpgSigningKeyJSONRequestBody defines body for SetGpgSigningKey for application/json ContentType.
type SetGpgSigningKeyRequestObject ¶
type SetGpgSigningKeyRequestObject struct {
Body *SetGpgSigningKeyJSONRequestBody
}
type SetGpgSigningKeyResponseObject ¶
type SetGpgSigningKeyResponseObject interface {
VisitSetGpgSigningKeyResponse(w http.ResponseWriter) error
}
type SignReleaseBundleV1Version200JSONResponse ¶
type SignReleaseBundleV1Version200JSONResponse struct {
Body ReleaseBundleV1Version
Headers SignReleaseBundleV1Version200ResponseHeaders
}
func (SignReleaseBundleV1Version200JSONResponse) VisitSignReleaseBundleV1VersionResponse ¶
func (response SignReleaseBundleV1Version200JSONResponse) VisitSignReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type SignReleaseBundleV1Version200ResponseHeaders ¶
type SignReleaseBundleV1Version200ResponseHeaders struct {
XChecksumSha256 *string
}
type SignReleaseBundleV1Version400JSONResponse ¶
type SignReleaseBundleV1Version400JSONResponse ErrorResponse
func (SignReleaseBundleV1Version400JSONResponse) VisitSignReleaseBundleV1VersionResponse ¶
func (response SignReleaseBundleV1Version400JSONResponse) VisitSignReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type SignReleaseBundleV1Version401JSONResponse ¶
type SignReleaseBundleV1Version401JSONResponse ErrorResponse
func (SignReleaseBundleV1Version401JSONResponse) VisitSignReleaseBundleV1VersionResponse ¶
func (response SignReleaseBundleV1Version401JSONResponse) VisitSignReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type SignReleaseBundleV1Version429JSONResponse ¶
type SignReleaseBundleV1Version429JSONResponse struct{ TooManyRequestsJSONResponse }
func (SignReleaseBundleV1Version429JSONResponse) VisitSignReleaseBundleV1VersionResponse ¶
func (response SignReleaseBundleV1Version429JSONResponse) VisitSignReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type SignReleaseBundleV1Version503JSONResponse ¶
func (SignReleaseBundleV1Version503JSONResponse) VisitSignReleaseBundleV1VersionResponse ¶
func (response SignReleaseBundleV1Version503JSONResponse) VisitSignReleaseBundleV1VersionResponse(w http.ResponseWriter) error
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 SignReleaseBundleV1VersionRequestObject ¶
type SignReleaseBundleV1VersionRequestObject struct {
ReleaseBundleName ReleaseBundleNamePath `json:"release_bundle_name"`
ReleaseBundleVersion ReleaseBundleVersionPath `json:"release_bundle_version"`
Params SignReleaseBundleV1VersionParams
Body *SignReleaseBundleV1VersionJSONRequestBody
}
type SignReleaseBundleV1VersionResponseObject ¶
type SignReleaseBundleV1VersionResponseObject interface {
VisitSignReleaseBundleV1VersionResponse(w http.ResponseWriter) error
}
type StrictHTTPServerOptions ¶
type StrictHTTPServerOptions struct {
RequestErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
ResponseErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
type StrictHandlerFunc ¶
type StrictMiddlewareFunc ¶
type StrictMiddlewareFunc func(f StrictHandlerFunc, operationID string) StrictHandlerFunc
type StrictServerInterface ¶
type StrictServerInterface interface {
// ImportReleaseBundleV1Version Import an exported release bundle v1 archive
// (POST /api/release/import)
ImportReleaseBundleV1Version(ctx context.Context, request ImportReleaseBundleV1VersionRequestObject) (ImportReleaseBundleV1VersionResponseObject, error)
// GetDistributionEdgeNodes List edge nodes
// (GET /api/v1/distribution/edge_nodes)
GetDistributionEdgeNodes(ctx context.Context, request GetDistributionEdgeNodesRequestObject) (GetDistributionEdgeNodesResponseObject, error)
// DistributeReleaseBundleV1Version Distribute a release bundle v1 version
// (POST /api/v1/distribution/{release_bundle_name}/{release_bundle_version})
DistributeReleaseBundleV1Version(ctx context.Context, request DistributeReleaseBundleV1VersionRequestObject) (DistributeReleaseBundleV1VersionResponseObject, error)
// AbortReleaseBundleV1Distribution Abort a release bundle v1 distribution
// (PUT /api/v1/distribution/{release_bundle_name}/{release_bundle_version}/abort)
AbortReleaseBundleV1Distribution(ctx context.Context, request AbortReleaseBundleV1DistributionRequestObject) (AbortReleaseBundleV1DistributionResponseObject, error)
// DeleteReleaseBundleV1VersionFromDistributionEdges Delete a release bundle v1 version from edges
// (POST /api/v1/distribution/{release_bundle_name}/{release_bundle_version}/delete)
DeleteReleaseBundleV1VersionFromDistributionEdges(ctx context.Context, request DeleteReleaseBundleV1VersionFromDistributionEdgesRequestObject) (DeleteReleaseBundleV1VersionFromDistributionEdgesResponseObject, error)
// DistributeDynamicReleaseBundleV1 Create, sign and distribute a release bundle in one call
// (POST /api/v1/dynamic/distribute)
DistributeDynamicReleaseBundleV1(ctx context.Context, request DistributeDynamicReleaseBundleV1RequestObject) (DistributeDynamicReleaseBundleV1ResponseObject, error)
// DeleteExportedReleaseBundleV1File Delete an exported release bundle archive
// (DELETE /api/v1/export/release_bundle/{release_bundle_name}/{release_bundle_version})
DeleteExportedReleaseBundleV1File(ctx context.Context, request DeleteExportedReleaseBundleV1FileRequestObject) (DeleteExportedReleaseBundleV1FileResponseObject, error)
// ExportReleaseBundleV1Version Export a release bundle v1 version for air-gapped transfer
// (POST /api/v1/export/release_bundle/{release_bundle_name}/{release_bundle_version})
ExportReleaseBundleV1Version(ctx context.Context, request ExportReleaseBundleV1VersionRequestObject) (ExportReleaseBundleV1VersionResponseObject, error)
// GetExportedReleaseBundleV1Status Get the export status of a release bundle v1 version
// (GET /api/v1/export/release_bundle/{release_bundle_name}/{release_bundle_version}/status)
GetExportedReleaseBundleV1Status(ctx context.Context, request GetExportedReleaseBundleV1StatusRequestObject) (GetExportedReleaseBundleV1StatusResponseObject, error)
// GetGpgSigningKey Get the default GPG signing key
// (GET /api/v1/keys/pgp)
GetGpgSigningKey(ctx context.Context, request GetGpgSigningKeyRequestObject) (GetGpgSigningKeyResponseObject, error)
// SetGpgSigningKey Add a GPG signing key
// (POST /api/v1/keys/pgp)
SetGpgSigningKey(ctx context.Context, request SetGpgSigningKeyRequestObject) (SetGpgSigningKeyResponseObject, error)
// GetAllGpgKeyAliases List GPG key aliases
// (GET /api/v1/keys/pgp/aliases)
GetAllGpgKeyAliases(ctx context.Context, request GetAllGpgKeyAliasesRequestObject) (GetAllGpgKeyAliasesResponseObject, error)
// UploadAndPropagateGpgSigningKeysForDistribution Propagate GPG keys to edges
// (POST /api/v1/keys/pgp/propagate)
UploadAndPropagateGpgSigningKeysForDistribution(ctx context.Context, request UploadAndPropagateGpgSigningKeysForDistributionRequestObject) (UploadAndPropagateGpgSigningKeysForDistributionResponseObject, error)
// DeleteGpgKeyByAlias Delete a GPG key
// (DELETE /api/v1/keys/pgp/{alias})
DeleteGpgKeyByAlias(ctx context.Context, request DeleteGpgKeyByAliasRequestObject) (DeleteGpgKeyByAliasResponseObject, error)
// GetGpgPublicKeyByAlias Get a GPG key by alias
// (GET /api/v1/keys/pgp/{alias})
GetGpgPublicKeyByAlias(ctx context.Context, request GetGpgPublicKeyByAliasRequestObject) (GetGpgPublicKeyByAliasResponseObject, error)
// UpdateGpgKeyAlias Rename a GPG key
// (PUT /api/v1/keys/pgp/{alias})
UpdateGpgKeyAlias(ctx context.Context, request UpdateGpgKeyAliasRequestObject) (UpdateGpgKeyAliasResponseObject, error)
// DistributeByLastDays Redistribute recent release bundles to an edge
// (POST /api/v1/maintenance/distributeByLastDays)
DistributeByLastDays(ctx context.Context, request DistributeByLastDaysRequestObject) (DistributeByLastDaysResponseObject, error)
// ExecuteMaintenanceAction Run a maintenance action
// (POST /api/v1/maintenance/execute/{actionType})
ExecuteMaintenanceAction(ctx context.Context, request ExecuteMaintenanceActionRequestObject) (ExecuteMaintenanceActionResponseObject, error)
// GenerateMaintenanceExecutionToken Get a maintenance token
// (GET /api/v1/maintenance/generate_token/{actionType})
GenerateMaintenanceExecutionToken(ctx context.Context, request GenerateMaintenanceExecutionTokenRequestObject) (GenerateMaintenanceExecutionTokenResponseObject, error)
// GetStuckDistributions List stuck distributions
// (GET /api/v1/maintenance/stuck_distributions)
GetStuckDistributions(ctx context.Context, request GetStuckDistributionsRequestObject) (GetStuckDistributionsResponseObject, error)
// GetOpenMetricsForDistribution Get distribution metrics
// (GET /api/v1/metrics)
GetOpenMetricsForDistribution(ctx context.Context, request GetOpenMetricsForDistributionRequestObject) (GetOpenMetricsForDistributionResponseObject, error)
// GetAllBundles List release bundle v1 versions
// (GET /api/v1/release_bundle)
GetAllBundles(ctx context.Context, request GetAllBundlesRequestObject) (GetAllBundlesResponseObject, error)
// CreateReleaseBundleV1Version Create a release bundle v1 version
// (POST /api/v1/release_bundle)
CreateReleaseBundleV1Version(ctx context.Context, request CreateReleaseBundleV1VersionRequestObject) (CreateReleaseBundleV1VersionResponseObject, error)
// GetDistributionStatusDetails List distribution statuses
// (GET /api/v1/release_bundle/distribution)
GetDistributionStatusDetails(ctx context.Context, request GetDistributionStatusDetailsRequestObject) (GetDistributionStatusDetailsResponseObject, error)
// DeleteAllReleaseBundleV1Versions Delete every version of a release bundle
// (DELETE /api/v1/release_bundle/{release_bundle_name})
DeleteAllReleaseBundleV1Versions(ctx context.Context, request DeleteAllReleaseBundleV1VersionsRequestObject) (DeleteAllReleaseBundleV1VersionsResponseObject, error)
// GetReleaseBundleV1VersionsByName List the versions of one release bundle
// (GET /api/v1/release_bundle/{release_bundle_name})
GetReleaseBundleV1VersionsByName(ctx context.Context, request GetReleaseBundleV1VersionsByNameRequestObject) (GetReleaseBundleV1VersionsByNameResponseObject, error)
// GetLatestReleaseBundleV1Version Get the latest version of a release bundle
// (GET /api/v1/release_bundle/{release_bundle_name}/LATEST)
GetLatestReleaseBundleV1Version(ctx context.Context, request GetLatestReleaseBundleV1VersionRequestObject) (GetLatestReleaseBundleV1VersionResponseObject, error)
// GetDistributionStatusDetailsByReleaseBundleV1Name List distribution statuses of a release bundle
// (GET /api/v1/release_bundle/{release_bundle_name}/distribution)
GetDistributionStatusDetailsByReleaseBundleV1Name(ctx context.Context, request GetDistributionStatusDetailsByReleaseBundleV1NameRequestObject) (GetDistributionStatusDetailsByReleaseBundleV1NameResponseObject, error)
// DeleteReleaseBundleV1Version Delete a release bundle v1 version
// (DELETE /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version})
DeleteReleaseBundleV1Version(ctx context.Context, request DeleteReleaseBundleV1VersionRequestObject) (DeleteReleaseBundleV1VersionResponseObject, error)
// GetReleaseBundleV1VersionDetails Get a release bundle v1 version
// (GET /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version})
GetReleaseBundleV1VersionDetails(ctx context.Context, request GetReleaseBundleV1VersionDetailsRequestObject) (GetReleaseBundleV1VersionDetailsResponseObject, error)
// GetReleaseBundleV1VersionSha256 Get the checksum of a release bundle v1 version
// (HEAD /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version})
GetReleaseBundleV1VersionSha256(ctx context.Context, request GetReleaseBundleV1VersionSha256RequestObject) (GetReleaseBundleV1VersionSha256ResponseObject, error)
// UpdateReleaseBundleV1Version Update an unsigned release bundle v1 version
// (PUT /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version})
UpdateReleaseBundleV1Version(ctx context.Context, request UpdateReleaseBundleV1VersionRequestObject) (UpdateReleaseBundleV1VersionResponseObject, error)
// GetDistributionStatusDetailsByReleaseBundleV1Version List distribution statuses of a version
// (GET /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version}/distribution)
GetDistributionStatusDetailsByReleaseBundleV1Version(ctx context.Context, request GetDistributionStatusDetailsByReleaseBundleV1VersionRequestObject) (GetDistributionStatusDetailsByReleaseBundleV1VersionResponseObject, error)
// GetDistributionStatusDetailsByReleaseBundleV1TrackerId Get a distribution tracker
// (GET /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version}/distribution/{distribution_tracker})
GetDistributionStatusDetailsByReleaseBundleV1TrackerId(ctx context.Context, request GetDistributionStatusDetailsByReleaseBundleV1TrackerIdRequestObject) (GetDistributionStatusDetailsByReleaseBundleV1TrackerIdResponseObject, error)
// SignReleaseBundleV1Version Sign a release bundle v1 version
// (POST /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version}/sign)
SignReleaseBundleV1Version(ctx context.Context, request SignReleaseBundleV1VersionRequestObject) (SignReleaseBundleV1VersionResponseObject, error)
// TriggerXrayScanReleaseBundleV1Version Scan a release bundle v1 version with Xray
// (POST /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version}/trigger_xray_scan)
TriggerXrayScanReleaseBundleV1Version(ctx context.Context, request TriggerXrayScanReleaseBundleV1VersionRequestObject) (TriggerXrayScanReleaseBundleV1VersionResponseObject, error)
// GetAllDistributionPermissions List destination permissions
// (GET /api/v1/security/permissions)
GetAllDistributionPermissions(ctx context.Context, request GetAllDistributionPermissionsRequestObject) (GetAllDistributionPermissionsResponseObject, error)
// DeleteDistributionPermission Delete a destination permission
// (DELETE /api/v1/security/permissions/{permission_name})
DeleteDistributionPermission(ctx context.Context, request DeleteDistributionPermissionRequestObject) (DeleteDistributionPermissionResponseObject, error)
// GetDistributionPermissionByName Get a destination permission
// (GET /api/v1/security/permissions/{permission_name})
GetDistributionPermissionByName(ctx context.Context, request GetDistributionPermissionByNameRequestObject) (GetDistributionPermissionByNameResponseObject, error)
// SetDistributionPermission Create or replace a destination permission
// (PUT /api/v1/security/permissions/{permission_name})
SetDistributionPermission(ctx context.Context, request SetDistributionPermissionRequestObject) (SetDistributionPermissionResponseObject, error)
// GetTokenInfos List tokens
// (GET /api/v1/security/token)
GetTokenInfos(ctx context.Context, request GetTokenInfosRequestObject) (GetTokenInfosResponseObject, error)
// CreateOrRefreshToken Create or refresh a token
// (POST /api/v1/security/token)
CreateOrRefreshToken(ctx context.Context, request CreateOrRefreshTokenRequestObject) (CreateOrRefreshTokenResponseObject, error)
// RevokeToken Revoke a token
// (POST /api/v1/security/token/revoke)
RevokeToken(ctx context.Context, request RevokeTokenRequestObject) (RevokeTokenResponseObject, error)
// GetDistributionSystemInfo Get distribution system information
// (GET /api/v1/system/info)
GetDistributionSystemInfo(ctx context.Context, request GetDistributionSystemInfoRequestObject) (GetDistributionSystemInfoResponseObject, error)
// DistributionPing Ping the distribution service
// (GET /api/v1/system/ping)
DistributionPing(ctx context.Context, request DistributionPingRequestObject) (DistributionPingResponseObject, error)
// GetDistributionSystemSettings Get distribution settings
// (GET /api/v1/system/settings)
GetDistributionSystemSettings(ctx context.Context, request GetDistributionSystemSettingsRequestObject) (GetDistributionSystemSettingsResponseObject, error)
// UpdateDistributionSystemSettings Update distribution settings
// (POST /api/v1/system/settings)
UpdateDistributionSystemSettings(ctx context.Context, request UpdateDistributionSystemSettingsRequestObject) (UpdateDistributionSystemSettingsResponseObject, error)
// CreateSupportBundle Create a support bundle
// (POST /api/v1/system/support/bundle)
CreateSupportBundle(ctx context.Context, request CreateSupportBundleRequestObject) (CreateSupportBundleResponseObject, error)
// DeleteSupportBundle Delete a support bundle
// (DELETE /api/v1/system/support/bundle/{bundle_id})
DeleteSupportBundle(ctx context.Context, request DeleteSupportBundleRequestObject) (DeleteSupportBundleResponseObject, error)
// GetSupportBundleInfo Get a support bundle
// (GET /api/v1/system/support/bundle/{bundle_id})
GetSupportBundleInfo(ctx context.Context, request GetSupportBundleInfoRequestObject) (GetSupportBundleInfoResponseObject, error)
// CreateSpecificSupportBundle Create a support bundle with a given id
// (PUT /api/v1/system/support/bundle/{bundle_id})
CreateSpecificSupportBundle(ctx context.Context, request CreateSpecificSupportBundleRequestObject) (CreateSpecificSupportBundleResponseObject, error)
// DownloadSupportBundle Download a support bundle
// (GET /api/v1/system/support/bundle/{bundle_id}/archive)
DownloadSupportBundle(ctx context.Context, request DownloadSupportBundleRequestObject) (DownloadSupportBundleResponseObject, error)
// ListSupportBundles List support bundles
// (GET /api/v1/system/support/bundles)
ListSupportBundles(ctx context.Context, request ListSupportBundlesRequestObject) (ListSupportBundlesResponseObject, error)
// AbortReleaseBundleV2Distribution Abort a Release Bundle v2 distribution
// (PUT /api/v2/distribution/abort/{release_bundle_name}/{release_bundle_version})
AbortReleaseBundleV2Distribution(ctx context.Context, request AbortReleaseBundleV2DistributionRequestObject) (AbortReleaseBundleV2DistributionResponseObject, error)
// DistributeReleaseBundleV2Version Distribute a Release Bundle v2 version
// (POST /api/v2/distribution/distribute/{release_bundle_name}/{release_bundle_version})
DistributeReleaseBundleV2Version(ctx context.Context, request DistributeReleaseBundleV2VersionRequestObject) (DistributeReleaseBundleV2VersionResponseObject, error)
// PropagatePublicSigningKey Propagate a signing key to edges
// (POST /api/v2/distribution/key/propagate/{key_name})
PropagatePublicSigningKey(ctx context.Context, request PropagatePublicSigningKeyRequestObject) (PropagatePublicSigningKeyResponseObject, error)
// GetPublicSigningKeyForDistribution Get a signing key's public part
// (GET /api/v2/distribution/key/{key_name})
GetPublicSigningKeyForDistribution(ctx context.Context, request GetPublicSigningKeyForDistributionRequestObject) (GetPublicSigningKeyForDistributionResponseObject, error)
// RemoteDeleteReleaseBundleV2Distribution Delete a Release Bundle v2 version from edges
// (POST /api/v2/distribution/remote_delete/{release_bundle_name}/{release_bundle_version})
RemoteDeleteReleaseBundleV2Distribution(ctx context.Context, request RemoteDeleteReleaseBundleV2DistributionRequestObject) (RemoteDeleteReleaseBundleV2DistributionResponseObject, error)
// GetReleaseBundleV2DistributionTrackers List Release Bundle v2 distribution trackers
// (GET /api/v2/distribution/trackers/{release_bundle_name}/{release_bundle_version})
GetReleaseBundleV2DistributionTrackers(ctx context.Context, request GetReleaseBundleV2DistributionTrackersRequestObject) (GetReleaseBundleV2DistributionTrackersResponseObject, error)
// GetDistributionStatusDetailsByTrackerId Get a Release Bundle v2 distribution tracker
// (GET /api/v2/distribution/trackers/{release_bundle_name}/{release_bundle_version}/{distribution_tracker})
GetDistributionStatusDetailsByTrackerId(ctx context.Context, request GetDistributionStatusDetailsByTrackerIdRequestObject) (GetDistributionStatusDetailsByTrackerIdResponseObject, error)
// UpdateReleaseBundleV2DistributionPriority Change the priority of a Release Bundle v2 distribution
// (PUT /api/v2/distribution/trackers/{release_bundle_name}/{release_bundle_version}/{distribution_tracker}/priority)
UpdateReleaseBundleV2DistributionPriority(ctx context.Context, request UpdateReleaseBundleV2DistributionPriorityRequestObject) (UpdateReleaseBundleV2DistributionPriorityResponseObject, error)
}
StrictServerInterface represents all server handlers.
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.
const ( RBV1 StuckDistributionReleaseBundlesSchema = "RBV1" RBV2 StuckDistributionReleaseBundlesSchema = "RBV2" RBV2ATW StuckDistributionReleaseBundlesSchema = "RBV2_ATW" )
Defines values for StuckDistributionReleaseBundlesSchema.
func (StuckDistributionReleaseBundlesSchema) Valid ¶
func (e StuckDistributionReleaseBundlesSchema) Valid() bool
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 TooManyRequests ¶
type TooManyRequests = ErrorResponse
TooManyRequests The Distribution error envelope. status_code and message repeat the first entry of errors.
type TooManyRequestsJSONResponse ¶
type TooManyRequestsJSONResponse struct {
Body ErrorResponse
Headers TooManyRequestsResponseHeaders
}
type TooManyValuesForParamError ¶
func (*TooManyValuesForParamError) Error ¶
func (e *TooManyValuesForParamError) Error() string
type TriggerXrayScanReleaseBundleV1Version200JSONResponse ¶
type TriggerXrayScanReleaseBundleV1Version200JSONResponse map[string]interface{}
func (TriggerXrayScanReleaseBundleV1Version200JSONResponse) VisitTriggerXrayScanReleaseBundleV1VersionResponse ¶
func (response TriggerXrayScanReleaseBundleV1Version200JSONResponse) VisitTriggerXrayScanReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type TriggerXrayScanReleaseBundleV1Version401JSONResponse ¶
type TriggerXrayScanReleaseBundleV1Version401JSONResponse ErrorResponse
func (TriggerXrayScanReleaseBundleV1Version401JSONResponse) VisitTriggerXrayScanReleaseBundleV1VersionResponse ¶
func (response TriggerXrayScanReleaseBundleV1Version401JSONResponse) VisitTriggerXrayScanReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type TriggerXrayScanReleaseBundleV1Version403JSONResponse ¶
type TriggerXrayScanReleaseBundleV1Version403JSONResponse ErrorResponse
func (TriggerXrayScanReleaseBundleV1Version403JSONResponse) VisitTriggerXrayScanReleaseBundleV1VersionResponse ¶
func (response TriggerXrayScanReleaseBundleV1Version403JSONResponse) VisitTriggerXrayScanReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type TriggerXrayScanReleaseBundleV1Version429JSONResponse ¶
type TriggerXrayScanReleaseBundleV1Version429JSONResponse struct{ TooManyRequestsJSONResponse }
func (TriggerXrayScanReleaseBundleV1Version429JSONResponse) VisitTriggerXrayScanReleaseBundleV1VersionResponse ¶
func (response TriggerXrayScanReleaseBundleV1Version429JSONResponse) VisitTriggerXrayScanReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type TriggerXrayScanReleaseBundleV1Version501JSONResponse ¶
type TriggerXrayScanReleaseBundleV1Version501JSONResponse ErrorResponse
func (TriggerXrayScanReleaseBundleV1Version501JSONResponse) VisitTriggerXrayScanReleaseBundleV1VersionResponse ¶
func (response TriggerXrayScanReleaseBundleV1Version501JSONResponse) VisitTriggerXrayScanReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type TriggerXrayScanReleaseBundleV1Version503JSONResponse ¶
func (TriggerXrayScanReleaseBundleV1Version503JSONResponse) VisitTriggerXrayScanReleaseBundleV1VersionResponse ¶
func (response TriggerXrayScanReleaseBundleV1Version503JSONResponse) VisitTriggerXrayScanReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type TriggerXrayScanReleaseBundleV1VersionRequestObject ¶
type TriggerXrayScanReleaseBundleV1VersionRequestObject struct {
ReleaseBundleName ReleaseBundleNamePath `json:"release_bundle_name"`
ReleaseBundleVersion ReleaseBundleVersionPath `json:"release_bundle_version"`
}
type TriggerXrayScanReleaseBundleV1VersionResponseObject ¶
type TriggerXrayScanReleaseBundleV1VersionResponseObject interface {
VisitTriggerXrayScanReleaseBundleV1VersionResponse(w http.ResponseWriter) error
}
type UnescapedCookieParamError ¶
func (*UnescapedCookieParamError) Error ¶
func (e *UnescapedCookieParamError) Error() string
func (*UnescapedCookieParamError) Unwrap ¶
func (e *UnescapedCookieParamError) Unwrap() error
type Unimplemented ¶
type Unimplemented struct{}
func (Unimplemented) AbortReleaseBundleV1Distribution ¶
func (_ Unimplemented) AbortReleaseBundleV1Distribution(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath)
AbortReleaseBundleV1Distribution Abort a release bundle v1 distribution (PUT /api/v1/distribution/{release_bundle_name}/{release_bundle_version}/abort)
func (Unimplemented) AbortReleaseBundleV2Distribution ¶
func (_ Unimplemented) AbortReleaseBundleV2Distribution(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params AbortReleaseBundleV2DistributionParams)
AbortReleaseBundleV2Distribution Abort a Release Bundle v2 distribution (PUT /api/v2/distribution/abort/{release_bundle_name}/{release_bundle_version})
func (Unimplemented) CreateOrRefreshToken ¶
func (_ Unimplemented) CreateOrRefreshToken(w http.ResponseWriter, r *http.Request)
CreateOrRefreshToken Create or refresh a token (POST /api/v1/security/token)
func (Unimplemented) CreateReleaseBundleV1Version ¶
func (_ Unimplemented) CreateReleaseBundleV1Version(w http.ResponseWriter, r *http.Request, params CreateReleaseBundleV1VersionParams)
CreateReleaseBundleV1Version Create a release bundle v1 version (POST /api/v1/release_bundle)
func (Unimplemented) CreateSpecificSupportBundle ¶
func (_ Unimplemented) CreateSpecificSupportBundle(w http.ResponseWriter, r *http.Request, bundleId string)
CreateSpecificSupportBundle Create a support bundle with a given id (PUT /api/v1/system/support/bundle/{bundle_id})
func (Unimplemented) CreateSupportBundle ¶
func (_ Unimplemented) CreateSupportBundle(w http.ResponseWriter, r *http.Request)
CreateSupportBundle Create a support bundle (POST /api/v1/system/support/bundle)
func (Unimplemented) DeleteAllReleaseBundleV1Versions ¶
func (_ Unimplemented) DeleteAllReleaseBundleV1Versions(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, params DeleteAllReleaseBundleV1VersionsParams)
DeleteAllReleaseBundleV1Versions Delete every version of a release bundle (DELETE /api/v1/release_bundle/{release_bundle_name})
func (Unimplemented) DeleteDistributionPermission ¶
func (_ Unimplemented) DeleteDistributionPermission(w http.ResponseWriter, r *http.Request, permissionName string)
DeleteDistributionPermission Delete a destination permission (DELETE /api/v1/security/permissions/{permission_name})
func (Unimplemented) DeleteExportedReleaseBundleV1File ¶
func (_ Unimplemented) DeleteExportedReleaseBundleV1File(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath)
DeleteExportedReleaseBundleV1File Delete an exported release bundle archive (DELETE /api/v1/export/release_bundle/{release_bundle_name}/{release_bundle_version})
func (Unimplemented) DeleteGpgKeyByAlias ¶
func (_ Unimplemented) DeleteGpgKeyByAlias(w http.ResponseWriter, r *http.Request, alias string)
DeleteGpgKeyByAlias Delete a GPG key (DELETE /api/v1/keys/pgp/{alias})
func (Unimplemented) DeleteReleaseBundleV1Version ¶
func (_ Unimplemented) DeleteReleaseBundleV1Version(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params DeleteReleaseBundleV1VersionParams)
DeleteReleaseBundleV1Version Delete a release bundle v1 version (DELETE /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version})
func (Unimplemented) DeleteReleaseBundleV1VersionFromDistributionEdges ¶
func (_ Unimplemented) DeleteReleaseBundleV1VersionFromDistributionEdges(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath)
DeleteReleaseBundleV1VersionFromDistributionEdges Delete a release bundle v1 version from edges (POST /api/v1/distribution/{release_bundle_name}/{release_bundle_version}/delete)
func (Unimplemented) DeleteSupportBundle ¶
func (_ Unimplemented) DeleteSupportBundle(w http.ResponseWriter, r *http.Request, bundleId string)
DeleteSupportBundle Delete a support bundle (DELETE /api/v1/system/support/bundle/{bundle_id})
func (Unimplemented) DistributeByLastDays ¶
func (_ Unimplemented) DistributeByLastDays(w http.ResponseWriter, r *http.Request)
DistributeByLastDays Redistribute recent release bundles to an edge (POST /api/v1/maintenance/distributeByLastDays)
func (Unimplemented) DistributeDynamicReleaseBundleV1 ¶
func (_ Unimplemented) DistributeDynamicReleaseBundleV1(w http.ResponseWriter, r *http.Request, params DistributeDynamicReleaseBundleV1Params)
DistributeDynamicReleaseBundleV1 Create, sign and distribute a release bundle in one call (POST /api/v1/dynamic/distribute)
func (Unimplemented) DistributeReleaseBundleV1Version ¶
func (_ Unimplemented) DistributeReleaseBundleV1Version(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath)
DistributeReleaseBundleV1Version Distribute a release bundle v1 version (POST /api/v1/distribution/{release_bundle_name}/{release_bundle_version})
func (Unimplemented) DistributeReleaseBundleV2Version ¶
func (_ Unimplemented) DistributeReleaseBundleV2Version(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params DistributeReleaseBundleV2VersionParams)
DistributeReleaseBundleV2Version Distribute a Release Bundle v2 version (POST /api/v2/distribution/distribute/{release_bundle_name}/{release_bundle_version})
func (Unimplemented) DistributionPing ¶
func (_ Unimplemented) DistributionPing(w http.ResponseWriter, r *http.Request)
DistributionPing Ping the distribution service (GET /api/v1/system/ping)
func (Unimplemented) DownloadSupportBundle ¶
func (_ Unimplemented) DownloadSupportBundle(w http.ResponseWriter, r *http.Request, bundleId string)
DownloadSupportBundle Download a support bundle (GET /api/v1/system/support/bundle/{bundle_id}/archive)
func (Unimplemented) ExecuteMaintenanceAction ¶
func (_ Unimplemented) ExecuteMaintenanceAction(w http.ResponseWriter, r *http.Request, actionType ExecuteMaintenanceActionParamsActionType, params ExecuteMaintenanceActionParams)
ExecuteMaintenanceAction Run a maintenance action (POST /api/v1/maintenance/execute/{actionType})
func (Unimplemented) ExportReleaseBundleV1Version ¶
func (_ Unimplemented) ExportReleaseBundleV1Version(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params ExportReleaseBundleV1VersionParams)
ExportReleaseBundleV1Version Export a release bundle v1 version for air-gapped transfer (POST /api/v1/export/release_bundle/{release_bundle_name}/{release_bundle_version})
func (Unimplemented) GenerateMaintenanceExecutionToken ¶
func (_ Unimplemented) GenerateMaintenanceExecutionToken(w http.ResponseWriter, r *http.Request, actionType GenerateMaintenanceExecutionTokenParamsActionType)
GenerateMaintenanceExecutionToken Get a maintenance token (GET /api/v1/maintenance/generate_token/{actionType})
func (Unimplemented) GetAllBundles ¶
func (_ Unimplemented) GetAllBundles(w http.ResponseWriter, r *http.Request, params GetAllBundlesParams)
GetAllBundles List release bundle v1 versions (GET /api/v1/release_bundle)
func (Unimplemented) GetAllDistributionPermissions ¶
func (_ Unimplemented) GetAllDistributionPermissions(w http.ResponseWriter, r *http.Request)
GetAllDistributionPermissions List destination permissions (GET /api/v1/security/permissions)
func (Unimplemented) GetAllGpgKeyAliases ¶
func (_ Unimplemented) GetAllGpgKeyAliases(w http.ResponseWriter, r *http.Request)
GetAllGpgKeyAliases List GPG key aliases (GET /api/v1/keys/pgp/aliases)
func (Unimplemented) GetDistributionEdgeNodes ¶
func (_ Unimplemented) GetDistributionEdgeNodes(w http.ResponseWriter, r *http.Request, params GetDistributionEdgeNodesParams)
GetDistributionEdgeNodes List edge nodes (GET /api/v1/distribution/edge_nodes)
func (Unimplemented) GetDistributionPermissionByName ¶
func (_ Unimplemented) GetDistributionPermissionByName(w http.ResponseWriter, r *http.Request, permissionName string)
GetDistributionPermissionByName Get a destination permission (GET /api/v1/security/permissions/{permission_name})
func (Unimplemented) GetDistributionStatusDetails ¶
func (_ Unimplemented) GetDistributionStatusDetails(w http.ResponseWriter, r *http.Request)
GetDistributionStatusDetails List distribution statuses (GET /api/v1/release_bundle/distribution)
func (Unimplemented) GetDistributionStatusDetailsByReleaseBundleV1Name ¶
func (_ Unimplemented) GetDistributionStatusDetailsByReleaseBundleV1Name(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath)
GetDistributionStatusDetailsByReleaseBundleV1Name List distribution statuses of a release bundle (GET /api/v1/release_bundle/{release_bundle_name}/distribution)
func (Unimplemented) GetDistributionStatusDetailsByReleaseBundleV1TrackerId ¶
func (_ Unimplemented) GetDistributionStatusDetailsByReleaseBundleV1TrackerId(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, distributionTracker DistributionTrackerPath)
GetDistributionStatusDetailsByReleaseBundleV1TrackerId Get a distribution tracker (GET /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version}/distribution/{distribution_tracker})
func (Unimplemented) GetDistributionStatusDetailsByReleaseBundleV1Version ¶
func (_ Unimplemented) GetDistributionStatusDetailsByReleaseBundleV1Version(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath)
GetDistributionStatusDetailsByReleaseBundleV1Version List distribution statuses of a version (GET /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version}/distribution)
func (Unimplemented) GetDistributionStatusDetailsByTrackerId ¶
func (_ Unimplemented) GetDistributionStatusDetailsByTrackerId(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, distributionTracker DistributionTrackerPath)
GetDistributionStatusDetailsByTrackerId Get a Release Bundle v2 distribution tracker (GET /api/v2/distribution/trackers/{release_bundle_name}/{release_bundle_version}/{distribution_tracker})
func (Unimplemented) GetDistributionSystemInfo ¶
func (_ Unimplemented) GetDistributionSystemInfo(w http.ResponseWriter, r *http.Request)
GetDistributionSystemInfo Get distribution system information (GET /api/v1/system/info)
func (Unimplemented) GetDistributionSystemSettings ¶
func (_ Unimplemented) GetDistributionSystemSettings(w http.ResponseWriter, r *http.Request)
GetDistributionSystemSettings Get distribution settings (GET /api/v1/system/settings)
func (Unimplemented) GetExportedReleaseBundleV1Status ¶
func (_ Unimplemented) GetExportedReleaseBundleV1Status(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath)
GetExportedReleaseBundleV1Status Get the export status of a release bundle v1 version (GET /api/v1/export/release_bundle/{release_bundle_name}/{release_bundle_version}/status)
func (Unimplemented) GetGpgPublicKeyByAlias ¶
func (_ Unimplemented) GetGpgPublicKeyByAlias(w http.ResponseWriter, r *http.Request, alias string)
GetGpgPublicKeyByAlias Get a GPG key by alias (GET /api/v1/keys/pgp/{alias})
func (Unimplemented) GetGpgSigningKey ¶
func (_ Unimplemented) GetGpgSigningKey(w http.ResponseWriter, r *http.Request)
GetGpgSigningKey Get the default GPG signing key (GET /api/v1/keys/pgp)
func (Unimplemented) GetLatestReleaseBundleV1Version ¶
func (_ Unimplemented) GetLatestReleaseBundleV1Version(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath)
GetLatestReleaseBundleV1Version Get the latest version of a release bundle (GET /api/v1/release_bundle/{release_bundle_name}/LATEST)
func (Unimplemented) GetOpenMetricsForDistribution ¶
func (_ Unimplemented) GetOpenMetricsForDistribution(w http.ResponseWriter, r *http.Request)
GetOpenMetricsForDistribution Get distribution metrics (GET /api/v1/metrics)
func (Unimplemented) GetPublicSigningKeyForDistribution ¶
func (_ Unimplemented) GetPublicSigningKeyForDistribution(w http.ResponseWriter, r *http.Request, keyName string)
GetPublicSigningKeyForDistribution Get a signing key's public part (GET /api/v2/distribution/key/{key_name})
func (Unimplemented) GetReleaseBundleV1VersionDetails ¶
func (_ Unimplemented) GetReleaseBundleV1VersionDetails(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params GetReleaseBundleV1VersionDetailsParams)
GetReleaseBundleV1VersionDetails Get a release bundle v1 version (GET /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version})
func (Unimplemented) GetReleaseBundleV1VersionSha256 ¶
func (_ Unimplemented) GetReleaseBundleV1VersionSha256(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath)
GetReleaseBundleV1VersionSha256 Get the checksum of a release bundle v1 version (HEAD /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version})
func (Unimplemented) GetReleaseBundleV1VersionsByName ¶
func (_ Unimplemented) GetReleaseBundleV1VersionsByName(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, params GetReleaseBundleV1VersionsByNameParams)
GetReleaseBundleV1VersionsByName List the versions of one release bundle (GET /api/v1/release_bundle/{release_bundle_name})
func (Unimplemented) GetReleaseBundleV2DistributionTrackers ¶
func (_ Unimplemented) GetReleaseBundleV2DistributionTrackers(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params GetReleaseBundleV2DistributionTrackersParams)
GetReleaseBundleV2DistributionTrackers List Release Bundle v2 distribution trackers (GET /api/v2/distribution/trackers/{release_bundle_name}/{release_bundle_version})
func (Unimplemented) GetStuckDistributions ¶
func (_ Unimplemented) GetStuckDistributions(w http.ResponseWriter, r *http.Request)
GetStuckDistributions List stuck distributions (GET /api/v1/maintenance/stuck_distributions)
func (Unimplemented) GetSupportBundleInfo ¶
func (_ Unimplemented) GetSupportBundleInfo(w http.ResponseWriter, r *http.Request, bundleId string)
GetSupportBundleInfo Get a support bundle (GET /api/v1/system/support/bundle/{bundle_id})
func (Unimplemented) GetTokenInfos ¶
func (_ Unimplemented) GetTokenInfos(w http.ResponseWriter, r *http.Request)
GetTokenInfos List tokens (GET /api/v1/security/token)
func (Unimplemented) ImportReleaseBundleV1Version ¶
func (_ Unimplemented) ImportReleaseBundleV1Version(w http.ResponseWriter, r *http.Request, params ImportReleaseBundleV1VersionParams)
ImportReleaseBundleV1Version Import an exported release bundle v1 archive (POST /api/release/import)
func (Unimplemented) ListSupportBundles ¶
func (_ Unimplemented) ListSupportBundles(w http.ResponseWriter, r *http.Request)
ListSupportBundles List support bundles (GET /api/v1/system/support/bundles)
func (Unimplemented) PropagatePublicSigningKey ¶
func (_ Unimplemented) PropagatePublicSigningKey(w http.ResponseWriter, r *http.Request, keyName string)
PropagatePublicSigningKey Propagate a signing key to edges (POST /api/v2/distribution/key/propagate/{key_name})
func (Unimplemented) RemoteDeleteReleaseBundleV2Distribution ¶
func (_ Unimplemented) RemoteDeleteReleaseBundleV2Distribution(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params RemoteDeleteReleaseBundleV2DistributionParams)
RemoteDeleteReleaseBundleV2Distribution Delete a Release Bundle v2 version from edges (POST /api/v2/distribution/remote_delete/{release_bundle_name}/{release_bundle_version})
func (Unimplemented) RevokeToken ¶
func (_ Unimplemented) RevokeToken(w http.ResponseWriter, r *http.Request)
RevokeToken Revoke a token (POST /api/v1/security/token/revoke)
func (Unimplemented) SetDistributionPermission ¶
func (_ Unimplemented) SetDistributionPermission(w http.ResponseWriter, r *http.Request, permissionName string)
SetDistributionPermission Create or replace a destination permission (PUT /api/v1/security/permissions/{permission_name})
func (Unimplemented) SetGpgSigningKey ¶
func (_ Unimplemented) SetGpgSigningKey(w http.ResponseWriter, r *http.Request)
SetGpgSigningKey Add a GPG signing key (POST /api/v1/keys/pgp)
func (Unimplemented) SignReleaseBundleV1Version ¶
func (_ Unimplemented) SignReleaseBundleV1Version(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params SignReleaseBundleV1VersionParams)
SignReleaseBundleV1Version Sign a release bundle v1 version (POST /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version}/sign)
func (Unimplemented) TriggerXrayScanReleaseBundleV1Version ¶
func (_ Unimplemented) TriggerXrayScanReleaseBundleV1Version(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath)
TriggerXrayScanReleaseBundleV1Version Scan a release bundle v1 version with Xray (POST /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version}/trigger_xray_scan)
func (Unimplemented) UpdateDistributionSystemSettings ¶
func (_ Unimplemented) UpdateDistributionSystemSettings(w http.ResponseWriter, r *http.Request)
UpdateDistributionSystemSettings Update distribution settings (POST /api/v1/system/settings)
func (Unimplemented) UpdateGpgKeyAlias ¶
func (_ Unimplemented) UpdateGpgKeyAlias(w http.ResponseWriter, r *http.Request, alias string)
UpdateGpgKeyAlias Rename a GPG key (PUT /api/v1/keys/pgp/{alias})
func (Unimplemented) UpdateReleaseBundleV1Version ¶
func (_ Unimplemented) UpdateReleaseBundleV1Version(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, params UpdateReleaseBundleV1VersionParams)
UpdateReleaseBundleV1Version Update an unsigned release bundle v1 version (PUT /api/v1/release_bundle/{release_bundle_name}/{release_bundle_version})
func (Unimplemented) UpdateReleaseBundleV2DistributionPriority ¶
func (_ Unimplemented) UpdateReleaseBundleV2DistributionPriority(w http.ResponseWriter, r *http.Request, releaseBundleName ReleaseBundleNamePath, releaseBundleVersion ReleaseBundleVersionPath, distributionTracker DistributionTrackerPath)
UpdateReleaseBundleV2DistributionPriority Change the priority of a Release Bundle v2 distribution (PUT /api/v2/distribution/trackers/{release_bundle_name}/{release_bundle_version}/{distribution_tracker}/priority)
func (Unimplemented) UploadAndPropagateGpgSigningKeysForDistribution ¶
func (_ Unimplemented) UploadAndPropagateGpgSigningKeysForDistribution(w http.ResponseWriter, r *http.Request, params UploadAndPropagateGpgSigningKeysForDistributionParams)
UploadAndPropagateGpgSigningKeysForDistribution Propagate GPG keys to edges (POST /api/v1/keys/pgp/propagate)
type UnimplementedStrict ¶
type UnimplementedStrict struct{}
UnimplementedStrict answers 501 for every strict operation. Services embed it and override the operations they implement.
func (UnimplementedStrict) AbortReleaseBundleV1Distribution ¶
func (UnimplementedStrict) AbortReleaseBundleV1Distribution(context.Context, AbortReleaseBundleV1DistributionRequestObject) (AbortReleaseBundleV1DistributionResponseObject, error)
func (UnimplementedStrict) AbortReleaseBundleV2Distribution ¶
func (UnimplementedStrict) AbortReleaseBundleV2Distribution(context.Context, AbortReleaseBundleV2DistributionRequestObject) (AbortReleaseBundleV2DistributionResponseObject, error)
func (UnimplementedStrict) CreateOrRefreshToken ¶
func (UnimplementedStrict) CreateOrRefreshToken(context.Context, CreateOrRefreshTokenRequestObject) (CreateOrRefreshTokenResponseObject, error)
func (UnimplementedStrict) CreateReleaseBundleV1Version ¶
func (UnimplementedStrict) CreateReleaseBundleV1Version(context.Context, CreateReleaseBundleV1VersionRequestObject) (CreateReleaseBundleV1VersionResponseObject, error)
func (UnimplementedStrict) CreateSpecificSupportBundle ¶
func (UnimplementedStrict) CreateSpecificSupportBundle(context.Context, CreateSpecificSupportBundleRequestObject) (CreateSpecificSupportBundleResponseObject, error)
func (UnimplementedStrict) CreateSupportBundle ¶
func (UnimplementedStrict) CreateSupportBundle(context.Context, CreateSupportBundleRequestObject) (CreateSupportBundleResponseObject, error)
func (UnimplementedStrict) DeleteAllReleaseBundleV1Versions ¶
func (UnimplementedStrict) DeleteAllReleaseBundleV1Versions(context.Context, DeleteAllReleaseBundleV1VersionsRequestObject) (DeleteAllReleaseBundleV1VersionsResponseObject, error)
func (UnimplementedStrict) DeleteDistributionPermission ¶
func (UnimplementedStrict) DeleteDistributionPermission(context.Context, DeleteDistributionPermissionRequestObject) (DeleteDistributionPermissionResponseObject, error)
func (UnimplementedStrict) DeleteExportedReleaseBundleV1File ¶
func (UnimplementedStrict) DeleteExportedReleaseBundleV1File(context.Context, DeleteExportedReleaseBundleV1FileRequestObject) (DeleteExportedReleaseBundleV1FileResponseObject, error)
func (UnimplementedStrict) DeleteGpgKeyByAlias ¶
func (UnimplementedStrict) DeleteGpgKeyByAlias(context.Context, DeleteGpgKeyByAliasRequestObject) (DeleteGpgKeyByAliasResponseObject, error)
func (UnimplementedStrict) DeleteReleaseBundleV1Version ¶
func (UnimplementedStrict) DeleteReleaseBundleV1Version(context.Context, DeleteReleaseBundleV1VersionRequestObject) (DeleteReleaseBundleV1VersionResponseObject, error)
func (UnimplementedStrict) DeleteReleaseBundleV1VersionFromDistributionEdges ¶
func (UnimplementedStrict) DeleteReleaseBundleV1VersionFromDistributionEdges(context.Context, DeleteReleaseBundleV1VersionFromDistributionEdgesRequestObject) (DeleteReleaseBundleV1VersionFromDistributionEdgesResponseObject, error)
func (UnimplementedStrict) DeleteSupportBundle ¶
func (UnimplementedStrict) DeleteSupportBundle(context.Context, DeleteSupportBundleRequestObject) (DeleteSupportBundleResponseObject, error)
func (UnimplementedStrict) DistributeByLastDays ¶
func (UnimplementedStrict) DistributeByLastDays(context.Context, DistributeByLastDaysRequestObject) (DistributeByLastDaysResponseObject, error)
func (UnimplementedStrict) DistributeDynamicReleaseBundleV1 ¶
func (UnimplementedStrict) DistributeDynamicReleaseBundleV1(context.Context, DistributeDynamicReleaseBundleV1RequestObject) (DistributeDynamicReleaseBundleV1ResponseObject, error)
func (UnimplementedStrict) DistributeReleaseBundleV1Version ¶
func (UnimplementedStrict) DistributeReleaseBundleV1Version(context.Context, DistributeReleaseBundleV1VersionRequestObject) (DistributeReleaseBundleV1VersionResponseObject, error)
func (UnimplementedStrict) DistributeReleaseBundleV2Version ¶
func (UnimplementedStrict) DistributeReleaseBundleV2Version(context.Context, DistributeReleaseBundleV2VersionRequestObject) (DistributeReleaseBundleV2VersionResponseObject, error)
func (UnimplementedStrict) DistributionPing ¶
func (UnimplementedStrict) DistributionPing(context.Context, DistributionPingRequestObject) (DistributionPingResponseObject, error)
func (UnimplementedStrict) DownloadSupportBundle ¶
func (UnimplementedStrict) DownloadSupportBundle(context.Context, DownloadSupportBundleRequestObject) (DownloadSupportBundleResponseObject, error)
func (UnimplementedStrict) ExecuteMaintenanceAction ¶
func (UnimplementedStrict) ExecuteMaintenanceAction(context.Context, ExecuteMaintenanceActionRequestObject) (ExecuteMaintenanceActionResponseObject, error)
func (UnimplementedStrict) ExportReleaseBundleV1Version ¶
func (UnimplementedStrict) ExportReleaseBundleV1Version(context.Context, ExportReleaseBundleV1VersionRequestObject) (ExportReleaseBundleV1VersionResponseObject, error)
func (UnimplementedStrict) GenerateMaintenanceExecutionToken ¶
func (UnimplementedStrict) GenerateMaintenanceExecutionToken(context.Context, GenerateMaintenanceExecutionTokenRequestObject) (GenerateMaintenanceExecutionTokenResponseObject, error)
func (UnimplementedStrict) GetAllBundles ¶
func (UnimplementedStrict) GetAllBundles(context.Context, GetAllBundlesRequestObject) (GetAllBundlesResponseObject, error)
func (UnimplementedStrict) GetAllDistributionPermissions ¶
func (UnimplementedStrict) GetAllDistributionPermissions(context.Context, GetAllDistributionPermissionsRequestObject) (GetAllDistributionPermissionsResponseObject, error)
func (UnimplementedStrict) GetAllGpgKeyAliases ¶
func (UnimplementedStrict) GetAllGpgKeyAliases(context.Context, GetAllGpgKeyAliasesRequestObject) (GetAllGpgKeyAliasesResponseObject, error)
func (UnimplementedStrict) GetDistributionEdgeNodes ¶
func (UnimplementedStrict) GetDistributionEdgeNodes(context.Context, GetDistributionEdgeNodesRequestObject) (GetDistributionEdgeNodesResponseObject, error)
func (UnimplementedStrict) GetDistributionPermissionByName ¶
func (UnimplementedStrict) GetDistributionPermissionByName(context.Context, GetDistributionPermissionByNameRequestObject) (GetDistributionPermissionByNameResponseObject, error)
func (UnimplementedStrict) GetDistributionStatusDetails ¶
func (UnimplementedStrict) GetDistributionStatusDetails(context.Context, GetDistributionStatusDetailsRequestObject) (GetDistributionStatusDetailsResponseObject, error)
func (UnimplementedStrict) GetDistributionStatusDetailsByReleaseBundleV1Name ¶
func (UnimplementedStrict) GetDistributionStatusDetailsByReleaseBundleV1Name(context.Context, GetDistributionStatusDetailsByReleaseBundleV1NameRequestObject) (GetDistributionStatusDetailsByReleaseBundleV1NameResponseObject, error)
func (UnimplementedStrict) GetDistributionStatusDetailsByReleaseBundleV1TrackerId ¶
func (UnimplementedStrict) GetDistributionStatusDetailsByReleaseBundleV1TrackerId(context.Context, GetDistributionStatusDetailsByReleaseBundleV1TrackerIdRequestObject) (GetDistributionStatusDetailsByReleaseBundleV1TrackerIdResponseObject, error)
func (UnimplementedStrict) GetDistributionStatusDetailsByReleaseBundleV1Version ¶
func (UnimplementedStrict) GetDistributionStatusDetailsByReleaseBundleV1Version(context.Context, GetDistributionStatusDetailsByReleaseBundleV1VersionRequestObject) (GetDistributionStatusDetailsByReleaseBundleV1VersionResponseObject, error)
func (UnimplementedStrict) GetDistributionStatusDetailsByTrackerId ¶
func (UnimplementedStrict) GetDistributionStatusDetailsByTrackerId(context.Context, GetDistributionStatusDetailsByTrackerIdRequestObject) (GetDistributionStatusDetailsByTrackerIdResponseObject, error)
func (UnimplementedStrict) GetDistributionSystemInfo ¶
func (UnimplementedStrict) GetDistributionSystemInfo(context.Context, GetDistributionSystemInfoRequestObject) (GetDistributionSystemInfoResponseObject, error)
func (UnimplementedStrict) GetDistributionSystemSettings ¶
func (UnimplementedStrict) GetDistributionSystemSettings(context.Context, GetDistributionSystemSettingsRequestObject) (GetDistributionSystemSettingsResponseObject, error)
func (UnimplementedStrict) GetExportedReleaseBundleV1Status ¶
func (UnimplementedStrict) GetExportedReleaseBundleV1Status(context.Context, GetExportedReleaseBundleV1StatusRequestObject) (GetExportedReleaseBundleV1StatusResponseObject, error)
func (UnimplementedStrict) GetGpgPublicKeyByAlias ¶
func (UnimplementedStrict) GetGpgPublicKeyByAlias(context.Context, GetGpgPublicKeyByAliasRequestObject) (GetGpgPublicKeyByAliasResponseObject, error)
func (UnimplementedStrict) GetGpgSigningKey ¶
func (UnimplementedStrict) GetGpgSigningKey(context.Context, GetGpgSigningKeyRequestObject) (GetGpgSigningKeyResponseObject, error)
func (UnimplementedStrict) GetLatestReleaseBundleV1Version ¶
func (UnimplementedStrict) GetLatestReleaseBundleV1Version(context.Context, GetLatestReleaseBundleV1VersionRequestObject) (GetLatestReleaseBundleV1VersionResponseObject, error)
func (UnimplementedStrict) GetOpenMetricsForDistribution ¶
func (UnimplementedStrict) GetOpenMetricsForDistribution(context.Context, GetOpenMetricsForDistributionRequestObject) (GetOpenMetricsForDistributionResponseObject, error)
func (UnimplementedStrict) GetPublicSigningKeyForDistribution ¶
func (UnimplementedStrict) GetPublicSigningKeyForDistribution(context.Context, GetPublicSigningKeyForDistributionRequestObject) (GetPublicSigningKeyForDistributionResponseObject, error)
func (UnimplementedStrict) GetReleaseBundleV1VersionDetails ¶
func (UnimplementedStrict) GetReleaseBundleV1VersionDetails(context.Context, GetReleaseBundleV1VersionDetailsRequestObject) (GetReleaseBundleV1VersionDetailsResponseObject, error)
func (UnimplementedStrict) GetReleaseBundleV1VersionSha256 ¶
func (UnimplementedStrict) GetReleaseBundleV1VersionSha256(context.Context, GetReleaseBundleV1VersionSha256RequestObject) (GetReleaseBundleV1VersionSha256ResponseObject, error)
func (UnimplementedStrict) GetReleaseBundleV1VersionsByName ¶
func (UnimplementedStrict) GetReleaseBundleV1VersionsByName(context.Context, GetReleaseBundleV1VersionsByNameRequestObject) (GetReleaseBundleV1VersionsByNameResponseObject, error)
func (UnimplementedStrict) GetReleaseBundleV2DistributionTrackers ¶
func (UnimplementedStrict) GetReleaseBundleV2DistributionTrackers(context.Context, GetReleaseBundleV2DistributionTrackersRequestObject) (GetReleaseBundleV2DistributionTrackersResponseObject, error)
func (UnimplementedStrict) GetStuckDistributions ¶
func (UnimplementedStrict) GetStuckDistributions(context.Context, GetStuckDistributionsRequestObject) (GetStuckDistributionsResponseObject, error)
func (UnimplementedStrict) GetSupportBundleInfo ¶
func (UnimplementedStrict) GetSupportBundleInfo(context.Context, GetSupportBundleInfoRequestObject) (GetSupportBundleInfoResponseObject, error)
func (UnimplementedStrict) GetTokenInfos ¶
func (UnimplementedStrict) GetTokenInfos(context.Context, GetTokenInfosRequestObject) (GetTokenInfosResponseObject, error)
func (UnimplementedStrict) ImportReleaseBundleV1Version ¶
func (UnimplementedStrict) ImportReleaseBundleV1Version(context.Context, ImportReleaseBundleV1VersionRequestObject) (ImportReleaseBundleV1VersionResponseObject, error)
func (UnimplementedStrict) ListSupportBundles ¶
func (UnimplementedStrict) ListSupportBundles(context.Context, ListSupportBundlesRequestObject) (ListSupportBundlesResponseObject, error)
func (UnimplementedStrict) PropagatePublicSigningKey ¶
func (UnimplementedStrict) PropagatePublicSigningKey(context.Context, PropagatePublicSigningKeyRequestObject) (PropagatePublicSigningKeyResponseObject, error)
func (UnimplementedStrict) RemoteDeleteReleaseBundleV2Distribution ¶
func (UnimplementedStrict) RemoteDeleteReleaseBundleV2Distribution(context.Context, RemoteDeleteReleaseBundleV2DistributionRequestObject) (RemoteDeleteReleaseBundleV2DistributionResponseObject, error)
func (UnimplementedStrict) RevokeToken ¶
func (UnimplementedStrict) RevokeToken(context.Context, RevokeTokenRequestObject) (RevokeTokenResponseObject, error)
func (UnimplementedStrict) SetDistributionPermission ¶
func (UnimplementedStrict) SetDistributionPermission(context.Context, SetDistributionPermissionRequestObject) (SetDistributionPermissionResponseObject, error)
func (UnimplementedStrict) SetGpgSigningKey ¶
func (UnimplementedStrict) SetGpgSigningKey(context.Context, SetGpgSigningKeyRequestObject) (SetGpgSigningKeyResponseObject, error)
func (UnimplementedStrict) SignReleaseBundleV1Version ¶
func (UnimplementedStrict) SignReleaseBundleV1Version(context.Context, SignReleaseBundleV1VersionRequestObject) (SignReleaseBundleV1VersionResponseObject, error)
func (UnimplementedStrict) TriggerXrayScanReleaseBundleV1Version ¶
func (UnimplementedStrict) TriggerXrayScanReleaseBundleV1Version(context.Context, TriggerXrayScanReleaseBundleV1VersionRequestObject) (TriggerXrayScanReleaseBundleV1VersionResponseObject, error)
func (UnimplementedStrict) UpdateDistributionSystemSettings ¶
func (UnimplementedStrict) UpdateDistributionSystemSettings(context.Context, UpdateDistributionSystemSettingsRequestObject) (UpdateDistributionSystemSettingsResponseObject, error)
func (UnimplementedStrict) UpdateGpgKeyAlias ¶
func (UnimplementedStrict) UpdateGpgKeyAlias(context.Context, UpdateGpgKeyAliasRequestObject) (UpdateGpgKeyAliasResponseObject, error)
func (UnimplementedStrict) UpdateReleaseBundleV1Version ¶
func (UnimplementedStrict) UpdateReleaseBundleV1Version(context.Context, UpdateReleaseBundleV1VersionRequestObject) (UpdateReleaseBundleV1VersionResponseObject, error)
func (UnimplementedStrict) UpdateReleaseBundleV2DistributionPriority ¶
func (UnimplementedStrict) UpdateReleaseBundleV2DistributionPriority(context.Context, UpdateReleaseBundleV2DistributionPriorityRequestObject) (UpdateReleaseBundleV2DistributionPriorityResponseObject, error)
func (UnimplementedStrict) UploadAndPropagateGpgSigningKeysForDistribution ¶
func (UnimplementedStrict) UploadAndPropagateGpgSigningKeysForDistribution(context.Context, UploadAndPropagateGpgSigningKeysForDistributionRequestObject) (UploadAndPropagateGpgSigningKeysForDistributionResponseObject, error)
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 UnmarshalingParamError ¶
func (*UnmarshalingParamError) Error ¶
func (e *UnmarshalingParamError) Error() string
func (*UnmarshalingParamError) Unwrap ¶
func (e *UnmarshalingParamError) Unwrap() error
type UpdateDistributionSystemSettings200Response ¶
type UpdateDistributionSystemSettings200Response struct {
}
func (UpdateDistributionSystemSettings200Response) VisitUpdateDistributionSystemSettingsResponse ¶
func (response UpdateDistributionSystemSettings200Response) VisitUpdateDistributionSystemSettingsResponse(w http.ResponseWriter) error
type UpdateDistributionSystemSettings401JSONResponse ¶
type UpdateDistributionSystemSettings401JSONResponse ErrorResponse
func (UpdateDistributionSystemSettings401JSONResponse) VisitUpdateDistributionSystemSettingsResponse ¶
func (response UpdateDistributionSystemSettings401JSONResponse) VisitUpdateDistributionSystemSettingsResponse(w http.ResponseWriter) error
type UpdateDistributionSystemSettings403JSONResponse ¶
type UpdateDistributionSystemSettings403JSONResponse ErrorResponse
func (UpdateDistributionSystemSettings403JSONResponse) VisitUpdateDistributionSystemSettingsResponse ¶
func (response UpdateDistributionSystemSettings403JSONResponse) VisitUpdateDistributionSystemSettingsResponse(w http.ResponseWriter) error
type UpdateDistributionSystemSettings429JSONResponse ¶
type UpdateDistributionSystemSettings429JSONResponse struct{ TooManyRequestsJSONResponse }
func (UpdateDistributionSystemSettings429JSONResponse) VisitUpdateDistributionSystemSettingsResponse ¶
func (response UpdateDistributionSystemSettings429JSONResponse) VisitUpdateDistributionSystemSettingsResponse(w http.ResponseWriter) error
type UpdateDistributionSystemSettings503JSONResponse ¶
func (UpdateDistributionSystemSettings503JSONResponse) VisitUpdateDistributionSystemSettingsResponse ¶
func (response UpdateDistributionSystemSettings503JSONResponse) VisitUpdateDistributionSystemSettingsResponse(w http.ResponseWriter) error
type UpdateDistributionSystemSettingsJSONRequestBody ¶
type UpdateDistributionSystemSettingsJSONRequestBody = SystemSettings
UpdateDistributionSystemSettingsJSONRequestBody defines body for UpdateDistributionSystemSettings for application/json ContentType.
type UpdateDistributionSystemSettingsRequestObject ¶
type UpdateDistributionSystemSettingsRequestObject struct {
Body *UpdateDistributionSystemSettingsJSONRequestBody
}
type UpdateDistributionSystemSettingsResponseObject ¶
type UpdateDistributionSystemSettingsResponseObject interface {
VisitUpdateDistributionSystemSettingsResponse(w http.ResponseWriter) error
}
type UpdateGpgKeyAlias200JSONResponse ¶
type UpdateGpgKeyAlias200JSONResponse GpgKey
func (UpdateGpgKeyAlias200JSONResponse) VisitUpdateGpgKeyAliasResponse ¶
func (response UpdateGpgKeyAlias200JSONResponse) VisitUpdateGpgKeyAliasResponse(w http.ResponseWriter) error
type UpdateGpgKeyAlias401JSONResponse ¶
type UpdateGpgKeyAlias401JSONResponse ErrorResponse
func (UpdateGpgKeyAlias401JSONResponse) VisitUpdateGpgKeyAliasResponse ¶
func (response UpdateGpgKeyAlias401JSONResponse) VisitUpdateGpgKeyAliasResponse(w http.ResponseWriter) error
type UpdateGpgKeyAlias404JSONResponse ¶
type UpdateGpgKeyAlias404JSONResponse ErrorResponse
func (UpdateGpgKeyAlias404JSONResponse) VisitUpdateGpgKeyAliasResponse ¶
func (response UpdateGpgKeyAlias404JSONResponse) VisitUpdateGpgKeyAliasResponse(w http.ResponseWriter) error
type UpdateGpgKeyAlias429JSONResponse ¶
type UpdateGpgKeyAlias429JSONResponse struct{ TooManyRequestsJSONResponse }
func (UpdateGpgKeyAlias429JSONResponse) VisitUpdateGpgKeyAliasResponse ¶
func (response UpdateGpgKeyAlias429JSONResponse) VisitUpdateGpgKeyAliasResponse(w http.ResponseWriter) error
type UpdateGpgKeyAlias503JSONResponse ¶
func (UpdateGpgKeyAlias503JSONResponse) VisitUpdateGpgKeyAliasResponse ¶
func (response UpdateGpgKeyAlias503JSONResponse) VisitUpdateGpgKeyAliasResponse(w http.ResponseWriter) error
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 UpdateGpgKeyAliasRequestObject ¶
type UpdateGpgKeyAliasRequestObject struct {
Alias string `json:"alias"`
Body *UpdateGpgKeyAliasJSONRequestBody
}
type UpdateGpgKeyAliasResponseObject ¶
type UpdateGpgKeyAliasResponseObject interface {
VisitUpdateGpgKeyAliasResponse(w http.ResponseWriter) error
}
type UpdateReleaseBundleV1Version200JSONResponse ¶
type UpdateReleaseBundleV1Version200JSONResponse struct {
Body ReleaseBundleV1Version
Headers UpdateReleaseBundleV1Version200ResponseHeaders
}
func (UpdateReleaseBundleV1Version200JSONResponse) VisitUpdateReleaseBundleV1VersionResponse ¶
func (response UpdateReleaseBundleV1Version200JSONResponse) VisitUpdateReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type UpdateReleaseBundleV1Version200ResponseHeaders ¶
type UpdateReleaseBundleV1Version200ResponseHeaders struct {
XChecksumSha256 *string
}
type UpdateReleaseBundleV1Version400JSONResponse ¶
type UpdateReleaseBundleV1Version400JSONResponse ErrorResponse
func (UpdateReleaseBundleV1Version400JSONResponse) VisitUpdateReleaseBundleV1VersionResponse ¶
func (response UpdateReleaseBundleV1Version400JSONResponse) VisitUpdateReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type UpdateReleaseBundleV1Version401JSONResponse ¶
type UpdateReleaseBundleV1Version401JSONResponse ErrorResponse
func (UpdateReleaseBundleV1Version401JSONResponse) VisitUpdateReleaseBundleV1VersionResponse ¶
func (response UpdateReleaseBundleV1Version401JSONResponse) VisitUpdateReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type UpdateReleaseBundleV1Version429JSONResponse ¶
type UpdateReleaseBundleV1Version429JSONResponse struct{ TooManyRequestsJSONResponse }
func (UpdateReleaseBundleV1Version429JSONResponse) VisitUpdateReleaseBundleV1VersionResponse ¶
func (response UpdateReleaseBundleV1Version429JSONResponse) VisitUpdateReleaseBundleV1VersionResponse(w http.ResponseWriter) error
type UpdateReleaseBundleV1Version503JSONResponse ¶
func (UpdateReleaseBundleV1Version503JSONResponse) VisitUpdateReleaseBundleV1VersionResponse ¶
func (response UpdateReleaseBundleV1Version503JSONResponse) VisitUpdateReleaseBundleV1VersionResponse(w http.ResponseWriter) error
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 UpdateReleaseBundleV1VersionRequestObject ¶
type UpdateReleaseBundleV1VersionRequestObject struct {
ReleaseBundleName ReleaseBundleNamePath `json:"release_bundle_name"`
ReleaseBundleVersion ReleaseBundleVersionPath `json:"release_bundle_version"`
Params UpdateReleaseBundleV1VersionParams
Body *UpdateReleaseBundleV1VersionJSONRequestBody
}
type UpdateReleaseBundleV1VersionResponseObject ¶
type UpdateReleaseBundleV1VersionResponseObject interface {
VisitUpdateReleaseBundleV1VersionResponse(w http.ResponseWriter) error
}
type UpdateReleaseBundleV2DistributionPriority200JSONResponse ¶
type UpdateReleaseBundleV2DistributionPriority200JSONResponse DistributionPriorityUpdateResponse
func (UpdateReleaseBundleV2DistributionPriority200JSONResponse) VisitUpdateReleaseBundleV2DistributionPriorityResponse ¶
func (response UpdateReleaseBundleV2DistributionPriority200JSONResponse) VisitUpdateReleaseBundleV2DistributionPriorityResponse(w http.ResponseWriter) error
type UpdateReleaseBundleV2DistributionPriority400JSONResponse ¶
type UpdateReleaseBundleV2DistributionPriority400JSONResponse ErrorResponse
func (UpdateReleaseBundleV2DistributionPriority400JSONResponse) VisitUpdateReleaseBundleV2DistributionPriorityResponse ¶
func (response UpdateReleaseBundleV2DistributionPriority400JSONResponse) VisitUpdateReleaseBundleV2DistributionPriorityResponse(w http.ResponseWriter) error
type UpdateReleaseBundleV2DistributionPriority401JSONResponse ¶
type UpdateReleaseBundleV2DistributionPriority401JSONResponse ErrorResponse
func (UpdateReleaseBundleV2DistributionPriority401JSONResponse) VisitUpdateReleaseBundleV2DistributionPriorityResponse ¶
func (response UpdateReleaseBundleV2DistributionPriority401JSONResponse) VisitUpdateReleaseBundleV2DistributionPriorityResponse(w http.ResponseWriter) error
type UpdateReleaseBundleV2DistributionPriority403JSONResponse ¶
type UpdateReleaseBundleV2DistributionPriority403JSONResponse ErrorResponse
func (UpdateReleaseBundleV2DistributionPriority403JSONResponse) VisitUpdateReleaseBundleV2DistributionPriorityResponse ¶
func (response UpdateReleaseBundleV2DistributionPriority403JSONResponse) VisitUpdateReleaseBundleV2DistributionPriorityResponse(w http.ResponseWriter) error
type UpdateReleaseBundleV2DistributionPriority404JSONResponse ¶
type UpdateReleaseBundleV2DistributionPriority404JSONResponse ErrorResponse
func (UpdateReleaseBundleV2DistributionPriority404JSONResponse) VisitUpdateReleaseBundleV2DistributionPriorityResponse ¶
func (response UpdateReleaseBundleV2DistributionPriority404JSONResponse) VisitUpdateReleaseBundleV2DistributionPriorityResponse(w http.ResponseWriter) error
type UpdateReleaseBundleV2DistributionPriority429JSONResponse ¶
type UpdateReleaseBundleV2DistributionPriority429JSONResponse struct{ TooManyRequestsJSONResponse }
func (UpdateReleaseBundleV2DistributionPriority429JSONResponse) VisitUpdateReleaseBundleV2DistributionPriorityResponse ¶
func (response UpdateReleaseBundleV2DistributionPriority429JSONResponse) VisitUpdateReleaseBundleV2DistributionPriorityResponse(w http.ResponseWriter) error
type UpdateReleaseBundleV2DistributionPriority501JSONResponse ¶
type UpdateReleaseBundleV2DistributionPriority501JSONResponse ErrorResponse
func (UpdateReleaseBundleV2DistributionPriority501JSONResponse) VisitUpdateReleaseBundleV2DistributionPriorityResponse ¶
func (response UpdateReleaseBundleV2DistributionPriority501JSONResponse) VisitUpdateReleaseBundleV2DistributionPriorityResponse(w http.ResponseWriter) error
type UpdateReleaseBundleV2DistributionPriority503JSONResponse ¶
func (UpdateReleaseBundleV2DistributionPriority503JSONResponse) VisitUpdateReleaseBundleV2DistributionPriorityResponse ¶
func (response UpdateReleaseBundleV2DistributionPriority503JSONResponse) VisitUpdateReleaseBundleV2DistributionPriorityResponse(w http.ResponseWriter) error
type UpdateReleaseBundleV2DistributionPriorityJSONRequestBody ¶
type UpdateReleaseBundleV2DistributionPriorityJSONRequestBody = DistributionPriorityUpdateRequest
UpdateReleaseBundleV2DistributionPriorityJSONRequestBody defines body for UpdateReleaseBundleV2DistributionPriority for application/json ContentType.
type UpdateReleaseBundleV2DistributionPriorityRequestObject ¶
type UpdateReleaseBundleV2DistributionPriorityRequestObject struct {
ReleaseBundleName ReleaseBundleNamePath `json:"release_bundle_name"`
ReleaseBundleVersion ReleaseBundleVersionPath `json:"release_bundle_version"`
DistributionTracker DistributionTrackerPath `json:"distribution_tracker"`
Body *UpdateReleaseBundleV2DistributionPriorityJSONRequestBody
}
type UpdateReleaseBundleV2DistributionPriorityResponseObject ¶
type UpdateReleaseBundleV2DistributionPriorityResponseObject interface {
VisitUpdateReleaseBundleV2DistributionPriorityResponse(w http.ResponseWriter) error
}
type UploadAndPropagateGpgSigningKeysForDistribution200JSONResponse ¶
type UploadAndPropagateGpgSigningKeysForDistribution200JSONResponse PropagationReport
func (UploadAndPropagateGpgSigningKeysForDistribution200JSONResponse) VisitUploadAndPropagateGpgSigningKeysForDistributionResponse ¶
func (response UploadAndPropagateGpgSigningKeysForDistribution200JSONResponse) VisitUploadAndPropagateGpgSigningKeysForDistributionResponse(w http.ResponseWriter) error
type UploadAndPropagateGpgSigningKeysForDistribution401JSONResponse ¶
type UploadAndPropagateGpgSigningKeysForDistribution401JSONResponse ErrorResponse
func (UploadAndPropagateGpgSigningKeysForDistribution401JSONResponse) VisitUploadAndPropagateGpgSigningKeysForDistributionResponse ¶
func (response UploadAndPropagateGpgSigningKeysForDistribution401JSONResponse) VisitUploadAndPropagateGpgSigningKeysForDistributionResponse(w http.ResponseWriter) error
type UploadAndPropagateGpgSigningKeysForDistribution429JSONResponse ¶
type UploadAndPropagateGpgSigningKeysForDistribution429JSONResponse struct{ TooManyRequestsJSONResponse }
func (UploadAndPropagateGpgSigningKeysForDistribution429JSONResponse) VisitUploadAndPropagateGpgSigningKeysForDistributionResponse ¶
func (response UploadAndPropagateGpgSigningKeysForDistribution429JSONResponse) VisitUploadAndPropagateGpgSigningKeysForDistributionResponse(w http.ResponseWriter) error
type UploadAndPropagateGpgSigningKeysForDistribution503JSONResponse ¶
func (UploadAndPropagateGpgSigningKeysForDistribution503JSONResponse) VisitUploadAndPropagateGpgSigningKeysForDistributionResponse ¶
func (response UploadAndPropagateGpgSigningKeysForDistribution503JSONResponse) VisitUploadAndPropagateGpgSigningKeysForDistributionResponse(w http.ResponseWriter) error
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 UploadAndPropagateGpgSigningKeysForDistributionRequestObject ¶
type UploadAndPropagateGpgSigningKeysForDistributionRequestObject struct {
Params UploadAndPropagateGpgSigningKeysForDistributionParams
}
type UploadAndPropagateGpgSigningKeysForDistributionResponseObject ¶
type UploadAndPropagateGpgSigningKeysForDistributionResponseObject interface {
VisitUploadAndPropagateGpgSigningKeysForDistributionResponse(w http.ResponseWriter) error
}