v1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: MPL-2.0 Imports: 37 Imported by: 0

Documentation

Overview

Package v1 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.

Package v1 serves the platform plane: tenancy, principals and authorization.

Ours to design, versioned on our terms, spec-authored before implementation. Must not reach for compatibility-plane models — see docs/architecture.md.

Index

Constants

View Source
const DefaultPluginUpdateInterval = 24 * time.Hour

DefaultPluginUpdateInterval matches DFBG_PLUGIN_UPDATE_INTERVAL's default.

View Source
const DefaultPluginUploadBytes int64 = 4 << 30

DefaultPluginUploadBytes bounds one plugin version upload (ADR-0027 D12) and a plugin bundle import (ADR-0029 D6). The body spools to disk.

View Source
const InitPath = "/sys/init"

InitPath is the one route on this plane that does not authenticate.

Requiring a credential to obtain the first credential is a loop. It defends itself by refusing permanently once the instance is claimed (ADR-0012), and it is enumerated here rather than left implicit so the unauthenticated surface is a list someone can read.

View Source
const RecoveryPath = "/sys/recovery"

RecoveryPath is unauthenticated for the same reason as InitPath: it exists for the caller whose credential is lost. The shares are the credential, the verifier is checked server-side, and the surface sits behind the token endpoint's per-caller rate limit (ADR-0024).

View Source
const SessionPath = "/sys/session"

SessionPath is the console's cookie-session endpoint. Exempt from the bearer middleware and enumerated alongside InitPath and StatusPath so the unauthenticated surface stays a list someone can read: its credential arrives as a cookie (GET, DELETE) or is being minted into one (POST), and each handler verifies it itself.

View Source
const StatusPath = "/sys/health"

StatusPath is the unauthenticated health probe. Exempt for the same reason as InitPath and one more: a Kubernetes probe holds no credential, and a readiness check that could fail on authentication would report the wrong thing about the instance (ADR-0005's rolling-deploy posture).

Variables

This section is empty.

Functions

func Handler

func Handler(si ServerInterface) http.Handler

Handler creates http.Handler with routing matching OpenAPI spec.

func HandlerFromMux

func HandlerFromMux(si ServerInterface, m ServeMux) http.Handler

HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.

func HandlerFromMuxWithBaseURL

func HandlerFromMuxWithBaseURL(si ServerInterface, m ServeMux, baseURL string) http.Handler

func HandlerWithOptions

func HandlerWithOptions(si ServerInterface, options StdHTTPServerOptions) http.Handler

HandlerWithOptions creates http.Handler with additional options

func NewCreateAuditTargetRequest

func NewCreateAuditTargetRequest(server string, body CreateAuditTargetJSONRequestBody) (*http.Request, error)

NewCreateAuditTargetRequest calls the generic CreateAuditTarget builder with application/json body

func NewCreateAuditTargetRequestWithBody

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

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

func NewCreateOrganizationRequest

func NewCreateOrganizationRequest(server string, body CreateOrganizationJSONRequestBody) (*http.Request, error)

NewCreateOrganizationRequest calls the generic CreateOrganization builder with application/json body

func NewCreateOrganizationRequestWithBody

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

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

func NewCreateOrganizationWebhookRequest added in v0.5.0

func NewCreateOrganizationWebhookRequest(server string, organizationId OrganizationId, body CreateOrganizationWebhookJSONRequestBody) (*http.Request, error)

NewCreateOrganizationWebhookRequest calls the generic CreateOrganizationWebhook builder with application/json body

func NewCreateOrganizationWebhookRequestWithBody added in v0.5.0

func NewCreateOrganizationWebhookRequestWithBody(server string, organizationId OrganizationId, contentType string, body io.Reader) (*http.Request, error)

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

func NewCreatePluginImportRequest added in v0.5.0

func NewCreatePluginImportRequest(server string, organizationId OrganizationId, body CreatePluginImportJSONRequestBody) (*http.Request, error)

NewCreatePluginImportRequest calls the generic CreatePluginImport builder with application/json body

func NewCreatePluginImportRequestWithBody added in v0.5.0

func NewCreatePluginImportRequestWithBody(server string, organizationId OrganizationId, contentType string, body io.Reader) (*http.Request, error)

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

func NewCreatePrincipalRequest

func NewCreatePrincipalRequest(server string, body CreatePrincipalJSONRequestBody) (*http.Request, error)

NewCreatePrincipalRequest calls the generic CreatePrincipal builder with application/json body

func NewCreatePrincipalRequestWithBody

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

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

func NewCreatePrincipalSecretRequest

func NewCreatePrincipalSecretRequest(server string, principalId PrincipalId, body CreatePrincipalSecretJSONRequestBody) (*http.Request, error)

NewCreatePrincipalSecretRequest calls the generic CreatePrincipalSecret builder with application/json body

func NewCreatePrincipalSecretRequestWithBody

func NewCreatePrincipalSecretRequestWithBody(server string, principalId PrincipalId, contentType string, body io.Reader) (*http.Request, error)

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

func NewCreateProjectRequest

func NewCreateProjectRequest(server string, organizationId OrganizationId, body CreateProjectJSONRequestBody) (*http.Request, error)

NewCreateProjectRequest calls the generic CreateProject builder with application/json body

func NewCreateProjectRequestWithBody

func NewCreateProjectRequestWithBody(server string, organizationId OrganizationId, contentType string, body io.Reader) (*http.Request, error)

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

func NewCreateSessionRequest

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

NewCreateSessionRequest constructs an http.Request for the CreateSession method

func NewCreateWebhookRequest

func NewCreateWebhookRequest(server string, organizationId OrganizationId, projectId ProjectId, body CreateWebhookJSONRequestBody) (*http.Request, error)

NewCreateWebhookRequest calls the generic CreateWebhook builder with application/json body

func NewCreateWebhookRequestWithBody

func NewCreateWebhookRequestWithBody(server string, organizationId OrganizationId, projectId ProjectId, contentType string, body io.Reader) (*http.Request, error)

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

func NewDeleteAuditTargetRequest

func NewDeleteAuditTargetRequest(server string, targetId openapi_types.UUID) (*http.Request, error)

NewDeleteAuditTargetRequest constructs an http.Request for the DeleteAuditTarget method

func NewDeleteBagDropAssociationRequest

func NewDeleteBagDropAssociationRequest(server string, organizationId OrganizationId, projectId ProjectId, bucketName string) (*http.Request, error)

NewDeleteBagDropAssociationRequest constructs an http.Request for the DeleteBagDropAssociation method

func NewDeleteBagDropConfigRequest

func NewDeleteBagDropConfigRequest(server string, organizationId OrganizationId, projectId ProjectId) (*http.Request, error)

NewDeleteBagDropConfigRequest constructs an http.Request for the DeleteBagDropConfig method

func NewDeleteOrganizationRequest

func NewDeleteOrganizationRequest(server string, organizationId OrganizationId) (*http.Request, error)

NewDeleteOrganizationRequest constructs an http.Request for the DeleteOrganization method

func NewDeleteOrganizationWebhookRequest added in v0.5.0

func NewDeleteOrganizationWebhookRequest(server string, organizationId OrganizationId, webhookId WebhookId) (*http.Request, error)

NewDeleteOrganizationWebhookRequest constructs an http.Request for the DeleteOrganizationWebhook method

func NewDeletePinRequest

func NewDeletePinRequest(server string, organizationId OrganizationId, projectId ProjectId, bucketName string) (*http.Request, error)

NewDeletePinRequest constructs an http.Request for the DeletePin method

func NewDeletePluginImportRequest added in v0.5.0

func NewDeletePluginImportRequest(server string, organizationId OrganizationId, importId openapi_types.UUID) (*http.Request, error)

NewDeletePluginImportRequest constructs an http.Request for the DeletePluginImport method

func NewDeletePluginVersionRequest added in v0.5.0

func NewDeletePluginVersionRequest(server string, organizationId OrganizationId, pluginName PluginName, version PluginVersionNumber) (*http.Request, error)

NewDeletePluginVersionRequest constructs an http.Request for the DeletePluginVersion method

func NewDeletePrincipalRequest

func NewDeletePrincipalRequest(server string, principalId PrincipalId) (*http.Request, error)

NewDeletePrincipalRequest constructs an http.Request for the DeletePrincipal method

func NewDeleteProjectRequest

func NewDeleteProjectRequest(server string, organizationId OrganizationId, projectId ProjectId) (*http.Request, error)

NewDeleteProjectRequest constructs an http.Request for the DeleteProject method

func NewDeleteSessionRequest

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

NewDeleteSessionRequest constructs an http.Request for the DeleteSession method

func NewDeleteWebhookRequest

func NewDeleteWebhookRequest(server string, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId) (*http.Request, error)

NewDeleteWebhookRequest constructs an http.Request for the DeleteWebhook method

func NewDisableBagDropRequest

func NewDisableBagDropRequest(server string, organizationId OrganizationId, projectId ProjectId) (*http.Request, error)

NewDisableBagDropRequest constructs an http.Request for the DisableBagDrop method

func NewDisablePluginRegistryRequest added in v0.5.0

func NewDisablePluginRegistryRequest(server string, organizationId OrganizationId) (*http.Request, error)

NewDisablePluginRegistryRequest constructs an http.Request for the DisablePluginRegistry method

func NewDownloadPluginBundleRequest added in v0.5.0

func NewDownloadPluginBundleRequest(server string, organizationId OrganizationId) (*http.Request, error)

NewDownloadPluginBundleRequest constructs an http.Request for the DownloadPluginBundle method

func NewEnableBagDropRequest

func NewEnableBagDropRequest(server string, organizationId OrganizationId, projectId ProjectId, body EnableBagDropJSONRequestBody) (*http.Request, error)

NewEnableBagDropRequest calls the generic EnableBagDrop builder with application/json body

func NewEnableBagDropRequestWithBody

func NewEnableBagDropRequestWithBody(server string, organizationId OrganizationId, projectId ProjectId, contentType string, body io.Reader) (*http.Request, error)

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

func NewEnablePluginRegistryRequest added in v0.5.0

func NewEnablePluginRegistryRequest(server string, organizationId OrganizationId) (*http.Request, error)

NewEnablePluginRegistryRequest constructs an http.Request for the EnablePluginRegistry method

func NewExportPluginBundleRequest added in v0.5.0

func NewExportPluginBundleRequest(server string, organizationId OrganizationId) (*http.Request, error)

NewExportPluginBundleRequest constructs an http.Request for the ExportPluginBundle method

func NewExposePluginRegistryRequest added in v0.5.0

func NewExposePluginRegistryRequest(server string, organizationId OrganizationId) (*http.Request, error)

NewExposePluginRegistryRequest constructs an http.Request for the ExposePluginRegistry method

func NewGetBagDropConfigRequest

func NewGetBagDropConfigRequest(server string, organizationId OrganizationId, projectId ProjectId) (*http.Request, error)

NewGetBagDropConfigRequest constructs an http.Request for the GetBagDropConfig method

func NewGetBagDropStatusRequest

func NewGetBagDropStatusRequest(server string, organizationId OrganizationId, projectId ProjectId) (*http.Request, error)

NewGetBagDropStatusRequest constructs an http.Request for the GetBagDropStatus method

func NewGetBuildFindingsRequest added in v0.4.2

func NewGetBuildFindingsRequest(server string, organizationId OrganizationId, projectId ProjectId, bucketName string, fingerprint string, buildId string) (*http.Request, error)

NewGetBuildFindingsRequest constructs an http.Request for the GetBuildFindings method

func NewGetEncryptionRequest

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

NewGetEncryptionRequest constructs an http.Request for the GetEncryption method

func NewGetInstanceRequest

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

NewGetInstanceRequest constructs an http.Request for the GetInstance method

func NewGetOrganizationRequest

func NewGetOrganizationRequest(server string, organizationId OrganizationId) (*http.Request, error)

NewGetOrganizationRequest constructs an http.Request for the GetOrganization method

func NewGetOrganizationWebhookRequest added in v0.5.0

func NewGetOrganizationWebhookRequest(server string, organizationId OrganizationId, webhookId WebhookId) (*http.Request, error)

NewGetOrganizationWebhookRequest constructs an http.Request for the GetOrganizationWebhook method

func NewGetPluginBundleImportRequest added in v0.5.0

func NewGetPluginBundleImportRequest(server string, organizationId OrganizationId) (*http.Request, error)

NewGetPluginBundleImportRequest constructs an http.Request for the GetPluginBundleImport method

func NewGetPluginBundleRequest added in v0.5.0

func NewGetPluginBundleRequest(server string, organizationId OrganizationId) (*http.Request, error)

NewGetPluginBundleRequest constructs an http.Request for the GetPluginBundle method

func NewGetPluginDefaultPlatformsRequest added in v0.5.0

func NewGetPluginDefaultPlatformsRequest(server string, organizationId OrganizationId) (*http.Request, error)

NewGetPluginDefaultPlatformsRequest constructs an http.Request for the GetPluginDefaultPlatforms method

func NewGetPluginDownloadsRequest added in v0.5.0

func NewGetPluginDownloadsRequest(server string, organizationId OrganizationId, pluginName PluginName) (*http.Request, error)

NewGetPluginDownloadsRequest constructs an http.Request for the GetPluginDownloads method

func NewGetPluginImportRequest added in v0.5.0

func NewGetPluginImportRequest(server string, organizationId OrganizationId, importId openapi_types.UUID) (*http.Request, error)

NewGetPluginImportRequest constructs an http.Request for the GetPluginImport method

func NewGetPluginPruneRequest added in v0.5.0

func NewGetPluginPruneRequest(server string, organizationId OrganizationId) (*http.Request, error)

NewGetPluginPruneRequest constructs an http.Request for the GetPluginPrune method

func NewGetPluginRegistryRequest added in v0.5.0

func NewGetPluginRegistryRequest(server string, organizationId OrganizationId) (*http.Request, error)

NewGetPluginRegistryRequest constructs an http.Request for the GetPluginRegistry method

func NewGetPrincipalRequest

func NewGetPrincipalRequest(server string, principalId PrincipalId) (*http.Request, error)

NewGetPrincipalRequest constructs an http.Request for the GetPrincipal method

func NewGetProjectRequest

func NewGetProjectRequest(server string, organizationId OrganizationId, projectId ProjectId) (*http.Request, error)

NewGetProjectRequest constructs an http.Request for the GetProject method

func NewGetScannerHealthRequest

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

NewGetScannerHealthRequest constructs an http.Request for the GetScannerHealth method

func NewGetSelfRequest

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

NewGetSelfRequest constructs an http.Request for the GetSelf method

func NewGetVersionFindingsSummaryRequest added in v0.4.2

func NewGetVersionFindingsSummaryRequest(server string, organizationId OrganizationId, projectId ProjectId, bucketName string, fingerprint string) (*http.Request, error)

NewGetVersionFindingsSummaryRequest constructs an http.Request for the GetVersionFindingsSummary method

func NewGetWebhookRequest

func NewGetWebhookRequest(server string, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId) (*http.Request, error)

NewGetWebhookRequest constructs an http.Request for the GetWebhook method

func NewHandler

func NewHandler(
	repository PlatformRepository, instance InstanceRepository,
	auth Authenticator, principals Principals, logger *slog.Logger,
	auditTargets AuditTargetRepository, auditBroker AuditTargetBroker,
	encryption EncryptionService, scanner Scanner, bagDrop BagDropService, webhooks WebhookService, build BuildInfo,
	pluginUploadLimit int64, pluginUpdateInterval time.Duration, catalogue PluginCatalogue,
) http.Handler

NewHandler serves the platform API.

func NewHealthRequest

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

NewHealthRequest constructs an http.Request for the Health method

func NewImportPluginBundleRequestWithBody added in v0.5.0

func NewImportPluginBundleRequestWithBody(server string, organizationId OrganizationId, contentType string, body io.Reader) (*http.Request, error)

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

func NewInitializeRequest

func NewInitializeRequest(server string, body InitializeJSONRequestBody) (*http.Request, error)

NewInitializeRequest calls the generic Initialize builder with application/json body

func NewInitializeRequestWithBody

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

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

func NewListAuditTargetsRequest

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

NewListAuditTargetsRequest constructs an http.Request for the ListAuditTargets method

func NewListBagDropAssociationsRequest

func NewListBagDropAssociationsRequest(server string, organizationId OrganizationId, projectId ProjectId) (*http.Request, error)

NewListBagDropAssociationsRequest constructs an http.Request for the ListBagDropAssociations method

func NewListHashicorpPluginVersionsRequest added in v0.5.0

func NewListHashicorpPluginVersionsRequest(server string, organizationId OrganizationId, product string, params *ListHashicorpPluginVersionsParams) (*http.Request, error)

NewListHashicorpPluginVersionsRequest constructs an http.Request for the ListHashicorpPluginVersions method

func NewListHashicorpPluginsRequest added in v0.5.0

func NewListHashicorpPluginsRequest(server string, organizationId OrganizationId) (*http.Request, error)

NewListHashicorpPluginsRequest constructs an http.Request for the ListHashicorpPlugins method

func NewListOrganizationWebhookDeliveriesRequest added in v0.5.0

func NewListOrganizationWebhookDeliveriesRequest(server string, organizationId OrganizationId, webhookId WebhookId) (*http.Request, error)

NewListOrganizationWebhookDeliveriesRequest constructs an http.Request for the ListOrganizationWebhookDeliveries method

func NewListOrganizationWebhooksRequest added in v0.5.0

func NewListOrganizationWebhooksRequest(server string, organizationId OrganizationId) (*http.Request, error)

NewListOrganizationWebhooksRequest constructs an http.Request for the ListOrganizationWebhooks method

func NewListOrganizationsRequest

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

NewListOrganizationsRequest constructs an http.Request for the ListOrganizations method

func NewListPinsRequest

func NewListPinsRequest(server string, organizationId OrganizationId, projectId ProjectId) (*http.Request, error)

NewListPinsRequest constructs an http.Request for the ListPins method

func NewListPluginImportsRequest added in v0.5.0

func NewListPluginImportsRequest(server string, organizationId OrganizationId, params *ListPluginImportsParams) (*http.Request, error)

NewListPluginImportsRequest constructs an http.Request for the ListPluginImports method

func NewListPluginVersionsRequest added in v0.5.0

func NewListPluginVersionsRequest(server string, organizationId OrganizationId, pluginName PluginName) (*http.Request, error)

NewListPluginVersionsRequest constructs an http.Request for the ListPluginVersions method

func NewListPluginsRequest added in v0.5.0

func NewListPluginsRequest(server string, organizationId OrganizationId) (*http.Request, error)

NewListPluginsRequest constructs an http.Request for the ListPlugins method

func NewListPrincipalsRequest

func NewListPrincipalsRequest(server string, params *ListPrincipalsParams) (*http.Request, error)

NewListPrincipalsRequest constructs an http.Request for the ListPrincipals method

func NewListProjectsRequest

func NewListProjectsRequest(server string, organizationId OrganizationId) (*http.Request, error)

NewListProjectsRequest constructs an http.Request for the ListProjects method

func NewListWebhookDeliveriesRequest

func NewListWebhookDeliveriesRequest(server string, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId) (*http.Request, error)

NewListWebhookDeliveriesRequest constructs an http.Request for the ListWebhookDeliveries method

func NewListWebhooksRequest

func NewListWebhooksRequest(server string, organizationId OrganizationId, projectId ProjectId) (*http.Request, error)

NewListWebhooksRequest constructs an http.Request for the ListWebhooks method

func NewPublishPluginVersionRequestWithBody added in v0.5.0

func NewPublishPluginVersionRequestWithBody(server string, organizationId OrganizationId, pluginName PluginName, version PluginVersionNumber, contentType string, body io.Reader) (*http.Request, error)

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

func NewReadSessionRequest

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

NewReadSessionRequest constructs an http.Request for the ReadSession method

func NewReconcileBagDropRequest

func NewReconcileBagDropRequest(server string, organizationId OrganizationId, projectId ProjectId) (*http.Request, error)

NewReconcileBagDropRequest constructs an http.Request for the ReconcileBagDrop method

func NewRecoverRequest

func NewRecoverRequest(server string, body RecoverJSONRequestBody) (*http.Request, error)

NewRecoverRequest calls the generic Recover builder with application/json body

func NewRecoverRequestWithBody

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

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

func NewRescanBuildRequest

func NewRescanBuildRequest(server string, organizationId OrganizationId, projectId ProjectId, buildId string) (*http.Request, error)

NewRescanBuildRequest constructs an http.Request for the RescanBuild method

func NewResolveGithubReleaseRequest added in v0.5.0

func NewResolveGithubReleaseRequest(server string, organizationId OrganizationId, body ResolveGithubReleaseJSONRequestBody) (*http.Request, error)

NewResolveGithubReleaseRequest calls the generic ResolveGithubRelease builder with application/json body

func NewResolveGithubReleaseRequestWithBody added in v0.5.0

func NewResolveGithubReleaseRequestWithBody(server string, organizationId OrganizationId, contentType string, body io.Reader) (*http.Request, error)

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

func NewRestorePluginVersionRequest added in v0.5.0

func NewRestorePluginVersionRequest(server string, organizationId OrganizationId, pluginName PluginName, version PluginVersionNumber) (*http.Request, error)

NewRestorePluginVersionRequest constructs an http.Request for the RestorePluginVersion method

func NewRevokePluginVersionRequest added in v0.5.0

func NewRevokePluginVersionRequest(server string, organizationId OrganizationId, pluginName PluginName, version PluginVersionNumber) (*http.Request, error)

NewRevokePluginVersionRequest constructs an http.Request for the RevokePluginVersion method

func NewRevokePrincipalSecretRequest

func NewRevokePrincipalSecretRequest(server string, principalId PrincipalId, secretId string) (*http.Request, error)

NewRevokePrincipalSecretRequest constructs an http.Request for the RevokePrincipalSecret method

func NewRewrapEncryptionRequest

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

NewRewrapEncryptionRequest constructs an http.Request for the RewrapEncryption method

func NewRotateEncryptionRequest

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

NewRotateEncryptionRequest constructs an http.Request for the RotateEncryption method

func NewRunPluginPruneRequest added in v0.5.0

func NewRunPluginPruneRequest(server string, organizationId OrganizationId) (*http.Request, error)

NewRunPluginPruneRequest constructs an http.Request for the RunPluginPrune method

func NewSetBagDropAssociationRequest

func NewSetBagDropAssociationRequest(server string, organizationId OrganizationId, projectId ProjectId, bucketName string) (*http.Request, error)

NewSetBagDropAssociationRequest constructs an http.Request for the SetBagDropAssociation method

func NewSetPinRequest

func NewSetPinRequest(server string, organizationId OrganizationId, projectId ProjectId, bucketName string) (*http.Request, error)

NewSetPinRequest constructs an http.Request for the SetPin method

func NewSetPluginDefaultPlatformsRequest added in v0.5.0

func NewSetPluginDefaultPlatformsRequest(server string, organizationId OrganizationId, body SetPluginDefaultPlatformsJSONRequestBody) (*http.Request, error)

NewSetPluginDefaultPlatformsRequest calls the generic SetPluginDefaultPlatforms builder with application/json body

func NewSetPluginDefaultPlatformsRequestWithBody added in v0.5.0

func NewSetPluginDefaultPlatformsRequestWithBody(server string, organizationId OrganizationId, contentType string, body io.Reader) (*http.Request, error)

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

func NewSetPluginPruneRequest added in v0.5.0

func NewSetPluginPruneRequest(server string, organizationId OrganizationId, body SetPluginPruneJSONRequestBody) (*http.Request, error)

NewSetPluginPruneRequest calls the generic SetPluginPrune builder with application/json body

func NewSetPluginPruneRequestWithBody added in v0.5.0

func NewSetPluginPruneRequestWithBody(server string, organizationId OrganizationId, contentType string, body io.Reader) (*http.Request, error)

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

func NewSetPluginUpdateCheckRequest added in v0.5.0

func NewSetPluginUpdateCheckRequest(server string, organizationId OrganizationId, pluginName PluginName, body SetPluginUpdateCheckJSONRequestBody) (*http.Request, error)

NewSetPluginUpdateCheckRequest calls the generic SetPluginUpdateCheck builder with application/json body

func NewSetPluginUpdateCheckRequestWithBody added in v0.5.0

func NewSetPluginUpdateCheckRequestWithBody(server string, organizationId OrganizationId, pluginName PluginName, contentType string, body io.Reader) (*http.Request, error)

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

func NewSyncCatalogueRequest added in v0.5.0

func NewSyncCatalogueRequest(server string, organizationId OrganizationId, body SyncCatalogueJSONRequestBody) (*http.Request, error)

NewSyncCatalogueRequest calls the generic SyncCatalogue builder with application/json body

func NewSyncCatalogueRequestWithBody added in v0.5.0

func NewSyncCatalogueRequestWithBody(server string, organizationId OrganizationId, contentType string, body io.Reader) (*http.Request, error)

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

func NewSyncPluginRequest added in v0.5.0

func NewSyncPluginRequest(server string, organizationId OrganizationId, pluginName PluginName, body SyncPluginJSONRequestBody) (*http.Request, error)

NewSyncPluginRequest calls the generic SyncPlugin builder with application/json body

func NewSyncPluginRequestWithBody added in v0.5.0

func NewSyncPluginRequestWithBody(server string, organizationId OrganizationId, pluginName PluginName, contentType string, body io.Reader) (*http.Request, error)

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

func NewUnexposePluginRegistryRequest added in v0.5.0

func NewUnexposePluginRegistryRequest(server string, organizationId OrganizationId) (*http.Request, error)

NewUnexposePluginRegistryRequest constructs an http.Request for the UnexposePluginRegistry method

func NewUpdateOrganizationWebhookRequest added in v0.5.0

func NewUpdateOrganizationWebhookRequest(server string, organizationId OrganizationId, webhookId WebhookId, body UpdateOrganizationWebhookJSONRequestBody) (*http.Request, error)

NewUpdateOrganizationWebhookRequest calls the generic UpdateOrganizationWebhook builder with application/json body

func NewUpdateOrganizationWebhookRequestWithBody added in v0.5.0

func NewUpdateOrganizationWebhookRequestWithBody(server string, organizationId OrganizationId, webhookId WebhookId, contentType string, body io.Reader) (*http.Request, error)

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

func NewUpdateWebhookRequest

func NewUpdateWebhookRequest(server string, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId, body UpdateWebhookJSONRequestBody) (*http.Request, error)

NewUpdateWebhookRequest calls the generic UpdateWebhook builder with application/json body

func NewUpdateWebhookRequestWithBody

func NewUpdateWebhookRequestWithBody(server string, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId, contentType string, body io.Reader) (*http.Request, error)

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

func NewVerifyBagDropRequest

func NewVerifyBagDropRequest(server string, organizationId OrganizationId, projectId ProjectId) (*http.Request, error)

NewVerifyBagDropRequest constructs an http.Request for the VerifyBagDrop method

func NewVerifyOrganizationWebhookRequest added in v0.5.0

func NewVerifyOrganizationWebhookRequest(server string, organizationId OrganizationId, webhookId WebhookId) (*http.Request, error)

NewVerifyOrganizationWebhookRequest constructs an http.Request for the VerifyOrganizationWebhook method

func NewVerifyWebhookRequest

func NewVerifyWebhookRequest(server string, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId) (*http.Request, error)

NewVerifyWebhookRequest constructs an http.Request for the VerifyWebhook method

Types

type AuditTarget

type AuditTarget struct {
	ConsecutiveFailures int                `json:"consecutive_failures"`
	CreatedAt           time.Time          `json:"created_at"`
	CumulativeFailures  int                `json:"cumulative_failures"`
	Id                  openapi_types.UUID `json:"id"`
	LastFailureAt       *time.Time         `json:"last_failure_at"`

	// LastReopenedAt The last successful reopen of this process's file descriptor. A
	// current-file size can fall after rotation, so this timestamp keeps
	// that normal reset distinguishable from unexplained data loss.
	LastReopenedAt *time.Time             `json:"last_reopened_at"`
	Measurement    AuditTargetMeasurement `json:"measurement"`
	Path           string                 `json:"path"`
	Since          *time.Time             `json:"since"`
	Status         AuditTargetStatus      `json:"status"`
}

AuditTarget defines model for AuditTarget.

type AuditTargetBroker

type AuditTargetBroker interface {
	Add(audit.Target) error
	Remove(string) error
	Health() []audit.SinkHealth
}

type AuditTargetCreate

type AuditTargetCreate struct {
	Path string `json:"path"`
}

AuditTargetCreate defines model for AuditTargetCreate.

type AuditTargetMeasurement

type AuditTargetMeasurement struct {
	// contains filtered or unexported fields
}

AuditTargetMeasurement defines model for AuditTargetMeasurement.

func (AuditTargetMeasurement) AsAuditTargetMeasurementAvailable

func (t AuditTargetMeasurement) AsAuditTargetMeasurementAvailable() (AuditTargetMeasurementAvailable, error)

AsAuditTargetMeasurementAvailable returns the union data inside the AuditTargetMeasurement as a AuditTargetMeasurementAvailable

func (AuditTargetMeasurement) AsAuditTargetMeasurementUnavailable

func (t AuditTargetMeasurement) AsAuditTargetMeasurementUnavailable() (AuditTargetMeasurementUnavailable, error)

AsAuditTargetMeasurementUnavailable returns the union data inside the AuditTargetMeasurement as a AuditTargetMeasurementUnavailable

func (AuditTargetMeasurement) Discriminator

func (t AuditTargetMeasurement) Discriminator() (string, error)

func (*AuditTargetMeasurement) FromAuditTargetMeasurementAvailable

func (t *AuditTargetMeasurement) FromAuditTargetMeasurementAvailable(v AuditTargetMeasurementAvailable) error

FromAuditTargetMeasurementAvailable overwrites any union data inside the AuditTargetMeasurement as the provided AuditTargetMeasurementAvailable

func (*AuditTargetMeasurement) FromAuditTargetMeasurementUnavailable

func (t *AuditTargetMeasurement) FromAuditTargetMeasurementUnavailable(v AuditTargetMeasurementUnavailable) error

FromAuditTargetMeasurementUnavailable overwrites any union data inside the AuditTargetMeasurement as the provided AuditTargetMeasurementUnavailable

func (AuditTargetMeasurement) MarshalJSON

func (t AuditTargetMeasurement) MarshalJSON() ([]byte, error)

func (*AuditTargetMeasurement) MergeAuditTargetMeasurementAvailable

func (t *AuditTargetMeasurement) MergeAuditTargetMeasurementAvailable(v AuditTargetMeasurementAvailable) error

MergeAuditTargetMeasurementAvailable performs a merge with any union data inside the AuditTargetMeasurement, using the provided AuditTargetMeasurementAvailable

func (*AuditTargetMeasurement) MergeAuditTargetMeasurementUnavailable

func (t *AuditTargetMeasurement) MergeAuditTargetMeasurementUnavailable(v AuditTargetMeasurementUnavailable) error

MergeAuditTargetMeasurementUnavailable performs a merge with any union data inside the AuditTargetMeasurement, using the provided AuditTargetMeasurementUnavailable

func (*AuditTargetMeasurement) UnmarshalJSON

func (t *AuditTargetMeasurement) UnmarshalJSON(b []byte) error

func (AuditTargetMeasurement) ValueByDiscriminator

func (t AuditTargetMeasurement) ValueByDiscriminator() (interface{}, error)

type AuditTargetMeasurementAvailable

type AuditTargetMeasurementAvailable struct {
	// CurrentFileSizeBytes Size of the file currently open by this process, not historical audit volume.
	CurrentFileSizeBytes int64 `json:"current_file_size_bytes"`

	// FilesystemFreeBytes Space available on the filesystem containing the open file.
	FilesystemFreeBytes int64                                `json:"filesystem_free_bytes"`
	State               AuditTargetMeasurementAvailableState `json:"state"`
}

AuditTargetMeasurementAvailable defines model for AuditTargetMeasurementAvailable.

type AuditTargetMeasurementAvailableState

type AuditTargetMeasurementAvailableState string

AuditTargetMeasurementAvailableState defines model for AuditTargetMeasurementAvailable.State.

const (
	Available AuditTargetMeasurementAvailableState = "available"
)

Defines values for AuditTargetMeasurementAvailableState.

func (AuditTargetMeasurementAvailableState) Valid

Valid indicates whether the value is a known member of the AuditTargetMeasurementAvailableState enum.

type AuditTargetMeasurementUnavailable

type AuditTargetMeasurementUnavailable struct {
	State AuditTargetMeasurementUnavailableState `json:"state"`
}

AuditTargetMeasurementUnavailable defines model for AuditTargetMeasurementUnavailable.

type AuditTargetMeasurementUnavailableState

type AuditTargetMeasurementUnavailableState string

AuditTargetMeasurementUnavailableState defines model for AuditTargetMeasurementUnavailable.State.

const (
	Unavailable AuditTargetMeasurementUnavailableState = "unavailable"
)

Defines values for AuditTargetMeasurementUnavailableState.

func (AuditTargetMeasurementUnavailableState) Valid

Valid indicates whether the value is a known member of the AuditTargetMeasurementUnavailableState enum.

type AuditTargetOpenError

type AuditTargetOpenError struct {
	Message string                     `json:"message"`
	Reason  AuditTargetOpenErrorReason `json:"reason"`
}

AuditTargetOpenError defines model for AuditTargetOpenError.

type AuditTargetOpenErrorReason

type AuditTargetOpenErrorReason string

AuditTargetOpenErrorReason defines model for AuditTargetOpenError.Reason.

const (
	NotARegularFile     AuditTargetOpenErrorReason = "not-a-regular-file"
	PathUnavailable     AuditTargetOpenErrorReason = "path-unavailable"
	PermissionDenied    AuditTargetOpenErrorReason = "permission-denied"
	SymlinkRefused      AuditTargetOpenErrorReason = "symlink-refused"
	WorldWritableParent AuditTargetOpenErrorReason = "world-writable-parent"
)

Defines values for AuditTargetOpenErrorReason.

func (AuditTargetOpenErrorReason) Valid

func (e AuditTargetOpenErrorReason) Valid() bool

Valid indicates whether the value is a known member of the AuditTargetOpenErrorReason enum.

type AuditTargetRepository

type AuditTargetRepository interface {
	ListAuditTargets(context.Context) ([]identity.AuditTarget, error)
	CreateAuditTarget(context.Context, string, string, time.Time) (identity.AuditTarget, error)
	DeleteAuditTarget(context.Context, string) error
}

type AuditTargetStatus

type AuditTargetStatus string

AuditTargetStatus defines model for AuditTarget.Status.

const (
	Failing AuditTargetStatus = "failing"
	Healthy AuditTargetStatus = "healthy"
)

Defines values for AuditTargetStatus.

func (AuditTargetStatus) Valid

func (e AuditTargetStatus) Valid() bool

Valid indicates whether the value is a known member of the AuditTargetStatus enum.

type Authenticator

type Authenticator interface {
	Verify(token string) (identity.Verified, error)
	VerifyExpired(token string) (identity.Verified, error)
	Reissue(principal *identity.Principal, secretID string, authTime time.Time) (string, error)
}

Authenticator verifies bearer tokens and owns the session-only renewal seam.

type BadRequest

type BadRequest = Error

BadRequest Deliberately NOT the compatibility plane's GoogleRPCStatus shape. This plane is ours and has no client regex-matching its error text.

type BadRequestJSONResponse

type BadRequestJSONResponse Error

type BagDropAdapter

type BagDropAdapter string

BagDropAdapter defines model for BagDropAdapter.

const (
	Dufflebag BagDropAdapter = "dufflebag"
	HcpPacker BagDropAdapter = "hcp-packer"
)

Defines values for BagDropAdapter.

func (BagDropAdapter) Valid

func (e BagDropAdapter) Valid() bool

Valid indicates whether the value is a known member of the BagDropAdapter enum.

type BagDropAssociation

type BagDropAssociation struct {
	BucketName       string                  `json:"bucket_name"`
	CreatedAt        time.Time               `json:"created_at"`
	FirstAttemptedAt *time.Time              `json:"first_attempted_at"`
	LastAttemptAt    *time.Time              `json:"last_attempt_at"`
	LastSyncError    *string                 `json:"last_sync_error"`
	LastSyncedAt     *time.Time              `json:"last_synced_at"`
	State            BagDropAssociationState `json:"state"`
	SyncStatus       BagDropSyncStatus       `json:"sync_status"`
	UpdatedAt        time.Time               `json:"updated_at"`
}

BagDropAssociation defines model for BagDropAssociation.

type BagDropAssociationState

type BagDropAssociationState string

BagDropAssociationState defines model for BagDropAssociationState.

const (
	BagDropAssociationStateActive         BagDropAssociationState = "active"
	BagDropAssociationStatePendingRemoval BagDropAssociationState = "pending_removal"
)

Defines values for BagDropAssociationState.

func (BagDropAssociationState) Valid

func (e BagDropAssociationState) Valid() bool

Valid indicates whether the value is a known member of the BagDropAssociationState enum.

type BagDropConfig

type BagDropConfig struct {
	Adapter   BagDropAdapter `json:"adapter"`
	CreatedAt time.Time      `json:"created_at"`

	// CredentialProtection How the stored client credential is sealed on this deployment.
	CredentialProtection BagDropConfigCredentialProtection `json:"credential_protection"`
	Dufflebag            *BagDropDufflebag                 `json:"dufflebag,omitempty"`
	Enabled              bool                              `json:"enabled"`
	HcpPacker            *BagDropHCPPacker                 `json:"hcp_packer,omitempty"`
	LastVerification     *BagDropLastVerification          `json:"last_verification"`

	// SecretSet Always true for a stored configuration; the secret itself is never returned.
	SecretSet bool      `json:"secret_set"`
	UpdatedAt time.Time `json:"updated_at"`
}

BagDropConfig defines model for BagDropConfig.

type BagDropConfigCredentialProtection

type BagDropConfigCredentialProtection string

BagDropConfigCredentialProtection How the stored client credential is sealed on this deployment.

const (
	EnvKey  BagDropConfigCredentialProtection = "env_key"
	Keyring BagDropConfigCredentialProtection = "keyring"
)

Defines values for BagDropConfigCredentialProtection.

func (BagDropConfigCredentialProtection) Valid

Valid indicates whether the value is a known member of the BagDropConfigCredentialProtection enum.

type BagDropConfigWrite

type BagDropConfigWrite struct {
	Adapter   BagDropAdapter         `json:"adapter"`
	Dufflebag *BagDropDufflebagWrite `json:"dufflebag,omitempty"`
	HcpPacker *BagDropHCPPackerWrite `json:"hcp_packer,omitempty"`
}

BagDropConfigWrite defines model for BagDropConfigWrite.

type BagDropConflict

type BagDropConflict struct {
	Message      string                     `json:"message"`
	Verification *BagDropVerificationResult `json:"verification,omitempty"`
}

BagDropConflict defines model for BagDropConflict.

type BagDropDufflebag

type BagDropDufflebag struct {
	// CaChain PEM-encoded public trust material, when configured.
	CaChain        *string `json:"ca_chain,omitempty"`
	ClientId       string  `json:"client_id"`
	Endpoint       string  `json:"endpoint"`
	OrganizationId string  `json:"organization_id"`
	ProjectId      string  `json:"project_id"`
}

BagDropDufflebag defines model for BagDropDufflebag.

type BagDropDufflebagWrite

type BagDropDufflebagWrite struct {
	// CaChain Optional PEM-encoded CA chain used in addition to the system trust pool.
	CaChain  *string `json:"ca_chain,omitempty"`
	ClientId string  `json:"client_id"`

	// ClientSecret Write-only. Required on create; omit on update to keep the existing sealed secret.
	ClientSecret   *string `json:"client_secret,omitempty"`
	Endpoint       string  `json:"endpoint"`
	OrganizationId string  `json:"organization_id"`
	ProjectId      string  `json:"project_id"`
}

BagDropDufflebagWrite defines model for BagDropDufflebagWrite.

type BagDropHCPPacker

type BagDropHCPPacker struct {
	ClientId       string `json:"client_id"`
	OrganizationId string `json:"organization_id"`
	ProjectId      string `json:"project_id"`
}

BagDropHCPPacker defines model for BagDropHCPPacker.

type BagDropHCPPackerWrite

type BagDropHCPPackerWrite struct {
	ClientId string `json:"client_id"`

	// ClientSecret Write-only. Required on create; omit on update to keep the existing sealed secret.
	ClientSecret   *string `json:"client_secret,omitempty"`
	OrganizationId string  `json:"organization_id"`
	ProjectId      string  `json:"project_id"`
}

BagDropHCPPackerWrite defines model for BagDropHCPPackerWrite.

type BagDropLastVerification

type BagDropLastVerification struct {
	Message    *string                    `json:"message,omitempty"`
	Outcome    BagDropVerificationOutcome `json:"outcome"`
	Reason     *BagDropVerificationReason `json:"reason,omitempty"`
	VerifiedAt time.Time                  `json:"verified_at"`
}

BagDropLastVerification defines model for BagDropLastVerification.

type BagDropReconciler

type BagDropReconciler interface {
	Trigger(context.Context, string, string) error
	ReconcileStatus(string, string) bagdrop.ReconcilerStatus
}

type BagDropStatus

type BagDropStatus struct {
	Adapter                  *BagDropAdapter          `json:"adapter,omitempty"`
	Associations             []BagDropAssociation     `json:"associations"`
	BackoffFailures          int                      `json:"backoff_failures"`
	Configured               bool                     `json:"configured"`
	Enabled                  *bool                    `json:"enabled,omitempty"`
	LastPassAt               *time.Time               `json:"last_pass_at"`
	LastVerification         *BagDropLastVerification `json:"last_verification,omitempty"`
	NextPassAt               *time.Time               `json:"next_pass_at"`
	ReconcileIntervalSeconds *int                     `json:"reconcile_interval_seconds"`
	Reconciling              bool                     `json:"reconciling"`
}

BagDropStatus defines model for BagDropStatus.

type BagDropSyncStatus

type BagDropSyncStatus string

BagDropSyncStatus defines model for BagDropSyncStatus.

const (
	BagDropSyncStatusError    BagDropSyncStatus = "error"
	BagDropSyncStatusPending  BagDropSyncStatus = "pending"
	BagDropSyncStatusRemoving BagDropSyncStatus = "removing"
	BagDropSyncStatusSynced   BagDropSyncStatus = "synced"
)

Defines values for BagDropSyncStatus.

func (BagDropSyncStatus) Valid

func (e BagDropSyncStatus) Valid() bool

Valid indicates whether the value is a known member of the BagDropSyncStatus enum.

type BagDropVerificationOutcome

type BagDropVerificationOutcome string

BagDropVerificationOutcome defines model for BagDropVerificationOutcome.

const (
	BagDropVerificationOutcomeFailed   BagDropVerificationOutcome = "failed"
	BagDropVerificationOutcomeResolved BagDropVerificationOutcome = "resolved"
)

Defines values for BagDropVerificationOutcome.

func (BagDropVerificationOutcome) Valid

func (e BagDropVerificationOutcome) Valid() bool

Valid indicates whether the value is a known member of the BagDropVerificationOutcome enum.

type BagDropVerificationReason

type BagDropVerificationReason string

BagDropVerificationReason defines model for BagDropVerificationReason.

const (
	BagDropVerificationReasonCredentialRefused BagDropVerificationReason = "credential_refused"
	BagDropVerificationReasonProjectNotFound   BagDropVerificationReason = "project_not_found"
	BagDropVerificationReasonTlsFailure        BagDropVerificationReason = "tls_failure"
	BagDropVerificationReasonUnreachable       BagDropVerificationReason = "unreachable"
)

Defines values for BagDropVerificationReason.

func (BagDropVerificationReason) Valid

func (e BagDropVerificationReason) Valid() bool

Valid indicates whether the value is a known member of the BagDropVerificationReason enum.

type BagDropVerificationResult

type BagDropVerificationResult struct {
	Message *string                    `json:"message,omitempty"`
	Outcome BagDropVerificationOutcome `json:"outcome"`
	Reason  *BagDropVerificationReason `json:"reason,omitempty"`
}

BagDropVerificationResult defines model for BagDropVerificationResult.

type BuildAdvisory added in v0.4.2

type BuildAdvisory struct {
	Aliases       []string               `json:"aliases"`
	FixedVersions []string               `json:"fixed_versions"`
	Identifier    string                 `json:"identifier"`
	Packages      []BuildAdvisoryPackage `json:"packages"`
	Published     *time.Time             `json:"published"`
	Severity      Severity               `json:"severity"`
	Summary       string                 `json:"summary"`
}

BuildAdvisory defines model for BuildAdvisory.

type BuildAdvisoryPackage added in v0.4.2

type BuildAdvisoryPackage struct {
	FixedVersion string `json:"fixed_version"`
	Name         string `json:"name"`
	Purl         string `json:"purl"`

	// Reported The provider's verbatim severity value for this package's finding; not comparable across providers.
	Reported string `json:"reported"`
	SbomId   string `json:"sbom_id"`
	Version  string `json:"version"`
}

BuildAdvisoryPackage defines model for BuildAdvisoryPackage.

type BuildFindingsResponse added in v0.4.2

type BuildFindingsResponse struct {
	Advisories []BuildAdvisory                `json:"advisories"`
	Inventory  BuildFindingsResponseInventory `json:"inventory"`

	// LatestAttempt The build's newest scan attempt, present only when it is not the scan
	// whose findings are current: an attempt that failed or was refused, so
	// the findings shown are older than it.
	LatestAttempt     *ScanAttempt  `json:"latest_attempt,omitempty"`
	PackagesAffected  int           `json:"packages_affected"`
	PackagesTotal     int           `json:"packages_total"`
	Run               *BuildScanRun `json:"run"`
	Scanned           bool          `json:"scanned"`
	ScannerConfigured bool          `json:"scanner_configured"`
}

BuildFindingsResponse defines model for BuildFindingsResponse.

type BuildFindingsResponseInventory added in v0.4.2

type BuildFindingsResponseInventory string

BuildFindingsResponseInventory defines model for BuildFindingsResponse.Inventory.

const (
	BuildFindingsResponseInventoryParsed      BuildFindingsResponseInventory = "parsed"
	BuildFindingsResponseInventoryUnparseable BuildFindingsResponseInventory = "unparseable"
)

Defines values for BuildFindingsResponseInventory.

func (BuildFindingsResponseInventory) Valid added in v0.4.2

Valid indicates whether the value is a known member of the BuildFindingsResponseInventory enum.

type BuildFindingsSummary added in v0.4.2

type BuildFindingsSummary struct {
	BuildId   string                        `json:"build_id"`
	Component string                        `json:"component"`
	Inventory BuildFindingsSummaryInventory `json:"inventory"`

	// LatestAttempt The build's newest scan attempt, present only when it is not the scan
	// whose findings are current: an attempt that failed or was refused, so
	// the findings shown are older than it.
	LatestAttempt *ScanAttempt `json:"latest_attempt,omitempty"`
	Packages      int          `json:"packages"`
	Platform      string       `json:"platform"`

	// Scanned A current successful scan exists for this build, whether or not its summary has been stored yet.
	Scanned bool              `json:"scanned"`
	Summary *BuildScanSummary `json:"summary,omitempty"`
}

BuildFindingsSummary defines model for BuildFindingsSummary.

type BuildFindingsSummaryInventory added in v0.4.2

type BuildFindingsSummaryInventory string

BuildFindingsSummaryInventory defines model for BuildFindingsSummary.Inventory.

const (
	BuildFindingsSummaryInventoryParsed      BuildFindingsSummaryInventory = "parsed"
	BuildFindingsSummaryInventoryUnparseable BuildFindingsSummaryInventory = "unparseable"
)

Defines values for BuildFindingsSummaryInventory.

func (BuildFindingsSummaryInventory) Valid added in v0.4.2

Valid indicates whether the value is a known member of the BuildFindingsSummaryInventory enum.

type BuildInfo

type BuildInfo struct {
	Version     string
	Commit      string
	APIVersions []string
}

BuildInfo is supplied by the executable from its link-time values and mounted route table. The platform package does not maintain a second copy of either.

type BuildScanRun added in v0.4.2

type BuildScanRun struct {
	Adapter  string `json:"adapter"`
	Coverage struct {
		Invalid     int `json:"invalid"`
		Submitted   int `json:"submitted"`
		Unsupported int `json:"unsupported"`
		Unversioned int `json:"unversioned"`
	} `json:"coverage"`
	DatabaseRevision string    `json:"database_revision"`
	Engine           string    `json:"engine"`
	Id               string    `json:"id"`
	ObservedAt       time.Time `json:"observed_at"`
}

BuildScanRun defines model for BuildScanRun.

type BuildScanSummary added in v0.4.2

type BuildScanSummary struct {
	Adapter          string `json:"adapter"`
	AffectedPackages int    `json:"affected_packages"`

	// Counts Every severity band is present, including bands with a zero count.
	Counts   SeverityCounts `json:"counts"`
	Coverage struct {
		Invalid     int `json:"invalid"`
		Submitted   int `json:"submitted"`
		Unsupported int `json:"unsupported"`
		Unversioned int `json:"unversioned"`
	} `json:"coverage"`
	DatabaseRevision string    `json:"database_revision"`
	Engine           string    `json:"engine"`
	Findings         int       `json:"findings"`
	ObservedAt       time.Time `json:"observed_at"`
	RunId            string    `json:"run_id"`
	Scanned          int       `json:"scanned"`
	Worst            *Severity `json:"worst,omitempty"`
}

BuildScanSummary defines model for BuildScanSummary.

type CatalogueSyncResult added in v0.5.0

type CatalogueSyncResult struct {
	// ImportId The queued job
	ImportId *openapi_types.UUID `json:"import_id,omitempty"`
	Plugin   string              `json:"plugin"`

	// Refused Why no job was queued.
	Refused *string `json:"refused,omitempty"`

	// Version The version the queued job imports.
	Version *string `json:"version,omitempty"`
}

CatalogueSyncResult defines model for CatalogueSyncResult.

type Client

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

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

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

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

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

Creates a new Client, with reasonable defaults

func (*Client) CreateAuditTarget

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

CreateAuditTarget Enable an audit file target

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

Corresponds with POST /api/v1/audit/targets (the `CreateAuditTarget` operationId).

func (*Client) CreateAuditTargetWithBody

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

CreateAuditTargetWithBody Enable an audit file target

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/audit/targets (the `CreateAuditTarget` operationId).

func (*Client) CreateOrganization

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

CreateOrganization Create an organization

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

Corresponds with POST /api/v1/organizations (the `CreateOrganization` operationId).

func (*Client) CreateOrganizationWebhook added in v0.5.0

func (c *Client) CreateOrganizationWebhook(ctx context.Context, organizationId OrganizationId, body CreateOrganizationWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateOrganizationWebhook Create and verify a organization webhook

Stores the write-only secret sealed at rest and immediately attempts a signed verification handshake. A failed or refused handshake leaves the webhook pending; pending webhooks receive no events. Requires maintainer.

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

Corresponds with POST /api/v1/organizations/{organizationId}/webhooks (the `CreateOrganizationWebhook` operationId).

func (*Client) CreateOrganizationWebhookWithBody added in v0.5.0

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

CreateOrganizationWebhookWithBody Create and verify a organization webhook

Stores the write-only secret sealed at rest and immediately attempts a signed verification handshake. A failed or refused handshake leaves the webhook pending; pending webhooks receive no events. Requires maintainer.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/organizations/{organizationId}/webhooks (the `CreateOrganizationWebhook` operationId).

func (*Client) CreateOrganizationWithBody

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

CreateOrganizationWithBody Create an organization

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/organizations (the `CreateOrganization` operationId).

func (*Client) CreatePluginImport added in v0.5.0

func (c *Client) CreatePluginImport(ctx context.Context, organizationId OrganizationId, body CreatePluginImportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreatePluginImport Queue an import of plugin versions from releases.hashicorp.com

Requires `publisher`. The job verifies each version's SHA256SUMS against HashiCorp's pinned signing key before storing anything (ADR-0027 A3). A first import reserves the plugin's name for its source until the job finishes.

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

Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/imports (the `CreatePluginImport` operationId).

func (*Client) CreatePluginImportWithBody added in v0.5.0

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

CreatePluginImportWithBody Queue an import of plugin versions from releases.hashicorp.com

Requires `publisher`. The job verifies each version's SHA256SUMS against HashiCorp's pinned signing key before storing anything (ADR-0027 A3). A first import reserves the plugin's name for its source until the job finishes.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/imports (the `CreatePluginImport` operationId).

func (*Client) CreatePrincipal

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

CreatePrincipal Create a service principal

Creates a principal bound to a platform or tenancy scope, holding NO secrets. It cannot authenticate until one is issued.

Issuing is a separate, explicit call to `POST /api/v1/principals/{principalId}/secrets` — the same path used for a second secret and for rotation, so there is one issuance path rather than a create-time special case. A principal with no secrets is an ordinary state: it is also what a non-root principal is left in when its last secret is revoked (ADR-0004, amended 2026-08-02).

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

Corresponds with POST /api/v1/principals (the `CreatePrincipal` operationId).

func (*Client) CreatePrincipalSecret

func (c *Client) CreatePrincipalSecret(ctx context.Context, principalId PrincipalId, body CreatePrincipalSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreatePrincipalSecret Issue a secret

Issues a secret, and is the ONLY way any credential comes into existence: creating a principal mints none, so this endpoint serves both the first secret and a second one for rotation.

A principal may hold two active secrets at once, which is what makes rotation possible with no authentication gap: issue the second, redeploy, then revoke the first (ADR-0004).

Refused when two are already USABLE — revoke one first, so that rotation is a deliberate sequence rather than unbounded accumulation. An expired secret does not count against the cap: it grants nothing, and demanding its revocation first would add a step at exactly the moment someone is fixing an outage (duf-2rw).

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

Corresponds with POST /api/v1/principals/{principalId}/secrets (the `CreatePrincipalSecret` operationId).

func (*Client) CreatePrincipalSecretWithBody

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

CreatePrincipalSecretWithBody Issue a secret

Issues a secret, and is the ONLY way any credential comes into existence: creating a principal mints none, so this endpoint serves both the first secret and a second one for rotation.

A principal may hold two active secrets at once, which is what makes rotation possible with no authentication gap: issue the second, redeploy, then revoke the first (ADR-0004).

Refused when two are already USABLE — revoke one first, so that rotation is a deliberate sequence rather than unbounded accumulation. An expired secret does not count against the cap: it grants nothing, and demanding its revocation first would add a step at exactly the moment someone is fixing an outage (duf-2rw).

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/principals/{principalId}/secrets (the `CreatePrincipalSecret` operationId).

func (*Client) CreatePrincipalWithBody

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

CreatePrincipalWithBody Create a service principal

Creates a principal bound to a platform or tenancy scope, holding NO secrets. It cannot authenticate until one is issued.

Issuing is a separate, explicit call to `POST /api/v1/principals/{principalId}/secrets` — the same path used for a second secret and for rotation, so there is one issuance path rather than a create-time special case. A principal with no secrets is an ordinary state: it is also what a non-root principal is left in when its last secret is revoked (ADR-0004, amended 2026-08-02).

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/principals (the `CreatePrincipal` operationId).

func (*Client) CreateProject

func (c *Client) CreateProject(ctx context.Context, organizationId OrganizationId, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateProject Create a project

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

Corresponds with POST /api/v1/organizations/{organizationId}/projects (the `CreateProject` operationId).

func (*Client) CreateProjectWithBody

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

CreateProjectWithBody Create a project

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/organizations/{organizationId}/projects (the `CreateProject` operationId).

func (*Client) CreateSession

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

CreateSession Persist the caller's token as an httpOnly session cookie

The console holds its token in memory only (a bearer token in web storage is readable by injected script), which made every reload a sign-in. This endpoint keeps that property while letting a session survive reload: the verified bearer token is set as an httpOnly, SameSite=Strict cookie scoped to this path, which script cannot read.

GET renews a token shortly before expiry while the originating secret remains active, bounded by an eight-hour absolute session cap. The Packer token lifetime is unchanged.

CSRF: a cross-site form cannot set the Authorization header this operation requires, and SameSite=Strict keeps the cookie off cross-site requests entirely.

Honest limit, stated rather than implied: injected script cannot read the cookie, but it can drive the same exchange the console boot does. The win over web storage is that no credential sits readable at rest, not that a compromised page is powerless.

Corresponds with POST /sys/session (the `CreateSession` operationId).

func (*Client) CreateWebhook

func (c *Client) CreateWebhook(ctx context.Context, organizationId OrganizationId, projectId ProjectId, body CreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateWebhook Create and verify a project webhook

Stores the write-only secret sealed at rest and immediately attempts a signed verification handshake. A failed or refused handshake leaves the webhook pending; pending webhooks receive no events. Requires maintainer.

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

Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks (the `CreateWebhook` operationId).

func (*Client) CreateWebhookWithBody

func (c *Client) CreateWebhookWithBody(ctx context.Context, organizationId OrganizationId, projectId ProjectId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateWebhookWithBody Create and verify a project webhook

Stores the write-only secret sealed at rest and immediately attempts a signed verification handshake. A failed or refused handshake leaves the webhook pending; pending webhooks receive no events. Requires maintainer.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks (the `CreateWebhook` operationId).

func (*Client) DeleteAuditTarget

func (c *Client) DeleteAuditTarget(ctx context.Context, targetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteAuditTarget Disable an audit file target

Corresponds with DELETE /api/v1/audit/targets/{targetId} (the `DeleteAuditTarget` operationId).

func (*Client) DeleteBagDropAssociation

func (c *Client) DeleteBagDropAssociation(ctx context.Context, organizationId OrganizationId, projectId ProjectId, bucketName string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteBagDropAssociation Stop mirroring a bucket through Bag Drop

This is the consent boundary for destination-side deletion. An association never attempted is removed immediately; otherwise it is retained as pending removal for the reconciler. Requires maintainer.

Corresponds with DELETE /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/buckets/{bucketName} (the `DeleteBagDropAssociation` operationId).

func (*Client) DeleteBagDropConfig

func (c *Client) DeleteBagDropConfig(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteBagDropConfig Remove a project's Bag Drop destination configuration

Refuses while enabled or while destination cleanup is outstanding. Clean associations which have never been attempted cascade with the configuration.

Corresponds with DELETE /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop (the `DeleteBagDropConfig` operationId).

func (*Client) DeleteOrganization

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

DeleteOrganization Delete an empty organization

Refused while the organization still contains projects, organization-scoped principals, or an enabled plugin registry. Deleting a tenant is not an operation that should cascade silently through a registry's contents.

Corresponds with DELETE /api/v1/organizations/{organizationId} (the `DeleteOrganization` operationId).

func (*Client) DeleteOrganizationWebhook added in v0.5.0

func (c *Client) DeleteOrganizationWebhook(ctx context.Context, organizationId OrganizationId, webhookId WebhookId, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteOrganizationWebhook Delete a organization webhook

Requires maintainer.

Corresponds with DELETE /api/v1/organizations/{organizationId}/webhooks/{webhookId} (the `DeleteOrganizationWebhook` operationId).

func (*Client) DeletePin

func (c *Client) DeletePin(ctx context.Context, organizationId OrganizationId, projectId ProjectId, bucketName string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeletePin Unpin a bucket

Idempotent — unpinning something not pinned succeeds. Requires the builder role on this project. A tenancy the caller may not see answers 404, indistinguishable from one that does not exist.

Corresponds with DELETE /api/v1/organizations/{organizationId}/projects/{projectId}/pins/{bucketName} (the `DeletePin` operationId).

func (*Client) DeletePluginImport added in v0.5.0

func (c *Client) DeletePluginImport(ctx context.Context, organizationId OrganizationId, importId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

DeletePluginImport Clear a job

Deletes the job's record. A queued job is taken out of the queue and never runs; a finished job's outcomes are gone, and the versions it mirrored are unchanged. A running job cannot be cleared. Requires `publisher`.

Corresponds with DELETE /api/v1/organizations/{organizationId}/plugin-registry/imports/{importId} (the `DeletePluginImport` operationId).

func (*Client) DeletePluginVersion added in v0.5.0

func (c *Client) DeletePluginVersion(ctx context.Context, organizationId OrganizationId, pluginName PluginName, version PluginVersionNumber, reqEditors ...RequestEditorFn) (*http.Response, error)

DeletePluginVersion Remove a plugin version and its files

Terminal. Removing a plugin's last version removes the plugin, which frees its name for another source; a revoked version still holds it. Requires `publisher`.

Corresponds with DELETE /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/versions/{version} (the `DeletePluginVersion` operationId).

func (*Client) DeletePrincipal

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

DeletePrincipal Delete a service principal and revoke its secrets

Revokes every secret and removes the principal. This can strip a running pipeline of its credentials, so clients should confirm and name the impact. Deleting the caller's own principal and deleting the last root principal are refused.

Corresponds with DELETE /api/v1/principals/{principalId} (the `DeletePrincipal` operationId).

func (*Client) DeleteProject

func (c *Client) DeleteProject(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteProject Delete an empty project

Refused while the project still contains buckets.

Corresponds with DELETE /api/v1/organizations/{organizationId}/projects/{projectId} (the `DeleteProject` operationId).

func (*Client) DeleteSession

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

DeleteSession End the session by clearing the cookie

Corresponds with DELETE /sys/session (the `DeleteSession` operationId).

func (*Client) DeleteWebhook

func (c *Client) DeleteWebhook(ctx context.Context, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteWebhook Delete a project webhook

Requires maintainer.

Corresponds with DELETE /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId} (the `DeleteWebhook` operationId).

func (*Client) DisableBagDrop

func (c *Client) DisableBagDrop(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*http.Response, error)

DisableBagDrop Disable the configured destination without contacting it

Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/disable (the `DisableBagDrop` operationId).

func (*Client) DisablePluginRegistry added in v0.5.0

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

DisablePluginRegistry Disable and delete the organization plugin registry

Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/disable (the `DisablePluginRegistry` operationId).

func (*Client) DownloadPluginBundle added in v0.5.0

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

DownloadPluginBundle Download the last successful plugin bundle

Requires `maintainer`.

Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/bundle/download (the `DownloadPluginBundle` operationId).

func (*Client) EnableBagDrop

func (c *Client) EnableBagDrop(ctx context.Context, organizationId OrganizationId, projectId ProjectId, body EnableBagDropJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

EnableBagDrop Verify and enable the configured destination

Without a body, re-runs destination resolution against the stored configuration and enables it on success. Resolution failure answers 409 with the verification result and leaves the stored configuration unchanged.

With a body, validates the supplied configuration and resolves the destination against it before writing anything. On success the supplied configuration is persisted and enabled atomically. Resolution failure answers 409 with the verification result and persists nothing: no configuration is created, and any existing configuration is left byte-for-byte unchanged and remains enabled if it was enabled.

`client_secret` is required when no configuration exists. On update it may be omitted to retain the existing sealed secret.

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

Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/enable (the `EnableBagDrop` operationId).

func (*Client) EnableBagDropWithBody

func (c *Client) EnableBagDropWithBody(ctx context.Context, organizationId OrganizationId, projectId ProjectId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

EnableBagDropWithBody Verify and enable the configured destination

Without a body, re-runs destination resolution against the stored configuration and enables it on success. Resolution failure answers 409 with the verification result and leaves the stored configuration unchanged.

With a body, validates the supplied configuration and resolves the destination against it before writing anything. On success the supplied configuration is persisted and enabled atomically. Resolution failure answers 409 with the verification result and persists nothing: no configuration is created, and any existing configuration is left byte-for-byte unchanged and remains enabled if it was enabled.

`client_secret` is required when no configuration exists. On update it may be omitted to retain the existing sealed secret.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/enable (the `EnableBagDrop` operationId).

func (*Client) EnablePluginRegistry added in v0.5.0

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

EnablePluginRegistry Enable the organization plugin registry

Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/enable (the `EnablePluginRegistry` operationId).

func (*Client) ExportPluginBundle added in v0.5.0

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

ExportPluginBundle Queue an export of the whole plugin registry

Requires `maintainer`.

Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/bundle/export (the `ExportPluginBundle` operationId).

func (*Client) ExposePluginRegistry added in v0.5.0

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

ExposePluginRegistry Expose the organization plugin registry for anonymous reads

Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/expose (the `ExposePluginRegistry` operationId).

func (*Client) GetBagDropConfig

func (c *Client) GetBagDropConfig(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*http.Response, error)

GetBagDropConfig Read a project's Bag Drop destination configuration

Returns only non-secret destination fields. The client secret is never returned; `secret_set` reports that the write-only credential exists. Requires maintainer on this project. A tenancy the caller may not see answers 404, indistinguishable from one that does not exist.

Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop (the `GetBagDropConfig` operationId).

func (*Client) GetBagDropStatus

func (c *Client) GetBagDropStatus(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*http.Response, error)

GetBagDropStatus Read Bag Drop dashboard status

Returns configured false with an empty association list when no Bag Drop configuration exists. This is the reader-visible Bag Drop surface and never returns credential material.

Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/status (the `GetBagDropStatus` operationId).

func (*Client) GetBuildFindings added in v0.4.2

func (c *Client) GetBuildFindings(ctx context.Context, organizationId OrganizationId, projectId ProjectId, bucketName string, fingerprint string, buildId string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetBuildFindings Get stored findings for a build

Returns the current successful scan and its advisories without downloading the build's paginated package inventory. An existing build without a current successful scan returns scanned=false, run=null and an empty advisory list.

Requires the reader role on this project. A tenancy the caller may not see, or an unknown build, answers 404. The two are deliberately indistinguishable because existence is a disclosure.

Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/buckets/{bucketName}/versions/{fingerprint}/builds/{buildId}/findings (the `GetBuildFindings` operationId).

func (*Client) GetEncryption

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

GetEncryption Read keyring state and the remembered encryption health

Root-only, like the audit target list: KEK references and key versions are rotation bookkeeping, not something every principal needs. The keyring listing carries no key material — only each entry's purpose, version, the KEK version that wrapped it, and when that wrapping was produced. `state` is the same remembered heartbeat answer `/sys/health` reports; after rotating the KEK at the key service, entries whose `kek_ref` still names the old version are the rows `rewrap` exists for.

Corresponds with GET /api/v1/encryption (the `GetEncryption` operationId).

func (*Client) GetInstance

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

GetInstance Read build and backing-service state for this instance

Authenticated because version and backing-service state are useful reconnaissance. Every valid principal may read it. Values come from the running binary, the mounted route table, and the same remembered service state used by `/sys/health`; no probe is performed just for this response.

Corresponds with GET /api/v1/instance (the `GetInstance` operationId).

func (*Client) GetOrganization

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

GetOrganization Get an organization

Corresponds with GET /api/v1/organizations/{organizationId} (the `GetOrganization` operationId).

func (*Client) GetOrganizationWebhook added in v0.5.0

func (c *Client) GetOrganizationWebhook(ctx context.Context, organizationId OrganizationId, webhookId WebhookId, reqEditors ...RequestEditorFn) (*http.Response, error)

GetOrganizationWebhook Read a organization webhook

Requires maintainer. The secret is never returned.

Corresponds with GET /api/v1/organizations/{organizationId}/webhooks/{webhookId} (the `GetOrganizationWebhook` operationId).

func (*Client) GetPluginBundle added in v0.5.0

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

GetPluginBundle Get the current plugin bundle export

Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/bundle (the `GetPluginBundle` operationId).

func (*Client) GetPluginBundleImport added in v0.5.0

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

GetPluginBundleImport Get the current plugin bundle import

Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/bundle/import (the `GetPluginBundleImport` operationId).

func (*Client) GetPluginDefaultPlatforms added in v0.5.0

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

GetPluginDefaultPlatforms Platforms a first import of a plugin selects

Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/default-platforms (the `GetPluginDefaultPlatforms` operationId).

func (*Client) GetPluginDownloads added in v0.5.0

func (c *Client) GetPluginDownloads(ctx context.Context, organizationId OrganizationId, pluginName PluginName, reqEditors ...RequestEditorFn) (*http.Response, error)

GetPluginDownloads Get a plugin's download counts

Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/downloads (the `GetPluginDownloads` operationId).

func (*Client) GetPluginImport added in v0.5.0

func (c *Client) GetPluginImport(ctx context.Context, organizationId OrganizationId, importId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetPluginImport An import job and the outcome of each version

Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/imports/{importId} (the `GetPluginImport` operationId).

func (*Client) GetPluginPrune added in v0.5.0

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

GetPluginPrune The job-pruning schedule and what a run would clear now

Requires `maintainer`.

Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/prune (the `GetPluginPrune` operationId).

func (*Client) GetPluginRegistry added in v0.5.0

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

GetPluginRegistry Read the organization plugin registry lifecycle state

Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry (the `GetPluginRegistry` operationId).

func (*Client) GetPrincipal

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

GetPrincipal Get a service principal

Corresponds with GET /api/v1/principals/{principalId} (the `GetPrincipal` operationId).

func (*Client) GetProject

func (c *Client) GetProject(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*http.Response, error)

GetProject Get a project

Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId} (the `GetProject` operationId).

func (*Client) GetScannerHealth

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

GetScannerHealth Read scanner adapter health in detail

Root only. `/sys/health` reports a coarse scanner state and deliberately names neither the adapter nor its endpoint, because it is unauthenticated. This route carries that detail for an operator diagnosing why scanning stopped.

Like the coarse state, this reports what the last interaction observed rather than probing the provider while answering — a health route that reaches out to a third party turns monitoring into traffic against someone else's service.

Corresponds with GET /api/v1/scanner/health (the `GetScannerHealth` operationId).

func (*Client) GetSelf

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

GetSelf Read the current principal and its server-resolved role

Describes only the authenticated caller. The principal is resolved from storage for this request, so a role or binding change is visible without waiting for the access token to expire.

Corresponds with GET /api/v1/self (the `GetSelf` operationId).

func (*Client) GetVersionFindingsSummary added in v0.4.2

func (c *Client) GetVersionFindingsSummary(ctx context.Context, organizationId OrganizationId, projectId ProjectId, bucketName string, fingerprint string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetVersionFindingsSummary Get stored findings summaries for a version

Returns the version rollup and every build without downloading package inventories or individual findings. An absent version or build summary means no current successful scan; it is never rendered as an empty scan.

Requires the reader role on this project. A tenancy the caller may not see answers 404, indistinguishable from one that does not exist.

Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/buckets/{bucketName}/versions/{fingerprint}/findings-summary (the `GetVersionFindingsSummary` operationId).

func (*Client) GetWebhook

func (c *Client) GetWebhook(ctx context.Context, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId, reqEditors ...RequestEditorFn) (*http.Response, error)

GetWebhook Read a project webhook

Requires maintainer. The secret is never returned.

Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId} (the `GetWebhook` operationId).

func (*Client) Health

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

Health Report whether this instance is initialized and able to serve

Modelled on Vault's `/sys/health`: the status code carries the state so a liveness or readiness probe needs no body parsing, and the body says the same thing for a human.

`200` — initialized, the database answers, and audit is disabled or at least one configured target can be written. A partial audit failure remains ready because requests can still be recorded. `501` — reachable, but not initialized (Vault's code for the same state). The console reads this to decide whether first run is the wizard or the sign-in screen, WITHOUT posting to `/sys/init`, which would claim the instance. `503` — the database does not answer, OR audit is configured and no target can be written. Either way nothing can be served: audit fails closed, so an instance that cannot record a request cannot answer one (duf-dya). This is a READINESS signal — a degraded instance should be taken out of rotation, not restarted, because a restart cannot empty a full disk.

The `encryption` field never sets the status code. A degraded key service does not stop a serving instance — per-write encryption never calls out (ADR-0024) — and failing the probe would evict exactly the replicas that are safe, when what degraded actually threatens is the next process start.

Deliberately contentless beyond that. It is unauthenticated, so it names no tenancy, no principal, no host, and never carries a database error string — those identify schema and infrastructure (review finding 16). Disclosing initialized-or-not is already accepted by ADR-0012, and unlike probing `/sys/init` to learn the same thing, this does not consume the instance.

Corresponds with GET /sys/health (the `Health` operationId).

func (*Client) ImportPluginBundleWithBody added in v0.5.0

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

ImportPluginBundleWithBody Upload a plugin bundle and queue its import

Requires `maintainer`. The bundle is stored and read by a background job that publishes each version as an upload: a version already held is skipped, one held with different checksums is reported as a mismatch, a version whose manifest origin is releases.hashicorp.com is verified against the HashiCorp key and refused when the signature is missing or does not verify, and a plugin held by another source is refused (ADR-0029). The request is bounded by DFBG_PLUGIN_MAX_UPLOAD_BYTES, shared with plugin uploads.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/organizations/{organizationId}/plugin-registry/bundle/import (the `ImportPluginBundle` operationId).

func (*Client) Initialize

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

Initialize Initialize an uninitialized instance

Mints the initial administrative principal and returns its credentials **exactly once**, in the response body. They are never retrievable again, never logged, and the secret is hashed with argon2id on write.

Callable only while no root principal exists; afterwards it refuses permanently. A transaction-scoped singleton guard makes concurrent claims atomic.

The first-run UI wizard and unattended deployment begin with this same endpoint, then use the ordinary authenticated platform endpoints. There is no privileged side door — that is what allows end-to-end tests to bootstrap a server without a browser (ADR-0012).

Accepted risk, documented rather than engineered around: while uninitialized, whoever reaches this endpoint first owns the deployment. Do not expose an uninitialized instance publicly.

Alongside the credentials, the response carries the recovery shares (ADR-0024): a sharded proof of custody for `/sys/recovery`, shown once like the credentials and verified server-side against a stored digest. The share count and threshold are fixed here, at initialization — there is no rekey ceremony.

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

Corresponds with POST /sys/init (the `Initialize` operationId).

func (*Client) InitializeWithBody

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

InitializeWithBody Initialize an uninitialized instance

Mints the initial administrative principal and returns its credentials **exactly once**, in the response body. They are never retrievable again, never logged, and the secret is hashed with argon2id on write.

Callable only while no root principal exists; afterwards it refuses permanently. A transaction-scoped singleton guard makes concurrent claims atomic.

The first-run UI wizard and unattended deployment begin with this same endpoint, then use the ordinary authenticated platform endpoints. There is no privileged side door — that is what allows end-to-end tests to bootstrap a server without a browser (ADR-0012).

Accepted risk, documented rather than engineered around: while uninitialized, whoever reaches this endpoint first owns the deployment. Do not expose an uninitialized instance publicly.

Alongside the credentials, the response carries the recovery shares (ADR-0024): a sharded proof of custody for `/sys/recovery`, shown once like the credentials and verified server-side against a stored digest. The share count and threshold are fixed here, at initialization — there is no rekey ceremony.

Takes any type of body and a specified content type.

Corresponds with POST /sys/init (the `Initialize` operationId).

func (*Client) ListAuditTargets

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

ListAuditTargets List configured audit file targets and their health

Corresponds with GET /api/v1/audit/targets (the `ListAuditTargets` operationId).

func (*Client) ListBagDropAssociations

func (c *Client) ListBagDropAssociations(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*http.Response, error)

ListBagDropAssociations List buckets selected for Bag Drop

Requires maintainer on this project.

Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/buckets (the `ListBagDropAssociations` operationId).

func (*Client) ListHashicorpPluginVersions added in v0.5.0

func (c *Client) ListHashicorpPluginVersions(ctx context.Context, organizationId OrganizationId, product string, params *ListHashicorpPluginVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListHashicorpPluginVersions One page of a plugin's releases, newest first

Requires `publisher`.

Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/catalogue/hashicorp/{product} (the `ListHashicorpPluginVersions` operationId).

func (*Client) ListHashicorpPlugins added in v0.5.0

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

ListHashicorpPlugins Packer plugins published on releases.hashicorp.com

Requires `publisher`, because reading it makes dufflebag call releases.hashicorp.com.

Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/catalogue/hashicorp (the `ListHashicorpPlugins` operationId).

func (*Client) ListOrganizationWebhookDeliveries added in v0.5.0

func (c *Client) ListOrganizationWebhookDeliveries(ctx context.Context, organizationId OrganizationId, webhookId WebhookId, reqEditors ...RequestEditorFn) (*http.Response, error)

ListOrganizationWebhookDeliveries List the webhook's last 100 deliveries

Requires maintainer. Delivery attempts are not duplicated into the audit trail.

Corresponds with GET /api/v1/organizations/{organizationId}/webhooks/{webhookId}/deliveries (the `ListOrganizationWebhookDeliveries` operationId).

func (*Client) ListOrganizationWebhooks added in v0.5.0

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

ListOrganizationWebhooks List an organization's own webhooks

Requires maintainer on this organization. Secrets are never returned.

Corresponds with GET /api/v1/organizations/{organizationId}/webhooks (the `ListOrganizationWebhooks` operationId).

func (*Client) ListOrganizations

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

ListOrganizations List organizations visible to the caller

Corresponds with GET /api/v1/organizations (the `ListOrganizations` operationId).

func (*Client) ListPins

func (c *Client) ListPins(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*http.Response, error)

ListPins List pinned buckets for a project

Pinned buckets for this project. Pins are per **project**, not per principal — a pinned set is the project's shared answer to which buckets matter, so pinning changes what every project member sees (ADR-0015).

A pin cannot outlive its bucket: deleting a bucket removes any pin to it, enforced by a foreign key rather than by application code. The alternative — tolerating a pin as a soft reference — was rejected because it puts a card in the gallery with no data behind it, and every reader then has to handle that state. Pins live in the same database as buckets, so the constraint is free.

Requires the reader role on this project. A tenancy the caller may not see answers 404, indistinguishable from one that does not exist.

Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/pins (the `ListPins` operationId).

func (*Client) ListPluginImports added in v0.5.0

func (c *Client) ListPluginImports(ctx context.Context, organizationId OrganizationId, params *ListPluginImportsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListPluginImports The organization's jobs, newest first

Imports, syncs and uploads alike. Readable by `reader`.

Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/imports (the `ListPluginImports` operationId).

func (*Client) ListPluginVersions added in v0.5.0

func (c *Client) ListPluginVersions(ctx context.Context, organizationId OrganizationId, pluginName PluginName, reqEditors ...RequestEditorFn) (*http.Response, error)

ListPluginVersions List a plugin's versions and the platforms each one serves

Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/versions (the `ListPluginVersions` operationId).

func (*Client) ListPlugins added in v0.5.0

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

ListPlugins List the organization's plugins

Empty when the registry is not enabled.

Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/plugins (the `ListPlugins` operationId).

func (*Client) ListPrincipals

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

ListPrincipals List service principals at a scope

Lists the principals bound to EXACTLY one scope — platform, one organization, one project, or one bucket — never a subtree. Omitting every filter lists the scope the caller itself stands at. Secret *metadata* only. Secret values are never returned here.

The filters authorize like any other tenancy argument: a caller naming a scope it may not see is answered not-found, and a tenancy-bound caller is never given more than its own binding regardless of what it names (ADR-0017).

Corresponds with GET /api/v1/principals (the `ListPrincipals` operationId).

func (*Client) ListProjects

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

ListProjects List projects in an organization

Corresponds with GET /api/v1/organizations/{organizationId}/projects (the `ListProjects` operationId).

func (*Client) ListWebhookDeliveries

func (c *Client) ListWebhookDeliveries(ctx context.Context, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId, reqEditors ...RequestEditorFn) (*http.Response, error)

ListWebhookDeliveries List the webhook's last 100 deliveries

Requires maintainer. Delivery attempts are not duplicated into the audit trail.

Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId}/deliveries (the `ListWebhookDeliveries` operationId).

func (*Client) ListWebhooks

func (c *Client) ListWebhooks(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*http.Response, error)

ListWebhooks List a project's webhooks

Requires maintainer on this project. Secrets are never returned.

Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks (the `ListWebhooks` operationId).

func (*Client) PublishPluginVersionWithBody added in v0.5.0

func (c *Client) PublishPluginVersionWithBody(ctx context.Context, organizationId OrganizationId, pluginName PluginName, version PluginVersionNumber, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PublishPluginVersionWithBody Publish one plugin version from uploaded files

One multipart request carries the version's complete file set; everything is verified before anything is stored, and any failure stores nothing (ADR-0027). SHA256SUMS and its signature are stored and served verbatim. Every uploaded zip must be listed in SHA256SUMS with a matching digest; listed zips may be absent. A manifest listed in SHA256SUMS must be uploaded. Versions are immutable. The request is bounded by DFBG_PLUGIN_MAX_UPLOAD_BYTES (default 4 GiB).

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/versions/{version} (the `PublishPluginVersion` operationId).

func (*Client) ReadSession

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

ReadSession Exchange the session cookie for the access token it holds

Returns a live token unchanged when it has at least two minutes left. An expired, validly signed token (or one nearing expiry) is renewed only while its principal and originating secret remain active and its preserved auth_time is within the eight-hour absolute session cap. A refused renewal clears the browser-session cookie and returns 204.

Corresponds with GET /sys/session (the `ReadSession` operationId).

func (*Client) ReconcileBagDrop

func (c *Client) ReconcileBagDrop(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*http.Response, error)

ReconcileBagDrop Request prompt reconciliation of a project's Bag Drop associations

Signals the reconciler running in this process. Requires maintainer on this project. Returns 503 when this process has no running reconciler.

Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/reconcile (the `ReconcileBagDrop` operationId).

func (*Client) Recover

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

Recover Recover administrative access by proving custody of the recovery shares

Accepts the threshold number of recovery shares in one request, verifies the recombined secret against the digest stored at initialization, and on success mints a **fresh root principal**, returning its credentials once in the response body — exactly the `/sys/init` contract (ADR-0024). The shares are a proof of custody, not key material: they reconstruct nothing, remain valid after use, and mint a new principal rather than resurrecting an old one, so the ceremony is loud and distinct in the audit trail.

Refusals are audited distinctly: malformed or too few shares answer 400, shares that recombine to the wrong secret answer 403, and an instance without a verifier — never initialized, or initialized before recovery existed — answers 409.

This is an anonymous surface, so it sits behind the same per-caller rate limit as the token endpoint and answers 429 outside the audit seam when it is exceeded (ADR-0020's audit-amplification coupling).

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

Corresponds with POST /sys/recovery (the `Recover` operationId).

func (*Client) RecoverWithBody

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

RecoverWithBody Recover administrative access by proving custody of the recovery shares

Accepts the threshold number of recovery shares in one request, verifies the recombined secret against the digest stored at initialization, and on success mints a **fresh root principal**, returning its credentials once in the response body — exactly the `/sys/init` contract (ADR-0024). The shares are a proof of custody, not key material: they reconstruct nothing, remain valid after use, and mint a new principal rather than resurrecting an old one, so the ceremony is loud and distinct in the audit trail.

Refusals are audited distinctly: malformed or too few shares answer 400, shares that recombine to the wrong secret answer 403, and an instance without a verifier — never initialized, or initialized before recovery existed — answers 409.

This is an anonymous surface, so it sits behind the same per-caller rate limit as the token endpoint and answers 429 outside the audit seam when it is exceeded (ADR-0020's audit-amplification coupling).

Takes any type of body and a specified content type.

Corresponds with POST /sys/recovery (the `Recover` operationId).

func (*Client) RescanBuild

func (c *Client) RescanBuild(ctx context.Context, organizationId OrganizationId, projectId ProjectId, buildId string, reqEditors ...RequestEditorFn) (*http.Response, error)

RescanBuild Queue a build for rescanning

Queues this build through the SAME queue, locks and worker limits as any other scan. It does not scan inline and it cannot jump the queue: the button is a request for work, not a private fast path, because a console user repeatedly pressing it must not be able to starve another tenant's already-due work.

Idempotent by construction — the queue holds one row per build, so pressing twice before the first scan runs coalesces into a single execution. The answer is 202 either way; there is no way for a caller to tell how many presses became how many scans, and no reason to expose one.

The HTTP request is audited as the calling principal. The execution that follows is audited separately as `system:scanner`, because it happens later, in a different process possibly, and attributing a background write to a human who has since logged out would be a lie.

Requires maintainer in the owning project. A build outside the current scan set is refused rather than queued: scanning a version no channel selects would produce findings nothing displays.

Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/builds/{buildId}/rescan (the `RescanBuild` operationId).

func (*Client) ResolveGithubRelease added in v0.5.0

func (c *Client) ResolveGithubRelease(ctx context.Context, organizationId OrganizationId, body ResolveGithubReleaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ResolveGithubRelease Resolve a GitHub release link to an exact tag

Accepts .../releases/tag/<tag> and .../releases/latest links to public packer-plugin repositories; latest is resolved here, once, and the import sends the tag. Requires `publisher`. Unauthenticated GitHub API use allows 60 calls an hour per egress address.

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

Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/catalogue/github/resolve (the `ResolveGithubRelease` operationId).

func (*Client) ResolveGithubReleaseWithBody added in v0.5.0

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

ResolveGithubReleaseWithBody Resolve a GitHub release link to an exact tag

Accepts .../releases/tag/<tag> and .../releases/latest links to public packer-plugin repositories; latest is resolved here, once, and the import sends the tag. Requires `publisher`. Unauthenticated GitHub API use allows 60 calls an hour per egress address.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/catalogue/github/resolve (the `ResolveGithubRelease` operationId).

func (*Client) RestorePluginVersion added in v0.5.0

func (c *Client) RestorePluginVersion(ctx context.Context, organizationId OrganizationId, pluginName PluginName, version PluginVersionNumber, reqEditors ...RequestEditorFn) (*http.Response, error)

RestorePluginVersion Serve a revoked plugin version again

Requires `publisher`.

Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/versions/{version}/restore (the `RestorePluginVersion` operationId).

func (*Client) RevokePluginVersion added in v0.5.0

func (c *Client) RevokePluginVersion(ctx context.Context, organizationId OrganizationId, pluginName PluginName, version PluginVersionNumber, reqEditors ...RequestEditorFn) (*http.Response, error)

RevokePluginVersion Stop serving a plugin version; restorable

Packer gets 404 for every file of a revoked version. Its bytes are kept. Requires `publisher`.

Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/versions/{version}/revoke (the `RevokePluginVersion` operationId).

func (*Client) RevokePrincipalSecret

func (c *Client) RevokePrincipalSecret(ctx context.Context, principalId PrincipalId, secretId string, reqEditors ...RequestEditorFn) (*http.Response, error)

RevokePrincipalSecret Revoke a secret

Refused when it would leave a ROOT principal without a usable, never-expiring secret — secretless root leaves the instance administrable by direct database access alone, and a root holding only expiring secrets is the same lockout on a timer (ADR-0004, amended 2026-08-02; extended by duf-2rw).

Every other principal may be left with no secrets: a maintainer issues it a replacement, so a leaked credential can be revoked immediately rather than after minting its successor. Revocation is also how an EXPIRED secret is cleaned up — expiry never deletes anything.

Corresponds with DELETE /api/v1/principals/{principalId}/secrets/{secretId} (the `RevokePrincipalSecret` operationId).

func (*Client) RewrapEncryption

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

RewrapEncryption Rewrap every keyring entry under the key service's current KEK

The explicit follow-through a KEK rotation requires (ADR-0024): the key service rotates its KEK on the operator's order, and this operation — equally deliberate, equally attributable — rewraps the stored keyring rows under the new version. Payloads are never touched; the data keys do not change. Until it runs, keyring rows stay wrapped under the old KEK version, and retiring that version at the key service would leave the next process start unable to unwrap anything ("sealed").

The request body is empty. The operation attempts the real rewrap rather than pre-refusing on remembered health — a failed attempt is an audited failure — and the stored rows change only when every entry rewrapped, so a partial key-service failure changes nothing.

Corresponds with POST /api/v1/encryption/rewrap (the `RewrapEncryption` operationId).

func (*Client) RotateEncryption

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

RotateEncryption Mint a new data-key version for every keyring purpose

DEK rotation (ADR-0024): a fresh key version is minted locally for every purpose, wrapped by the key service, and becomes what new writes use. Old versions stay in the keyring so existing payloads, MACs and audit entries verify forever — nothing is re-encrypted. Tokens signed with the previous key version keep verifying and age out within the token TTL. Audit-entry HMACs record the key version that produced them, so HMAC correlation of a sensitive value across the rotation boundary changes by design.

The request body is empty. Peer replicas adopt the new versions at their next heartbeat; until then a payload written or token signed under the new version by this replica does not verify on a peer that has not yet refreshed. Rotate in a quiet window on multi-replica deployments.

Corresponds with POST /api/v1/encryption/rotate (the `RotateEncryption` operationId).

func (*Client) RunPluginPrune added in v0.5.0

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

RunPluginPrune Prune now

Requires `maintainer`. Runs one prune with the stored age limit, whether or not the schedule is on, and records it.

Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/prune/run (the `RunPluginPrune` operationId).

func (*Client) SetBagDropAssociation

func (c *Client) SetBagDropAssociation(ctx context.Context, organizationId OrganizationId, projectId ProjectId, bucketName string, reqEditors ...RequestEditorFn) (*http.Response, error)

SetBagDropAssociation Select a bucket for Bag Drop

Idempotently associates an existing local bucket. Re-associating a pending removal reactivates it. Requires maintainer on this project and an existing Bag Drop configuration.

Corresponds with PUT /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/buckets/{bucketName} (the `SetBagDropAssociation` operationId).

func (*Client) SetPin

func (c *Client) SetPin(ctx context.Context, organizationId OrganizationId, projectId ProjectId, bucketName string, reqEditors ...RequestEditorFn) (*http.Response, error)

SetPin Pin a bucket to a project

Idempotent — pinning an already-pinned bucket succeeds unchanged. Requires the builder role on this project: builder is the lowest tier with write authority, and pins have no registry consequence, so a higher gate would add friction without protecting anything.

Corresponds with PUT /api/v1/organizations/{organizationId}/projects/{projectId}/pins/{bucketName} (the `SetPin` operationId).

func (*Client) SetPluginDefaultPlatforms added in v0.5.0

func (c *Client) SetPluginDefaultPlatforms(ctx context.Context, organizationId OrganizationId, body SetPluginDefaultPlatformsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetPluginDefaultPlatforms Replace the platforms a first import selects

Requires `maintainer`. Each platform is OS_ARCH, for example linux_amd64.

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

Corresponds with PUT /api/v1/organizations/{organizationId}/plugin-registry/default-platforms (the `SetPluginDefaultPlatforms` operationId).

func (*Client) SetPluginDefaultPlatformsWithBody added in v0.5.0

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

SetPluginDefaultPlatformsWithBody Replace the platforms a first import selects

Requires `maintainer`. Each platform is OS_ARCH, for example linux_amd64.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/organizations/{organizationId}/plugin-registry/default-platforms (the `SetPluginDefaultPlatforms` operationId).

func (*Client) SetPluginPrune added in v0.5.0

func (c *Client) SetPluginPrune(ctx context.Context, organizationId OrganizationId, body SetPluginPruneJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetPluginPrune Replace the job-pruning schedule

Requires `maintainer`. On a schedule, every job that is not queued or running and finished more than `age_days` ago is cleared. The schedule is a five-field cron expression in UTC. Off by default.

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

Corresponds with PUT /api/v1/organizations/{organizationId}/plugin-registry/prune (the `SetPluginPrune` operationId).

func (*Client) SetPluginPruneWithBody added in v0.5.0

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

SetPluginPruneWithBody Replace the job-pruning schedule

Requires `maintainer`. On a schedule, every job that is not queued or running and finished more than `age_days` ago is cleared. The schedule is a five-field cron expression in UTC. Off by default.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/organizations/{organizationId}/plugin-registry/prune (the `SetPluginPrune` operationId).

func (*Client) SetPluginUpdateCheck added in v0.5.0

func (c *Client) SetPluginUpdateCheck(ctx context.Context, organizationId OrganizationId, pluginName PluginName, body SetPluginUpdateCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetPluginUpdateCheck Turn a plugin's update check on or off

Only plugins imported from releases.hashicorp.com or GitHub can be checked. Requires `publisher`.

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

Corresponds with PUT /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/update-check (the `SetPluginUpdateCheck` operationId).

func (*Client) SetPluginUpdateCheckWithBody added in v0.5.0

func (c *Client) SetPluginUpdateCheckWithBody(ctx context.Context, organizationId OrganizationId, pluginName PluginName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SetPluginUpdateCheckWithBody Turn a plugin's update check on or off

Only plugins imported from releases.hashicorp.com or GitHub can be checked. Requires `publisher`.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/update-check (the `SetPluginUpdateCheck` operationId).

func (*Client) SyncCatalogue added in v0.5.0

func (c *Client) SyncCatalogue(ctx context.Context, organizationId OrganizationId, body SyncCatalogueJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SyncCatalogue Bring selected plugins up to their newest stable release

Queues one ordinary import job per plugin with an update available, for the newest stable upstream release seen, with the platforms the plugin already mirrors (ADR-0027 A7, A8). A plugin without an update is refused on its own and does not stop the rest. Requires `publisher`.

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

Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/sync (the `SyncCatalogue` operationId).

func (*Client) SyncCatalogueWithBody added in v0.5.0

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

SyncCatalogueWithBody Bring selected plugins up to their newest stable release

Queues one ordinary import job per plugin with an update available, for the newest stable upstream release seen, with the platforms the plugin already mirrors (ADR-0027 A7, A8). A plugin without an update is refused on its own and does not stop the rest. Requires `publisher`.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/sync (the `SyncCatalogue` operationId).

func (*Client) SyncPlugin added in v0.5.0

func (c *Client) SyncPlugin(ctx context.Context, organizationId OrganizationId, pluginName PluginName, body SyncPluginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SyncPlugin Apply one plugin's changes as one import job

Changes apply in order (ADR-0027 A7). `add` adds platforms to a mirrored version, admitting a zip only if the version's stored SHA256SUMS lists it with a matching digest, or mirrors a new releases.hashicorp.com version. `revoke` and `restore` act on a stored version. Mirrored platforms cannot be removed. Requires `publisher`.

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

Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/sync (the `SyncPlugin` operationId).

func (*Client) SyncPluginWithBody added in v0.5.0

func (c *Client) SyncPluginWithBody(ctx context.Context, organizationId OrganizationId, pluginName PluginName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SyncPluginWithBody Apply one plugin's changes as one import job

Changes apply in order (ADR-0027 A7). `add` adds platforms to a mirrored version, admitting a zip only if the version's stored SHA256SUMS lists it with a matching digest, or mirrors a new releases.hashicorp.com version. `revoke` and `restore` act on a stored version. Mirrored platforms cannot be removed. Requires `publisher`.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/sync (the `SyncPlugin` operationId).

func (*Client) UnexposePluginRegistry added in v0.5.0

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

UnexposePluginRegistry Stop anonymous reads from the organization plugin registry

Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/unexpose (the `UnexposePluginRegistry` operationId).

func (*Client) UpdateOrganizationWebhook added in v0.5.0

func (c *Client) UpdateOrganizationWebhook(ctx context.Context, organizationId OrganizationId, webhookId WebhookId, body UpdateOrganizationWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateOrganizationWebhook Update a organization webhook

Replaces only supplied fields. A supplied secret replaces the sealed secret. Changing the URL returns the webhook to pending and immediately re-attempts verification. Requires maintainer.

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

Corresponds with PATCH /api/v1/organizations/{organizationId}/webhooks/{webhookId} (the `UpdateOrganizationWebhook` operationId).

func (*Client) UpdateOrganizationWebhookWithBody added in v0.5.0

func (c *Client) UpdateOrganizationWebhookWithBody(ctx context.Context, organizationId OrganizationId, webhookId WebhookId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateOrganizationWebhookWithBody Update a organization webhook

Replaces only supplied fields. A supplied secret replaces the sealed secret. Changing the URL returns the webhook to pending and immediately re-attempts verification. Requires maintainer.

Takes any type of body and a specified content type.

Corresponds with PATCH /api/v1/organizations/{organizationId}/webhooks/{webhookId} (the `UpdateOrganizationWebhook` operationId).

func (*Client) UpdateWebhook

func (c *Client) UpdateWebhook(ctx context.Context, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateWebhook Update a project webhook

Replaces only supplied fields. A supplied secret replaces the sealed secret. Changing the URL returns the webhook to pending and immediately re-attempts verification. Requires maintainer.

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

Corresponds with PATCH /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId} (the `UpdateWebhook` operationId).

func (*Client) UpdateWebhookWithBody

func (c *Client) UpdateWebhookWithBody(ctx context.Context, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateWebhookWithBody Update a project webhook

Replaces only supplied fields. A supplied secret replaces the sealed secret. Changing the URL returns the webhook to pending and immediately re-attempts verification. Requires maintainer.

Takes any type of body and a specified content type.

Corresponds with PATCH /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId} (the `UpdateWebhook` operationId).

func (*Client) VerifyBagDrop

func (c *Client) VerifyBagDrop(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*http.Response, error)

VerifyBagDrop Resolve the configured destination and record the result

Resolution failure is a report, not an API error, so both resolved and failed outcomes answer 200 and become the last verification.

Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/verify (the `VerifyBagDrop` operationId).

func (*Client) VerifyOrganizationWebhook added in v0.5.0

func (c *Client) VerifyOrganizationWebhook(ctx context.Context, organizationId OrganizationId, webhookId WebhookId, reqEditors ...RequestEditorFn) (*http.Response, error)

VerifyOrganizationWebhook Re-attempt a webhook activation handshake

Sends the signed verification payload. A 2xx response activates the webhook; failure leaves it pending and records the failure. Requires maintainer.

Corresponds with POST /api/v1/organizations/{organizationId}/webhooks/{webhookId}/verify (the `VerifyOrganizationWebhook` operationId).

func (*Client) VerifyWebhook

func (c *Client) VerifyWebhook(ctx context.Context, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId, reqEditors ...RequestEditorFn) (*http.Response, error)

VerifyWebhook Re-attempt a webhook activation handshake

Sends the signed verification payload. A 2xx response activates the webhook; failure leaves it pending and records the failure. Requires maintainer.

Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId}/verify (the `VerifyWebhook` operationId).

type ClientInterface

type ClientInterface interface {

	// ListAuditTargets List configured audit file targets and their health
	//
	// Corresponds with GET /api/v1/audit/targets (the `ListAuditTargets` operationId).
	ListAuditTargets(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateAuditTargetWithBody Enable an audit file target
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/audit/targets (the `CreateAuditTarget` operationId).
	CreateAuditTargetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateAuditTarget Enable an audit file target
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/audit/targets (the `CreateAuditTarget` operationId).
	CreateAuditTarget(ctx context.Context, body CreateAuditTargetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteAuditTarget Disable an audit file target
	//
	// Corresponds with DELETE /api/v1/audit/targets/{targetId} (the `DeleteAuditTarget` operationId).
	DeleteAuditTarget(ctx context.Context, targetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetEncryption Read keyring state and the remembered encryption health
	//
	// Root-only, like the audit target list: KEK references and key versions
	// are rotation bookkeeping, not something every principal needs. The
	// keyring listing carries no key material — only each entry's purpose,
	// version, the KEK version that wrapped it, and when that wrapping was
	// produced. `state` is the same remembered heartbeat answer `/sys/health`
	// reports; after rotating the KEK at the key service, entries whose
	// `kek_ref` still names the old version are the rows `rewrap` exists for.
	//
	// Corresponds with GET /api/v1/encryption (the `GetEncryption` operationId).
	GetEncryption(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RewrapEncryption Rewrap every keyring entry under the key service's current KEK
	//
	// The explicit follow-through a KEK rotation requires (ADR-0024): the key
	// service rotates its KEK on the operator's order, and this operation —
	// equally deliberate, equally attributable — rewraps the stored keyring
	// rows under the new version. Payloads are never touched; the data keys
	// do not change. Until it runs, keyring rows stay wrapped under the old
	// KEK version, and retiring that version at the key service would leave
	// the next process start unable to unwrap anything ("sealed").
	//
	// The request body is empty. The operation attempts the real rewrap
	// rather than pre-refusing on remembered health — a failed attempt is an
	// audited failure — and the stored rows change only when every entry
	// rewrapped, so a partial key-service failure changes nothing.
	//
	// Corresponds with POST /api/v1/encryption/rewrap (the `RewrapEncryption` operationId).
	RewrapEncryption(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RotateEncryption Mint a new data-key version for every keyring purpose
	//
	// DEK rotation (ADR-0024): a fresh key version is minted locally for
	// every purpose, wrapped by the key service, and becomes what new writes
	// use. Old versions stay in the keyring so existing payloads, MACs and
	// audit entries verify forever — nothing is re-encrypted. Tokens signed
	// with the previous key version keep verifying and age out within the
	// token TTL. Audit-entry HMACs record the key version that produced
	// them, so HMAC correlation of a sensitive value across the rotation
	// boundary changes by design.
	//
	// The request body is empty. Peer replicas adopt the new versions at
	// their next heartbeat; until then a payload written or token signed
	// under the new version by this replica does not verify on a peer that
	// has not yet refreshed. Rotate in a quiet window on multi-replica
	// deployments.
	//
	// Corresponds with POST /api/v1/encryption/rotate (the `RotateEncryption` operationId).
	RotateEncryption(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetInstance Read build and backing-service state for this instance
	//
	// Authenticated because version and backing-service state are useful
	// reconnaissance. Every valid principal may read it. Values come from
	// the running binary, the mounted route table, and the same remembered
	// service state used by `/sys/health`; no probe is performed just for
	// this response.
	//
	// Corresponds with GET /api/v1/instance (the `GetInstance` operationId).
	GetInstance(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListOrganizations List organizations visible to the caller
	//
	// Corresponds with GET /api/v1/organizations (the `ListOrganizations` operationId).
	ListOrganizations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateOrganizationWithBody Create an organization
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/organizations (the `CreateOrganization` operationId).
	CreateOrganizationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateOrganization Create an organization
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/organizations (the `CreateOrganization` operationId).
	CreateOrganization(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteOrganization Delete an empty organization
	//
	// Refused while the organization still contains projects, organization-scoped
	// principals, or an enabled plugin registry. Deleting a tenant is not an
	// operation that should cascade silently through a registry's contents.
	//
	// Corresponds with DELETE /api/v1/organizations/{organizationId} (the `DeleteOrganization` operationId).
	DeleteOrganization(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOrganization Get an organization
	//
	// Corresponds with GET /api/v1/organizations/{organizationId} (the `GetOrganization` operationId).
	GetOrganization(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPluginRegistry Read the organization plugin registry lifecycle state
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry (the `GetPluginRegistry` operationId).
	GetPluginRegistry(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPluginBundle Get the current plugin bundle export
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/bundle (the `GetPluginBundle` operationId).
	GetPluginBundle(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DownloadPluginBundle Download the last successful plugin bundle
	//
	// Requires `maintainer`.
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/bundle/download (the `DownloadPluginBundle` operationId).
	DownloadPluginBundle(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExportPluginBundle Queue an export of the whole plugin registry
	//
	// Requires `maintainer`.
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/bundle/export (the `ExportPluginBundle` operationId).
	ExportPluginBundle(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPluginBundleImport Get the current plugin bundle import
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/bundle/import (the `GetPluginBundleImport` operationId).
	GetPluginBundleImport(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ImportPluginBundleWithBody Upload a plugin bundle and queue its import
	//
	// Requires `maintainer`. The bundle is stored and read by a background job that publishes each
	// version as an upload: a version already held is skipped, one held with different checksums is
	// reported as a mismatch, a version whose manifest origin is releases.hashicorp.com is verified
	// against the HashiCorp key and refused when the signature is missing or does not verify, and a
	// plugin held by another source is refused (ADR-0029). The request is bounded by
	// DFBG_PLUGIN_MAX_UPLOAD_BYTES, shared with plugin uploads.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/organizations/{organizationId}/plugin-registry/bundle/import (the `ImportPluginBundle` operationId).
	ImportPluginBundleWithBody(ctx context.Context, organizationId OrganizationId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ResolveGithubReleaseWithBody Resolve a GitHub release link to an exact tag
	//
	// Accepts .../releases/tag/<tag> and .../releases/latest links to public packer-plugin repositories;
	// latest is resolved here, once, and the import sends the tag. Requires `publisher`. Unauthenticated
	// GitHub API use allows 60 calls an hour per egress address.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/catalogue/github/resolve (the `ResolveGithubRelease` operationId).
	ResolveGithubReleaseWithBody(ctx context.Context, organizationId OrganizationId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ResolveGithubRelease Resolve a GitHub release link to an exact tag
	//
	// Accepts .../releases/tag/<tag> and .../releases/latest links to public packer-plugin repositories;
	// latest is resolved here, once, and the import sends the tag. Requires `publisher`. Unauthenticated
	// GitHub API use allows 60 calls an hour per egress address.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/catalogue/github/resolve (the `ResolveGithubRelease` operationId).
	ResolveGithubRelease(ctx context.Context, organizationId OrganizationId, body ResolveGithubReleaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListHashicorpPlugins Packer plugins published on releases.hashicorp.com
	//
	// Requires `publisher`, because reading it makes dufflebag call releases.hashicorp.com.
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/catalogue/hashicorp (the `ListHashicorpPlugins` operationId).
	ListHashicorpPlugins(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListHashicorpPluginVersions One page of a plugin's releases, newest first
	//
	// Requires `publisher`.
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/catalogue/hashicorp/{product} (the `ListHashicorpPluginVersions` operationId).
	ListHashicorpPluginVersions(ctx context.Context, organizationId OrganizationId, product string, params *ListHashicorpPluginVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPluginDefaultPlatforms Platforms a first import of a plugin selects
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/default-platforms (the `GetPluginDefaultPlatforms` operationId).
	GetPluginDefaultPlatforms(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetPluginDefaultPlatformsWithBody Replace the platforms a first import selects
	//
	// Requires `maintainer`. Each platform is OS_ARCH, for example linux_amd64.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/organizations/{organizationId}/plugin-registry/default-platforms (the `SetPluginDefaultPlatforms` operationId).
	SetPluginDefaultPlatformsWithBody(ctx context.Context, organizationId OrganizationId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetPluginDefaultPlatforms Replace the platforms a first import selects
	//
	// Requires `maintainer`. Each platform is OS_ARCH, for example linux_amd64.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/organizations/{organizationId}/plugin-registry/default-platforms (the `SetPluginDefaultPlatforms` operationId).
	SetPluginDefaultPlatforms(ctx context.Context, organizationId OrganizationId, body SetPluginDefaultPlatformsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DisablePluginRegistry Disable and delete the organization plugin registry
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/disable (the `DisablePluginRegistry` operationId).
	DisablePluginRegistry(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EnablePluginRegistry Enable the organization plugin registry
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/enable (the `EnablePluginRegistry` operationId).
	EnablePluginRegistry(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExposePluginRegistry Expose the organization plugin registry for anonymous reads
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/expose (the `ExposePluginRegistry` operationId).
	ExposePluginRegistry(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListPluginImports The organization's jobs, newest first
	//
	// Imports, syncs and uploads alike. Readable by `reader`.
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/imports (the `ListPluginImports` operationId).
	ListPluginImports(ctx context.Context, organizationId OrganizationId, params *ListPluginImportsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreatePluginImportWithBody Queue an import of plugin versions from releases.hashicorp.com
	//
	// Requires `publisher`. The job verifies each version's SHA256SUMS against HashiCorp's pinned
	// signing key before storing anything (ADR-0027 A3). A first import reserves the plugin's
	// name for its source until the job finishes.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/imports (the `CreatePluginImport` operationId).
	CreatePluginImportWithBody(ctx context.Context, organizationId OrganizationId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreatePluginImport Queue an import of plugin versions from releases.hashicorp.com
	//
	// Requires `publisher`. The job verifies each version's SHA256SUMS against HashiCorp's pinned
	// signing key before storing anything (ADR-0027 A3). A first import reserves the plugin's
	// name for its source until the job finishes.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/imports (the `CreatePluginImport` operationId).
	CreatePluginImport(ctx context.Context, organizationId OrganizationId, body CreatePluginImportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeletePluginImport Clear a job
	//
	// Deletes the job's record. A queued job is taken out of the queue and never runs; a finished
	// job's outcomes are gone, and the versions it mirrored are unchanged. A running job cannot be
	// cleared. Requires `publisher`.
	//
	// Corresponds with DELETE /api/v1/organizations/{organizationId}/plugin-registry/imports/{importId} (the `DeletePluginImport` operationId).
	DeletePluginImport(ctx context.Context, organizationId OrganizationId, importId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPluginImport An import job and the outcome of each version
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/imports/{importId} (the `GetPluginImport` operationId).
	GetPluginImport(ctx context.Context, organizationId OrganizationId, importId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListPlugins List the organization's plugins
	//
	// Empty when the registry is not enabled.
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/plugins (the `ListPlugins` operationId).
	ListPlugins(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPluginDownloads Get a plugin's download counts
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/downloads (the `GetPluginDownloads` operationId).
	GetPluginDownloads(ctx context.Context, organizationId OrganizationId, pluginName PluginName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SyncPluginWithBody Apply one plugin's changes as one import job
	//
	// Changes apply in order (ADR-0027 A7). `add` adds platforms to a mirrored version, admitting a zip
	// only if the version's stored SHA256SUMS lists it with a matching digest, or mirrors a new
	// releases.hashicorp.com version. `revoke` and `restore` act on a stored version. Mirrored platforms
	// cannot be removed. Requires `publisher`.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/sync (the `SyncPlugin` operationId).
	SyncPluginWithBody(ctx context.Context, organizationId OrganizationId, pluginName PluginName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SyncPlugin Apply one plugin's changes as one import job
	//
	// Changes apply in order (ADR-0027 A7). `add` adds platforms to a mirrored version, admitting a zip
	// only if the version's stored SHA256SUMS lists it with a matching digest, or mirrors a new
	// releases.hashicorp.com version. `revoke` and `restore` act on a stored version. Mirrored platforms
	// cannot be removed. Requires `publisher`.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/sync (the `SyncPlugin` operationId).
	SyncPlugin(ctx context.Context, organizationId OrganizationId, pluginName PluginName, body SyncPluginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetPluginUpdateCheckWithBody Turn a plugin's update check on or off
	//
	// Only plugins imported from releases.hashicorp.com or GitHub can be checked. Requires `publisher`.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/update-check (the `SetPluginUpdateCheck` operationId).
	SetPluginUpdateCheckWithBody(ctx context.Context, organizationId OrganizationId, pluginName PluginName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetPluginUpdateCheck Turn a plugin's update check on or off
	//
	// Only plugins imported from releases.hashicorp.com or GitHub can be checked. Requires `publisher`.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/update-check (the `SetPluginUpdateCheck` operationId).
	SetPluginUpdateCheck(ctx context.Context, organizationId OrganizationId, pluginName PluginName, body SetPluginUpdateCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListPluginVersions List a plugin's versions and the platforms each one serves
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/versions (the `ListPluginVersions` operationId).
	ListPluginVersions(ctx context.Context, organizationId OrganizationId, pluginName PluginName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeletePluginVersion Remove a plugin version and its files
	//
	// Terminal. Removing a plugin's last version removes the plugin, which frees its name for another
	// source; a revoked version still holds it. Requires `publisher`.
	//
	// Corresponds with DELETE /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/versions/{version} (the `DeletePluginVersion` operationId).
	DeletePluginVersion(ctx context.Context, organizationId OrganizationId, pluginName PluginName, version PluginVersionNumber, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PublishPluginVersionWithBody Publish one plugin version from uploaded files
	//
	// One multipart request carries the version's complete file set; everything is verified before
	// anything is stored, and any failure stores nothing (ADR-0027). SHA256SUMS and its signature are
	// stored and served verbatim. Every uploaded zip must be listed in SHA256SUMS with a matching
	// digest; listed zips may be absent. A manifest listed in SHA256SUMS must be uploaded. Versions are
	// immutable. The request is bounded by DFBG_PLUGIN_MAX_UPLOAD_BYTES (default 4 GiB).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/versions/{version} (the `PublishPluginVersion` operationId).
	PublishPluginVersionWithBody(ctx context.Context, organizationId OrganizationId, pluginName PluginName, version PluginVersionNumber, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RestorePluginVersion Serve a revoked plugin version again
	//
	// Requires `publisher`.
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/versions/{version}/restore (the `RestorePluginVersion` operationId).
	RestorePluginVersion(ctx context.Context, organizationId OrganizationId, pluginName PluginName, version PluginVersionNumber, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RevokePluginVersion Stop serving a plugin version; restorable
	//
	// Packer gets 404 for every file of a revoked version. Its bytes are kept. Requires `publisher`.
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/versions/{version}/revoke (the `RevokePluginVersion` operationId).
	RevokePluginVersion(ctx context.Context, organizationId OrganizationId, pluginName PluginName, version PluginVersionNumber, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPluginPrune The job-pruning schedule and what a run would clear now
	//
	// Requires `maintainer`.
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/prune (the `GetPluginPrune` operationId).
	GetPluginPrune(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetPluginPruneWithBody Replace the job-pruning schedule
	//
	// Requires `maintainer`. On a schedule, every job that is not queued or running and finished more
	// than `age_days` ago is cleared. The schedule is a five-field cron expression in UTC. Off by default.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/organizations/{organizationId}/plugin-registry/prune (the `SetPluginPrune` operationId).
	SetPluginPruneWithBody(ctx context.Context, organizationId OrganizationId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetPluginPrune Replace the job-pruning schedule
	//
	// Requires `maintainer`. On a schedule, every job that is not queued or running and finished more
	// than `age_days` ago is cleared. The schedule is a five-field cron expression in UTC. Off by default.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/organizations/{organizationId}/plugin-registry/prune (the `SetPluginPrune` operationId).
	SetPluginPrune(ctx context.Context, organizationId OrganizationId, body SetPluginPruneJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RunPluginPrune Prune now
	//
	// Requires `maintainer`. Runs one prune with the stored age limit, whether or not the schedule is on, and records it.
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/prune/run (the `RunPluginPrune` operationId).
	RunPluginPrune(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SyncCatalogueWithBody Bring selected plugins up to their newest stable release
	//
	// Queues one ordinary import job per plugin with an update available, for the newest stable upstream
	// release seen, with the platforms the plugin already mirrors (ADR-0027 A7, A8). A plugin without an
	// update is refused on its own and does not stop the rest. Requires `publisher`.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/sync (the `SyncCatalogue` operationId).
	SyncCatalogueWithBody(ctx context.Context, organizationId OrganizationId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SyncCatalogue Bring selected plugins up to their newest stable release
	//
	// Queues one ordinary import job per plugin with an update available, for the newest stable upstream
	// release seen, with the platforms the plugin already mirrors (ADR-0027 A7, A8). A plugin without an
	// update is refused on its own and does not stop the rest. Requires `publisher`.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/sync (the `SyncCatalogue` operationId).
	SyncCatalogue(ctx context.Context, organizationId OrganizationId, body SyncCatalogueJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UnexposePluginRegistry Stop anonymous reads from the organization plugin registry
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/unexpose (the `UnexposePluginRegistry` operationId).
	UnexposePluginRegistry(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListProjects List projects in an organization
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/projects (the `ListProjects` operationId).
	ListProjects(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateProjectWithBody Create a project
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/projects (the `CreateProject` operationId).
	CreateProjectWithBody(ctx context.Context, organizationId OrganizationId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateProject Create a project
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/projects (the `CreateProject` operationId).
	CreateProject(ctx context.Context, organizationId OrganizationId, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteProject Delete an empty project
	//
	// Refused while the project still contains buckets.
	//
	// Corresponds with DELETE /api/v1/organizations/{organizationId}/projects/{projectId} (the `DeleteProject` operationId).
	DeleteProject(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProject Get a project
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId} (the `GetProject` operationId).
	GetProject(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteBagDropConfig Remove a project's Bag Drop destination configuration
	//
	// Refuses while enabled or while destination cleanup is outstanding.
	// Clean associations which have never been attempted cascade with the
	// configuration.
	//
	// Corresponds with DELETE /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop (the `DeleteBagDropConfig` operationId).
	DeleteBagDropConfig(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetBagDropConfig Read a project's Bag Drop destination configuration
	//
	// Returns only non-secret destination fields. The client secret is never
	// returned; `secret_set` reports that the write-only credential exists.
	// Requires maintainer on this project. A tenancy the caller may not see
	// answers 404, indistinguishable from one that does not exist.
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop (the `GetBagDropConfig` operationId).
	GetBagDropConfig(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListBagDropAssociations List buckets selected for Bag Drop
	//
	// Requires maintainer on this project.
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/buckets (the `ListBagDropAssociations` operationId).
	ListBagDropAssociations(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteBagDropAssociation Stop mirroring a bucket through Bag Drop
	//
	// This is the consent boundary for destination-side deletion. An
	// association never attempted is removed immediately; otherwise it is
	// retained as pending removal for the reconciler. Requires maintainer.
	//
	// Corresponds with DELETE /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/buckets/{bucketName} (the `DeleteBagDropAssociation` operationId).
	DeleteBagDropAssociation(ctx context.Context, organizationId OrganizationId, projectId ProjectId, bucketName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetBagDropAssociation Select a bucket for Bag Drop
	//
	// Idempotently associates an existing local bucket. Re-associating a
	// pending removal reactivates it. Requires maintainer on this project and
	// an existing Bag Drop configuration.
	//
	// Corresponds with PUT /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/buckets/{bucketName} (the `SetBagDropAssociation` operationId).
	SetBagDropAssociation(ctx context.Context, organizationId OrganizationId, projectId ProjectId, bucketName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DisableBagDrop Disable the configured destination without contacting it
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/disable (the `DisableBagDrop` operationId).
	DisableBagDrop(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EnableBagDropWithBody Verify and enable the configured destination
	//
	// Without a body, re-runs destination resolution against the stored
	// configuration and enables it on success. Resolution failure answers 409
	// with the verification result and leaves the stored configuration unchanged.
	//
	// With a body, validates the supplied configuration and resolves the
	// destination against it before writing anything. On success the supplied
	// configuration is persisted and enabled atomically. Resolution failure
	// answers 409 with the verification result and persists nothing: no
	// configuration is created, and any existing configuration is left
	// byte-for-byte unchanged and remains enabled if it was enabled.
	//
	// `client_secret` is required when no configuration exists. On update it
	// may be omitted to retain the existing sealed secret.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/enable (the `EnableBagDrop` operationId).
	EnableBagDropWithBody(ctx context.Context, organizationId OrganizationId, projectId ProjectId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EnableBagDrop Verify and enable the configured destination
	//
	// Without a body, re-runs destination resolution against the stored
	// configuration and enables it on success. Resolution failure answers 409
	// with the verification result and leaves the stored configuration unchanged.
	//
	// With a body, validates the supplied configuration and resolves the
	// destination against it before writing anything. On success the supplied
	// configuration is persisted and enabled atomically. Resolution failure
	// answers 409 with the verification result and persists nothing: no
	// configuration is created, and any existing configuration is left
	// byte-for-byte unchanged and remains enabled if it was enabled.
	//
	// `client_secret` is required when no configuration exists. On update it
	// may be omitted to retain the existing sealed secret.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/enable (the `EnableBagDrop` operationId).
	EnableBagDrop(ctx context.Context, organizationId OrganizationId, projectId ProjectId, body EnableBagDropJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReconcileBagDrop Request prompt reconciliation of a project's Bag Drop associations
	//
	// Signals the reconciler running in this process. Requires maintainer on
	// this project. Returns 503 when this process has no running reconciler.
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/reconcile (the `ReconcileBagDrop` operationId).
	ReconcileBagDrop(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetBagDropStatus Read Bag Drop dashboard status
	//
	// Returns configured false with an empty association list when no Bag
	// Drop configuration exists. This is the reader-visible Bag Drop surface
	// and never returns credential material.
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/status (the `GetBagDropStatus` operationId).
	GetBagDropStatus(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// VerifyBagDrop Resolve the configured destination and record the result
	//
	// Resolution failure is a report, not an API error, so both resolved and
	// failed outcomes answer 200 and become the last verification.
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/verify (the `VerifyBagDrop` operationId).
	VerifyBagDrop(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetBuildFindings Get stored findings for a build
	//
	// Returns the current successful scan and its advisories without
	// downloading the build's paginated package inventory. An existing build
	// without a current successful scan returns scanned=false, run=null and
	// an empty advisory list.
	//
	// Requires the reader role on this project. A tenancy the caller may
	// not see, or an unknown build, answers 404. The two are deliberately
	// indistinguishable because existence is a disclosure.
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/buckets/{bucketName}/versions/{fingerprint}/builds/{buildId}/findings (the `GetBuildFindings` operationId).
	GetBuildFindings(ctx context.Context, organizationId OrganizationId, projectId ProjectId, bucketName string, fingerprint string, buildId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetVersionFindingsSummary Get stored findings summaries for a version
	//
	// Returns the version rollup and every build without downloading package
	// inventories or individual findings. An absent version or build summary
	// means no current successful scan; it is never rendered as an empty scan.
	//
	// Requires the reader role on this project. A tenancy the caller may
	// not see answers 404, indistinguishable from one that does not exist.
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/buckets/{bucketName}/versions/{fingerprint}/findings-summary (the `GetVersionFindingsSummary` operationId).
	GetVersionFindingsSummary(ctx context.Context, organizationId OrganizationId, projectId ProjectId, bucketName string, fingerprint string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RescanBuild Queue a build for rescanning
	//
	// Queues this build through the SAME queue, locks and worker limits as
	// any other scan. It does not scan inline and it cannot jump the queue:
	// the button is a request for work, not a private fast path, because a
	// console user repeatedly pressing it must not be able to starve another
	// tenant's already-due work.
	//
	// Idempotent by construction — the queue holds one row per build, so
	// pressing twice before the first scan runs coalesces into a single
	// execution. The answer is 202 either way; there is no way for a caller
	// to tell how many presses became how many scans, and no reason to
	// expose one.
	//
	// The HTTP request is audited as the calling principal. The execution
	// that follows is audited separately as `system:scanner`, because it
	// happens later, in a different process possibly, and attributing a
	// background write to a human who has since logged out would be a lie.
	//
	// Requires maintainer in the owning project. A build outside the current
	// scan set is refused rather than queued: scanning a version no channel
	// selects would produce findings nothing displays.
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/builds/{buildId}/rescan (the `RescanBuild` operationId).
	RescanBuild(ctx context.Context, organizationId OrganizationId, projectId ProjectId, buildId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListPins List pinned buckets for a project
	//
	// Pinned buckets for this project. Pins are per **project**, not per
	// principal — a pinned set is the project's shared answer to which buckets
	// matter, so pinning changes what every project member sees (ADR-0015).
	//
	// A pin cannot outlive its bucket: deleting a bucket removes any pin to
	// it, enforced by a foreign key rather than by application code. The
	// alternative — tolerating a pin as a soft reference — was rejected
	// because it puts a card in the gallery with no data behind it, and every
	// reader then has to handle that state. Pins live in the same database as
	// buckets, so the constraint is free.
	//
	// Requires the reader role on this project. A tenancy the caller may
	// not see answers 404, indistinguishable from one that does not exist.
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/pins (the `ListPins` operationId).
	ListPins(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeletePin Unpin a bucket
	//
	// Idempotent — unpinning something not pinned succeeds.
	// Requires the builder role on this project. A tenancy the caller may
	// not see answers 404, indistinguishable from one that does not exist.
	//
	// Corresponds with DELETE /api/v1/organizations/{organizationId}/projects/{projectId}/pins/{bucketName} (the `DeletePin` operationId).
	DeletePin(ctx context.Context, organizationId OrganizationId, projectId ProjectId, bucketName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetPin Pin a bucket to a project
	//
	// Idempotent — pinning an already-pinned bucket succeeds unchanged.
	// Requires the builder role on this project: builder is the lowest tier
	// with write authority, and pins have no registry consequence, so a
	// higher gate would add friction without protecting anything.
	//
	// Corresponds with PUT /api/v1/organizations/{organizationId}/projects/{projectId}/pins/{bucketName} (the `SetPin` operationId).
	SetPin(ctx context.Context, organizationId OrganizationId, projectId ProjectId, bucketName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListWebhooks List a project's webhooks
	//
	// Requires maintainer on this project. Secrets are never returned.
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks (the `ListWebhooks` operationId).
	ListWebhooks(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateWebhookWithBody Create and verify a project webhook
	//
	// Stores the write-only secret sealed at rest and immediately attempts a
	// signed verification handshake. A failed or refused handshake leaves the
	// webhook pending; pending webhooks receive no events. Requires maintainer.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks (the `CreateWebhook` operationId).
	CreateWebhookWithBody(ctx context.Context, organizationId OrganizationId, projectId ProjectId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateWebhook Create and verify a project webhook
	//
	// Stores the write-only secret sealed at rest and immediately attempts a
	// signed verification handshake. A failed or refused handshake leaves the
	// webhook pending; pending webhooks receive no events. Requires maintainer.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks (the `CreateWebhook` operationId).
	CreateWebhook(ctx context.Context, organizationId OrganizationId, projectId ProjectId, body CreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteWebhook Delete a project webhook
	//
	// Requires maintainer.
	//
	// Corresponds with DELETE /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId} (the `DeleteWebhook` operationId).
	DeleteWebhook(ctx context.Context, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWebhook Read a project webhook
	//
	// Requires maintainer. The secret is never returned.
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId} (the `GetWebhook` operationId).
	GetWebhook(ctx context.Context, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateWebhookWithBody Update a project webhook
	//
	// Replaces only supplied fields. A supplied secret replaces the sealed
	// secret. Changing the URL returns the webhook to pending and immediately
	// re-attempts verification. Requires maintainer.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId} (the `UpdateWebhook` operationId).
	UpdateWebhookWithBody(ctx context.Context, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateWebhook Update a project webhook
	//
	// Replaces only supplied fields. A supplied secret replaces the sealed
	// secret. Changing the URL returns the webhook to pending and immediately
	// re-attempts verification. Requires maintainer.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId} (the `UpdateWebhook` operationId).
	UpdateWebhook(ctx context.Context, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListWebhookDeliveries List the webhook's last 100 deliveries
	//
	// Requires maintainer. Delivery attempts are not duplicated into the audit trail.
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId}/deliveries (the `ListWebhookDeliveries` operationId).
	ListWebhookDeliveries(ctx context.Context, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// VerifyWebhook Re-attempt a webhook activation handshake
	//
	// Sends the signed verification payload. A 2xx response activates the
	// webhook; failure leaves it pending and records the failure. Requires maintainer.
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId}/verify (the `VerifyWebhook` operationId).
	VerifyWebhook(ctx context.Context, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListOrganizationWebhooks List an organization's own webhooks
	//
	// Requires maintainer on this organization. Secrets are never returned.
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/webhooks (the `ListOrganizationWebhooks` operationId).
	ListOrganizationWebhooks(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateOrganizationWebhookWithBody Create and verify a organization webhook
	//
	// Stores the write-only secret sealed at rest and immediately attempts a
	// signed verification handshake. A failed or refused handshake leaves the
	// webhook pending; pending webhooks receive no events. Requires maintainer.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/webhooks (the `CreateOrganizationWebhook` operationId).
	CreateOrganizationWebhookWithBody(ctx context.Context, organizationId OrganizationId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateOrganizationWebhook Create and verify a organization webhook
	//
	// Stores the write-only secret sealed at rest and immediately attempts a
	// signed verification handshake. A failed or refused handshake leaves the
	// webhook pending; pending webhooks receive no events. Requires maintainer.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/webhooks (the `CreateOrganizationWebhook` operationId).
	CreateOrganizationWebhook(ctx context.Context, organizationId OrganizationId, body CreateOrganizationWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteOrganizationWebhook Delete a organization webhook
	//
	// Requires maintainer.
	//
	// Corresponds with DELETE /api/v1/organizations/{organizationId}/webhooks/{webhookId} (the `DeleteOrganizationWebhook` operationId).
	DeleteOrganizationWebhook(ctx context.Context, organizationId OrganizationId, webhookId WebhookId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOrganizationWebhook Read a organization webhook
	//
	// Requires maintainer. The secret is never returned.
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/webhooks/{webhookId} (the `GetOrganizationWebhook` operationId).
	GetOrganizationWebhook(ctx context.Context, organizationId OrganizationId, webhookId WebhookId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateOrganizationWebhookWithBody Update a organization webhook
	//
	// Replaces only supplied fields. A supplied secret replaces the sealed
	// secret. Changing the URL returns the webhook to pending and immediately
	// re-attempts verification. Requires maintainer.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /api/v1/organizations/{organizationId}/webhooks/{webhookId} (the `UpdateOrganizationWebhook` operationId).
	UpdateOrganizationWebhookWithBody(ctx context.Context, organizationId OrganizationId, webhookId WebhookId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateOrganizationWebhook Update a organization webhook
	//
	// Replaces only supplied fields. A supplied secret replaces the sealed
	// secret. Changing the URL returns the webhook to pending and immediately
	// re-attempts verification. Requires maintainer.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /api/v1/organizations/{organizationId}/webhooks/{webhookId} (the `UpdateOrganizationWebhook` operationId).
	UpdateOrganizationWebhook(ctx context.Context, organizationId OrganizationId, webhookId WebhookId, body UpdateOrganizationWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListOrganizationWebhookDeliveries List the webhook's last 100 deliveries
	//
	// Requires maintainer. Delivery attempts are not duplicated into the audit trail.
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/webhooks/{webhookId}/deliveries (the `ListOrganizationWebhookDeliveries` operationId).
	ListOrganizationWebhookDeliveries(ctx context.Context, organizationId OrganizationId, webhookId WebhookId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// VerifyOrganizationWebhook Re-attempt a webhook activation handshake
	//
	// Sends the signed verification payload. A 2xx response activates the
	// webhook; failure leaves it pending and records the failure. Requires maintainer.
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/webhooks/{webhookId}/verify (the `VerifyOrganizationWebhook` operationId).
	VerifyOrganizationWebhook(ctx context.Context, organizationId OrganizationId, webhookId WebhookId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListPrincipals List service principals at a scope
	//
	// Lists the principals bound to EXACTLY one scope — platform, one
	// organization, one project, or one bucket — never a subtree. Omitting
	// every filter lists the scope the caller itself stands at. Secret *metadata* only.
	// Secret values are never returned here.
	//
	// The filters authorize like any other tenancy argument: a caller naming
	// a scope it may not see is answered not-found, and a tenancy-bound
	// caller is never given more than its own binding regardless of what it
	// names (ADR-0017).
	//
	// Corresponds with GET /api/v1/principals (the `ListPrincipals` operationId).
	ListPrincipals(ctx context.Context, params *ListPrincipalsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreatePrincipalWithBody Create a service principal
	//
	// Creates a principal bound to a platform or tenancy scope, holding NO
	// secrets. It cannot authenticate until one is issued.
	//
	// Issuing is a separate, explicit call to `POST
	// /api/v1/principals/{principalId}/secrets` — the same path used for a
	// second secret and for rotation, so there is one issuance path rather
	// than a create-time special case. A principal with no secrets is an
	// ordinary state: it is also what a non-root principal is left in when its
	// last secret is revoked (ADR-0004, amended 2026-08-02).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/principals (the `CreatePrincipal` operationId).
	CreatePrincipalWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreatePrincipal Create a service principal
	//
	// Creates a principal bound to a platform or tenancy scope, holding NO
	// secrets. It cannot authenticate until one is issued.
	//
	// Issuing is a separate, explicit call to `POST
	// /api/v1/principals/{principalId}/secrets` — the same path used for a
	// second secret and for rotation, so there is one issuance path rather
	// than a create-time special case. A principal with no secrets is an
	// ordinary state: it is also what a non-root principal is left in when its
	// last secret is revoked (ADR-0004, amended 2026-08-02).
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/principals (the `CreatePrincipal` operationId).
	CreatePrincipal(ctx context.Context, body CreatePrincipalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeletePrincipal Delete a service principal and revoke its secrets
	//
	// Revokes every secret and removes the principal. This can strip a running
	// pipeline of its credentials, so clients should confirm and name the
	// impact. Deleting the caller's own principal and deleting the last root
	// principal are refused.
	//
	// Corresponds with DELETE /api/v1/principals/{principalId} (the `DeletePrincipal` operationId).
	DeletePrincipal(ctx context.Context, principalId PrincipalId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPrincipal Get a service principal
	//
	// Corresponds with GET /api/v1/principals/{principalId} (the `GetPrincipal` operationId).
	GetPrincipal(ctx context.Context, principalId PrincipalId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreatePrincipalSecretWithBody Issue a secret
	//
	// Issues a secret, and is the ONLY way any credential comes into
	// existence: creating a principal mints none, so this endpoint serves both
	// the first secret and a second one for rotation.
	//
	// A principal may hold two active secrets at once, which is what makes
	// rotation possible with no authentication gap: issue the second,
	// redeploy, then revoke the first (ADR-0004).
	//
	// Refused when two are already USABLE — revoke one first, so that
	// rotation is a deliberate sequence rather than unbounded accumulation.
	// An expired secret does not count against the cap: it grants nothing,
	// and demanding its revocation first would add a step at exactly the
	// moment someone is fixing an outage (duf-2rw).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/principals/{principalId}/secrets (the `CreatePrincipalSecret` operationId).
	CreatePrincipalSecretWithBody(ctx context.Context, principalId PrincipalId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreatePrincipalSecret Issue a secret
	//
	// Issues a secret, and is the ONLY way any credential comes into
	// existence: creating a principal mints none, so this endpoint serves both
	// the first secret and a second one for rotation.
	//
	// A principal may hold two active secrets at once, which is what makes
	// rotation possible with no authentication gap: issue the second,
	// redeploy, then revoke the first (ADR-0004).
	//
	// Refused when two are already USABLE — revoke one first, so that
	// rotation is a deliberate sequence rather than unbounded accumulation.
	// An expired secret does not count against the cap: it grants nothing,
	// and demanding its revocation first would add a step at exactly the
	// moment someone is fixing an outage (duf-2rw).
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/principals/{principalId}/secrets (the `CreatePrincipalSecret` operationId).
	CreatePrincipalSecret(ctx context.Context, principalId PrincipalId, body CreatePrincipalSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RevokePrincipalSecret Revoke a secret
	//
	// Refused when it would leave a ROOT principal without a usable,
	// never-expiring secret — secretless root leaves the instance
	// administrable by direct database access alone, and a root holding only
	// expiring secrets is the same lockout on a timer (ADR-0004, amended
	// 2026-08-02; extended by duf-2rw).
	//
	// Every other principal may be left with no secrets: a maintainer issues
	// it a replacement, so a leaked credential can be revoked immediately
	// rather than after minting its successor. Revocation is also how an
	// EXPIRED secret is cleaned up — expiry never deletes anything.
	//
	// Corresponds with DELETE /api/v1/principals/{principalId}/secrets/{secretId} (the `RevokePrincipalSecret` operationId).
	RevokePrincipalSecret(ctx context.Context, principalId PrincipalId, secretId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetScannerHealth Read scanner adapter health in detail
	//
	// Root only. `/sys/health` reports a coarse scanner state and
	// deliberately names neither the adapter nor its endpoint, because it is
	// unauthenticated. This route carries that detail for an operator
	// diagnosing why scanning stopped.
	//
	// Like the coarse state, this reports what the last interaction
	// observed rather than probing the provider while answering — a health
	// route that reaches out to a third party turns monitoring into traffic
	// against someone else's service.
	//
	// Corresponds with GET /api/v1/scanner/health (the `GetScannerHealth` operationId).
	GetScannerHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSelf Read the current principal and its server-resolved role
	//
	// Describes only the authenticated caller. The principal is resolved
	// from storage for this request, so a role or binding change is visible
	// without waiting for the access token to expire.
	//
	// Corresponds with GET /api/v1/self (the `GetSelf` operationId).
	GetSelf(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// Health Report whether this instance is initialized and able to serve
	//
	// Modelled on Vault's `/sys/health`: the status code carries the state so
	// a liveness or readiness probe needs no body parsing, and the body says
	// the same thing for a human.
	//
	// `200` — initialized, the database answers, and audit is disabled or at
	// least one configured target can be written. A partial audit failure
	// remains ready because requests can still be recorded.
	// `501` — reachable, but not initialized (Vault's code for the same
	// state). The console reads this to decide whether first run is the
	// wizard or the sign-in screen, WITHOUT posting to `/sys/init`, which would
	// claim the instance.
	// `503` — the database does not answer, OR audit is configured and no
	// target can be written. Either way nothing can be served: audit fails
	// closed, so an instance that cannot record a request cannot answer one
	// (duf-dya). This is a READINESS signal — a degraded instance should be
	// taken out of rotation, not restarted, because a restart cannot empty a
	// full disk.
	//
	// The `encryption` field never sets the status code. A degraded key
	// service does not stop a serving instance — per-write encryption never
	// calls out (ADR-0024) — and failing the probe would evict exactly the
	// replicas that are safe, when what degraded actually threatens is the
	// next process start.
	//
	// Deliberately contentless beyond that. It is unauthenticated, so it
	// names no tenancy, no principal, no host, and never carries a database
	// error string — those identify schema and infrastructure (review
	// finding 16). Disclosing initialized-or-not is already accepted by
	// ADR-0012, and unlike probing `/sys/init` to learn the same thing, this does
	// not consume the instance.
	//
	// Corresponds with GET /sys/health (the `Health` operationId).
	Health(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// InitializeWithBody Initialize an uninitialized instance
	//
	// Mints the initial administrative principal and returns its credentials
	// **exactly once**, in the response body. They are never retrievable
	// again, never logged, and the secret is hashed with argon2id on write.
	//
	// Callable only while no root principal exists; afterwards it refuses
	// permanently. A transaction-scoped singleton guard makes concurrent
	// claims atomic.
	//
	// The first-run UI wizard and unattended deployment begin with this same
	// endpoint, then use the ordinary authenticated platform endpoints. There
	// is no privileged side door — that is what allows end-to-end tests to
	// bootstrap a server without a browser (ADR-0012).
	//
	// Accepted risk, documented rather than engineered around: while
	// uninitialized, whoever reaches this endpoint first owns the deployment.
	// Do not expose an uninitialized instance publicly.
	//
	// Alongside the credentials, the response carries the recovery shares
	// (ADR-0024): a sharded proof of custody for `/sys/recovery`, shown once
	// like the credentials and verified server-side against a stored digest.
	// The share count and threshold are fixed here, at initialization —
	// there is no rekey ceremony.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /sys/init (the `Initialize` operationId).
	InitializeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// Initialize Initialize an uninitialized instance
	//
	// Mints the initial administrative principal and returns its credentials
	// **exactly once**, in the response body. They are never retrievable
	// again, never logged, and the secret is hashed with argon2id on write.
	//
	// Callable only while no root principal exists; afterwards it refuses
	// permanently. A transaction-scoped singleton guard makes concurrent
	// claims atomic.
	//
	// The first-run UI wizard and unattended deployment begin with this same
	// endpoint, then use the ordinary authenticated platform endpoints. There
	// is no privileged side door — that is what allows end-to-end tests to
	// bootstrap a server without a browser (ADR-0012).
	//
	// Accepted risk, documented rather than engineered around: while
	// uninitialized, whoever reaches this endpoint first owns the deployment.
	// Do not expose an uninitialized instance publicly.
	//
	// Alongside the credentials, the response carries the recovery shares
	// (ADR-0024): a sharded proof of custody for `/sys/recovery`, shown once
	// like the credentials and verified server-side against a stored digest.
	// The share count and threshold are fixed here, at initialization —
	// there is no rekey ceremony.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /sys/init (the `Initialize` operationId).
	Initialize(ctx context.Context, body InitializeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RecoverWithBody Recover administrative access by proving custody of the recovery shares
	//
	// Accepts the threshold number of recovery shares in one request,
	// verifies the recombined secret against the digest stored at
	// initialization, and on success mints a **fresh root principal**,
	// returning its credentials once in the response body — exactly the
	// `/sys/init` contract (ADR-0024). The shares are a proof of custody,
	// not key material: they reconstruct nothing, remain valid after use,
	// and mint a new principal rather than resurrecting an old one, so the
	// ceremony is loud and distinct in the audit trail.
	//
	// Refusals are audited distinctly: malformed or too few shares answer
	// 400, shares that recombine to the wrong secret answer 403, and an
	// instance without a verifier — never initialized, or initialized
	// before recovery existed — answers 409.
	//
	// This is an anonymous surface, so it sits behind the same per-caller
	// rate limit as the token endpoint and answers 429 outside the audit
	// seam when it is exceeded (ADR-0020's audit-amplification coupling).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /sys/recovery (the `Recover` operationId).
	RecoverWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// Recover Recover administrative access by proving custody of the recovery shares
	//
	// Accepts the threshold number of recovery shares in one request,
	// verifies the recombined secret against the digest stored at
	// initialization, and on success mints a **fresh root principal**,
	// returning its credentials once in the response body — exactly the
	// `/sys/init` contract (ADR-0024). The shares are a proof of custody,
	// not key material: they reconstruct nothing, remain valid after use,
	// and mint a new principal rather than resurrecting an old one, so the
	// ceremony is loud and distinct in the audit trail.
	//
	// Refusals are audited distinctly: malformed or too few shares answer
	// 400, shares that recombine to the wrong secret answer 403, and an
	// instance without a verifier — never initialized, or initialized
	// before recovery existed — answers 409.
	//
	// This is an anonymous surface, so it sits behind the same per-caller
	// rate limit as the token endpoint and answers 429 outside the audit
	// seam when it is exceeded (ADR-0020's audit-amplification coupling).
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /sys/recovery (the `Recover` operationId).
	Recover(ctx context.Context, body RecoverJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteSession End the session by clearing the cookie
	//
	// Corresponds with DELETE /sys/session (the `DeleteSession` operationId).
	DeleteSession(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReadSession Exchange the session cookie for the access token it holds
	//
	// Returns a live token unchanged when it has at least two minutes left.
	// An expired, validly signed token (or one nearing expiry) is renewed only
	// while its principal and originating secret remain active and its
	// preserved auth_time is within the eight-hour absolute session cap.
	// A refused renewal clears the browser-session cookie and returns 204.
	//
	// Corresponds with GET /sys/session (the `ReadSession` operationId).
	ReadSession(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateSession Persist the caller's token as an httpOnly session cookie
	//
	// The console holds its token in memory only (a bearer token in web
	// storage is readable by injected script), which made every reload a
	// sign-in. This endpoint keeps that property while letting a session
	// survive reload: the verified bearer token is set as an httpOnly,
	// SameSite=Strict cookie scoped to this path, which script cannot read.
	//
	// GET renews a token shortly before expiry while the originating secret
	// remains active, bounded by an eight-hour absolute session cap. The
	// Packer token lifetime is unchanged.
	//
	// CSRF: a cross-site form cannot set the Authorization header this
	// operation requires, and SameSite=Strict keeps the cookie off cross-site
	// requests entirely.
	//
	// Honest limit, stated rather than implied: injected script cannot read
	// the cookie, but it can drive the same exchange the console boot does.
	// The win over web storage is that no credential sits readable at rest,
	// not that a compromised page is powerless.
	//
	// Corresponds with POST /sys/session (the `CreateSession` operationId).
	CreateSession(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

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

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

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

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

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

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

func (*ClientWithResponses) CreateAuditTargetWithBodyWithResponse

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

CreateAuditTargetWithBodyWithResponse Enable an audit file target

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

Corresponds with POST /api/v1/audit/targets (the `CreateAuditTarget` operationId).

func (*ClientWithResponses) CreateAuditTargetWithResponse

func (c *ClientWithResponses) CreateAuditTargetWithResponse(ctx context.Context, body CreateAuditTargetJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAuditTargetResponse, error)

CreateAuditTargetWithResponse Enable an audit file target

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

Corresponds with POST /api/v1/audit/targets (the `CreateAuditTarget` operationId).

func (*ClientWithResponses) CreateOrganizationWebhookWithBodyWithResponse added in v0.5.0

func (c *ClientWithResponses) CreateOrganizationWebhookWithBodyWithResponse(ctx context.Context, organizationId OrganizationId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationWebhookResponse, error)

CreateOrganizationWebhookWithBodyWithResponse Create and verify a organization webhook

Stores the write-only secret sealed at rest and immediately attempts a signed verification handshake. A failed or refused handshake leaves the webhook pending; pending webhooks receive no events. Requires maintainer.

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

Corresponds with POST /api/v1/organizations/{organizationId}/webhooks (the `CreateOrganizationWebhook` operationId).

func (*ClientWithResponses) CreateOrganizationWebhookWithResponse added in v0.5.0

func (c *ClientWithResponses) CreateOrganizationWebhookWithResponse(ctx context.Context, organizationId OrganizationId, body CreateOrganizationWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationWebhookResponse, error)

CreateOrganizationWebhookWithResponse Create and verify a organization webhook

Stores the write-only secret sealed at rest and immediately attempts a signed verification handshake. A failed or refused handshake leaves the webhook pending; pending webhooks receive no events. Requires maintainer.

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

Corresponds with POST /api/v1/organizations/{organizationId}/webhooks (the `CreateOrganizationWebhook` operationId).

func (*ClientWithResponses) CreateOrganizationWithBodyWithResponse

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

CreateOrganizationWithBodyWithResponse Create an organization

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

Corresponds with POST /api/v1/organizations (the `CreateOrganization` operationId).

func (*ClientWithResponses) CreateOrganizationWithResponse

func (c *ClientWithResponses) CreateOrganizationWithResponse(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error)

CreateOrganizationWithResponse Create an organization

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

Corresponds with POST /api/v1/organizations (the `CreateOrganization` operationId).

func (*ClientWithResponses) CreatePluginImportWithBodyWithResponse added in v0.5.0

func (c *ClientWithResponses) CreatePluginImportWithBodyWithResponse(ctx context.Context, organizationId OrganizationId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePluginImportResponse, error)

CreatePluginImportWithBodyWithResponse Queue an import of plugin versions from releases.hashicorp.com

Requires `publisher`. The job verifies each version's SHA256SUMS against HashiCorp's pinned signing key before storing anything (ADR-0027 A3). A first import reserves the plugin's name for its source until the job finishes.

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

Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/imports (the `CreatePluginImport` operationId).

func (*ClientWithResponses) CreatePluginImportWithResponse added in v0.5.0

func (c *ClientWithResponses) CreatePluginImportWithResponse(ctx context.Context, organizationId OrganizationId, body CreatePluginImportJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePluginImportResponse, error)

CreatePluginImportWithResponse Queue an import of plugin versions from releases.hashicorp.com

Requires `publisher`. The job verifies each version's SHA256SUMS against HashiCorp's pinned signing key before storing anything (ADR-0027 A3). A first import reserves the plugin's name for its source until the job finishes.

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

Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/imports (the `CreatePluginImport` operationId).

func (*ClientWithResponses) CreatePrincipalSecretWithBodyWithResponse

func (c *ClientWithResponses) CreatePrincipalSecretWithBodyWithResponse(ctx context.Context, principalId PrincipalId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePrincipalSecretResponse, error)

CreatePrincipalSecretWithBodyWithResponse Issue a secret

Issues a secret, and is the ONLY way any credential comes into existence: creating a principal mints none, so this endpoint serves both the first secret and a second one for rotation.

A principal may hold two active secrets at once, which is what makes rotation possible with no authentication gap: issue the second, redeploy, then revoke the first (ADR-0004).

Refused when two are already USABLE — revoke one first, so that rotation is a deliberate sequence rather than unbounded accumulation. An expired secret does not count against the cap: it grants nothing, and demanding its revocation first would add a step at exactly the moment someone is fixing an outage (duf-2rw).

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

Corresponds with POST /api/v1/principals/{principalId}/secrets (the `CreatePrincipalSecret` operationId).

func (*ClientWithResponses) CreatePrincipalSecretWithResponse

func (c *ClientWithResponses) CreatePrincipalSecretWithResponse(ctx context.Context, principalId PrincipalId, body CreatePrincipalSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePrincipalSecretResponse, error)

CreatePrincipalSecretWithResponse Issue a secret

Issues a secret, and is the ONLY way any credential comes into existence: creating a principal mints none, so this endpoint serves both the first secret and a second one for rotation.

A principal may hold two active secrets at once, which is what makes rotation possible with no authentication gap: issue the second, redeploy, then revoke the first (ADR-0004).

Refused when two are already USABLE — revoke one first, so that rotation is a deliberate sequence rather than unbounded accumulation. An expired secret does not count against the cap: it grants nothing, and demanding its revocation first would add a step at exactly the moment someone is fixing an outage (duf-2rw).

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

Corresponds with POST /api/v1/principals/{principalId}/secrets (the `CreatePrincipalSecret` operationId).

func (*ClientWithResponses) CreatePrincipalWithBodyWithResponse

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

CreatePrincipalWithBodyWithResponse Create a service principal

Creates a principal bound to a platform or tenancy scope, holding NO secrets. It cannot authenticate until one is issued.

Issuing is a separate, explicit call to `POST /api/v1/principals/{principalId}/secrets` — the same path used for a second secret and for rotation, so there is one issuance path rather than a create-time special case. A principal with no secrets is an ordinary state: it is also what a non-root principal is left in when its last secret is revoked (ADR-0004, amended 2026-08-02).

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

Corresponds with POST /api/v1/principals (the `CreatePrincipal` operationId).

func (*ClientWithResponses) CreatePrincipalWithResponse

func (c *ClientWithResponses) CreatePrincipalWithResponse(ctx context.Context, body CreatePrincipalJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePrincipalResponse, error)

CreatePrincipalWithResponse Create a service principal

Creates a principal bound to a platform or tenancy scope, holding NO secrets. It cannot authenticate until one is issued.

Issuing is a separate, explicit call to `POST /api/v1/principals/{principalId}/secrets` — the same path used for a second secret and for rotation, so there is one issuance path rather than a create-time special case. A principal with no secrets is an ordinary state: it is also what a non-root principal is left in when its last secret is revoked (ADR-0004, amended 2026-08-02).

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

Corresponds with POST /api/v1/principals (the `CreatePrincipal` operationId).

func (*ClientWithResponses) CreateProjectWithBodyWithResponse

func (c *ClientWithResponses) CreateProjectWithBodyWithResponse(ctx context.Context, organizationId OrganizationId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)

CreateProjectWithBodyWithResponse Create a project

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

Corresponds with POST /api/v1/organizations/{organizationId}/projects (the `CreateProject` operationId).

func (*ClientWithResponses) CreateProjectWithResponse

func (c *ClientWithResponses) CreateProjectWithResponse(ctx context.Context, organizationId OrganizationId, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)

CreateProjectWithResponse Create a project

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

Corresponds with POST /api/v1/organizations/{organizationId}/projects (the `CreateProject` operationId).

func (*ClientWithResponses) CreateSessionWithResponse

func (c *ClientWithResponses) CreateSessionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CreateSessionResponse, error)

CreateSessionWithResponse Persist the caller's token as an httpOnly session cookie

The console holds its token in memory only (a bearer token in web storage is readable by injected script), which made every reload a sign-in. This endpoint keeps that property while letting a session survive reload: the verified bearer token is set as an httpOnly, SameSite=Strict cookie scoped to this path, which script cannot read.

GET renews a token shortly before expiry while the originating secret remains active, bounded by an eight-hour absolute session cap. The Packer token lifetime is unchanged.

CSRF: a cross-site form cannot set the Authorization header this operation requires, and SameSite=Strict keeps the cookie off cross-site requests entirely.

Honest limit, stated rather than implied: injected script cannot read the cookie, but it can drive the same exchange the console boot does. The win over web storage is that no credential sits readable at rest, not that a compromised page is powerless.

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

Corresponds with POST /sys/session (the `CreateSession` operationId).

func (*ClientWithResponses) CreateWebhookWithBodyWithResponse

func (c *ClientWithResponses) CreateWebhookWithBodyWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWebhookResponse, error)

CreateWebhookWithBodyWithResponse Create and verify a project webhook

Stores the write-only secret sealed at rest and immediately attempts a signed verification handshake. A failed or refused handshake leaves the webhook pending; pending webhooks receive no events. Requires maintainer.

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

Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks (the `CreateWebhook` operationId).

func (*ClientWithResponses) CreateWebhookWithResponse

func (c *ClientWithResponses) CreateWebhookWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, body CreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWebhookResponse, error)

CreateWebhookWithResponse Create and verify a project webhook

Stores the write-only secret sealed at rest and immediately attempts a signed verification handshake. A failed or refused handshake leaves the webhook pending; pending webhooks receive no events. Requires maintainer.

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

Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks (the `CreateWebhook` operationId).

func (*ClientWithResponses) DeleteAuditTargetWithResponse

func (c *ClientWithResponses) DeleteAuditTargetWithResponse(ctx context.Context, targetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteAuditTargetResponse, error)

DeleteAuditTargetWithResponse Disable an audit file target

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

Corresponds with DELETE /api/v1/audit/targets/{targetId} (the `DeleteAuditTarget` operationId).

func (*ClientWithResponses) DeleteBagDropAssociationWithResponse

func (c *ClientWithResponses) DeleteBagDropAssociationWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, bucketName string, reqEditors ...RequestEditorFn) (*DeleteBagDropAssociationResponse, error)

DeleteBagDropAssociationWithResponse Stop mirroring a bucket through Bag Drop

This is the consent boundary for destination-side deletion. An association never attempted is removed immediately; otherwise it is retained as pending removal for the reconciler. Requires maintainer.

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

Corresponds with DELETE /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/buckets/{bucketName} (the `DeleteBagDropAssociation` operationId).

func (*ClientWithResponses) DeleteBagDropConfigWithResponse

func (c *ClientWithResponses) DeleteBagDropConfigWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*DeleteBagDropConfigResponse, error)

DeleteBagDropConfigWithResponse Remove a project's Bag Drop destination configuration

Refuses while enabled or while destination cleanup is outstanding. Clean associations which have never been attempted cascade with the configuration.

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

Corresponds with DELETE /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop (the `DeleteBagDropConfig` operationId).

func (*ClientWithResponses) DeleteOrganizationWebhookWithResponse added in v0.5.0

func (c *ClientWithResponses) DeleteOrganizationWebhookWithResponse(ctx context.Context, organizationId OrganizationId, webhookId WebhookId, reqEditors ...RequestEditorFn) (*DeleteOrganizationWebhookResponse, error)

DeleteOrganizationWebhookWithResponse Delete a organization webhook

Requires maintainer.

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

Corresponds with DELETE /api/v1/organizations/{organizationId}/webhooks/{webhookId} (the `DeleteOrganizationWebhook` operationId).

func (*ClientWithResponses) DeleteOrganizationWithResponse

func (c *ClientWithResponses) DeleteOrganizationWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*DeleteOrganizationResponse, error)

DeleteOrganizationWithResponse Delete an empty organization

Refused while the organization still contains projects, organization-scoped principals, or an enabled plugin registry. Deleting a tenant is not an operation that should cascade silently through a registry's contents.

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

Corresponds with DELETE /api/v1/organizations/{organizationId} (the `DeleteOrganization` operationId).

func (*ClientWithResponses) DeletePinWithResponse

func (c *ClientWithResponses) DeletePinWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, bucketName string, reqEditors ...RequestEditorFn) (*DeletePinResponse, error)

DeletePinWithResponse Unpin a bucket

Idempotent — unpinning something not pinned succeeds. Requires the builder role on this project. A tenancy the caller may not see answers 404, indistinguishable from one that does not exist.

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

Corresponds with DELETE /api/v1/organizations/{organizationId}/projects/{projectId}/pins/{bucketName} (the `DeletePin` operationId).

func (*ClientWithResponses) DeletePluginImportWithResponse added in v0.5.0

func (c *ClientWithResponses) DeletePluginImportWithResponse(ctx context.Context, organizationId OrganizationId, importId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeletePluginImportResponse, error)

DeletePluginImportWithResponse Clear a job

Deletes the job's record. A queued job is taken out of the queue and never runs; a finished job's outcomes are gone, and the versions it mirrored are unchanged. A running job cannot be cleared. Requires `publisher`.

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

Corresponds with DELETE /api/v1/organizations/{organizationId}/plugin-registry/imports/{importId} (the `DeletePluginImport` operationId).

func (*ClientWithResponses) DeletePluginVersionWithResponse added in v0.5.0

func (c *ClientWithResponses) DeletePluginVersionWithResponse(ctx context.Context, organizationId OrganizationId, pluginName PluginName, version PluginVersionNumber, reqEditors ...RequestEditorFn) (*DeletePluginVersionResponse, error)

DeletePluginVersionWithResponse Remove a plugin version and its files

Terminal. Removing a plugin's last version removes the plugin, which frees its name for another source; a revoked version still holds it. Requires `publisher`.

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

Corresponds with DELETE /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/versions/{version} (the `DeletePluginVersion` operationId).

func (*ClientWithResponses) DeletePrincipalWithResponse

func (c *ClientWithResponses) DeletePrincipalWithResponse(ctx context.Context, principalId PrincipalId, reqEditors ...RequestEditorFn) (*DeletePrincipalResponse, error)

DeletePrincipalWithResponse Delete a service principal and revoke its secrets

Revokes every secret and removes the principal. This can strip a running pipeline of its credentials, so clients should confirm and name the impact. Deleting the caller's own principal and deleting the last root principal are refused.

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

Corresponds with DELETE /api/v1/principals/{principalId} (the `DeletePrincipal` operationId).

func (*ClientWithResponses) DeleteProjectWithResponse

func (c *ClientWithResponses) DeleteProjectWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*DeleteProjectResponse, error)

DeleteProjectWithResponse Delete an empty project

Refused while the project still contains buckets.

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

Corresponds with DELETE /api/v1/organizations/{organizationId}/projects/{projectId} (the `DeleteProject` operationId).

func (*ClientWithResponses) DeleteSessionWithResponse

func (c *ClientWithResponses) DeleteSessionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteSessionResponse, error)

DeleteSessionWithResponse End the session by clearing the cookie

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

Corresponds with DELETE /sys/session (the `DeleteSession` operationId).

func (*ClientWithResponses) DeleteWebhookWithResponse

func (c *ClientWithResponses) DeleteWebhookWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId, reqEditors ...RequestEditorFn) (*DeleteWebhookResponse, error)

DeleteWebhookWithResponse Delete a project webhook

Requires maintainer.

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

Corresponds with DELETE /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId} (the `DeleteWebhook` operationId).

func (*ClientWithResponses) DisableBagDropWithResponse

func (c *ClientWithResponses) DisableBagDropWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*DisableBagDropResponse, error)

DisableBagDropWithResponse Disable the configured destination without contacting it

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

Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/disable (the `DisableBagDrop` operationId).

func (*ClientWithResponses) DisablePluginRegistryWithResponse added in v0.5.0

func (c *ClientWithResponses) DisablePluginRegistryWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*DisablePluginRegistryResponse, error)

DisablePluginRegistryWithResponse Disable and delete the organization plugin registry

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

Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/disable (the `DisablePluginRegistry` operationId).

func (*ClientWithResponses) DownloadPluginBundleWithResponse added in v0.5.0

func (c *ClientWithResponses) DownloadPluginBundleWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*DownloadPluginBundleResponse, error)

DownloadPluginBundleWithResponse Download the last successful plugin bundle

Requires `maintainer`.

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

Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/bundle/download (the `DownloadPluginBundle` operationId).

func (*ClientWithResponses) EnableBagDropWithBodyWithResponse

func (c *ClientWithResponses) EnableBagDropWithBodyWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EnableBagDropResponse, error)

EnableBagDropWithBodyWithResponse Verify and enable the configured destination

Without a body, re-runs destination resolution against the stored configuration and enables it on success. Resolution failure answers 409 with the verification result and leaves the stored configuration unchanged.

With a body, validates the supplied configuration and resolves the destination against it before writing anything. On success the supplied configuration is persisted and enabled atomically. Resolution failure answers 409 with the verification result and persists nothing: no configuration is created, and any existing configuration is left byte-for-byte unchanged and remains enabled if it was enabled.

`client_secret` is required when no configuration exists. On update it may be omitted to retain the existing sealed secret.

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

Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/enable (the `EnableBagDrop` operationId).

func (*ClientWithResponses) EnableBagDropWithResponse

func (c *ClientWithResponses) EnableBagDropWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, body EnableBagDropJSONRequestBody, reqEditors ...RequestEditorFn) (*EnableBagDropResponse, error)

EnableBagDropWithResponse Verify and enable the configured destination

Without a body, re-runs destination resolution against the stored configuration and enables it on success. Resolution failure answers 409 with the verification result and leaves the stored configuration unchanged.

With a body, validates the supplied configuration and resolves the destination against it before writing anything. On success the supplied configuration is persisted and enabled atomically. Resolution failure answers 409 with the verification result and persists nothing: no configuration is created, and any existing configuration is left byte-for-byte unchanged and remains enabled if it was enabled.

`client_secret` is required when no configuration exists. On update it may be omitted to retain the existing sealed secret.

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

Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/enable (the `EnableBagDrop` operationId).

func (*ClientWithResponses) EnablePluginRegistryWithResponse added in v0.5.0

func (c *ClientWithResponses) EnablePluginRegistryWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*EnablePluginRegistryResponse, error)

EnablePluginRegistryWithResponse Enable the organization plugin registry

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

Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/enable (the `EnablePluginRegistry` operationId).

func (*ClientWithResponses) ExportPluginBundleWithResponse added in v0.5.0

func (c *ClientWithResponses) ExportPluginBundleWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*ExportPluginBundleResponse, error)

ExportPluginBundleWithResponse Queue an export of the whole plugin registry

Requires `maintainer`.

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

Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/bundle/export (the `ExportPluginBundle` operationId).

func (*ClientWithResponses) ExposePluginRegistryWithResponse added in v0.5.0

func (c *ClientWithResponses) ExposePluginRegistryWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*ExposePluginRegistryResponse, error)

ExposePluginRegistryWithResponse Expose the organization plugin registry for anonymous reads

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

Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/expose (the `ExposePluginRegistry` operationId).

func (*ClientWithResponses) GetBagDropConfigWithResponse

func (c *ClientWithResponses) GetBagDropConfigWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*GetBagDropConfigResponse, error)

GetBagDropConfigWithResponse Read a project's Bag Drop destination configuration

Returns only non-secret destination fields. The client secret is never returned; `secret_set` reports that the write-only credential exists. Requires maintainer on this project. A tenancy the caller may not see answers 404, indistinguishable from one that does not exist.

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

Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop (the `GetBagDropConfig` operationId).

func (*ClientWithResponses) GetBagDropStatusWithResponse

func (c *ClientWithResponses) GetBagDropStatusWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*GetBagDropStatusResponse, error)

GetBagDropStatusWithResponse Read Bag Drop dashboard status

Returns configured false with an empty association list when no Bag Drop configuration exists. This is the reader-visible Bag Drop surface and never returns credential material.

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

Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/status (the `GetBagDropStatus` operationId).

func (*ClientWithResponses) GetBuildFindingsWithResponse added in v0.4.2

func (c *ClientWithResponses) GetBuildFindingsWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, bucketName string, fingerprint string, buildId string, reqEditors ...RequestEditorFn) (*GetBuildFindingsResponse, error)

GetBuildFindingsWithResponse Get stored findings for a build

Returns the current successful scan and its advisories without downloading the build's paginated package inventory. An existing build without a current successful scan returns scanned=false, run=null and an empty advisory list.

Requires the reader role on this project. A tenancy the caller may not see, or an unknown build, answers 404. The two are deliberately indistinguishable because existence is a disclosure.

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

Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/buckets/{bucketName}/versions/{fingerprint}/builds/{buildId}/findings (the `GetBuildFindings` operationId).

func (*ClientWithResponses) GetEncryptionWithResponse

func (c *ClientWithResponses) GetEncryptionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEncryptionResponse, error)

GetEncryptionWithResponse Read keyring state and the remembered encryption health

Root-only, like the audit target list: KEK references and key versions are rotation bookkeeping, not something every principal needs. The keyring listing carries no key material — only each entry's purpose, version, the KEK version that wrapped it, and when that wrapping was produced. `state` is the same remembered heartbeat answer `/sys/health` reports; after rotating the KEK at the key service, entries whose `kek_ref` still names the old version are the rows `rewrap` exists for.

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

Corresponds with GET /api/v1/encryption (the `GetEncryption` operationId).

func (*ClientWithResponses) GetInstanceWithResponse

func (c *ClientWithResponses) GetInstanceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetInstanceResponse, error)

GetInstanceWithResponse Read build and backing-service state for this instance

Authenticated because version and backing-service state are useful reconnaissance. Every valid principal may read it. Values come from the running binary, the mounted route table, and the same remembered service state used by `/sys/health`; no probe is performed just for this response.

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

Corresponds with GET /api/v1/instance (the `GetInstance` operationId).

func (*ClientWithResponses) GetOrganizationWebhookWithResponse added in v0.5.0

func (c *ClientWithResponses) GetOrganizationWebhookWithResponse(ctx context.Context, organizationId OrganizationId, webhookId WebhookId, reqEditors ...RequestEditorFn) (*GetOrganizationWebhookResponse, error)

GetOrganizationWebhookWithResponse Read a organization webhook

Requires maintainer. The secret is never returned.

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

Corresponds with GET /api/v1/organizations/{organizationId}/webhooks/{webhookId} (the `GetOrganizationWebhook` operationId).

func (*ClientWithResponses) GetOrganizationWithResponse

func (c *ClientWithResponses) GetOrganizationWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*GetOrganizationResponse, error)

GetOrganizationWithResponse Get an organization

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

Corresponds with GET /api/v1/organizations/{organizationId} (the `GetOrganization` operationId).

func (*ClientWithResponses) GetPluginBundleImportWithResponse added in v0.5.0

func (c *ClientWithResponses) GetPluginBundleImportWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*GetPluginBundleImportResponse, error)

GetPluginBundleImportWithResponse Get the current plugin bundle import

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

Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/bundle/import (the `GetPluginBundleImport` operationId).

func (*ClientWithResponses) GetPluginBundleWithResponse added in v0.5.0

func (c *ClientWithResponses) GetPluginBundleWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*GetPluginBundleResponse, error)

GetPluginBundleWithResponse Get the current plugin bundle export

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

Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/bundle (the `GetPluginBundle` operationId).

func (*ClientWithResponses) GetPluginDefaultPlatformsWithResponse added in v0.5.0

func (c *ClientWithResponses) GetPluginDefaultPlatformsWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*GetPluginDefaultPlatformsResponse, error)

GetPluginDefaultPlatformsWithResponse Platforms a first import of a plugin selects

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

Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/default-platforms (the `GetPluginDefaultPlatforms` operationId).

func (*ClientWithResponses) GetPluginDownloadsWithResponse added in v0.5.0

func (c *ClientWithResponses) GetPluginDownloadsWithResponse(ctx context.Context, organizationId OrganizationId, pluginName PluginName, reqEditors ...RequestEditorFn) (*GetPluginDownloadsResponse, error)

GetPluginDownloadsWithResponse Get a plugin's download counts

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

Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/downloads (the `GetPluginDownloads` operationId).

func (*ClientWithResponses) GetPluginImportWithResponse added in v0.5.0

func (c *ClientWithResponses) GetPluginImportWithResponse(ctx context.Context, organizationId OrganizationId, importId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetPluginImportResponse, error)

GetPluginImportWithResponse An import job and the outcome of each version

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

Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/imports/{importId} (the `GetPluginImport` operationId).

func (*ClientWithResponses) GetPluginPruneWithResponse added in v0.5.0

func (c *ClientWithResponses) GetPluginPruneWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*GetPluginPruneResponse, error)

GetPluginPruneWithResponse The job-pruning schedule and what a run would clear now

Requires `maintainer`.

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

Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/prune (the `GetPluginPrune` operationId).

func (*ClientWithResponses) GetPluginRegistryWithResponse added in v0.5.0

func (c *ClientWithResponses) GetPluginRegistryWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*GetPluginRegistryResponse, error)

GetPluginRegistryWithResponse Read the organization plugin registry lifecycle state

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

Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry (the `GetPluginRegistry` operationId).

func (*ClientWithResponses) GetPrincipalWithResponse

func (c *ClientWithResponses) GetPrincipalWithResponse(ctx context.Context, principalId PrincipalId, reqEditors ...RequestEditorFn) (*GetPrincipalResponse, error)

GetPrincipalWithResponse Get a service principal

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

Corresponds with GET /api/v1/principals/{principalId} (the `GetPrincipal` operationId).

func (*ClientWithResponses) GetProjectWithResponse

func (c *ClientWithResponses) GetProjectWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*GetProjectResponse, error)

GetProjectWithResponse Get a project

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

Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId} (the `GetProject` operationId).

func (*ClientWithResponses) GetScannerHealthWithResponse

func (c *ClientWithResponses) GetScannerHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetScannerHealthResponse, error)

GetScannerHealthWithResponse Read scanner adapter health in detail

Root only. `/sys/health` reports a coarse scanner state and deliberately names neither the adapter nor its endpoint, because it is unauthenticated. This route carries that detail for an operator diagnosing why scanning stopped.

Like the coarse state, this reports what the last interaction observed rather than probing the provider while answering — a health route that reaches out to a third party turns monitoring into traffic against someone else's service.

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

Corresponds with GET /api/v1/scanner/health (the `GetScannerHealth` operationId).

func (*ClientWithResponses) GetSelfWithResponse

func (c *ClientWithResponses) GetSelfWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSelfResponse, error)

GetSelfWithResponse Read the current principal and its server-resolved role

Describes only the authenticated caller. The principal is resolved from storage for this request, so a role or binding change is visible without waiting for the access token to expire.

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

Corresponds with GET /api/v1/self (the `GetSelf` operationId).

func (*ClientWithResponses) GetVersionFindingsSummaryWithResponse added in v0.4.2

func (c *ClientWithResponses) GetVersionFindingsSummaryWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, bucketName string, fingerprint string, reqEditors ...RequestEditorFn) (*GetVersionFindingsSummaryResponse, error)

GetVersionFindingsSummaryWithResponse Get stored findings summaries for a version

Returns the version rollup and every build without downloading package inventories or individual findings. An absent version or build summary means no current successful scan; it is never rendered as an empty scan.

Requires the reader role on this project. A tenancy the caller may not see answers 404, indistinguishable from one that does not exist.

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

Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/buckets/{bucketName}/versions/{fingerprint}/findings-summary (the `GetVersionFindingsSummary` operationId).

func (*ClientWithResponses) GetWebhookWithResponse

func (c *ClientWithResponses) GetWebhookWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId, reqEditors ...RequestEditorFn) (*GetWebhookResponse, error)

GetWebhookWithResponse Read a project webhook

Requires maintainer. The secret is never returned.

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

Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId} (the `GetWebhook` operationId).

func (*ClientWithResponses) HealthWithResponse

func (c *ClientWithResponses) HealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthResponse, error)

HealthWithResponse Report whether this instance is initialized and able to serve

Modelled on Vault's `/sys/health`: the status code carries the state so a liveness or readiness probe needs no body parsing, and the body says the same thing for a human.

`200` — initialized, the database answers, and audit is disabled or at least one configured target can be written. A partial audit failure remains ready because requests can still be recorded. `501` — reachable, but not initialized (Vault's code for the same state). The console reads this to decide whether first run is the wizard or the sign-in screen, WITHOUT posting to `/sys/init`, which would claim the instance. `503` — the database does not answer, OR audit is configured and no target can be written. Either way nothing can be served: audit fails closed, so an instance that cannot record a request cannot answer one (duf-dya). This is a READINESS signal — a degraded instance should be taken out of rotation, not restarted, because a restart cannot empty a full disk.

The `encryption` field never sets the status code. A degraded key service does not stop a serving instance — per-write encryption never calls out (ADR-0024) — and failing the probe would evict exactly the replicas that are safe, when what degraded actually threatens is the next process start.

Deliberately contentless beyond that. It is unauthenticated, so it names no tenancy, no principal, no host, and never carries a database error string — those identify schema and infrastructure (review finding 16). Disclosing initialized-or-not is already accepted by ADR-0012, and unlike probing `/sys/init` to learn the same thing, this does not consume the instance.

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

Corresponds with GET /sys/health (the `Health` operationId).

func (*ClientWithResponses) ImportPluginBundleWithBodyWithResponse added in v0.5.0

func (c *ClientWithResponses) ImportPluginBundleWithBodyWithResponse(ctx context.Context, organizationId OrganizationId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportPluginBundleResponse, error)

ImportPluginBundleWithBodyWithResponse Upload a plugin bundle and queue its import

Requires `maintainer`. The bundle is stored and read by a background job that publishes each version as an upload: a version already held is skipped, one held with different checksums is reported as a mismatch, a version whose manifest origin is releases.hashicorp.com is verified against the HashiCorp key and refused when the signature is missing or does not verify, and a plugin held by another source is refused (ADR-0029). The request is bounded by DFBG_PLUGIN_MAX_UPLOAD_BYTES, shared with plugin uploads.

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

Corresponds with PUT /api/v1/organizations/{organizationId}/plugin-registry/bundle/import (the `ImportPluginBundle` operationId).

func (*ClientWithResponses) InitializeWithBodyWithResponse

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

InitializeWithBodyWithResponse Initialize an uninitialized instance

Mints the initial administrative principal and returns its credentials **exactly once**, in the response body. They are never retrievable again, never logged, and the secret is hashed with argon2id on write.

Callable only while no root principal exists; afterwards it refuses permanently. A transaction-scoped singleton guard makes concurrent claims atomic.

The first-run UI wizard and unattended deployment begin with this same endpoint, then use the ordinary authenticated platform endpoints. There is no privileged side door — that is what allows end-to-end tests to bootstrap a server without a browser (ADR-0012).

Accepted risk, documented rather than engineered around: while uninitialized, whoever reaches this endpoint first owns the deployment. Do not expose an uninitialized instance publicly.

Alongside the credentials, the response carries the recovery shares (ADR-0024): a sharded proof of custody for `/sys/recovery`, shown once like the credentials and verified server-side against a stored digest. The share count and threshold are fixed here, at initialization — there is no rekey ceremony.

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

Corresponds with POST /sys/init (the `Initialize` operationId).

func (*ClientWithResponses) InitializeWithResponse

func (c *ClientWithResponses) InitializeWithResponse(ctx context.Context, body InitializeJSONRequestBody, reqEditors ...RequestEditorFn) (*InitializeResponse, error)

InitializeWithResponse Initialize an uninitialized instance

Mints the initial administrative principal and returns its credentials **exactly once**, in the response body. They are never retrievable again, never logged, and the secret is hashed with argon2id on write.

Callable only while no root principal exists; afterwards it refuses permanently. A transaction-scoped singleton guard makes concurrent claims atomic.

The first-run UI wizard and unattended deployment begin with this same endpoint, then use the ordinary authenticated platform endpoints. There is no privileged side door — that is what allows end-to-end tests to bootstrap a server without a browser (ADR-0012).

Accepted risk, documented rather than engineered around: while uninitialized, whoever reaches this endpoint first owns the deployment. Do not expose an uninitialized instance publicly.

Alongside the credentials, the response carries the recovery shares (ADR-0024): a sharded proof of custody for `/sys/recovery`, shown once like the credentials and verified server-side against a stored digest. The share count and threshold are fixed here, at initialization — there is no rekey ceremony.

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

Corresponds with POST /sys/init (the `Initialize` operationId).

func (*ClientWithResponses) ListAuditTargetsWithResponse

func (c *ClientWithResponses) ListAuditTargetsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAuditTargetsResponse, error)

ListAuditTargetsWithResponse List configured audit file targets and their health

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

Corresponds with GET /api/v1/audit/targets (the `ListAuditTargets` operationId).

func (*ClientWithResponses) ListBagDropAssociationsWithResponse

func (c *ClientWithResponses) ListBagDropAssociationsWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*ListBagDropAssociationsResponse, error)

ListBagDropAssociationsWithResponse List buckets selected for Bag Drop

Requires maintainer on this project.

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

Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/buckets (the `ListBagDropAssociations` operationId).

func (*ClientWithResponses) ListHashicorpPluginVersionsWithResponse added in v0.5.0

func (c *ClientWithResponses) ListHashicorpPluginVersionsWithResponse(ctx context.Context, organizationId OrganizationId, product string, params *ListHashicorpPluginVersionsParams, reqEditors ...RequestEditorFn) (*ListHashicorpPluginVersionsResponse, error)

ListHashicorpPluginVersionsWithResponse One page of a plugin's releases, newest first

Requires `publisher`.

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

Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/catalogue/hashicorp/{product} (the `ListHashicorpPluginVersions` operationId).

func (*ClientWithResponses) ListHashicorpPluginsWithResponse added in v0.5.0

func (c *ClientWithResponses) ListHashicorpPluginsWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*ListHashicorpPluginsResponse, error)

ListHashicorpPluginsWithResponse Packer plugins published on releases.hashicorp.com

Requires `publisher`, because reading it makes dufflebag call releases.hashicorp.com.

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

Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/catalogue/hashicorp (the `ListHashicorpPlugins` operationId).

func (*ClientWithResponses) ListOrganizationWebhookDeliveriesWithResponse added in v0.5.0

func (c *ClientWithResponses) ListOrganizationWebhookDeliveriesWithResponse(ctx context.Context, organizationId OrganizationId, webhookId WebhookId, reqEditors ...RequestEditorFn) (*ListOrganizationWebhookDeliveriesResponse, error)

ListOrganizationWebhookDeliveriesWithResponse List the webhook's last 100 deliveries

Requires maintainer. Delivery attempts are not duplicated into the audit trail.

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

Corresponds with GET /api/v1/organizations/{organizationId}/webhooks/{webhookId}/deliveries (the `ListOrganizationWebhookDeliveries` operationId).

func (*ClientWithResponses) ListOrganizationWebhooksWithResponse added in v0.5.0

func (c *ClientWithResponses) ListOrganizationWebhooksWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*ListOrganizationWebhooksResponse, error)

ListOrganizationWebhooksWithResponse List an organization's own webhooks

Requires maintainer on this organization. Secrets are never returned.

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

Corresponds with GET /api/v1/organizations/{organizationId}/webhooks (the `ListOrganizationWebhooks` operationId).

func (*ClientWithResponses) ListOrganizationsWithResponse

func (c *ClientWithResponses) ListOrganizationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListOrganizationsResponse, error)

ListOrganizationsWithResponse List organizations visible to the caller

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

Corresponds with GET /api/v1/organizations (the `ListOrganizations` operationId).

func (*ClientWithResponses) ListPinsWithResponse

func (c *ClientWithResponses) ListPinsWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*ListPinsResponse, error)

ListPinsWithResponse List pinned buckets for a project

Pinned buckets for this project. Pins are per **project**, not per principal — a pinned set is the project's shared answer to which buckets matter, so pinning changes what every project member sees (ADR-0015).

A pin cannot outlive its bucket: deleting a bucket removes any pin to it, enforced by a foreign key rather than by application code. The alternative — tolerating a pin as a soft reference — was rejected because it puts a card in the gallery with no data behind it, and every reader then has to handle that state. Pins live in the same database as buckets, so the constraint is free.

Requires the reader role on this project. A tenancy the caller may not see answers 404, indistinguishable from one that does not exist.

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

Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/pins (the `ListPins` operationId).

func (*ClientWithResponses) ListPluginImportsWithResponse added in v0.5.0

func (c *ClientWithResponses) ListPluginImportsWithResponse(ctx context.Context, organizationId OrganizationId, params *ListPluginImportsParams, reqEditors ...RequestEditorFn) (*ListPluginImportsResponse, error)

ListPluginImportsWithResponse The organization's jobs, newest first

Imports, syncs and uploads alike. Readable by `reader`.

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

Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/imports (the `ListPluginImports` operationId).

func (*ClientWithResponses) ListPluginVersionsWithResponse added in v0.5.0

func (c *ClientWithResponses) ListPluginVersionsWithResponse(ctx context.Context, organizationId OrganizationId, pluginName PluginName, reqEditors ...RequestEditorFn) (*ListPluginVersionsResponse, error)

ListPluginVersionsWithResponse List a plugin's versions and the platforms each one serves

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

Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/versions (the `ListPluginVersions` operationId).

func (*ClientWithResponses) ListPluginsWithResponse added in v0.5.0

func (c *ClientWithResponses) ListPluginsWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*ListPluginsResponse, error)

ListPluginsWithResponse List the organization's plugins

Empty when the registry is not enabled.

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

Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/plugins (the `ListPlugins` operationId).

func (*ClientWithResponses) ListPrincipalsWithResponse

func (c *ClientWithResponses) ListPrincipalsWithResponse(ctx context.Context, params *ListPrincipalsParams, reqEditors ...RequestEditorFn) (*ListPrincipalsResponse, error)

ListPrincipalsWithResponse List service principals at a scope

Lists the principals bound to EXACTLY one scope — platform, one organization, one project, or one bucket — never a subtree. Omitting every filter lists the scope the caller itself stands at. Secret *metadata* only. Secret values are never returned here.

The filters authorize like any other tenancy argument: a caller naming a scope it may not see is answered not-found, and a tenancy-bound caller is never given more than its own binding regardless of what it names (ADR-0017).

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

Corresponds with GET /api/v1/principals (the `ListPrincipals` operationId).

func (*ClientWithResponses) ListProjectsWithResponse

func (c *ClientWithResponses) ListProjectsWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*ListProjectsResponse, error)

ListProjectsWithResponse List projects in an organization

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

Corresponds with GET /api/v1/organizations/{organizationId}/projects (the `ListProjects` operationId).

func (*ClientWithResponses) ListWebhookDeliveriesWithResponse

func (c *ClientWithResponses) ListWebhookDeliveriesWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId, reqEditors ...RequestEditorFn) (*ListWebhookDeliveriesResponse, error)

ListWebhookDeliveriesWithResponse List the webhook's last 100 deliveries

Requires maintainer. Delivery attempts are not duplicated into the audit trail.

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

Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId}/deliveries (the `ListWebhookDeliveries` operationId).

func (*ClientWithResponses) ListWebhooksWithResponse

func (c *ClientWithResponses) ListWebhooksWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*ListWebhooksResponse, error)

ListWebhooksWithResponse List a project's webhooks

Requires maintainer on this project. Secrets are never returned.

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

Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks (the `ListWebhooks` operationId).

func (*ClientWithResponses) PublishPluginVersionWithBodyWithResponse added in v0.5.0

func (c *ClientWithResponses) PublishPluginVersionWithBodyWithResponse(ctx context.Context, organizationId OrganizationId, pluginName PluginName, version PluginVersionNumber, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PublishPluginVersionResponse, error)

PublishPluginVersionWithBodyWithResponse Publish one plugin version from uploaded files

One multipart request carries the version's complete file set; everything is verified before anything is stored, and any failure stores nothing (ADR-0027). SHA256SUMS and its signature are stored and served verbatim. Every uploaded zip must be listed in SHA256SUMS with a matching digest; listed zips may be absent. A manifest listed in SHA256SUMS must be uploaded. Versions are immutable. The request is bounded by DFBG_PLUGIN_MAX_UPLOAD_BYTES (default 4 GiB).

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

Corresponds with PUT /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/versions/{version} (the `PublishPluginVersion` operationId).

func (*ClientWithResponses) ReadSessionWithResponse

func (c *ClientWithResponses) ReadSessionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReadSessionResponse, error)

ReadSessionWithResponse Exchange the session cookie for the access token it holds

Returns a live token unchanged when it has at least two minutes left. An expired, validly signed token (or one nearing expiry) is renewed only while its principal and originating secret remain active and its preserved auth_time is within the eight-hour absolute session cap. A refused renewal clears the browser-session cookie and returns 204.

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

Corresponds with GET /sys/session (the `ReadSession` operationId).

func (*ClientWithResponses) ReconcileBagDropWithResponse

func (c *ClientWithResponses) ReconcileBagDropWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*ReconcileBagDropResponse, error)

ReconcileBagDropWithResponse Request prompt reconciliation of a project's Bag Drop associations

Signals the reconciler running in this process. Requires maintainer on this project. Returns 503 when this process has no running reconciler.

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

Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/reconcile (the `ReconcileBagDrop` operationId).

func (*ClientWithResponses) RecoverWithBodyWithResponse

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

RecoverWithBodyWithResponse Recover administrative access by proving custody of the recovery shares

Accepts the threshold number of recovery shares in one request, verifies the recombined secret against the digest stored at initialization, and on success mints a **fresh root principal**, returning its credentials once in the response body — exactly the `/sys/init` contract (ADR-0024). The shares are a proof of custody, not key material: they reconstruct nothing, remain valid after use, and mint a new principal rather than resurrecting an old one, so the ceremony is loud and distinct in the audit trail.

Refusals are audited distinctly: malformed or too few shares answer 400, shares that recombine to the wrong secret answer 403, and an instance without a verifier — never initialized, or initialized before recovery existed — answers 409.

This is an anonymous surface, so it sits behind the same per-caller rate limit as the token endpoint and answers 429 outside the audit seam when it is exceeded (ADR-0020's audit-amplification coupling).

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

Corresponds with POST /sys/recovery (the `Recover` operationId).

func (*ClientWithResponses) RecoverWithResponse

func (c *ClientWithResponses) RecoverWithResponse(ctx context.Context, body RecoverJSONRequestBody, reqEditors ...RequestEditorFn) (*RecoverResponse, error)

RecoverWithResponse Recover administrative access by proving custody of the recovery shares

Accepts the threshold number of recovery shares in one request, verifies the recombined secret against the digest stored at initialization, and on success mints a **fresh root principal**, returning its credentials once in the response body — exactly the `/sys/init` contract (ADR-0024). The shares are a proof of custody, not key material: they reconstruct nothing, remain valid after use, and mint a new principal rather than resurrecting an old one, so the ceremony is loud and distinct in the audit trail.

Refusals are audited distinctly: malformed or too few shares answer 400, shares that recombine to the wrong secret answer 403, and an instance without a verifier — never initialized, or initialized before recovery existed — answers 409.

This is an anonymous surface, so it sits behind the same per-caller rate limit as the token endpoint and answers 429 outside the audit seam when it is exceeded (ADR-0020's audit-amplification coupling).

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

Corresponds with POST /sys/recovery (the `Recover` operationId).

func (*ClientWithResponses) RescanBuildWithResponse

func (c *ClientWithResponses) RescanBuildWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, buildId string, reqEditors ...RequestEditorFn) (*RescanBuildResponse, error)

RescanBuildWithResponse Queue a build for rescanning

Queues this build through the SAME queue, locks and worker limits as any other scan. It does not scan inline and it cannot jump the queue: the button is a request for work, not a private fast path, because a console user repeatedly pressing it must not be able to starve another tenant's already-due work.

Idempotent by construction — the queue holds one row per build, so pressing twice before the first scan runs coalesces into a single execution. The answer is 202 either way; there is no way for a caller to tell how many presses became how many scans, and no reason to expose one.

The HTTP request is audited as the calling principal. The execution that follows is audited separately as `system:scanner`, because it happens later, in a different process possibly, and attributing a background write to a human who has since logged out would be a lie.

Requires maintainer in the owning project. A build outside the current scan set is refused rather than queued: scanning a version no channel selects would produce findings nothing displays.

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

Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/builds/{buildId}/rescan (the `RescanBuild` operationId).

func (*ClientWithResponses) ResolveGithubReleaseWithBodyWithResponse added in v0.5.0

func (c *ClientWithResponses) ResolveGithubReleaseWithBodyWithResponse(ctx context.Context, organizationId OrganizationId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResolveGithubReleaseResponse, error)

ResolveGithubReleaseWithBodyWithResponse Resolve a GitHub release link to an exact tag

Accepts .../releases/tag/<tag> and .../releases/latest links to public packer-plugin repositories; latest is resolved here, once, and the import sends the tag. Requires `publisher`. Unauthenticated GitHub API use allows 60 calls an hour per egress address.

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

Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/catalogue/github/resolve (the `ResolveGithubRelease` operationId).

func (*ClientWithResponses) ResolveGithubReleaseWithResponse added in v0.5.0

func (c *ClientWithResponses) ResolveGithubReleaseWithResponse(ctx context.Context, organizationId OrganizationId, body ResolveGithubReleaseJSONRequestBody, reqEditors ...RequestEditorFn) (*ResolveGithubReleaseResponse, error)

ResolveGithubReleaseWithResponse Resolve a GitHub release link to an exact tag

Accepts .../releases/tag/<tag> and .../releases/latest links to public packer-plugin repositories; latest is resolved here, once, and the import sends the tag. Requires `publisher`. Unauthenticated GitHub API use allows 60 calls an hour per egress address.

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

Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/catalogue/github/resolve (the `ResolveGithubRelease` operationId).

func (*ClientWithResponses) RestorePluginVersionWithResponse added in v0.5.0

func (c *ClientWithResponses) RestorePluginVersionWithResponse(ctx context.Context, organizationId OrganizationId, pluginName PluginName, version PluginVersionNumber, reqEditors ...RequestEditorFn) (*RestorePluginVersionResponse, error)

RestorePluginVersionWithResponse Serve a revoked plugin version again

Requires `publisher`.

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

Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/versions/{version}/restore (the `RestorePluginVersion` operationId).

func (*ClientWithResponses) RevokePluginVersionWithResponse added in v0.5.0

func (c *ClientWithResponses) RevokePluginVersionWithResponse(ctx context.Context, organizationId OrganizationId, pluginName PluginName, version PluginVersionNumber, reqEditors ...RequestEditorFn) (*RevokePluginVersionResponse, error)

RevokePluginVersionWithResponse Stop serving a plugin version; restorable

Packer gets 404 for every file of a revoked version. Its bytes are kept. Requires `publisher`.

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

Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/versions/{version}/revoke (the `RevokePluginVersion` operationId).

func (*ClientWithResponses) RevokePrincipalSecretWithResponse

func (c *ClientWithResponses) RevokePrincipalSecretWithResponse(ctx context.Context, principalId PrincipalId, secretId string, reqEditors ...RequestEditorFn) (*RevokePrincipalSecretResponse, error)

RevokePrincipalSecretWithResponse Revoke a secret

Refused when it would leave a ROOT principal without a usable, never-expiring secret — secretless root leaves the instance administrable by direct database access alone, and a root holding only expiring secrets is the same lockout on a timer (ADR-0004, amended 2026-08-02; extended by duf-2rw).

Every other principal may be left with no secrets: a maintainer issues it a replacement, so a leaked credential can be revoked immediately rather than after minting its successor. Revocation is also how an EXPIRED secret is cleaned up — expiry never deletes anything.

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

Corresponds with DELETE /api/v1/principals/{principalId}/secrets/{secretId} (the `RevokePrincipalSecret` operationId).

func (*ClientWithResponses) RewrapEncryptionWithResponse

func (c *ClientWithResponses) RewrapEncryptionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RewrapEncryptionResponse, error)

RewrapEncryptionWithResponse Rewrap every keyring entry under the key service's current KEK

The explicit follow-through a KEK rotation requires (ADR-0024): the key service rotates its KEK on the operator's order, and this operation — equally deliberate, equally attributable — rewraps the stored keyring rows under the new version. Payloads are never touched; the data keys do not change. Until it runs, keyring rows stay wrapped under the old KEK version, and retiring that version at the key service would leave the next process start unable to unwrap anything ("sealed").

The request body is empty. The operation attempts the real rewrap rather than pre-refusing on remembered health — a failed attempt is an audited failure — and the stored rows change only when every entry rewrapped, so a partial key-service failure changes nothing.

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

Corresponds with POST /api/v1/encryption/rewrap (the `RewrapEncryption` operationId).

func (*ClientWithResponses) RotateEncryptionWithResponse

func (c *ClientWithResponses) RotateEncryptionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RotateEncryptionResponse, error)

RotateEncryptionWithResponse Mint a new data-key version for every keyring purpose

DEK rotation (ADR-0024): a fresh key version is minted locally for every purpose, wrapped by the key service, and becomes what new writes use. Old versions stay in the keyring so existing payloads, MACs and audit entries verify forever — nothing is re-encrypted. Tokens signed with the previous key version keep verifying and age out within the token TTL. Audit-entry HMACs record the key version that produced them, so HMAC correlation of a sensitive value across the rotation boundary changes by design.

The request body is empty. Peer replicas adopt the new versions at their next heartbeat; until then a payload written or token signed under the new version by this replica does not verify on a peer that has not yet refreshed. Rotate in a quiet window on multi-replica deployments.

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

Corresponds with POST /api/v1/encryption/rotate (the `RotateEncryption` operationId).

func (*ClientWithResponses) RunPluginPruneWithResponse added in v0.5.0

func (c *ClientWithResponses) RunPluginPruneWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*RunPluginPruneResponse, error)

RunPluginPruneWithResponse Prune now

Requires `maintainer`. Runs one prune with the stored age limit, whether or not the schedule is on, and records it.

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

Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/prune/run (the `RunPluginPrune` operationId).

func (*ClientWithResponses) SetBagDropAssociationWithResponse

func (c *ClientWithResponses) SetBagDropAssociationWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, bucketName string, reqEditors ...RequestEditorFn) (*SetBagDropAssociationResponse, error)

SetBagDropAssociationWithResponse Select a bucket for Bag Drop

Idempotently associates an existing local bucket. Re-associating a pending removal reactivates it. Requires maintainer on this project and an existing Bag Drop configuration.

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

Corresponds with PUT /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/buckets/{bucketName} (the `SetBagDropAssociation` operationId).

func (*ClientWithResponses) SetPinWithResponse

func (c *ClientWithResponses) SetPinWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, bucketName string, reqEditors ...RequestEditorFn) (*SetPinResponse, error)

SetPinWithResponse Pin a bucket to a project

Idempotent — pinning an already-pinned bucket succeeds unchanged. Requires the builder role on this project: builder is the lowest tier with write authority, and pins have no registry consequence, so a higher gate would add friction without protecting anything.

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

Corresponds with PUT /api/v1/organizations/{organizationId}/projects/{projectId}/pins/{bucketName} (the `SetPin` operationId).

func (*ClientWithResponses) SetPluginDefaultPlatformsWithBodyWithResponse added in v0.5.0

func (c *ClientWithResponses) SetPluginDefaultPlatformsWithBodyWithResponse(ctx context.Context, organizationId OrganizationId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetPluginDefaultPlatformsResponse, error)

SetPluginDefaultPlatformsWithBodyWithResponse Replace the platforms a first import selects

Requires `maintainer`. Each platform is OS_ARCH, for example linux_amd64.

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

Corresponds with PUT /api/v1/organizations/{organizationId}/plugin-registry/default-platforms (the `SetPluginDefaultPlatforms` operationId).

func (*ClientWithResponses) SetPluginDefaultPlatformsWithResponse added in v0.5.0

func (c *ClientWithResponses) SetPluginDefaultPlatformsWithResponse(ctx context.Context, organizationId OrganizationId, body SetPluginDefaultPlatformsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetPluginDefaultPlatformsResponse, error)

SetPluginDefaultPlatformsWithResponse Replace the platforms a first import selects

Requires `maintainer`. Each platform is OS_ARCH, for example linux_amd64.

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

Corresponds with PUT /api/v1/organizations/{organizationId}/plugin-registry/default-platforms (the `SetPluginDefaultPlatforms` operationId).

func (*ClientWithResponses) SetPluginPruneWithBodyWithResponse added in v0.5.0

func (c *ClientWithResponses) SetPluginPruneWithBodyWithResponse(ctx context.Context, organizationId OrganizationId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetPluginPruneResponse, error)

SetPluginPruneWithBodyWithResponse Replace the job-pruning schedule

Requires `maintainer`. On a schedule, every job that is not queued or running and finished more than `age_days` ago is cleared. The schedule is a five-field cron expression in UTC. Off by default.

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

Corresponds with PUT /api/v1/organizations/{organizationId}/plugin-registry/prune (the `SetPluginPrune` operationId).

func (*ClientWithResponses) SetPluginPruneWithResponse added in v0.5.0

func (c *ClientWithResponses) SetPluginPruneWithResponse(ctx context.Context, organizationId OrganizationId, body SetPluginPruneJSONRequestBody, reqEditors ...RequestEditorFn) (*SetPluginPruneResponse, error)

SetPluginPruneWithResponse Replace the job-pruning schedule

Requires `maintainer`. On a schedule, every job that is not queued or running and finished more than `age_days` ago is cleared. The schedule is a five-field cron expression in UTC. Off by default.

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

Corresponds with PUT /api/v1/organizations/{organizationId}/plugin-registry/prune (the `SetPluginPrune` operationId).

func (*ClientWithResponses) SetPluginUpdateCheckWithBodyWithResponse added in v0.5.0

func (c *ClientWithResponses) SetPluginUpdateCheckWithBodyWithResponse(ctx context.Context, organizationId OrganizationId, pluginName PluginName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetPluginUpdateCheckResponse, error)

SetPluginUpdateCheckWithBodyWithResponse Turn a plugin's update check on or off

Only plugins imported from releases.hashicorp.com or GitHub can be checked. Requires `publisher`.

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

Corresponds with PUT /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/update-check (the `SetPluginUpdateCheck` operationId).

func (*ClientWithResponses) SetPluginUpdateCheckWithResponse added in v0.5.0

func (c *ClientWithResponses) SetPluginUpdateCheckWithResponse(ctx context.Context, organizationId OrganizationId, pluginName PluginName, body SetPluginUpdateCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*SetPluginUpdateCheckResponse, error)

SetPluginUpdateCheckWithResponse Turn a plugin's update check on or off

Only plugins imported from releases.hashicorp.com or GitHub can be checked. Requires `publisher`.

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

Corresponds with PUT /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/update-check (the `SetPluginUpdateCheck` operationId).

func (*ClientWithResponses) SyncCatalogueWithBodyWithResponse added in v0.5.0

func (c *ClientWithResponses) SyncCatalogueWithBodyWithResponse(ctx context.Context, organizationId OrganizationId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SyncCatalogueResponse, error)

SyncCatalogueWithBodyWithResponse Bring selected plugins up to their newest stable release

Queues one ordinary import job per plugin with an update available, for the newest stable upstream release seen, with the platforms the plugin already mirrors (ADR-0027 A7, A8). A plugin without an update is refused on its own and does not stop the rest. Requires `publisher`.

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

Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/sync (the `SyncCatalogue` operationId).

func (*ClientWithResponses) SyncCatalogueWithResponse added in v0.5.0

func (c *ClientWithResponses) SyncCatalogueWithResponse(ctx context.Context, organizationId OrganizationId, body SyncCatalogueJSONRequestBody, reqEditors ...RequestEditorFn) (*SyncCatalogueResponse, error)

SyncCatalogueWithResponse Bring selected plugins up to their newest stable release

Queues one ordinary import job per plugin with an update available, for the newest stable upstream release seen, with the platforms the plugin already mirrors (ADR-0027 A7, A8). A plugin without an update is refused on its own and does not stop the rest. Requires `publisher`.

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

Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/sync (the `SyncCatalogue` operationId).

func (*ClientWithResponses) SyncPluginWithBodyWithResponse added in v0.5.0

func (c *ClientWithResponses) SyncPluginWithBodyWithResponse(ctx context.Context, organizationId OrganizationId, pluginName PluginName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SyncPluginResponse, error)

SyncPluginWithBodyWithResponse Apply one plugin's changes as one import job

Changes apply in order (ADR-0027 A7). `add` adds platforms to a mirrored version, admitting a zip only if the version's stored SHA256SUMS lists it with a matching digest, or mirrors a new releases.hashicorp.com version. `revoke` and `restore` act on a stored version. Mirrored platforms cannot be removed. Requires `publisher`.

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

Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/sync (the `SyncPlugin` operationId).

func (*ClientWithResponses) SyncPluginWithResponse added in v0.5.0

func (c *ClientWithResponses) SyncPluginWithResponse(ctx context.Context, organizationId OrganizationId, pluginName PluginName, body SyncPluginJSONRequestBody, reqEditors ...RequestEditorFn) (*SyncPluginResponse, error)

SyncPluginWithResponse Apply one plugin's changes as one import job

Changes apply in order (ADR-0027 A7). `add` adds platforms to a mirrored version, admitting a zip only if the version's stored SHA256SUMS lists it with a matching digest, or mirrors a new releases.hashicorp.com version. `revoke` and `restore` act on a stored version. Mirrored platforms cannot be removed. Requires `publisher`.

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

Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/sync (the `SyncPlugin` operationId).

func (*ClientWithResponses) UnexposePluginRegistryWithResponse added in v0.5.0

func (c *ClientWithResponses) UnexposePluginRegistryWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*UnexposePluginRegistryResponse, error)

UnexposePluginRegistryWithResponse Stop anonymous reads from the organization plugin registry

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

Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/unexpose (the `UnexposePluginRegistry` operationId).

func (*ClientWithResponses) UpdateOrganizationWebhookWithBodyWithResponse added in v0.5.0

func (c *ClientWithResponses) UpdateOrganizationWebhookWithBodyWithResponse(ctx context.Context, organizationId OrganizationId, webhookId WebhookId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrganizationWebhookResponse, error)

UpdateOrganizationWebhookWithBodyWithResponse Update a organization webhook

Replaces only supplied fields. A supplied secret replaces the sealed secret. Changing the URL returns the webhook to pending and immediately re-attempts verification. Requires maintainer.

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

Corresponds with PATCH /api/v1/organizations/{organizationId}/webhooks/{webhookId} (the `UpdateOrganizationWebhook` operationId).

func (*ClientWithResponses) UpdateOrganizationWebhookWithResponse added in v0.5.0

func (c *ClientWithResponses) UpdateOrganizationWebhookWithResponse(ctx context.Context, organizationId OrganizationId, webhookId WebhookId, body UpdateOrganizationWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrganizationWebhookResponse, error)

UpdateOrganizationWebhookWithResponse Update a organization webhook

Replaces only supplied fields. A supplied secret replaces the sealed secret. Changing the URL returns the webhook to pending and immediately re-attempts verification. Requires maintainer.

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

Corresponds with PATCH /api/v1/organizations/{organizationId}/webhooks/{webhookId} (the `UpdateOrganizationWebhook` operationId).

func (*ClientWithResponses) UpdateWebhookWithBodyWithResponse

func (c *ClientWithResponses) UpdateWebhookWithBodyWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWebhookResponse, error)

UpdateWebhookWithBodyWithResponse Update a project webhook

Replaces only supplied fields. A supplied secret replaces the sealed secret. Changing the URL returns the webhook to pending and immediately re-attempts verification. Requires maintainer.

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

Corresponds with PATCH /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId} (the `UpdateWebhook` operationId).

func (*ClientWithResponses) UpdateWebhookWithResponse

func (c *ClientWithResponses) UpdateWebhookWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWebhookResponse, error)

UpdateWebhookWithResponse Update a project webhook

Replaces only supplied fields. A supplied secret replaces the sealed secret. Changing the URL returns the webhook to pending and immediately re-attempts verification. Requires maintainer.

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

Corresponds with PATCH /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId} (the `UpdateWebhook` operationId).

func (*ClientWithResponses) VerifyBagDropWithResponse

func (c *ClientWithResponses) VerifyBagDropWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*VerifyBagDropResponse, error)

VerifyBagDropWithResponse Resolve the configured destination and record the result

Resolution failure is a report, not an API error, so both resolved and failed outcomes answer 200 and become the last verification.

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

Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/verify (the `VerifyBagDrop` operationId).

func (*ClientWithResponses) VerifyOrganizationWebhookWithResponse added in v0.5.0

func (c *ClientWithResponses) VerifyOrganizationWebhookWithResponse(ctx context.Context, organizationId OrganizationId, webhookId WebhookId, reqEditors ...RequestEditorFn) (*VerifyOrganizationWebhookResponse, error)

VerifyOrganizationWebhookWithResponse Re-attempt a webhook activation handshake

Sends the signed verification payload. A 2xx response activates the webhook; failure leaves it pending and records the failure. Requires maintainer.

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

Corresponds with POST /api/v1/organizations/{organizationId}/webhooks/{webhookId}/verify (the `VerifyOrganizationWebhook` operationId).

func (*ClientWithResponses) VerifyWebhookWithResponse

func (c *ClientWithResponses) VerifyWebhookWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId, reqEditors ...RequestEditorFn) (*VerifyWebhookResponse, error)

VerifyWebhookWithResponse Re-attempt a webhook activation handshake

Sends the signed verification payload. A 2xx response activates the webhook; failure leaves it pending and records the failure. Requires maintainer.

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

Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId}/verify (the `VerifyWebhook` operationId).

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {

	// ListAuditTargetsWithResponse List configured audit file targets and their health
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/audit/targets (the `ListAuditTargets` operationId).
	ListAuditTargetsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAuditTargetsResponse, error)

	// CreateAuditTargetWithBodyWithResponse Enable an audit file target
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/audit/targets (the `CreateAuditTarget` operationId).
	CreateAuditTargetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAuditTargetResponse, error)

	// CreateAuditTargetWithResponse Enable an audit file target
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/audit/targets (the `CreateAuditTarget` operationId).
	CreateAuditTargetWithResponse(ctx context.Context, body CreateAuditTargetJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAuditTargetResponse, error)

	// DeleteAuditTargetWithResponse Disable an audit file target
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/audit/targets/{targetId} (the `DeleteAuditTarget` operationId).
	DeleteAuditTargetWithResponse(ctx context.Context, targetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteAuditTargetResponse, error)

	// GetEncryptionWithResponse Read keyring state and the remembered encryption health
	//
	// Root-only, like the audit target list: KEK references and key versions
	// are rotation bookkeeping, not something every principal needs. The
	// keyring listing carries no key material — only each entry's purpose,
	// version, the KEK version that wrapped it, and when that wrapping was
	// produced. `state` is the same remembered heartbeat answer `/sys/health`
	// reports; after rotating the KEK at the key service, entries whose
	// `kek_ref` still names the old version are the rows `rewrap` exists for.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/encryption (the `GetEncryption` operationId).
	GetEncryptionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEncryptionResponse, error)

	// RewrapEncryptionWithResponse Rewrap every keyring entry under the key service's current KEK
	//
	// The explicit follow-through a KEK rotation requires (ADR-0024): the key
	// service rotates its KEK on the operator's order, and this operation —
	// equally deliberate, equally attributable — rewraps the stored keyring
	// rows under the new version. Payloads are never touched; the data keys
	// do not change. Until it runs, keyring rows stay wrapped under the old
	// KEK version, and retiring that version at the key service would leave
	// the next process start unable to unwrap anything ("sealed").
	//
	// The request body is empty. The operation attempts the real rewrap
	// rather than pre-refusing on remembered health — a failed attempt is an
	// audited failure — and the stored rows change only when every entry
	// rewrapped, so a partial key-service failure changes nothing.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/encryption/rewrap (the `RewrapEncryption` operationId).
	RewrapEncryptionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RewrapEncryptionResponse, error)

	// RotateEncryptionWithResponse Mint a new data-key version for every keyring purpose
	//
	// DEK rotation (ADR-0024): a fresh key version is minted locally for
	// every purpose, wrapped by the key service, and becomes what new writes
	// use. Old versions stay in the keyring so existing payloads, MACs and
	// audit entries verify forever — nothing is re-encrypted. Tokens signed
	// with the previous key version keep verifying and age out within the
	// token TTL. Audit-entry HMACs record the key version that produced
	// them, so HMAC correlation of a sensitive value across the rotation
	// boundary changes by design.
	//
	// The request body is empty. Peer replicas adopt the new versions at
	// their next heartbeat; until then a payload written or token signed
	// under the new version by this replica does not verify on a peer that
	// has not yet refreshed. Rotate in a quiet window on multi-replica
	// deployments.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/encryption/rotate (the `RotateEncryption` operationId).
	RotateEncryptionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RotateEncryptionResponse, error)

	// GetInstanceWithResponse Read build and backing-service state for this instance
	//
	// Authenticated because version and backing-service state are useful
	// reconnaissance. Every valid principal may read it. Values come from
	// the running binary, the mounted route table, and the same remembered
	// service state used by `/sys/health`; no probe is performed just for
	// this response.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/instance (the `GetInstance` operationId).
	GetInstanceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetInstanceResponse, error)

	// ListOrganizationsWithResponse List organizations visible to the caller
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/organizations (the `ListOrganizations` operationId).
	ListOrganizationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListOrganizationsResponse, error)

	// CreateOrganizationWithBodyWithResponse Create an organization
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/organizations (the `CreateOrganization` operationId).
	CreateOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error)

	// CreateOrganizationWithResponse Create an organization
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/organizations (the `CreateOrganization` operationId).
	CreateOrganizationWithResponse(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error)

	// DeleteOrganizationWithResponse Delete an empty organization
	//
	// Refused while the organization still contains projects, organization-scoped
	// principals, or an enabled plugin registry. Deleting a tenant is not an
	// operation that should cascade silently through a registry's contents.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/organizations/{organizationId} (the `DeleteOrganization` operationId).
	DeleteOrganizationWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*DeleteOrganizationResponse, error)

	// GetOrganizationWithResponse Get an organization
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/organizations/{organizationId} (the `GetOrganization` operationId).
	GetOrganizationWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*GetOrganizationResponse, error)

	// GetPluginRegistryWithResponse Read the organization plugin registry lifecycle state
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry (the `GetPluginRegistry` operationId).
	GetPluginRegistryWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*GetPluginRegistryResponse, error)

	// GetPluginBundleWithResponse Get the current plugin bundle export
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/bundle (the `GetPluginBundle` operationId).
	GetPluginBundleWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*GetPluginBundleResponse, error)

	// DownloadPluginBundleWithResponse Download the last successful plugin bundle
	//
	// Requires `maintainer`.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/bundle/download (the `DownloadPluginBundle` operationId).
	DownloadPluginBundleWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*DownloadPluginBundleResponse, error)

	// ExportPluginBundleWithResponse Queue an export of the whole plugin registry
	//
	// Requires `maintainer`.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/bundle/export (the `ExportPluginBundle` operationId).
	ExportPluginBundleWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*ExportPluginBundleResponse, error)

	// GetPluginBundleImportWithResponse Get the current plugin bundle import
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/bundle/import (the `GetPluginBundleImport` operationId).
	GetPluginBundleImportWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*GetPluginBundleImportResponse, error)

	// ImportPluginBundleWithBodyWithResponse Upload a plugin bundle and queue its import
	//
	// Requires `maintainer`. The bundle is stored and read by a background job that publishes each
	// version as an upload: a version already held is skipped, one held with different checksums is
	// reported as a mismatch, a version whose manifest origin is releases.hashicorp.com is verified
	// against the HashiCorp key and refused when the signature is missing or does not verify, and a
	// plugin held by another source is refused (ADR-0029). The request is bounded by
	// DFBG_PLUGIN_MAX_UPLOAD_BYTES, shared with plugin uploads.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/organizations/{organizationId}/plugin-registry/bundle/import (the `ImportPluginBundle` operationId).
	ImportPluginBundleWithBodyWithResponse(ctx context.Context, organizationId OrganizationId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportPluginBundleResponse, error)

	// ResolveGithubReleaseWithBodyWithResponse Resolve a GitHub release link to an exact tag
	//
	// Accepts .../releases/tag/<tag> and .../releases/latest links to public packer-plugin repositories;
	// latest is resolved here, once, and the import sends the tag. Requires `publisher`. Unauthenticated
	// GitHub API use allows 60 calls an hour per egress address.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/catalogue/github/resolve (the `ResolveGithubRelease` operationId).
	ResolveGithubReleaseWithBodyWithResponse(ctx context.Context, organizationId OrganizationId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResolveGithubReleaseResponse, error)

	// ResolveGithubReleaseWithResponse Resolve a GitHub release link to an exact tag
	//
	// Accepts .../releases/tag/<tag> and .../releases/latest links to public packer-plugin repositories;
	// latest is resolved here, once, and the import sends the tag. Requires `publisher`. Unauthenticated
	// GitHub API use allows 60 calls an hour per egress address.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/catalogue/github/resolve (the `ResolveGithubRelease` operationId).
	ResolveGithubReleaseWithResponse(ctx context.Context, organizationId OrganizationId, body ResolveGithubReleaseJSONRequestBody, reqEditors ...RequestEditorFn) (*ResolveGithubReleaseResponse, error)

	// ListHashicorpPluginsWithResponse Packer plugins published on releases.hashicorp.com
	//
	// Requires `publisher`, because reading it makes dufflebag call releases.hashicorp.com.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/catalogue/hashicorp (the `ListHashicorpPlugins` operationId).
	ListHashicorpPluginsWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*ListHashicorpPluginsResponse, error)

	// ListHashicorpPluginVersionsWithResponse One page of a plugin's releases, newest first
	//
	// Requires `publisher`.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/catalogue/hashicorp/{product} (the `ListHashicorpPluginVersions` operationId).
	ListHashicorpPluginVersionsWithResponse(ctx context.Context, organizationId OrganizationId, product string, params *ListHashicorpPluginVersionsParams, reqEditors ...RequestEditorFn) (*ListHashicorpPluginVersionsResponse, error)

	// GetPluginDefaultPlatformsWithResponse Platforms a first import of a plugin selects
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/default-platforms (the `GetPluginDefaultPlatforms` operationId).
	GetPluginDefaultPlatformsWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*GetPluginDefaultPlatformsResponse, error)

	// SetPluginDefaultPlatformsWithBodyWithResponse Replace the platforms a first import selects
	//
	// Requires `maintainer`. Each platform is OS_ARCH, for example linux_amd64.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/organizations/{organizationId}/plugin-registry/default-platforms (the `SetPluginDefaultPlatforms` operationId).
	SetPluginDefaultPlatformsWithBodyWithResponse(ctx context.Context, organizationId OrganizationId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetPluginDefaultPlatformsResponse, error)

	// SetPluginDefaultPlatformsWithResponse Replace the platforms a first import selects
	//
	// Requires `maintainer`. Each platform is OS_ARCH, for example linux_amd64.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/organizations/{organizationId}/plugin-registry/default-platforms (the `SetPluginDefaultPlatforms` operationId).
	SetPluginDefaultPlatformsWithResponse(ctx context.Context, organizationId OrganizationId, body SetPluginDefaultPlatformsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetPluginDefaultPlatformsResponse, error)

	// DisablePluginRegistryWithResponse Disable and delete the organization plugin registry
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/disable (the `DisablePluginRegistry` operationId).
	DisablePluginRegistryWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*DisablePluginRegistryResponse, error)

	// EnablePluginRegistryWithResponse Enable the organization plugin registry
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/enable (the `EnablePluginRegistry` operationId).
	EnablePluginRegistryWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*EnablePluginRegistryResponse, error)

	// ExposePluginRegistryWithResponse Expose the organization plugin registry for anonymous reads
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/expose (the `ExposePluginRegistry` operationId).
	ExposePluginRegistryWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*ExposePluginRegistryResponse, error)

	// ListPluginImportsWithResponse The organization's jobs, newest first
	//
	// Imports, syncs and uploads alike. Readable by `reader`.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/imports (the `ListPluginImports` operationId).
	ListPluginImportsWithResponse(ctx context.Context, organizationId OrganizationId, params *ListPluginImportsParams, reqEditors ...RequestEditorFn) (*ListPluginImportsResponse, error)

	// CreatePluginImportWithBodyWithResponse Queue an import of plugin versions from releases.hashicorp.com
	//
	// Requires `publisher`. The job verifies each version's SHA256SUMS against HashiCorp's pinned
	// signing key before storing anything (ADR-0027 A3). A first import reserves the plugin's
	// name for its source until the job finishes.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/imports (the `CreatePluginImport` operationId).
	CreatePluginImportWithBodyWithResponse(ctx context.Context, organizationId OrganizationId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePluginImportResponse, error)

	// CreatePluginImportWithResponse Queue an import of plugin versions from releases.hashicorp.com
	//
	// Requires `publisher`. The job verifies each version's SHA256SUMS against HashiCorp's pinned
	// signing key before storing anything (ADR-0027 A3). A first import reserves the plugin's
	// name for its source until the job finishes.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/imports (the `CreatePluginImport` operationId).
	CreatePluginImportWithResponse(ctx context.Context, organizationId OrganizationId, body CreatePluginImportJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePluginImportResponse, error)

	// DeletePluginImportWithResponse Clear a job
	//
	// Deletes the job's record. A queued job is taken out of the queue and never runs; a finished
	// job's outcomes are gone, and the versions it mirrored are unchanged. A running job cannot be
	// cleared. Requires `publisher`.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/organizations/{organizationId}/plugin-registry/imports/{importId} (the `DeletePluginImport` operationId).
	DeletePluginImportWithResponse(ctx context.Context, organizationId OrganizationId, importId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeletePluginImportResponse, error)

	// GetPluginImportWithResponse An import job and the outcome of each version
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/imports/{importId} (the `GetPluginImport` operationId).
	GetPluginImportWithResponse(ctx context.Context, organizationId OrganizationId, importId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetPluginImportResponse, error)

	// ListPluginsWithResponse List the organization's plugins
	//
	// Empty when the registry is not enabled.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/plugins (the `ListPlugins` operationId).
	ListPluginsWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*ListPluginsResponse, error)

	// GetPluginDownloadsWithResponse Get a plugin's download counts
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/downloads (the `GetPluginDownloads` operationId).
	GetPluginDownloadsWithResponse(ctx context.Context, organizationId OrganizationId, pluginName PluginName, reqEditors ...RequestEditorFn) (*GetPluginDownloadsResponse, error)

	// SyncPluginWithBodyWithResponse Apply one plugin's changes as one import job
	//
	// Changes apply in order (ADR-0027 A7). `add` adds platforms to a mirrored version, admitting a zip
	// only if the version's stored SHA256SUMS lists it with a matching digest, or mirrors a new
	// releases.hashicorp.com version. `revoke` and `restore` act on a stored version. Mirrored platforms
	// cannot be removed. Requires `publisher`.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/sync (the `SyncPlugin` operationId).
	SyncPluginWithBodyWithResponse(ctx context.Context, organizationId OrganizationId, pluginName PluginName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SyncPluginResponse, error)

	// SyncPluginWithResponse Apply one plugin's changes as one import job
	//
	// Changes apply in order (ADR-0027 A7). `add` adds platforms to a mirrored version, admitting a zip
	// only if the version's stored SHA256SUMS lists it with a matching digest, or mirrors a new
	// releases.hashicorp.com version. `revoke` and `restore` act on a stored version. Mirrored platforms
	// cannot be removed. Requires `publisher`.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/sync (the `SyncPlugin` operationId).
	SyncPluginWithResponse(ctx context.Context, organizationId OrganizationId, pluginName PluginName, body SyncPluginJSONRequestBody, reqEditors ...RequestEditorFn) (*SyncPluginResponse, error)

	// SetPluginUpdateCheckWithBodyWithResponse Turn a plugin's update check on or off
	//
	// Only plugins imported from releases.hashicorp.com or GitHub can be checked. Requires `publisher`.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/update-check (the `SetPluginUpdateCheck` operationId).
	SetPluginUpdateCheckWithBodyWithResponse(ctx context.Context, organizationId OrganizationId, pluginName PluginName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetPluginUpdateCheckResponse, error)

	// SetPluginUpdateCheckWithResponse Turn a plugin's update check on or off
	//
	// Only plugins imported from releases.hashicorp.com or GitHub can be checked. Requires `publisher`.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/update-check (the `SetPluginUpdateCheck` operationId).
	SetPluginUpdateCheckWithResponse(ctx context.Context, organizationId OrganizationId, pluginName PluginName, body SetPluginUpdateCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*SetPluginUpdateCheckResponse, error)

	// ListPluginVersionsWithResponse List a plugin's versions and the platforms each one serves
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/versions (the `ListPluginVersions` operationId).
	ListPluginVersionsWithResponse(ctx context.Context, organizationId OrganizationId, pluginName PluginName, reqEditors ...RequestEditorFn) (*ListPluginVersionsResponse, error)

	// DeletePluginVersionWithResponse Remove a plugin version and its files
	//
	// Terminal. Removing a plugin's last version removes the plugin, which frees its name for another
	// source; a revoked version still holds it. Requires `publisher`.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/versions/{version} (the `DeletePluginVersion` operationId).
	DeletePluginVersionWithResponse(ctx context.Context, organizationId OrganizationId, pluginName PluginName, version PluginVersionNumber, reqEditors ...RequestEditorFn) (*DeletePluginVersionResponse, error)

	// PublishPluginVersionWithBodyWithResponse Publish one plugin version from uploaded files
	//
	// One multipart request carries the version's complete file set; everything is verified before
	// anything is stored, and any failure stores nothing (ADR-0027). SHA256SUMS and its signature are
	// stored and served verbatim. Every uploaded zip must be listed in SHA256SUMS with a matching
	// digest; listed zips may be absent. A manifest listed in SHA256SUMS must be uploaded. Versions are
	// immutable. The request is bounded by DFBG_PLUGIN_MAX_UPLOAD_BYTES (default 4 GiB).
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/versions/{version} (the `PublishPluginVersion` operationId).
	PublishPluginVersionWithBodyWithResponse(ctx context.Context, organizationId OrganizationId, pluginName PluginName, version PluginVersionNumber, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PublishPluginVersionResponse, error)

	// RestorePluginVersionWithResponse Serve a revoked plugin version again
	//
	// Requires `publisher`.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/versions/{version}/restore (the `RestorePluginVersion` operationId).
	RestorePluginVersionWithResponse(ctx context.Context, organizationId OrganizationId, pluginName PluginName, version PluginVersionNumber, reqEditors ...RequestEditorFn) (*RestorePluginVersionResponse, error)

	// RevokePluginVersionWithResponse Stop serving a plugin version; restorable
	//
	// Packer gets 404 for every file of a revoked version. Its bytes are kept. Requires `publisher`.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/versions/{version}/revoke (the `RevokePluginVersion` operationId).
	RevokePluginVersionWithResponse(ctx context.Context, organizationId OrganizationId, pluginName PluginName, version PluginVersionNumber, reqEditors ...RequestEditorFn) (*RevokePluginVersionResponse, error)

	// GetPluginPruneWithResponse The job-pruning schedule and what a run would clear now
	//
	// Requires `maintainer`.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/plugin-registry/prune (the `GetPluginPrune` operationId).
	GetPluginPruneWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*GetPluginPruneResponse, error)

	// SetPluginPruneWithBodyWithResponse Replace the job-pruning schedule
	//
	// Requires `maintainer`. On a schedule, every job that is not queued or running and finished more
	// than `age_days` ago is cleared. The schedule is a five-field cron expression in UTC. Off by default.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/organizations/{organizationId}/plugin-registry/prune (the `SetPluginPrune` operationId).
	SetPluginPruneWithBodyWithResponse(ctx context.Context, organizationId OrganizationId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetPluginPruneResponse, error)

	// SetPluginPruneWithResponse Replace the job-pruning schedule
	//
	// Requires `maintainer`. On a schedule, every job that is not queued or running and finished more
	// than `age_days` ago is cleared. The schedule is a five-field cron expression in UTC. Off by default.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/organizations/{organizationId}/plugin-registry/prune (the `SetPluginPrune` operationId).
	SetPluginPruneWithResponse(ctx context.Context, organizationId OrganizationId, body SetPluginPruneJSONRequestBody, reqEditors ...RequestEditorFn) (*SetPluginPruneResponse, error)

	// RunPluginPruneWithResponse Prune now
	//
	// Requires `maintainer`. Runs one prune with the stored age limit, whether or not the schedule is on, and records it.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/prune/run (the `RunPluginPrune` operationId).
	RunPluginPruneWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*RunPluginPruneResponse, error)

	// SyncCatalogueWithBodyWithResponse Bring selected plugins up to their newest stable release
	//
	// Queues one ordinary import job per plugin with an update available, for the newest stable upstream
	// release seen, with the platforms the plugin already mirrors (ADR-0027 A7, A8). A plugin without an
	// update is refused on its own and does not stop the rest. Requires `publisher`.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/sync (the `SyncCatalogue` operationId).
	SyncCatalogueWithBodyWithResponse(ctx context.Context, organizationId OrganizationId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SyncCatalogueResponse, error)

	// SyncCatalogueWithResponse Bring selected plugins up to their newest stable release
	//
	// Queues one ordinary import job per plugin with an update available, for the newest stable upstream
	// release seen, with the platforms the plugin already mirrors (ADR-0027 A7, A8). A plugin without an
	// update is refused on its own and does not stop the rest. Requires `publisher`.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/sync (the `SyncCatalogue` operationId).
	SyncCatalogueWithResponse(ctx context.Context, organizationId OrganizationId, body SyncCatalogueJSONRequestBody, reqEditors ...RequestEditorFn) (*SyncCatalogueResponse, error)

	// UnexposePluginRegistryWithResponse Stop anonymous reads from the organization plugin registry
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/plugin-registry/unexpose (the `UnexposePluginRegistry` operationId).
	UnexposePluginRegistryWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*UnexposePluginRegistryResponse, error)

	// ListProjectsWithResponse List projects in an organization
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/projects (the `ListProjects` operationId).
	ListProjectsWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*ListProjectsResponse, error)

	// CreateProjectWithBodyWithResponse Create a project
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/projects (the `CreateProject` operationId).
	CreateProjectWithBodyWithResponse(ctx context.Context, organizationId OrganizationId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)

	// CreateProjectWithResponse Create a project
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/projects (the `CreateProject` operationId).
	CreateProjectWithResponse(ctx context.Context, organizationId OrganizationId, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)

	// DeleteProjectWithResponse Delete an empty project
	//
	// Refused while the project still contains buckets.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/organizations/{organizationId}/projects/{projectId} (the `DeleteProject` operationId).
	DeleteProjectWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*DeleteProjectResponse, error)

	// GetProjectWithResponse Get a project
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId} (the `GetProject` operationId).
	GetProjectWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*GetProjectResponse, error)

	// DeleteBagDropConfigWithResponse Remove a project's Bag Drop destination configuration
	//
	// Refuses while enabled or while destination cleanup is outstanding.
	// Clean associations which have never been attempted cascade with the
	// configuration.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop (the `DeleteBagDropConfig` operationId).
	DeleteBagDropConfigWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*DeleteBagDropConfigResponse, error)

	// GetBagDropConfigWithResponse Read a project's Bag Drop destination configuration
	//
	// Returns only non-secret destination fields. The client secret is never
	// returned; `secret_set` reports that the write-only credential exists.
	// Requires maintainer on this project. A tenancy the caller may not see
	// answers 404, indistinguishable from one that does not exist.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop (the `GetBagDropConfig` operationId).
	GetBagDropConfigWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*GetBagDropConfigResponse, error)

	// ListBagDropAssociationsWithResponse List buckets selected for Bag Drop
	//
	// Requires maintainer on this project.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/buckets (the `ListBagDropAssociations` operationId).
	ListBagDropAssociationsWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*ListBagDropAssociationsResponse, error)

	// DeleteBagDropAssociationWithResponse Stop mirroring a bucket through Bag Drop
	//
	// This is the consent boundary for destination-side deletion. An
	// association never attempted is removed immediately; otherwise it is
	// retained as pending removal for the reconciler. Requires maintainer.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/buckets/{bucketName} (the `DeleteBagDropAssociation` operationId).
	DeleteBagDropAssociationWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, bucketName string, reqEditors ...RequestEditorFn) (*DeleteBagDropAssociationResponse, error)

	// SetBagDropAssociationWithResponse Select a bucket for Bag Drop
	//
	// Idempotently associates an existing local bucket. Re-associating a
	// pending removal reactivates it. Requires maintainer on this project and
	// an existing Bag Drop configuration.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/buckets/{bucketName} (the `SetBagDropAssociation` operationId).
	SetBagDropAssociationWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, bucketName string, reqEditors ...RequestEditorFn) (*SetBagDropAssociationResponse, error)

	// DisableBagDropWithResponse Disable the configured destination without contacting it
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/disable (the `DisableBagDrop` operationId).
	DisableBagDropWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*DisableBagDropResponse, error)

	// EnableBagDropWithBodyWithResponse Verify and enable the configured destination
	//
	// Without a body, re-runs destination resolution against the stored
	// configuration and enables it on success. Resolution failure answers 409
	// with the verification result and leaves the stored configuration unchanged.
	//
	// With a body, validates the supplied configuration and resolves the
	// destination against it before writing anything. On success the supplied
	// configuration is persisted and enabled atomically. Resolution failure
	// answers 409 with the verification result and persists nothing: no
	// configuration is created, and any existing configuration is left
	// byte-for-byte unchanged and remains enabled if it was enabled.
	//
	// `client_secret` is required when no configuration exists. On update it
	// may be omitted to retain the existing sealed secret.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/enable (the `EnableBagDrop` operationId).
	EnableBagDropWithBodyWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EnableBagDropResponse, error)

	// EnableBagDropWithResponse Verify and enable the configured destination
	//
	// Without a body, re-runs destination resolution against the stored
	// configuration and enables it on success. Resolution failure answers 409
	// with the verification result and leaves the stored configuration unchanged.
	//
	// With a body, validates the supplied configuration and resolves the
	// destination against it before writing anything. On success the supplied
	// configuration is persisted and enabled atomically. Resolution failure
	// answers 409 with the verification result and persists nothing: no
	// configuration is created, and any existing configuration is left
	// byte-for-byte unchanged and remains enabled if it was enabled.
	//
	// `client_secret` is required when no configuration exists. On update it
	// may be omitted to retain the existing sealed secret.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/enable (the `EnableBagDrop` operationId).
	EnableBagDropWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, body EnableBagDropJSONRequestBody, reqEditors ...RequestEditorFn) (*EnableBagDropResponse, error)

	// ReconcileBagDropWithResponse Request prompt reconciliation of a project's Bag Drop associations
	//
	// Signals the reconciler running in this process. Requires maintainer on
	// this project. Returns 503 when this process has no running reconciler.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/reconcile (the `ReconcileBagDrop` operationId).
	ReconcileBagDropWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*ReconcileBagDropResponse, error)

	// GetBagDropStatusWithResponse Read Bag Drop dashboard status
	//
	// Returns configured false with an empty association list when no Bag
	// Drop configuration exists. This is the reader-visible Bag Drop surface
	// and never returns credential material.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/status (the `GetBagDropStatus` operationId).
	GetBagDropStatusWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*GetBagDropStatusResponse, error)

	// VerifyBagDropWithResponse Resolve the configured destination and record the result
	//
	// Resolution failure is a report, not an API error, so both resolved and
	// failed outcomes answer 200 and become the last verification.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/verify (the `VerifyBagDrop` operationId).
	VerifyBagDropWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*VerifyBagDropResponse, error)

	// GetBuildFindingsWithResponse Get stored findings for a build
	//
	// Returns the current successful scan and its advisories without
	// downloading the build's paginated package inventory. An existing build
	// without a current successful scan returns scanned=false, run=null and
	// an empty advisory list.
	//
	// Requires the reader role on this project. A tenancy the caller may
	// not see, or an unknown build, answers 404. The two are deliberately
	// indistinguishable because existence is a disclosure.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/buckets/{bucketName}/versions/{fingerprint}/builds/{buildId}/findings (the `GetBuildFindings` operationId).
	GetBuildFindingsWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, bucketName string, fingerprint string, buildId string, reqEditors ...RequestEditorFn) (*GetBuildFindingsResponse, error)

	// GetVersionFindingsSummaryWithResponse Get stored findings summaries for a version
	//
	// Returns the version rollup and every build without downloading package
	// inventories or individual findings. An absent version or build summary
	// means no current successful scan; it is never rendered as an empty scan.
	//
	// Requires the reader role on this project. A tenancy the caller may
	// not see answers 404, indistinguishable from one that does not exist.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/buckets/{bucketName}/versions/{fingerprint}/findings-summary (the `GetVersionFindingsSummary` operationId).
	GetVersionFindingsSummaryWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, bucketName string, fingerprint string, reqEditors ...RequestEditorFn) (*GetVersionFindingsSummaryResponse, error)

	// RescanBuildWithResponse Queue a build for rescanning
	//
	// Queues this build through the SAME queue, locks and worker limits as
	// any other scan. It does not scan inline and it cannot jump the queue:
	// the button is a request for work, not a private fast path, because a
	// console user repeatedly pressing it must not be able to starve another
	// tenant's already-due work.
	//
	// Idempotent by construction — the queue holds one row per build, so
	// pressing twice before the first scan runs coalesces into a single
	// execution. The answer is 202 either way; there is no way for a caller
	// to tell how many presses became how many scans, and no reason to
	// expose one.
	//
	// The HTTP request is audited as the calling principal. The execution
	// that follows is audited separately as `system:scanner`, because it
	// happens later, in a different process possibly, and attributing a
	// background write to a human who has since logged out would be a lie.
	//
	// Requires maintainer in the owning project. A build outside the current
	// scan set is refused rather than queued: scanning a version no channel
	// selects would produce findings nothing displays.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/builds/{buildId}/rescan (the `RescanBuild` operationId).
	RescanBuildWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, buildId string, reqEditors ...RequestEditorFn) (*RescanBuildResponse, error)

	// ListPinsWithResponse List pinned buckets for a project
	//
	// Pinned buckets for this project. Pins are per **project**, not per
	// principal — a pinned set is the project's shared answer to which buckets
	// matter, so pinning changes what every project member sees (ADR-0015).
	//
	// A pin cannot outlive its bucket: deleting a bucket removes any pin to
	// it, enforced by a foreign key rather than by application code. The
	// alternative — tolerating a pin as a soft reference — was rejected
	// because it puts a card in the gallery with no data behind it, and every
	// reader then has to handle that state. Pins live in the same database as
	// buckets, so the constraint is free.
	//
	// Requires the reader role on this project. A tenancy the caller may
	// not see answers 404, indistinguishable from one that does not exist.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/pins (the `ListPins` operationId).
	ListPinsWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*ListPinsResponse, error)

	// DeletePinWithResponse Unpin a bucket
	//
	// Idempotent — unpinning something not pinned succeeds.
	// Requires the builder role on this project. A tenancy the caller may
	// not see answers 404, indistinguishable from one that does not exist.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/organizations/{organizationId}/projects/{projectId}/pins/{bucketName} (the `DeletePin` operationId).
	DeletePinWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, bucketName string, reqEditors ...RequestEditorFn) (*DeletePinResponse, error)

	// SetPinWithResponse Pin a bucket to a project
	//
	// Idempotent — pinning an already-pinned bucket succeeds unchanged.
	// Requires the builder role on this project: builder is the lowest tier
	// with write authority, and pins have no registry consequence, so a
	// higher gate would add friction without protecting anything.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/organizations/{organizationId}/projects/{projectId}/pins/{bucketName} (the `SetPin` operationId).
	SetPinWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, bucketName string, reqEditors ...RequestEditorFn) (*SetPinResponse, error)

	// ListWebhooksWithResponse List a project's webhooks
	//
	// Requires maintainer on this project. Secrets are never returned.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks (the `ListWebhooks` operationId).
	ListWebhooksWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, reqEditors ...RequestEditorFn) (*ListWebhooksResponse, error)

	// CreateWebhookWithBodyWithResponse Create and verify a project webhook
	//
	// Stores the write-only secret sealed at rest and immediately attempts a
	// signed verification handshake. A failed or refused handshake leaves the
	// webhook pending; pending webhooks receive no events. Requires maintainer.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks (the `CreateWebhook` operationId).
	CreateWebhookWithBodyWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWebhookResponse, error)

	// CreateWebhookWithResponse Create and verify a project webhook
	//
	// Stores the write-only secret sealed at rest and immediately attempts a
	// signed verification handshake. A failed or refused handshake leaves the
	// webhook pending; pending webhooks receive no events. Requires maintainer.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks (the `CreateWebhook` operationId).
	CreateWebhookWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, body CreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWebhookResponse, error)

	// DeleteWebhookWithResponse Delete a project webhook
	//
	// Requires maintainer.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId} (the `DeleteWebhook` operationId).
	DeleteWebhookWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId, reqEditors ...RequestEditorFn) (*DeleteWebhookResponse, error)

	// GetWebhookWithResponse Read a project webhook
	//
	// Requires maintainer. The secret is never returned.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId} (the `GetWebhook` operationId).
	GetWebhookWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId, reqEditors ...RequestEditorFn) (*GetWebhookResponse, error)

	// UpdateWebhookWithBodyWithResponse Update a project webhook
	//
	// Replaces only supplied fields. A supplied secret replaces the sealed
	// secret. Changing the URL returns the webhook to pending and immediately
	// re-attempts verification. Requires maintainer.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId} (the `UpdateWebhook` operationId).
	UpdateWebhookWithBodyWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWebhookResponse, error)

	// UpdateWebhookWithResponse Update a project webhook
	//
	// Replaces only supplied fields. A supplied secret replaces the sealed
	// secret. Changing the URL returns the webhook to pending and immediately
	// re-attempts verification. Requires maintainer.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId} (the `UpdateWebhook` operationId).
	UpdateWebhookWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWebhookResponse, error)

	// ListWebhookDeliveriesWithResponse List the webhook's last 100 deliveries
	//
	// Requires maintainer. Delivery attempts are not duplicated into the audit trail.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId}/deliveries (the `ListWebhookDeliveries` operationId).
	ListWebhookDeliveriesWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId, reqEditors ...RequestEditorFn) (*ListWebhookDeliveriesResponse, error)

	// VerifyWebhookWithResponse Re-attempt a webhook activation handshake
	//
	// Sends the signed verification payload. A 2xx response activates the
	// webhook; failure leaves it pending and records the failure. Requires maintainer.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId}/verify (the `VerifyWebhook` operationId).
	VerifyWebhookWithResponse(ctx context.Context, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId, reqEditors ...RequestEditorFn) (*VerifyWebhookResponse, error)

	// ListOrganizationWebhooksWithResponse List an organization's own webhooks
	//
	// Requires maintainer on this organization. Secrets are never returned.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/webhooks (the `ListOrganizationWebhooks` operationId).
	ListOrganizationWebhooksWithResponse(ctx context.Context, organizationId OrganizationId, reqEditors ...RequestEditorFn) (*ListOrganizationWebhooksResponse, error)

	// CreateOrganizationWebhookWithBodyWithResponse Create and verify a organization webhook
	//
	// Stores the write-only secret sealed at rest and immediately attempts a
	// signed verification handshake. A failed or refused handshake leaves the
	// webhook pending; pending webhooks receive no events. Requires maintainer.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/webhooks (the `CreateOrganizationWebhook` operationId).
	CreateOrganizationWebhookWithBodyWithResponse(ctx context.Context, organizationId OrganizationId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationWebhookResponse, error)

	// CreateOrganizationWebhookWithResponse Create and verify a organization webhook
	//
	// Stores the write-only secret sealed at rest and immediately attempts a
	// signed verification handshake. A failed or refused handshake leaves the
	// webhook pending; pending webhooks receive no events. Requires maintainer.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/webhooks (the `CreateOrganizationWebhook` operationId).
	CreateOrganizationWebhookWithResponse(ctx context.Context, organizationId OrganizationId, body CreateOrganizationWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationWebhookResponse, error)

	// DeleteOrganizationWebhookWithResponse Delete a organization webhook
	//
	// Requires maintainer.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/organizations/{organizationId}/webhooks/{webhookId} (the `DeleteOrganizationWebhook` operationId).
	DeleteOrganizationWebhookWithResponse(ctx context.Context, organizationId OrganizationId, webhookId WebhookId, reqEditors ...RequestEditorFn) (*DeleteOrganizationWebhookResponse, error)

	// GetOrganizationWebhookWithResponse Read a organization webhook
	//
	// Requires maintainer. The secret is never returned.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/webhooks/{webhookId} (the `GetOrganizationWebhook` operationId).
	GetOrganizationWebhookWithResponse(ctx context.Context, organizationId OrganizationId, webhookId WebhookId, reqEditors ...RequestEditorFn) (*GetOrganizationWebhookResponse, error)

	// UpdateOrganizationWebhookWithBodyWithResponse Update a organization webhook
	//
	// Replaces only supplied fields. A supplied secret replaces the sealed
	// secret. Changing the URL returns the webhook to pending and immediately
	// re-attempts verification. Requires maintainer.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/v1/organizations/{organizationId}/webhooks/{webhookId} (the `UpdateOrganizationWebhook` operationId).
	UpdateOrganizationWebhookWithBodyWithResponse(ctx context.Context, organizationId OrganizationId, webhookId WebhookId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrganizationWebhookResponse, error)

	// UpdateOrganizationWebhookWithResponse Update a organization webhook
	//
	// Replaces only supplied fields. A supplied secret replaces the sealed
	// secret. Changing the URL returns the webhook to pending and immediately
	// re-attempts verification. Requires maintainer.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/v1/organizations/{organizationId}/webhooks/{webhookId} (the `UpdateOrganizationWebhook` operationId).
	UpdateOrganizationWebhookWithResponse(ctx context.Context, organizationId OrganizationId, webhookId WebhookId, body UpdateOrganizationWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrganizationWebhookResponse, error)

	// ListOrganizationWebhookDeliveriesWithResponse List the webhook's last 100 deliveries
	//
	// Requires maintainer. Delivery attempts are not duplicated into the audit trail.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/organizations/{organizationId}/webhooks/{webhookId}/deliveries (the `ListOrganizationWebhookDeliveries` operationId).
	ListOrganizationWebhookDeliveriesWithResponse(ctx context.Context, organizationId OrganizationId, webhookId WebhookId, reqEditors ...RequestEditorFn) (*ListOrganizationWebhookDeliveriesResponse, error)

	// VerifyOrganizationWebhookWithResponse Re-attempt a webhook activation handshake
	//
	// Sends the signed verification payload. A 2xx response activates the
	// webhook; failure leaves it pending and records the failure. Requires maintainer.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/organizations/{organizationId}/webhooks/{webhookId}/verify (the `VerifyOrganizationWebhook` operationId).
	VerifyOrganizationWebhookWithResponse(ctx context.Context, organizationId OrganizationId, webhookId WebhookId, reqEditors ...RequestEditorFn) (*VerifyOrganizationWebhookResponse, error)

	// ListPrincipalsWithResponse List service principals at a scope
	//
	// Lists the principals bound to EXACTLY one scope — platform, one
	// organization, one project, or one bucket — never a subtree. Omitting
	// every filter lists the scope the caller itself stands at. Secret *metadata* only.
	// Secret values are never returned here.
	//
	// The filters authorize like any other tenancy argument: a caller naming
	// a scope it may not see is answered not-found, and a tenancy-bound
	// caller is never given more than its own binding regardless of what it
	// names (ADR-0017).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/principals (the `ListPrincipals` operationId).
	ListPrincipalsWithResponse(ctx context.Context, params *ListPrincipalsParams, reqEditors ...RequestEditorFn) (*ListPrincipalsResponse, error)

	// CreatePrincipalWithBodyWithResponse Create a service principal
	//
	// Creates a principal bound to a platform or tenancy scope, holding NO
	// secrets. It cannot authenticate until one is issued.
	//
	// Issuing is a separate, explicit call to `POST
	// /api/v1/principals/{principalId}/secrets` — the same path used for a
	// second secret and for rotation, so there is one issuance path rather
	// than a create-time special case. A principal with no secrets is an
	// ordinary state: it is also what a non-root principal is left in when its
	// last secret is revoked (ADR-0004, amended 2026-08-02).
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/principals (the `CreatePrincipal` operationId).
	CreatePrincipalWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePrincipalResponse, error)

	// CreatePrincipalWithResponse Create a service principal
	//
	// Creates a principal bound to a platform or tenancy scope, holding NO
	// secrets. It cannot authenticate until one is issued.
	//
	// Issuing is a separate, explicit call to `POST
	// /api/v1/principals/{principalId}/secrets` — the same path used for a
	// second secret and for rotation, so there is one issuance path rather
	// than a create-time special case. A principal with no secrets is an
	// ordinary state: it is also what a non-root principal is left in when its
	// last secret is revoked (ADR-0004, amended 2026-08-02).
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/principals (the `CreatePrincipal` operationId).
	CreatePrincipalWithResponse(ctx context.Context, body CreatePrincipalJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePrincipalResponse, error)

	// DeletePrincipalWithResponse Delete a service principal and revoke its secrets
	//
	// Revokes every secret and removes the principal. This can strip a running
	// pipeline of its credentials, so clients should confirm and name the
	// impact. Deleting the caller's own principal and deleting the last root
	// principal are refused.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/principals/{principalId} (the `DeletePrincipal` operationId).
	DeletePrincipalWithResponse(ctx context.Context, principalId PrincipalId, reqEditors ...RequestEditorFn) (*DeletePrincipalResponse, error)

	// GetPrincipalWithResponse Get a service principal
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/principals/{principalId} (the `GetPrincipal` operationId).
	GetPrincipalWithResponse(ctx context.Context, principalId PrincipalId, reqEditors ...RequestEditorFn) (*GetPrincipalResponse, error)

	// CreatePrincipalSecretWithBodyWithResponse Issue a secret
	//
	// Issues a secret, and is the ONLY way any credential comes into
	// existence: creating a principal mints none, so this endpoint serves both
	// the first secret and a second one for rotation.
	//
	// A principal may hold two active secrets at once, which is what makes
	// rotation possible with no authentication gap: issue the second,
	// redeploy, then revoke the first (ADR-0004).
	//
	// Refused when two are already USABLE — revoke one first, so that
	// rotation is a deliberate sequence rather than unbounded accumulation.
	// An expired secret does not count against the cap: it grants nothing,
	// and demanding its revocation first would add a step at exactly the
	// moment someone is fixing an outage (duf-2rw).
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/principals/{principalId}/secrets (the `CreatePrincipalSecret` operationId).
	CreatePrincipalSecretWithBodyWithResponse(ctx context.Context, principalId PrincipalId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePrincipalSecretResponse, error)

	// CreatePrincipalSecretWithResponse Issue a secret
	//
	// Issues a secret, and is the ONLY way any credential comes into
	// existence: creating a principal mints none, so this endpoint serves both
	// the first secret and a second one for rotation.
	//
	// A principal may hold two active secrets at once, which is what makes
	// rotation possible with no authentication gap: issue the second,
	// redeploy, then revoke the first (ADR-0004).
	//
	// Refused when two are already USABLE — revoke one first, so that
	// rotation is a deliberate sequence rather than unbounded accumulation.
	// An expired secret does not count against the cap: it grants nothing,
	// and demanding its revocation first would add a step at exactly the
	// moment someone is fixing an outage (duf-2rw).
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/principals/{principalId}/secrets (the `CreatePrincipalSecret` operationId).
	CreatePrincipalSecretWithResponse(ctx context.Context, principalId PrincipalId, body CreatePrincipalSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePrincipalSecretResponse, error)

	// RevokePrincipalSecretWithResponse Revoke a secret
	//
	// Refused when it would leave a ROOT principal without a usable,
	// never-expiring secret — secretless root leaves the instance
	// administrable by direct database access alone, and a root holding only
	// expiring secrets is the same lockout on a timer (ADR-0004, amended
	// 2026-08-02; extended by duf-2rw).
	//
	// Every other principal may be left with no secrets: a maintainer issues
	// it a replacement, so a leaked credential can be revoked immediately
	// rather than after minting its successor. Revocation is also how an
	// EXPIRED secret is cleaned up — expiry never deletes anything.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/principals/{principalId}/secrets/{secretId} (the `RevokePrincipalSecret` operationId).
	RevokePrincipalSecretWithResponse(ctx context.Context, principalId PrincipalId, secretId string, reqEditors ...RequestEditorFn) (*RevokePrincipalSecretResponse, error)

	// GetScannerHealthWithResponse Read scanner adapter health in detail
	//
	// Root only. `/sys/health` reports a coarse scanner state and
	// deliberately names neither the adapter nor its endpoint, because it is
	// unauthenticated. This route carries that detail for an operator
	// diagnosing why scanning stopped.
	//
	// Like the coarse state, this reports what the last interaction
	// observed rather than probing the provider while answering — a health
	// route that reaches out to a third party turns monitoring into traffic
	// against someone else's service.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/scanner/health (the `GetScannerHealth` operationId).
	GetScannerHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetScannerHealthResponse, error)

	// GetSelfWithResponse Read the current principal and its server-resolved role
	//
	// Describes only the authenticated caller. The principal is resolved
	// from storage for this request, so a role or binding change is visible
	// without waiting for the access token to expire.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/self (the `GetSelf` operationId).
	GetSelfWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSelfResponse, error)

	// HealthWithResponse Report whether this instance is initialized and able to serve
	//
	// Modelled on Vault's `/sys/health`: the status code carries the state so
	// a liveness or readiness probe needs no body parsing, and the body says
	// the same thing for a human.
	//
	// `200` — initialized, the database answers, and audit is disabled or at
	// least one configured target can be written. A partial audit failure
	// remains ready because requests can still be recorded.
	// `501` — reachable, but not initialized (Vault's code for the same
	// state). The console reads this to decide whether first run is the
	// wizard or the sign-in screen, WITHOUT posting to `/sys/init`, which would
	// claim the instance.
	// `503` — the database does not answer, OR audit is configured and no
	// target can be written. Either way nothing can be served: audit fails
	// closed, so an instance that cannot record a request cannot answer one
	// (duf-dya). This is a READINESS signal — a degraded instance should be
	// taken out of rotation, not restarted, because a restart cannot empty a
	// full disk.
	//
	// The `encryption` field never sets the status code. A degraded key
	// service does not stop a serving instance — per-write encryption never
	// calls out (ADR-0024) — and failing the probe would evict exactly the
	// replicas that are safe, when what degraded actually threatens is the
	// next process start.
	//
	// Deliberately contentless beyond that. It is unauthenticated, so it
	// names no tenancy, no principal, no host, and never carries a database
	// error string — those identify schema and infrastructure (review
	// finding 16). Disclosing initialized-or-not is already accepted by
	// ADR-0012, and unlike probing `/sys/init` to learn the same thing, this does
	// not consume the instance.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /sys/health (the `Health` operationId).
	HealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthResponse, error)

	// InitializeWithBodyWithResponse Initialize an uninitialized instance
	//
	// Mints the initial administrative principal and returns its credentials
	// **exactly once**, in the response body. They are never retrievable
	// again, never logged, and the secret is hashed with argon2id on write.
	//
	// Callable only while no root principal exists; afterwards it refuses
	// permanently. A transaction-scoped singleton guard makes concurrent
	// claims atomic.
	//
	// The first-run UI wizard and unattended deployment begin with this same
	// endpoint, then use the ordinary authenticated platform endpoints. There
	// is no privileged side door — that is what allows end-to-end tests to
	// bootstrap a server without a browser (ADR-0012).
	//
	// Accepted risk, documented rather than engineered around: while
	// uninitialized, whoever reaches this endpoint first owns the deployment.
	// Do not expose an uninitialized instance publicly.
	//
	// Alongside the credentials, the response carries the recovery shares
	// (ADR-0024): a sharded proof of custody for `/sys/recovery`, shown once
	// like the credentials and verified server-side against a stored digest.
	// The share count and threshold are fixed here, at initialization —
	// there is no rekey ceremony.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sys/init (the `Initialize` operationId).
	InitializeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InitializeResponse, error)

	// InitializeWithResponse Initialize an uninitialized instance
	//
	// Mints the initial administrative principal and returns its credentials
	// **exactly once**, in the response body. They are never retrievable
	// again, never logged, and the secret is hashed with argon2id on write.
	//
	// Callable only while no root principal exists; afterwards it refuses
	// permanently. A transaction-scoped singleton guard makes concurrent
	// claims atomic.
	//
	// The first-run UI wizard and unattended deployment begin with this same
	// endpoint, then use the ordinary authenticated platform endpoints. There
	// is no privileged side door — that is what allows end-to-end tests to
	// bootstrap a server without a browser (ADR-0012).
	//
	// Accepted risk, documented rather than engineered around: while
	// uninitialized, whoever reaches this endpoint first owns the deployment.
	// Do not expose an uninitialized instance publicly.
	//
	// Alongside the credentials, the response carries the recovery shares
	// (ADR-0024): a sharded proof of custody for `/sys/recovery`, shown once
	// like the credentials and verified server-side against a stored digest.
	// The share count and threshold are fixed here, at initialization —
	// there is no rekey ceremony.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sys/init (the `Initialize` operationId).
	InitializeWithResponse(ctx context.Context, body InitializeJSONRequestBody, reqEditors ...RequestEditorFn) (*InitializeResponse, error)

	// RecoverWithBodyWithResponse Recover administrative access by proving custody of the recovery shares
	//
	// Accepts the threshold number of recovery shares in one request,
	// verifies the recombined secret against the digest stored at
	// initialization, and on success mints a **fresh root principal**,
	// returning its credentials once in the response body — exactly the
	// `/sys/init` contract (ADR-0024). The shares are a proof of custody,
	// not key material: they reconstruct nothing, remain valid after use,
	// and mint a new principal rather than resurrecting an old one, so the
	// ceremony is loud and distinct in the audit trail.
	//
	// Refusals are audited distinctly: malformed or too few shares answer
	// 400, shares that recombine to the wrong secret answer 403, and an
	// instance without a verifier — never initialized, or initialized
	// before recovery existed — answers 409.
	//
	// This is an anonymous surface, so it sits behind the same per-caller
	// rate limit as the token endpoint and answers 429 outside the audit
	// seam when it is exceeded (ADR-0020's audit-amplification coupling).
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sys/recovery (the `Recover` operationId).
	RecoverWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RecoverResponse, error)

	// RecoverWithResponse Recover administrative access by proving custody of the recovery shares
	//
	// Accepts the threshold number of recovery shares in one request,
	// verifies the recombined secret against the digest stored at
	// initialization, and on success mints a **fresh root principal**,
	// returning its credentials once in the response body — exactly the
	// `/sys/init` contract (ADR-0024). The shares are a proof of custody,
	// not key material: they reconstruct nothing, remain valid after use,
	// and mint a new principal rather than resurrecting an old one, so the
	// ceremony is loud and distinct in the audit trail.
	//
	// Refusals are audited distinctly: malformed or too few shares answer
	// 400, shares that recombine to the wrong secret answer 403, and an
	// instance without a verifier — never initialized, or initialized
	// before recovery existed — answers 409.
	//
	// This is an anonymous surface, so it sits behind the same per-caller
	// rate limit as the token endpoint and answers 429 outside the audit
	// seam when it is exceeded (ADR-0020's audit-amplification coupling).
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sys/recovery (the `Recover` operationId).
	RecoverWithResponse(ctx context.Context, body RecoverJSONRequestBody, reqEditors ...RequestEditorFn) (*RecoverResponse, error)

	// DeleteSessionWithResponse End the session by clearing the cookie
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /sys/session (the `DeleteSession` operationId).
	DeleteSessionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteSessionResponse, error)

	// ReadSessionWithResponse Exchange the session cookie for the access token it holds
	//
	// Returns a live token unchanged when it has at least two minutes left.
	// An expired, validly signed token (or one nearing expiry) is renewed only
	// while its principal and originating secret remain active and its
	// preserved auth_time is within the eight-hour absolute session cap.
	// A refused renewal clears the browser-session cookie and returns 204.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /sys/session (the `ReadSession` operationId).
	ReadSessionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReadSessionResponse, error)

	// CreateSessionWithResponse Persist the caller's token as an httpOnly session cookie
	//
	// The console holds its token in memory only (a bearer token in web
	// storage is readable by injected script), which made every reload a
	// sign-in. This endpoint keeps that property while letting a session
	// survive reload: the verified bearer token is set as an httpOnly,
	// SameSite=Strict cookie scoped to this path, which script cannot read.
	//
	// GET renews a token shortly before expiry while the originating secret
	// remains active, bounded by an eight-hour absolute session cap. The
	// Packer token lifetime is unchanged.
	//
	// CSRF: a cross-site form cannot set the Authorization header this
	// operation requires, and SameSite=Strict keeps the cookie off cross-site
	// requests entirely.
	//
	// Honest limit, stated rather than implied: injected script cannot read
	// the cookie, but it can drive the same exchange the console boot does.
	// The win over web storage is that no credential sits readable at rest,
	// not that a compromised page is powerless.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /sys/session (the `CreateSession` operationId).
	CreateSessionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CreateSessionResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type Conflict

type Conflict = Error

Conflict Deliberately NOT the compatibility plane's GoogleRPCStatus shape. This plane is ours and has no client regex-matching its error text.

type ConflictJSONResponse

type ConflictJSONResponse Error

type CreateAuditTarget201JSONResponse

type CreateAuditTarget201JSONResponse AuditTarget

func (CreateAuditTarget201JSONResponse) VisitCreateAuditTargetResponse

func (response CreateAuditTarget201JSONResponse) VisitCreateAuditTargetResponse(w http.ResponseWriter) error

type CreateAuditTarget400JSONResponse

type CreateAuditTarget400JSONResponse AuditTargetOpenError

func (CreateAuditTarget400JSONResponse) VisitCreateAuditTargetResponse

func (response CreateAuditTarget400JSONResponse) VisitCreateAuditTargetResponse(w http.ResponseWriter) error

type CreateAuditTarget401JSONResponse

type CreateAuditTarget401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateAuditTarget401JSONResponse) VisitCreateAuditTargetResponse

func (response CreateAuditTarget401JSONResponse) VisitCreateAuditTargetResponse(w http.ResponseWriter) error

type CreateAuditTarget403JSONResponse

type CreateAuditTarget403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateAuditTarget403JSONResponse) VisitCreateAuditTargetResponse

func (response CreateAuditTarget403JSONResponse) VisitCreateAuditTargetResponse(w http.ResponseWriter) error

type CreateAuditTarget409JSONResponse

type CreateAuditTarget409JSONResponse Error

func (CreateAuditTarget409JSONResponse) VisitCreateAuditTargetResponse

func (response CreateAuditTarget409JSONResponse) VisitCreateAuditTargetResponse(w http.ResponseWriter) error

type CreateAuditTargetJSONRequestBody

type CreateAuditTargetJSONRequestBody = AuditTargetCreate

CreateAuditTargetJSONRequestBody defines body for CreateAuditTarget for application/json ContentType.

type CreateAuditTargetRequestObject

type CreateAuditTargetRequestObject struct {
	Body *CreateAuditTargetJSONRequestBody
}

type CreateAuditTargetResponse

type CreateAuditTargetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *AuditTarget
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *AuditTargetOpenError
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
}

func ParseCreateAuditTargetResponse

func ParseCreateAuditTargetResponse(rsp *http.Response) (*CreateAuditTargetResponse, error)

ParseCreateAuditTargetResponse parses an HTTP response from a CreateAuditTargetWithResponse call

func (CreateAuditTargetResponse) ContentType

func (r CreateAuditTargetResponse) ContentType() string

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

func (CreateAuditTargetResponse) GetBody

func (r CreateAuditTargetResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateAuditTargetResponse) GetJSON201

func (r CreateAuditTargetResponse) GetJSON201() *AuditTarget

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateAuditTargetResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateAuditTargetResponse) GetJSON401

func (r CreateAuditTargetResponse) GetJSON401() *Unauthorized

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

func (CreateAuditTargetResponse) GetJSON403

func (r CreateAuditTargetResponse) GetJSON403() *Forbidden

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

func (CreateAuditTargetResponse) GetJSON409

func (r CreateAuditTargetResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CreateAuditTargetResponse) Status

func (r CreateAuditTargetResponse) Status() string

Status returns HTTPResponse.Status

func (CreateAuditTargetResponse) StatusCode

func (r CreateAuditTargetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateAuditTargetResponseObject

type CreateAuditTargetResponseObject interface {
	VisitCreateAuditTargetResponse(w http.ResponseWriter) error
}

type CreateOrganization201JSONResponse

type CreateOrganization201JSONResponse Organization

func (CreateOrganization201JSONResponse) VisitCreateOrganizationResponse

func (response CreateOrganization201JSONResponse) VisitCreateOrganizationResponse(w http.ResponseWriter) error

type CreateOrganization401JSONResponse

type CreateOrganization401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateOrganization401JSONResponse) VisitCreateOrganizationResponse

func (response CreateOrganization401JSONResponse) VisitCreateOrganizationResponse(w http.ResponseWriter) error

type CreateOrganization403JSONResponse

type CreateOrganization403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateOrganization403JSONResponse) VisitCreateOrganizationResponse

func (response CreateOrganization403JSONResponse) VisitCreateOrganizationResponse(w http.ResponseWriter) error

type CreateOrganization409JSONResponse

type CreateOrganization409JSONResponse struct{ ConflictJSONResponse }

func (CreateOrganization409JSONResponse) VisitCreateOrganizationResponse

func (response CreateOrganization409JSONResponse) VisitCreateOrganizationResponse(w http.ResponseWriter) error

type CreateOrganizationJSONBody

type CreateOrganizationJSONBody struct {
	// Name A lowercase RFC 1123 DNS label using letters, digits and hyphens, with no leading or trailing hyphen.
	Name string `json:"name"`
}

CreateOrganizationJSONBody defines parameters for CreateOrganization.

type CreateOrganizationJSONRequestBody

type CreateOrganizationJSONRequestBody CreateOrganizationJSONBody

CreateOrganizationJSONRequestBody defines body for CreateOrganization for application/json ContentType.

type CreateOrganizationRequestObject

type CreateOrganizationRequestObject struct {
	Body *CreateOrganizationJSONRequestBody
}

type CreateOrganizationResponse

type CreateOrganizationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Organization
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Conflict
}

func ParseCreateOrganizationResponse

func ParseCreateOrganizationResponse(rsp *http.Response) (*CreateOrganizationResponse, error)

ParseCreateOrganizationResponse parses an HTTP response from a CreateOrganizationWithResponse call

func (CreateOrganizationResponse) ContentType

func (r CreateOrganizationResponse) ContentType() string

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

func (CreateOrganizationResponse) GetBody

func (r CreateOrganizationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateOrganizationResponse) GetJSON201

func (r CreateOrganizationResponse) GetJSON201() *Organization

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateOrganizationResponse) GetJSON401

func (r CreateOrganizationResponse) GetJSON401() *Unauthorized

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

func (CreateOrganizationResponse) GetJSON403

func (r CreateOrganizationResponse) GetJSON403() *Forbidden

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

func (CreateOrganizationResponse) GetJSON409

func (r CreateOrganizationResponse) GetJSON409() *Conflict

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CreateOrganizationResponse) Status

Status returns HTTPResponse.Status

func (CreateOrganizationResponse) StatusCode

func (r CreateOrganizationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateOrganizationResponseObject

type CreateOrganizationResponseObject interface {
	VisitCreateOrganizationResponse(w http.ResponseWriter) error
}

type CreateOrganizationWebhook201JSONResponse added in v0.5.0

type CreateOrganizationWebhook201JSONResponse Webhook

func (CreateOrganizationWebhook201JSONResponse) VisitCreateOrganizationWebhookResponse added in v0.5.0

func (response CreateOrganizationWebhook201JSONResponse) VisitCreateOrganizationWebhookResponse(w http.ResponseWriter) error

type CreateOrganizationWebhook400JSONResponse added in v0.5.0

type CreateOrganizationWebhook400JSONResponse struct{ BadRequestJSONResponse }

func (CreateOrganizationWebhook400JSONResponse) VisitCreateOrganizationWebhookResponse added in v0.5.0

func (response CreateOrganizationWebhook400JSONResponse) VisitCreateOrganizationWebhookResponse(w http.ResponseWriter) error

type CreateOrganizationWebhook401JSONResponse added in v0.5.0

type CreateOrganizationWebhook401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateOrganizationWebhook401JSONResponse) VisitCreateOrganizationWebhookResponse added in v0.5.0

func (response CreateOrganizationWebhook401JSONResponse) VisitCreateOrganizationWebhookResponse(w http.ResponseWriter) error

type CreateOrganizationWebhook403JSONResponse added in v0.5.0

type CreateOrganizationWebhook403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateOrganizationWebhook403JSONResponse) VisitCreateOrganizationWebhookResponse added in v0.5.0

func (response CreateOrganizationWebhook403JSONResponse) VisitCreateOrganizationWebhookResponse(w http.ResponseWriter) error

type CreateOrganizationWebhook404JSONResponse added in v0.5.0

type CreateOrganizationWebhook404JSONResponse struct{ NotFoundJSONResponse }

func (CreateOrganizationWebhook404JSONResponse) VisitCreateOrganizationWebhookResponse added in v0.5.0

func (response CreateOrganizationWebhook404JSONResponse) VisitCreateOrganizationWebhookResponse(w http.ResponseWriter) error

type CreateOrganizationWebhook409JSONResponse added in v0.5.0

type CreateOrganizationWebhook409JSONResponse Error

func (CreateOrganizationWebhook409JSONResponse) VisitCreateOrganizationWebhookResponse added in v0.5.0

func (response CreateOrganizationWebhook409JSONResponse) VisitCreateOrganizationWebhookResponse(w http.ResponseWriter) error

type CreateOrganizationWebhookJSONRequestBody added in v0.5.0

type CreateOrganizationWebhookJSONRequestBody = WebhookCreate

CreateOrganizationWebhookJSONRequestBody defines body for CreateOrganizationWebhook for application/json ContentType.

type CreateOrganizationWebhookRequestObject added in v0.5.0

type CreateOrganizationWebhookRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	Body           *CreateOrganizationWebhookJSONRequestBody
}

type CreateOrganizationWebhookResponse added in v0.5.0

type CreateOrganizationWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Webhook
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequest
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
}

func ParseCreateOrganizationWebhookResponse added in v0.5.0

func ParseCreateOrganizationWebhookResponse(rsp *http.Response) (*CreateOrganizationWebhookResponse, error)

ParseCreateOrganizationWebhookResponse parses an HTTP response from a CreateOrganizationWebhookWithResponse call

func (CreateOrganizationWebhookResponse) ContentType added in v0.5.0

func (r CreateOrganizationWebhookResponse) ContentType() string

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

func (CreateOrganizationWebhookResponse) GetBody added in v0.5.0

GetBody returns the raw response body bytes

func (CreateOrganizationWebhookResponse) GetJSON201 added in v0.5.0

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateOrganizationWebhookResponse) GetJSON400 added in v0.5.0

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateOrganizationWebhookResponse) GetJSON401 added in v0.5.0

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

func (CreateOrganizationWebhookResponse) GetJSON403 added in v0.5.0

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

func (CreateOrganizationWebhookResponse) GetJSON404 added in v0.5.0

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreateOrganizationWebhookResponse) GetJSON409 added in v0.5.0

func (r CreateOrganizationWebhookResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CreateOrganizationWebhookResponse) Status added in v0.5.0

Status returns HTTPResponse.Status

func (CreateOrganizationWebhookResponse) StatusCode added in v0.5.0

func (r CreateOrganizationWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateOrganizationWebhookResponseObject added in v0.5.0

type CreateOrganizationWebhookResponseObject interface {
	VisitCreateOrganizationWebhookResponse(w http.ResponseWriter) error
}

type CreatePluginImport202JSONResponse added in v0.5.0

type CreatePluginImport202JSONResponse PluginImport

func (CreatePluginImport202JSONResponse) VisitCreatePluginImportResponse added in v0.5.0

func (response CreatePluginImport202JSONResponse) VisitCreatePluginImportResponse(w http.ResponseWriter) error

type CreatePluginImport400JSONResponse added in v0.5.0

type CreatePluginImport400JSONResponse struct{ BadRequestJSONResponse }

func (CreatePluginImport400JSONResponse) VisitCreatePluginImportResponse added in v0.5.0

func (response CreatePluginImport400JSONResponse) VisitCreatePluginImportResponse(w http.ResponseWriter) error

type CreatePluginImport401JSONResponse added in v0.5.0

type CreatePluginImport401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreatePluginImport401JSONResponse) VisitCreatePluginImportResponse added in v0.5.0

func (response CreatePluginImport401JSONResponse) VisitCreatePluginImportResponse(w http.ResponseWriter) error

type CreatePluginImport403JSONResponse added in v0.5.0

type CreatePluginImport403JSONResponse struct{ ForbiddenJSONResponse }

func (CreatePluginImport403JSONResponse) VisitCreatePluginImportResponse added in v0.5.0

func (response CreatePluginImport403JSONResponse) VisitCreatePluginImportResponse(w http.ResponseWriter) error

type CreatePluginImport404JSONResponse added in v0.5.0

type CreatePluginImport404JSONResponse struct{ NotFoundJSONResponse }

func (CreatePluginImport404JSONResponse) VisitCreatePluginImportResponse added in v0.5.0

func (response CreatePluginImport404JSONResponse) VisitCreatePluginImportResponse(w http.ResponseWriter) error

type CreatePluginImport409JSONResponse added in v0.5.0

type CreatePluginImport409JSONResponse PluginImportConflict

func (CreatePluginImport409JSONResponse) VisitCreatePluginImportResponse added in v0.5.0

func (response CreatePluginImport409JSONResponse) VisitCreatePluginImportResponse(w http.ResponseWriter) error

type CreatePluginImportJSONRequestBody added in v0.5.0

type CreatePluginImportJSONRequestBody = PluginImportRequest

CreatePluginImportJSONRequestBody defines body for CreatePluginImport for application/json ContentType.

type CreatePluginImportRequestObject added in v0.5.0

type CreatePluginImportRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	Body           *CreatePluginImportJSONRequestBody
}

type CreatePluginImportResponse added in v0.5.0

type CreatePluginImportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *PluginImport
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequest
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *PluginImportConflict
}

func ParseCreatePluginImportResponse added in v0.5.0

func ParseCreatePluginImportResponse(rsp *http.Response) (*CreatePluginImportResponse, error)

ParseCreatePluginImportResponse parses an HTTP response from a CreatePluginImportWithResponse call

func (CreatePluginImportResponse) ContentType added in v0.5.0

func (r CreatePluginImportResponse) ContentType() string

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

func (CreatePluginImportResponse) GetBody added in v0.5.0

func (r CreatePluginImportResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreatePluginImportResponse) GetJSON202 added in v0.5.0

func (r CreatePluginImportResponse) GetJSON202() *PluginImport

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

func (CreatePluginImportResponse) GetJSON400 added in v0.5.0

func (r CreatePluginImportResponse) GetJSON400() *BadRequest

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreatePluginImportResponse) GetJSON401 added in v0.5.0

func (r CreatePluginImportResponse) GetJSON401() *Unauthorized

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

func (CreatePluginImportResponse) GetJSON403 added in v0.5.0

func (r CreatePluginImportResponse) GetJSON403() *Forbidden

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

func (CreatePluginImportResponse) GetJSON404 added in v0.5.0

func (r CreatePluginImportResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreatePluginImportResponse) GetJSON409 added in v0.5.0

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CreatePluginImportResponse) Status added in v0.5.0

Status returns HTTPResponse.Status

func (CreatePluginImportResponse) StatusCode added in v0.5.0

func (r CreatePluginImportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreatePluginImportResponseObject added in v0.5.0

type CreatePluginImportResponseObject interface {
	VisitCreatePluginImportResponse(w http.ResponseWriter) error
}

type CreatePrincipal201JSONResponse

type CreatePrincipal201JSONResponse Principal

func (CreatePrincipal201JSONResponse) VisitCreatePrincipalResponse

func (response CreatePrincipal201JSONResponse) VisitCreatePrincipalResponse(w http.ResponseWriter) error

type CreatePrincipal401JSONResponse

type CreatePrincipal401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreatePrincipal401JSONResponse) VisitCreatePrincipalResponse

func (response CreatePrincipal401JSONResponse) VisitCreatePrincipalResponse(w http.ResponseWriter) error

type CreatePrincipal403JSONResponse

type CreatePrincipal403JSONResponse struct{ ForbiddenJSONResponse }

func (CreatePrincipal403JSONResponse) VisitCreatePrincipalResponse

func (response CreatePrincipal403JSONResponse) VisitCreatePrincipalResponse(w http.ResponseWriter) error

type CreatePrincipal404JSONResponse

type CreatePrincipal404JSONResponse struct{ NotFoundJSONResponse }

func (CreatePrincipal404JSONResponse) VisitCreatePrincipalResponse

func (response CreatePrincipal404JSONResponse) VisitCreatePrincipalResponse(w http.ResponseWriter) error

type CreatePrincipal409JSONResponse

type CreatePrincipal409JSONResponse struct{ ConflictJSONResponse }

func (CreatePrincipal409JSONResponse) VisitCreatePrincipalResponse

func (response CreatePrincipal409JSONResponse) VisitCreatePrincipalResponse(w http.ResponseWriter) error

type CreatePrincipalJSONBody

type CreatePrincipalJSONBody struct {
	// BucketId The ULID of an existing bucket in the named project. Omit
	// for a project-or-wider principal.
	BucketId *string `json:"bucket_id,omitempty"`
	Name     string  `json:"name"`

	// OrganizationId Omit only for a platform-scoped root principal. Every other
	// role must name an organization.
	OrganizationId *openapi_types.UUID `json:"organization_id,omitempty"`

	// ProjectId Omit for an ORGANIZATION-scoped principal, which sees every
	// project in its organization. Supply it for a PROJECT-scoped
	// principal, which sees only that one.
	//
	// Both exist because the Packer CLI distinguishes them.
	// ProjectService_List answers 403 for a project-scoped
	// principal, which the CLI turns into "try setting
	// HCP_PROJECT_ID"; an org-scoped principal seeing several
	// projects instead makes it warn and select the oldest. Support
	// only one kind and one of those documented paths becomes
	// unreachable.
	ProjectId *openapi_types.UUID `json:"project_id,omitempty"`

	// Role The principal's authority within its scope. A caller may grant or modify
	// only roles at or below its own.
	Role Role `json:"role"`
}

CreatePrincipalJSONBody defines parameters for CreatePrincipal.

type CreatePrincipalJSONRequestBody

type CreatePrincipalJSONRequestBody CreatePrincipalJSONBody

CreatePrincipalJSONRequestBody defines body for CreatePrincipal for application/json ContentType.

type CreatePrincipalRequestObject

type CreatePrincipalRequestObject struct {
	Body *CreatePrincipalJSONRequestBody
}

type CreatePrincipalResponse

type CreatePrincipalResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Principal
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Conflict
}

func ParseCreatePrincipalResponse

func ParseCreatePrincipalResponse(rsp *http.Response) (*CreatePrincipalResponse, error)

ParseCreatePrincipalResponse parses an HTTP response from a CreatePrincipalWithResponse call

func (CreatePrincipalResponse) ContentType

func (r CreatePrincipalResponse) ContentType() string

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

func (CreatePrincipalResponse) GetBody

func (r CreatePrincipalResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreatePrincipalResponse) GetJSON201

func (r CreatePrincipalResponse) GetJSON201() *Principal

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreatePrincipalResponse) GetJSON401

func (r CreatePrincipalResponse) GetJSON401() *Unauthorized

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

func (CreatePrincipalResponse) GetJSON403

func (r CreatePrincipalResponse) GetJSON403() *Forbidden

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

func (CreatePrincipalResponse) GetJSON404

func (r CreatePrincipalResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreatePrincipalResponse) GetJSON409

func (r CreatePrincipalResponse) GetJSON409() *Conflict

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CreatePrincipalResponse) Status

func (r CreatePrincipalResponse) Status() string

Status returns HTTPResponse.Status

func (CreatePrincipalResponse) StatusCode

func (r CreatePrincipalResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreatePrincipalResponseObject

type CreatePrincipalResponseObject interface {
	VisitCreatePrincipalResponse(w http.ResponseWriter) error
}

type CreatePrincipalSecret201JSONResponse

type CreatePrincipalSecret201JSONResponse SecretIssued

func (CreatePrincipalSecret201JSONResponse) VisitCreatePrincipalSecretResponse

func (response CreatePrincipalSecret201JSONResponse) VisitCreatePrincipalSecretResponse(w http.ResponseWriter) error

type CreatePrincipalSecret400JSONResponse

type CreatePrincipalSecret400JSONResponse Error

func (CreatePrincipalSecret400JSONResponse) VisitCreatePrincipalSecretResponse

func (response CreatePrincipalSecret400JSONResponse) VisitCreatePrincipalSecretResponse(w http.ResponseWriter) error

type CreatePrincipalSecret401JSONResponse

type CreatePrincipalSecret401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreatePrincipalSecret401JSONResponse) VisitCreatePrincipalSecretResponse

func (response CreatePrincipalSecret401JSONResponse) VisitCreatePrincipalSecretResponse(w http.ResponseWriter) error

type CreatePrincipalSecret403JSONResponse

type CreatePrincipalSecret403JSONResponse struct{ ForbiddenJSONResponse }

func (CreatePrincipalSecret403JSONResponse) VisitCreatePrincipalSecretResponse

func (response CreatePrincipalSecret403JSONResponse) VisitCreatePrincipalSecretResponse(w http.ResponseWriter) error

type CreatePrincipalSecret404JSONResponse

type CreatePrincipalSecret404JSONResponse struct{ NotFoundJSONResponse }

func (CreatePrincipalSecret404JSONResponse) VisitCreatePrincipalSecretResponse

func (response CreatePrincipalSecret404JSONResponse) VisitCreatePrincipalSecretResponse(w http.ResponseWriter) error

type CreatePrincipalSecret409JSONResponse

type CreatePrincipalSecret409JSONResponse Error

func (CreatePrincipalSecret409JSONResponse) VisitCreatePrincipalSecretResponse

func (response CreatePrincipalSecret409JSONResponse) VisitCreatePrincipalSecretResponse(w http.ResponseWriter) error

type CreatePrincipalSecretJSONBody

type CreatePrincipalSecretJSONBody struct {
	// ExpiresAt When this credential stops granting anything. Absent means
	// it never expires. Must be in the future. Expiry lives on
	// the secret, not the principal — the outgoing secret of a
	// rotation expires soon, the incoming one later.
	ExpiresAt *time.Time `json:"expires_at,omitempty"`
}

CreatePrincipalSecretJSONBody defines parameters for CreatePrincipalSecret.

type CreatePrincipalSecretJSONRequestBody

type CreatePrincipalSecretJSONRequestBody CreatePrincipalSecretJSONBody

CreatePrincipalSecretJSONRequestBody defines body for CreatePrincipalSecret for application/json ContentType.

type CreatePrincipalSecretRequestObject

type CreatePrincipalSecretRequestObject struct {
	PrincipalId PrincipalId `json:"principalId"`
	Body        *CreatePrincipalSecretJSONRequestBody
}

type CreatePrincipalSecretResponse

type CreatePrincipalSecretResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *SecretIssued
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
}

func ParseCreatePrincipalSecretResponse

func ParseCreatePrincipalSecretResponse(rsp *http.Response) (*CreatePrincipalSecretResponse, error)

ParseCreatePrincipalSecretResponse parses an HTTP response from a CreatePrincipalSecretWithResponse call

func (CreatePrincipalSecretResponse) ContentType

func (r CreatePrincipalSecretResponse) ContentType() string

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

func (CreatePrincipalSecretResponse) GetBody

func (r CreatePrincipalSecretResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreatePrincipalSecretResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreatePrincipalSecretResponse) GetJSON400

func (r CreatePrincipalSecretResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreatePrincipalSecretResponse) GetJSON401

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

func (CreatePrincipalSecretResponse) GetJSON403

func (r CreatePrincipalSecretResponse) GetJSON403() *Forbidden

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

func (CreatePrincipalSecretResponse) GetJSON404

func (r CreatePrincipalSecretResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreatePrincipalSecretResponse) GetJSON409

func (r CreatePrincipalSecretResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CreatePrincipalSecretResponse) Status

Status returns HTTPResponse.Status

func (CreatePrincipalSecretResponse) StatusCode

func (r CreatePrincipalSecretResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreatePrincipalSecretResponseObject

type CreatePrincipalSecretResponseObject interface {
	VisitCreatePrincipalSecretResponse(w http.ResponseWriter) error
}

type CreateProject201JSONResponse

type CreateProject201JSONResponse Project

func (CreateProject201JSONResponse) VisitCreateProjectResponse

func (response CreateProject201JSONResponse) VisitCreateProjectResponse(w http.ResponseWriter) error

type CreateProject401JSONResponse

type CreateProject401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateProject401JSONResponse) VisitCreateProjectResponse

func (response CreateProject401JSONResponse) VisitCreateProjectResponse(w http.ResponseWriter) error

type CreateProject403JSONResponse

type CreateProject403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateProject403JSONResponse) VisitCreateProjectResponse

func (response CreateProject403JSONResponse) VisitCreateProjectResponse(w http.ResponseWriter) error

type CreateProject409JSONResponse

type CreateProject409JSONResponse struct{ ConflictJSONResponse }

func (CreateProject409JSONResponse) VisitCreateProjectResponse

func (response CreateProject409JSONResponse) VisitCreateProjectResponse(w http.ResponseWriter) error

type CreateProjectJSONBody

type CreateProjectJSONBody struct {
	Name string `json:"name"`
}

CreateProjectJSONBody defines parameters for CreateProject.

type CreateProjectJSONRequestBody

type CreateProjectJSONRequestBody CreateProjectJSONBody

CreateProjectJSONRequestBody defines body for CreateProject for application/json ContentType.

type CreateProjectRequestObject

type CreateProjectRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	Body           *CreateProjectJSONRequestBody
}

type CreateProjectResponse

type CreateProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Project
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Conflict
}

func ParseCreateProjectResponse

func ParseCreateProjectResponse(rsp *http.Response) (*CreateProjectResponse, error)

ParseCreateProjectResponse parses an HTTP response from a CreateProjectWithResponse call

func (CreateProjectResponse) ContentType

func (r CreateProjectResponse) ContentType() string

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

func (CreateProjectResponse) GetBody

func (r CreateProjectResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateProjectResponse) GetJSON201

func (r CreateProjectResponse) GetJSON201() *Project

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateProjectResponse) GetJSON401

func (r CreateProjectResponse) GetJSON401() *Unauthorized

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

func (CreateProjectResponse) GetJSON403

func (r CreateProjectResponse) GetJSON403() *Forbidden

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

func (CreateProjectResponse) GetJSON409

func (r CreateProjectResponse) GetJSON409() *Conflict

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CreateProjectResponse) Status

func (r CreateProjectResponse) Status() string

Status returns HTTPResponse.Status

func (CreateProjectResponse) StatusCode

func (r CreateProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateProjectResponseObject

type CreateProjectResponseObject interface {
	VisitCreateProjectResponse(w http.ResponseWriter) error
}

type CreateSession204Response

type CreateSession204Response struct {
}

func (CreateSession204Response) VisitCreateSessionResponse

func (response CreateSession204Response) VisitCreateSessionResponse(w http.ResponseWriter) error

type CreateSession401JSONResponse

type CreateSession401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateSession401JSONResponse) VisitCreateSessionResponse

func (response CreateSession401JSONResponse) VisitCreateSessionResponse(w http.ResponseWriter) error

type CreateSessionRequestObject

type CreateSessionRequestObject struct {
}

type CreateSessionResponse

type CreateSessionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
}

func ParseCreateSessionResponse

func ParseCreateSessionResponse(rsp *http.Response) (*CreateSessionResponse, error)

ParseCreateSessionResponse parses an HTTP response from a CreateSessionWithResponse call

func (CreateSessionResponse) ContentType

func (r CreateSessionResponse) ContentType() string

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

func (CreateSessionResponse) GetBody

func (r CreateSessionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateSessionResponse) GetJSON401

func (r CreateSessionResponse) GetJSON401() *Unauthorized

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

func (CreateSessionResponse) Status

func (r CreateSessionResponse) Status() string

Status returns HTTPResponse.Status

func (CreateSessionResponse) StatusCode

func (r CreateSessionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateSessionResponseObject

type CreateSessionResponseObject interface {
	VisitCreateSessionResponse(w http.ResponseWriter) error
}

type CreateWebhook201JSONResponse

type CreateWebhook201JSONResponse Webhook

func (CreateWebhook201JSONResponse) VisitCreateWebhookResponse

func (response CreateWebhook201JSONResponse) VisitCreateWebhookResponse(w http.ResponseWriter) error

type CreateWebhook400JSONResponse

type CreateWebhook400JSONResponse struct{ BadRequestJSONResponse }

func (CreateWebhook400JSONResponse) VisitCreateWebhookResponse

func (response CreateWebhook400JSONResponse) VisitCreateWebhookResponse(w http.ResponseWriter) error

type CreateWebhook401JSONResponse

type CreateWebhook401JSONResponse struct{ UnauthorizedJSONResponse }

func (CreateWebhook401JSONResponse) VisitCreateWebhookResponse

func (response CreateWebhook401JSONResponse) VisitCreateWebhookResponse(w http.ResponseWriter) error

type CreateWebhook403JSONResponse

type CreateWebhook403JSONResponse struct{ ForbiddenJSONResponse }

func (CreateWebhook403JSONResponse) VisitCreateWebhookResponse

func (response CreateWebhook403JSONResponse) VisitCreateWebhookResponse(w http.ResponseWriter) error

type CreateWebhook404JSONResponse

type CreateWebhook404JSONResponse struct{ NotFoundJSONResponse }

func (CreateWebhook404JSONResponse) VisitCreateWebhookResponse

func (response CreateWebhook404JSONResponse) VisitCreateWebhookResponse(w http.ResponseWriter) error

type CreateWebhook409JSONResponse

type CreateWebhook409JSONResponse Error

func (CreateWebhook409JSONResponse) VisitCreateWebhookResponse

func (response CreateWebhook409JSONResponse) VisitCreateWebhookResponse(w http.ResponseWriter) error

type CreateWebhookJSONRequestBody

type CreateWebhookJSONRequestBody = WebhookCreate

CreateWebhookJSONRequestBody defines body for CreateWebhook for application/json ContentType.

type CreateWebhookRequestObject

type CreateWebhookRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	ProjectId      ProjectId      `json:"projectId"`
	Body           *CreateWebhookJSONRequestBody
}

type CreateWebhookResponse

type CreateWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Webhook
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequest
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
}

func ParseCreateWebhookResponse

func ParseCreateWebhookResponse(rsp *http.Response) (*CreateWebhookResponse, error)

ParseCreateWebhookResponse parses an HTTP response from a CreateWebhookWithResponse call

func (CreateWebhookResponse) ContentType

func (r CreateWebhookResponse) ContentType() string

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

func (CreateWebhookResponse) GetBody

func (r CreateWebhookResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateWebhookResponse) GetJSON201

func (r CreateWebhookResponse) GetJSON201() *Webhook

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateWebhookResponse) GetJSON400

func (r CreateWebhookResponse) GetJSON400() *BadRequest

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateWebhookResponse) GetJSON401

func (r CreateWebhookResponse) GetJSON401() *Unauthorized

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

func (CreateWebhookResponse) GetJSON403

func (r CreateWebhookResponse) GetJSON403() *Forbidden

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

func (CreateWebhookResponse) GetJSON404

func (r CreateWebhookResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreateWebhookResponse) GetJSON409

func (r CreateWebhookResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CreateWebhookResponse) Status

func (r CreateWebhookResponse) Status() string

Status returns HTTPResponse.Status

func (CreateWebhookResponse) StatusCode

func (r CreateWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateWebhookResponseObject

type CreateWebhookResponseObject interface {
	VisitCreateWebhookResponse(w http.ResponseWriter) error
}

type DeleteAuditTarget204Response

type DeleteAuditTarget204Response struct {
}

func (DeleteAuditTarget204Response) VisitDeleteAuditTargetResponse

func (response DeleteAuditTarget204Response) VisitDeleteAuditTargetResponse(w http.ResponseWriter) error

type DeleteAuditTarget401JSONResponse

type DeleteAuditTarget401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteAuditTarget401JSONResponse) VisitDeleteAuditTargetResponse

func (response DeleteAuditTarget401JSONResponse) VisitDeleteAuditTargetResponse(w http.ResponseWriter) error

type DeleteAuditTarget403JSONResponse

type DeleteAuditTarget403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteAuditTarget403JSONResponse) VisitDeleteAuditTargetResponse

func (response DeleteAuditTarget403JSONResponse) VisitDeleteAuditTargetResponse(w http.ResponseWriter) error

type DeleteAuditTarget404JSONResponse

type DeleteAuditTarget404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteAuditTarget404JSONResponse) VisitDeleteAuditTargetResponse

func (response DeleteAuditTarget404JSONResponse) VisitDeleteAuditTargetResponse(w http.ResponseWriter) error

type DeleteAuditTargetRequestObject

type DeleteAuditTargetRequestObject struct {
	TargetId openapi_types.UUID `json:"targetId"`
}

type DeleteAuditTargetResponse

type DeleteAuditTargetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
}

func ParseDeleteAuditTargetResponse

func ParseDeleteAuditTargetResponse(rsp *http.Response) (*DeleteAuditTargetResponse, error)

ParseDeleteAuditTargetResponse parses an HTTP response from a DeleteAuditTargetWithResponse call

func (DeleteAuditTargetResponse) ContentType

func (r DeleteAuditTargetResponse) ContentType() string

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

func (DeleteAuditTargetResponse) GetBody

func (r DeleteAuditTargetResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteAuditTargetResponse) GetJSON401

func (r DeleteAuditTargetResponse) GetJSON401() *Unauthorized

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

func (DeleteAuditTargetResponse) GetJSON403

func (r DeleteAuditTargetResponse) GetJSON403() *Forbidden

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

func (DeleteAuditTargetResponse) GetJSON404

func (r DeleteAuditTargetResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteAuditTargetResponse) Status

func (r DeleteAuditTargetResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteAuditTargetResponse) StatusCode

func (r DeleteAuditTargetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteAuditTargetResponseObject

type DeleteAuditTargetResponseObject interface {
	VisitDeleteAuditTargetResponse(w http.ResponseWriter) error
}

type DeleteBagDropAssociation204Response

type DeleteBagDropAssociation204Response struct {
}

func (DeleteBagDropAssociation204Response) VisitDeleteBagDropAssociationResponse

func (response DeleteBagDropAssociation204Response) VisitDeleteBagDropAssociationResponse(w http.ResponseWriter) error

type DeleteBagDropAssociation401JSONResponse

type DeleteBagDropAssociation401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteBagDropAssociation401JSONResponse) VisitDeleteBagDropAssociationResponse

func (response DeleteBagDropAssociation401JSONResponse) VisitDeleteBagDropAssociationResponse(w http.ResponseWriter) error

type DeleteBagDropAssociation403JSONResponse

type DeleteBagDropAssociation403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteBagDropAssociation403JSONResponse) VisitDeleteBagDropAssociationResponse

func (response DeleteBagDropAssociation403JSONResponse) VisitDeleteBagDropAssociationResponse(w http.ResponseWriter) error

type DeleteBagDropAssociation404JSONResponse

type DeleteBagDropAssociation404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteBagDropAssociation404JSONResponse) VisitDeleteBagDropAssociationResponse

func (response DeleteBagDropAssociation404JSONResponse) VisitDeleteBagDropAssociationResponse(w http.ResponseWriter) error

type DeleteBagDropAssociationRequestObject

type DeleteBagDropAssociationRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	ProjectId      ProjectId      `json:"projectId"`
	BucketName     string         `json:"bucketName"`
}

type DeleteBagDropAssociationResponse

type DeleteBagDropAssociationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
}

func ParseDeleteBagDropAssociationResponse

func ParseDeleteBagDropAssociationResponse(rsp *http.Response) (*DeleteBagDropAssociationResponse, error)

ParseDeleteBagDropAssociationResponse parses an HTTP response from a DeleteBagDropAssociationWithResponse call

func (DeleteBagDropAssociationResponse) ContentType

func (r DeleteBagDropAssociationResponse) ContentType() string

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

func (DeleteBagDropAssociationResponse) GetBody

func (r DeleteBagDropAssociationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteBagDropAssociationResponse) GetJSON401

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

func (DeleteBagDropAssociationResponse) GetJSON403

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

func (DeleteBagDropAssociationResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteBagDropAssociationResponse) Status

Status returns HTTPResponse.Status

func (DeleteBagDropAssociationResponse) StatusCode

func (r DeleteBagDropAssociationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteBagDropAssociationResponseObject

type DeleteBagDropAssociationResponseObject interface {
	VisitDeleteBagDropAssociationResponse(w http.ResponseWriter) error
}

type DeleteBagDropConfig204Response

type DeleteBagDropConfig204Response struct {
}

func (DeleteBagDropConfig204Response) VisitDeleteBagDropConfigResponse

func (response DeleteBagDropConfig204Response) VisitDeleteBagDropConfigResponse(w http.ResponseWriter) error

type DeleteBagDropConfig401JSONResponse

type DeleteBagDropConfig401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteBagDropConfig401JSONResponse) VisitDeleteBagDropConfigResponse

func (response DeleteBagDropConfig401JSONResponse) VisitDeleteBagDropConfigResponse(w http.ResponseWriter) error

type DeleteBagDropConfig403JSONResponse

type DeleteBagDropConfig403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteBagDropConfig403JSONResponse) VisitDeleteBagDropConfigResponse

func (response DeleteBagDropConfig403JSONResponse) VisitDeleteBagDropConfigResponse(w http.ResponseWriter) error

type DeleteBagDropConfig404JSONResponse

type DeleteBagDropConfig404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteBagDropConfig404JSONResponse) VisitDeleteBagDropConfigResponse

func (response DeleteBagDropConfig404JSONResponse) VisitDeleteBagDropConfigResponse(w http.ResponseWriter) error

type DeleteBagDropConfig409JSONResponse

type DeleteBagDropConfig409JSONResponse BagDropConflict

func (DeleteBagDropConfig409JSONResponse) VisitDeleteBagDropConfigResponse

func (response DeleteBagDropConfig409JSONResponse) VisitDeleteBagDropConfigResponse(w http.ResponseWriter) error

type DeleteBagDropConfigRequestObject

type DeleteBagDropConfigRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	ProjectId      ProjectId      `json:"projectId"`
}

type DeleteBagDropConfigResponse

type DeleteBagDropConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *BagDropConflict
}

func ParseDeleteBagDropConfigResponse

func ParseDeleteBagDropConfigResponse(rsp *http.Response) (*DeleteBagDropConfigResponse, error)

ParseDeleteBagDropConfigResponse parses an HTTP response from a DeleteBagDropConfigWithResponse call

func (DeleteBagDropConfigResponse) ContentType

func (r DeleteBagDropConfigResponse) ContentType() string

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

func (DeleteBagDropConfigResponse) GetBody

func (r DeleteBagDropConfigResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteBagDropConfigResponse) GetJSON401

func (r DeleteBagDropConfigResponse) GetJSON401() *Unauthorized

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

func (DeleteBagDropConfigResponse) GetJSON403

func (r DeleteBagDropConfigResponse) GetJSON403() *Forbidden

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

func (DeleteBagDropConfigResponse) GetJSON404

func (r DeleteBagDropConfigResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteBagDropConfigResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (DeleteBagDropConfigResponse) Status

Status returns HTTPResponse.Status

func (DeleteBagDropConfigResponse) StatusCode

func (r DeleteBagDropConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteBagDropConfigResponseObject

type DeleteBagDropConfigResponseObject interface {
	VisitDeleteBagDropConfigResponse(w http.ResponseWriter) error
}

type DeleteOrganization204Response

type DeleteOrganization204Response struct {
}

func (DeleteOrganization204Response) VisitDeleteOrganizationResponse

func (response DeleteOrganization204Response) VisitDeleteOrganizationResponse(w http.ResponseWriter) error

type DeleteOrganization401JSONResponse

type DeleteOrganization401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteOrganization401JSONResponse) VisitDeleteOrganizationResponse

func (response DeleteOrganization401JSONResponse) VisitDeleteOrganizationResponse(w http.ResponseWriter) error

type DeleteOrganization403JSONResponse

type DeleteOrganization403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteOrganization403JSONResponse) VisitDeleteOrganizationResponse

func (response DeleteOrganization403JSONResponse) VisitDeleteOrganizationResponse(w http.ResponseWriter) error

type DeleteOrganization404JSONResponse

type DeleteOrganization404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteOrganization404JSONResponse) VisitDeleteOrganizationResponse

func (response DeleteOrganization404JSONResponse) VisitDeleteOrganizationResponse(w http.ResponseWriter) error

type DeleteOrganization409JSONResponse

type DeleteOrganization409JSONResponse Error

func (DeleteOrganization409JSONResponse) VisitDeleteOrganizationResponse

func (response DeleteOrganization409JSONResponse) VisitDeleteOrganizationResponse(w http.ResponseWriter) error

type DeleteOrganizationRequestObject

type DeleteOrganizationRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
}

type DeleteOrganizationResponse

type DeleteOrganizationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
}

func ParseDeleteOrganizationResponse

func ParseDeleteOrganizationResponse(rsp *http.Response) (*DeleteOrganizationResponse, error)

ParseDeleteOrganizationResponse parses an HTTP response from a DeleteOrganizationWithResponse call

func (DeleteOrganizationResponse) ContentType

func (r DeleteOrganizationResponse) ContentType() string

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

func (DeleteOrganizationResponse) GetBody

func (r DeleteOrganizationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteOrganizationResponse) GetJSON401

func (r DeleteOrganizationResponse) GetJSON401() *Unauthorized

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

func (DeleteOrganizationResponse) GetJSON403

func (r DeleteOrganizationResponse) GetJSON403() *Forbidden

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

func (DeleteOrganizationResponse) GetJSON404

func (r DeleteOrganizationResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteOrganizationResponse) GetJSON409

func (r DeleteOrganizationResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (DeleteOrganizationResponse) Status

Status returns HTTPResponse.Status

func (DeleteOrganizationResponse) StatusCode

func (r DeleteOrganizationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteOrganizationResponseObject

type DeleteOrganizationResponseObject interface {
	VisitDeleteOrganizationResponse(w http.ResponseWriter) error
}

type DeleteOrganizationWebhook204Response added in v0.5.0

type DeleteOrganizationWebhook204Response struct {
}

func (DeleteOrganizationWebhook204Response) VisitDeleteOrganizationWebhookResponse added in v0.5.0

func (response DeleteOrganizationWebhook204Response) VisitDeleteOrganizationWebhookResponse(w http.ResponseWriter) error

type DeleteOrganizationWebhook401JSONResponse added in v0.5.0

type DeleteOrganizationWebhook401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteOrganizationWebhook401JSONResponse) VisitDeleteOrganizationWebhookResponse added in v0.5.0

func (response DeleteOrganizationWebhook401JSONResponse) VisitDeleteOrganizationWebhookResponse(w http.ResponseWriter) error

type DeleteOrganizationWebhook403JSONResponse added in v0.5.0

type DeleteOrganizationWebhook403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteOrganizationWebhook403JSONResponse) VisitDeleteOrganizationWebhookResponse added in v0.5.0

func (response DeleteOrganizationWebhook403JSONResponse) VisitDeleteOrganizationWebhookResponse(w http.ResponseWriter) error

type DeleteOrganizationWebhook404JSONResponse added in v0.5.0

type DeleteOrganizationWebhook404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteOrganizationWebhook404JSONResponse) VisitDeleteOrganizationWebhookResponse added in v0.5.0

func (response DeleteOrganizationWebhook404JSONResponse) VisitDeleteOrganizationWebhookResponse(w http.ResponseWriter) error

type DeleteOrganizationWebhookRequestObject added in v0.5.0

type DeleteOrganizationWebhookRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	WebhookId      WebhookId      `json:"webhookId"`
}

type DeleteOrganizationWebhookResponse added in v0.5.0

type DeleteOrganizationWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
}

func ParseDeleteOrganizationWebhookResponse added in v0.5.0

func ParseDeleteOrganizationWebhookResponse(rsp *http.Response) (*DeleteOrganizationWebhookResponse, error)

ParseDeleteOrganizationWebhookResponse parses an HTTP response from a DeleteOrganizationWebhookWithResponse call

func (DeleteOrganizationWebhookResponse) ContentType added in v0.5.0

func (r DeleteOrganizationWebhookResponse) ContentType() string

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

func (DeleteOrganizationWebhookResponse) GetBody added in v0.5.0

GetBody returns the raw response body bytes

func (DeleteOrganizationWebhookResponse) GetJSON401 added in v0.5.0

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

func (DeleteOrganizationWebhookResponse) GetJSON403 added in v0.5.0

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

func (DeleteOrganizationWebhookResponse) GetJSON404 added in v0.5.0

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteOrganizationWebhookResponse) Status added in v0.5.0

Status returns HTTPResponse.Status

func (DeleteOrganizationWebhookResponse) StatusCode added in v0.5.0

func (r DeleteOrganizationWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteOrganizationWebhookResponseObject added in v0.5.0

type DeleteOrganizationWebhookResponseObject interface {
	VisitDeleteOrganizationWebhookResponse(w http.ResponseWriter) error
}

type DeletePin204Response

type DeletePin204Response struct {
}

func (DeletePin204Response) VisitDeletePinResponse

func (response DeletePin204Response) VisitDeletePinResponse(w http.ResponseWriter) error

type DeletePin401JSONResponse

type DeletePin401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeletePin401JSONResponse) VisitDeletePinResponse

func (response DeletePin401JSONResponse) VisitDeletePinResponse(w http.ResponseWriter) error

type DeletePin403JSONResponse

type DeletePin403JSONResponse struct{ ForbiddenJSONResponse }

func (DeletePin403JSONResponse) VisitDeletePinResponse

func (response DeletePin403JSONResponse) VisitDeletePinResponse(w http.ResponseWriter) error

type DeletePin404JSONResponse

type DeletePin404JSONResponse struct{ NotFoundJSONResponse }

func (DeletePin404JSONResponse) VisitDeletePinResponse

func (response DeletePin404JSONResponse) VisitDeletePinResponse(w http.ResponseWriter) error

type DeletePinRequestObject

type DeletePinRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	ProjectId      ProjectId      `json:"projectId"`
	BucketName     string         `json:"bucketName"`
}

type DeletePinResponse

type DeletePinResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
}

func ParseDeletePinResponse

func ParseDeletePinResponse(rsp *http.Response) (*DeletePinResponse, error)

ParseDeletePinResponse parses an HTTP response from a DeletePinWithResponse call

func (DeletePinResponse) ContentType

func (r DeletePinResponse) ContentType() string

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

func (DeletePinResponse) GetBody

func (r DeletePinResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeletePinResponse) GetJSON401

func (r DeletePinResponse) GetJSON401() *Unauthorized

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

func (DeletePinResponse) GetJSON403

func (r DeletePinResponse) GetJSON403() *Forbidden

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

func (DeletePinResponse) GetJSON404

func (r DeletePinResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeletePinResponse) Status

func (r DeletePinResponse) Status() string

Status returns HTTPResponse.Status

func (DeletePinResponse) StatusCode

func (r DeletePinResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeletePinResponseObject

type DeletePinResponseObject interface {
	VisitDeletePinResponse(w http.ResponseWriter) error
}

type DeletePluginImport204Response added in v0.5.0

type DeletePluginImport204Response struct {
}

func (DeletePluginImport204Response) VisitDeletePluginImportResponse added in v0.5.0

func (response DeletePluginImport204Response) VisitDeletePluginImportResponse(w http.ResponseWriter) error

type DeletePluginImport401JSONResponse added in v0.5.0

type DeletePluginImport401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeletePluginImport401JSONResponse) VisitDeletePluginImportResponse added in v0.5.0

func (response DeletePluginImport401JSONResponse) VisitDeletePluginImportResponse(w http.ResponseWriter) error

type DeletePluginImport403JSONResponse added in v0.5.0

type DeletePluginImport403JSONResponse struct{ ForbiddenJSONResponse }

func (DeletePluginImport403JSONResponse) VisitDeletePluginImportResponse added in v0.5.0

func (response DeletePluginImport403JSONResponse) VisitDeletePluginImportResponse(w http.ResponseWriter) error

type DeletePluginImport404JSONResponse added in v0.5.0

type DeletePluginImport404JSONResponse struct{ NotFoundJSONResponse }

func (DeletePluginImport404JSONResponse) VisitDeletePluginImportResponse added in v0.5.0

func (response DeletePluginImport404JSONResponse) VisitDeletePluginImportResponse(w http.ResponseWriter) error

type DeletePluginImport409JSONResponse added in v0.5.0

type DeletePluginImport409JSONResponse Error

func (DeletePluginImport409JSONResponse) VisitDeletePluginImportResponse added in v0.5.0

func (response DeletePluginImport409JSONResponse) VisitDeletePluginImportResponse(w http.ResponseWriter) error

type DeletePluginImportRequestObject added in v0.5.0

type DeletePluginImportRequestObject struct {
	OrganizationId OrganizationId     `json:"organizationId"`
	ImportId       openapi_types.UUID `json:"importId"`
}

type DeletePluginImportResponse added in v0.5.0

type DeletePluginImportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
}

func ParseDeletePluginImportResponse added in v0.5.0

func ParseDeletePluginImportResponse(rsp *http.Response) (*DeletePluginImportResponse, error)

ParseDeletePluginImportResponse parses an HTTP response from a DeletePluginImportWithResponse call

func (DeletePluginImportResponse) ContentType added in v0.5.0

func (r DeletePluginImportResponse) ContentType() string

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

func (DeletePluginImportResponse) GetBody added in v0.5.0

func (r DeletePluginImportResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeletePluginImportResponse) GetJSON401 added in v0.5.0

func (r DeletePluginImportResponse) GetJSON401() *Unauthorized

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

func (DeletePluginImportResponse) GetJSON403 added in v0.5.0

func (r DeletePluginImportResponse) GetJSON403() *Forbidden

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

func (DeletePluginImportResponse) GetJSON404 added in v0.5.0

func (r DeletePluginImportResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeletePluginImportResponse) GetJSON409 added in v0.5.0

func (r DeletePluginImportResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (DeletePluginImportResponse) Status added in v0.5.0

Status returns HTTPResponse.Status

func (DeletePluginImportResponse) StatusCode added in v0.5.0

func (r DeletePluginImportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeletePluginImportResponseObject added in v0.5.0

type DeletePluginImportResponseObject interface {
	VisitDeletePluginImportResponse(w http.ResponseWriter) error
}

type DeletePluginVersion204Response added in v0.5.0

type DeletePluginVersion204Response struct {
}

func (DeletePluginVersion204Response) VisitDeletePluginVersionResponse added in v0.5.0

func (response DeletePluginVersion204Response) VisitDeletePluginVersionResponse(w http.ResponseWriter) error

type DeletePluginVersion401JSONResponse added in v0.5.0

type DeletePluginVersion401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeletePluginVersion401JSONResponse) VisitDeletePluginVersionResponse added in v0.5.0

func (response DeletePluginVersion401JSONResponse) VisitDeletePluginVersionResponse(w http.ResponseWriter) error

type DeletePluginVersion403JSONResponse added in v0.5.0

type DeletePluginVersion403JSONResponse struct{ ForbiddenJSONResponse }

func (DeletePluginVersion403JSONResponse) VisitDeletePluginVersionResponse added in v0.5.0

func (response DeletePluginVersion403JSONResponse) VisitDeletePluginVersionResponse(w http.ResponseWriter) error

type DeletePluginVersion404JSONResponse added in v0.5.0

type DeletePluginVersion404JSONResponse struct{ NotFoundJSONResponse }

func (DeletePluginVersion404JSONResponse) VisitDeletePluginVersionResponse added in v0.5.0

func (response DeletePluginVersion404JSONResponse) VisitDeletePluginVersionResponse(w http.ResponseWriter) error

type DeletePluginVersionRequestObject added in v0.5.0

type DeletePluginVersionRequestObject struct {
	OrganizationId OrganizationId      `json:"organizationId"`
	PluginName     PluginName          `json:"pluginName"`
	Version        PluginVersionNumber `json:"version"`
}

type DeletePluginVersionResponse added in v0.5.0

type DeletePluginVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
}

func ParseDeletePluginVersionResponse added in v0.5.0

func ParseDeletePluginVersionResponse(rsp *http.Response) (*DeletePluginVersionResponse, error)

ParseDeletePluginVersionResponse parses an HTTP response from a DeletePluginVersionWithResponse call

func (DeletePluginVersionResponse) ContentType added in v0.5.0

func (r DeletePluginVersionResponse) ContentType() string

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

func (DeletePluginVersionResponse) GetBody added in v0.5.0

func (r DeletePluginVersionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeletePluginVersionResponse) GetJSON401 added in v0.5.0

func (r DeletePluginVersionResponse) GetJSON401() *Unauthorized

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

func (DeletePluginVersionResponse) GetJSON403 added in v0.5.0

func (r DeletePluginVersionResponse) GetJSON403() *Forbidden

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

func (DeletePluginVersionResponse) GetJSON404 added in v0.5.0

func (r DeletePluginVersionResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeletePluginVersionResponse) Status added in v0.5.0

Status returns HTTPResponse.Status

func (DeletePluginVersionResponse) StatusCode added in v0.5.0

func (r DeletePluginVersionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeletePluginVersionResponseObject added in v0.5.0

type DeletePluginVersionResponseObject interface {
	VisitDeletePluginVersionResponse(w http.ResponseWriter) error
}

type DeletePrincipal204Response

type DeletePrincipal204Response struct {
}

func (DeletePrincipal204Response) VisitDeletePrincipalResponse

func (response DeletePrincipal204Response) VisitDeletePrincipalResponse(w http.ResponseWriter) error

type DeletePrincipal401JSONResponse

type DeletePrincipal401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeletePrincipal401JSONResponse) VisitDeletePrincipalResponse

func (response DeletePrincipal401JSONResponse) VisitDeletePrincipalResponse(w http.ResponseWriter) error

type DeletePrincipal403JSONResponse

type DeletePrincipal403JSONResponse Error

func (DeletePrincipal403JSONResponse) VisitDeletePrincipalResponse

func (response DeletePrincipal403JSONResponse) VisitDeletePrincipalResponse(w http.ResponseWriter) error

type DeletePrincipal404JSONResponse

type DeletePrincipal404JSONResponse struct{ NotFoundJSONResponse }

func (DeletePrincipal404JSONResponse) VisitDeletePrincipalResponse

func (response DeletePrincipal404JSONResponse) VisitDeletePrincipalResponse(w http.ResponseWriter) error

type DeletePrincipal409JSONResponse

type DeletePrincipal409JSONResponse Error

func (DeletePrincipal409JSONResponse) VisitDeletePrincipalResponse

func (response DeletePrincipal409JSONResponse) VisitDeletePrincipalResponse(w http.ResponseWriter) error

type DeletePrincipalRequestObject

type DeletePrincipalRequestObject struct {
	PrincipalId PrincipalId `json:"principalId"`
}

type DeletePrincipalResponse

type DeletePrincipalResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
}

func ParseDeletePrincipalResponse

func ParseDeletePrincipalResponse(rsp *http.Response) (*DeletePrincipalResponse, error)

ParseDeletePrincipalResponse parses an HTTP response from a DeletePrincipalWithResponse call

func (DeletePrincipalResponse) ContentType

func (r DeletePrincipalResponse) ContentType() string

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

func (DeletePrincipalResponse) GetBody

func (r DeletePrincipalResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeletePrincipalResponse) GetJSON401

func (r DeletePrincipalResponse) GetJSON401() *Unauthorized

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

func (DeletePrincipalResponse) GetJSON403

func (r DeletePrincipalResponse) GetJSON403() *Error

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

func (DeletePrincipalResponse) GetJSON404

func (r DeletePrincipalResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeletePrincipalResponse) GetJSON409

func (r DeletePrincipalResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (DeletePrincipalResponse) Status

func (r DeletePrincipalResponse) Status() string

Status returns HTTPResponse.Status

func (DeletePrincipalResponse) StatusCode

func (r DeletePrincipalResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeletePrincipalResponseObject

type DeletePrincipalResponseObject interface {
	VisitDeletePrincipalResponse(w http.ResponseWriter) error
}

type DeleteProject204Response

type DeleteProject204Response struct {
}

func (DeleteProject204Response) VisitDeleteProjectResponse

func (response DeleteProject204Response) VisitDeleteProjectResponse(w http.ResponseWriter) error

type DeleteProject401JSONResponse

type DeleteProject401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteProject401JSONResponse) VisitDeleteProjectResponse

func (response DeleteProject401JSONResponse) VisitDeleteProjectResponse(w http.ResponseWriter) error

type DeleteProject403JSONResponse

type DeleteProject403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteProject403JSONResponse) VisitDeleteProjectResponse

func (response DeleteProject403JSONResponse) VisitDeleteProjectResponse(w http.ResponseWriter) error

type DeleteProject404JSONResponse

type DeleteProject404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteProject404JSONResponse) VisitDeleteProjectResponse

func (response DeleteProject404JSONResponse) VisitDeleteProjectResponse(w http.ResponseWriter) error

type DeleteProject409JSONResponse

type DeleteProject409JSONResponse Error

func (DeleteProject409JSONResponse) VisitDeleteProjectResponse

func (response DeleteProject409JSONResponse) VisitDeleteProjectResponse(w http.ResponseWriter) error

type DeleteProjectRequestObject

type DeleteProjectRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	ProjectId      ProjectId      `json:"projectId"`
}

type DeleteProjectResponse

type DeleteProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
}

func ParseDeleteProjectResponse

func ParseDeleteProjectResponse(rsp *http.Response) (*DeleteProjectResponse, error)

ParseDeleteProjectResponse parses an HTTP response from a DeleteProjectWithResponse call

func (DeleteProjectResponse) ContentType

func (r DeleteProjectResponse) ContentType() string

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

func (DeleteProjectResponse) GetBody

func (r DeleteProjectResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteProjectResponse) GetJSON401

func (r DeleteProjectResponse) GetJSON401() *Unauthorized

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

func (DeleteProjectResponse) GetJSON403

func (r DeleteProjectResponse) GetJSON403() *Forbidden

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

func (DeleteProjectResponse) GetJSON404

func (r DeleteProjectResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteProjectResponse) GetJSON409

func (r DeleteProjectResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (DeleteProjectResponse) Status

func (r DeleteProjectResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteProjectResponse) StatusCode

func (r DeleteProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteProjectResponseObject

type DeleteProjectResponseObject interface {
	VisitDeleteProjectResponse(w http.ResponseWriter) error
}

type DeleteSession204Response

type DeleteSession204Response struct {
}

func (DeleteSession204Response) VisitDeleteSessionResponse

func (response DeleteSession204Response) VisitDeleteSessionResponse(w http.ResponseWriter) error

type DeleteSessionRequestObject

type DeleteSessionRequestObject struct {
}

type DeleteSessionResponse

type DeleteSessionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeleteSessionResponse

func ParseDeleteSessionResponse(rsp *http.Response) (*DeleteSessionResponse, error)

ParseDeleteSessionResponse parses an HTTP response from a DeleteSessionWithResponse call

func (DeleteSessionResponse) ContentType

func (r DeleteSessionResponse) ContentType() string

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

func (DeleteSessionResponse) GetBody

func (r DeleteSessionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteSessionResponse) Status

func (r DeleteSessionResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteSessionResponse) StatusCode

func (r DeleteSessionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteSessionResponseObject

type DeleteSessionResponseObject interface {
	VisitDeleteSessionResponse(w http.ResponseWriter) error
}

type DeleteWebhook204Response

type DeleteWebhook204Response struct {
}

func (DeleteWebhook204Response) VisitDeleteWebhookResponse

func (response DeleteWebhook204Response) VisitDeleteWebhookResponse(w http.ResponseWriter) error

type DeleteWebhook401JSONResponse

type DeleteWebhook401JSONResponse struct{ UnauthorizedJSONResponse }

func (DeleteWebhook401JSONResponse) VisitDeleteWebhookResponse

func (response DeleteWebhook401JSONResponse) VisitDeleteWebhookResponse(w http.ResponseWriter) error

type DeleteWebhook403JSONResponse

type DeleteWebhook403JSONResponse struct{ ForbiddenJSONResponse }

func (DeleteWebhook403JSONResponse) VisitDeleteWebhookResponse

func (response DeleteWebhook403JSONResponse) VisitDeleteWebhookResponse(w http.ResponseWriter) error

type DeleteWebhook404JSONResponse

type DeleteWebhook404JSONResponse struct{ NotFoundJSONResponse }

func (DeleteWebhook404JSONResponse) VisitDeleteWebhookResponse

func (response DeleteWebhook404JSONResponse) VisitDeleteWebhookResponse(w http.ResponseWriter) error

type DeleteWebhookRequestObject

type DeleteWebhookRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	ProjectId      ProjectId      `json:"projectId"`
	WebhookId      WebhookId      `json:"webhookId"`
}

type DeleteWebhookResponse

type DeleteWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
}

func ParseDeleteWebhookResponse

func ParseDeleteWebhookResponse(rsp *http.Response) (*DeleteWebhookResponse, error)

ParseDeleteWebhookResponse parses an HTTP response from a DeleteWebhookWithResponse call

func (DeleteWebhookResponse) ContentType

func (r DeleteWebhookResponse) ContentType() string

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

func (DeleteWebhookResponse) GetBody

func (r DeleteWebhookResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteWebhookResponse) GetJSON401

func (r DeleteWebhookResponse) GetJSON401() *Unauthorized

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

func (DeleteWebhookResponse) GetJSON403

func (r DeleteWebhookResponse) GetJSON403() *Forbidden

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

func (DeleteWebhookResponse) GetJSON404

func (r DeleteWebhookResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteWebhookResponse) Status

func (r DeleteWebhookResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteWebhookResponse) StatusCode

func (r DeleteWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteWebhookResponseObject

type DeleteWebhookResponseObject interface {
	VisitDeleteWebhookResponse(w http.ResponseWriter) error
}

type DisableBagDrop200JSONResponse

type DisableBagDrop200JSONResponse BagDropConfig

func (DisableBagDrop200JSONResponse) VisitDisableBagDropResponse

func (response DisableBagDrop200JSONResponse) VisitDisableBagDropResponse(w http.ResponseWriter) error

type DisableBagDrop401JSONResponse

type DisableBagDrop401JSONResponse struct{ UnauthorizedJSONResponse }

func (DisableBagDrop401JSONResponse) VisitDisableBagDropResponse

func (response DisableBagDrop401JSONResponse) VisitDisableBagDropResponse(w http.ResponseWriter) error

type DisableBagDrop403JSONResponse

type DisableBagDrop403JSONResponse struct{ ForbiddenJSONResponse }

func (DisableBagDrop403JSONResponse) VisitDisableBagDropResponse

func (response DisableBagDrop403JSONResponse) VisitDisableBagDropResponse(w http.ResponseWriter) error

type DisableBagDrop404JSONResponse

type DisableBagDrop404JSONResponse struct{ NotFoundJSONResponse }

func (DisableBagDrop404JSONResponse) VisitDisableBagDropResponse

func (response DisableBagDrop404JSONResponse) VisitDisableBagDropResponse(w http.ResponseWriter) error

type DisableBagDropRequestObject

type DisableBagDropRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	ProjectId      ProjectId      `json:"projectId"`
}

type DisableBagDropResponse

type DisableBagDropResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *BagDropConfig
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
}

func ParseDisableBagDropResponse

func ParseDisableBagDropResponse(rsp *http.Response) (*DisableBagDropResponse, error)

ParseDisableBagDropResponse parses an HTTP response from a DisableBagDropWithResponse call

func (DisableBagDropResponse) ContentType

func (r DisableBagDropResponse) ContentType() string

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

func (DisableBagDropResponse) GetBody

func (r DisableBagDropResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DisableBagDropResponse) GetJSON200

func (r DisableBagDropResponse) GetJSON200() *BagDropConfig

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DisableBagDropResponse) GetJSON401

func (r DisableBagDropResponse) GetJSON401() *Unauthorized

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

func (DisableBagDropResponse) GetJSON403

func (r DisableBagDropResponse) GetJSON403() *Forbidden

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

func (DisableBagDropResponse) GetJSON404

func (r DisableBagDropResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DisableBagDropResponse) Status

func (r DisableBagDropResponse) Status() string

Status returns HTTPResponse.Status

func (DisableBagDropResponse) StatusCode

func (r DisableBagDropResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DisableBagDropResponseObject

type DisableBagDropResponseObject interface {
	VisitDisableBagDropResponse(w http.ResponseWriter) error
}

type DisablePluginRegistry204Response added in v0.5.0

type DisablePluginRegistry204Response struct {
}

func (DisablePluginRegistry204Response) VisitDisablePluginRegistryResponse added in v0.5.0

func (response DisablePluginRegistry204Response) VisitDisablePluginRegistryResponse(w http.ResponseWriter) error

type DisablePluginRegistry401JSONResponse added in v0.5.0

type DisablePluginRegistry401JSONResponse struct{ UnauthorizedJSONResponse }

func (DisablePluginRegistry401JSONResponse) VisitDisablePluginRegistryResponse added in v0.5.0

func (response DisablePluginRegistry401JSONResponse) VisitDisablePluginRegistryResponse(w http.ResponseWriter) error

type DisablePluginRegistry403JSONResponse added in v0.5.0

type DisablePluginRegistry403JSONResponse struct{ ForbiddenJSONResponse }

func (DisablePluginRegistry403JSONResponse) VisitDisablePluginRegistryResponse added in v0.5.0

func (response DisablePluginRegistry403JSONResponse) VisitDisablePluginRegistryResponse(w http.ResponseWriter) error

type DisablePluginRegistry404JSONResponse added in v0.5.0

type DisablePluginRegistry404JSONResponse struct{ NotFoundJSONResponse }

func (DisablePluginRegistry404JSONResponse) VisitDisablePluginRegistryResponse added in v0.5.0

func (response DisablePluginRegistry404JSONResponse) VisitDisablePluginRegistryResponse(w http.ResponseWriter) error

type DisablePluginRegistry409JSONResponse added in v0.5.0

type DisablePluginRegistry409JSONResponse Error

func (DisablePluginRegistry409JSONResponse) VisitDisablePluginRegistryResponse added in v0.5.0

func (response DisablePluginRegistry409JSONResponse) VisitDisablePluginRegistryResponse(w http.ResponseWriter) error

type DisablePluginRegistryRequestObject added in v0.5.0

type DisablePluginRegistryRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
}

type DisablePluginRegistryResponse added in v0.5.0

type DisablePluginRegistryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
}

func ParseDisablePluginRegistryResponse added in v0.5.0

func ParseDisablePluginRegistryResponse(rsp *http.Response) (*DisablePluginRegistryResponse, error)

ParseDisablePluginRegistryResponse parses an HTTP response from a DisablePluginRegistryWithResponse call

func (DisablePluginRegistryResponse) ContentType added in v0.5.0

func (r DisablePluginRegistryResponse) ContentType() string

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

func (DisablePluginRegistryResponse) GetBody added in v0.5.0

func (r DisablePluginRegistryResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DisablePluginRegistryResponse) GetJSON401 added in v0.5.0

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

func (DisablePluginRegistryResponse) GetJSON403 added in v0.5.0

func (r DisablePluginRegistryResponse) GetJSON403() *Forbidden

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

func (DisablePluginRegistryResponse) GetJSON404 added in v0.5.0

func (r DisablePluginRegistryResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DisablePluginRegistryResponse) GetJSON409 added in v0.5.0

func (r DisablePluginRegistryResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (DisablePluginRegistryResponse) Status added in v0.5.0

Status returns HTTPResponse.Status

func (DisablePluginRegistryResponse) StatusCode added in v0.5.0

func (r DisablePluginRegistryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DisablePluginRegistryResponseObject added in v0.5.0

type DisablePluginRegistryResponseObject interface {
	VisitDisablePluginRegistryResponse(w http.ResponseWriter) error
}

type DownloadPluginBundle200ApplicationgzipResponse added in v0.5.0

type DownloadPluginBundle200ApplicationgzipResponse struct {
	Body          io.Reader
	Headers       DownloadPluginBundle200ResponseHeaders
	ContentLength int64
}

func (DownloadPluginBundle200ApplicationgzipResponse) VisitDownloadPluginBundleResponse added in v0.5.0

func (response DownloadPluginBundle200ApplicationgzipResponse) VisitDownloadPluginBundleResponse(w http.ResponseWriter) error

type DownloadPluginBundle200ResponseHeaders added in v0.5.0

type DownloadPluginBundle200ResponseHeaders struct {
	ContentDisposition *string
	ContentLength      *int64
}

type DownloadPluginBundle401JSONResponse added in v0.5.0

type DownloadPluginBundle401JSONResponse struct{ UnauthorizedJSONResponse }

func (DownloadPluginBundle401JSONResponse) VisitDownloadPluginBundleResponse added in v0.5.0

func (response DownloadPluginBundle401JSONResponse) VisitDownloadPluginBundleResponse(w http.ResponseWriter) error

type DownloadPluginBundle403JSONResponse added in v0.5.0

type DownloadPluginBundle403JSONResponse struct{ ForbiddenJSONResponse }

func (DownloadPluginBundle403JSONResponse) VisitDownloadPluginBundleResponse added in v0.5.0

func (response DownloadPluginBundle403JSONResponse) VisitDownloadPluginBundleResponse(w http.ResponseWriter) error

type DownloadPluginBundle404JSONResponse added in v0.5.0

type DownloadPluginBundle404JSONResponse Error

func (DownloadPluginBundle404JSONResponse) VisitDownloadPluginBundleResponse added in v0.5.0

func (response DownloadPluginBundle404JSONResponse) VisitDownloadPluginBundleResponse(w http.ResponseWriter) error

type DownloadPluginBundle409JSONResponse added in v0.5.0

type DownloadPluginBundle409JSONResponse Error

func (DownloadPluginBundle409JSONResponse) VisitDownloadPluginBundleResponse added in v0.5.0

func (response DownloadPluginBundle409JSONResponse) VisitDownloadPluginBundleResponse(w http.ResponseWriter) error

type DownloadPluginBundleRequestObject added in v0.5.0

type DownloadPluginBundleRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
}

type DownloadPluginBundleResponse added in v0.5.0

type DownloadPluginBundleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *DownloadPluginBundleResponse200Headers
}

func ParseDownloadPluginBundleResponse added in v0.5.0

func ParseDownloadPluginBundleResponse(rsp *http.Response) (*DownloadPluginBundleResponse, error)

ParseDownloadPluginBundleResponse parses an HTTP response from a DownloadPluginBundleWithResponse call

func (DownloadPluginBundleResponse) ContentType added in v0.5.0

func (r DownloadPluginBundleResponse) ContentType() string

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

func (DownloadPluginBundleResponse) GetBody added in v0.5.0

func (r DownloadPluginBundleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DownloadPluginBundleResponse) GetJSON401 added in v0.5.0

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

func (DownloadPluginBundleResponse) GetJSON403 added in v0.5.0

func (r DownloadPluginBundleResponse) GetJSON403() *Forbidden

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

func (DownloadPluginBundleResponse) GetJSON404 added in v0.5.0

func (r DownloadPluginBundleResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DownloadPluginBundleResponse) GetJSON409 added in v0.5.0

func (r DownloadPluginBundleResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (DownloadPluginBundleResponse) Status added in v0.5.0

Status returns HTTPResponse.Status

func (DownloadPluginBundleResponse) StatusCode added in v0.5.0

func (r DownloadPluginBundleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DownloadPluginBundleResponse200Headers added in v0.5.0

type DownloadPluginBundleResponse200Headers struct {
	ContentDisposition *string
	ContentLength      *int64
}

DownloadPluginBundleResponse200Headers the declared response headers of an HTTP 200 response for DownloadPluginBundle

type DownloadPluginBundleResponseObject added in v0.5.0

type DownloadPluginBundleResponseObject interface {
	VisitDownloadPluginBundleResponse(w http.ResponseWriter) error
}

type EnableBagDrop200JSONResponse

type EnableBagDrop200JSONResponse BagDropConfig

func (EnableBagDrop200JSONResponse) VisitEnableBagDropResponse

func (response EnableBagDrop200JSONResponse) VisitEnableBagDropResponse(w http.ResponseWriter) error

type EnableBagDrop400JSONResponse

type EnableBagDrop400JSONResponse Error

func (EnableBagDrop400JSONResponse) VisitEnableBagDropResponse

func (response EnableBagDrop400JSONResponse) VisitEnableBagDropResponse(w http.ResponseWriter) error

type EnableBagDrop401JSONResponse

type EnableBagDrop401JSONResponse struct{ UnauthorizedJSONResponse }

func (EnableBagDrop401JSONResponse) VisitEnableBagDropResponse

func (response EnableBagDrop401JSONResponse) VisitEnableBagDropResponse(w http.ResponseWriter) error

type EnableBagDrop403JSONResponse

type EnableBagDrop403JSONResponse struct{ ForbiddenJSONResponse }

func (EnableBagDrop403JSONResponse) VisitEnableBagDropResponse

func (response EnableBagDrop403JSONResponse) VisitEnableBagDropResponse(w http.ResponseWriter) error

type EnableBagDrop404JSONResponse

type EnableBagDrop404JSONResponse struct{ NotFoundJSONResponse }

func (EnableBagDrop404JSONResponse) VisitEnableBagDropResponse

func (response EnableBagDrop404JSONResponse) VisitEnableBagDropResponse(w http.ResponseWriter) error

type EnableBagDrop409JSONResponse

type EnableBagDrop409JSONResponse BagDropConflict

func (EnableBagDrop409JSONResponse) VisitEnableBagDropResponse

func (response EnableBagDrop409JSONResponse) VisitEnableBagDropResponse(w http.ResponseWriter) error

type EnableBagDropJSONRequestBody

type EnableBagDropJSONRequestBody = BagDropConfigWrite

EnableBagDropJSONRequestBody defines body for EnableBagDrop for application/json ContentType.

type EnableBagDropRequestObject

type EnableBagDropRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	ProjectId      ProjectId      `json:"projectId"`
	Body           *EnableBagDropJSONRequestBody
}

type EnableBagDropResponse

type EnableBagDropResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *BagDropConfig
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *BagDropConflict
}

func ParseEnableBagDropResponse

func ParseEnableBagDropResponse(rsp *http.Response) (*EnableBagDropResponse, error)

ParseEnableBagDropResponse parses an HTTP response from a EnableBagDropWithResponse call

func (EnableBagDropResponse) ContentType

func (r EnableBagDropResponse) ContentType() string

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

func (EnableBagDropResponse) GetBody

func (r EnableBagDropResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (EnableBagDropResponse) GetJSON200

func (r EnableBagDropResponse) GetJSON200() *BagDropConfig

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (EnableBagDropResponse) GetJSON400

func (r EnableBagDropResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (EnableBagDropResponse) GetJSON401

func (r EnableBagDropResponse) GetJSON401() *Unauthorized

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

func (EnableBagDropResponse) GetJSON403

func (r EnableBagDropResponse) GetJSON403() *Forbidden

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

func (EnableBagDropResponse) GetJSON404

func (r EnableBagDropResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (EnableBagDropResponse) GetJSON409

func (r EnableBagDropResponse) GetJSON409() *BagDropConflict

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (EnableBagDropResponse) Status

func (r EnableBagDropResponse) Status() string

Status returns HTTPResponse.Status

func (EnableBagDropResponse) StatusCode

func (r EnableBagDropResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EnableBagDropResponseObject

type EnableBagDropResponseObject interface {
	VisitEnableBagDropResponse(w http.ResponseWriter) error
}

type EnablePluginRegistry201JSONResponse added in v0.5.0

type EnablePluginRegistry201JSONResponse PluginRegistry

func (EnablePluginRegistry201JSONResponse) VisitEnablePluginRegistryResponse added in v0.5.0

func (response EnablePluginRegistry201JSONResponse) VisitEnablePluginRegistryResponse(w http.ResponseWriter) error

type EnablePluginRegistry401JSONResponse added in v0.5.0

type EnablePluginRegistry401JSONResponse struct{ UnauthorizedJSONResponse }

func (EnablePluginRegistry401JSONResponse) VisitEnablePluginRegistryResponse added in v0.5.0

func (response EnablePluginRegistry401JSONResponse) VisitEnablePluginRegistryResponse(w http.ResponseWriter) error

type EnablePluginRegistry403JSONResponse added in v0.5.0

type EnablePluginRegistry403JSONResponse struct{ ForbiddenJSONResponse }

func (EnablePluginRegistry403JSONResponse) VisitEnablePluginRegistryResponse added in v0.5.0

func (response EnablePluginRegistry403JSONResponse) VisitEnablePluginRegistryResponse(w http.ResponseWriter) error

type EnablePluginRegistry404JSONResponse added in v0.5.0

type EnablePluginRegistry404JSONResponse struct{ NotFoundJSONResponse }

func (EnablePluginRegistry404JSONResponse) VisitEnablePluginRegistryResponse added in v0.5.0

func (response EnablePluginRegistry404JSONResponse) VisitEnablePluginRegistryResponse(w http.ResponseWriter) error

type EnablePluginRegistry409JSONResponse added in v0.5.0

type EnablePluginRegistry409JSONResponse Error

func (EnablePluginRegistry409JSONResponse) VisitEnablePluginRegistryResponse added in v0.5.0

func (response EnablePluginRegistry409JSONResponse) VisitEnablePluginRegistryResponse(w http.ResponseWriter) error

type EnablePluginRegistryRequestObject added in v0.5.0

type EnablePluginRegistryRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
}

type EnablePluginRegistryResponse added in v0.5.0

type EnablePluginRegistryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *PluginRegistry
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
}

func ParseEnablePluginRegistryResponse added in v0.5.0

func ParseEnablePluginRegistryResponse(rsp *http.Response) (*EnablePluginRegistryResponse, error)

ParseEnablePluginRegistryResponse parses an HTTP response from a EnablePluginRegistryWithResponse call

func (EnablePluginRegistryResponse) ContentType added in v0.5.0

func (r EnablePluginRegistryResponse) ContentType() string

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

func (EnablePluginRegistryResponse) GetBody added in v0.5.0

func (r EnablePluginRegistryResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (EnablePluginRegistryResponse) GetJSON201 added in v0.5.0

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (EnablePluginRegistryResponse) GetJSON401 added in v0.5.0

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

func (EnablePluginRegistryResponse) GetJSON403 added in v0.5.0

func (r EnablePluginRegistryResponse) GetJSON403() *Forbidden

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

func (EnablePluginRegistryResponse) GetJSON404 added in v0.5.0

func (r EnablePluginRegistryResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (EnablePluginRegistryResponse) GetJSON409 added in v0.5.0

func (r EnablePluginRegistryResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (EnablePluginRegistryResponse) Status added in v0.5.0

Status returns HTTPResponse.Status

func (EnablePluginRegistryResponse) StatusCode added in v0.5.0

func (r EnablePluginRegistryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EnablePluginRegistryResponseObject added in v0.5.0

type EnablePluginRegistryResponseObject interface {
	VisitEnablePluginRegistryResponse(w http.ResponseWriter) error
}

type Encryption

type Encryption struct {
	// KekLatest The key service's current KEK version, in the same form as kek_ref. Reading this state refreshes it, so a KEK rotated at the key service shows here on the next read; between reads the heartbeat keeps it current. Absent when the provider cannot report it — for Vault transit that requires read capability on the key — and on unencrypted instances.
	KekLatest *string `json:"kek_latest,omitempty"`

	// Keyring Empty on an unencrypted instance. Never carries key material.
	Keyring []KeyringEntry `json:"keyring"`

	// State The same remembered heartbeat state `/sys/health` reports.
	State EncryptionState `json:"state"`
}

Encryption defines model for Encryption.

type EncryptionService

type EncryptionService interface {
	State() string
	LatestKEK() string
	RefreshLatestKEK(context.Context) string
	Entries(context.Context) ([]keyring.Entry, error)
	Rewrap(context.Context) ([]keyring.Entry, error)
	Rotate(context.Context) ([]keyring.Entry, error)
}

type EncryptionState

type EncryptionState string

EncryptionState The same remembered heartbeat state `/sys/health` reports.

const (
	EncryptionStateDegraded     EncryptionState = "degraded"
	EncryptionStateOk           EncryptionState = "ok"
	EncryptionStateUnconfigured EncryptionState = "unconfigured"
)

Defines values for EncryptionState.

func (EncryptionState) Valid

func (e EncryptionState) Valid() bool

Valid indicates whether the value is a known member of the EncryptionState enum.

type Error

type Error struct {
	Detail  *string `json:"detail,omitempty"`
	Message string  `json:"message"`
}

Error Deliberately NOT the compatibility plane's GoogleRPCStatus shape. This plane is ours and has no client regex-matching its error text.

type ExportPluginBundle202JSONResponse added in v0.5.0

type ExportPluginBundle202JSONResponse PluginBundle

func (ExportPluginBundle202JSONResponse) VisitExportPluginBundleResponse added in v0.5.0

func (response ExportPluginBundle202JSONResponse) VisitExportPluginBundleResponse(w http.ResponseWriter) error

type ExportPluginBundle401JSONResponse added in v0.5.0

type ExportPluginBundle401JSONResponse struct{ UnauthorizedJSONResponse }

func (ExportPluginBundle401JSONResponse) VisitExportPluginBundleResponse added in v0.5.0

func (response ExportPluginBundle401JSONResponse) VisitExportPluginBundleResponse(w http.ResponseWriter) error

type ExportPluginBundle403JSONResponse added in v0.5.0

type ExportPluginBundle403JSONResponse struct{ ForbiddenJSONResponse }

func (ExportPluginBundle403JSONResponse) VisitExportPluginBundleResponse added in v0.5.0

func (response ExportPluginBundle403JSONResponse) VisitExportPluginBundleResponse(w http.ResponseWriter) error

type ExportPluginBundle404JSONResponse added in v0.5.0

type ExportPluginBundle404JSONResponse struct{ NotFoundJSONResponse }

func (ExportPluginBundle404JSONResponse) VisitExportPluginBundleResponse added in v0.5.0

func (response ExportPluginBundle404JSONResponse) VisitExportPluginBundleResponse(w http.ResponseWriter) error

type ExportPluginBundle409JSONResponse added in v0.5.0

type ExportPluginBundle409JSONResponse Error

func (ExportPluginBundle409JSONResponse) VisitExportPluginBundleResponse added in v0.5.0

func (response ExportPluginBundle409JSONResponse) VisitExportPluginBundleResponse(w http.ResponseWriter) error

type ExportPluginBundleRequestObject added in v0.5.0

type ExportPluginBundleRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
}

type ExportPluginBundleResponse added in v0.5.0

type ExportPluginBundleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *PluginBundle
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
}

func ParseExportPluginBundleResponse added in v0.5.0

func ParseExportPluginBundleResponse(rsp *http.Response) (*ExportPluginBundleResponse, error)

ParseExportPluginBundleResponse parses an HTTP response from a ExportPluginBundleWithResponse call

func (ExportPluginBundleResponse) ContentType added in v0.5.0

func (r ExportPluginBundleResponse) ContentType() string

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

func (ExportPluginBundleResponse) GetBody added in v0.5.0

func (r ExportPluginBundleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ExportPluginBundleResponse) GetJSON202 added in v0.5.0

func (r ExportPluginBundleResponse) GetJSON202() *PluginBundle

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

func (ExportPluginBundleResponse) GetJSON401 added in v0.5.0

func (r ExportPluginBundleResponse) GetJSON401() *Unauthorized

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

func (ExportPluginBundleResponse) GetJSON403 added in v0.5.0

func (r ExportPluginBundleResponse) GetJSON403() *Forbidden

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

func (ExportPluginBundleResponse) GetJSON404 added in v0.5.0

func (r ExportPluginBundleResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ExportPluginBundleResponse) GetJSON409 added in v0.5.0

func (r ExportPluginBundleResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (ExportPluginBundleResponse) Status added in v0.5.0

Status returns HTTPResponse.Status

func (ExportPluginBundleResponse) StatusCode added in v0.5.0

func (r ExportPluginBundleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ExportPluginBundleResponseObject added in v0.5.0

type ExportPluginBundleResponseObject interface {
	VisitExportPluginBundleResponse(w http.ResponseWriter) error
}

type ExposePluginRegistry200JSONResponse added in v0.5.0

type ExposePluginRegistry200JSONResponse PluginRegistry

func (ExposePluginRegistry200JSONResponse) VisitExposePluginRegistryResponse added in v0.5.0

func (response ExposePluginRegistry200JSONResponse) VisitExposePluginRegistryResponse(w http.ResponseWriter) error

type ExposePluginRegistry401JSONResponse added in v0.5.0

type ExposePluginRegistry401JSONResponse struct{ UnauthorizedJSONResponse }

func (ExposePluginRegistry401JSONResponse) VisitExposePluginRegistryResponse added in v0.5.0

func (response ExposePluginRegistry401JSONResponse) VisitExposePluginRegistryResponse(w http.ResponseWriter) error

type ExposePluginRegistry403JSONResponse added in v0.5.0

type ExposePluginRegistry403JSONResponse struct{ ForbiddenJSONResponse }

func (ExposePluginRegistry403JSONResponse) VisitExposePluginRegistryResponse added in v0.5.0

func (response ExposePluginRegistry403JSONResponse) VisitExposePluginRegistryResponse(w http.ResponseWriter) error

type ExposePluginRegistry404JSONResponse added in v0.5.0

type ExposePluginRegistry404JSONResponse struct{ NotFoundJSONResponse }

func (ExposePluginRegistry404JSONResponse) VisitExposePluginRegistryResponse added in v0.5.0

func (response ExposePluginRegistry404JSONResponse) VisitExposePluginRegistryResponse(w http.ResponseWriter) error

type ExposePluginRegistry409JSONResponse added in v0.5.0

type ExposePluginRegistry409JSONResponse Error

func (ExposePluginRegistry409JSONResponse) VisitExposePluginRegistryResponse added in v0.5.0

func (response ExposePluginRegistry409JSONResponse) VisitExposePluginRegistryResponse(w http.ResponseWriter) error

type ExposePluginRegistryRequestObject added in v0.5.0

type ExposePluginRegistryRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
}

type ExposePluginRegistryResponse added in v0.5.0

type ExposePluginRegistryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PluginRegistry
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
}

func ParseExposePluginRegistryResponse added in v0.5.0

func ParseExposePluginRegistryResponse(rsp *http.Response) (*ExposePluginRegistryResponse, error)

ParseExposePluginRegistryResponse parses an HTTP response from a ExposePluginRegistryWithResponse call

func (ExposePluginRegistryResponse) ContentType added in v0.5.0

func (r ExposePluginRegistryResponse) ContentType() string

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

func (ExposePluginRegistryResponse) GetBody added in v0.5.0

func (r ExposePluginRegistryResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ExposePluginRegistryResponse) GetJSON200 added in v0.5.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ExposePluginRegistryResponse) GetJSON401 added in v0.5.0

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

func (ExposePluginRegistryResponse) GetJSON403 added in v0.5.0

func (r ExposePluginRegistryResponse) GetJSON403() *Forbidden

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

func (ExposePluginRegistryResponse) GetJSON404 added in v0.5.0

func (r ExposePluginRegistryResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ExposePluginRegistryResponse) GetJSON409 added in v0.5.0

func (r ExposePluginRegistryResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (ExposePluginRegistryResponse) Status added in v0.5.0

Status returns HTTPResponse.Status

func (ExposePluginRegistryResponse) StatusCode added in v0.5.0

func (r ExposePluginRegistryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ExposePluginRegistryResponseObject added in v0.5.0

type ExposePluginRegistryResponseObject interface {
	VisitExposePluginRegistryResponse(w http.ResponseWriter) error
}

type Forbidden

type Forbidden = Error

Forbidden Deliberately NOT the compatibility plane's GoogleRPCStatus shape. This plane is ours and has no client regex-matching its error text.

type ForbiddenJSONResponse

type ForbiddenJSONResponse Error

type GetBagDropConfig200JSONResponse

type GetBagDropConfig200JSONResponse BagDropConfig

func (GetBagDropConfig200JSONResponse) VisitGetBagDropConfigResponse

func (response GetBagDropConfig200JSONResponse) VisitGetBagDropConfigResponse(w http.ResponseWriter) error

type GetBagDropConfig401JSONResponse

type GetBagDropConfig401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetBagDropConfig401JSONResponse) VisitGetBagDropConfigResponse

func (response GetBagDropConfig401JSONResponse) VisitGetBagDropConfigResponse(w http.ResponseWriter) error

type GetBagDropConfig403JSONResponse

type GetBagDropConfig403JSONResponse struct{ ForbiddenJSONResponse }

func (GetBagDropConfig403JSONResponse) VisitGetBagDropConfigResponse

func (response GetBagDropConfig403JSONResponse) VisitGetBagDropConfigResponse(w http.ResponseWriter) error

type GetBagDropConfig404JSONResponse

type GetBagDropConfig404JSONResponse struct{ NotFoundJSONResponse }

func (GetBagDropConfig404JSONResponse) VisitGetBagDropConfigResponse

func (response GetBagDropConfig404JSONResponse) VisitGetBagDropConfigResponse(w http.ResponseWriter) error

type GetBagDropConfigRequestObject

type GetBagDropConfigRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	ProjectId      ProjectId      `json:"projectId"`
}

type GetBagDropConfigResponse

type GetBagDropConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *BagDropConfig
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
}

func ParseGetBagDropConfigResponse

func ParseGetBagDropConfigResponse(rsp *http.Response) (*GetBagDropConfigResponse, error)

ParseGetBagDropConfigResponse parses an HTTP response from a GetBagDropConfigWithResponse call

func (GetBagDropConfigResponse) ContentType

func (r GetBagDropConfigResponse) ContentType() string

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

func (GetBagDropConfigResponse) GetBody

func (r GetBagDropConfigResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetBagDropConfigResponse) GetJSON200

func (r GetBagDropConfigResponse) GetJSON200() *BagDropConfig

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetBagDropConfigResponse) GetJSON401

func (r GetBagDropConfigResponse) GetJSON401() *Unauthorized

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

func (GetBagDropConfigResponse) GetJSON403

func (r GetBagDropConfigResponse) GetJSON403() *Forbidden

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

func (GetBagDropConfigResponse) GetJSON404

func (r GetBagDropConfigResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetBagDropConfigResponse) Status

func (r GetBagDropConfigResponse) Status() string

Status returns HTTPResponse.Status

func (GetBagDropConfigResponse) StatusCode

func (r GetBagDropConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetBagDropConfigResponseObject

type GetBagDropConfigResponseObject interface {
	VisitGetBagDropConfigResponse(w http.ResponseWriter) error
}

type GetBagDropStatus200JSONResponse

type GetBagDropStatus200JSONResponse BagDropStatus

func (GetBagDropStatus200JSONResponse) VisitGetBagDropStatusResponse

func (response GetBagDropStatus200JSONResponse) VisitGetBagDropStatusResponse(w http.ResponseWriter) error

type GetBagDropStatus401JSONResponse

type GetBagDropStatus401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetBagDropStatus401JSONResponse) VisitGetBagDropStatusResponse

func (response GetBagDropStatus401JSONResponse) VisitGetBagDropStatusResponse(w http.ResponseWriter) error

type GetBagDropStatus403JSONResponse

type GetBagDropStatus403JSONResponse struct{ ForbiddenJSONResponse }

func (GetBagDropStatus403JSONResponse) VisitGetBagDropStatusResponse

func (response GetBagDropStatus403JSONResponse) VisitGetBagDropStatusResponse(w http.ResponseWriter) error

type GetBagDropStatus404JSONResponse

type GetBagDropStatus404JSONResponse struct{ NotFoundJSONResponse }

func (GetBagDropStatus404JSONResponse) VisitGetBagDropStatusResponse

func (response GetBagDropStatus404JSONResponse) VisitGetBagDropStatusResponse(w http.ResponseWriter) error

type GetBagDropStatusRequestObject

type GetBagDropStatusRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	ProjectId      ProjectId      `json:"projectId"`
}

type GetBagDropStatusResponse

type GetBagDropStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *BagDropStatus
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
}

func ParseGetBagDropStatusResponse

func ParseGetBagDropStatusResponse(rsp *http.Response) (*GetBagDropStatusResponse, error)

ParseGetBagDropStatusResponse parses an HTTP response from a GetBagDropStatusWithResponse call

func (GetBagDropStatusResponse) ContentType

func (r GetBagDropStatusResponse) ContentType() string

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

func (GetBagDropStatusResponse) GetBody

func (r GetBagDropStatusResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetBagDropStatusResponse) GetJSON200

func (r GetBagDropStatusResponse) GetJSON200() *BagDropStatus

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetBagDropStatusResponse) GetJSON401

func (r GetBagDropStatusResponse) GetJSON401() *Unauthorized

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

func (GetBagDropStatusResponse) GetJSON403

func (r GetBagDropStatusResponse) GetJSON403() *Forbidden

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

func (GetBagDropStatusResponse) GetJSON404

func (r GetBagDropStatusResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetBagDropStatusResponse) Status

func (r GetBagDropStatusResponse) Status() string

Status returns HTTPResponse.Status

func (GetBagDropStatusResponse) StatusCode

func (r GetBagDropStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetBagDropStatusResponseObject

type GetBagDropStatusResponseObject interface {
	VisitGetBagDropStatusResponse(w http.ResponseWriter) error
}

type GetBuildFindings200JSONResponse added in v0.4.2

type GetBuildFindings200JSONResponse BuildFindingsResponse

func (GetBuildFindings200JSONResponse) VisitGetBuildFindingsResponse added in v0.4.2

func (response GetBuildFindings200JSONResponse) VisitGetBuildFindingsResponse(w http.ResponseWriter) error

type GetBuildFindings401JSONResponse added in v0.4.2

type GetBuildFindings401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetBuildFindings401JSONResponse) VisitGetBuildFindingsResponse added in v0.4.2

func (response GetBuildFindings401JSONResponse) VisitGetBuildFindingsResponse(w http.ResponseWriter) error

type GetBuildFindings403JSONResponse added in v0.4.2

type GetBuildFindings403JSONResponse struct{ ForbiddenJSONResponse }

func (GetBuildFindings403JSONResponse) VisitGetBuildFindingsResponse added in v0.4.2

func (response GetBuildFindings403JSONResponse) VisitGetBuildFindingsResponse(w http.ResponseWriter) error

type GetBuildFindings404JSONResponse added in v0.4.2

type GetBuildFindings404JSONResponse struct{ NotFoundJSONResponse }

func (GetBuildFindings404JSONResponse) VisitGetBuildFindingsResponse added in v0.4.2

func (response GetBuildFindings404JSONResponse) VisitGetBuildFindingsResponse(w http.ResponseWriter) error

type GetBuildFindingsRequestObject added in v0.4.2

type GetBuildFindingsRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	ProjectId      ProjectId      `json:"projectId"`
	BucketName     string         `json:"bucketName"`
	Fingerprint    string         `json:"fingerprint"`
	BuildId        string         `json:"buildId"`
}

type GetBuildFindingsResponse added in v0.4.2

type GetBuildFindingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *BuildFindingsResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
}

func ParseGetBuildFindingsResponse added in v0.4.2

func ParseGetBuildFindingsResponse(rsp *http.Response) (*GetBuildFindingsResponse, error)

ParseGetBuildFindingsResponse parses an HTTP response from a GetBuildFindingsWithResponse call

func (GetBuildFindingsResponse) ContentType added in v0.4.2

func (r GetBuildFindingsResponse) ContentType() string

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

func (GetBuildFindingsResponse) GetBody added in v0.4.2

func (r GetBuildFindingsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetBuildFindingsResponse) GetJSON200 added in v0.4.2

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetBuildFindingsResponse) GetJSON401 added in v0.4.2

func (r GetBuildFindingsResponse) GetJSON401() *Unauthorized

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

func (GetBuildFindingsResponse) GetJSON403 added in v0.4.2

func (r GetBuildFindingsResponse) GetJSON403() *Forbidden

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

func (GetBuildFindingsResponse) GetJSON404 added in v0.4.2

func (r GetBuildFindingsResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetBuildFindingsResponse) Status added in v0.4.2

func (r GetBuildFindingsResponse) Status() string

Status returns HTTPResponse.Status

func (GetBuildFindingsResponse) StatusCode added in v0.4.2

func (r GetBuildFindingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetBuildFindingsResponseObject added in v0.4.2

type GetBuildFindingsResponseObject interface {
	VisitGetBuildFindingsResponse(w http.ResponseWriter) error
}

type GetEncryption200JSONResponse

type GetEncryption200JSONResponse Encryption

func (GetEncryption200JSONResponse) VisitGetEncryptionResponse

func (response GetEncryption200JSONResponse) VisitGetEncryptionResponse(w http.ResponseWriter) error

type GetEncryption401JSONResponse

type GetEncryption401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetEncryption401JSONResponse) VisitGetEncryptionResponse

func (response GetEncryption401JSONResponse) VisitGetEncryptionResponse(w http.ResponseWriter) error

type GetEncryption403JSONResponse

type GetEncryption403JSONResponse struct{ ForbiddenJSONResponse }

func (GetEncryption403JSONResponse) VisitGetEncryptionResponse

func (response GetEncryption403JSONResponse) VisitGetEncryptionResponse(w http.ResponseWriter) error

type GetEncryptionRequestObject

type GetEncryptionRequestObject struct {
}

type GetEncryptionResponse

type GetEncryptionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Encryption
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
}

func ParseGetEncryptionResponse

func ParseGetEncryptionResponse(rsp *http.Response) (*GetEncryptionResponse, error)

ParseGetEncryptionResponse parses an HTTP response from a GetEncryptionWithResponse call

func (GetEncryptionResponse) ContentType

func (r GetEncryptionResponse) ContentType() string

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

func (GetEncryptionResponse) GetBody

func (r GetEncryptionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetEncryptionResponse) GetJSON200

func (r GetEncryptionResponse) GetJSON200() *Encryption

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetEncryptionResponse) GetJSON401

func (r GetEncryptionResponse) GetJSON401() *Unauthorized

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

func (GetEncryptionResponse) GetJSON403

func (r GetEncryptionResponse) GetJSON403() *Forbidden

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

func (GetEncryptionResponse) Status

func (r GetEncryptionResponse) Status() string

Status returns HTTPResponse.Status

func (GetEncryptionResponse) StatusCode

func (r GetEncryptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetEncryptionResponseObject

type GetEncryptionResponseObject interface {
	VisitGetEncryptionResponse(w http.ResponseWriter) error
}

type GetInstance200JSONResponse

type GetInstance200JSONResponse Instance

func (GetInstance200JSONResponse) VisitGetInstanceResponse

func (response GetInstance200JSONResponse) VisitGetInstanceResponse(w http.ResponseWriter) error

type GetInstance401JSONResponse

type GetInstance401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetInstance401JSONResponse) VisitGetInstanceResponse

func (response GetInstance401JSONResponse) VisitGetInstanceResponse(w http.ResponseWriter) error

type GetInstance403JSONResponse

type GetInstance403JSONResponse struct{ ForbiddenJSONResponse }

func (GetInstance403JSONResponse) VisitGetInstanceResponse

func (response GetInstance403JSONResponse) VisitGetInstanceResponse(w http.ResponseWriter) error

type GetInstanceRequestObject

type GetInstanceRequestObject struct {
}

type GetInstanceResponse

type GetInstanceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Instance
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
}

func ParseGetInstanceResponse

func ParseGetInstanceResponse(rsp *http.Response) (*GetInstanceResponse, error)

ParseGetInstanceResponse parses an HTTP response from a GetInstanceWithResponse call

func (GetInstanceResponse) ContentType

func (r GetInstanceResponse) ContentType() string

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

func (GetInstanceResponse) GetBody

func (r GetInstanceResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetInstanceResponse) GetJSON200

func (r GetInstanceResponse) GetJSON200() *Instance

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetInstanceResponse) GetJSON401

func (r GetInstanceResponse) GetJSON401() *Unauthorized

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

func (GetInstanceResponse) GetJSON403

func (r GetInstanceResponse) GetJSON403() *Forbidden

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

func (GetInstanceResponse) Status

func (r GetInstanceResponse) Status() string

Status returns HTTPResponse.Status

func (GetInstanceResponse) StatusCode

func (r GetInstanceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetInstanceResponseObject

type GetInstanceResponseObject interface {
	VisitGetInstanceResponse(w http.ResponseWriter) error
}

type GetOrganization200JSONResponse

type GetOrganization200JSONResponse Organization

func (GetOrganization200JSONResponse) VisitGetOrganizationResponse

func (response GetOrganization200JSONResponse) VisitGetOrganizationResponse(w http.ResponseWriter) error

type GetOrganization401JSONResponse

type GetOrganization401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetOrganization401JSONResponse) VisitGetOrganizationResponse

func (response GetOrganization401JSONResponse) VisitGetOrganizationResponse(w http.ResponseWriter) error

type GetOrganization403JSONResponse

type GetOrganization403JSONResponse struct{ ForbiddenJSONResponse }

func (GetOrganization403JSONResponse) VisitGetOrganizationResponse

func (response GetOrganization403JSONResponse) VisitGetOrganizationResponse(w http.ResponseWriter) error

type GetOrganization404JSONResponse

type GetOrganization404JSONResponse struct{ NotFoundJSONResponse }

func (GetOrganization404JSONResponse) VisitGetOrganizationResponse

func (response GetOrganization404JSONResponse) VisitGetOrganizationResponse(w http.ResponseWriter) error

type GetOrganizationRequestObject

type GetOrganizationRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
}

type GetOrganizationResponse

type GetOrganizationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Organization
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
}

func ParseGetOrganizationResponse

func ParseGetOrganizationResponse(rsp *http.Response) (*GetOrganizationResponse, error)

ParseGetOrganizationResponse parses an HTTP response from a GetOrganizationWithResponse call

func (GetOrganizationResponse) ContentType

func (r GetOrganizationResponse) ContentType() string

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

func (GetOrganizationResponse) GetBody

func (r GetOrganizationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetOrganizationResponse) GetJSON200

func (r GetOrganizationResponse) GetJSON200() *Organization

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetOrganizationResponse) GetJSON401

func (r GetOrganizationResponse) GetJSON401() *Unauthorized

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

func (GetOrganizationResponse) GetJSON403

func (r GetOrganizationResponse) GetJSON403() *Forbidden

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

func (GetOrganizationResponse) GetJSON404

func (r GetOrganizationResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetOrganizationResponse) Status

func (r GetOrganizationResponse) Status() string

Status returns HTTPResponse.Status

func (GetOrganizationResponse) StatusCode

func (r GetOrganizationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOrganizationResponseObject

type GetOrganizationResponseObject interface {
	VisitGetOrganizationResponse(w http.ResponseWriter) error
}

type GetOrganizationWebhook200JSONResponse added in v0.5.0

type GetOrganizationWebhook200JSONResponse Webhook

func (GetOrganizationWebhook200JSONResponse) VisitGetOrganizationWebhookResponse added in v0.5.0

func (response GetOrganizationWebhook200JSONResponse) VisitGetOrganizationWebhookResponse(w http.ResponseWriter) error

type GetOrganizationWebhook401JSONResponse added in v0.5.0

type GetOrganizationWebhook401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetOrganizationWebhook401JSONResponse) VisitGetOrganizationWebhookResponse added in v0.5.0

func (response GetOrganizationWebhook401JSONResponse) VisitGetOrganizationWebhookResponse(w http.ResponseWriter) error

type GetOrganizationWebhook403JSONResponse added in v0.5.0

type GetOrganizationWebhook403JSONResponse struct{ ForbiddenJSONResponse }

func (GetOrganizationWebhook403JSONResponse) VisitGetOrganizationWebhookResponse added in v0.5.0

func (response GetOrganizationWebhook403JSONResponse) VisitGetOrganizationWebhookResponse(w http.ResponseWriter) error

type GetOrganizationWebhook404JSONResponse added in v0.5.0

type GetOrganizationWebhook404JSONResponse struct{ NotFoundJSONResponse }

func (GetOrganizationWebhook404JSONResponse) VisitGetOrganizationWebhookResponse added in v0.5.0

func (response GetOrganizationWebhook404JSONResponse) VisitGetOrganizationWebhookResponse(w http.ResponseWriter) error

type GetOrganizationWebhookRequestObject added in v0.5.0

type GetOrganizationWebhookRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	WebhookId      WebhookId      `json:"webhookId"`
}

type GetOrganizationWebhookResponse added in v0.5.0

type GetOrganizationWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Webhook
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
}

func ParseGetOrganizationWebhookResponse added in v0.5.0

func ParseGetOrganizationWebhookResponse(rsp *http.Response) (*GetOrganizationWebhookResponse, error)

ParseGetOrganizationWebhookResponse parses an HTTP response from a GetOrganizationWebhookWithResponse call

func (GetOrganizationWebhookResponse) ContentType added in v0.5.0

func (r GetOrganizationWebhookResponse) ContentType() string

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

func (GetOrganizationWebhookResponse) GetBody added in v0.5.0

func (r GetOrganizationWebhookResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetOrganizationWebhookResponse) GetJSON200 added in v0.5.0

func (r GetOrganizationWebhookResponse) GetJSON200() *Webhook

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetOrganizationWebhookResponse) GetJSON401 added in v0.5.0

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

func (GetOrganizationWebhookResponse) GetJSON403 added in v0.5.0

func (r GetOrganizationWebhookResponse) GetJSON403() *Forbidden

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

func (GetOrganizationWebhookResponse) GetJSON404 added in v0.5.0

func (r GetOrganizationWebhookResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetOrganizationWebhookResponse) Status added in v0.5.0

Status returns HTTPResponse.Status

func (GetOrganizationWebhookResponse) StatusCode added in v0.5.0

func (r GetOrganizationWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOrganizationWebhookResponseObject added in v0.5.0

type GetOrganizationWebhookResponseObject interface {
	VisitGetOrganizationWebhookResponse(w http.ResponseWriter) error
}

type GetPluginBundle200JSONResponse added in v0.5.0

type GetPluginBundle200JSONResponse PluginBundle

func (GetPluginBundle200JSONResponse) VisitGetPluginBundleResponse added in v0.5.0

func (response GetPluginBundle200JSONResponse) VisitGetPluginBundleResponse(w http.ResponseWriter) error

type GetPluginBundle401JSONResponse added in v0.5.0

type GetPluginBundle401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetPluginBundle401JSONResponse) VisitGetPluginBundleResponse added in v0.5.0

func (response GetPluginBundle401JSONResponse) VisitGetPluginBundleResponse(w http.ResponseWriter) error

type GetPluginBundle403JSONResponse added in v0.5.0

type GetPluginBundle403JSONResponse struct{ ForbiddenJSONResponse }

func (GetPluginBundle403JSONResponse) VisitGetPluginBundleResponse added in v0.5.0

func (response GetPluginBundle403JSONResponse) VisitGetPluginBundleResponse(w http.ResponseWriter) error

type GetPluginBundle404JSONResponse added in v0.5.0

type GetPluginBundle404JSONResponse Error

func (GetPluginBundle404JSONResponse) VisitGetPluginBundleResponse added in v0.5.0

func (response GetPluginBundle404JSONResponse) VisitGetPluginBundleResponse(w http.ResponseWriter) error

type GetPluginBundle409JSONResponse added in v0.5.0

type GetPluginBundle409JSONResponse Error

func (GetPluginBundle409JSONResponse) VisitGetPluginBundleResponse added in v0.5.0

func (response GetPluginBundle409JSONResponse) VisitGetPluginBundleResponse(w http.ResponseWriter) error

type GetPluginBundleImport200JSONResponse added in v0.5.0

type GetPluginBundleImport200JSONResponse PluginBundleImport

func (GetPluginBundleImport200JSONResponse) VisitGetPluginBundleImportResponse added in v0.5.0

func (response GetPluginBundleImport200JSONResponse) VisitGetPluginBundleImportResponse(w http.ResponseWriter) error

type GetPluginBundleImport401JSONResponse added in v0.5.0

type GetPluginBundleImport401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetPluginBundleImport401JSONResponse) VisitGetPluginBundleImportResponse added in v0.5.0

func (response GetPluginBundleImport401JSONResponse) VisitGetPluginBundleImportResponse(w http.ResponseWriter) error

type GetPluginBundleImport403JSONResponse added in v0.5.0

type GetPluginBundleImport403JSONResponse struct{ ForbiddenJSONResponse }

func (GetPluginBundleImport403JSONResponse) VisitGetPluginBundleImportResponse added in v0.5.0

func (response GetPluginBundleImport403JSONResponse) VisitGetPluginBundleImportResponse(w http.ResponseWriter) error

type GetPluginBundleImport404JSONResponse added in v0.5.0

type GetPluginBundleImport404JSONResponse Error

func (GetPluginBundleImport404JSONResponse) VisitGetPluginBundleImportResponse added in v0.5.0

func (response GetPluginBundleImport404JSONResponse) VisitGetPluginBundleImportResponse(w http.ResponseWriter) error

type GetPluginBundleImport409JSONResponse added in v0.5.0

type GetPluginBundleImport409JSONResponse Error

func (GetPluginBundleImport409JSONResponse) VisitGetPluginBundleImportResponse added in v0.5.0

func (response GetPluginBundleImport409JSONResponse) VisitGetPluginBundleImportResponse(w http.ResponseWriter) error

type GetPluginBundleImportRequestObject added in v0.5.0

type GetPluginBundleImportRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
}

type GetPluginBundleImportResponse added in v0.5.0

type GetPluginBundleImportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PluginBundleImport
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
}

func ParseGetPluginBundleImportResponse added in v0.5.0

func ParseGetPluginBundleImportResponse(rsp *http.Response) (*GetPluginBundleImportResponse, error)

ParseGetPluginBundleImportResponse parses an HTTP response from a GetPluginBundleImportWithResponse call

func (GetPluginBundleImportResponse) ContentType added in v0.5.0

func (r GetPluginBundleImportResponse) ContentType() string

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

func (GetPluginBundleImportResponse) GetBody added in v0.5.0

func (r GetPluginBundleImportResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetPluginBundleImportResponse) GetJSON200 added in v0.5.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetPluginBundleImportResponse) GetJSON401 added in v0.5.0

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

func (GetPluginBundleImportResponse) GetJSON403 added in v0.5.0

func (r GetPluginBundleImportResponse) GetJSON403() *Forbidden

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

func (GetPluginBundleImportResponse) GetJSON404 added in v0.5.0

func (r GetPluginBundleImportResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetPluginBundleImportResponse) GetJSON409 added in v0.5.0

func (r GetPluginBundleImportResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetPluginBundleImportResponse) Status added in v0.5.0

Status returns HTTPResponse.Status

func (GetPluginBundleImportResponse) StatusCode added in v0.5.0

func (r GetPluginBundleImportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPluginBundleImportResponseObject added in v0.5.0

type GetPluginBundleImportResponseObject interface {
	VisitGetPluginBundleImportResponse(w http.ResponseWriter) error
}

type GetPluginBundleRequestObject added in v0.5.0

type GetPluginBundleRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
}

type GetPluginBundleResponse added in v0.5.0

type GetPluginBundleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PluginBundle
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
}

func ParseGetPluginBundleResponse added in v0.5.0

func ParseGetPluginBundleResponse(rsp *http.Response) (*GetPluginBundleResponse, error)

ParseGetPluginBundleResponse parses an HTTP response from a GetPluginBundleWithResponse call

func (GetPluginBundleResponse) ContentType added in v0.5.0

func (r GetPluginBundleResponse) ContentType() string

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

func (GetPluginBundleResponse) GetBody added in v0.5.0

func (r GetPluginBundleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetPluginBundleResponse) GetJSON200 added in v0.5.0

func (r GetPluginBundleResponse) GetJSON200() *PluginBundle

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetPluginBundleResponse) GetJSON401 added in v0.5.0

func (r GetPluginBundleResponse) GetJSON401() *Unauthorized

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

func (GetPluginBundleResponse) GetJSON403 added in v0.5.0

func (r GetPluginBundleResponse) GetJSON403() *Forbidden

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

func (GetPluginBundleResponse) GetJSON404 added in v0.5.0

func (r GetPluginBundleResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetPluginBundleResponse) GetJSON409 added in v0.5.0

func (r GetPluginBundleResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetPluginBundleResponse) Status added in v0.5.0

func (r GetPluginBundleResponse) Status() string

Status returns HTTPResponse.Status

func (GetPluginBundleResponse) StatusCode added in v0.5.0

func (r GetPluginBundleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPluginBundleResponseObject added in v0.5.0

type GetPluginBundleResponseObject interface {
	VisitGetPluginBundleResponse(w http.ResponseWriter) error
}

type GetPluginDefaultPlatforms200JSONResponse added in v0.5.0

type GetPluginDefaultPlatforms200JSONResponse PluginPlatformList

func (GetPluginDefaultPlatforms200JSONResponse) VisitGetPluginDefaultPlatformsResponse added in v0.5.0

func (response GetPluginDefaultPlatforms200JSONResponse) VisitGetPluginDefaultPlatformsResponse(w http.ResponseWriter) error

type GetPluginDefaultPlatforms401JSONResponse added in v0.5.0

type GetPluginDefaultPlatforms401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetPluginDefaultPlatforms401JSONResponse) VisitGetPluginDefaultPlatformsResponse added in v0.5.0

func (response GetPluginDefaultPlatforms401JSONResponse) VisitGetPluginDefaultPlatformsResponse(w http.ResponseWriter) error

type GetPluginDefaultPlatforms404JSONResponse added in v0.5.0

type GetPluginDefaultPlatforms404JSONResponse struct{ NotFoundJSONResponse }

func (GetPluginDefaultPlatforms404JSONResponse) VisitGetPluginDefaultPlatformsResponse added in v0.5.0

func (response GetPluginDefaultPlatforms404JSONResponse) VisitGetPluginDefaultPlatformsResponse(w http.ResponseWriter) error

type GetPluginDefaultPlatforms409JSONResponse added in v0.5.0

type GetPluginDefaultPlatforms409JSONResponse Error

func (GetPluginDefaultPlatforms409JSONResponse) VisitGetPluginDefaultPlatformsResponse added in v0.5.0

func (response GetPluginDefaultPlatforms409JSONResponse) VisitGetPluginDefaultPlatformsResponse(w http.ResponseWriter) error

type GetPluginDefaultPlatformsRequestObject added in v0.5.0

type GetPluginDefaultPlatformsRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
}

type GetPluginDefaultPlatformsResponse added in v0.5.0

type GetPluginDefaultPlatformsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PluginPlatformList
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
}

func ParseGetPluginDefaultPlatformsResponse added in v0.5.0

func ParseGetPluginDefaultPlatformsResponse(rsp *http.Response) (*GetPluginDefaultPlatformsResponse, error)

ParseGetPluginDefaultPlatformsResponse parses an HTTP response from a GetPluginDefaultPlatformsWithResponse call

func (GetPluginDefaultPlatformsResponse) ContentType added in v0.5.0

func (r GetPluginDefaultPlatformsResponse) ContentType() string

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

func (GetPluginDefaultPlatformsResponse) GetBody added in v0.5.0

GetBody returns the raw response body bytes

func (GetPluginDefaultPlatformsResponse) GetJSON200 added in v0.5.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetPluginDefaultPlatformsResponse) GetJSON401 added in v0.5.0

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

func (GetPluginDefaultPlatformsResponse) GetJSON404 added in v0.5.0

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetPluginDefaultPlatformsResponse) GetJSON409 added in v0.5.0

func (r GetPluginDefaultPlatformsResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetPluginDefaultPlatformsResponse) Status added in v0.5.0

Status returns HTTPResponse.Status

func (GetPluginDefaultPlatformsResponse) StatusCode added in v0.5.0

func (r GetPluginDefaultPlatformsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPluginDefaultPlatformsResponseObject added in v0.5.0

type GetPluginDefaultPlatformsResponseObject interface {
	VisitGetPluginDefaultPlatformsResponse(w http.ResponseWriter) error
}

type GetPluginDownloads200JSONResponse added in v0.5.0

type GetPluginDownloads200JSONResponse PluginDownloads

func (GetPluginDownloads200JSONResponse) VisitGetPluginDownloadsResponse added in v0.5.0

func (response GetPluginDownloads200JSONResponse) VisitGetPluginDownloadsResponse(w http.ResponseWriter) error

type GetPluginDownloads401JSONResponse added in v0.5.0

type GetPluginDownloads401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetPluginDownloads401JSONResponse) VisitGetPluginDownloadsResponse added in v0.5.0

func (response GetPluginDownloads401JSONResponse) VisitGetPluginDownloadsResponse(w http.ResponseWriter) error

type GetPluginDownloads404JSONResponse added in v0.5.0

type GetPluginDownloads404JSONResponse struct{ NotFoundJSONResponse }

func (GetPluginDownloads404JSONResponse) VisitGetPluginDownloadsResponse added in v0.5.0

func (response GetPluginDownloads404JSONResponse) VisitGetPluginDownloadsResponse(w http.ResponseWriter) error

type GetPluginDownloads409JSONResponse added in v0.5.0

type GetPluginDownloads409JSONResponse Error

func (GetPluginDownloads409JSONResponse) VisitGetPluginDownloadsResponse added in v0.5.0

func (response GetPluginDownloads409JSONResponse) VisitGetPluginDownloadsResponse(w http.ResponseWriter) error

type GetPluginDownloadsRequestObject added in v0.5.0

type GetPluginDownloadsRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	PluginName     PluginName     `json:"pluginName"`
}

type GetPluginDownloadsResponse added in v0.5.0

type GetPluginDownloadsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PluginDownloads
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
}

func ParseGetPluginDownloadsResponse added in v0.5.0

func ParseGetPluginDownloadsResponse(rsp *http.Response) (*GetPluginDownloadsResponse, error)

ParseGetPluginDownloadsResponse parses an HTTP response from a GetPluginDownloadsWithResponse call

func (GetPluginDownloadsResponse) ContentType added in v0.5.0

func (r GetPluginDownloadsResponse) ContentType() string

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

func (GetPluginDownloadsResponse) GetBody added in v0.5.0

func (r GetPluginDownloadsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetPluginDownloadsResponse) GetJSON200 added in v0.5.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetPluginDownloadsResponse) GetJSON401 added in v0.5.0

func (r GetPluginDownloadsResponse) GetJSON401() *Unauthorized

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

func (GetPluginDownloadsResponse) GetJSON404 added in v0.5.0

func (r GetPluginDownloadsResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetPluginDownloadsResponse) GetJSON409 added in v0.5.0

func (r GetPluginDownloadsResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetPluginDownloadsResponse) Status added in v0.5.0

Status returns HTTPResponse.Status

func (GetPluginDownloadsResponse) StatusCode added in v0.5.0

func (r GetPluginDownloadsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPluginDownloadsResponseObject added in v0.5.0

type GetPluginDownloadsResponseObject interface {
	VisitGetPluginDownloadsResponse(w http.ResponseWriter) error
}

type GetPluginImport200JSONResponse added in v0.5.0

type GetPluginImport200JSONResponse PluginImport

func (GetPluginImport200JSONResponse) VisitGetPluginImportResponse added in v0.5.0

func (response GetPluginImport200JSONResponse) VisitGetPluginImportResponse(w http.ResponseWriter) error

type GetPluginImport401JSONResponse added in v0.5.0

type GetPluginImport401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetPluginImport401JSONResponse) VisitGetPluginImportResponse added in v0.5.0

func (response GetPluginImport401JSONResponse) VisitGetPluginImportResponse(w http.ResponseWriter) error

type GetPluginImport404JSONResponse added in v0.5.0

type GetPluginImport404JSONResponse struct{ NotFoundJSONResponse }

func (GetPluginImport404JSONResponse) VisitGetPluginImportResponse added in v0.5.0

func (response GetPluginImport404JSONResponse) VisitGetPluginImportResponse(w http.ResponseWriter) error

type GetPluginImportRequestObject added in v0.5.0

type GetPluginImportRequestObject struct {
	OrganizationId OrganizationId     `json:"organizationId"`
	ImportId       openapi_types.UUID `json:"importId"`
}

type GetPluginImportResponse added in v0.5.0

type GetPluginImportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PluginImport
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
}

func ParseGetPluginImportResponse added in v0.5.0

func ParseGetPluginImportResponse(rsp *http.Response) (*GetPluginImportResponse, error)

ParseGetPluginImportResponse parses an HTTP response from a GetPluginImportWithResponse call

func (GetPluginImportResponse) ContentType added in v0.5.0

func (r GetPluginImportResponse) ContentType() string

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

func (GetPluginImportResponse) GetBody added in v0.5.0

func (r GetPluginImportResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetPluginImportResponse) GetJSON200 added in v0.5.0

func (r GetPluginImportResponse) GetJSON200() *PluginImport

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetPluginImportResponse) GetJSON401 added in v0.5.0

func (r GetPluginImportResponse) GetJSON401() *Unauthorized

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

func (GetPluginImportResponse) GetJSON404 added in v0.5.0

func (r GetPluginImportResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetPluginImportResponse) Status added in v0.5.0

func (r GetPluginImportResponse) Status() string

Status returns HTTPResponse.Status

func (GetPluginImportResponse) StatusCode added in v0.5.0

func (r GetPluginImportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPluginImportResponseObject added in v0.5.0

type GetPluginImportResponseObject interface {
	VisitGetPluginImportResponse(w http.ResponseWriter) error
}

type GetPluginPrune200JSONResponse added in v0.5.0

type GetPluginPrune200JSONResponse PluginPrune

func (GetPluginPrune200JSONResponse) VisitGetPluginPruneResponse added in v0.5.0

func (response GetPluginPrune200JSONResponse) VisitGetPluginPruneResponse(w http.ResponseWriter) error

type GetPluginPrune401JSONResponse added in v0.5.0

type GetPluginPrune401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetPluginPrune401JSONResponse) VisitGetPluginPruneResponse added in v0.5.0

func (response GetPluginPrune401JSONResponse) VisitGetPluginPruneResponse(w http.ResponseWriter) error

type GetPluginPrune403JSONResponse added in v0.5.0

type GetPluginPrune403JSONResponse struct{ ForbiddenJSONResponse }

func (GetPluginPrune403JSONResponse) VisitGetPluginPruneResponse added in v0.5.0

func (response GetPluginPrune403JSONResponse) VisitGetPluginPruneResponse(w http.ResponseWriter) error

type GetPluginPrune404JSONResponse added in v0.5.0

type GetPluginPrune404JSONResponse struct{ NotFoundJSONResponse }

func (GetPluginPrune404JSONResponse) VisitGetPluginPruneResponse added in v0.5.0

func (response GetPluginPrune404JSONResponse) VisitGetPluginPruneResponse(w http.ResponseWriter) error

type GetPluginPrune409JSONResponse added in v0.5.0

type GetPluginPrune409JSONResponse Error

func (GetPluginPrune409JSONResponse) VisitGetPluginPruneResponse added in v0.5.0

func (response GetPluginPrune409JSONResponse) VisitGetPluginPruneResponse(w http.ResponseWriter) error

type GetPluginPruneRequestObject added in v0.5.0

type GetPluginPruneRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
}

type GetPluginPruneResponse added in v0.5.0

type GetPluginPruneResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PluginPrune
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
}

func ParseGetPluginPruneResponse added in v0.5.0

func ParseGetPluginPruneResponse(rsp *http.Response) (*GetPluginPruneResponse, error)

ParseGetPluginPruneResponse parses an HTTP response from a GetPluginPruneWithResponse call

func (GetPluginPruneResponse) ContentType added in v0.5.0

func (r GetPluginPruneResponse) ContentType() string

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

func (GetPluginPruneResponse) GetBody added in v0.5.0

func (r GetPluginPruneResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetPluginPruneResponse) GetJSON200 added in v0.5.0

func (r GetPluginPruneResponse) GetJSON200() *PluginPrune

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetPluginPruneResponse) GetJSON401 added in v0.5.0

func (r GetPluginPruneResponse) GetJSON401() *Unauthorized

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

func (GetPluginPruneResponse) GetJSON403 added in v0.5.0

func (r GetPluginPruneResponse) GetJSON403() *Forbidden

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

func (GetPluginPruneResponse) GetJSON404 added in v0.5.0

func (r GetPluginPruneResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetPluginPruneResponse) GetJSON409 added in v0.5.0

func (r GetPluginPruneResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetPluginPruneResponse) Status added in v0.5.0

func (r GetPluginPruneResponse) Status() string

Status returns HTTPResponse.Status

func (GetPluginPruneResponse) StatusCode added in v0.5.0

func (r GetPluginPruneResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPluginPruneResponseObject added in v0.5.0

type GetPluginPruneResponseObject interface {
	VisitGetPluginPruneResponse(w http.ResponseWriter) error
}

type GetPluginRegistry200JSONResponse added in v0.5.0

type GetPluginRegistry200JSONResponse PluginRegistry

func (GetPluginRegistry200JSONResponse) VisitGetPluginRegistryResponse added in v0.5.0

func (response GetPluginRegistry200JSONResponse) VisitGetPluginRegistryResponse(w http.ResponseWriter) error

type GetPluginRegistry401JSONResponse added in v0.5.0

type GetPluginRegistry401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetPluginRegistry401JSONResponse) VisitGetPluginRegistryResponse added in v0.5.0

func (response GetPluginRegistry401JSONResponse) VisitGetPluginRegistryResponse(w http.ResponseWriter) error

type GetPluginRegistry404JSONResponse added in v0.5.0

type GetPluginRegistry404JSONResponse struct{ NotFoundJSONResponse }

func (GetPluginRegistry404JSONResponse) VisitGetPluginRegistryResponse added in v0.5.0

func (response GetPluginRegistry404JSONResponse) VisitGetPluginRegistryResponse(w http.ResponseWriter) error

type GetPluginRegistryRequestObject added in v0.5.0

type GetPluginRegistryRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
}

type GetPluginRegistryResponse added in v0.5.0

type GetPluginRegistryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PluginRegistry
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
}

func ParseGetPluginRegistryResponse added in v0.5.0

func ParseGetPluginRegistryResponse(rsp *http.Response) (*GetPluginRegistryResponse, error)

ParseGetPluginRegistryResponse parses an HTTP response from a GetPluginRegistryWithResponse call

func (GetPluginRegistryResponse) ContentType added in v0.5.0

func (r GetPluginRegistryResponse) ContentType() string

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

func (GetPluginRegistryResponse) GetBody added in v0.5.0

func (r GetPluginRegistryResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetPluginRegistryResponse) GetJSON200 added in v0.5.0

func (r GetPluginRegistryResponse) GetJSON200() *PluginRegistry

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetPluginRegistryResponse) GetJSON401 added in v0.5.0

func (r GetPluginRegistryResponse) GetJSON401() *Unauthorized

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

func (GetPluginRegistryResponse) GetJSON404 added in v0.5.0

func (r GetPluginRegistryResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetPluginRegistryResponse) Status added in v0.5.0

func (r GetPluginRegistryResponse) Status() string

Status returns HTTPResponse.Status

func (GetPluginRegistryResponse) StatusCode added in v0.5.0

func (r GetPluginRegistryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPluginRegistryResponseObject added in v0.5.0

type GetPluginRegistryResponseObject interface {
	VisitGetPluginRegistryResponse(w http.ResponseWriter) error
}

type GetPrincipal200JSONResponse

type GetPrincipal200JSONResponse Principal

func (GetPrincipal200JSONResponse) VisitGetPrincipalResponse

func (response GetPrincipal200JSONResponse) VisitGetPrincipalResponse(w http.ResponseWriter) error

type GetPrincipal401JSONResponse

type GetPrincipal401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetPrincipal401JSONResponse) VisitGetPrincipalResponse

func (response GetPrincipal401JSONResponse) VisitGetPrincipalResponse(w http.ResponseWriter) error

type GetPrincipal403JSONResponse

type GetPrincipal403JSONResponse struct{ ForbiddenJSONResponse }

func (GetPrincipal403JSONResponse) VisitGetPrincipalResponse

func (response GetPrincipal403JSONResponse) VisitGetPrincipalResponse(w http.ResponseWriter) error

type GetPrincipal404JSONResponse

type GetPrincipal404JSONResponse struct{ NotFoundJSONResponse }

func (GetPrincipal404JSONResponse) VisitGetPrincipalResponse

func (response GetPrincipal404JSONResponse) VisitGetPrincipalResponse(w http.ResponseWriter) error

type GetPrincipalRequestObject

type GetPrincipalRequestObject struct {
	PrincipalId PrincipalId `json:"principalId"`
}

type GetPrincipalResponse

type GetPrincipalResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Principal
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
}

func ParseGetPrincipalResponse

func ParseGetPrincipalResponse(rsp *http.Response) (*GetPrincipalResponse, error)

ParseGetPrincipalResponse parses an HTTP response from a GetPrincipalWithResponse call

func (GetPrincipalResponse) ContentType

func (r GetPrincipalResponse) ContentType() string

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

func (GetPrincipalResponse) GetBody

func (r GetPrincipalResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetPrincipalResponse) GetJSON200

func (r GetPrincipalResponse) GetJSON200() *Principal

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetPrincipalResponse) GetJSON401

func (r GetPrincipalResponse) GetJSON401() *Unauthorized

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

func (GetPrincipalResponse) GetJSON403

func (r GetPrincipalResponse) GetJSON403() *Forbidden

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

func (GetPrincipalResponse) GetJSON404

func (r GetPrincipalResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetPrincipalResponse) Status

func (r GetPrincipalResponse) Status() string

Status returns HTTPResponse.Status

func (GetPrincipalResponse) StatusCode

func (r GetPrincipalResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPrincipalResponseObject

type GetPrincipalResponseObject interface {
	VisitGetPrincipalResponse(w http.ResponseWriter) error
}

type GetProject200JSONResponse

type GetProject200JSONResponse Project

func (GetProject200JSONResponse) VisitGetProjectResponse

func (response GetProject200JSONResponse) VisitGetProjectResponse(w http.ResponseWriter) error

type GetProject401JSONResponse

type GetProject401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetProject401JSONResponse) VisitGetProjectResponse

func (response GetProject401JSONResponse) VisitGetProjectResponse(w http.ResponseWriter) error

type GetProject403JSONResponse

type GetProject403JSONResponse struct{ ForbiddenJSONResponse }

func (GetProject403JSONResponse) VisitGetProjectResponse

func (response GetProject403JSONResponse) VisitGetProjectResponse(w http.ResponseWriter) error

type GetProject404JSONResponse

type GetProject404JSONResponse struct{ NotFoundJSONResponse }

func (GetProject404JSONResponse) VisitGetProjectResponse

func (response GetProject404JSONResponse) VisitGetProjectResponse(w http.ResponseWriter) error

type GetProjectRequestObject

type GetProjectRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	ProjectId      ProjectId      `json:"projectId"`
}

type GetProjectResponse

type GetProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Project
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
}

func ParseGetProjectResponse

func ParseGetProjectResponse(rsp *http.Response) (*GetProjectResponse, error)

ParseGetProjectResponse parses an HTTP response from a GetProjectWithResponse call

func (GetProjectResponse) ContentType

func (r GetProjectResponse) ContentType() string

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

func (GetProjectResponse) GetBody

func (r GetProjectResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetProjectResponse) GetJSON200

func (r GetProjectResponse) GetJSON200() *Project

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetProjectResponse) GetJSON401

func (r GetProjectResponse) GetJSON401() *Unauthorized

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

func (GetProjectResponse) GetJSON403

func (r GetProjectResponse) GetJSON403() *Forbidden

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

func (GetProjectResponse) GetJSON404

func (r GetProjectResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetProjectResponse) Status

func (r GetProjectResponse) Status() string

Status returns HTTPResponse.Status

func (GetProjectResponse) StatusCode

func (r GetProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProjectResponseObject

type GetProjectResponseObject interface {
	VisitGetProjectResponse(w http.ResponseWriter) error
}

type GetScannerHealth200JSONResponse

type GetScannerHealth200JSONResponse ScannerHealth

func (GetScannerHealth200JSONResponse) VisitGetScannerHealthResponse

func (response GetScannerHealth200JSONResponse) VisitGetScannerHealthResponse(w http.ResponseWriter) error

type GetScannerHealth401JSONResponse

type GetScannerHealth401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetScannerHealth401JSONResponse) VisitGetScannerHealthResponse

func (response GetScannerHealth401JSONResponse) VisitGetScannerHealthResponse(w http.ResponseWriter) error

type GetScannerHealth403JSONResponse

type GetScannerHealth403JSONResponse struct{ ForbiddenJSONResponse }

func (GetScannerHealth403JSONResponse) VisitGetScannerHealthResponse

func (response GetScannerHealth403JSONResponse) VisitGetScannerHealthResponse(w http.ResponseWriter) error

type GetScannerHealthRequestObject

type GetScannerHealthRequestObject struct {
}

type GetScannerHealthResponse

type GetScannerHealthResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ScannerHealth
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
}

func ParseGetScannerHealthResponse

func ParseGetScannerHealthResponse(rsp *http.Response) (*GetScannerHealthResponse, error)

ParseGetScannerHealthResponse parses an HTTP response from a GetScannerHealthWithResponse call

func (GetScannerHealthResponse) ContentType

func (r GetScannerHealthResponse) ContentType() string

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

func (GetScannerHealthResponse) GetBody

func (r GetScannerHealthResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetScannerHealthResponse) GetJSON200

func (r GetScannerHealthResponse) GetJSON200() *ScannerHealth

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetScannerHealthResponse) GetJSON401

func (r GetScannerHealthResponse) GetJSON401() *Unauthorized

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

func (GetScannerHealthResponse) GetJSON403

func (r GetScannerHealthResponse) GetJSON403() *Forbidden

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

func (GetScannerHealthResponse) Status

func (r GetScannerHealthResponse) Status() string

Status returns HTTPResponse.Status

func (GetScannerHealthResponse) StatusCode

func (r GetScannerHealthResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetScannerHealthResponseObject

type GetScannerHealthResponseObject interface {
	VisitGetScannerHealthResponse(w http.ResponseWriter) error
}

type GetSelf200JSONResponse

type GetSelf200JSONResponse Self

func (GetSelf200JSONResponse) VisitGetSelfResponse

func (response GetSelf200JSONResponse) VisitGetSelfResponse(w http.ResponseWriter) error

type GetSelf401JSONResponse

type GetSelf401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetSelf401JSONResponse) VisitGetSelfResponse

func (response GetSelf401JSONResponse) VisitGetSelfResponse(w http.ResponseWriter) error

type GetSelf403JSONResponse

type GetSelf403JSONResponse struct{ ForbiddenJSONResponse }

func (GetSelf403JSONResponse) VisitGetSelfResponse

func (response GetSelf403JSONResponse) VisitGetSelfResponse(w http.ResponseWriter) error

type GetSelfRequestObject

type GetSelfRequestObject struct {
}

type GetSelfResponse

type GetSelfResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Self
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
}

func ParseGetSelfResponse

func ParseGetSelfResponse(rsp *http.Response) (*GetSelfResponse, error)

ParseGetSelfResponse parses an HTTP response from a GetSelfWithResponse call

func (GetSelfResponse) ContentType

func (r GetSelfResponse) ContentType() string

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

func (GetSelfResponse) GetBody

func (r GetSelfResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSelfResponse) GetJSON200

func (r GetSelfResponse) GetJSON200() *Self

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSelfResponse) GetJSON401

func (r GetSelfResponse) GetJSON401() *Unauthorized

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

func (GetSelfResponse) GetJSON403

func (r GetSelfResponse) GetJSON403() *Forbidden

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

func (GetSelfResponse) Status

func (r GetSelfResponse) Status() string

Status returns HTTPResponse.Status

func (GetSelfResponse) StatusCode

func (r GetSelfResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSelfResponseObject

type GetSelfResponseObject interface {
	VisitGetSelfResponse(w http.ResponseWriter) error
}

type GetVersionFindingsSummary200JSONResponse added in v0.4.2

type GetVersionFindingsSummary200JSONResponse VersionFindingsSummaryResponse

func (GetVersionFindingsSummary200JSONResponse) VisitGetVersionFindingsSummaryResponse added in v0.4.2

func (response GetVersionFindingsSummary200JSONResponse) VisitGetVersionFindingsSummaryResponse(w http.ResponseWriter) error

type GetVersionFindingsSummary401JSONResponse added in v0.4.2

type GetVersionFindingsSummary401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetVersionFindingsSummary401JSONResponse) VisitGetVersionFindingsSummaryResponse added in v0.4.2

func (response GetVersionFindingsSummary401JSONResponse) VisitGetVersionFindingsSummaryResponse(w http.ResponseWriter) error

type GetVersionFindingsSummary403JSONResponse added in v0.4.2

type GetVersionFindingsSummary403JSONResponse struct{ ForbiddenJSONResponse }

func (GetVersionFindingsSummary403JSONResponse) VisitGetVersionFindingsSummaryResponse added in v0.4.2

func (response GetVersionFindingsSummary403JSONResponse) VisitGetVersionFindingsSummaryResponse(w http.ResponseWriter) error

type GetVersionFindingsSummary404JSONResponse added in v0.4.2

type GetVersionFindingsSummary404JSONResponse struct{ NotFoundJSONResponse }

func (GetVersionFindingsSummary404JSONResponse) VisitGetVersionFindingsSummaryResponse added in v0.4.2

func (response GetVersionFindingsSummary404JSONResponse) VisitGetVersionFindingsSummaryResponse(w http.ResponseWriter) error

type GetVersionFindingsSummaryRequestObject added in v0.4.2

type GetVersionFindingsSummaryRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	ProjectId      ProjectId      `json:"projectId"`
	BucketName     string         `json:"bucketName"`
	Fingerprint    string         `json:"fingerprint"`
}

type GetVersionFindingsSummaryResponse added in v0.4.2

type GetVersionFindingsSummaryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *VersionFindingsSummaryResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
}

func ParseGetVersionFindingsSummaryResponse added in v0.4.2

func ParseGetVersionFindingsSummaryResponse(rsp *http.Response) (*GetVersionFindingsSummaryResponse, error)

ParseGetVersionFindingsSummaryResponse parses an HTTP response from a GetVersionFindingsSummaryWithResponse call

func (GetVersionFindingsSummaryResponse) ContentType added in v0.4.2

func (r GetVersionFindingsSummaryResponse) ContentType() string

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

func (GetVersionFindingsSummaryResponse) GetBody added in v0.4.2

GetBody returns the raw response body bytes

func (GetVersionFindingsSummaryResponse) GetJSON200 added in v0.4.2

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetVersionFindingsSummaryResponse) GetJSON401 added in v0.4.2

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

func (GetVersionFindingsSummaryResponse) GetJSON403 added in v0.4.2

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

func (GetVersionFindingsSummaryResponse) GetJSON404 added in v0.4.2

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetVersionFindingsSummaryResponse) Status added in v0.4.2

Status returns HTTPResponse.Status

func (GetVersionFindingsSummaryResponse) StatusCode added in v0.4.2

func (r GetVersionFindingsSummaryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetVersionFindingsSummaryResponseObject added in v0.4.2

type GetVersionFindingsSummaryResponseObject interface {
	VisitGetVersionFindingsSummaryResponse(w http.ResponseWriter) error
}

type GetWebhook200JSONResponse

type GetWebhook200JSONResponse Webhook

func (GetWebhook200JSONResponse) VisitGetWebhookResponse

func (response GetWebhook200JSONResponse) VisitGetWebhookResponse(w http.ResponseWriter) error

type GetWebhook401JSONResponse

type GetWebhook401JSONResponse struct{ UnauthorizedJSONResponse }

func (GetWebhook401JSONResponse) VisitGetWebhookResponse

func (response GetWebhook401JSONResponse) VisitGetWebhookResponse(w http.ResponseWriter) error

type GetWebhook403JSONResponse

type GetWebhook403JSONResponse struct{ ForbiddenJSONResponse }

func (GetWebhook403JSONResponse) VisitGetWebhookResponse

func (response GetWebhook403JSONResponse) VisitGetWebhookResponse(w http.ResponseWriter) error

type GetWebhook404JSONResponse

type GetWebhook404JSONResponse struct{ NotFoundJSONResponse }

func (GetWebhook404JSONResponse) VisitGetWebhookResponse

func (response GetWebhook404JSONResponse) VisitGetWebhookResponse(w http.ResponseWriter) error

type GetWebhookRequestObject

type GetWebhookRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	ProjectId      ProjectId      `json:"projectId"`
	WebhookId      WebhookId      `json:"webhookId"`
}

type GetWebhookResponse

type GetWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Webhook
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
}

func ParseGetWebhookResponse

func ParseGetWebhookResponse(rsp *http.Response) (*GetWebhookResponse, error)

ParseGetWebhookResponse parses an HTTP response from a GetWebhookWithResponse call

func (GetWebhookResponse) ContentType

func (r GetWebhookResponse) ContentType() string

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

func (GetWebhookResponse) GetBody

func (r GetWebhookResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetWebhookResponse) GetJSON200

func (r GetWebhookResponse) GetJSON200() *Webhook

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetWebhookResponse) GetJSON401

func (r GetWebhookResponse) GetJSON401() *Unauthorized

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

func (GetWebhookResponse) GetJSON403

func (r GetWebhookResponse) GetJSON403() *Forbidden

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

func (GetWebhookResponse) GetJSON404

func (r GetWebhookResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetWebhookResponse) Status

func (r GetWebhookResponse) Status() string

Status returns HTTPResponse.Status

func (GetWebhookResponse) StatusCode

func (r GetWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWebhookResponseObject

type GetWebhookResponseObject interface {
	VisitGetWebhookResponse(w http.ResponseWriter) error
}

type GithubRelease added in v0.5.0

type GithubRelease struct {
	// ChecksumAsset The SHA256SUMS asset's name
	ChecksumAsset *string `json:"checksum_asset,omitempty"`

	// HasChecksum A release without a SHA256SUMS asset cannot be imported.
	HasChecksum bool `json:"has_checksum"`

	// HeldBy Where a plugin's versions come from. Metadata only; never part of its address.
	HeldBy     *PluginSource `json:"held_by,omitempty"`
	Name       string        `json:"name"`
	Platforms  []string      `json:"platforms"`
	Prerelease bool          `json:"prerelease"`

	// PublishedAt When GitHub published the release; absent for a draft.
	PublishedAt *time.Time `json:"published_at,omitempty"`

	// Repository owner/packer-plugin-<name>
	Repository string `json:"repository"`
	Tag        string `json:"tag"`
	Version    string `json:"version"`
}

GithubRelease defines model for GithubRelease.

type HashicorpPlugin added in v0.5.0

type HashicorpPlugin struct {
	// HeldBy Where a plugin's versions come from. Metadata only; never part of its address.
	HeldBy           *PluginSource `json:"held_by,omitempty"`
	MirroredVersions int           `json:"mirrored_versions"`

	// Name e.g. amazon
	Name string `json:"name"`

	// Product e.g. packer-plugin-amazon
	Product string `json:"product"`
}

HashicorpPlugin defines model for HashicorpPlugin.

type HashicorpPluginVersion added in v0.5.0

type HashicorpPluginVersion struct {
	Changelog  *string   `json:"changelog,omitempty"`
	CreatedAt  time.Time `json:"created_at"`
	Mirrored   bool      `json:"mirrored"`
	Platforms  []string  `json:"platforms"`
	Prerelease bool      `json:"prerelease"`

	// State The release's lifecycle state, for example supported.
	State   *string `json:"state,omitempty"`
	Version string  `json:"version"`
}

HashicorpPluginVersion defines model for HashicorpPluginVersion.

type Health

type Health struct {
	// Audit Aggregate audit state: `disabled` means no targets are configured;
	// `ok` means every configured target is healthy; `partial` means a
	// mixture of healthy and failing targets; `degraded` means targets
	// are configured but none is healthy. A partial state remains ready,
	// while degraded returns 503 because requests cannot be recorded.
	// Which target failed, its path, and why are not said here — this
	// endpoint is unauthenticated, and a path or an errno names
	// infrastructure (review finding 16). The authenticated target list
	// carries the detail.
	Audit HealthAudit `json:"audit"`

	// Database The database answered. No detail beyond that — it is unauthenticated.
	Database bool `json:"database"`

	// Encryption Whether the external key service can still unwrap this instance's
	// keyring (ADR-0024). `unconfigured` is an instance without
	// encryption at rest — not a fault. `ok` and `degraded` report what
	// the last heartbeat observed: a real unwrap of one stored keyring
	// row roughly every five minutes, the same operation a process start
	// performs. The write path never touches the key service, so a
	// serving instance stays up while degraded and this state NEVER
	// fails the probe — evicting running replicas would remove exactly
	// the pods that are safe, and a restart cannot fix what degraded
	// reports; it is the failure it predicts. What degraded threatens is
	// the next process start, which would refuse to serve ("sealed").
	// After a KEK rotation it is also the signal that the keyring still
	// needs rewrapping before old KEK versions are retired. Which call
	// failed and why stays server-side, as with `audit` (review finding
	// 16).
	Encryption HealthEncryption `json:"encryption"`

	// Initialized A root principal exists
	Initialized bool `json:"initialized"`

	// ObjectStorage Where SBOM payloads are kept. `unconfigured` is a working registry
	// for anyone not producing SBOMs — only their upload refuses, so it
	// is not a fault and does not fail this probe. `ok` and `unreachable`
	// report WHAT THE LAST OPERATION OBSERVED, not a check made while
	// answering: this endpoint is polled far harder than the store is
	// used, and opening a connection per probe would make an
	// unauthenticated route a lever on infrastructure. The startup check
	// supplies the first observation, so the answer is never unset — but
	// when nothing has touched the store for a while, it is the age of
	// that traffic, not of this request. Do not alert on it as a live
	// check. As with `audit`, no endpoint, bucket or errno is named here.
	ObjectStorage HealthObjectStorage `json:"object_storage"`

	// Scanner Whether external vulnerability scanning is working. `disabled` is
	// an instance with no scanner adapter configured — not a fault, and
	// the ordinary posture. `ok` and `degraded` report what the last
	// provider interaction observed, on the same remembered-state basis
	// as `object_storage`: this route is polled far harder than the
	// scanner runs, and probing an external service per request would
	// make an unauthenticated route a lever on someone else's
	// infrastructure. `audit_paused` means the audit circuit is open, so
	// scanning has deliberately stopped rather than proceed unrecorded
	// (ADR-0020).
	//
	// NONE of these states ever changes the HTTP status. A registry
	// serves builds, versions and channels perfectly well while its
	// scanner is degraded, and failing the probe would evict replicas
	// that are doing their actual job. The adapter, its endpoint and the
	// reason for a degraded state are NOT named here — this endpoint is
	// unauthenticated, and an endpoint names infrastructure (review
	// finding 16). The root-only detailed health route carries that.
	Scanner HealthScanner `json:"scanner"`
}

Health defines model for Health.

type Health200JSONResponse

type Health200JSONResponse Health

func (Health200JSONResponse) VisitHealthResponse

func (response Health200JSONResponse) VisitHealthResponse(w http.ResponseWriter) error

type Health501JSONResponse

type Health501JSONResponse Health

func (Health501JSONResponse) VisitHealthResponse

func (response Health501JSONResponse) VisitHealthResponse(w http.ResponseWriter) error

type Health503JSONResponse

type Health503JSONResponse Health

func (Health503JSONResponse) VisitHealthResponse

func (response Health503JSONResponse) VisitHealthResponse(w http.ResponseWriter) error

type HealthAudit

type HealthAudit string

HealthAudit Aggregate audit state: `disabled` means no targets are configured; `ok` means every configured target is healthy; `partial` means a mixture of healthy and failing targets; `degraded` means targets are configured but none is healthy. A partial state remains ready, while degraded returns 503 because requests cannot be recorded. Which target failed, its path, and why are not said here — this endpoint is unauthenticated, and a path or an errno names infrastructure (review finding 16). The authenticated target list carries the detail.

const (
	HealthAuditDegraded HealthAudit = "degraded"
	HealthAuditDisabled HealthAudit = "disabled"
	HealthAuditOk       HealthAudit = "ok"
	HealthAuditPartial  HealthAudit = "partial"
)

Defines values for HealthAudit.

func (HealthAudit) Valid

func (e HealthAudit) Valid() bool

Valid indicates whether the value is a known member of the HealthAudit enum.

type HealthEncryption

type HealthEncryption string

HealthEncryption Whether the external key service can still unwrap this instance's keyring (ADR-0024). `unconfigured` is an instance without encryption at rest — not a fault. `ok` and `degraded` report what the last heartbeat observed: a real unwrap of one stored keyring row roughly every five minutes, the same operation a process start performs. The write path never touches the key service, so a serving instance stays up while degraded and this state NEVER fails the probe — evicting running replicas would remove exactly the pods that are safe, and a restart cannot fix what degraded reports; it is the failure it predicts. What degraded threatens is the next process start, which would refuse to serve ("sealed"). After a KEK rotation it is also the signal that the keyring still needs rewrapping before old KEK versions are retired. Which call failed and why stays server-side, as with `audit` (review finding 16).

const (
	HealthEncryptionDegraded     HealthEncryption = "degraded"
	HealthEncryptionOk           HealthEncryption = "ok"
	HealthEncryptionUnconfigured HealthEncryption = "unconfigured"
)

Defines values for HealthEncryption.

func (HealthEncryption) Valid

func (e HealthEncryption) Valid() bool

Valid indicates whether the value is a known member of the HealthEncryption enum.

type HealthObjectStorage

type HealthObjectStorage string

HealthObjectStorage Where SBOM payloads are kept. `unconfigured` is a working registry for anyone not producing SBOMs — only their upload refuses, so it is not a fault and does not fail this probe. `ok` and `unreachable` report WHAT THE LAST OPERATION OBSERVED, not a check made while answering: this endpoint is polled far harder than the store is used, and opening a connection per probe would make an unauthenticated route a lever on infrastructure. The startup check supplies the first observation, so the answer is never unset — but when nothing has touched the store for a while, it is the age of that traffic, not of this request. Do not alert on it as a live check. As with `audit`, no endpoint, bucket or errno is named here.

const (
	HealthObjectStorageOk           HealthObjectStorage = "ok"
	HealthObjectStorageUnconfigured HealthObjectStorage = "unconfigured"
	HealthObjectStorageUnreachable  HealthObjectStorage = "unreachable"
)

Defines values for HealthObjectStorage.

func (HealthObjectStorage) Valid

func (e HealthObjectStorage) Valid() bool

Valid indicates whether the value is a known member of the HealthObjectStorage enum.

type HealthRequestObject

type HealthRequestObject struct {
}

type HealthResponse

type HealthResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Health
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *Health
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Health
}

func ParseHealthResponse

func ParseHealthResponse(rsp *http.Response) (*HealthResponse, error)

ParseHealthResponse parses an HTTP response from a HealthWithResponse call

func (HealthResponse) ContentType

func (r HealthResponse) ContentType() string

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

func (HealthResponse) GetBody

func (r HealthResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (HealthResponse) GetJSON200

func (r HealthResponse) GetJSON200() *Health

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (HealthResponse) GetJSON501

func (r HealthResponse) GetJSON501() *Health

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

func (HealthResponse) GetJSON503

func (r HealthResponse) GetJSON503() *Health

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (HealthResponse) Status

func (r HealthResponse) Status() string

Status returns HTTPResponse.Status

func (HealthResponse) StatusCode

func (r HealthResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HealthResponseObject

type HealthResponseObject interface {
	VisitHealthResponse(w http.ResponseWriter) error
}

type HealthScanner

type HealthScanner string

HealthScanner Whether external vulnerability scanning is working. `disabled` is an instance with no scanner adapter configured — not a fault, and the ordinary posture. `ok` and `degraded` report what the last provider interaction observed, on the same remembered-state basis as `object_storage`: this route is polled far harder than the scanner runs, and probing an external service per request would make an unauthenticated route a lever on someone else's infrastructure. `audit_paused` means the audit circuit is open, so scanning has deliberately stopped rather than proceed unrecorded (ADR-0020).

NONE of these states ever changes the HTTP status. A registry serves builds, versions and channels perfectly well while its scanner is degraded, and failing the probe would evict replicas that are doing their actual job. The adapter, its endpoint and the reason for a degraded state are NOT named here — this endpoint is unauthenticated, and an endpoint names infrastructure (review finding 16). The root-only detailed health route carries that.

const (
	HealthScannerAuditPaused HealthScanner = "audit_paused"
	HealthScannerDegraded    HealthScanner = "degraded"
	HealthScannerDisabled    HealthScanner = "disabled"
	HealthScannerOk          HealthScanner = "ok"
)

Defines values for HealthScanner.

func (HealthScanner) Valid

func (e HealthScanner) Valid() bool

Valid indicates whether the value is a known member of the HealthScanner enum.

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type ImportPluginBundle202JSONResponse added in v0.5.0

type ImportPluginBundle202JSONResponse PluginBundleImport

func (ImportPluginBundle202JSONResponse) VisitImportPluginBundleResponse added in v0.5.0

func (response ImportPluginBundle202JSONResponse) VisitImportPluginBundleResponse(w http.ResponseWriter) error

type ImportPluginBundle400JSONResponse added in v0.5.0

type ImportPluginBundle400JSONResponse Error

func (ImportPluginBundle400JSONResponse) VisitImportPluginBundleResponse added in v0.5.0

func (response ImportPluginBundle400JSONResponse) VisitImportPluginBundleResponse(w http.ResponseWriter) error

type ImportPluginBundle401JSONResponse added in v0.5.0

type ImportPluginBundle401JSONResponse struct{ UnauthorizedJSONResponse }

func (ImportPluginBundle401JSONResponse) VisitImportPluginBundleResponse added in v0.5.0

func (response ImportPluginBundle401JSONResponse) VisitImportPluginBundleResponse(w http.ResponseWriter) error

type ImportPluginBundle403JSONResponse added in v0.5.0

type ImportPluginBundle403JSONResponse struct{ ForbiddenJSONResponse }

func (ImportPluginBundle403JSONResponse) VisitImportPluginBundleResponse added in v0.5.0

func (response ImportPluginBundle403JSONResponse) VisitImportPluginBundleResponse(w http.ResponseWriter) error

type ImportPluginBundle404JSONResponse added in v0.5.0

type ImportPluginBundle404JSONResponse struct{ NotFoundJSONResponse }

func (ImportPluginBundle404JSONResponse) VisitImportPluginBundleResponse added in v0.5.0

func (response ImportPluginBundle404JSONResponse) VisitImportPluginBundleResponse(w http.ResponseWriter) error

type ImportPluginBundle409JSONResponse added in v0.5.0

type ImportPluginBundle409JSONResponse Error

func (ImportPluginBundle409JSONResponse) VisitImportPluginBundleResponse added in v0.5.0

func (response ImportPluginBundle409JSONResponse) VisitImportPluginBundleResponse(w http.ResponseWriter) error

type ImportPluginBundle413JSONResponse added in v0.5.0

type ImportPluginBundle413JSONResponse Error

func (ImportPluginBundle413JSONResponse) VisitImportPluginBundleResponse added in v0.5.0

func (response ImportPluginBundle413JSONResponse) VisitImportPluginBundleResponse(w http.ResponseWriter) error

type ImportPluginBundleMultipartBody added in v0.5.0

type ImportPluginBundleMultipartBody struct {
	Bundle openapi_types.File `json:"bundle"`

	// Sha256 The expected SHA-256 of the archive, as the exporting card shows it. When given, a bundle whose bytes differ is refused and nothing is stored.
	Sha256 *string `json:"sha256,omitempty"`
}

ImportPluginBundleMultipartBody defines parameters for ImportPluginBundle.

type ImportPluginBundleMultipartRequestBody added in v0.5.0

type ImportPluginBundleMultipartRequestBody ImportPluginBundleMultipartBody

ImportPluginBundleMultipartRequestBody defines body for ImportPluginBundle for multipart/form-data ContentType.

type ImportPluginBundleRequestObject added in v0.5.0

type ImportPluginBundleRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	Body           *multipart.Reader
}

type ImportPluginBundleResponse added in v0.5.0

type ImportPluginBundleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *PluginBundleImport
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON413 the response for an HTTP 413 `application/json` response
	JSON413 *Error
}

func ParseImportPluginBundleResponse added in v0.5.0

func ParseImportPluginBundleResponse(rsp *http.Response) (*ImportPluginBundleResponse, error)

ParseImportPluginBundleResponse parses an HTTP response from a ImportPluginBundleWithResponse call

func (ImportPluginBundleResponse) ContentType added in v0.5.0

func (r ImportPluginBundleResponse) ContentType() string

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

func (ImportPluginBundleResponse) GetBody added in v0.5.0

func (r ImportPluginBundleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ImportPluginBundleResponse) GetJSON202 added in v0.5.0

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

func (ImportPluginBundleResponse) GetJSON400 added in v0.5.0

func (r ImportPluginBundleResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ImportPluginBundleResponse) GetJSON401 added in v0.5.0

func (r ImportPluginBundleResponse) GetJSON401() *Unauthorized

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

func (ImportPluginBundleResponse) GetJSON403 added in v0.5.0

func (r ImportPluginBundleResponse) GetJSON403() *Forbidden

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

func (ImportPluginBundleResponse) GetJSON404 added in v0.5.0

func (r ImportPluginBundleResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ImportPluginBundleResponse) GetJSON409 added in v0.5.0

func (r ImportPluginBundleResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (ImportPluginBundleResponse) GetJSON413 added in v0.5.0

func (r ImportPluginBundleResponse) GetJSON413() *Error

GetJSON413 returns the response for an HTTP 413 `application/json` response

func (ImportPluginBundleResponse) Status added in v0.5.0

Status returns HTTPResponse.Status

func (ImportPluginBundleResponse) StatusCode added in v0.5.0

func (r ImportPluginBundleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ImportPluginBundleResponseObject added in v0.5.0

type ImportPluginBundleResponseObject interface {
	VisitImportPluginBundleResponse(w http.ResponseWriter) error
}

type InitRequest

type InitRequest struct {
	// RecoveryShareCount How many shares to mint.
	RecoveryShareCount *int `json:"recovery_share_count,omitempty"`

	// RecoveryThreshold How many shares /sys/recovery requires. At most recovery_share_count.
	RecoveryThreshold *int `json:"recovery_threshold,omitempty"`
}

InitRequest Recovery share parameters, fixed at initialization (ADR-0024). The default is 1-of-1: one share, and the ceremony degenerates to a single recovery key exactly as Vault's does at threshold one.

type InitResponse

type InitResponse struct {
	// ClientId Never previously used against any registry.
	ClientId string `json:"client_id"`

	// ClientSecret Shown once. Not retrievable.
	ClientSecret string `json:"client_secret"`

	// RecoveryShares Sharded proof of custody for /sys/recovery. Shown once, like the
	// credentials; the server stores only a digest of the recombined
	// secret. Store each share offline, separately from the credentials.
	RecoveryShares []string `json:"recovery_shares"`

	// RecoveryThreshold How many shares /sys/recovery requires in one request.
	RecoveryThreshold int `json:"recovery_threshold"`
}

InitResponse defines model for InitResponse.

type Initialize200JSONResponse

type Initialize200JSONResponse InitResponse

func (Initialize200JSONResponse) VisitInitializeResponse

func (response Initialize200JSONResponse) VisitInitializeResponse(w http.ResponseWriter) error

type Initialize400JSONResponse

type Initialize400JSONResponse Error

func (Initialize400JSONResponse) VisitInitializeResponse

func (response Initialize400JSONResponse) VisitInitializeResponse(w http.ResponseWriter) error

type Initialize409JSONResponse

type Initialize409JSONResponse Error

func (Initialize409JSONResponse) VisitInitializeResponse

func (response Initialize409JSONResponse) VisitInitializeResponse(w http.ResponseWriter) error

type InitializeJSONRequestBody

type InitializeJSONRequestBody = InitRequest

InitializeJSONRequestBody defines body for Initialize for application/json ContentType.

type InitializeRequestObject

type InitializeRequestObject struct {
	Body *InitializeJSONRequestBody
}

type InitializeResponse

type InitializeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *InitResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
}

func ParseInitializeResponse

func ParseInitializeResponse(rsp *http.Response) (*InitializeResponse, error)

ParseInitializeResponse parses an HTTP response from a InitializeWithResponse call

func (InitializeResponse) ContentType

func (r InitializeResponse) ContentType() string

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

func (InitializeResponse) GetBody

func (r InitializeResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (InitializeResponse) GetJSON200

func (r InitializeResponse) GetJSON200() *InitResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (InitializeResponse) GetJSON400

func (r InitializeResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (InitializeResponse) GetJSON409

func (r InitializeResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (InitializeResponse) Status

func (r InitializeResponse) Status() string

Status returns HTTPResponse.Status

func (InitializeResponse) StatusCode

func (r InitializeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type InitializeResponseObject

type InitializeResponseObject interface {
	VisitInitializeResponse(w http.ResponseWriter) error
}

type Instance

type Instance struct {
	ApiVersions []string `json:"api_versions"`

	// Audit Enabled when at least one audit target is configured.
	Audit  InstanceAudit `json:"audit"`
	Commit string        `json:"commit"`

	// Encryption The remembered encryption heartbeat state used by `/sys/health`.
	Encryption InstanceEncryption `json:"encryption"`

	// InitializedAt Absent when the initialization time was never recorded.
	InitializedAt *time.Time `json:"initialized_at,omitempty"`

	// ObjectStorage The remembered object-storage state used by `/sys/health`.
	ObjectStorage InstanceObjectStorage `json:"object_storage"`

	// Scanner Coarse scanner configuration for every authenticated principal. The
	// provider endpoint remains absent because infrastructure detail belongs
	// only on the root-only scanner health route.
	Scanner InstanceScanner `json:"scanner"`

	// Store The database answered the same status read used by `/sys/health`.
	Store   bool   `json:"store"`
	Version string `json:"version"`
}

Instance defines model for Instance.

type InstanceAudit

type InstanceAudit string

InstanceAudit Enabled when at least one audit target is configured.

const (
	InstanceAuditDisabled InstanceAudit = "disabled"
	InstanceAuditEnabled  InstanceAudit = "enabled"
)

Defines values for InstanceAudit.

func (InstanceAudit) Valid

func (e InstanceAudit) Valid() bool

Valid indicates whether the value is a known member of the InstanceAudit enum.

type InstanceEncryption

type InstanceEncryption string

InstanceEncryption The remembered encryption heartbeat state used by `/sys/health`.

const (
	InstanceEncryptionDegraded     InstanceEncryption = "degraded"
	InstanceEncryptionOk           InstanceEncryption = "ok"
	InstanceEncryptionUnconfigured InstanceEncryption = "unconfigured"
)

Defines values for InstanceEncryption.

func (InstanceEncryption) Valid

func (e InstanceEncryption) Valid() bool

Valid indicates whether the value is a known member of the InstanceEncryption enum.

type InstanceObjectStorage

type InstanceObjectStorage string

InstanceObjectStorage The remembered object-storage state used by `/sys/health`.

const (
	InstanceObjectStorageOk           InstanceObjectStorage = "ok"
	InstanceObjectStorageUnconfigured InstanceObjectStorage = "unconfigured"
	InstanceObjectStorageUnreachable  InstanceObjectStorage = "unreachable"
)

Defines values for InstanceObjectStorage.

func (InstanceObjectStorage) Valid

func (e InstanceObjectStorage) Valid() bool

Valid indicates whether the value is a known member of the InstanceObjectStorage enum.

type InstanceRepository

type InstanceRepository interface {
	// InitializeInstance claims the instance and stores the recovery verifier
	// in the same transaction: an instance is never claimed without one.
	InitializeInstance(context.Context, *identity.Principal, []byte, int) error
	// InstanceStatus reports claimed-ness, its recorded time, and database
	// reachability. Errors stay server-side on the unauthenticated health path.
	InstanceStatus(context.Context) (initialized bool, initializedAt *time.Time, database bool, err error)
	// RecoveryVerifier answers identity.ErrNotFound both for an unclaimed
	// instance and one initialized before recovery existed.
	RecoveryVerifier(context.Context) (digest []byte, threshold int, err error)
}

InstanceRepository claims an uninitialized instance.

type InstanceScanner

type InstanceScanner struct {
	// Adapter The configured adapter name. Absent when scanning is not configured.
	Adapter *string `json:"adapter,omitempty"`

	// Configured Whether this deployment has a scanner adapter configured.
	Configured bool `json:"configured"`
}

InstanceScanner Coarse scanner configuration for every authenticated principal. The provider endpoint remains absent because infrastructure detail belongs only on the root-only scanner health route.

type InvalidParamFormatError

type InvalidParamFormatError struct {
	ParamName string
	Err       error
}

func (*InvalidParamFormatError) Error

func (e *InvalidParamFormatError) Error() string

func (*InvalidParamFormatError) Unwrap

func (e *InvalidParamFormatError) Unwrap() error

type KeyringEntry

type KeyringEntry struct {
	// KekRef The key service's KEK version this entry is currently wrapped
	// under (for Vault transit, the `v2` of `vault:v2:...`). After a KEK
	// rotation, entries still naming the old version are what `rewrap`
	// exists to move.
	KekRef  string              `json:"kek_ref"`
	Purpose KeyringEntryPurpose `json:"purpose"`

	// Version The data-key version. New writes use the newest version per purpose; older versions remain readable forever.
	Version int `json:"version"`

	// WrappedAt When this entry's current wrapping was produced — its creation, or the last rewrap that replaced the stored blob.
	WrappedAt time.Time `json:"wrapped_at"`
}

KeyringEntry defines model for KeyringEntry.

type KeyringEntryPurpose

type KeyringEntryPurpose string

KeyringEntryPurpose defines model for KeyringEntry.Purpose.

const (
	AuditHmac    KeyringEntryPurpose = "audit_hmac"
	Integrity    KeyringEntryPurpose = "integrity"
	Payload      KeyringEntryPurpose = "payload"
	TokenSigning KeyringEntryPurpose = "token_signing"
)

Defines values for KeyringEntryPurpose.

func (KeyringEntryPurpose) Valid

func (e KeyringEntryPurpose) Valid() bool

Valid indicates whether the value is a known member of the KeyringEntryPurpose enum.

type ListAuditTargets200JSONResponse

type ListAuditTargets200JSONResponse struct {
	Targets []AuditTarget `json:"targets"`
}

func (ListAuditTargets200JSONResponse) VisitListAuditTargetsResponse

func (response ListAuditTargets200JSONResponse) VisitListAuditTargetsResponse(w http.ResponseWriter) error

type ListAuditTargets401JSONResponse

type ListAuditTargets401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListAuditTargets401JSONResponse) VisitListAuditTargetsResponse

func (response ListAuditTargets401JSONResponse) VisitListAuditTargetsResponse(w http.ResponseWriter) error

type ListAuditTargets403JSONResponse

type ListAuditTargets403JSONResponse struct{ ForbiddenJSONResponse }

func (ListAuditTargets403JSONResponse) VisitListAuditTargetsResponse

func (response ListAuditTargets403JSONResponse) VisitListAuditTargetsResponse(w http.ResponseWriter) error

type ListAuditTargetsRequestObject

type ListAuditTargetsRequestObject struct {
}

type ListAuditTargetsResponse

type ListAuditTargetsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		Targets []AuditTarget `json:"targets"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
}

func ParseListAuditTargetsResponse

func ParseListAuditTargetsResponse(rsp *http.Response) (*ListAuditTargetsResponse, error)

ParseListAuditTargetsResponse parses an HTTP response from a ListAuditTargetsWithResponse call

func (ListAuditTargetsResponse) ContentType

func (r ListAuditTargetsResponse) ContentType() string

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

func (ListAuditTargetsResponse) GetBody

func (r ListAuditTargetsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListAuditTargetsResponse) GetJSON200

func (r ListAuditTargetsResponse) GetJSON200() *struct {
	Targets []AuditTarget `json:"targets"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListAuditTargetsResponse) GetJSON401

func (r ListAuditTargetsResponse) GetJSON401() *Unauthorized

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

func (ListAuditTargetsResponse) GetJSON403

func (r ListAuditTargetsResponse) GetJSON403() *Forbidden

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

func (ListAuditTargetsResponse) Status

func (r ListAuditTargetsResponse) Status() string

Status returns HTTPResponse.Status

func (ListAuditTargetsResponse) StatusCode

func (r ListAuditTargetsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListAuditTargetsResponseObject

type ListAuditTargetsResponseObject interface {
	VisitListAuditTargetsResponse(w http.ResponseWriter) error
}

type ListBagDropAssociations200JSONResponse

type ListBagDropAssociations200JSONResponse struct {
	Associations []BagDropAssociation `json:"associations"`
}

func (ListBagDropAssociations200JSONResponse) VisitListBagDropAssociationsResponse

func (response ListBagDropAssociations200JSONResponse) VisitListBagDropAssociationsResponse(w http.ResponseWriter) error

type ListBagDropAssociations401JSONResponse

type ListBagDropAssociations401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListBagDropAssociations401JSONResponse) VisitListBagDropAssociationsResponse

func (response ListBagDropAssociations401JSONResponse) VisitListBagDropAssociationsResponse(w http.ResponseWriter) error

type ListBagDropAssociations403JSONResponse

type ListBagDropAssociations403JSONResponse struct{ ForbiddenJSONResponse }

func (ListBagDropAssociations403JSONResponse) VisitListBagDropAssociationsResponse

func (response ListBagDropAssociations403JSONResponse) VisitListBagDropAssociationsResponse(w http.ResponseWriter) error

type ListBagDropAssociations404JSONResponse

type ListBagDropAssociations404JSONResponse struct{ NotFoundJSONResponse }

func (ListBagDropAssociations404JSONResponse) VisitListBagDropAssociationsResponse

func (response ListBagDropAssociations404JSONResponse) VisitListBagDropAssociationsResponse(w http.ResponseWriter) error

type ListBagDropAssociationsRequestObject

type ListBagDropAssociationsRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	ProjectId      ProjectId      `json:"projectId"`
}

type ListBagDropAssociationsResponse

type ListBagDropAssociationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		Associations []BagDropAssociation `json:"associations"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
}

func ParseListBagDropAssociationsResponse

func ParseListBagDropAssociationsResponse(rsp *http.Response) (*ListBagDropAssociationsResponse, error)

ParseListBagDropAssociationsResponse parses an HTTP response from a ListBagDropAssociationsWithResponse call

func (ListBagDropAssociationsResponse) ContentType

func (r ListBagDropAssociationsResponse) ContentType() string

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

func (ListBagDropAssociationsResponse) GetBody

func (r ListBagDropAssociationsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListBagDropAssociationsResponse) GetJSON200

func (r ListBagDropAssociationsResponse) GetJSON200() *struct {
	Associations []BagDropAssociation `json:"associations"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListBagDropAssociationsResponse) GetJSON401

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

func (ListBagDropAssociationsResponse) GetJSON403

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

func (ListBagDropAssociationsResponse) GetJSON404

func (r ListBagDropAssociationsResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ListBagDropAssociationsResponse) Status

Status returns HTTPResponse.Status

func (ListBagDropAssociationsResponse) StatusCode

func (r ListBagDropAssociationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListBagDropAssociationsResponseObject

type ListBagDropAssociationsResponseObject interface {
	VisitListBagDropAssociationsResponse(w http.ResponseWriter) error
}

type ListHashicorpPluginVersions200JSONResponse added in v0.5.0

type ListHashicorpPluginVersions200JSONResponse struct {
	// Next Cursor for the next page; absent on the last.
	Next     *string                  `json:"next,omitempty"`
	Versions []HashicorpPluginVersion `json:"versions"`
}

func (ListHashicorpPluginVersions200JSONResponse) VisitListHashicorpPluginVersionsResponse added in v0.5.0

func (response ListHashicorpPluginVersions200JSONResponse) VisitListHashicorpPluginVersionsResponse(w http.ResponseWriter) error

type ListHashicorpPluginVersions401JSONResponse added in v0.5.0

type ListHashicorpPluginVersions401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListHashicorpPluginVersions401JSONResponse) VisitListHashicorpPluginVersionsResponse added in v0.5.0

func (response ListHashicorpPluginVersions401JSONResponse) VisitListHashicorpPluginVersionsResponse(w http.ResponseWriter) error

type ListHashicorpPluginVersions403JSONResponse added in v0.5.0

type ListHashicorpPluginVersions403JSONResponse struct{ ForbiddenJSONResponse }

func (ListHashicorpPluginVersions403JSONResponse) VisitListHashicorpPluginVersionsResponse added in v0.5.0

func (response ListHashicorpPluginVersions403JSONResponse) VisitListHashicorpPluginVersionsResponse(w http.ResponseWriter) error

type ListHashicorpPluginVersions404JSONResponse added in v0.5.0

type ListHashicorpPluginVersions404JSONResponse struct{ NotFoundJSONResponse }

func (ListHashicorpPluginVersions404JSONResponse) VisitListHashicorpPluginVersionsResponse added in v0.5.0

func (response ListHashicorpPluginVersions404JSONResponse) VisitListHashicorpPluginVersionsResponse(w http.ResponseWriter) error

type ListHashicorpPluginVersions502JSONResponse added in v0.5.0

type ListHashicorpPluginVersions502JSONResponse Error

func (ListHashicorpPluginVersions502JSONResponse) VisitListHashicorpPluginVersionsResponse added in v0.5.0

func (response ListHashicorpPluginVersions502JSONResponse) VisitListHashicorpPluginVersionsResponse(w http.ResponseWriter) error

type ListHashicorpPluginVersionsParams added in v0.5.0

type ListHashicorpPluginVersionsParams struct {
	// After The next cursor of the previous page.
	After *string `form:"after,omitempty" json:"after,omitempty"`
}

ListHashicorpPluginVersionsParams defines parameters for ListHashicorpPluginVersions.

type ListHashicorpPluginVersionsRequestObject added in v0.5.0

type ListHashicorpPluginVersionsRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	Product        string         `json:"product"`
	Params         ListHashicorpPluginVersionsParams
}

type ListHashicorpPluginVersionsResponse added in v0.5.0

type ListHashicorpPluginVersionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Next Cursor for the next page; absent on the last.
		Next     *string                  `json:"next,omitempty"`
		Versions []HashicorpPluginVersion `json:"versions"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
}

func ParseListHashicorpPluginVersionsResponse added in v0.5.0

func ParseListHashicorpPluginVersionsResponse(rsp *http.Response) (*ListHashicorpPluginVersionsResponse, error)

ParseListHashicorpPluginVersionsResponse parses an HTTP response from a ListHashicorpPluginVersionsWithResponse call

func (ListHashicorpPluginVersionsResponse) ContentType added in v0.5.0

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

func (ListHashicorpPluginVersionsResponse) GetBody added in v0.5.0

GetBody returns the raw response body bytes

func (ListHashicorpPluginVersionsResponse) GetJSON200 added in v0.5.0

func (r ListHashicorpPluginVersionsResponse) GetJSON200() *struct {
	// Next Cursor for the next page; absent on the last.
	Next     *string                  `json:"next,omitempty"`
	Versions []HashicorpPluginVersion `json:"versions"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListHashicorpPluginVersionsResponse) GetJSON401 added in v0.5.0

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

func (ListHashicorpPluginVersionsResponse) GetJSON403 added in v0.5.0

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

func (ListHashicorpPluginVersionsResponse) GetJSON404 added in v0.5.0

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ListHashicorpPluginVersionsResponse) GetJSON502 added in v0.5.0

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (ListHashicorpPluginVersionsResponse) Status added in v0.5.0

Status returns HTTPResponse.Status

func (ListHashicorpPluginVersionsResponse) StatusCode added in v0.5.0

StatusCode returns HTTPResponse.StatusCode

type ListHashicorpPluginVersionsResponseObject added in v0.5.0

type ListHashicorpPluginVersionsResponseObject interface {
	VisitListHashicorpPluginVersionsResponse(w http.ResponseWriter) error
}

type ListHashicorpPlugins200JSONResponse added in v0.5.0

type ListHashicorpPlugins200JSONResponse struct {
	Plugins []HashicorpPlugin `json:"plugins"`
}

func (ListHashicorpPlugins200JSONResponse) VisitListHashicorpPluginsResponse added in v0.5.0

func (response ListHashicorpPlugins200JSONResponse) VisitListHashicorpPluginsResponse(w http.ResponseWriter) error

type ListHashicorpPlugins401JSONResponse added in v0.5.0

type ListHashicorpPlugins401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListHashicorpPlugins401JSONResponse) VisitListHashicorpPluginsResponse added in v0.5.0

func (response ListHashicorpPlugins401JSONResponse) VisitListHashicorpPluginsResponse(w http.ResponseWriter) error

type ListHashicorpPlugins403JSONResponse added in v0.5.0

type ListHashicorpPlugins403JSONResponse struct{ ForbiddenJSONResponse }

func (ListHashicorpPlugins403JSONResponse) VisitListHashicorpPluginsResponse added in v0.5.0

func (response ListHashicorpPlugins403JSONResponse) VisitListHashicorpPluginsResponse(w http.ResponseWriter) error

type ListHashicorpPlugins404JSONResponse added in v0.5.0

type ListHashicorpPlugins404JSONResponse struct{ NotFoundJSONResponse }

func (ListHashicorpPlugins404JSONResponse) VisitListHashicorpPluginsResponse added in v0.5.0

func (response ListHashicorpPlugins404JSONResponse) VisitListHashicorpPluginsResponse(w http.ResponseWriter) error

type ListHashicorpPlugins502JSONResponse added in v0.5.0

type ListHashicorpPlugins502JSONResponse Error

func (ListHashicorpPlugins502JSONResponse) VisitListHashicorpPluginsResponse added in v0.5.0

func (response ListHashicorpPlugins502JSONResponse) VisitListHashicorpPluginsResponse(w http.ResponseWriter) error

type ListHashicorpPluginsRequestObject added in v0.5.0

type ListHashicorpPluginsRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
}

type ListHashicorpPluginsResponse added in v0.5.0

type ListHashicorpPluginsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		Plugins []HashicorpPlugin `json:"plugins"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
}

func ParseListHashicorpPluginsResponse added in v0.5.0

func ParseListHashicorpPluginsResponse(rsp *http.Response) (*ListHashicorpPluginsResponse, error)

ParseListHashicorpPluginsResponse parses an HTTP response from a ListHashicorpPluginsWithResponse call

func (ListHashicorpPluginsResponse) ContentType added in v0.5.0

func (r ListHashicorpPluginsResponse) ContentType() string

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

func (ListHashicorpPluginsResponse) GetBody added in v0.5.0

func (r ListHashicorpPluginsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListHashicorpPluginsResponse) GetJSON200 added in v0.5.0

func (r ListHashicorpPluginsResponse) GetJSON200() *struct {
	Plugins []HashicorpPlugin `json:"plugins"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListHashicorpPluginsResponse) GetJSON401 added in v0.5.0

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

func (ListHashicorpPluginsResponse) GetJSON403 added in v0.5.0

func (r ListHashicorpPluginsResponse) GetJSON403() *Forbidden

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

func (ListHashicorpPluginsResponse) GetJSON404 added in v0.5.0

func (r ListHashicorpPluginsResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ListHashicorpPluginsResponse) GetJSON502 added in v0.5.0

func (r ListHashicorpPluginsResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (ListHashicorpPluginsResponse) Status added in v0.5.0

Status returns HTTPResponse.Status

func (ListHashicorpPluginsResponse) StatusCode added in v0.5.0

func (r ListHashicorpPluginsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListHashicorpPluginsResponseObject added in v0.5.0

type ListHashicorpPluginsResponseObject interface {
	VisitListHashicorpPluginsResponse(w http.ResponseWriter) error
}

type ListOrganizationWebhookDeliveries200JSONResponse added in v0.5.0

type ListOrganizationWebhookDeliveries200JSONResponse struct {
	Deliveries []WebhookDelivery `json:"deliveries"`
}

func (ListOrganizationWebhookDeliveries200JSONResponse) VisitListOrganizationWebhookDeliveriesResponse added in v0.5.0

func (response ListOrganizationWebhookDeliveries200JSONResponse) VisitListOrganizationWebhookDeliveriesResponse(w http.ResponseWriter) error

type ListOrganizationWebhookDeliveries401JSONResponse added in v0.5.0

type ListOrganizationWebhookDeliveries401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListOrganizationWebhookDeliveries401JSONResponse) VisitListOrganizationWebhookDeliveriesResponse added in v0.5.0

func (response ListOrganizationWebhookDeliveries401JSONResponse) VisitListOrganizationWebhookDeliveriesResponse(w http.ResponseWriter) error

type ListOrganizationWebhookDeliveries403JSONResponse added in v0.5.0

type ListOrganizationWebhookDeliveries403JSONResponse struct{ ForbiddenJSONResponse }

func (ListOrganizationWebhookDeliveries403JSONResponse) VisitListOrganizationWebhookDeliveriesResponse added in v0.5.0

func (response ListOrganizationWebhookDeliveries403JSONResponse) VisitListOrganizationWebhookDeliveriesResponse(w http.ResponseWriter) error

type ListOrganizationWebhookDeliveries404JSONResponse added in v0.5.0

type ListOrganizationWebhookDeliveries404JSONResponse struct{ NotFoundJSONResponse }

func (ListOrganizationWebhookDeliveries404JSONResponse) VisitListOrganizationWebhookDeliveriesResponse added in v0.5.0

func (response ListOrganizationWebhookDeliveries404JSONResponse) VisitListOrganizationWebhookDeliveriesResponse(w http.ResponseWriter) error

type ListOrganizationWebhookDeliveriesRequestObject added in v0.5.0

type ListOrganizationWebhookDeliveriesRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	WebhookId      WebhookId      `json:"webhookId"`
}

type ListOrganizationWebhookDeliveriesResponse added in v0.5.0

type ListOrganizationWebhookDeliveriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		Deliveries []WebhookDelivery `json:"deliveries"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
}

func ParseListOrganizationWebhookDeliveriesResponse added in v0.5.0

func ParseListOrganizationWebhookDeliveriesResponse(rsp *http.Response) (*ListOrganizationWebhookDeliveriesResponse, error)

ParseListOrganizationWebhookDeliveriesResponse parses an HTTP response from a ListOrganizationWebhookDeliveriesWithResponse call

func (ListOrganizationWebhookDeliveriesResponse) ContentType added in v0.5.0

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

func (ListOrganizationWebhookDeliveriesResponse) GetBody added in v0.5.0

GetBody returns the raw response body bytes

func (ListOrganizationWebhookDeliveriesResponse) GetJSON200 added in v0.5.0

func (r ListOrganizationWebhookDeliveriesResponse) GetJSON200() *struct {
	Deliveries []WebhookDelivery `json:"deliveries"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListOrganizationWebhookDeliveriesResponse) GetJSON401 added in v0.5.0

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

func (ListOrganizationWebhookDeliveriesResponse) GetJSON403 added in v0.5.0

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

func (ListOrganizationWebhookDeliveriesResponse) GetJSON404 added in v0.5.0

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ListOrganizationWebhookDeliveriesResponse) Status added in v0.5.0

Status returns HTTPResponse.Status

func (ListOrganizationWebhookDeliveriesResponse) StatusCode added in v0.5.0

StatusCode returns HTTPResponse.StatusCode

type ListOrganizationWebhookDeliveriesResponseObject added in v0.5.0

type ListOrganizationWebhookDeliveriesResponseObject interface {
	VisitListOrganizationWebhookDeliveriesResponse(w http.ResponseWriter) error
}

type ListOrganizationWebhooks200JSONResponse added in v0.5.0

type ListOrganizationWebhooks200JSONResponse struct {
	Webhooks []Webhook `json:"webhooks"`
}

func (ListOrganizationWebhooks200JSONResponse) VisitListOrganizationWebhooksResponse added in v0.5.0

func (response ListOrganizationWebhooks200JSONResponse) VisitListOrganizationWebhooksResponse(w http.ResponseWriter) error

type ListOrganizationWebhooks401JSONResponse added in v0.5.0

type ListOrganizationWebhooks401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListOrganizationWebhooks401JSONResponse) VisitListOrganizationWebhooksResponse added in v0.5.0

func (response ListOrganizationWebhooks401JSONResponse) VisitListOrganizationWebhooksResponse(w http.ResponseWriter) error

type ListOrganizationWebhooks403JSONResponse added in v0.5.0

type ListOrganizationWebhooks403JSONResponse struct{ ForbiddenJSONResponse }

func (ListOrganizationWebhooks403JSONResponse) VisitListOrganizationWebhooksResponse added in v0.5.0

func (response ListOrganizationWebhooks403JSONResponse) VisitListOrganizationWebhooksResponse(w http.ResponseWriter) error

type ListOrganizationWebhooks404JSONResponse added in v0.5.0

type ListOrganizationWebhooks404JSONResponse struct{ NotFoundJSONResponse }

func (ListOrganizationWebhooks404JSONResponse) VisitListOrganizationWebhooksResponse added in v0.5.0

func (response ListOrganizationWebhooks404JSONResponse) VisitListOrganizationWebhooksResponse(w http.ResponseWriter) error

type ListOrganizationWebhooksRequestObject added in v0.5.0

type ListOrganizationWebhooksRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
}

type ListOrganizationWebhooksResponse added in v0.5.0

type ListOrganizationWebhooksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		Webhooks []Webhook `json:"webhooks"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
}

func ParseListOrganizationWebhooksResponse added in v0.5.0

func ParseListOrganizationWebhooksResponse(rsp *http.Response) (*ListOrganizationWebhooksResponse, error)

ParseListOrganizationWebhooksResponse parses an HTTP response from a ListOrganizationWebhooksWithResponse call

func (ListOrganizationWebhooksResponse) ContentType added in v0.5.0

func (r ListOrganizationWebhooksResponse) ContentType() string

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

func (ListOrganizationWebhooksResponse) GetBody added in v0.5.0

func (r ListOrganizationWebhooksResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListOrganizationWebhooksResponse) GetJSON200 added in v0.5.0

func (r ListOrganizationWebhooksResponse) GetJSON200() *struct {
	Webhooks []Webhook `json:"webhooks"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListOrganizationWebhooksResponse) GetJSON401 added in v0.5.0

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

func (ListOrganizationWebhooksResponse) GetJSON403 added in v0.5.0

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

func (ListOrganizationWebhooksResponse) GetJSON404 added in v0.5.0

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ListOrganizationWebhooksResponse) Status added in v0.5.0

Status returns HTTPResponse.Status

func (ListOrganizationWebhooksResponse) StatusCode added in v0.5.0

func (r ListOrganizationWebhooksResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListOrganizationWebhooksResponseObject added in v0.5.0

type ListOrganizationWebhooksResponseObject interface {
	VisitListOrganizationWebhooksResponse(w http.ResponseWriter) error
}

type ListOrganizations200JSONResponse

type ListOrganizations200JSONResponse struct {
	Organizations []Organization `json:"organizations"`
}

func (ListOrganizations200JSONResponse) VisitListOrganizationsResponse

func (response ListOrganizations200JSONResponse) VisitListOrganizationsResponse(w http.ResponseWriter) error

type ListOrganizations401JSONResponse

type ListOrganizations401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListOrganizations401JSONResponse) VisitListOrganizationsResponse

func (response ListOrganizations401JSONResponse) VisitListOrganizationsResponse(w http.ResponseWriter) error

type ListOrganizations403JSONResponse

type ListOrganizations403JSONResponse struct{ ForbiddenJSONResponse }

func (ListOrganizations403JSONResponse) VisitListOrganizationsResponse

func (response ListOrganizations403JSONResponse) VisitListOrganizationsResponse(w http.ResponseWriter) error

type ListOrganizationsRequestObject

type ListOrganizationsRequestObject struct {
}

type ListOrganizationsResponse

type ListOrganizationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		Organizations []Organization `json:"organizations"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
}

func ParseListOrganizationsResponse

func ParseListOrganizationsResponse(rsp *http.Response) (*ListOrganizationsResponse, error)

ParseListOrganizationsResponse parses an HTTP response from a ListOrganizationsWithResponse call

func (ListOrganizationsResponse) ContentType

func (r ListOrganizationsResponse) ContentType() string

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

func (ListOrganizationsResponse) GetBody

func (r ListOrganizationsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListOrganizationsResponse) GetJSON200

func (r ListOrganizationsResponse) GetJSON200() *struct {
	Organizations []Organization `json:"organizations"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListOrganizationsResponse) GetJSON401

func (r ListOrganizationsResponse) GetJSON401() *Unauthorized

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

func (ListOrganizationsResponse) GetJSON403

func (r ListOrganizationsResponse) GetJSON403() *Forbidden

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

func (ListOrganizationsResponse) Status

func (r ListOrganizationsResponse) Status() string

Status returns HTTPResponse.Status

func (ListOrganizationsResponse) StatusCode

func (r ListOrganizationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListOrganizationsResponseObject

type ListOrganizationsResponseObject interface {
	VisitListOrganizationsResponse(w http.ResponseWriter) error
}

type ListPins200JSONResponse

type ListPins200JSONResponse struct {
	Pins []Pin `json:"pins"`
}

func (ListPins200JSONResponse) VisitListPinsResponse

func (response ListPins200JSONResponse) VisitListPinsResponse(w http.ResponseWriter) error

type ListPins401JSONResponse

type ListPins401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListPins401JSONResponse) VisitListPinsResponse

func (response ListPins401JSONResponse) VisitListPinsResponse(w http.ResponseWriter) error

type ListPins403JSONResponse

type ListPins403JSONResponse struct{ ForbiddenJSONResponse }

func (ListPins403JSONResponse) VisitListPinsResponse

func (response ListPins403JSONResponse) VisitListPinsResponse(w http.ResponseWriter) error

type ListPins404JSONResponse

type ListPins404JSONResponse struct{ NotFoundJSONResponse }

func (ListPins404JSONResponse) VisitListPinsResponse

func (response ListPins404JSONResponse) VisitListPinsResponse(w http.ResponseWriter) error

type ListPinsRequestObject

type ListPinsRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	ProjectId      ProjectId      `json:"projectId"`
}

type ListPinsResponse

type ListPinsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		Pins []Pin `json:"pins"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
}

func ParseListPinsResponse

func ParseListPinsResponse(rsp *http.Response) (*ListPinsResponse, error)

ParseListPinsResponse parses an HTTP response from a ListPinsWithResponse call

func (ListPinsResponse) ContentType

func (r ListPinsResponse) ContentType() string

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

func (ListPinsResponse) GetBody

func (r ListPinsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListPinsResponse) GetJSON200

func (r ListPinsResponse) GetJSON200() *struct {
	Pins []Pin `json:"pins"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListPinsResponse) GetJSON401

func (r ListPinsResponse) GetJSON401() *Unauthorized

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

func (ListPinsResponse) GetJSON403

func (r ListPinsResponse) GetJSON403() *Forbidden

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

func (ListPinsResponse) GetJSON404

func (r ListPinsResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ListPinsResponse) Status

func (r ListPinsResponse) Status() string

Status returns HTTPResponse.Status

func (ListPinsResponse) StatusCode

func (r ListPinsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPinsResponseObject

type ListPinsResponseObject interface {
	VisitListPinsResponse(w http.ResponseWriter) error
}

type ListPluginImports200JSONResponse added in v0.5.0

type ListPluginImports200JSONResponse struct {
	Imports []PluginImport `json:"imports"`
	Total   int            `json:"total"`
}

func (ListPluginImports200JSONResponse) VisitListPluginImportsResponse added in v0.5.0

func (response ListPluginImports200JSONResponse) VisitListPluginImportsResponse(w http.ResponseWriter) error

type ListPluginImports400JSONResponse added in v0.5.0

type ListPluginImports400JSONResponse struct{ BadRequestJSONResponse }

func (ListPluginImports400JSONResponse) VisitListPluginImportsResponse added in v0.5.0

func (response ListPluginImports400JSONResponse) VisitListPluginImportsResponse(w http.ResponseWriter) error

type ListPluginImports401JSONResponse added in v0.5.0

type ListPluginImports401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListPluginImports401JSONResponse) VisitListPluginImportsResponse added in v0.5.0

func (response ListPluginImports401JSONResponse) VisitListPluginImportsResponse(w http.ResponseWriter) error

type ListPluginImports404JSONResponse added in v0.5.0

type ListPluginImports404JSONResponse struct{ NotFoundJSONResponse }

func (ListPluginImports404JSONResponse) VisitListPluginImportsResponse added in v0.5.0

func (response ListPluginImports404JSONResponse) VisitListPluginImportsResponse(w http.ResponseWriter) error

type ListPluginImportsParams added in v0.5.0

type ListPluginImportsParams struct {
	// State Job states to include, comma-separated; `unfinished` means queued and running.
	State *[]ListPluginImportsParamsState `form:"state,omitempty" json:"state,omitempty"`

	// Plugin Plugin names to include, comma-separated.
	Plugin *[]string `form:"plugin,omitempty" json:"plugin,omitempty"`
	Limit  *int      `form:"limit,omitempty" json:"limit,omitempty"`
	Offset *int      `form:"offset,omitempty" json:"offset,omitempty"`
}

ListPluginImportsParams defines parameters for ListPluginImports.

type ListPluginImportsParamsState added in v0.5.0

type ListPluginImportsParamsState string

ListPluginImportsParamsState defines parameters for ListPluginImports.

const (
	ListPluginImportsParamsStateFailed             ListPluginImportsParamsState = "failed"
	ListPluginImportsParamsStatePartiallySucceeded ListPluginImportsParamsState = "partially_succeeded"
	ListPluginImportsParamsStateQueued             ListPluginImportsParamsState = "queued"
	ListPluginImportsParamsStateRunning            ListPluginImportsParamsState = "running"
	ListPluginImportsParamsStateSucceeded          ListPluginImportsParamsState = "succeeded"
	ListPluginImportsParamsStateUnfinished         ListPluginImportsParamsState = "unfinished"
)

Defines values for ListPluginImportsParamsState.

func (ListPluginImportsParamsState) Valid added in v0.5.0

Valid indicates whether the value is a known member of the ListPluginImportsParamsState enum.

type ListPluginImportsRequestObject added in v0.5.0

type ListPluginImportsRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	Params         ListPluginImportsParams
}

type ListPluginImportsResponse added in v0.5.0

type ListPluginImportsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		Imports []PluginImport `json:"imports"`
		Total   int            `json:"total"`
	}
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequest
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
}

func ParseListPluginImportsResponse added in v0.5.0

func ParseListPluginImportsResponse(rsp *http.Response) (*ListPluginImportsResponse, error)

ParseListPluginImportsResponse parses an HTTP response from a ListPluginImportsWithResponse call

func (ListPluginImportsResponse) ContentType added in v0.5.0

func (r ListPluginImportsResponse) ContentType() string

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

func (ListPluginImportsResponse) GetBody added in v0.5.0

func (r ListPluginImportsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListPluginImportsResponse) GetJSON200 added in v0.5.0

func (r ListPluginImportsResponse) GetJSON200() *struct {
	Imports []PluginImport `json:"imports"`
	Total   int            `json:"total"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListPluginImportsResponse) GetJSON400 added in v0.5.0

func (r ListPluginImportsResponse) GetJSON400() *BadRequest

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ListPluginImportsResponse) GetJSON401 added in v0.5.0

func (r ListPluginImportsResponse) GetJSON401() *Unauthorized

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

func (ListPluginImportsResponse) GetJSON404 added in v0.5.0

func (r ListPluginImportsResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ListPluginImportsResponse) Status added in v0.5.0

func (r ListPluginImportsResponse) Status() string

Status returns HTTPResponse.Status

func (ListPluginImportsResponse) StatusCode added in v0.5.0

func (r ListPluginImportsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPluginImportsResponseObject added in v0.5.0

type ListPluginImportsResponseObject interface {
	VisitListPluginImportsResponse(w http.ResponseWriter) error
}

type ListPluginVersions200JSONResponse added in v0.5.0

type ListPluginVersions200JSONResponse PluginVersions

func (ListPluginVersions200JSONResponse) VisitListPluginVersionsResponse added in v0.5.0

func (response ListPluginVersions200JSONResponse) VisitListPluginVersionsResponse(w http.ResponseWriter) error

type ListPluginVersions401JSONResponse added in v0.5.0

type ListPluginVersions401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListPluginVersions401JSONResponse) VisitListPluginVersionsResponse added in v0.5.0

func (response ListPluginVersions401JSONResponse) VisitListPluginVersionsResponse(w http.ResponseWriter) error

type ListPluginVersions404JSONResponse added in v0.5.0

type ListPluginVersions404JSONResponse struct{ NotFoundJSONResponse }

func (ListPluginVersions404JSONResponse) VisitListPluginVersionsResponse added in v0.5.0

func (response ListPluginVersions404JSONResponse) VisitListPluginVersionsResponse(w http.ResponseWriter) error

type ListPluginVersionsRequestObject added in v0.5.0

type ListPluginVersionsRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	PluginName     PluginName     `json:"pluginName"`
}

type ListPluginVersionsResponse added in v0.5.0

type ListPluginVersionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PluginVersions
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
}

func ParseListPluginVersionsResponse added in v0.5.0

func ParseListPluginVersionsResponse(rsp *http.Response) (*ListPluginVersionsResponse, error)

ParseListPluginVersionsResponse parses an HTTP response from a ListPluginVersionsWithResponse call

func (ListPluginVersionsResponse) ContentType added in v0.5.0

func (r ListPluginVersionsResponse) ContentType() string

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

func (ListPluginVersionsResponse) GetBody added in v0.5.0

func (r ListPluginVersionsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListPluginVersionsResponse) GetJSON200 added in v0.5.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListPluginVersionsResponse) GetJSON401 added in v0.5.0

func (r ListPluginVersionsResponse) GetJSON401() *Unauthorized

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

func (ListPluginVersionsResponse) GetJSON404 added in v0.5.0

func (r ListPluginVersionsResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ListPluginVersionsResponse) Status added in v0.5.0

Status returns HTTPResponse.Status

func (ListPluginVersionsResponse) StatusCode added in v0.5.0

func (r ListPluginVersionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPluginVersionsResponseObject added in v0.5.0

type ListPluginVersionsResponseObject interface {
	VisitListPluginVersionsResponse(w http.ResponseWriter) error
}

type ListPlugins200JSONResponse added in v0.5.0

type ListPlugins200JSONResponse struct {
	Plugins []Plugin `json:"plugins"`
}

func (ListPlugins200JSONResponse) VisitListPluginsResponse added in v0.5.0

func (response ListPlugins200JSONResponse) VisitListPluginsResponse(w http.ResponseWriter) error

type ListPlugins401JSONResponse added in v0.5.0

type ListPlugins401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListPlugins401JSONResponse) VisitListPluginsResponse added in v0.5.0

func (response ListPlugins401JSONResponse) VisitListPluginsResponse(w http.ResponseWriter) error

type ListPlugins404JSONResponse added in v0.5.0

type ListPlugins404JSONResponse struct{ NotFoundJSONResponse }

func (ListPlugins404JSONResponse) VisitListPluginsResponse added in v0.5.0

func (response ListPlugins404JSONResponse) VisitListPluginsResponse(w http.ResponseWriter) error

type ListPluginsRequestObject added in v0.5.0

type ListPluginsRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
}

type ListPluginsResponse added in v0.5.0

type ListPluginsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		Plugins []Plugin `json:"plugins"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
}

func ParseListPluginsResponse added in v0.5.0

func ParseListPluginsResponse(rsp *http.Response) (*ListPluginsResponse, error)

ParseListPluginsResponse parses an HTTP response from a ListPluginsWithResponse call

func (ListPluginsResponse) ContentType added in v0.5.0

func (r ListPluginsResponse) ContentType() string

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

func (ListPluginsResponse) GetBody added in v0.5.0

func (r ListPluginsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListPluginsResponse) GetJSON200 added in v0.5.0

func (r ListPluginsResponse) GetJSON200() *struct {
	Plugins []Plugin `json:"plugins"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListPluginsResponse) GetJSON401 added in v0.5.0

func (r ListPluginsResponse) GetJSON401() *Unauthorized

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

func (ListPluginsResponse) GetJSON404 added in v0.5.0

func (r ListPluginsResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ListPluginsResponse) Status added in v0.5.0

func (r ListPluginsResponse) Status() string

Status returns HTTPResponse.Status

func (ListPluginsResponse) StatusCode added in v0.5.0

func (r ListPluginsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPluginsResponseObject added in v0.5.0

type ListPluginsResponseObject interface {
	VisitListPluginsResponse(w http.ResponseWriter) error
}

type ListPrincipals200JSONResponse

type ListPrincipals200JSONResponse struct {
	Principals []Principal `json:"principals"`
}

func (ListPrincipals200JSONResponse) VisitListPrincipalsResponse

func (response ListPrincipals200JSONResponse) VisitListPrincipalsResponse(w http.ResponseWriter) error

type ListPrincipals401JSONResponse

type ListPrincipals401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListPrincipals401JSONResponse) VisitListPrincipalsResponse

func (response ListPrincipals401JSONResponse) VisitListPrincipalsResponse(w http.ResponseWriter) error

type ListPrincipals403JSONResponse

type ListPrincipals403JSONResponse struct{ ForbiddenJSONResponse }

func (ListPrincipals403JSONResponse) VisitListPrincipalsResponse

func (response ListPrincipals403JSONResponse) VisitListPrincipalsResponse(w http.ResponseWriter) error

type ListPrincipals404JSONResponse

type ListPrincipals404JSONResponse Error

func (ListPrincipals404JSONResponse) VisitListPrincipalsResponse

func (response ListPrincipals404JSONResponse) VisitListPrincipalsResponse(w http.ResponseWriter) error

type ListPrincipalsParams

type ListPrincipalsParams struct {
	// OrganizationId List principals bound to this organization. Alone, that means the
	// ORGANIZATION-scoped principals only — project-scoped principals
	// are listed at their project.
	OrganizationId *openapi_types.UUID `form:"organization_id,omitempty" json:"organization_id,omitempty"`

	// ProjectId With organization_id, list the principals bound to exactly this
	// project. Meaningless without organization_id, and refused as a
	// scope the caller cannot see.
	ProjectId *openapi_types.UUID `form:"project_id,omitempty" json:"project_id,omitempty"`

	// BucketId With both tenancy filters, list the principals bound to exactly
	// this bucket. Meaningless without organization_id and project_id,
	// and refused as a scope the caller cannot see. Without it, a
	// project selection answers the PROJECT-scoped principals only —
	// bucket-scoped principals are listed at their bucket.
	BucketId *string `form:"bucket_id,omitempty" json:"bucket_id,omitempty"`
}

ListPrincipalsParams defines parameters for ListPrincipals.

type ListPrincipalsRequestObject

type ListPrincipalsRequestObject struct {
	Params ListPrincipalsParams
}

type ListPrincipalsResponse

type ListPrincipalsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		Principals []Principal `json:"principals"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
}

func ParseListPrincipalsResponse

func ParseListPrincipalsResponse(rsp *http.Response) (*ListPrincipalsResponse, error)

ParseListPrincipalsResponse parses an HTTP response from a ListPrincipalsWithResponse call

func (ListPrincipalsResponse) ContentType

func (r ListPrincipalsResponse) ContentType() string

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

func (ListPrincipalsResponse) GetBody

func (r ListPrincipalsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListPrincipalsResponse) GetJSON200

func (r ListPrincipalsResponse) GetJSON200() *struct {
	Principals []Principal `json:"principals"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListPrincipalsResponse) GetJSON401

func (r ListPrincipalsResponse) GetJSON401() *Unauthorized

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

func (ListPrincipalsResponse) GetJSON403

func (r ListPrincipalsResponse) GetJSON403() *Forbidden

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

func (ListPrincipalsResponse) GetJSON404

func (r ListPrincipalsResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ListPrincipalsResponse) Status

func (r ListPrincipalsResponse) Status() string

Status returns HTTPResponse.Status

func (ListPrincipalsResponse) StatusCode

func (r ListPrincipalsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPrincipalsResponseObject

type ListPrincipalsResponseObject interface {
	VisitListPrincipalsResponse(w http.ResponseWriter) error
}

type ListProjects200JSONResponse

type ListProjects200JSONResponse struct {
	Projects []Project `json:"projects"`
}

func (ListProjects200JSONResponse) VisitListProjectsResponse

func (response ListProjects200JSONResponse) VisitListProjectsResponse(w http.ResponseWriter) error

type ListProjects401JSONResponse

type ListProjects401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListProjects401JSONResponse) VisitListProjectsResponse

func (response ListProjects401JSONResponse) VisitListProjectsResponse(w http.ResponseWriter) error

type ListProjects403JSONResponse

type ListProjects403JSONResponse struct{ ForbiddenJSONResponse }

func (ListProjects403JSONResponse) VisitListProjectsResponse

func (response ListProjects403JSONResponse) VisitListProjectsResponse(w http.ResponseWriter) error

type ListProjectsRequestObject

type ListProjectsRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
}

type ListProjectsResponse

type ListProjectsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		Projects []Project `json:"projects"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
}

func ParseListProjectsResponse

func ParseListProjectsResponse(rsp *http.Response) (*ListProjectsResponse, error)

ParseListProjectsResponse parses an HTTP response from a ListProjectsWithResponse call

func (ListProjectsResponse) ContentType

func (r ListProjectsResponse) ContentType() string

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

func (ListProjectsResponse) GetBody

func (r ListProjectsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListProjectsResponse) GetJSON200

func (r ListProjectsResponse) GetJSON200() *struct {
	Projects []Project `json:"projects"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListProjectsResponse) GetJSON401

func (r ListProjectsResponse) GetJSON401() *Unauthorized

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

func (ListProjectsResponse) GetJSON403

func (r ListProjectsResponse) GetJSON403() *Forbidden

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

func (ListProjectsResponse) Status

func (r ListProjectsResponse) Status() string

Status returns HTTPResponse.Status

func (ListProjectsResponse) StatusCode

func (r ListProjectsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListProjectsResponseObject

type ListProjectsResponseObject interface {
	VisitListProjectsResponse(w http.ResponseWriter) error
}

type ListWebhookDeliveries200JSONResponse

type ListWebhookDeliveries200JSONResponse struct {
	Deliveries []WebhookDelivery `json:"deliveries"`
}

func (ListWebhookDeliveries200JSONResponse) VisitListWebhookDeliveriesResponse

func (response ListWebhookDeliveries200JSONResponse) VisitListWebhookDeliveriesResponse(w http.ResponseWriter) error

type ListWebhookDeliveries401JSONResponse

type ListWebhookDeliveries401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListWebhookDeliveries401JSONResponse) VisitListWebhookDeliveriesResponse

func (response ListWebhookDeliveries401JSONResponse) VisitListWebhookDeliveriesResponse(w http.ResponseWriter) error

type ListWebhookDeliveries403JSONResponse

type ListWebhookDeliveries403JSONResponse struct{ ForbiddenJSONResponse }

func (ListWebhookDeliveries403JSONResponse) VisitListWebhookDeliveriesResponse

func (response ListWebhookDeliveries403JSONResponse) VisitListWebhookDeliveriesResponse(w http.ResponseWriter) error

type ListWebhookDeliveries404JSONResponse

type ListWebhookDeliveries404JSONResponse struct{ NotFoundJSONResponse }

func (ListWebhookDeliveries404JSONResponse) VisitListWebhookDeliveriesResponse

func (response ListWebhookDeliveries404JSONResponse) VisitListWebhookDeliveriesResponse(w http.ResponseWriter) error

type ListWebhookDeliveriesRequestObject

type ListWebhookDeliveriesRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	ProjectId      ProjectId      `json:"projectId"`
	WebhookId      WebhookId      `json:"webhookId"`
}

type ListWebhookDeliveriesResponse

type ListWebhookDeliveriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		Deliveries []WebhookDelivery `json:"deliveries"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
}

func ParseListWebhookDeliveriesResponse

func ParseListWebhookDeliveriesResponse(rsp *http.Response) (*ListWebhookDeliveriesResponse, error)

ParseListWebhookDeliveriesResponse parses an HTTP response from a ListWebhookDeliveriesWithResponse call

func (ListWebhookDeliveriesResponse) ContentType

func (r ListWebhookDeliveriesResponse) ContentType() string

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

func (ListWebhookDeliveriesResponse) GetBody

func (r ListWebhookDeliveriesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListWebhookDeliveriesResponse) GetJSON200

func (r ListWebhookDeliveriesResponse) GetJSON200() *struct {
	Deliveries []WebhookDelivery `json:"deliveries"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListWebhookDeliveriesResponse) GetJSON401

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

func (ListWebhookDeliveriesResponse) GetJSON403

func (r ListWebhookDeliveriesResponse) GetJSON403() *Forbidden

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

func (ListWebhookDeliveriesResponse) GetJSON404

func (r ListWebhookDeliveriesResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ListWebhookDeliveriesResponse) Status

Status returns HTTPResponse.Status

func (ListWebhookDeliveriesResponse) StatusCode

func (r ListWebhookDeliveriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListWebhookDeliveriesResponseObject

type ListWebhookDeliveriesResponseObject interface {
	VisitListWebhookDeliveriesResponse(w http.ResponseWriter) error
}

type ListWebhooks200JSONResponse

type ListWebhooks200JSONResponse struct {
	Webhooks []Webhook `json:"webhooks"`
}

func (ListWebhooks200JSONResponse) VisitListWebhooksResponse

func (response ListWebhooks200JSONResponse) VisitListWebhooksResponse(w http.ResponseWriter) error

type ListWebhooks401JSONResponse

type ListWebhooks401JSONResponse struct{ UnauthorizedJSONResponse }

func (ListWebhooks401JSONResponse) VisitListWebhooksResponse

func (response ListWebhooks401JSONResponse) VisitListWebhooksResponse(w http.ResponseWriter) error

type ListWebhooks403JSONResponse

type ListWebhooks403JSONResponse struct{ ForbiddenJSONResponse }

func (ListWebhooks403JSONResponse) VisitListWebhooksResponse

func (response ListWebhooks403JSONResponse) VisitListWebhooksResponse(w http.ResponseWriter) error

type ListWebhooks404JSONResponse

type ListWebhooks404JSONResponse struct{ NotFoundJSONResponse }

func (ListWebhooks404JSONResponse) VisitListWebhooksResponse

func (response ListWebhooks404JSONResponse) VisitListWebhooksResponse(w http.ResponseWriter) error

type ListWebhooksRequestObject

type ListWebhooksRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	ProjectId      ProjectId      `json:"projectId"`
}

type ListWebhooksResponse

type ListWebhooksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		Webhooks []Webhook `json:"webhooks"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
}

func ParseListWebhooksResponse

func ParseListWebhooksResponse(rsp *http.Response) (*ListWebhooksResponse, error)

ParseListWebhooksResponse parses an HTTP response from a ListWebhooksWithResponse call

func (ListWebhooksResponse) ContentType

func (r ListWebhooksResponse) ContentType() string

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

func (ListWebhooksResponse) GetBody

func (r ListWebhooksResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListWebhooksResponse) GetJSON200

func (r ListWebhooksResponse) GetJSON200() *struct {
	Webhooks []Webhook `json:"webhooks"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListWebhooksResponse) GetJSON401

func (r ListWebhooksResponse) GetJSON401() *Unauthorized

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

func (ListWebhooksResponse) GetJSON403

func (r ListWebhooksResponse) GetJSON403() *Forbidden

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

func (ListWebhooksResponse) GetJSON404

func (r ListWebhooksResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ListWebhooksResponse) Status

func (r ListWebhooksResponse) Status() string

Status returns HTTPResponse.Status

func (ListWebhooksResponse) StatusCode

func (r ListWebhooksResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListWebhooksResponseObject

type ListWebhooksResponseObject interface {
	VisitListWebhooksResponse(w http.ResponseWriter) error
}

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type NotFound

type NotFound = Error

NotFound Deliberately NOT the compatibility plane's GoogleRPCStatus shape. This plane is ours and has no client regex-matching its error text.

type NotFoundJSONResponse

type NotFoundJSONResponse Error

type Organization

type Organization struct {
	CreatedAt time.Time          `json:"created_at"`
	Id        openapi_types.UUID `json:"id"`
	Name      string             `json:"name"`
}

Organization defines model for Organization.

type OrganizationId

type OrganizationId = openapi_types.UUID

OrganizationId defines model for OrganizationId.

type Pin

type Pin struct {
	BucketName string    `json:"bucket_name"`
	PinnedAt   time.Time `json:"pinned_at"`

	// PinnedBy Principal id. Recorded because a pin is a shared write.
	PinnedBy *string `json:"pinned_by,omitempty"`
}

Pin defines model for Pin.

type PlatformRepository

type PlatformRepository interface {
	ListOrganizationsForPrincipal(context.Context, *identity.Principal) ([]store.Organization, error)
	CreateOrganization(context.Context, store.Organization) (*store.Organization, error)
	GetOrganization(context.Context, string) (*store.Organization, error)
	DeleteOrganization(context.Context, string) error
	GetPluginRegistry(context.Context, store.OrganizationTenant) (store.PluginRegistry, error)
	EnablePluginRegistry(context.Context, store.OrganizationTenant) (store.PluginRegistry, error)
	ExposePluginRegistry(context.Context, store.OrganizationTenant) (store.PluginRegistry, error)
	UnexposePluginRegistry(context.Context, store.OrganizationTenant) (store.PluginRegistry, error)
	DisablePluginRegistry(context.Context, store.OrganizationTenant) error
	PublishPluginVersion(context.Context, store.OrganizationTenant, store.PluginVersionInput) error
	ListPlugins(context.Context, store.OrganizationTenant) ([]store.PluginSummary, error)
	ListPluginVersions(context.Context, store.OrganizationTenant, string) (store.PluginSource, []store.PluginVersionSummary, error)
	PluginDownloads(context.Context, store.OrganizationTenant, string, time.Time) (store.PluginDownloads, error)
	SetPluginVersionRevoked(context.Context, store.OrganizationTenant, string, string, bool) error
	SetPluginUpdateCheck(context.Context, store.OrganizationTenant, string, bool) error
	DeletePluginVersion(context.Context, store.OrganizationTenant, string, string) error
	CreatePluginImport(context.Context, store.OrganizationTenant, store.PluginImportRequest, store.PluginImportOrigin) (uuid.UUID, error)
	GetPluginImport(context.Context, store.OrganizationTenant, uuid.UUID) (store.PluginImport, error)
	ListPluginImports(context.Context, store.OrganizationTenant, store.PluginImportFilter) ([]store.PluginImport, int, error)
	DeletePluginImport(context.Context, store.OrganizationTenant, uuid.UUID) error
	GetPluginPrune(context.Context, store.OrganizationTenant) (store.PluginPrune, error)
	QueuePluginBundle(context.Context, store.OrganizationTenant, string, string) error
	GetPluginBundle(context.Context, store.OrganizationTenant) (store.PluginBundle, error)
	OpenPluginObject(context.Context, string) (io.ReadCloser, error)
	PutPluginBundle(context.Context, store.OrganizationTenant, string, io.ReadSeeker, int64) error
	DeletePluginBundleObject(context.Context, store.OrganizationTenant, string) error
	QueuePluginBundleImport(context.Context, store.OrganizationTenant, string, store.PluginBundleUpload) error
	GetPluginBundleImport(context.Context, store.OrganizationTenant) (store.PluginBundleImport, error)
	SetPluginPrune(context.Context, store.OrganizationTenant, bool, int, string, *time.Time) error
	PrunePluginImports(context.Context, store.OrganizationTenant, time.Time) (int, error)
	RecordPluginPrune(context.Context, store.OrganizationTenant, int, string, *time.Time) error
	PluginRegistryDefaultPlatforms(context.Context, store.OrganizationTenant) ([]string, error)
	SetPluginRegistryDefaultPlatforms(context.Context, store.OrganizationTenant, []string) ([]string, error)
	ListProjectsForPrincipal(context.Context, *identity.Principal, uuid.UUID) ([]store.Project, error)
	CreateProject(context.Context, store.Project) (*store.Project, error)
	GetProject(context.Context, string, string) (*store.Project, error)
	DeleteProject(context.Context, string, string) error
	ListPins(context.Context, store.Tenant) ([]store.Pin, error)
	SetPin(context.Context, store.Tenant, string, string, time.Time) (*store.Pin, error)
	DeletePin(context.Context, store.Tenant, string) error
	GetVersionFindingsSummary(context.Context, store.Tenant, string, string) (*store.VersionFindingsSummaryResult, error)
	GetBuildFindings(context.Context, store.Tenant, string, string, string) (*store.BuildFindings, error)
	// ListPrincipals lists the principals bound to EXACTLY the selected scope.
	// The caller authorizes, the selection filters; the store re-asserts the
	// caller may see the selection rather than trusting it (duf-4qr).
	ListPrincipals(context.Context, *identity.Principal, identity.Scope) ([]*identity.Principal, error)
	CreatePrincipal(context.Context, *identity.Principal) error
	GetPrincipalByID(context.Context, string) (*identity.Principal, error)
	DeletePrincipal(context.Context, string) error
	IssuePrincipalSecret(context.Context, string, string, *time.Time, time.Time) (string, identity.Secret, error)
	RevokePrincipalSecret(context.Context, string, string, time.Time) error
	// ObjectStorageState reports whether SBOM storage is configured and, if so,
	// what the last operation to touch it saw. The health probe is
	// unauthenticated and polled hard, so it reads a remembered answer rather
	// than opening a connection of its own.
	ObjectStorageState() string
}

PlatformRepository is the storage contract for tenancy and principal lifecycle.

The two listings take the whole principal rather than a bare scope, because Scope's zero value is platform scope — the most privileged input — and a principal cannot be constructed holding it without root (duf-ueq).

type Plugin added in v0.5.0

type Plugin struct {
	Name string `json:"name"`

	// NewestVersion The newest version that is not revoked. Absent when there is none.
	NewestVersion     *string `json:"newest_version,omitempty"`
	PublishedVersions int     `json:"published_versions"`

	// Source Where a plugin's versions come from. Metadata only; never part of its address.
	Source PluginSource `json:"source"`

	// UpdateAvailable The newest stable upstream release seen is newer than every stored version, revoked ones included.
	UpdateAvailable bool `json:"update_available"`

	// UpdateCheck Opt-in update checking for an imported plugin (ADR-0027 A6). A check asks the plugin's source for its
	// newest stable release; it never imports. A failed check is recorded quietly and keeps the last version seen.
	UpdateCheck PluginUpdateCheck `json:"update_check"`
}

Plugin defines model for Plugin.

type PluginBundle added in v0.5.0

type PluginBundle struct {
	// Bundle The last successful export, kept until a later one replaces it; absent before the first success.
	Bundle *struct {
		ExportedAt   time.Time `json:"exported_at"`
		Filename     string    `json:"filename"`
		PluginCount  int       `json:"plugin_count"`
		Sha256       string    `json:"sha256"`
		Size         int64     `json:"size"`
		VersionCount int       `json:"version_count"`
	} `json:"bundle,omitempty"`

	// CreatedAt When the current export was queued.
	CreatedAt time.Time `json:"created_at"`

	// Error Why the last export failed; empty otherwise.
	Error       string            `json:"error"`
	FinishedAt  *time.Time        `json:"finished_at,omitempty"`
	RequestedBy string            `json:"requested_by"`
	StartedAt   *time.Time        `json:"started_at,omitempty"`
	State       PluginBundleState `json:"state"`
}

PluginBundle defines model for PluginBundle.

type PluginBundleImport added in v0.5.0

type PluginBundleImport struct {
	// Bundle What the bundle's manifest said about itself; absent until the manifest has been read.
	Bundle *struct {
		DufflebagVersion string    `json:"dufflebag_version"`
		ExportedAt       time.Time `json:"exported_at"`
		Host             string    `json:"host"`
		Organization     string    `json:"organization"`
		PluginCount      int       `json:"plugin_count"`
		VersionCount     int       `json:"version_count"`
	} `json:"bundle,omitempty"`

	// CreatedAt When the import was queued.
	CreatedAt time.Time `json:"created_at"`

	// Error Why the bundle could not be read; empty when every version was considered.
	Error string `json:"error"`

	// Filename The uploaded bundle's filename.
	Filename string `json:"filename"`

	// FilenameMatches Whether the filename's twelve-character digest prefix matches sha256; absent when the filename carries none.
	FilenameMatches *bool      `json:"filename_matches,omitempty"`
	FinishedAt      *time.Time `json:"finished_at,omitempty"`

	// Outcomes One entry per bundled version, in manifest order, recorded as each is considered.
	Outcomes    []PluginBundleVersionOutcome `json:"outcomes"`
	RequestedBy string                       `json:"requested_by"`

	// Sha256 The digest of the bundle as received.
	Sha256    string                  `json:"sha256"`
	Size      int64                   `json:"size"`
	StartedAt *time.Time              `json:"started_at,omitempty"`
	State     PluginBundleImportState `json:"state"`
}

PluginBundleImport defines model for PluginBundleImport.

type PluginBundleImportState added in v0.5.0

type PluginBundleImportState string

PluginBundleImportState defines model for PluginBundleImport.State.

const (
	PluginBundleImportStateFailed             PluginBundleImportState = "failed"
	PluginBundleImportStatePartiallySucceeded PluginBundleImportState = "partially_succeeded"
	PluginBundleImportStateQueued             PluginBundleImportState = "queued"
	PluginBundleImportStateRunning            PluginBundleImportState = "running"
	PluginBundleImportStateSucceeded          PluginBundleImportState = "succeeded"
)

Defines values for PluginBundleImportState.

func (PluginBundleImportState) Valid added in v0.5.0

func (e PluginBundleImportState) Valid() bool

Valid indicates whether the value is a known member of the PluginBundleImportState enum.

type PluginBundleState added in v0.5.0

type PluginBundleState string

PluginBundleState defines model for PluginBundle.State.

const (
	PluginBundleStateFailed    PluginBundleState = "failed"
	PluginBundleStateQueued    PluginBundleState = "queued"
	PluginBundleStateRunning   PluginBundleState = "running"
	PluginBundleStateSucceeded PluginBundleState = "succeeded"
)

Defines values for PluginBundleState.

func (PluginBundleState) Valid added in v0.5.0

func (e PluginBundleState) Valid() bool

Valid indicates whether the value is a known member of the PluginBundleState enum.

type PluginBundleVersionOutcome added in v0.5.0

type PluginBundleVersionOutcome struct {
	Error *string `json:"error,omitempty"`

	// OriginKind The source the connected registry imported it from.
	OriginKind       string  `json:"origin_kind"`
	OriginRepository *string `json:"origin_repository,omitempty"`

	// Outcome skipped when the version is already held; mismatch when it is held with different checksums.
	Outcome PluginBundleVersionOutcomeOutcome `json:"outcome"`
	Plugin  string                            `json:"plugin"`
	Version string                            `json:"version"`
}

PluginBundleVersionOutcome defines model for PluginBundleVersionOutcome.

type PluginBundleVersionOutcomeOutcome added in v0.5.0

type PluginBundleVersionOutcomeOutcome string

PluginBundleVersionOutcomeOutcome skipped when the version is already held; mismatch when it is held with different checksums.

const (
	PluginBundleVersionImported PluginBundleVersionOutcomeOutcome = "imported"
	PluginBundleVersionMismatch PluginBundleVersionOutcomeOutcome = "mismatch"
	PluginBundleVersionRefused  PluginBundleVersionOutcomeOutcome = "refused"
	PluginBundleVersionSkipped  PluginBundleVersionOutcomeOutcome = "skipped"
)

Defines values for PluginBundleVersionOutcomeOutcome.

func (PluginBundleVersionOutcomeOutcome) Valid added in v0.5.0

Valid indicates whether the value is a known member of the PluginBundleVersionOutcomeOutcome enum.

type PluginCatalogue added in v0.5.0

type PluginCatalogue interface {
	Plugins(ctx context.Context) ([]string, error)
	Versions(ctx context.Context, product, after string) ([]pluginimport.UpstreamVersion, string, error)
	Resolve(ctx context.Context, link string) (pluginimport.GitHubRelease, error)
}

PluginCatalogue is HashiCorp's release service, as the import screen reads it.

type PluginChange added in v0.5.0

type PluginChange struct {
	Action PluginChangeAction `json:"action"`

	// Platforms The OS_ARCH platforms an add brings in; empty for revoke and restore.
	Platforms *[]string `json:"platforms,omitempty"`
	Version   string    `json:"version"`
}

PluginChange defines model for PluginChange.

type PluginChangeAction added in v0.5.0

type PluginChangeAction string

PluginChangeAction defines model for PluginChange.Action.

const (
	Add     PluginChangeAction = "add"
	Restore PluginChangeAction = "restore"
	Revoke  PluginChangeAction = "revoke"
)

Defines values for PluginChangeAction.

func (PluginChangeAction) Valid added in v0.5.0

func (e PluginChangeAction) Valid() bool

Valid indicates whether the value is a known member of the PluginChangeAction enum.

type PluginDownloadWindows added in v0.5.0

type PluginDownloadWindows struct {
	// AllTime Downloads over all UTC calendar days.
	AllTime int64 `json:"all_time"`

	// Last30Days Downloads in the 30 UTC calendar days ending today, where day is at least today minus 29 days.
	Last30Days int64 `json:"last_30_days"`

	// Last365Days Downloads in the 365 UTC calendar days ending today, where day is at least today minus 364 days.
	Last365Days int64 `json:"last_365_days"`

	// Last7Days Downloads in the 7 UTC calendar days ending today, where day is at least today minus 6 days.
	Last7Days int64 `json:"last_7_days"`
}

PluginDownloadWindows defines model for PluginDownloadWindows.

type PluginDownloads added in v0.5.0

type PluginDownloads struct {
	AllVersions PluginDownloadWindows `json:"all_versions"`

	// Today The UTC day the windows end on.
	Today    openapi_types.Date       `json:"today"`
	Versions []PluginVersionDownloads `json:"versions"`
}

PluginDownloads defines model for PluginDownloads.

type PluginImport added in v0.5.0

type PluginImport struct {
	// BatchIndex This job's position in its batch
	BatchIndex int `json:"batch_index"`

	// BatchSize Jobs in the batch; 1 outside a batch.
	BatchSize int `json:"batch_size"`

	// Changes A sync's changes, in the order they apply; empty for an import.
	Changes   []PluginChange `json:"changes"`
	CreatedAt time.Time      `json:"created_at"`

	// CreatedBy The principal that queued the job.
	CreatedBy  string             `json:"created_by"`
	FinishedAt *time.Time         `json:"finished_at,omitempty"`
	Id         openapi_types.UUID `json:"id"`

	// Origin Where the job was queued from; catalogue jobs are one of a Sync selected batch.
	Origin    PluginImportOrigin           `json:"origin"`
	Outcomes  []PluginImportVersionOutcome `json:"outcomes"`
	Platforms []string                     `json:"platforms"`

	// Plugin The plugin name the job concerns.
	Plugin  string `json:"plugin"`
	Product string `json:"product"`

	// QueuedAhead The organization's unfinished jobs queued before this one.
	QueuedAhead int `json:"queued_ahead"`

	// RetryOf The job this one retries.
	RetryOf *openapi_types.UUID `json:"retry_of,omitempty"`
	Source  string              `json:"source"`

	// StartedAt When a worker first took the job.
	StartedAt *time.Time        `json:"started_at,omitempty"`
	State     PluginImportState `json:"state"`
	Versions  []string          `json:"versions"`
}

PluginImport defines model for PluginImport.

type PluginImportConflict added in v0.5.0

type PluginImportConflict struct {
	// ImportId The queued or running job that stands in the way
	ImportId *openapi_types.UUID `json:"import_id,omitempty"`
	Message  string              `json:"message"`
}

PluginImportConflict defines model for PluginImportConflict.

type PluginImportOrigin added in v0.5.0

type PluginImportOrigin string

PluginImportOrigin Where the job was queued from; catalogue jobs are one of a Sync selected batch.

const (
	PluginImportOriginCatalogue PluginImportOrigin = "catalogue"
	PluginImportOriginImport    PluginImportOrigin = "import"
	PluginImportOriginPlugin    PluginImportOrigin = "plugin"
	PluginImportOriginUpload    PluginImportOrigin = "upload"
)

Defines values for PluginImportOrigin.

func (PluginImportOrigin) Valid added in v0.5.0

func (e PluginImportOrigin) Valid() bool

Valid indicates whether the value is a known member of the PluginImportOrigin enum.

type PluginImportPlatformOutcome added in v0.5.0

type PluginImportPlatformOutcome struct {
	Error    *string                            `json:"error,omitempty"`
	Outcome  PluginImportPlatformOutcomeOutcome `json:"outcome"`
	Platform string                             `json:"platform"`
}

PluginImportPlatformOutcome defines model for PluginImportPlatformOutcome.

type PluginImportPlatformOutcomeOutcome added in v0.5.0

type PluginImportPlatformOutcomeOutcome string

PluginImportPlatformOutcomeOutcome defines model for PluginImportPlatformOutcome.Outcome.

const (
	PluginImportPlatformOutcomeOutcomeAlreadyMirrored PluginImportPlatformOutcomeOutcome = "already_mirrored"
	PluginImportPlatformOutcomeOutcomeFailed          PluginImportPlatformOutcomeOutcome = "failed"
	PluginImportPlatformOutcomeOutcomeImported        PluginImportPlatformOutcomeOutcome = "imported"
)

Defines values for PluginImportPlatformOutcomeOutcome.

func (PluginImportPlatformOutcomeOutcome) Valid added in v0.5.0

Valid indicates whether the value is a known member of the PluginImportPlatformOutcomeOutcome enum.

type PluginImportRequest added in v0.5.0

type PluginImportRequest struct {
	Platforms []string `json:"platforms"`

	// Product For releases-hashicorp, the product (packer-plugin-amazon); for github, the repository (owner/packer-plugin-git).
	Product string `json:"product"`

	// RetryOf The failed job this one retries; it must be one of the organization's jobs.
	RetryOf *openapi_types.UUID       `json:"retry_of,omitempty"`
	Source  PluginImportRequestSource `json:"source"`

	// Versions For releases-hashicorp, versions; for github, release tags as a resolve returned them.
	Versions []string `json:"versions"`
}

PluginImportRequest defines model for PluginImportRequest.

type PluginImportRequestSource added in v0.5.0

type PluginImportRequestSource string

PluginImportRequestSource defines model for PluginImportRequest.Source.

const (
	PluginImportRequestSourceGithub            PluginImportRequestSource = "github"
	PluginImportRequestSourceReleasesHashicorp PluginImportRequestSource = "releases-hashicorp"
)

Defines values for PluginImportRequestSource.

func (PluginImportRequestSource) Valid added in v0.5.0

func (e PluginImportRequestSource) Valid() bool

Valid indicates whether the value is a known member of the PluginImportRequestSource enum.

type PluginImportState added in v0.5.0

type PluginImportState string

PluginImportState defines model for PluginImport.State.

const (
	PluginImportStateFailed             PluginImportState = "failed"
	PluginImportStatePartiallySucceeded PluginImportState = "partially_succeeded"
	PluginImportStateQueued             PluginImportState = "queued"
	PluginImportStateRunning            PluginImportState = "running"
	PluginImportStateSucceeded          PluginImportState = "succeeded"
)

Defines values for PluginImportState.

func (PluginImportState) Valid added in v0.5.0

func (e PluginImportState) Valid() bool

Valid indicates whether the value is a known member of the PluginImportState enum.

type PluginImportVersionOutcome added in v0.5.0

type PluginImportVersionOutcome struct {
	Error     *string                           `json:"error,omitempty"`
	Outcome   PluginImportVersionOutcomeOutcome `json:"outcome"`
	Platforms *[]PluginImportPlatformOutcome    `json:"platforms,omitempty"`
	Version   string                            `json:"version"`
}

PluginImportVersionOutcome defines model for PluginImportVersionOutcome.

type PluginImportVersionOutcomeOutcome added in v0.5.0

type PluginImportVersionOutcomeOutcome string

PluginImportVersionOutcomeOutcome defines model for PluginImportVersionOutcome.Outcome.

const (
	PluginImportVersionOutcomeOutcomeAlreadyMirrored PluginImportVersionOutcomeOutcome = "already_mirrored"
	PluginImportVersionOutcomeOutcomeFailed          PluginImportVersionOutcomeOutcome = "failed"
	PluginImportVersionOutcomeOutcomeImported        PluginImportVersionOutcomeOutcome = "imported"
	PluginImportVersionOutcomeOutcomeRestored        PluginImportVersionOutcomeOutcome = "restored"
	PluginImportVersionOutcomeOutcomeRevoked         PluginImportVersionOutcomeOutcome = "revoked"
)

Defines values for PluginImportVersionOutcomeOutcome.

func (PluginImportVersionOutcomeOutcome) Valid added in v0.5.0

Valid indicates whether the value is a known member of the PluginImportVersionOutcomeOutcome enum.

type PluginName added in v0.5.0

type PluginName = string

PluginName defines model for PluginName.

type PluginPlatform added in v0.5.0

type PluginPlatform struct {
	Arch string `json:"arch"`
	Os   string `json:"os"`
}

PluginPlatform defines model for PluginPlatform.

type PluginPlatformList added in v0.5.0

type PluginPlatformList struct {
	Platforms []string `json:"platforms"`
}

PluginPlatformList defines model for PluginPlatformList.

type PluginPrune added in v0.5.0

type PluginPrune struct {
	AgeDays int  `json:"age_days"`
	Enabled bool `json:"enabled"`

	// Kept Every job the organization holds.
	Kept int `json:"kept"`

	// LastError Why the last run cleared nothing; empty when it succeeded.
	LastError string     `json:"last_error"`
	LastRunAt *time.Time `json:"last_run_at,omitempty"`

	// LastRunCleared Jobs the last run cleared.
	LastRunCleared int `json:"last_run_cleared"`

	// NextRunAt Absent while pruning is off.
	NextRunAt        *time.Time `json:"next_run_at,omitempty"`
	OldestFinishedAt *time.Time `json:"oldest_finished_at,omitempty"`
	Schedule         string     `json:"schedule"`

	// Unfinished Queued and running jobs
	Unfinished int `json:"unfinished"`

	// WouldClear Finished jobs older than the age limit now.
	WouldClear int `json:"would_clear"`
}

PluginPrune defines model for PluginPrune.

type PluginPruneRequest added in v0.5.0

type PluginPruneRequest struct {
	// AgeDays Finished jobs older than this many days are cleared.
	AgeDays PluginPruneRequestAgeDays `json:"age_days"`
	Enabled bool                      `json:"enabled"`

	// Schedule A five-field cron expression
	Schedule string `json:"schedule"`
}

PluginPruneRequest defines model for PluginPruneRequest.

type PluginPruneRequestAgeDays added in v0.5.0

type PluginPruneRequestAgeDays int

PluginPruneRequestAgeDays Finished jobs older than this many days are cleared.

Defines values for PluginPruneRequestAgeDays.

func (PluginPruneRequestAgeDays) Valid added in v0.5.0

func (e PluginPruneRequestAgeDays) Valid() bool

Valid indicates whether the value is a known member of the PluginPruneRequestAgeDays enum.

type PluginRegistry added in v0.5.0

type PluginRegistry struct {
	Enabled bool `json:"enabled"`
	Exposed bool `json:"exposed"`
}

PluginRegistry defines model for PluginRegistry.

type PluginSource added in v0.5.0

type PluginSource struct {
	Kind PluginSourceKind `json:"kind"`

	// Repository For github
	Repository *string `json:"repository,omitempty"`
}

PluginSource Where a plugin's versions come from. Metadata only; never part of its address.

type PluginSourceKind added in v0.5.0

type PluginSourceKind string

PluginSourceKind defines model for PluginSource.Kind.

const (
	PluginSourceKindGithub            PluginSourceKind = "github"
	PluginSourceKindReleasesHashicorp PluginSourceKind = "releases-hashicorp"
	PluginSourceKindUpload            PluginSourceKind = "upload"
)

Defines values for PluginSourceKind.

func (PluginSourceKind) Valid added in v0.5.0

func (e PluginSourceKind) Valid() bool

Valid indicates whether the value is a known member of the PluginSourceKind enum.

type PluginSyncRequest added in v0.5.0

type PluginSyncRequest struct {
	Changes []PluginChange `json:"changes"`

	// RetryOf The failed job this one retries; it must be one of the organization's jobs.
	RetryOf *openapi_types.UUID `json:"retry_of,omitempty"`
}

PluginSyncRequest defines model for PluginSyncRequest.

type PluginUpdateCheck added in v0.5.0

type PluginUpdateCheck struct {
	CheckedAt *time.Time `json:"checked_at,omitempty"`
	Enabled   bool       `json:"enabled"`

	// Error Why the last check failed. Absent after a successful check.
	Error *string `json:"error,omitempty"`

	// Latest The newest stable upstream version seen.
	Latest *string `json:"latest,omitempty"`

	// LatestTag The release tag of latest
	LatestTag *string `json:"latest_tag,omitempty"`

	// NextCheckAt When the next check is due. Absent while checks are off
	NextCheckAt *time.Time `json:"next_check_at,omitempty"`
}

PluginUpdateCheck Opt-in update checking for an imported plugin (ADR-0027 A6). A check asks the plugin's source for its newest stable release; it never imports. A failed check is recorded quietly and keeps the last version seen.

type PluginVersion added in v0.5.0

type PluginVersion struct {
	CreatedAt time.Time `json:"created_at"`

	// ListedPlatforms Platforms the version's SHA256SUMS lists.
	ListedPlatforms []PluginPlatform `json:"listed_platforms"`
	Revoked         bool             `json:"revoked"`

	// StoredPlatforms Platforms the registry holds a zip for. Listed platforms missing here are not served.
	StoredPlatforms []PluginPlatform `json:"stored_platforms"`
	Version         string           `json:"version"`
}

PluginVersion defines model for PluginVersion.

type PluginVersionDownloads added in v0.5.0

type PluginVersionDownloads struct {
	// AllTime Downloads over all UTC calendar days.
	AllTime int64 `json:"all_time"`

	// Last30Days Downloads in the 30 UTC calendar days ending today, where day is at least today minus 29 days.
	Last30Days int64 `json:"last_30_days"`

	// Last365Days Downloads in the 365 UTC calendar days ending today, where day is at least today minus 364 days.
	Last365Days int64 `json:"last_365_days"`

	// Last7Days Downloads in the 7 UTC calendar days ending today, where day is at least today minus 6 days.
	Last7Days int64 `json:"last_7_days"`

	// State removed when the version is no longer held but its counts are kept.
	State   PluginVersionDownloadsState `json:"state"`
	Version string                      `json:"version"`
}

PluginVersionDownloads defines model for PluginVersionDownloads.

type PluginVersionDownloadsState added in v0.5.0

type PluginVersionDownloadsState string

PluginVersionDownloadsState removed when the version is no longer held but its counts are kept.

const (
	PluginVersionDownloadAvailable PluginVersionDownloadsState = "available"
	PluginVersionDownloadRemoved   PluginVersionDownloadsState = "removed"
	PluginVersionDownloadRevoked   PluginVersionDownloadsState = "revoked"
)

Defines values for PluginVersionDownloadsState.

func (PluginVersionDownloadsState) Valid added in v0.5.0

Valid indicates whether the value is a known member of the PluginVersionDownloadsState enum.

type PluginVersionNumber added in v0.5.0

type PluginVersionNumber = string

PluginVersionNumber defines model for PluginVersionNumber.

type PluginVersions added in v0.5.0

type PluginVersions struct {
	Name string `json:"name"`

	// Source Where a plugin's versions come from. Metadata only; never part of its address.
	Source   PluginSource    `json:"source"`
	Versions []PluginVersion `json:"versions"`
}

PluginVersions defines model for PluginVersions.

type Principal

type Principal struct {
	// BucketId The bound bucket's ULID. Omitted for project-or-wider scope.
	BucketId  *string   `json:"bucket_id,omitempty"`
	ClientId  string    `json:"client_id"`
	CreatedAt time.Time `json:"created_at"`
	Id        string    `json:"id"`
	Name      string    `json:"name"`

	// OrganizationId Null for a platform-scoped root principal.
	OrganizationId *openapi_types.UUID `json:"organization_id"`

	// ProjectId Null for an organization-scoped principal.
	ProjectId *openapi_types.UUID `json:"project_id,omitempty"`

	// Role The principal's authority within its scope. A caller may grant or modify
	// only roles at or below its own.
	Role Role `json:"role"`

	// Secrets Metadata only. Values are never returned after issuance.
	Secrets []SecretMetadata `json:"secrets"`
}

Principal defines model for Principal.

type PrincipalId

type PrincipalId = string

PrincipalId defines model for PrincipalId.

type Principals

type Principals interface {
	GetPrincipalByID(ctx context.Context, id string) (*identity.Principal, error)
	TouchSecretLastUsed(ctx context.Context, secretID string, at time.Time) error
}

Principals resolves an authenticated caller's authority, per request rather than from the token (ADR-0019).

type Project

type Project struct {
	// CreatedAt Load-bearing. An unpinned Packer CLI selects the OLDEST project when
	// several exist, so this timestamp determines default tenant selection
	// and must never be rewritten (ADR-0003).
	CreatedAt      time.Time          `json:"created_at"`
	Id             openapi_types.UUID `json:"id"`
	Name           string             `json:"name"`
	OrganizationId openapi_types.UUID `json:"organization_id"`
}

Project defines model for Project.

type ProjectId

type ProjectId = openapi_types.UUID

ProjectId defines model for ProjectId.

type PublishPluginVersion201JSONResponse added in v0.5.0

type PublishPluginVersion201JSONResponse PublishedPluginVersion

func (PublishPluginVersion201JSONResponse) VisitPublishPluginVersionResponse added in v0.5.0

func (response PublishPluginVersion201JSONResponse) VisitPublishPluginVersionResponse(w http.ResponseWriter) error

type PublishPluginVersion400JSONResponse added in v0.5.0

type PublishPluginVersion400JSONResponse Error

func (PublishPluginVersion400JSONResponse) VisitPublishPluginVersionResponse added in v0.5.0

func (response PublishPluginVersion400JSONResponse) VisitPublishPluginVersionResponse(w http.ResponseWriter) error

type PublishPluginVersion401JSONResponse added in v0.5.0

type PublishPluginVersion401JSONResponse struct{ UnauthorizedJSONResponse }

func (PublishPluginVersion401JSONResponse) VisitPublishPluginVersionResponse added in v0.5.0

func (response PublishPluginVersion401JSONResponse) VisitPublishPluginVersionResponse(w http.ResponseWriter) error

type PublishPluginVersion403JSONResponse added in v0.5.0

type PublishPluginVersion403JSONResponse struct{ ForbiddenJSONResponse }

func (PublishPluginVersion403JSONResponse) VisitPublishPluginVersionResponse added in v0.5.0

func (response PublishPluginVersion403JSONResponse) VisitPublishPluginVersionResponse(w http.ResponseWriter) error

type PublishPluginVersion404JSONResponse added in v0.5.0

type PublishPluginVersion404JSONResponse struct{ NotFoundJSONResponse }

func (PublishPluginVersion404JSONResponse) VisitPublishPluginVersionResponse added in v0.5.0

func (response PublishPluginVersion404JSONResponse) VisitPublishPluginVersionResponse(w http.ResponseWriter) error

type PublishPluginVersion409JSONResponse added in v0.5.0

type PublishPluginVersion409JSONResponse Error

func (PublishPluginVersion409JSONResponse) VisitPublishPluginVersionResponse added in v0.5.0

func (response PublishPluginVersion409JSONResponse) VisitPublishPluginVersionResponse(w http.ResponseWriter) error

type PublishPluginVersion413JSONResponse added in v0.5.0

type PublishPluginVersion413JSONResponse Error

func (PublishPluginVersion413JSONResponse) VisitPublishPluginVersionResponse added in v0.5.0

func (response PublishPluginVersion413JSONResponse) VisitPublishPluginVersionResponse(w http.ResponseWriter) error

type PublishPluginVersion503JSONResponse added in v0.5.0

type PublishPluginVersion503JSONResponse Error

func (PublishPluginVersion503JSONResponse) VisitPublishPluginVersionResponse added in v0.5.0

func (response PublishPluginVersion503JSONResponse) VisitPublishPluginVersionResponse(w http.ResponseWriter) error

type PublishPluginVersionMultipartBody added in v0.5.0

type PublishPluginVersionMultipartBody struct {
	Manifest      *openapi_types.File  `json:"manifest,omitempty"`
	Sha256sums    openapi_types.File   `json:"sha256sums"`
	Sha256sumsSig *openapi_types.File  `json:"sha256sums_sig,omitempty"`
	Zips          []openapi_types.File `json:"zips"`
}

PublishPluginVersionMultipartBody defines parameters for PublishPluginVersion.

type PublishPluginVersionMultipartRequestBody added in v0.5.0

type PublishPluginVersionMultipartRequestBody PublishPluginVersionMultipartBody

PublishPluginVersionMultipartRequestBody defines body for PublishPluginVersion for multipart/form-data ContentType.

type PublishPluginVersionRequestObject added in v0.5.0

type PublishPluginVersionRequestObject struct {
	OrganizationId OrganizationId      `json:"organizationId"`
	PluginName     PluginName          `json:"pluginName"`
	Version        PluginVersionNumber `json:"version"`
	Body           *multipart.Reader
}

type PublishPluginVersionResponse added in v0.5.0

type PublishPluginVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *PublishedPluginVersion
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON413 the response for an HTTP 413 `application/json` response
	JSON413 *Error
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParsePublishPluginVersionResponse added in v0.5.0

func ParsePublishPluginVersionResponse(rsp *http.Response) (*PublishPluginVersionResponse, error)

ParsePublishPluginVersionResponse parses an HTTP response from a PublishPluginVersionWithResponse call

func (PublishPluginVersionResponse) ContentType added in v0.5.0

func (r PublishPluginVersionResponse) ContentType() string

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

func (PublishPluginVersionResponse) GetBody added in v0.5.0

func (r PublishPluginVersionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PublishPluginVersionResponse) GetJSON201 added in v0.5.0

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (PublishPluginVersionResponse) GetJSON400 added in v0.5.0

func (r PublishPluginVersionResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PublishPluginVersionResponse) GetJSON401 added in v0.5.0

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

func (PublishPluginVersionResponse) GetJSON403 added in v0.5.0

func (r PublishPluginVersionResponse) GetJSON403() *Forbidden

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

func (PublishPluginVersionResponse) GetJSON404 added in v0.5.0

func (r PublishPluginVersionResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PublishPluginVersionResponse) GetJSON409 added in v0.5.0

func (r PublishPluginVersionResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PublishPluginVersionResponse) GetJSON413 added in v0.5.0

func (r PublishPluginVersionResponse) GetJSON413() *Error

GetJSON413 returns the response for an HTTP 413 `application/json` response

func (PublishPluginVersionResponse) GetJSON503 added in v0.5.0

func (r PublishPluginVersionResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (PublishPluginVersionResponse) Status added in v0.5.0

Status returns HTTPResponse.Status

func (PublishPluginVersionResponse) StatusCode added in v0.5.0

func (r PublishPluginVersionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PublishPluginVersionResponseObject added in v0.5.0

type PublishPluginVersionResponseObject interface {
	VisitPublishPluginVersionResponse(w http.ResponseWriter) error
}

type PublishedPluginVersion added in v0.5.0

type PublishedPluginVersion struct {
	// Stanza The required_plugins entry a Packer template uses to install this version from dufflebag.
	Stanza  TemplateStanza `json:"stanza"`
	Version PluginVersion  `json:"version"`
}

PublishedPluginVersion defines model for PublishedPluginVersion.

type ReadSession200JSONResponse

type ReadSession200JSONResponse SessionResponse

func (ReadSession200JSONResponse) VisitReadSessionResponse

func (response ReadSession200JSONResponse) VisitReadSessionResponse(w http.ResponseWriter) error

type ReadSession204Response

type ReadSession204Response struct {
}

func (ReadSession204Response) VisitReadSessionResponse

func (response ReadSession204Response) VisitReadSessionResponse(w http.ResponseWriter) error

type ReadSessionRequestObject

type ReadSessionRequestObject struct {
}

type ReadSessionResponse

type ReadSessionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SessionResponse
}

func ParseReadSessionResponse

func ParseReadSessionResponse(rsp *http.Response) (*ReadSessionResponse, error)

ParseReadSessionResponse parses an HTTP response from a ReadSessionWithResponse call

func (ReadSessionResponse) ContentType

func (r ReadSessionResponse) ContentType() string

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

func (ReadSessionResponse) GetBody

func (r ReadSessionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ReadSessionResponse) GetJSON200

func (r ReadSessionResponse) GetJSON200() *SessionResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ReadSessionResponse) Status

func (r ReadSessionResponse) Status() string

Status returns HTTPResponse.Status

func (ReadSessionResponse) StatusCode

func (r ReadSessionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReadSessionResponseObject

type ReadSessionResponseObject interface {
	VisitReadSessionResponse(w http.ResponseWriter) error
}

type ReconcileBagDrop202JSONResponse

type ReconcileBagDrop202JSONResponse struct {
	Message string `json:"message"`
}

func (ReconcileBagDrop202JSONResponse) VisitReconcileBagDropResponse

func (response ReconcileBagDrop202JSONResponse) VisitReconcileBagDropResponse(w http.ResponseWriter) error

type ReconcileBagDrop401JSONResponse

type ReconcileBagDrop401JSONResponse struct{ UnauthorizedJSONResponse }

func (ReconcileBagDrop401JSONResponse) VisitReconcileBagDropResponse

func (response ReconcileBagDrop401JSONResponse) VisitReconcileBagDropResponse(w http.ResponseWriter) error

type ReconcileBagDrop403JSONResponse

type ReconcileBagDrop403JSONResponse struct{ ForbiddenJSONResponse }

func (ReconcileBagDrop403JSONResponse) VisitReconcileBagDropResponse

func (response ReconcileBagDrop403JSONResponse) VisitReconcileBagDropResponse(w http.ResponseWriter) error

type ReconcileBagDrop404JSONResponse

type ReconcileBagDrop404JSONResponse struct{ NotFoundJSONResponse }

func (ReconcileBagDrop404JSONResponse) VisitReconcileBagDropResponse

func (response ReconcileBagDrop404JSONResponse) VisitReconcileBagDropResponse(w http.ResponseWriter) error

type ReconcileBagDrop503JSONResponse

type ReconcileBagDrop503JSONResponse Error

func (ReconcileBagDrop503JSONResponse) VisitReconcileBagDropResponse

func (response ReconcileBagDrop503JSONResponse) VisitReconcileBagDropResponse(w http.ResponseWriter) error

type ReconcileBagDropRequestObject

type ReconcileBagDropRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	ProjectId      ProjectId      `json:"projectId"`
}

type ReconcileBagDropResponse

type ReconcileBagDropResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *struct {
		Message string `json:"message"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *Error
}

func ParseReconcileBagDropResponse

func ParseReconcileBagDropResponse(rsp *http.Response) (*ReconcileBagDropResponse, error)

ParseReconcileBagDropResponse parses an HTTP response from a ReconcileBagDropWithResponse call

func (ReconcileBagDropResponse) ContentType

func (r ReconcileBagDropResponse) ContentType() string

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

func (ReconcileBagDropResponse) GetBody

func (r ReconcileBagDropResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ReconcileBagDropResponse) GetJSON202

func (r ReconcileBagDropResponse) GetJSON202() *struct {
	Message string `json:"message"`
}

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

func (ReconcileBagDropResponse) GetJSON401

func (r ReconcileBagDropResponse) GetJSON401() *Unauthorized

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

func (ReconcileBagDropResponse) GetJSON403

func (r ReconcileBagDropResponse) GetJSON403() *Forbidden

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

func (ReconcileBagDropResponse) GetJSON404

func (r ReconcileBagDropResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ReconcileBagDropResponse) GetJSON503

func (r ReconcileBagDropResponse) GetJSON503() *Error

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (ReconcileBagDropResponse) Status

func (r ReconcileBagDropResponse) Status() string

Status returns HTTPResponse.Status

func (ReconcileBagDropResponse) StatusCode

func (r ReconcileBagDropResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReconcileBagDropResponseObject

type ReconcileBagDropResponseObject interface {
	VisitReconcileBagDropResponse(w http.ResponseWriter) error
}

type Recover200JSONResponse

type Recover200JSONResponse RecoveryResponse

func (Recover200JSONResponse) VisitRecoverResponse

func (response Recover200JSONResponse) VisitRecoverResponse(w http.ResponseWriter) error

type Recover400JSONResponse

type Recover400JSONResponse Error

func (Recover400JSONResponse) VisitRecoverResponse

func (response Recover400JSONResponse) VisitRecoverResponse(w http.ResponseWriter) error

type Recover403JSONResponse

type Recover403JSONResponse Error

func (Recover403JSONResponse) VisitRecoverResponse

func (response Recover403JSONResponse) VisitRecoverResponse(w http.ResponseWriter) error

type Recover409JSONResponse

type Recover409JSONResponse Error

func (Recover409JSONResponse) VisitRecoverResponse

func (response Recover409JSONResponse) VisitRecoverResponse(w http.ResponseWriter) error

type RecoverJSONRequestBody

type RecoverJSONRequestBody = RecoveryRequest

RecoverJSONRequestBody defines body for Recover for application/json ContentType.

type RecoverRequestObject

type RecoverRequestObject struct {
	Body *RecoverJSONRequestBody
}

type RecoverResponse

type RecoverResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *RecoveryResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
}

func ParseRecoverResponse

func ParseRecoverResponse(rsp *http.Response) (*RecoverResponse, error)

ParseRecoverResponse parses an HTTP response from a RecoverWithResponse call

func (RecoverResponse) ContentType

func (r RecoverResponse) ContentType() string

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

func (RecoverResponse) GetBody

func (r RecoverResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RecoverResponse) GetJSON200

func (r RecoverResponse) GetJSON200() *RecoveryResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (RecoverResponse) GetJSON400

func (r RecoverResponse) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (RecoverResponse) GetJSON403

func (r RecoverResponse) GetJSON403() *Error

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

func (RecoverResponse) GetJSON409

func (r RecoverResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (RecoverResponse) Status

func (r RecoverResponse) Status() string

Status returns HTTPResponse.Status

func (RecoverResponse) StatusCode

func (r RecoverResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RecoverResponseObject

type RecoverResponseObject interface {
	VisitRecoverResponse(w http.ResponseWriter) error
}

type RecoveryRequest

type RecoveryRequest struct {
	// Shares At least the threshold number of distinct shares.
	Shares []string `json:"shares"`
}

RecoveryRequest defines model for RecoveryRequest.

type RecoveryResponse

type RecoveryResponse struct {
	// ClientId A fresh root principal
	ClientId string `json:"client_id"`

	// ClientSecret Shown once. Not retrievable.
	ClientSecret string `json:"client_secret"`
}

RecoveryResponse defines model for RecoveryResponse.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type RequiredHeaderError

type RequiredHeaderError struct {
	ParamName string
	Err       error
}

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 RescanBuild202Response

type RescanBuild202Response struct {
}

func (RescanBuild202Response) VisitRescanBuildResponse

func (response RescanBuild202Response) VisitRescanBuildResponse(w http.ResponseWriter) error

type RescanBuild401JSONResponse

type RescanBuild401JSONResponse struct{ UnauthorizedJSONResponse }

func (RescanBuild401JSONResponse) VisitRescanBuildResponse

func (response RescanBuild401JSONResponse) VisitRescanBuildResponse(w http.ResponseWriter) error

type RescanBuild403JSONResponse

type RescanBuild403JSONResponse struct{ ForbiddenJSONResponse }

func (RescanBuild403JSONResponse) VisitRescanBuildResponse

func (response RescanBuild403JSONResponse) VisitRescanBuildResponse(w http.ResponseWriter) error

type RescanBuild404JSONResponse

type RescanBuild404JSONResponse Error

func (RescanBuild404JSONResponse) VisitRescanBuildResponse

func (response RescanBuild404JSONResponse) VisitRescanBuildResponse(w http.ResponseWriter) error

type RescanBuild409JSONResponse

type RescanBuild409JSONResponse Error

func (RescanBuild409JSONResponse) VisitRescanBuildResponse

func (response RescanBuild409JSONResponse) VisitRescanBuildResponse(w http.ResponseWriter) error

type RescanBuildRequestObject

type RescanBuildRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	ProjectId      ProjectId      `json:"projectId"`
	BuildId        string         `json:"buildId"`
}

type RescanBuildResponse

type RescanBuildResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
}

func ParseRescanBuildResponse

func ParseRescanBuildResponse(rsp *http.Response) (*RescanBuildResponse, error)

ParseRescanBuildResponse parses an HTTP response from a RescanBuildWithResponse call

func (RescanBuildResponse) ContentType

func (r RescanBuildResponse) ContentType() string

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

func (RescanBuildResponse) GetBody

func (r RescanBuildResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RescanBuildResponse) GetJSON401

func (r RescanBuildResponse) GetJSON401() *Unauthorized

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

func (RescanBuildResponse) GetJSON403

func (r RescanBuildResponse) GetJSON403() *Forbidden

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

func (RescanBuildResponse) GetJSON404

func (r RescanBuildResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (RescanBuildResponse) GetJSON409

func (r RescanBuildResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (RescanBuildResponse) Status

func (r RescanBuildResponse) Status() string

Status returns HTTPResponse.Status

func (RescanBuildResponse) StatusCode

func (r RescanBuildResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RescanBuildResponseObject

type RescanBuildResponseObject interface {
	VisitRescanBuildResponse(w http.ResponseWriter) error
}

type ResolveGithubRelease200JSONResponse added in v0.5.0

type ResolveGithubRelease200JSONResponse GithubRelease

func (ResolveGithubRelease200JSONResponse) VisitResolveGithubReleaseResponse added in v0.5.0

func (response ResolveGithubRelease200JSONResponse) VisitResolveGithubReleaseResponse(w http.ResponseWriter) error

type ResolveGithubRelease400JSONResponse added in v0.5.0

type ResolveGithubRelease400JSONResponse struct{ BadRequestJSONResponse }

func (ResolveGithubRelease400JSONResponse) VisitResolveGithubReleaseResponse added in v0.5.0

func (response ResolveGithubRelease400JSONResponse) VisitResolveGithubReleaseResponse(w http.ResponseWriter) error

type ResolveGithubRelease401JSONResponse added in v0.5.0

type ResolveGithubRelease401JSONResponse struct{ UnauthorizedJSONResponse }

func (ResolveGithubRelease401JSONResponse) VisitResolveGithubReleaseResponse added in v0.5.0

func (response ResolveGithubRelease401JSONResponse) VisitResolveGithubReleaseResponse(w http.ResponseWriter) error

type ResolveGithubRelease403JSONResponse added in v0.5.0

type ResolveGithubRelease403JSONResponse struct{ ForbiddenJSONResponse }

func (ResolveGithubRelease403JSONResponse) VisitResolveGithubReleaseResponse added in v0.5.0

func (response ResolveGithubRelease403JSONResponse) VisitResolveGithubReleaseResponse(w http.ResponseWriter) error

type ResolveGithubRelease404JSONResponse added in v0.5.0

type ResolveGithubRelease404JSONResponse struct{ NotFoundJSONResponse }

func (ResolveGithubRelease404JSONResponse) VisitResolveGithubReleaseResponse added in v0.5.0

func (response ResolveGithubRelease404JSONResponse) VisitResolveGithubReleaseResponse(w http.ResponseWriter) error

type ResolveGithubRelease502JSONResponse added in v0.5.0

type ResolveGithubRelease502JSONResponse Error

func (ResolveGithubRelease502JSONResponse) VisitResolveGithubReleaseResponse added in v0.5.0

func (response ResolveGithubRelease502JSONResponse) VisitResolveGithubReleaseResponse(w http.ResponseWriter) error

type ResolveGithubReleaseJSONBody added in v0.5.0

type ResolveGithubReleaseJSONBody struct {
	ReleaseUrl string `json:"release_url"`
}

ResolveGithubReleaseJSONBody defines parameters for ResolveGithubRelease.

type ResolveGithubReleaseJSONRequestBody added in v0.5.0

type ResolveGithubReleaseJSONRequestBody ResolveGithubReleaseJSONBody

ResolveGithubReleaseJSONRequestBody defines body for ResolveGithubRelease for application/json ContentType.

type ResolveGithubReleaseRequestObject added in v0.5.0

type ResolveGithubReleaseRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	Body           *ResolveGithubReleaseJSONRequestBody
}

type ResolveGithubReleaseResponse added in v0.5.0

type ResolveGithubReleaseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GithubRelease
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequest
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
}

func ParseResolveGithubReleaseResponse added in v0.5.0

func ParseResolveGithubReleaseResponse(rsp *http.Response) (*ResolveGithubReleaseResponse, error)

ParseResolveGithubReleaseResponse parses an HTTP response from a ResolveGithubReleaseWithResponse call

func (ResolveGithubReleaseResponse) ContentType added in v0.5.0

func (r ResolveGithubReleaseResponse) ContentType() string

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

func (ResolveGithubReleaseResponse) GetBody added in v0.5.0

func (r ResolveGithubReleaseResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ResolveGithubReleaseResponse) GetJSON200 added in v0.5.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ResolveGithubReleaseResponse) GetJSON400 added in v0.5.0

func (r ResolveGithubReleaseResponse) GetJSON400() *BadRequest

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ResolveGithubReleaseResponse) GetJSON401 added in v0.5.0

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

func (ResolveGithubReleaseResponse) GetJSON403 added in v0.5.0

func (r ResolveGithubReleaseResponse) GetJSON403() *Forbidden

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

func (ResolveGithubReleaseResponse) GetJSON404 added in v0.5.0

func (r ResolveGithubReleaseResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ResolveGithubReleaseResponse) GetJSON502 added in v0.5.0

func (r ResolveGithubReleaseResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (ResolveGithubReleaseResponse) Status added in v0.5.0

Status returns HTTPResponse.Status

func (ResolveGithubReleaseResponse) StatusCode added in v0.5.0

func (r ResolveGithubReleaseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ResolveGithubReleaseResponseObject added in v0.5.0

type ResolveGithubReleaseResponseObject interface {
	VisitResolveGithubReleaseResponse(w http.ResponseWriter) error
}

type RestorePluginVersion204Response added in v0.5.0

type RestorePluginVersion204Response struct {
}

func (RestorePluginVersion204Response) VisitRestorePluginVersionResponse added in v0.5.0

func (response RestorePluginVersion204Response) VisitRestorePluginVersionResponse(w http.ResponseWriter) error

type RestorePluginVersion401JSONResponse added in v0.5.0

type RestorePluginVersion401JSONResponse struct{ UnauthorizedJSONResponse }

func (RestorePluginVersion401JSONResponse) VisitRestorePluginVersionResponse added in v0.5.0

func (response RestorePluginVersion401JSONResponse) VisitRestorePluginVersionResponse(w http.ResponseWriter) error

type RestorePluginVersion403JSONResponse added in v0.5.0

type RestorePluginVersion403JSONResponse struct{ ForbiddenJSONResponse }

func (RestorePluginVersion403JSONResponse) VisitRestorePluginVersionResponse added in v0.5.0

func (response RestorePluginVersion403JSONResponse) VisitRestorePluginVersionResponse(w http.ResponseWriter) error

type RestorePluginVersion404JSONResponse added in v0.5.0

type RestorePluginVersion404JSONResponse struct{ NotFoundJSONResponse }

func (RestorePluginVersion404JSONResponse) VisitRestorePluginVersionResponse added in v0.5.0

func (response RestorePluginVersion404JSONResponse) VisitRestorePluginVersionResponse(w http.ResponseWriter) error

type RestorePluginVersion409JSONResponse added in v0.5.0

type RestorePluginVersion409JSONResponse Error

func (RestorePluginVersion409JSONResponse) VisitRestorePluginVersionResponse added in v0.5.0

func (response RestorePluginVersion409JSONResponse) VisitRestorePluginVersionResponse(w http.ResponseWriter) error

type RestorePluginVersionRequestObject added in v0.5.0

type RestorePluginVersionRequestObject struct {
	OrganizationId OrganizationId      `json:"organizationId"`
	PluginName     PluginName          `json:"pluginName"`
	Version        PluginVersionNumber `json:"version"`
}

type RestorePluginVersionResponse added in v0.5.0

type RestorePluginVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
}

func ParseRestorePluginVersionResponse added in v0.5.0

func ParseRestorePluginVersionResponse(rsp *http.Response) (*RestorePluginVersionResponse, error)

ParseRestorePluginVersionResponse parses an HTTP response from a RestorePluginVersionWithResponse call

func (RestorePluginVersionResponse) ContentType added in v0.5.0

func (r RestorePluginVersionResponse) ContentType() string

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

func (RestorePluginVersionResponse) GetBody added in v0.5.0

func (r RestorePluginVersionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RestorePluginVersionResponse) GetJSON401 added in v0.5.0

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

func (RestorePluginVersionResponse) GetJSON403 added in v0.5.0

func (r RestorePluginVersionResponse) GetJSON403() *Forbidden

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

func (RestorePluginVersionResponse) GetJSON404 added in v0.5.0

func (r RestorePluginVersionResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (RestorePluginVersionResponse) GetJSON409 added in v0.5.0

func (r RestorePluginVersionResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (RestorePluginVersionResponse) Status added in v0.5.0

Status returns HTTPResponse.Status

func (RestorePluginVersionResponse) StatusCode added in v0.5.0

func (r RestorePluginVersionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RestorePluginVersionResponseObject added in v0.5.0

type RestorePluginVersionResponseObject interface {
	VisitRestorePluginVersionResponse(w http.ResponseWriter) error
}

type RevokePluginVersion204Response added in v0.5.0

type RevokePluginVersion204Response struct {
}

func (RevokePluginVersion204Response) VisitRevokePluginVersionResponse added in v0.5.0

func (response RevokePluginVersion204Response) VisitRevokePluginVersionResponse(w http.ResponseWriter) error

type RevokePluginVersion401JSONResponse added in v0.5.0

type RevokePluginVersion401JSONResponse struct{ UnauthorizedJSONResponse }

func (RevokePluginVersion401JSONResponse) VisitRevokePluginVersionResponse added in v0.5.0

func (response RevokePluginVersion401JSONResponse) VisitRevokePluginVersionResponse(w http.ResponseWriter) error

type RevokePluginVersion403JSONResponse added in v0.5.0

type RevokePluginVersion403JSONResponse struct{ ForbiddenJSONResponse }

func (RevokePluginVersion403JSONResponse) VisitRevokePluginVersionResponse added in v0.5.0

func (response RevokePluginVersion403JSONResponse) VisitRevokePluginVersionResponse(w http.ResponseWriter) error

type RevokePluginVersion404JSONResponse added in v0.5.0

type RevokePluginVersion404JSONResponse struct{ NotFoundJSONResponse }

func (RevokePluginVersion404JSONResponse) VisitRevokePluginVersionResponse added in v0.5.0

func (response RevokePluginVersion404JSONResponse) VisitRevokePluginVersionResponse(w http.ResponseWriter) error

type RevokePluginVersion409JSONResponse added in v0.5.0

type RevokePluginVersion409JSONResponse Error

func (RevokePluginVersion409JSONResponse) VisitRevokePluginVersionResponse added in v0.5.0

func (response RevokePluginVersion409JSONResponse) VisitRevokePluginVersionResponse(w http.ResponseWriter) error

type RevokePluginVersionRequestObject added in v0.5.0

type RevokePluginVersionRequestObject struct {
	OrganizationId OrganizationId      `json:"organizationId"`
	PluginName     PluginName          `json:"pluginName"`
	Version        PluginVersionNumber `json:"version"`
}

type RevokePluginVersionResponse added in v0.5.0

type RevokePluginVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
}

func ParseRevokePluginVersionResponse added in v0.5.0

func ParseRevokePluginVersionResponse(rsp *http.Response) (*RevokePluginVersionResponse, error)

ParseRevokePluginVersionResponse parses an HTTP response from a RevokePluginVersionWithResponse call

func (RevokePluginVersionResponse) ContentType added in v0.5.0

func (r RevokePluginVersionResponse) ContentType() string

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

func (RevokePluginVersionResponse) GetBody added in v0.5.0

func (r RevokePluginVersionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RevokePluginVersionResponse) GetJSON401 added in v0.5.0

func (r RevokePluginVersionResponse) GetJSON401() *Unauthorized

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

func (RevokePluginVersionResponse) GetJSON403 added in v0.5.0

func (r RevokePluginVersionResponse) GetJSON403() *Forbidden

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

func (RevokePluginVersionResponse) GetJSON404 added in v0.5.0

func (r RevokePluginVersionResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (RevokePluginVersionResponse) GetJSON409 added in v0.5.0

func (r RevokePluginVersionResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (RevokePluginVersionResponse) Status added in v0.5.0

Status returns HTTPResponse.Status

func (RevokePluginVersionResponse) StatusCode added in v0.5.0

func (r RevokePluginVersionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RevokePluginVersionResponseObject added in v0.5.0

type RevokePluginVersionResponseObject interface {
	VisitRevokePluginVersionResponse(w http.ResponseWriter) error
}

type RevokePrincipalSecret204Response

type RevokePrincipalSecret204Response struct {
}

func (RevokePrincipalSecret204Response) VisitRevokePrincipalSecretResponse

func (response RevokePrincipalSecret204Response) VisitRevokePrincipalSecretResponse(w http.ResponseWriter) error

type RevokePrincipalSecret401JSONResponse

type RevokePrincipalSecret401JSONResponse struct{ UnauthorizedJSONResponse }

func (RevokePrincipalSecret401JSONResponse) VisitRevokePrincipalSecretResponse

func (response RevokePrincipalSecret401JSONResponse) VisitRevokePrincipalSecretResponse(w http.ResponseWriter) error

type RevokePrincipalSecret403JSONResponse

type RevokePrincipalSecret403JSONResponse struct{ ForbiddenJSONResponse }

func (RevokePrincipalSecret403JSONResponse) VisitRevokePrincipalSecretResponse

func (response RevokePrincipalSecret403JSONResponse) VisitRevokePrincipalSecretResponse(w http.ResponseWriter) error

type RevokePrincipalSecret404JSONResponse

type RevokePrincipalSecret404JSONResponse struct{ NotFoundJSONResponse }

func (RevokePrincipalSecret404JSONResponse) VisitRevokePrincipalSecretResponse

func (response RevokePrincipalSecret404JSONResponse) VisitRevokePrincipalSecretResponse(w http.ResponseWriter) error

type RevokePrincipalSecret409JSONResponse

type RevokePrincipalSecret409JSONResponse Error

func (RevokePrincipalSecret409JSONResponse) VisitRevokePrincipalSecretResponse

func (response RevokePrincipalSecret409JSONResponse) VisitRevokePrincipalSecretResponse(w http.ResponseWriter) error

type RevokePrincipalSecretRequestObject

type RevokePrincipalSecretRequestObject struct {
	PrincipalId PrincipalId `json:"principalId"`
	SecretId    string      `json:"secretId"`
}

type RevokePrincipalSecretResponse

type RevokePrincipalSecretResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
}

func ParseRevokePrincipalSecretResponse

func ParseRevokePrincipalSecretResponse(rsp *http.Response) (*RevokePrincipalSecretResponse, error)

ParseRevokePrincipalSecretResponse parses an HTTP response from a RevokePrincipalSecretWithResponse call

func (RevokePrincipalSecretResponse) ContentType

func (r RevokePrincipalSecretResponse) ContentType() string

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

func (RevokePrincipalSecretResponse) GetBody

func (r RevokePrincipalSecretResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RevokePrincipalSecretResponse) GetJSON401

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

func (RevokePrincipalSecretResponse) GetJSON403

func (r RevokePrincipalSecretResponse) GetJSON403() *Forbidden

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

func (RevokePrincipalSecretResponse) GetJSON404

func (r RevokePrincipalSecretResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (RevokePrincipalSecretResponse) GetJSON409

func (r RevokePrincipalSecretResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (RevokePrincipalSecretResponse) Status

Status returns HTTPResponse.Status

func (RevokePrincipalSecretResponse) StatusCode

func (r RevokePrincipalSecretResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RevokePrincipalSecretResponseObject

type RevokePrincipalSecretResponseObject interface {
	VisitRevokePrincipalSecretResponse(w http.ResponseWriter) error
}

type RewrapEncryption200JSONResponse

type RewrapEncryption200JSONResponse Encryption

func (RewrapEncryption200JSONResponse) VisitRewrapEncryptionResponse

func (response RewrapEncryption200JSONResponse) VisitRewrapEncryptionResponse(w http.ResponseWriter) error

type RewrapEncryption401JSONResponse

type RewrapEncryption401JSONResponse struct{ UnauthorizedJSONResponse }

func (RewrapEncryption401JSONResponse) VisitRewrapEncryptionResponse

func (response RewrapEncryption401JSONResponse) VisitRewrapEncryptionResponse(w http.ResponseWriter) error

type RewrapEncryption403JSONResponse

type RewrapEncryption403JSONResponse struct{ ForbiddenJSONResponse }

func (RewrapEncryption403JSONResponse) VisitRewrapEncryptionResponse

func (response RewrapEncryption403JSONResponse) VisitRewrapEncryptionResponse(w http.ResponseWriter) error

type RewrapEncryption409JSONResponse

type RewrapEncryption409JSONResponse Error

func (RewrapEncryption409JSONResponse) VisitRewrapEncryptionResponse

func (response RewrapEncryption409JSONResponse) VisitRewrapEncryptionResponse(w http.ResponseWriter) error

type RewrapEncryption502JSONResponse

type RewrapEncryption502JSONResponse Error

func (RewrapEncryption502JSONResponse) VisitRewrapEncryptionResponse

func (response RewrapEncryption502JSONResponse) VisitRewrapEncryptionResponse(w http.ResponseWriter) error

type RewrapEncryptionRequestObject

type RewrapEncryptionRequestObject struct {
}

type RewrapEncryptionResponse

type RewrapEncryptionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Encryption
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
}

func ParseRewrapEncryptionResponse

func ParseRewrapEncryptionResponse(rsp *http.Response) (*RewrapEncryptionResponse, error)

ParseRewrapEncryptionResponse parses an HTTP response from a RewrapEncryptionWithResponse call

func (RewrapEncryptionResponse) ContentType

func (r RewrapEncryptionResponse) ContentType() string

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

func (RewrapEncryptionResponse) GetBody

func (r RewrapEncryptionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RewrapEncryptionResponse) GetJSON200

func (r RewrapEncryptionResponse) GetJSON200() *Encryption

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (RewrapEncryptionResponse) GetJSON401

func (r RewrapEncryptionResponse) GetJSON401() *Unauthorized

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

func (RewrapEncryptionResponse) GetJSON403

func (r RewrapEncryptionResponse) GetJSON403() *Forbidden

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

func (RewrapEncryptionResponse) GetJSON409

func (r RewrapEncryptionResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (RewrapEncryptionResponse) GetJSON502

func (r RewrapEncryptionResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (RewrapEncryptionResponse) Status

func (r RewrapEncryptionResponse) Status() string

Status returns HTTPResponse.Status

func (RewrapEncryptionResponse) StatusCode

func (r RewrapEncryptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RewrapEncryptionResponseObject

type RewrapEncryptionResponseObject interface {
	VisitRewrapEncryptionResponse(w http.ResponseWriter) error
}

type Role

type Role string

Role The principal's authority within its scope. A caller may grant or modify only roles at or below its own.

const (
	Builder    Role = "builder"
	Maintainer Role = "maintainer"
	Publisher  Role = "publisher"
	Reader     Role = "reader"
	Root       Role = "root"
)

Defines values for Role.

func (Role) Valid

func (e Role) Valid() bool

Valid indicates whether the value is a known member of the Role enum.

type RotateEncryption200JSONResponse

type RotateEncryption200JSONResponse Encryption

func (RotateEncryption200JSONResponse) VisitRotateEncryptionResponse

func (response RotateEncryption200JSONResponse) VisitRotateEncryptionResponse(w http.ResponseWriter) error

type RotateEncryption401JSONResponse

type RotateEncryption401JSONResponse struct{ UnauthorizedJSONResponse }

func (RotateEncryption401JSONResponse) VisitRotateEncryptionResponse

func (response RotateEncryption401JSONResponse) VisitRotateEncryptionResponse(w http.ResponseWriter) error

type RotateEncryption403JSONResponse

type RotateEncryption403JSONResponse struct{ ForbiddenJSONResponse }

func (RotateEncryption403JSONResponse) VisitRotateEncryptionResponse

func (response RotateEncryption403JSONResponse) VisitRotateEncryptionResponse(w http.ResponseWriter) error

type RotateEncryption409JSONResponse

type RotateEncryption409JSONResponse Error

func (RotateEncryption409JSONResponse) VisitRotateEncryptionResponse

func (response RotateEncryption409JSONResponse) VisitRotateEncryptionResponse(w http.ResponseWriter) error

type RotateEncryption502JSONResponse

type RotateEncryption502JSONResponse Error

func (RotateEncryption502JSONResponse) VisitRotateEncryptionResponse

func (response RotateEncryption502JSONResponse) VisitRotateEncryptionResponse(w http.ResponseWriter) error

type RotateEncryptionRequestObject

type RotateEncryptionRequestObject struct {
}

type RotateEncryptionResponse

type RotateEncryptionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Encryption
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// JSON502 the response for an HTTP 502 `application/json` response
	JSON502 *Error
}

func ParseRotateEncryptionResponse

func ParseRotateEncryptionResponse(rsp *http.Response) (*RotateEncryptionResponse, error)

ParseRotateEncryptionResponse parses an HTTP response from a RotateEncryptionWithResponse call

func (RotateEncryptionResponse) ContentType

func (r RotateEncryptionResponse) ContentType() string

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

func (RotateEncryptionResponse) GetBody

func (r RotateEncryptionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RotateEncryptionResponse) GetJSON200

func (r RotateEncryptionResponse) GetJSON200() *Encryption

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (RotateEncryptionResponse) GetJSON401

func (r RotateEncryptionResponse) GetJSON401() *Unauthorized

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

func (RotateEncryptionResponse) GetJSON403

func (r RotateEncryptionResponse) GetJSON403() *Forbidden

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

func (RotateEncryptionResponse) GetJSON409

func (r RotateEncryptionResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (RotateEncryptionResponse) GetJSON502

func (r RotateEncryptionResponse) GetJSON502() *Error

GetJSON502 returns the response for an HTTP 502 `application/json` response

func (RotateEncryptionResponse) Status

func (r RotateEncryptionResponse) Status() string

Status returns HTTPResponse.Status

func (RotateEncryptionResponse) StatusCode

func (r RotateEncryptionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RotateEncryptionResponseObject

type RotateEncryptionResponseObject interface {
	VisitRotateEncryptionResponse(w http.ResponseWriter) error
}

type RunPluginPrune200JSONResponse added in v0.5.0

type RunPluginPrune200JSONResponse PluginPrune

func (RunPluginPrune200JSONResponse) VisitRunPluginPruneResponse added in v0.5.0

func (response RunPluginPrune200JSONResponse) VisitRunPluginPruneResponse(w http.ResponseWriter) error

type RunPluginPrune401JSONResponse added in v0.5.0

type RunPluginPrune401JSONResponse struct{ UnauthorizedJSONResponse }

func (RunPluginPrune401JSONResponse) VisitRunPluginPruneResponse added in v0.5.0

func (response RunPluginPrune401JSONResponse) VisitRunPluginPruneResponse(w http.ResponseWriter) error

type RunPluginPrune403JSONResponse added in v0.5.0

type RunPluginPrune403JSONResponse struct{ ForbiddenJSONResponse }

func (RunPluginPrune403JSONResponse) VisitRunPluginPruneResponse added in v0.5.0

func (response RunPluginPrune403JSONResponse) VisitRunPluginPruneResponse(w http.ResponseWriter) error

type RunPluginPrune404JSONResponse added in v0.5.0

type RunPluginPrune404JSONResponse struct{ NotFoundJSONResponse }

func (RunPluginPrune404JSONResponse) VisitRunPluginPruneResponse added in v0.5.0

func (response RunPluginPrune404JSONResponse) VisitRunPluginPruneResponse(w http.ResponseWriter) error

type RunPluginPrune409JSONResponse added in v0.5.0

type RunPluginPrune409JSONResponse Error

func (RunPluginPrune409JSONResponse) VisitRunPluginPruneResponse added in v0.5.0

func (response RunPluginPrune409JSONResponse) VisitRunPluginPruneResponse(w http.ResponseWriter) error

type RunPluginPruneRequestObject added in v0.5.0

type RunPluginPruneRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
}

type RunPluginPruneResponse added in v0.5.0

type RunPluginPruneResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PluginPrune
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
}

func ParseRunPluginPruneResponse added in v0.5.0

func ParseRunPluginPruneResponse(rsp *http.Response) (*RunPluginPruneResponse, error)

ParseRunPluginPruneResponse parses an HTTP response from a RunPluginPruneWithResponse call

func (RunPluginPruneResponse) ContentType added in v0.5.0

func (r RunPluginPruneResponse) ContentType() string

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

func (RunPluginPruneResponse) GetBody added in v0.5.0

func (r RunPluginPruneResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RunPluginPruneResponse) GetJSON200 added in v0.5.0

func (r RunPluginPruneResponse) GetJSON200() *PluginPrune

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (RunPluginPruneResponse) GetJSON401 added in v0.5.0

func (r RunPluginPruneResponse) GetJSON401() *Unauthorized

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

func (RunPluginPruneResponse) GetJSON403 added in v0.5.0

func (r RunPluginPruneResponse) GetJSON403() *Forbidden

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

func (RunPluginPruneResponse) GetJSON404 added in v0.5.0

func (r RunPluginPruneResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (RunPluginPruneResponse) GetJSON409 added in v0.5.0

func (r RunPluginPruneResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (RunPluginPruneResponse) Status added in v0.5.0

func (r RunPluginPruneResponse) Status() string

Status returns HTTPResponse.Status

func (RunPluginPruneResponse) StatusCode added in v0.5.0

func (r RunPluginPruneResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RunPluginPruneResponseObject added in v0.5.0

type RunPluginPruneResponseObject interface {
	VisitRunPluginPruneResponse(w http.ResponseWriter) error
}

type ScanAttempt added in v0.4.2

type ScanAttempt struct {
	Error      string            `json:"error"`
	ObservedAt time.Time         `json:"observed_at"`
	Status     ScanAttemptStatus `json:"status"`
}

ScanAttempt The build's newest scan attempt, present only when it is not the scan whose findings are current: an attempt that failed or was refused, so the findings shown are older than it.

type ScanAttemptStatus added in v0.4.2

type ScanAttemptStatus string

ScanAttemptStatus defines model for ScanAttempt.Status.

const (
	ScanAttemptStatusFailed    ScanAttemptStatus = "failed"
	ScanAttemptStatusSucceeded ScanAttemptStatus = "succeeded"
)

Defines values for ScanAttemptStatus.

func (ScanAttemptStatus) Valid added in v0.4.2

func (e ScanAttemptStatus) Valid() bool

Valid indicates whether the value is a known member of the ScanAttemptStatus enum.

type Scanner

type Scanner interface {
	Health() store.ScannerHealth
	ManualRescan(ctx context.Context, tenant store.Tenant, buildID string) error
}

Scanner is the scanner service as this plane needs it: remembered health, and a rescan request that enters the ordinary queue. A nil Scanner is a deployment with no adapter configured.

type ScannerHealth

type ScannerHealth struct {
	// Adapter Configured adapter, empty when disabled.
	Adapter string `json:"adapter"`

	// AuditCircuitOpenUntil When the audit circuit will next allow an attempt. Present only
	// while `audit_paused`; the backoff is jittered, so this is the
	// earliest attempt rather than a promise.
	AuditCircuitOpenUntil *time.Time `json:"audit_circuit_open_until,omitempty"`

	// Detail Why the state is degraded, as reported by the provider. Empty when healthy.
	Detail *string `json:"detail,omitempty"`

	// Endpoint Provider base URL as configured.
	Endpoint string `json:"endpoint"`

	// LastObservedAt When the reported state was observed. Absent if the scanner has not yet run.
	LastObservedAt *time.Time `json:"last_observed_at,omitempty"`

	// State The same state `/sys/health` reports, repeated so a caller needs one request.
	State ScannerHealthState `json:"state"`
}

ScannerHealth The detail deliberately withheld from `/sys/health`. Root only, because it names the external service this deployment talks to.

type ScannerHealthState

type ScannerHealthState string

ScannerHealthState The same state `/sys/health` reports, repeated so a caller needs one request.

const (
	ScannerHealthStateAuditPaused ScannerHealthState = "audit_paused"
	ScannerHealthStateDegraded    ScannerHealthState = "degraded"
	ScannerHealthStateDisabled    ScannerHealthState = "disabled"
	ScannerHealthStateOk          ScannerHealthState = "ok"
)

Defines values for ScannerHealthState.

func (ScannerHealthState) Valid

func (e ScannerHealthState) Valid() bool

Valid indicates whether the value is a known member of the ScannerHealthState enum.

type SecretIssued

type SecretIssued struct {
	CreatedAt time.Time `json:"created_at"`

	// ExpiresAt Null when the secret never expires.
	ExpiresAt *time.Time `json:"expires_at"`
	Id        string     `json:"id"`

	// Secret Shown once. Not retrievable.
	Secret string `json:"secret"`
}

SecretIssued defines model for SecretIssued.

type SecretMetadata

type SecretMetadata struct {
	CreatedAt time.Time `json:"created_at"`

	// ExpiresAt Null when the secret never expires. An expired secret stays listed
	// — 'expired on the 4th' beats 'authentication failed' — and is
	// removed only by revocation.
	ExpiresAt *time.Time `json:"expires_at"`
	Id        string     `json:"id"`

	// LastUsedAt Null when never used — which is how a failed rotation is spotted.
	LastUsedAt *time.Time `json:"last_used_at"`
}

SecretMetadata defines model for SecretMetadata.

type Self

type Self struct {
	BucketId       *string             `json:"bucket_id,omitempty"`
	Name           string              `json:"name"`
	OrganizationId *openapi_types.UUID `json:"organization_id,omitempty"`
	PrincipalId    string              `json:"principal_id"`
	ProjectId      *openapi_types.UUID `json:"project_id,omitempty"`

	// Role The principal's authority within its scope. A caller may grant or modify
	// only roles at or below its own.
	Role Role `json:"role"`
}

Self defines model for Self.

type ServeMux

type ServeMux interface {
	HandleFunc(pattern string, handler func(http.ResponseWriter, *http.Request))
	http.Handler
}

ServeMux is an abstraction of http.ServeMux.

type ServerInterface

type ServerInterface interface {
	// ListAuditTargets List configured audit file targets and their health
	// (GET /api/v1/audit/targets)
	ListAuditTargets(w http.ResponseWriter, r *http.Request)
	// CreateAuditTarget Enable an audit file target
	// (POST /api/v1/audit/targets)
	CreateAuditTarget(w http.ResponseWriter, r *http.Request)
	// DeleteAuditTarget Disable an audit file target
	// (DELETE /api/v1/audit/targets/{targetId})
	DeleteAuditTarget(w http.ResponseWriter, r *http.Request, targetId openapi_types.UUID)
	// GetEncryption Read keyring state and the remembered encryption health
	// (GET /api/v1/encryption)
	GetEncryption(w http.ResponseWriter, r *http.Request)
	// RewrapEncryption Rewrap every keyring entry under the key service's current KEK
	// (POST /api/v1/encryption/rewrap)
	RewrapEncryption(w http.ResponseWriter, r *http.Request)
	// RotateEncryption Mint a new data-key version for every keyring purpose
	// (POST /api/v1/encryption/rotate)
	RotateEncryption(w http.ResponseWriter, r *http.Request)
	// GetInstance Read build and backing-service state for this instance
	// (GET /api/v1/instance)
	GetInstance(w http.ResponseWriter, r *http.Request)
	// ListOrganizations List organizations visible to the caller
	// (GET /api/v1/organizations)
	ListOrganizations(w http.ResponseWriter, r *http.Request)
	// CreateOrganization Create an organization
	// (POST /api/v1/organizations)
	CreateOrganization(w http.ResponseWriter, r *http.Request)
	// DeleteOrganization Delete an empty organization
	// (DELETE /api/v1/organizations/{organizationId})
	DeleteOrganization(w http.ResponseWriter, r *http.Request, organizationId OrganizationId)
	// GetOrganization Get an organization
	// (GET /api/v1/organizations/{organizationId})
	GetOrganization(w http.ResponseWriter, r *http.Request, organizationId OrganizationId)
	// GetPluginRegistry Read the organization plugin registry lifecycle state
	// (GET /api/v1/organizations/{organizationId}/plugin-registry)
	GetPluginRegistry(w http.ResponseWriter, r *http.Request, organizationId OrganizationId)
	// GetPluginBundle Get the current plugin bundle export
	// (GET /api/v1/organizations/{organizationId}/plugin-registry/bundle)
	GetPluginBundle(w http.ResponseWriter, r *http.Request, organizationId OrganizationId)
	// DownloadPluginBundle Download the last successful plugin bundle
	// (GET /api/v1/organizations/{organizationId}/plugin-registry/bundle/download)
	DownloadPluginBundle(w http.ResponseWriter, r *http.Request, organizationId OrganizationId)
	// ExportPluginBundle Queue an export of the whole plugin registry
	// (POST /api/v1/organizations/{organizationId}/plugin-registry/bundle/export)
	ExportPluginBundle(w http.ResponseWriter, r *http.Request, organizationId OrganizationId)
	// GetPluginBundleImport Get the current plugin bundle import
	// (GET /api/v1/organizations/{organizationId}/plugin-registry/bundle/import)
	GetPluginBundleImport(w http.ResponseWriter, r *http.Request, organizationId OrganizationId)
	// ImportPluginBundle Upload a plugin bundle and queue its import
	// (PUT /api/v1/organizations/{organizationId}/plugin-registry/bundle/import)
	ImportPluginBundle(w http.ResponseWriter, r *http.Request, organizationId OrganizationId)
	// ResolveGithubRelease Resolve a GitHub release link to an exact tag
	// (POST /api/v1/organizations/{organizationId}/plugin-registry/catalogue/github/resolve)
	ResolveGithubRelease(w http.ResponseWriter, r *http.Request, organizationId OrganizationId)
	// ListHashicorpPlugins Packer plugins published on releases.hashicorp.com
	// (GET /api/v1/organizations/{organizationId}/plugin-registry/catalogue/hashicorp)
	ListHashicorpPlugins(w http.ResponseWriter, r *http.Request, organizationId OrganizationId)
	// ListHashicorpPluginVersions One page of a plugin's releases, newest first
	// (GET /api/v1/organizations/{organizationId}/plugin-registry/catalogue/hashicorp/{product})
	ListHashicorpPluginVersions(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, product string, params ListHashicorpPluginVersionsParams)
	// GetPluginDefaultPlatforms Platforms a first import of a plugin selects
	// (GET /api/v1/organizations/{organizationId}/plugin-registry/default-platforms)
	GetPluginDefaultPlatforms(w http.ResponseWriter, r *http.Request, organizationId OrganizationId)
	// SetPluginDefaultPlatforms Replace the platforms a first import selects
	// (PUT /api/v1/organizations/{organizationId}/plugin-registry/default-platforms)
	SetPluginDefaultPlatforms(w http.ResponseWriter, r *http.Request, organizationId OrganizationId)
	// DisablePluginRegistry Disable and delete the organization plugin registry
	// (POST /api/v1/organizations/{organizationId}/plugin-registry/disable)
	DisablePluginRegistry(w http.ResponseWriter, r *http.Request, organizationId OrganizationId)
	// EnablePluginRegistry Enable the organization plugin registry
	// (POST /api/v1/organizations/{organizationId}/plugin-registry/enable)
	EnablePluginRegistry(w http.ResponseWriter, r *http.Request, organizationId OrganizationId)
	// ExposePluginRegistry Expose the organization plugin registry for anonymous reads
	// (POST /api/v1/organizations/{organizationId}/plugin-registry/expose)
	ExposePluginRegistry(w http.ResponseWriter, r *http.Request, organizationId OrganizationId)
	// ListPluginImports The organization's jobs, newest first
	// (GET /api/v1/organizations/{organizationId}/plugin-registry/imports)
	ListPluginImports(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, params ListPluginImportsParams)
	// CreatePluginImport Queue an import of plugin versions from releases.hashicorp.com
	// (POST /api/v1/organizations/{organizationId}/plugin-registry/imports)
	CreatePluginImport(w http.ResponseWriter, r *http.Request, organizationId OrganizationId)
	// DeletePluginImport Clear a job
	// (DELETE /api/v1/organizations/{organizationId}/plugin-registry/imports/{importId})
	DeletePluginImport(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, importId openapi_types.UUID)
	// GetPluginImport An import job and the outcome of each version
	// (GET /api/v1/organizations/{organizationId}/plugin-registry/imports/{importId})
	GetPluginImport(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, importId openapi_types.UUID)
	// ListPlugins List the organization's plugins
	// (GET /api/v1/organizations/{organizationId}/plugin-registry/plugins)
	ListPlugins(w http.ResponseWriter, r *http.Request, organizationId OrganizationId)
	// GetPluginDownloads Get a plugin's download counts
	// (GET /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/downloads)
	GetPluginDownloads(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, pluginName PluginName)
	// SyncPlugin Apply one plugin's changes as one import job
	// (POST /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/sync)
	SyncPlugin(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, pluginName PluginName)
	// SetPluginUpdateCheck Turn a plugin's update check on or off
	// (PUT /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/update-check)
	SetPluginUpdateCheck(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, pluginName PluginName)
	// ListPluginVersions List a plugin's versions and the platforms each one serves
	// (GET /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/versions)
	ListPluginVersions(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, pluginName PluginName)
	// DeletePluginVersion Remove a plugin version and its files
	// (DELETE /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/versions/{version})
	DeletePluginVersion(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, pluginName PluginName, version PluginVersionNumber)
	// PublishPluginVersion Publish one plugin version from uploaded files
	// (PUT /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/versions/{version})
	PublishPluginVersion(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, pluginName PluginName, version PluginVersionNumber)
	// RestorePluginVersion Serve a revoked plugin version again
	// (POST /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/versions/{version}/restore)
	RestorePluginVersion(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, pluginName PluginName, version PluginVersionNumber)
	// RevokePluginVersion Stop serving a plugin version; restorable
	// (POST /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/versions/{version}/revoke)
	RevokePluginVersion(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, pluginName PluginName, version PluginVersionNumber)
	// GetPluginPrune The job-pruning schedule and what a run would clear now
	// (GET /api/v1/organizations/{organizationId}/plugin-registry/prune)
	GetPluginPrune(w http.ResponseWriter, r *http.Request, organizationId OrganizationId)
	// SetPluginPrune Replace the job-pruning schedule
	// (PUT /api/v1/organizations/{organizationId}/plugin-registry/prune)
	SetPluginPrune(w http.ResponseWriter, r *http.Request, organizationId OrganizationId)
	// RunPluginPrune Prune now
	// (POST /api/v1/organizations/{organizationId}/plugin-registry/prune/run)
	RunPluginPrune(w http.ResponseWriter, r *http.Request, organizationId OrganizationId)
	// SyncCatalogue Bring selected plugins up to their newest stable release
	// (POST /api/v1/organizations/{organizationId}/plugin-registry/sync)
	SyncCatalogue(w http.ResponseWriter, r *http.Request, organizationId OrganizationId)
	// UnexposePluginRegistry Stop anonymous reads from the organization plugin registry
	// (POST /api/v1/organizations/{organizationId}/plugin-registry/unexpose)
	UnexposePluginRegistry(w http.ResponseWriter, r *http.Request, organizationId OrganizationId)
	// ListProjects List projects in an organization
	// (GET /api/v1/organizations/{organizationId}/projects)
	ListProjects(w http.ResponseWriter, r *http.Request, organizationId OrganizationId)
	// CreateProject Create a project
	// (POST /api/v1/organizations/{organizationId}/projects)
	CreateProject(w http.ResponseWriter, r *http.Request, organizationId OrganizationId)
	// DeleteProject Delete an empty project
	// (DELETE /api/v1/organizations/{organizationId}/projects/{projectId})
	DeleteProject(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, projectId ProjectId)
	// GetProject Get a project
	// (GET /api/v1/organizations/{organizationId}/projects/{projectId})
	GetProject(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, projectId ProjectId)
	// DeleteBagDropConfig Remove a project's Bag Drop destination configuration
	// (DELETE /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop)
	DeleteBagDropConfig(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, projectId ProjectId)
	// GetBagDropConfig Read a project's Bag Drop destination configuration
	// (GET /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop)
	GetBagDropConfig(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, projectId ProjectId)
	// ListBagDropAssociations List buckets selected for Bag Drop
	// (GET /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/buckets)
	ListBagDropAssociations(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, projectId ProjectId)
	// DeleteBagDropAssociation Stop mirroring a bucket through Bag Drop
	// (DELETE /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/buckets/{bucketName})
	DeleteBagDropAssociation(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, projectId ProjectId, bucketName string)
	// SetBagDropAssociation Select a bucket for Bag Drop
	// (PUT /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/buckets/{bucketName})
	SetBagDropAssociation(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, projectId ProjectId, bucketName string)
	// DisableBagDrop Disable the configured destination without contacting it
	// (POST /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/disable)
	DisableBagDrop(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, projectId ProjectId)
	// EnableBagDrop Verify and enable the configured destination
	// (POST /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/enable)
	EnableBagDrop(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, projectId ProjectId)
	// ReconcileBagDrop Request prompt reconciliation of a project's Bag Drop associations
	// (POST /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/reconcile)
	ReconcileBagDrop(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, projectId ProjectId)
	// GetBagDropStatus Read Bag Drop dashboard status
	// (GET /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/status)
	GetBagDropStatus(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, projectId ProjectId)
	// VerifyBagDrop Resolve the configured destination and record the result
	// (POST /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/verify)
	VerifyBagDrop(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, projectId ProjectId)
	// GetBuildFindings Get stored findings for a build
	// (GET /api/v1/organizations/{organizationId}/projects/{projectId}/buckets/{bucketName}/versions/{fingerprint}/builds/{buildId}/findings)
	GetBuildFindings(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, projectId ProjectId, bucketName string, fingerprint string, buildId string)
	// GetVersionFindingsSummary Get stored findings summaries for a version
	// (GET /api/v1/organizations/{organizationId}/projects/{projectId}/buckets/{bucketName}/versions/{fingerprint}/findings-summary)
	GetVersionFindingsSummary(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, projectId ProjectId, bucketName string, fingerprint string)
	// RescanBuild Queue a build for rescanning
	// (POST /api/v1/organizations/{organizationId}/projects/{projectId}/builds/{buildId}/rescan)
	RescanBuild(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, projectId ProjectId, buildId string)
	// ListPins List pinned buckets for a project
	// (GET /api/v1/organizations/{organizationId}/projects/{projectId}/pins)
	ListPins(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, projectId ProjectId)
	// DeletePin Unpin a bucket
	// (DELETE /api/v1/organizations/{organizationId}/projects/{projectId}/pins/{bucketName})
	DeletePin(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, projectId ProjectId, bucketName string)
	// SetPin Pin a bucket to a project
	// (PUT /api/v1/organizations/{organizationId}/projects/{projectId}/pins/{bucketName})
	SetPin(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, projectId ProjectId, bucketName string)
	// ListWebhooks List a project's webhooks
	// (GET /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks)
	ListWebhooks(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, projectId ProjectId)
	// CreateWebhook Create and verify a project webhook
	// (POST /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks)
	CreateWebhook(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, projectId ProjectId)
	// DeleteWebhook Delete a project webhook
	// (DELETE /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId})
	DeleteWebhook(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId)
	// GetWebhook Read a project webhook
	// (GET /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId})
	GetWebhook(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId)
	// UpdateWebhook Update a project webhook
	// (PATCH /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId})
	UpdateWebhook(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId)
	// ListWebhookDeliveries List the webhook's last 100 deliveries
	// (GET /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId}/deliveries)
	ListWebhookDeliveries(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId)
	// VerifyWebhook Re-attempt a webhook activation handshake
	// (POST /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId}/verify)
	VerifyWebhook(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, projectId ProjectId, webhookId WebhookId)
	// ListOrganizationWebhooks List an organization's own webhooks
	// (GET /api/v1/organizations/{organizationId}/webhooks)
	ListOrganizationWebhooks(w http.ResponseWriter, r *http.Request, organizationId OrganizationId)
	// CreateOrganizationWebhook Create and verify a organization webhook
	// (POST /api/v1/organizations/{organizationId}/webhooks)
	CreateOrganizationWebhook(w http.ResponseWriter, r *http.Request, organizationId OrganizationId)
	// DeleteOrganizationWebhook Delete a organization webhook
	// (DELETE /api/v1/organizations/{organizationId}/webhooks/{webhookId})
	DeleteOrganizationWebhook(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, webhookId WebhookId)
	// GetOrganizationWebhook Read a organization webhook
	// (GET /api/v1/organizations/{organizationId}/webhooks/{webhookId})
	GetOrganizationWebhook(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, webhookId WebhookId)
	// UpdateOrganizationWebhook Update a organization webhook
	// (PATCH /api/v1/organizations/{organizationId}/webhooks/{webhookId})
	UpdateOrganizationWebhook(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, webhookId WebhookId)
	// ListOrganizationWebhookDeliveries List the webhook's last 100 deliveries
	// (GET /api/v1/organizations/{organizationId}/webhooks/{webhookId}/deliveries)
	ListOrganizationWebhookDeliveries(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, webhookId WebhookId)
	// VerifyOrganizationWebhook Re-attempt a webhook activation handshake
	// (POST /api/v1/organizations/{organizationId}/webhooks/{webhookId}/verify)
	VerifyOrganizationWebhook(w http.ResponseWriter, r *http.Request, organizationId OrganizationId, webhookId WebhookId)
	// ListPrincipals List service principals at a scope
	// (GET /api/v1/principals)
	ListPrincipals(w http.ResponseWriter, r *http.Request, params ListPrincipalsParams)
	// CreatePrincipal Create a service principal
	// (POST /api/v1/principals)
	CreatePrincipal(w http.ResponseWriter, r *http.Request)
	// DeletePrincipal Delete a service principal and revoke its secrets
	// (DELETE /api/v1/principals/{principalId})
	DeletePrincipal(w http.ResponseWriter, r *http.Request, principalId PrincipalId)
	// GetPrincipal Get a service principal
	// (GET /api/v1/principals/{principalId})
	GetPrincipal(w http.ResponseWriter, r *http.Request, principalId PrincipalId)
	// CreatePrincipalSecret Issue a secret
	// (POST /api/v1/principals/{principalId}/secrets)
	CreatePrincipalSecret(w http.ResponseWriter, r *http.Request, principalId PrincipalId)
	// RevokePrincipalSecret Revoke a secret
	// (DELETE /api/v1/principals/{principalId}/secrets/{secretId})
	RevokePrincipalSecret(w http.ResponseWriter, r *http.Request, principalId PrincipalId, secretId string)
	// GetScannerHealth Read scanner adapter health in detail
	// (GET /api/v1/scanner/health)
	GetScannerHealth(w http.ResponseWriter, r *http.Request)
	// GetSelf Read the current principal and its server-resolved role
	// (GET /api/v1/self)
	GetSelf(w http.ResponseWriter, r *http.Request)
	// Health Report whether this instance is initialized and able to serve
	// (GET /sys/health)
	Health(w http.ResponseWriter, r *http.Request)
	// Initialize Initialize an uninitialized instance
	// (POST /sys/init)
	Initialize(w http.ResponseWriter, r *http.Request)
	// Recover Recover administrative access by proving custody of the recovery shares
	// (POST /sys/recovery)
	Recover(w http.ResponseWriter, r *http.Request)
	// DeleteSession End the session by clearing the cookie
	// (DELETE /sys/session)
	DeleteSession(w http.ResponseWriter, r *http.Request)
	// ReadSession Exchange the session cookie for the access token it holds
	// (GET /sys/session)
	ReadSession(w http.ResponseWriter, r *http.Request)
	// CreateSession Persist the caller's token as an httpOnly session cookie
	// (POST /sys/session)
	CreateSession(w http.ResponseWriter, r *http.Request)
}

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) CreateAuditTarget

func (siw *ServerInterfaceWrapper) CreateAuditTarget(w http.ResponseWriter, r *http.Request)

CreateAuditTarget operation middleware

func (*ServerInterfaceWrapper) CreateOrganization

func (siw *ServerInterfaceWrapper) CreateOrganization(w http.ResponseWriter, r *http.Request)

CreateOrganization operation middleware

func (*ServerInterfaceWrapper) CreateOrganizationWebhook added in v0.5.0

func (siw *ServerInterfaceWrapper) CreateOrganizationWebhook(w http.ResponseWriter, r *http.Request)

CreateOrganizationWebhook operation middleware

func (*ServerInterfaceWrapper) CreatePluginImport added in v0.5.0

func (siw *ServerInterfaceWrapper) CreatePluginImport(w http.ResponseWriter, r *http.Request)

CreatePluginImport operation middleware

func (*ServerInterfaceWrapper) CreatePrincipal

func (siw *ServerInterfaceWrapper) CreatePrincipal(w http.ResponseWriter, r *http.Request)

CreatePrincipal operation middleware

func (*ServerInterfaceWrapper) CreatePrincipalSecret

func (siw *ServerInterfaceWrapper) CreatePrincipalSecret(w http.ResponseWriter, r *http.Request)

CreatePrincipalSecret operation middleware

func (*ServerInterfaceWrapper) CreateProject

func (siw *ServerInterfaceWrapper) CreateProject(w http.ResponseWriter, r *http.Request)

CreateProject operation middleware

func (*ServerInterfaceWrapper) CreateSession

func (siw *ServerInterfaceWrapper) CreateSession(w http.ResponseWriter, r *http.Request)

CreateSession operation middleware

func (*ServerInterfaceWrapper) CreateWebhook

func (siw *ServerInterfaceWrapper) CreateWebhook(w http.ResponseWriter, r *http.Request)

CreateWebhook operation middleware

func (*ServerInterfaceWrapper) DeleteAuditTarget

func (siw *ServerInterfaceWrapper) DeleteAuditTarget(w http.ResponseWriter, r *http.Request)

DeleteAuditTarget operation middleware

func (*ServerInterfaceWrapper) DeleteBagDropAssociation

func (siw *ServerInterfaceWrapper) DeleteBagDropAssociation(w http.ResponseWriter, r *http.Request)

DeleteBagDropAssociation operation middleware

func (*ServerInterfaceWrapper) DeleteBagDropConfig

func (siw *ServerInterfaceWrapper) DeleteBagDropConfig(w http.ResponseWriter, r *http.Request)

DeleteBagDropConfig operation middleware

func (*ServerInterfaceWrapper) DeleteOrganization

func (siw *ServerInterfaceWrapper) DeleteOrganization(w http.ResponseWriter, r *http.Request)

DeleteOrganization operation middleware

func (*ServerInterfaceWrapper) DeleteOrganizationWebhook added in v0.5.0

func (siw *ServerInterfaceWrapper) DeleteOrganizationWebhook(w http.ResponseWriter, r *http.Request)

DeleteOrganizationWebhook operation middleware

func (*ServerInterfaceWrapper) DeletePin

func (siw *ServerInterfaceWrapper) DeletePin(w http.ResponseWriter, r *http.Request)

DeletePin operation middleware

func (*ServerInterfaceWrapper) DeletePluginImport added in v0.5.0

func (siw *ServerInterfaceWrapper) DeletePluginImport(w http.ResponseWriter, r *http.Request)

DeletePluginImport operation middleware

func (*ServerInterfaceWrapper) DeletePluginVersion added in v0.5.0

func (siw *ServerInterfaceWrapper) DeletePluginVersion(w http.ResponseWriter, r *http.Request)

DeletePluginVersion operation middleware

func (*ServerInterfaceWrapper) DeletePrincipal

func (siw *ServerInterfaceWrapper) DeletePrincipal(w http.ResponseWriter, r *http.Request)

DeletePrincipal operation middleware

func (*ServerInterfaceWrapper) DeleteProject

func (siw *ServerInterfaceWrapper) DeleteProject(w http.ResponseWriter, r *http.Request)

DeleteProject operation middleware

func (*ServerInterfaceWrapper) DeleteSession

func (siw *ServerInterfaceWrapper) DeleteSession(w http.ResponseWriter, r *http.Request)

DeleteSession operation middleware

func (*ServerInterfaceWrapper) DeleteWebhook

func (siw *ServerInterfaceWrapper) DeleteWebhook(w http.ResponseWriter, r *http.Request)

DeleteWebhook operation middleware

func (*ServerInterfaceWrapper) DisableBagDrop

func (siw *ServerInterfaceWrapper) DisableBagDrop(w http.ResponseWriter, r *http.Request)

DisableBagDrop operation middleware

func (*ServerInterfaceWrapper) DisablePluginRegistry added in v0.5.0

func (siw *ServerInterfaceWrapper) DisablePluginRegistry(w http.ResponseWriter, r *http.Request)

DisablePluginRegistry operation middleware

func (*ServerInterfaceWrapper) DownloadPluginBundle added in v0.5.0

func (siw *ServerInterfaceWrapper) DownloadPluginBundle(w http.ResponseWriter, r *http.Request)

DownloadPluginBundle operation middleware

func (*ServerInterfaceWrapper) EnableBagDrop

func (siw *ServerInterfaceWrapper) EnableBagDrop(w http.ResponseWriter, r *http.Request)

EnableBagDrop operation middleware

func (*ServerInterfaceWrapper) EnablePluginRegistry added in v0.5.0

func (siw *ServerInterfaceWrapper) EnablePluginRegistry(w http.ResponseWriter, r *http.Request)

EnablePluginRegistry operation middleware

func (*ServerInterfaceWrapper) ExportPluginBundle added in v0.5.0

func (siw *ServerInterfaceWrapper) ExportPluginBundle(w http.ResponseWriter, r *http.Request)

ExportPluginBundle operation middleware

func (*ServerInterfaceWrapper) ExposePluginRegistry added in v0.5.0

func (siw *ServerInterfaceWrapper) ExposePluginRegistry(w http.ResponseWriter, r *http.Request)

ExposePluginRegistry operation middleware

func (*ServerInterfaceWrapper) GetBagDropConfig

func (siw *ServerInterfaceWrapper) GetBagDropConfig(w http.ResponseWriter, r *http.Request)

GetBagDropConfig operation middleware

func (*ServerInterfaceWrapper) GetBagDropStatus

func (siw *ServerInterfaceWrapper) GetBagDropStatus(w http.ResponseWriter, r *http.Request)

GetBagDropStatus operation middleware

func (*ServerInterfaceWrapper) GetBuildFindings added in v0.4.2

func (siw *ServerInterfaceWrapper) GetBuildFindings(w http.ResponseWriter, r *http.Request)

GetBuildFindings operation middleware

func (*ServerInterfaceWrapper) GetEncryption

func (siw *ServerInterfaceWrapper) GetEncryption(w http.ResponseWriter, r *http.Request)

GetEncryption operation middleware

func (*ServerInterfaceWrapper) GetInstance

func (siw *ServerInterfaceWrapper) GetInstance(w http.ResponseWriter, r *http.Request)

GetInstance operation middleware

func (*ServerInterfaceWrapper) GetOrganization

func (siw *ServerInterfaceWrapper) GetOrganization(w http.ResponseWriter, r *http.Request)

GetOrganization operation middleware

func (*ServerInterfaceWrapper) GetOrganizationWebhook added in v0.5.0

func (siw *ServerInterfaceWrapper) GetOrganizationWebhook(w http.ResponseWriter, r *http.Request)

GetOrganizationWebhook operation middleware

func (*ServerInterfaceWrapper) GetPluginBundle added in v0.5.0

func (siw *ServerInterfaceWrapper) GetPluginBundle(w http.ResponseWriter, r *http.Request)

GetPluginBundle operation middleware

func (*ServerInterfaceWrapper) GetPluginBundleImport added in v0.5.0

func (siw *ServerInterfaceWrapper) GetPluginBundleImport(w http.ResponseWriter, r *http.Request)

GetPluginBundleImport operation middleware

func (*ServerInterfaceWrapper) GetPluginDefaultPlatforms added in v0.5.0

func (siw *ServerInterfaceWrapper) GetPluginDefaultPlatforms(w http.ResponseWriter, r *http.Request)

GetPluginDefaultPlatforms operation middleware

func (*ServerInterfaceWrapper) GetPluginDownloads added in v0.5.0

func (siw *ServerInterfaceWrapper) GetPluginDownloads(w http.ResponseWriter, r *http.Request)

GetPluginDownloads operation middleware

func (*ServerInterfaceWrapper) GetPluginImport added in v0.5.0

func (siw *ServerInterfaceWrapper) GetPluginImport(w http.ResponseWriter, r *http.Request)

GetPluginImport operation middleware

func (*ServerInterfaceWrapper) GetPluginPrune added in v0.5.0

func (siw *ServerInterfaceWrapper) GetPluginPrune(w http.ResponseWriter, r *http.Request)

GetPluginPrune operation middleware

func (*ServerInterfaceWrapper) GetPluginRegistry added in v0.5.0

func (siw *ServerInterfaceWrapper) GetPluginRegistry(w http.ResponseWriter, r *http.Request)

GetPluginRegistry operation middleware

func (*ServerInterfaceWrapper) GetPrincipal

func (siw *ServerInterfaceWrapper) GetPrincipal(w http.ResponseWriter, r *http.Request)

GetPrincipal operation middleware

func (*ServerInterfaceWrapper) GetProject

func (siw *ServerInterfaceWrapper) GetProject(w http.ResponseWriter, r *http.Request)

GetProject operation middleware

func (*ServerInterfaceWrapper) GetScannerHealth

func (siw *ServerInterfaceWrapper) GetScannerHealth(w http.ResponseWriter, r *http.Request)

GetScannerHealth operation middleware

func (*ServerInterfaceWrapper) GetSelf

GetSelf operation middleware

func (*ServerInterfaceWrapper) GetVersionFindingsSummary added in v0.4.2

func (siw *ServerInterfaceWrapper) GetVersionFindingsSummary(w http.ResponseWriter, r *http.Request)

GetVersionFindingsSummary operation middleware

func (*ServerInterfaceWrapper) GetWebhook

func (siw *ServerInterfaceWrapper) GetWebhook(w http.ResponseWriter, r *http.Request)

GetWebhook operation middleware

func (*ServerInterfaceWrapper) Health

Health operation middleware

func (*ServerInterfaceWrapper) ImportPluginBundle added in v0.5.0

func (siw *ServerInterfaceWrapper) ImportPluginBundle(w http.ResponseWriter, r *http.Request)

ImportPluginBundle operation middleware

func (*ServerInterfaceWrapper) Initialize

func (siw *ServerInterfaceWrapper) Initialize(w http.ResponseWriter, r *http.Request)

Initialize operation middleware

func (*ServerInterfaceWrapper) ListAuditTargets

func (siw *ServerInterfaceWrapper) ListAuditTargets(w http.ResponseWriter, r *http.Request)

ListAuditTargets operation middleware

func (*ServerInterfaceWrapper) ListBagDropAssociations

func (siw *ServerInterfaceWrapper) ListBagDropAssociations(w http.ResponseWriter, r *http.Request)

ListBagDropAssociations operation middleware

func (*ServerInterfaceWrapper) ListHashicorpPluginVersions added in v0.5.0

func (siw *ServerInterfaceWrapper) ListHashicorpPluginVersions(w http.ResponseWriter, r *http.Request)

ListHashicorpPluginVersions operation middleware

func (*ServerInterfaceWrapper) ListHashicorpPlugins added in v0.5.0

func (siw *ServerInterfaceWrapper) ListHashicorpPlugins(w http.ResponseWriter, r *http.Request)

ListHashicorpPlugins operation middleware

func (*ServerInterfaceWrapper) ListOrganizationWebhookDeliveries added in v0.5.0

func (siw *ServerInterfaceWrapper) ListOrganizationWebhookDeliveries(w http.ResponseWriter, r *http.Request)

ListOrganizationWebhookDeliveries operation middleware

func (*ServerInterfaceWrapper) ListOrganizationWebhooks added in v0.5.0

func (siw *ServerInterfaceWrapper) ListOrganizationWebhooks(w http.ResponseWriter, r *http.Request)

ListOrganizationWebhooks operation middleware

func (*ServerInterfaceWrapper) ListOrganizations

func (siw *ServerInterfaceWrapper) ListOrganizations(w http.ResponseWriter, r *http.Request)

ListOrganizations operation middleware

func (*ServerInterfaceWrapper) ListPins

func (siw *ServerInterfaceWrapper) ListPins(w http.ResponseWriter, r *http.Request)

ListPins operation middleware

func (*ServerInterfaceWrapper) ListPluginImports added in v0.5.0

func (siw *ServerInterfaceWrapper) ListPluginImports(w http.ResponseWriter, r *http.Request)

ListPluginImports operation middleware

func (*ServerInterfaceWrapper) ListPluginVersions added in v0.5.0

func (siw *ServerInterfaceWrapper) ListPluginVersions(w http.ResponseWriter, r *http.Request)

ListPluginVersions operation middleware

func (*ServerInterfaceWrapper) ListPlugins added in v0.5.0

func (siw *ServerInterfaceWrapper) ListPlugins(w http.ResponseWriter, r *http.Request)

ListPlugins operation middleware

func (*ServerInterfaceWrapper) ListPrincipals

func (siw *ServerInterfaceWrapper) ListPrincipals(w http.ResponseWriter, r *http.Request)

ListPrincipals operation middleware

func (*ServerInterfaceWrapper) ListProjects

func (siw *ServerInterfaceWrapper) ListProjects(w http.ResponseWriter, r *http.Request)

ListProjects operation middleware

func (*ServerInterfaceWrapper) ListWebhookDeliveries

func (siw *ServerInterfaceWrapper) ListWebhookDeliveries(w http.ResponseWriter, r *http.Request)

ListWebhookDeliveries operation middleware

func (*ServerInterfaceWrapper) ListWebhooks

func (siw *ServerInterfaceWrapper) ListWebhooks(w http.ResponseWriter, r *http.Request)

ListWebhooks operation middleware

func (*ServerInterfaceWrapper) PublishPluginVersion added in v0.5.0

func (siw *ServerInterfaceWrapper) PublishPluginVersion(w http.ResponseWriter, r *http.Request)

PublishPluginVersion operation middleware

func (*ServerInterfaceWrapper) ReadSession

func (siw *ServerInterfaceWrapper) ReadSession(w http.ResponseWriter, r *http.Request)

ReadSession operation middleware

func (*ServerInterfaceWrapper) ReconcileBagDrop

func (siw *ServerInterfaceWrapper) ReconcileBagDrop(w http.ResponseWriter, r *http.Request)

ReconcileBagDrop operation middleware

func (*ServerInterfaceWrapper) Recover

Recover operation middleware

func (*ServerInterfaceWrapper) RescanBuild

func (siw *ServerInterfaceWrapper) RescanBuild(w http.ResponseWriter, r *http.Request)

RescanBuild operation middleware

func (*ServerInterfaceWrapper) ResolveGithubRelease added in v0.5.0

func (siw *ServerInterfaceWrapper) ResolveGithubRelease(w http.ResponseWriter, r *http.Request)

ResolveGithubRelease operation middleware

func (*ServerInterfaceWrapper) RestorePluginVersion added in v0.5.0

func (siw *ServerInterfaceWrapper) RestorePluginVersion(w http.ResponseWriter, r *http.Request)

RestorePluginVersion operation middleware

func (*ServerInterfaceWrapper) RevokePluginVersion added in v0.5.0

func (siw *ServerInterfaceWrapper) RevokePluginVersion(w http.ResponseWriter, r *http.Request)

RevokePluginVersion operation middleware

func (*ServerInterfaceWrapper) RevokePrincipalSecret

func (siw *ServerInterfaceWrapper) RevokePrincipalSecret(w http.ResponseWriter, r *http.Request)

RevokePrincipalSecret operation middleware

func (*ServerInterfaceWrapper) RewrapEncryption

func (siw *ServerInterfaceWrapper) RewrapEncryption(w http.ResponseWriter, r *http.Request)

RewrapEncryption operation middleware

func (*ServerInterfaceWrapper) RotateEncryption

func (siw *ServerInterfaceWrapper) RotateEncryption(w http.ResponseWriter, r *http.Request)

RotateEncryption operation middleware

func (*ServerInterfaceWrapper) RunPluginPrune added in v0.5.0

func (siw *ServerInterfaceWrapper) RunPluginPrune(w http.ResponseWriter, r *http.Request)

RunPluginPrune operation middleware

func (*ServerInterfaceWrapper) SetBagDropAssociation

func (siw *ServerInterfaceWrapper) SetBagDropAssociation(w http.ResponseWriter, r *http.Request)

SetBagDropAssociation operation middleware

func (*ServerInterfaceWrapper) SetPin

SetPin operation middleware

func (*ServerInterfaceWrapper) SetPluginDefaultPlatforms added in v0.5.0

func (siw *ServerInterfaceWrapper) SetPluginDefaultPlatforms(w http.ResponseWriter, r *http.Request)

SetPluginDefaultPlatforms operation middleware

func (*ServerInterfaceWrapper) SetPluginPrune added in v0.5.0

func (siw *ServerInterfaceWrapper) SetPluginPrune(w http.ResponseWriter, r *http.Request)

SetPluginPrune operation middleware

func (*ServerInterfaceWrapper) SetPluginUpdateCheck added in v0.5.0

func (siw *ServerInterfaceWrapper) SetPluginUpdateCheck(w http.ResponseWriter, r *http.Request)

SetPluginUpdateCheck operation middleware

func (*ServerInterfaceWrapper) SyncCatalogue added in v0.5.0

func (siw *ServerInterfaceWrapper) SyncCatalogue(w http.ResponseWriter, r *http.Request)

SyncCatalogue operation middleware

func (*ServerInterfaceWrapper) SyncPlugin added in v0.5.0

func (siw *ServerInterfaceWrapper) SyncPlugin(w http.ResponseWriter, r *http.Request)

SyncPlugin operation middleware

func (*ServerInterfaceWrapper) UnexposePluginRegistry added in v0.5.0

func (siw *ServerInterfaceWrapper) UnexposePluginRegistry(w http.ResponseWriter, r *http.Request)

UnexposePluginRegistry operation middleware

func (*ServerInterfaceWrapper) UpdateOrganizationWebhook added in v0.5.0

func (siw *ServerInterfaceWrapper) UpdateOrganizationWebhook(w http.ResponseWriter, r *http.Request)

UpdateOrganizationWebhook operation middleware

func (*ServerInterfaceWrapper) UpdateWebhook

func (siw *ServerInterfaceWrapper) UpdateWebhook(w http.ResponseWriter, r *http.Request)

UpdateWebhook operation middleware

func (*ServerInterfaceWrapper) VerifyBagDrop

func (siw *ServerInterfaceWrapper) VerifyBagDrop(w http.ResponseWriter, r *http.Request)

VerifyBagDrop operation middleware

func (*ServerInterfaceWrapper) VerifyOrganizationWebhook added in v0.5.0

func (siw *ServerInterfaceWrapper) VerifyOrganizationWebhook(w http.ResponseWriter, r *http.Request)

VerifyOrganizationWebhook operation middleware

func (*ServerInterfaceWrapper) VerifyWebhook

func (siw *ServerInterfaceWrapper) VerifyWebhook(w http.ResponseWriter, r *http.Request)

VerifyWebhook operation middleware

type SessionResponse

type SessionResponse struct {
	// AccessToken The token the cookie was holding
	AccessToken string `json:"access_token"`
}

SessionResponse defines model for SessionResponse.

type SetBagDropAssociation200JSONResponse

type SetBagDropAssociation200JSONResponse BagDropAssociation

func (SetBagDropAssociation200JSONResponse) VisitSetBagDropAssociationResponse

func (response SetBagDropAssociation200JSONResponse) VisitSetBagDropAssociationResponse(w http.ResponseWriter) error

type SetBagDropAssociation401JSONResponse

type SetBagDropAssociation401JSONResponse struct{ UnauthorizedJSONResponse }

func (SetBagDropAssociation401JSONResponse) VisitSetBagDropAssociationResponse

func (response SetBagDropAssociation401JSONResponse) VisitSetBagDropAssociationResponse(w http.ResponseWriter) error

type SetBagDropAssociation403JSONResponse

type SetBagDropAssociation403JSONResponse struct{ ForbiddenJSONResponse }

func (SetBagDropAssociation403JSONResponse) VisitSetBagDropAssociationResponse

func (response SetBagDropAssociation403JSONResponse) VisitSetBagDropAssociationResponse(w http.ResponseWriter) error

type SetBagDropAssociation404JSONResponse

type SetBagDropAssociation404JSONResponse Error

func (SetBagDropAssociation404JSONResponse) VisitSetBagDropAssociationResponse

func (response SetBagDropAssociation404JSONResponse) VisitSetBagDropAssociationResponse(w http.ResponseWriter) error

type SetBagDropAssociationRequestObject

type SetBagDropAssociationRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	ProjectId      ProjectId      `json:"projectId"`
	BucketName     string         `json:"bucketName"`
}

type SetBagDropAssociationResponse

type SetBagDropAssociationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *BagDropAssociation
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
}

func ParseSetBagDropAssociationResponse

func ParseSetBagDropAssociationResponse(rsp *http.Response) (*SetBagDropAssociationResponse, error)

ParseSetBagDropAssociationResponse parses an HTTP response from a SetBagDropAssociationWithResponse call

func (SetBagDropAssociationResponse) ContentType

func (r SetBagDropAssociationResponse) ContentType() string

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

func (SetBagDropAssociationResponse) GetBody

func (r SetBagDropAssociationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SetBagDropAssociationResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SetBagDropAssociationResponse) GetJSON401

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

func (SetBagDropAssociationResponse) GetJSON403

func (r SetBagDropAssociationResponse) GetJSON403() *Forbidden

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

func (SetBagDropAssociationResponse) GetJSON404

func (r SetBagDropAssociationResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (SetBagDropAssociationResponse) Status

Status returns HTTPResponse.Status

func (SetBagDropAssociationResponse) StatusCode

func (r SetBagDropAssociationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetBagDropAssociationResponseObject

type SetBagDropAssociationResponseObject interface {
	VisitSetBagDropAssociationResponse(w http.ResponseWriter) error
}

type SetPin200JSONResponse

type SetPin200JSONResponse Pin

func (SetPin200JSONResponse) VisitSetPinResponse

func (response SetPin200JSONResponse) VisitSetPinResponse(w http.ResponseWriter) error

type SetPin401JSONResponse

type SetPin401JSONResponse struct{ UnauthorizedJSONResponse }

func (SetPin401JSONResponse) VisitSetPinResponse

func (response SetPin401JSONResponse) VisitSetPinResponse(w http.ResponseWriter) error

type SetPin403JSONResponse

type SetPin403JSONResponse struct{ ForbiddenJSONResponse }

func (SetPin403JSONResponse) VisitSetPinResponse

func (response SetPin403JSONResponse) VisitSetPinResponse(w http.ResponseWriter) error

type SetPin404JSONResponse

type SetPin404JSONResponse Error

func (SetPin404JSONResponse) VisitSetPinResponse

func (response SetPin404JSONResponse) VisitSetPinResponse(w http.ResponseWriter) error

type SetPinRequestObject

type SetPinRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	ProjectId      ProjectId      `json:"projectId"`
	BucketName     string         `json:"bucketName"`
}

type SetPinResponse

type SetPinResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Pin
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *Error
}

func ParseSetPinResponse

func ParseSetPinResponse(rsp *http.Response) (*SetPinResponse, error)

ParseSetPinResponse parses an HTTP response from a SetPinWithResponse call

func (SetPinResponse) ContentType

func (r SetPinResponse) ContentType() string

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

func (SetPinResponse) GetBody

func (r SetPinResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SetPinResponse) GetJSON200

func (r SetPinResponse) GetJSON200() *Pin

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SetPinResponse) GetJSON401

func (r SetPinResponse) GetJSON401() *Unauthorized

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

func (SetPinResponse) GetJSON403

func (r SetPinResponse) GetJSON403() *Forbidden

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

func (SetPinResponse) GetJSON404

func (r SetPinResponse) GetJSON404() *Error

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (SetPinResponse) Status

func (r SetPinResponse) Status() string

Status returns HTTPResponse.Status

func (SetPinResponse) StatusCode

func (r SetPinResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetPinResponseObject

type SetPinResponseObject interface {
	VisitSetPinResponse(w http.ResponseWriter) error
}

type SetPluginDefaultPlatforms200JSONResponse added in v0.5.0

type SetPluginDefaultPlatforms200JSONResponse PluginPlatformList

func (SetPluginDefaultPlatforms200JSONResponse) VisitSetPluginDefaultPlatformsResponse added in v0.5.0

func (response SetPluginDefaultPlatforms200JSONResponse) VisitSetPluginDefaultPlatformsResponse(w http.ResponseWriter) error

type SetPluginDefaultPlatforms400JSONResponse added in v0.5.0

type SetPluginDefaultPlatforms400JSONResponse struct{ BadRequestJSONResponse }

func (SetPluginDefaultPlatforms400JSONResponse) VisitSetPluginDefaultPlatformsResponse added in v0.5.0

func (response SetPluginDefaultPlatforms400JSONResponse) VisitSetPluginDefaultPlatformsResponse(w http.ResponseWriter) error

type SetPluginDefaultPlatforms401JSONResponse added in v0.5.0

type SetPluginDefaultPlatforms401JSONResponse struct{ UnauthorizedJSONResponse }

func (SetPluginDefaultPlatforms401JSONResponse) VisitSetPluginDefaultPlatformsResponse added in v0.5.0

func (response SetPluginDefaultPlatforms401JSONResponse) VisitSetPluginDefaultPlatformsResponse(w http.ResponseWriter) error

type SetPluginDefaultPlatforms403JSONResponse added in v0.5.0

type SetPluginDefaultPlatforms403JSONResponse struct{ ForbiddenJSONResponse }

func (SetPluginDefaultPlatforms403JSONResponse) VisitSetPluginDefaultPlatformsResponse added in v0.5.0

func (response SetPluginDefaultPlatforms403JSONResponse) VisitSetPluginDefaultPlatformsResponse(w http.ResponseWriter) error

type SetPluginDefaultPlatforms404JSONResponse added in v0.5.0

type SetPluginDefaultPlatforms404JSONResponse struct{ NotFoundJSONResponse }

func (SetPluginDefaultPlatforms404JSONResponse) VisitSetPluginDefaultPlatformsResponse added in v0.5.0

func (response SetPluginDefaultPlatforms404JSONResponse) VisitSetPluginDefaultPlatformsResponse(w http.ResponseWriter) error

type SetPluginDefaultPlatforms409JSONResponse added in v0.5.0

type SetPluginDefaultPlatforms409JSONResponse Error

func (SetPluginDefaultPlatforms409JSONResponse) VisitSetPluginDefaultPlatformsResponse added in v0.5.0

func (response SetPluginDefaultPlatforms409JSONResponse) VisitSetPluginDefaultPlatformsResponse(w http.ResponseWriter) error

type SetPluginDefaultPlatformsJSONRequestBody added in v0.5.0

type SetPluginDefaultPlatformsJSONRequestBody = PluginPlatformList

SetPluginDefaultPlatformsJSONRequestBody defines body for SetPluginDefaultPlatforms for application/json ContentType.

type SetPluginDefaultPlatformsRequestObject added in v0.5.0

type SetPluginDefaultPlatformsRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	Body           *SetPluginDefaultPlatformsJSONRequestBody
}

type SetPluginDefaultPlatformsResponse added in v0.5.0

type SetPluginDefaultPlatformsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PluginPlatformList
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequest
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
}

func ParseSetPluginDefaultPlatformsResponse added in v0.5.0

func ParseSetPluginDefaultPlatformsResponse(rsp *http.Response) (*SetPluginDefaultPlatformsResponse, error)

ParseSetPluginDefaultPlatformsResponse parses an HTTP response from a SetPluginDefaultPlatformsWithResponse call

func (SetPluginDefaultPlatformsResponse) ContentType added in v0.5.0

func (r SetPluginDefaultPlatformsResponse) ContentType() string

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

func (SetPluginDefaultPlatformsResponse) GetBody added in v0.5.0

GetBody returns the raw response body bytes

func (SetPluginDefaultPlatformsResponse) GetJSON200 added in v0.5.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SetPluginDefaultPlatformsResponse) GetJSON400 added in v0.5.0

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (SetPluginDefaultPlatformsResponse) GetJSON401 added in v0.5.0

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

func (SetPluginDefaultPlatformsResponse) GetJSON403 added in v0.5.0

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

func (SetPluginDefaultPlatformsResponse) GetJSON404 added in v0.5.0

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (SetPluginDefaultPlatformsResponse) GetJSON409 added in v0.5.0

func (r SetPluginDefaultPlatformsResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (SetPluginDefaultPlatformsResponse) Status added in v0.5.0

Status returns HTTPResponse.Status

func (SetPluginDefaultPlatformsResponse) StatusCode added in v0.5.0

func (r SetPluginDefaultPlatformsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetPluginDefaultPlatformsResponseObject added in v0.5.0

type SetPluginDefaultPlatformsResponseObject interface {
	VisitSetPluginDefaultPlatformsResponse(w http.ResponseWriter) error
}

type SetPluginPrune200JSONResponse added in v0.5.0

type SetPluginPrune200JSONResponse PluginPrune

func (SetPluginPrune200JSONResponse) VisitSetPluginPruneResponse added in v0.5.0

func (response SetPluginPrune200JSONResponse) VisitSetPluginPruneResponse(w http.ResponseWriter) error

type SetPluginPrune400JSONResponse added in v0.5.0

type SetPluginPrune400JSONResponse struct{ BadRequestJSONResponse }

func (SetPluginPrune400JSONResponse) VisitSetPluginPruneResponse added in v0.5.0

func (response SetPluginPrune400JSONResponse) VisitSetPluginPruneResponse(w http.ResponseWriter) error

type SetPluginPrune401JSONResponse added in v0.5.0

type SetPluginPrune401JSONResponse struct{ UnauthorizedJSONResponse }

func (SetPluginPrune401JSONResponse) VisitSetPluginPruneResponse added in v0.5.0

func (response SetPluginPrune401JSONResponse) VisitSetPluginPruneResponse(w http.ResponseWriter) error

type SetPluginPrune403JSONResponse added in v0.5.0

type SetPluginPrune403JSONResponse struct{ ForbiddenJSONResponse }

func (SetPluginPrune403JSONResponse) VisitSetPluginPruneResponse added in v0.5.0

func (response SetPluginPrune403JSONResponse) VisitSetPluginPruneResponse(w http.ResponseWriter) error

type SetPluginPrune404JSONResponse added in v0.5.0

type SetPluginPrune404JSONResponse struct{ NotFoundJSONResponse }

func (SetPluginPrune404JSONResponse) VisitSetPluginPruneResponse added in v0.5.0

func (response SetPluginPrune404JSONResponse) VisitSetPluginPruneResponse(w http.ResponseWriter) error

type SetPluginPrune409JSONResponse added in v0.5.0

type SetPluginPrune409JSONResponse Error

func (SetPluginPrune409JSONResponse) VisitSetPluginPruneResponse added in v0.5.0

func (response SetPluginPrune409JSONResponse) VisitSetPluginPruneResponse(w http.ResponseWriter) error

type SetPluginPruneJSONRequestBody added in v0.5.0

type SetPluginPruneJSONRequestBody = PluginPruneRequest

SetPluginPruneJSONRequestBody defines body for SetPluginPrune for application/json ContentType.

type SetPluginPruneRequestObject added in v0.5.0

type SetPluginPruneRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	Body           *SetPluginPruneJSONRequestBody
}

type SetPluginPruneResponse added in v0.5.0

type SetPluginPruneResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PluginPrune
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequest
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
}

func ParseSetPluginPruneResponse added in v0.5.0

func ParseSetPluginPruneResponse(rsp *http.Response) (*SetPluginPruneResponse, error)

ParseSetPluginPruneResponse parses an HTTP response from a SetPluginPruneWithResponse call

func (SetPluginPruneResponse) ContentType added in v0.5.0

func (r SetPluginPruneResponse) ContentType() string

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

func (SetPluginPruneResponse) GetBody added in v0.5.0

func (r SetPluginPruneResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SetPluginPruneResponse) GetJSON200 added in v0.5.0

func (r SetPluginPruneResponse) GetJSON200() *PluginPrune

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SetPluginPruneResponse) GetJSON400 added in v0.5.0

func (r SetPluginPruneResponse) GetJSON400() *BadRequest

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (SetPluginPruneResponse) GetJSON401 added in v0.5.0

func (r SetPluginPruneResponse) GetJSON401() *Unauthorized

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

func (SetPluginPruneResponse) GetJSON403 added in v0.5.0

func (r SetPluginPruneResponse) GetJSON403() *Forbidden

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

func (SetPluginPruneResponse) GetJSON404 added in v0.5.0

func (r SetPluginPruneResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (SetPluginPruneResponse) GetJSON409 added in v0.5.0

func (r SetPluginPruneResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (SetPluginPruneResponse) Status added in v0.5.0

func (r SetPluginPruneResponse) Status() string

Status returns HTTPResponse.Status

func (SetPluginPruneResponse) StatusCode added in v0.5.0

func (r SetPluginPruneResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetPluginPruneResponseObject added in v0.5.0

type SetPluginPruneResponseObject interface {
	VisitSetPluginPruneResponse(w http.ResponseWriter) error
}

type SetPluginUpdateCheck204Response added in v0.5.0

type SetPluginUpdateCheck204Response struct {
}

func (SetPluginUpdateCheck204Response) VisitSetPluginUpdateCheckResponse added in v0.5.0

func (response SetPluginUpdateCheck204Response) VisitSetPluginUpdateCheckResponse(w http.ResponseWriter) error

type SetPluginUpdateCheck401JSONResponse added in v0.5.0

type SetPluginUpdateCheck401JSONResponse struct{ UnauthorizedJSONResponse }

func (SetPluginUpdateCheck401JSONResponse) VisitSetPluginUpdateCheckResponse added in v0.5.0

func (response SetPluginUpdateCheck401JSONResponse) VisitSetPluginUpdateCheckResponse(w http.ResponseWriter) error

type SetPluginUpdateCheck403JSONResponse added in v0.5.0

type SetPluginUpdateCheck403JSONResponse struct{ ForbiddenJSONResponse }

func (SetPluginUpdateCheck403JSONResponse) VisitSetPluginUpdateCheckResponse added in v0.5.0

func (response SetPluginUpdateCheck403JSONResponse) VisitSetPluginUpdateCheckResponse(w http.ResponseWriter) error

type SetPluginUpdateCheck404JSONResponse added in v0.5.0

type SetPluginUpdateCheck404JSONResponse struct{ NotFoundJSONResponse }

func (SetPluginUpdateCheck404JSONResponse) VisitSetPluginUpdateCheckResponse added in v0.5.0

func (response SetPluginUpdateCheck404JSONResponse) VisitSetPluginUpdateCheckResponse(w http.ResponseWriter) error

type SetPluginUpdateCheck409JSONResponse added in v0.5.0

type SetPluginUpdateCheck409JSONResponse Error

func (SetPluginUpdateCheck409JSONResponse) VisitSetPluginUpdateCheckResponse added in v0.5.0

func (response SetPluginUpdateCheck409JSONResponse) VisitSetPluginUpdateCheckResponse(w http.ResponseWriter) error

type SetPluginUpdateCheckJSONBody added in v0.5.0

type SetPluginUpdateCheckJSONBody struct {
	Enabled bool `json:"enabled"`
}

SetPluginUpdateCheckJSONBody defines parameters for SetPluginUpdateCheck.

type SetPluginUpdateCheckJSONRequestBody added in v0.5.0

type SetPluginUpdateCheckJSONRequestBody SetPluginUpdateCheckJSONBody

SetPluginUpdateCheckJSONRequestBody defines body for SetPluginUpdateCheck for application/json ContentType.

type SetPluginUpdateCheckRequestObject added in v0.5.0

type SetPluginUpdateCheckRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	PluginName     PluginName     `json:"pluginName"`
	Body           *SetPluginUpdateCheckJSONRequestBody
}

type SetPluginUpdateCheckResponse added in v0.5.0

type SetPluginUpdateCheckResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
}

func ParseSetPluginUpdateCheckResponse added in v0.5.0

func ParseSetPluginUpdateCheckResponse(rsp *http.Response) (*SetPluginUpdateCheckResponse, error)

ParseSetPluginUpdateCheckResponse parses an HTTP response from a SetPluginUpdateCheckWithResponse call

func (SetPluginUpdateCheckResponse) ContentType added in v0.5.0

func (r SetPluginUpdateCheckResponse) ContentType() string

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

func (SetPluginUpdateCheckResponse) GetBody added in v0.5.0

func (r SetPluginUpdateCheckResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SetPluginUpdateCheckResponse) GetJSON401 added in v0.5.0

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

func (SetPluginUpdateCheckResponse) GetJSON403 added in v0.5.0

func (r SetPluginUpdateCheckResponse) GetJSON403() *Forbidden

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

func (SetPluginUpdateCheckResponse) GetJSON404 added in v0.5.0

func (r SetPluginUpdateCheckResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (SetPluginUpdateCheckResponse) GetJSON409 added in v0.5.0

func (r SetPluginUpdateCheckResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (SetPluginUpdateCheckResponse) Status added in v0.5.0

Status returns HTTPResponse.Status

func (SetPluginUpdateCheckResponse) StatusCode added in v0.5.0

func (r SetPluginUpdateCheckResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetPluginUpdateCheckResponseObject added in v0.5.0

type SetPluginUpdateCheckResponseObject interface {
	VisitSetPluginUpdateCheckResponse(w http.ResponseWriter) error
}

type Severity added in v0.4.2

type Severity string

Severity defines model for Severity.

const (
	Critical   Severity = "critical"
	High       Severity = "high"
	Low        Severity = "low"
	Medium     Severity = "medium"
	Negligible Severity = "negligible"
	Unknown    Severity = "unknown"
)

Defines values for Severity.

func (Severity) Valid added in v0.4.2

func (e Severity) Valid() bool

Valid indicates whether the value is a known member of the Severity enum.

type SeverityCounts added in v0.4.2

type SeverityCounts struct {
	Critical   int `json:"critical"`
	High       int `json:"high"`
	Low        int `json:"low"`
	Medium     int `json:"medium"`
	Negligible int `json:"negligible"`
	Unknown    int `json:"unknown"`
}

SeverityCounts Every severity band is present, including bands with a zero count.

type StdHTTPServerOptions

type StdHTTPServerOptions struct {
	BaseURL          string
	BaseRouter       ServeMux
	Middlewares      []MiddlewareFunc
	ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err 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 StrictHandlerFunc func(ctx context.Context, w http.ResponseWriter, r *http.Request, request any) (any, error)

type StrictMiddlewareFunc

type StrictMiddlewareFunc func(f StrictHandlerFunc, operationID string) StrictHandlerFunc

type StrictServerInterface

type StrictServerInterface interface {
	// ListAuditTargets List configured audit file targets and their health
	// (GET /api/v1/audit/targets)
	ListAuditTargets(ctx context.Context, request ListAuditTargetsRequestObject) (ListAuditTargetsResponseObject, error)
	// CreateAuditTarget Enable an audit file target
	// (POST /api/v1/audit/targets)
	CreateAuditTarget(ctx context.Context, request CreateAuditTargetRequestObject) (CreateAuditTargetResponseObject, error)
	// DeleteAuditTarget Disable an audit file target
	// (DELETE /api/v1/audit/targets/{targetId})
	DeleteAuditTarget(ctx context.Context, request DeleteAuditTargetRequestObject) (DeleteAuditTargetResponseObject, error)
	// GetEncryption Read keyring state and the remembered encryption health
	// (GET /api/v1/encryption)
	GetEncryption(ctx context.Context, request GetEncryptionRequestObject) (GetEncryptionResponseObject, error)
	// RewrapEncryption Rewrap every keyring entry under the key service's current KEK
	// (POST /api/v1/encryption/rewrap)
	RewrapEncryption(ctx context.Context, request RewrapEncryptionRequestObject) (RewrapEncryptionResponseObject, error)
	// RotateEncryption Mint a new data-key version for every keyring purpose
	// (POST /api/v1/encryption/rotate)
	RotateEncryption(ctx context.Context, request RotateEncryptionRequestObject) (RotateEncryptionResponseObject, error)
	// GetInstance Read build and backing-service state for this instance
	// (GET /api/v1/instance)
	GetInstance(ctx context.Context, request GetInstanceRequestObject) (GetInstanceResponseObject, error)
	// ListOrganizations List organizations visible to the caller
	// (GET /api/v1/organizations)
	ListOrganizations(ctx context.Context, request ListOrganizationsRequestObject) (ListOrganizationsResponseObject, error)
	// CreateOrganization Create an organization
	// (POST /api/v1/organizations)
	CreateOrganization(ctx context.Context, request CreateOrganizationRequestObject) (CreateOrganizationResponseObject, error)
	// DeleteOrganization Delete an empty organization
	// (DELETE /api/v1/organizations/{organizationId})
	DeleteOrganization(ctx context.Context, request DeleteOrganizationRequestObject) (DeleteOrganizationResponseObject, error)
	// GetOrganization Get an organization
	// (GET /api/v1/organizations/{organizationId})
	GetOrganization(ctx context.Context, request GetOrganizationRequestObject) (GetOrganizationResponseObject, error)
	// GetPluginRegistry Read the organization plugin registry lifecycle state
	// (GET /api/v1/organizations/{organizationId}/plugin-registry)
	GetPluginRegistry(ctx context.Context, request GetPluginRegistryRequestObject) (GetPluginRegistryResponseObject, error)
	// GetPluginBundle Get the current plugin bundle export
	// (GET /api/v1/organizations/{organizationId}/plugin-registry/bundle)
	GetPluginBundle(ctx context.Context, request GetPluginBundleRequestObject) (GetPluginBundleResponseObject, error)
	// DownloadPluginBundle Download the last successful plugin bundle
	// (GET /api/v1/organizations/{organizationId}/plugin-registry/bundle/download)
	DownloadPluginBundle(ctx context.Context, request DownloadPluginBundleRequestObject) (DownloadPluginBundleResponseObject, error)
	// ExportPluginBundle Queue an export of the whole plugin registry
	// (POST /api/v1/organizations/{organizationId}/plugin-registry/bundle/export)
	ExportPluginBundle(ctx context.Context, request ExportPluginBundleRequestObject) (ExportPluginBundleResponseObject, error)
	// GetPluginBundleImport Get the current plugin bundle import
	// (GET /api/v1/organizations/{organizationId}/plugin-registry/bundle/import)
	GetPluginBundleImport(ctx context.Context, request GetPluginBundleImportRequestObject) (GetPluginBundleImportResponseObject, error)
	// ImportPluginBundle Upload a plugin bundle and queue its import
	// (PUT /api/v1/organizations/{organizationId}/plugin-registry/bundle/import)
	ImportPluginBundle(ctx context.Context, request ImportPluginBundleRequestObject) (ImportPluginBundleResponseObject, error)
	// ResolveGithubRelease Resolve a GitHub release link to an exact tag
	// (POST /api/v1/organizations/{organizationId}/plugin-registry/catalogue/github/resolve)
	ResolveGithubRelease(ctx context.Context, request ResolveGithubReleaseRequestObject) (ResolveGithubReleaseResponseObject, error)
	// ListHashicorpPlugins Packer plugins published on releases.hashicorp.com
	// (GET /api/v1/organizations/{organizationId}/plugin-registry/catalogue/hashicorp)
	ListHashicorpPlugins(ctx context.Context, request ListHashicorpPluginsRequestObject) (ListHashicorpPluginsResponseObject, error)
	// ListHashicorpPluginVersions One page of a plugin's releases, newest first
	// (GET /api/v1/organizations/{organizationId}/plugin-registry/catalogue/hashicorp/{product})
	ListHashicorpPluginVersions(ctx context.Context, request ListHashicorpPluginVersionsRequestObject) (ListHashicorpPluginVersionsResponseObject, error)
	// GetPluginDefaultPlatforms Platforms a first import of a plugin selects
	// (GET /api/v1/organizations/{organizationId}/plugin-registry/default-platforms)
	GetPluginDefaultPlatforms(ctx context.Context, request GetPluginDefaultPlatformsRequestObject) (GetPluginDefaultPlatformsResponseObject, error)
	// SetPluginDefaultPlatforms Replace the platforms a first import selects
	// (PUT /api/v1/organizations/{organizationId}/plugin-registry/default-platforms)
	SetPluginDefaultPlatforms(ctx context.Context, request SetPluginDefaultPlatformsRequestObject) (SetPluginDefaultPlatformsResponseObject, error)
	// DisablePluginRegistry Disable and delete the organization plugin registry
	// (POST /api/v1/organizations/{organizationId}/plugin-registry/disable)
	DisablePluginRegistry(ctx context.Context, request DisablePluginRegistryRequestObject) (DisablePluginRegistryResponseObject, error)
	// EnablePluginRegistry Enable the organization plugin registry
	// (POST /api/v1/organizations/{organizationId}/plugin-registry/enable)
	EnablePluginRegistry(ctx context.Context, request EnablePluginRegistryRequestObject) (EnablePluginRegistryResponseObject, error)
	// ExposePluginRegistry Expose the organization plugin registry for anonymous reads
	// (POST /api/v1/organizations/{organizationId}/plugin-registry/expose)
	ExposePluginRegistry(ctx context.Context, request ExposePluginRegistryRequestObject) (ExposePluginRegistryResponseObject, error)
	// ListPluginImports The organization's jobs, newest first
	// (GET /api/v1/organizations/{organizationId}/plugin-registry/imports)
	ListPluginImports(ctx context.Context, request ListPluginImportsRequestObject) (ListPluginImportsResponseObject, error)
	// CreatePluginImport Queue an import of plugin versions from releases.hashicorp.com
	// (POST /api/v1/organizations/{organizationId}/plugin-registry/imports)
	CreatePluginImport(ctx context.Context, request CreatePluginImportRequestObject) (CreatePluginImportResponseObject, error)
	// DeletePluginImport Clear a job
	// (DELETE /api/v1/organizations/{organizationId}/plugin-registry/imports/{importId})
	DeletePluginImport(ctx context.Context, request DeletePluginImportRequestObject) (DeletePluginImportResponseObject, error)
	// GetPluginImport An import job and the outcome of each version
	// (GET /api/v1/organizations/{organizationId}/plugin-registry/imports/{importId})
	GetPluginImport(ctx context.Context, request GetPluginImportRequestObject) (GetPluginImportResponseObject, error)
	// ListPlugins List the organization's plugins
	// (GET /api/v1/organizations/{organizationId}/plugin-registry/plugins)
	ListPlugins(ctx context.Context, request ListPluginsRequestObject) (ListPluginsResponseObject, error)
	// GetPluginDownloads Get a plugin's download counts
	// (GET /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/downloads)
	GetPluginDownloads(ctx context.Context, request GetPluginDownloadsRequestObject) (GetPluginDownloadsResponseObject, error)
	// SyncPlugin Apply one plugin's changes as one import job
	// (POST /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/sync)
	SyncPlugin(ctx context.Context, request SyncPluginRequestObject) (SyncPluginResponseObject, error)
	// SetPluginUpdateCheck Turn a plugin's update check on or off
	// (PUT /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/update-check)
	SetPluginUpdateCheck(ctx context.Context, request SetPluginUpdateCheckRequestObject) (SetPluginUpdateCheckResponseObject, error)
	// ListPluginVersions List a plugin's versions and the platforms each one serves
	// (GET /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/versions)
	ListPluginVersions(ctx context.Context, request ListPluginVersionsRequestObject) (ListPluginVersionsResponseObject, error)
	// DeletePluginVersion Remove a plugin version and its files
	// (DELETE /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/versions/{version})
	DeletePluginVersion(ctx context.Context, request DeletePluginVersionRequestObject) (DeletePluginVersionResponseObject, error)
	// PublishPluginVersion Publish one plugin version from uploaded files
	// (PUT /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/versions/{version})
	PublishPluginVersion(ctx context.Context, request PublishPluginVersionRequestObject) (PublishPluginVersionResponseObject, error)
	// RestorePluginVersion Serve a revoked plugin version again
	// (POST /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/versions/{version}/restore)
	RestorePluginVersion(ctx context.Context, request RestorePluginVersionRequestObject) (RestorePluginVersionResponseObject, error)
	// RevokePluginVersion Stop serving a plugin version; restorable
	// (POST /api/v1/organizations/{organizationId}/plugin-registry/plugins/{pluginName}/versions/{version}/revoke)
	RevokePluginVersion(ctx context.Context, request RevokePluginVersionRequestObject) (RevokePluginVersionResponseObject, error)
	// GetPluginPrune The job-pruning schedule and what a run would clear now
	// (GET /api/v1/organizations/{organizationId}/plugin-registry/prune)
	GetPluginPrune(ctx context.Context, request GetPluginPruneRequestObject) (GetPluginPruneResponseObject, error)
	// SetPluginPrune Replace the job-pruning schedule
	// (PUT /api/v1/organizations/{organizationId}/plugin-registry/prune)
	SetPluginPrune(ctx context.Context, request SetPluginPruneRequestObject) (SetPluginPruneResponseObject, error)
	// RunPluginPrune Prune now
	// (POST /api/v1/organizations/{organizationId}/plugin-registry/prune/run)
	RunPluginPrune(ctx context.Context, request RunPluginPruneRequestObject) (RunPluginPruneResponseObject, error)
	// SyncCatalogue Bring selected plugins up to their newest stable release
	// (POST /api/v1/organizations/{organizationId}/plugin-registry/sync)
	SyncCatalogue(ctx context.Context, request SyncCatalogueRequestObject) (SyncCatalogueResponseObject, error)
	// UnexposePluginRegistry Stop anonymous reads from the organization plugin registry
	// (POST /api/v1/organizations/{organizationId}/plugin-registry/unexpose)
	UnexposePluginRegistry(ctx context.Context, request UnexposePluginRegistryRequestObject) (UnexposePluginRegistryResponseObject, error)
	// ListProjects List projects in an organization
	// (GET /api/v1/organizations/{organizationId}/projects)
	ListProjects(ctx context.Context, request ListProjectsRequestObject) (ListProjectsResponseObject, error)
	// CreateProject Create a project
	// (POST /api/v1/organizations/{organizationId}/projects)
	CreateProject(ctx context.Context, request CreateProjectRequestObject) (CreateProjectResponseObject, error)
	// DeleteProject Delete an empty project
	// (DELETE /api/v1/organizations/{organizationId}/projects/{projectId})
	DeleteProject(ctx context.Context, request DeleteProjectRequestObject) (DeleteProjectResponseObject, error)
	// GetProject Get a project
	// (GET /api/v1/organizations/{organizationId}/projects/{projectId})
	GetProject(ctx context.Context, request GetProjectRequestObject) (GetProjectResponseObject, error)
	// DeleteBagDropConfig Remove a project's Bag Drop destination configuration
	// (DELETE /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop)
	DeleteBagDropConfig(ctx context.Context, request DeleteBagDropConfigRequestObject) (DeleteBagDropConfigResponseObject, error)
	// GetBagDropConfig Read a project's Bag Drop destination configuration
	// (GET /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop)
	GetBagDropConfig(ctx context.Context, request GetBagDropConfigRequestObject) (GetBagDropConfigResponseObject, error)
	// ListBagDropAssociations List buckets selected for Bag Drop
	// (GET /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/buckets)
	ListBagDropAssociations(ctx context.Context, request ListBagDropAssociationsRequestObject) (ListBagDropAssociationsResponseObject, error)
	// DeleteBagDropAssociation Stop mirroring a bucket through Bag Drop
	// (DELETE /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/buckets/{bucketName})
	DeleteBagDropAssociation(ctx context.Context, request DeleteBagDropAssociationRequestObject) (DeleteBagDropAssociationResponseObject, error)
	// SetBagDropAssociation Select a bucket for Bag Drop
	// (PUT /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/buckets/{bucketName})
	SetBagDropAssociation(ctx context.Context, request SetBagDropAssociationRequestObject) (SetBagDropAssociationResponseObject, error)
	// DisableBagDrop Disable the configured destination without contacting it
	// (POST /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/disable)
	DisableBagDrop(ctx context.Context, request DisableBagDropRequestObject) (DisableBagDropResponseObject, error)
	// EnableBagDrop Verify and enable the configured destination
	// (POST /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/enable)
	EnableBagDrop(ctx context.Context, request EnableBagDropRequestObject) (EnableBagDropResponseObject, error)
	// ReconcileBagDrop Request prompt reconciliation of a project's Bag Drop associations
	// (POST /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/reconcile)
	ReconcileBagDrop(ctx context.Context, request ReconcileBagDropRequestObject) (ReconcileBagDropResponseObject, error)
	// GetBagDropStatus Read Bag Drop dashboard status
	// (GET /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/status)
	GetBagDropStatus(ctx context.Context, request GetBagDropStatusRequestObject) (GetBagDropStatusResponseObject, error)
	// VerifyBagDrop Resolve the configured destination and record the result
	// (POST /api/v1/organizations/{organizationId}/projects/{projectId}/bagdrop/verify)
	VerifyBagDrop(ctx context.Context, request VerifyBagDropRequestObject) (VerifyBagDropResponseObject, error)
	// GetBuildFindings Get stored findings for a build
	// (GET /api/v1/organizations/{organizationId}/projects/{projectId}/buckets/{bucketName}/versions/{fingerprint}/builds/{buildId}/findings)
	GetBuildFindings(ctx context.Context, request GetBuildFindingsRequestObject) (GetBuildFindingsResponseObject, error)
	// GetVersionFindingsSummary Get stored findings summaries for a version
	// (GET /api/v1/organizations/{organizationId}/projects/{projectId}/buckets/{bucketName}/versions/{fingerprint}/findings-summary)
	GetVersionFindingsSummary(ctx context.Context, request GetVersionFindingsSummaryRequestObject) (GetVersionFindingsSummaryResponseObject, error)
	// RescanBuild Queue a build for rescanning
	// (POST /api/v1/organizations/{organizationId}/projects/{projectId}/builds/{buildId}/rescan)
	RescanBuild(ctx context.Context, request RescanBuildRequestObject) (RescanBuildResponseObject, error)
	// ListPins List pinned buckets for a project
	// (GET /api/v1/organizations/{organizationId}/projects/{projectId}/pins)
	ListPins(ctx context.Context, request ListPinsRequestObject) (ListPinsResponseObject, error)
	// DeletePin Unpin a bucket
	// (DELETE /api/v1/organizations/{organizationId}/projects/{projectId}/pins/{bucketName})
	DeletePin(ctx context.Context, request DeletePinRequestObject) (DeletePinResponseObject, error)
	// SetPin Pin a bucket to a project
	// (PUT /api/v1/organizations/{organizationId}/projects/{projectId}/pins/{bucketName})
	SetPin(ctx context.Context, request SetPinRequestObject) (SetPinResponseObject, error)
	// ListWebhooks List a project's webhooks
	// (GET /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks)
	ListWebhooks(ctx context.Context, request ListWebhooksRequestObject) (ListWebhooksResponseObject, error)
	// CreateWebhook Create and verify a project webhook
	// (POST /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks)
	CreateWebhook(ctx context.Context, request CreateWebhookRequestObject) (CreateWebhookResponseObject, error)
	// DeleteWebhook Delete a project webhook
	// (DELETE /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId})
	DeleteWebhook(ctx context.Context, request DeleteWebhookRequestObject) (DeleteWebhookResponseObject, error)
	// GetWebhook Read a project webhook
	// (GET /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId})
	GetWebhook(ctx context.Context, request GetWebhookRequestObject) (GetWebhookResponseObject, error)
	// UpdateWebhook Update a project webhook
	// (PATCH /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId})
	UpdateWebhook(ctx context.Context, request UpdateWebhookRequestObject) (UpdateWebhookResponseObject, error)
	// ListWebhookDeliveries List the webhook's last 100 deliveries
	// (GET /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId}/deliveries)
	ListWebhookDeliveries(ctx context.Context, request ListWebhookDeliveriesRequestObject) (ListWebhookDeliveriesResponseObject, error)
	// VerifyWebhook Re-attempt a webhook activation handshake
	// (POST /api/v1/organizations/{organizationId}/projects/{projectId}/webhooks/{webhookId}/verify)
	VerifyWebhook(ctx context.Context, request VerifyWebhookRequestObject) (VerifyWebhookResponseObject, error)
	// ListOrganizationWebhooks List an organization's own webhooks
	// (GET /api/v1/organizations/{organizationId}/webhooks)
	ListOrganizationWebhooks(ctx context.Context, request ListOrganizationWebhooksRequestObject) (ListOrganizationWebhooksResponseObject, error)
	// CreateOrganizationWebhook Create and verify a organization webhook
	// (POST /api/v1/organizations/{organizationId}/webhooks)
	CreateOrganizationWebhook(ctx context.Context, request CreateOrganizationWebhookRequestObject) (CreateOrganizationWebhookResponseObject, error)
	// DeleteOrganizationWebhook Delete a organization webhook
	// (DELETE /api/v1/organizations/{organizationId}/webhooks/{webhookId})
	DeleteOrganizationWebhook(ctx context.Context, request DeleteOrganizationWebhookRequestObject) (DeleteOrganizationWebhookResponseObject, error)
	// GetOrganizationWebhook Read a organization webhook
	// (GET /api/v1/organizations/{organizationId}/webhooks/{webhookId})
	GetOrganizationWebhook(ctx context.Context, request GetOrganizationWebhookRequestObject) (GetOrganizationWebhookResponseObject, error)
	// UpdateOrganizationWebhook Update a organization webhook
	// (PATCH /api/v1/organizations/{organizationId}/webhooks/{webhookId})
	UpdateOrganizationWebhook(ctx context.Context, request UpdateOrganizationWebhookRequestObject) (UpdateOrganizationWebhookResponseObject, error)
	// ListOrganizationWebhookDeliveries List the webhook's last 100 deliveries
	// (GET /api/v1/organizations/{organizationId}/webhooks/{webhookId}/deliveries)
	ListOrganizationWebhookDeliveries(ctx context.Context, request ListOrganizationWebhookDeliveriesRequestObject) (ListOrganizationWebhookDeliveriesResponseObject, error)
	// VerifyOrganizationWebhook Re-attempt a webhook activation handshake
	// (POST /api/v1/organizations/{organizationId}/webhooks/{webhookId}/verify)
	VerifyOrganizationWebhook(ctx context.Context, request VerifyOrganizationWebhookRequestObject) (VerifyOrganizationWebhookResponseObject, error)
	// ListPrincipals List service principals at a scope
	// (GET /api/v1/principals)
	ListPrincipals(ctx context.Context, request ListPrincipalsRequestObject) (ListPrincipalsResponseObject, error)
	// CreatePrincipal Create a service principal
	// (POST /api/v1/principals)
	CreatePrincipal(ctx context.Context, request CreatePrincipalRequestObject) (CreatePrincipalResponseObject, error)
	// DeletePrincipal Delete a service principal and revoke its secrets
	// (DELETE /api/v1/principals/{principalId})
	DeletePrincipal(ctx context.Context, request DeletePrincipalRequestObject) (DeletePrincipalResponseObject, error)
	// GetPrincipal Get a service principal
	// (GET /api/v1/principals/{principalId})
	GetPrincipal(ctx context.Context, request GetPrincipalRequestObject) (GetPrincipalResponseObject, error)
	// CreatePrincipalSecret Issue a secret
	// (POST /api/v1/principals/{principalId}/secrets)
	CreatePrincipalSecret(ctx context.Context, request CreatePrincipalSecretRequestObject) (CreatePrincipalSecretResponseObject, error)
	// RevokePrincipalSecret Revoke a secret
	// (DELETE /api/v1/principals/{principalId}/secrets/{secretId})
	RevokePrincipalSecret(ctx context.Context, request RevokePrincipalSecretRequestObject) (RevokePrincipalSecretResponseObject, error)
	// GetScannerHealth Read scanner adapter health in detail
	// (GET /api/v1/scanner/health)
	GetScannerHealth(ctx context.Context, request GetScannerHealthRequestObject) (GetScannerHealthResponseObject, error)
	// GetSelf Read the current principal and its server-resolved role
	// (GET /api/v1/self)
	GetSelf(ctx context.Context, request GetSelfRequestObject) (GetSelfResponseObject, error)
	// Health Report whether this instance is initialized and able to serve
	// (GET /sys/health)
	Health(ctx context.Context, request HealthRequestObject) (HealthResponseObject, error)
	// Initialize Initialize an uninitialized instance
	// (POST /sys/init)
	Initialize(ctx context.Context, request InitializeRequestObject) (InitializeResponseObject, error)
	// Recover Recover administrative access by proving custody of the recovery shares
	// (POST /sys/recovery)
	Recover(ctx context.Context, request RecoverRequestObject) (RecoverResponseObject, error)
	// DeleteSession End the session by clearing the cookie
	// (DELETE /sys/session)
	DeleteSession(ctx context.Context, request DeleteSessionRequestObject) (DeleteSessionResponseObject, error)
	// ReadSession Exchange the session cookie for the access token it holds
	// (GET /sys/session)
	ReadSession(ctx context.Context, request ReadSessionRequestObject) (ReadSessionResponseObject, error)
	// CreateSession Persist the caller's token as an httpOnly session cookie
	// (POST /sys/session)
	CreateSession(ctx context.Context, request CreateSessionRequestObject) (CreateSessionResponseObject, error)
}

StrictServerInterface represents all server handlers.

type SyncCatalogue200JSONResponse added in v0.5.0

type SyncCatalogue200JSONResponse struct {
	Results []CatalogueSyncResult `json:"results"`
}

func (SyncCatalogue200JSONResponse) VisitSyncCatalogueResponse added in v0.5.0

func (response SyncCatalogue200JSONResponse) VisitSyncCatalogueResponse(w http.ResponseWriter) error

type SyncCatalogue400JSONResponse added in v0.5.0

type SyncCatalogue400JSONResponse struct{ BadRequestJSONResponse }

func (SyncCatalogue400JSONResponse) VisitSyncCatalogueResponse added in v0.5.0

func (response SyncCatalogue400JSONResponse) VisitSyncCatalogueResponse(w http.ResponseWriter) error

type SyncCatalogue401JSONResponse added in v0.5.0

type SyncCatalogue401JSONResponse struct{ UnauthorizedJSONResponse }

func (SyncCatalogue401JSONResponse) VisitSyncCatalogueResponse added in v0.5.0

func (response SyncCatalogue401JSONResponse) VisitSyncCatalogueResponse(w http.ResponseWriter) error

type SyncCatalogue403JSONResponse added in v0.5.0

type SyncCatalogue403JSONResponse struct{ ForbiddenJSONResponse }

func (SyncCatalogue403JSONResponse) VisitSyncCatalogueResponse added in v0.5.0

func (response SyncCatalogue403JSONResponse) VisitSyncCatalogueResponse(w http.ResponseWriter) error

type SyncCatalogue404JSONResponse added in v0.5.0

type SyncCatalogue404JSONResponse struct{ NotFoundJSONResponse }

func (SyncCatalogue404JSONResponse) VisitSyncCatalogueResponse added in v0.5.0

func (response SyncCatalogue404JSONResponse) VisitSyncCatalogueResponse(w http.ResponseWriter) error

type SyncCatalogue409JSONResponse added in v0.5.0

type SyncCatalogue409JSONResponse Error

func (SyncCatalogue409JSONResponse) VisitSyncCatalogueResponse added in v0.5.0

func (response SyncCatalogue409JSONResponse) VisitSyncCatalogueResponse(w http.ResponseWriter) error

type SyncCatalogueJSONBody added in v0.5.0

type SyncCatalogueJSONBody struct {
	Plugins []string `json:"plugins"`
}

SyncCatalogueJSONBody defines parameters for SyncCatalogue.

type SyncCatalogueJSONRequestBody added in v0.5.0

type SyncCatalogueJSONRequestBody SyncCatalogueJSONBody

SyncCatalogueJSONRequestBody defines body for SyncCatalogue for application/json ContentType.

type SyncCatalogueRequestObject added in v0.5.0

type SyncCatalogueRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	Body           *SyncCatalogueJSONRequestBody
}

type SyncCatalogueResponse added in v0.5.0

type SyncCatalogueResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		Results []CatalogueSyncResult `json:"results"`
	}
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequest
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
}

func ParseSyncCatalogueResponse added in v0.5.0

func ParseSyncCatalogueResponse(rsp *http.Response) (*SyncCatalogueResponse, error)

ParseSyncCatalogueResponse parses an HTTP response from a SyncCatalogueWithResponse call

func (SyncCatalogueResponse) ContentType added in v0.5.0

func (r SyncCatalogueResponse) ContentType() string

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

func (SyncCatalogueResponse) GetBody added in v0.5.0

func (r SyncCatalogueResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SyncCatalogueResponse) GetJSON200 added in v0.5.0

func (r SyncCatalogueResponse) GetJSON200() *struct {
	Results []CatalogueSyncResult `json:"results"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SyncCatalogueResponse) GetJSON400 added in v0.5.0

func (r SyncCatalogueResponse) GetJSON400() *BadRequest

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (SyncCatalogueResponse) GetJSON401 added in v0.5.0

func (r SyncCatalogueResponse) GetJSON401() *Unauthorized

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

func (SyncCatalogueResponse) GetJSON403 added in v0.5.0

func (r SyncCatalogueResponse) GetJSON403() *Forbidden

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

func (SyncCatalogueResponse) GetJSON404 added in v0.5.0

func (r SyncCatalogueResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (SyncCatalogueResponse) GetJSON409 added in v0.5.0

func (r SyncCatalogueResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (SyncCatalogueResponse) Status added in v0.5.0

func (r SyncCatalogueResponse) Status() string

Status returns HTTPResponse.Status

func (SyncCatalogueResponse) StatusCode added in v0.5.0

func (r SyncCatalogueResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SyncCatalogueResponseObject added in v0.5.0

type SyncCatalogueResponseObject interface {
	VisitSyncCatalogueResponse(w http.ResponseWriter) error
}

type SyncPlugin202JSONResponse added in v0.5.0

type SyncPlugin202JSONResponse PluginImport

func (SyncPlugin202JSONResponse) VisitSyncPluginResponse added in v0.5.0

func (response SyncPlugin202JSONResponse) VisitSyncPluginResponse(w http.ResponseWriter) error

type SyncPlugin400JSONResponse added in v0.5.0

type SyncPlugin400JSONResponse struct{ BadRequestJSONResponse }

func (SyncPlugin400JSONResponse) VisitSyncPluginResponse added in v0.5.0

func (response SyncPlugin400JSONResponse) VisitSyncPluginResponse(w http.ResponseWriter) error

type SyncPlugin401JSONResponse added in v0.5.0

type SyncPlugin401JSONResponse struct{ UnauthorizedJSONResponse }

func (SyncPlugin401JSONResponse) VisitSyncPluginResponse added in v0.5.0

func (response SyncPlugin401JSONResponse) VisitSyncPluginResponse(w http.ResponseWriter) error

type SyncPlugin403JSONResponse added in v0.5.0

type SyncPlugin403JSONResponse struct{ ForbiddenJSONResponse }

func (SyncPlugin403JSONResponse) VisitSyncPluginResponse added in v0.5.0

func (response SyncPlugin403JSONResponse) VisitSyncPluginResponse(w http.ResponseWriter) error

type SyncPlugin404JSONResponse added in v0.5.0

type SyncPlugin404JSONResponse struct{ NotFoundJSONResponse }

func (SyncPlugin404JSONResponse) VisitSyncPluginResponse added in v0.5.0

func (response SyncPlugin404JSONResponse) VisitSyncPluginResponse(w http.ResponseWriter) error

type SyncPlugin409JSONResponse added in v0.5.0

type SyncPlugin409JSONResponse PluginImportConflict

func (SyncPlugin409JSONResponse) VisitSyncPluginResponse added in v0.5.0

func (response SyncPlugin409JSONResponse) VisitSyncPluginResponse(w http.ResponseWriter) error

type SyncPluginJSONRequestBody added in v0.5.0

type SyncPluginJSONRequestBody = PluginSyncRequest

SyncPluginJSONRequestBody defines body for SyncPlugin for application/json ContentType.

type SyncPluginRequestObject added in v0.5.0

type SyncPluginRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	PluginName     PluginName     `json:"pluginName"`
	Body           *SyncPluginJSONRequestBody
}

type SyncPluginResponse added in v0.5.0

type SyncPluginResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *PluginImport
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequest
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *PluginImportConflict
}

func ParseSyncPluginResponse added in v0.5.0

func ParseSyncPluginResponse(rsp *http.Response) (*SyncPluginResponse, error)

ParseSyncPluginResponse parses an HTTP response from a SyncPluginWithResponse call

func (SyncPluginResponse) ContentType added in v0.5.0

func (r SyncPluginResponse) ContentType() string

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

func (SyncPluginResponse) GetBody added in v0.5.0

func (r SyncPluginResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SyncPluginResponse) GetJSON202 added in v0.5.0

func (r SyncPluginResponse) GetJSON202() *PluginImport

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

func (SyncPluginResponse) GetJSON400 added in v0.5.0

func (r SyncPluginResponse) GetJSON400() *BadRequest

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (SyncPluginResponse) GetJSON401 added in v0.5.0

func (r SyncPluginResponse) GetJSON401() *Unauthorized

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

func (SyncPluginResponse) GetJSON403 added in v0.5.0

func (r SyncPluginResponse) GetJSON403() *Forbidden

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

func (SyncPluginResponse) GetJSON404 added in v0.5.0

func (r SyncPluginResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (SyncPluginResponse) GetJSON409 added in v0.5.0

func (r SyncPluginResponse) GetJSON409() *PluginImportConflict

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (SyncPluginResponse) Status added in v0.5.0

func (r SyncPluginResponse) Status() string

Status returns HTTPResponse.Status

func (SyncPluginResponse) StatusCode added in v0.5.0

func (r SyncPluginResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SyncPluginResponseObject added in v0.5.0

type SyncPluginResponseObject interface {
	VisitSyncPluginResponse(w http.ResponseWriter) error
}

type TemplateStanza added in v0.5.0

type TemplateStanza struct {
	Hcl     string `json:"hcl"`
	Source  string `json:"source"`
	Version string `json:"version"`
}

TemplateStanza The required_plugins entry a Packer template uses to install this version from dufflebag.

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

type Unauthorized

type Unauthorized = Error

Unauthorized Deliberately NOT the compatibility plane's GoogleRPCStatus shape. This plane is ours and has no client regex-matching its error text.

type UnauthorizedJSONResponse

type UnauthorizedJSONResponse Error

type UnescapedCookieParamError

type UnescapedCookieParamError struct {
	ParamName string
	Err       error
}

func (*UnescapedCookieParamError) Error

func (e *UnescapedCookieParamError) Error() string

func (*UnescapedCookieParamError) Unwrap

func (e *UnescapedCookieParamError) Unwrap() error

type UnexposePluginRegistry200JSONResponse added in v0.5.0

type UnexposePluginRegistry200JSONResponse PluginRegistry

func (UnexposePluginRegistry200JSONResponse) VisitUnexposePluginRegistryResponse added in v0.5.0

func (response UnexposePluginRegistry200JSONResponse) VisitUnexposePluginRegistryResponse(w http.ResponseWriter) error

type UnexposePluginRegistry401JSONResponse added in v0.5.0

type UnexposePluginRegistry401JSONResponse struct{ UnauthorizedJSONResponse }

func (UnexposePluginRegistry401JSONResponse) VisitUnexposePluginRegistryResponse added in v0.5.0

func (response UnexposePluginRegistry401JSONResponse) VisitUnexposePluginRegistryResponse(w http.ResponseWriter) error

type UnexposePluginRegistry403JSONResponse added in v0.5.0

type UnexposePluginRegistry403JSONResponse struct{ ForbiddenJSONResponse }

func (UnexposePluginRegistry403JSONResponse) VisitUnexposePluginRegistryResponse added in v0.5.0

func (response UnexposePluginRegistry403JSONResponse) VisitUnexposePluginRegistryResponse(w http.ResponseWriter) error

type UnexposePluginRegistry404JSONResponse added in v0.5.0

type UnexposePluginRegistry404JSONResponse struct{ NotFoundJSONResponse }

func (UnexposePluginRegistry404JSONResponse) VisitUnexposePluginRegistryResponse added in v0.5.0

func (response UnexposePluginRegistry404JSONResponse) VisitUnexposePluginRegistryResponse(w http.ResponseWriter) error

type UnexposePluginRegistry409JSONResponse added in v0.5.0

type UnexposePluginRegistry409JSONResponse Error

func (UnexposePluginRegistry409JSONResponse) VisitUnexposePluginRegistryResponse added in v0.5.0

func (response UnexposePluginRegistry409JSONResponse) VisitUnexposePluginRegistryResponse(w http.ResponseWriter) error

type UnexposePluginRegistryRequestObject added in v0.5.0

type UnexposePluginRegistryRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
}

type UnexposePluginRegistryResponse added in v0.5.0

type UnexposePluginRegistryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PluginRegistry
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
}

func ParseUnexposePluginRegistryResponse added in v0.5.0

func ParseUnexposePluginRegistryResponse(rsp *http.Response) (*UnexposePluginRegistryResponse, error)

ParseUnexposePluginRegistryResponse parses an HTTP response from a UnexposePluginRegistryWithResponse call

func (UnexposePluginRegistryResponse) ContentType added in v0.5.0

func (r UnexposePluginRegistryResponse) ContentType() string

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

func (UnexposePluginRegistryResponse) GetBody added in v0.5.0

func (r UnexposePluginRegistryResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UnexposePluginRegistryResponse) GetJSON200 added in v0.5.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UnexposePluginRegistryResponse) GetJSON401 added in v0.5.0

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

func (UnexposePluginRegistryResponse) GetJSON403 added in v0.5.0

func (r UnexposePluginRegistryResponse) GetJSON403() *Forbidden

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

func (UnexposePluginRegistryResponse) GetJSON404 added in v0.5.0

func (r UnexposePluginRegistryResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UnexposePluginRegistryResponse) GetJSON409 added in v0.5.0

func (r UnexposePluginRegistryResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (UnexposePluginRegistryResponse) Status added in v0.5.0

Status returns HTTPResponse.Status

func (UnexposePluginRegistryResponse) StatusCode added in v0.5.0

func (r UnexposePluginRegistryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UnexposePluginRegistryResponseObject added in v0.5.0

type UnexposePluginRegistryResponseObject interface {
	VisitUnexposePluginRegistryResponse(w http.ResponseWriter) error
}

type UnmarshalingParamError

type UnmarshalingParamError struct {
	ParamName string
	Err       error
}

func (*UnmarshalingParamError) Error

func (e *UnmarshalingParamError) Error() string

func (*UnmarshalingParamError) Unwrap

func (e *UnmarshalingParamError) Unwrap() error

type UpdateOrganizationWebhook200JSONResponse added in v0.5.0

type UpdateOrganizationWebhook200JSONResponse Webhook

func (UpdateOrganizationWebhook200JSONResponse) VisitUpdateOrganizationWebhookResponse added in v0.5.0

func (response UpdateOrganizationWebhook200JSONResponse) VisitUpdateOrganizationWebhookResponse(w http.ResponseWriter) error

type UpdateOrganizationWebhook400JSONResponse added in v0.5.0

type UpdateOrganizationWebhook400JSONResponse struct{ BadRequestJSONResponse }

func (UpdateOrganizationWebhook400JSONResponse) VisitUpdateOrganizationWebhookResponse added in v0.5.0

func (response UpdateOrganizationWebhook400JSONResponse) VisitUpdateOrganizationWebhookResponse(w http.ResponseWriter) error

type UpdateOrganizationWebhook401JSONResponse added in v0.5.0

type UpdateOrganizationWebhook401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdateOrganizationWebhook401JSONResponse) VisitUpdateOrganizationWebhookResponse added in v0.5.0

func (response UpdateOrganizationWebhook401JSONResponse) VisitUpdateOrganizationWebhookResponse(w http.ResponseWriter) error

type UpdateOrganizationWebhook403JSONResponse added in v0.5.0

type UpdateOrganizationWebhook403JSONResponse struct{ ForbiddenJSONResponse }

func (UpdateOrganizationWebhook403JSONResponse) VisitUpdateOrganizationWebhookResponse added in v0.5.0

func (response UpdateOrganizationWebhook403JSONResponse) VisitUpdateOrganizationWebhookResponse(w http.ResponseWriter) error

type UpdateOrganizationWebhook404JSONResponse added in v0.5.0

type UpdateOrganizationWebhook404JSONResponse struct{ NotFoundJSONResponse }

func (UpdateOrganizationWebhook404JSONResponse) VisitUpdateOrganizationWebhookResponse added in v0.5.0

func (response UpdateOrganizationWebhook404JSONResponse) VisitUpdateOrganizationWebhookResponse(w http.ResponseWriter) error

type UpdateOrganizationWebhook409JSONResponse added in v0.5.0

type UpdateOrganizationWebhook409JSONResponse Error

func (UpdateOrganizationWebhook409JSONResponse) VisitUpdateOrganizationWebhookResponse added in v0.5.0

func (response UpdateOrganizationWebhook409JSONResponse) VisitUpdateOrganizationWebhookResponse(w http.ResponseWriter) error

type UpdateOrganizationWebhookJSONRequestBody added in v0.5.0

type UpdateOrganizationWebhookJSONRequestBody = WebhookUpdate

UpdateOrganizationWebhookJSONRequestBody defines body for UpdateOrganizationWebhook for application/json ContentType.

type UpdateOrganizationWebhookRequestObject added in v0.5.0

type UpdateOrganizationWebhookRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	WebhookId      WebhookId      `json:"webhookId"`
	Body           *UpdateOrganizationWebhookJSONRequestBody
}

type UpdateOrganizationWebhookResponse added in v0.5.0

type UpdateOrganizationWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Webhook
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequest
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
}

func ParseUpdateOrganizationWebhookResponse added in v0.5.0

func ParseUpdateOrganizationWebhookResponse(rsp *http.Response) (*UpdateOrganizationWebhookResponse, error)

ParseUpdateOrganizationWebhookResponse parses an HTTP response from a UpdateOrganizationWebhookWithResponse call

func (UpdateOrganizationWebhookResponse) ContentType added in v0.5.0

func (r UpdateOrganizationWebhookResponse) ContentType() string

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

func (UpdateOrganizationWebhookResponse) GetBody added in v0.5.0

GetBody returns the raw response body bytes

func (UpdateOrganizationWebhookResponse) GetJSON200 added in v0.5.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateOrganizationWebhookResponse) GetJSON400 added in v0.5.0

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateOrganizationWebhookResponse) GetJSON401 added in v0.5.0

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

func (UpdateOrganizationWebhookResponse) GetJSON403 added in v0.5.0

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

func (UpdateOrganizationWebhookResponse) GetJSON404 added in v0.5.0

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateOrganizationWebhookResponse) GetJSON409 added in v0.5.0

func (r UpdateOrganizationWebhookResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (UpdateOrganizationWebhookResponse) Status added in v0.5.0

Status returns HTTPResponse.Status

func (UpdateOrganizationWebhookResponse) StatusCode added in v0.5.0

func (r UpdateOrganizationWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateOrganizationWebhookResponseObject added in v0.5.0

type UpdateOrganizationWebhookResponseObject interface {
	VisitUpdateOrganizationWebhookResponse(w http.ResponseWriter) error
}

type UpdateWebhook200JSONResponse

type UpdateWebhook200JSONResponse Webhook

func (UpdateWebhook200JSONResponse) VisitUpdateWebhookResponse

func (response UpdateWebhook200JSONResponse) VisitUpdateWebhookResponse(w http.ResponseWriter) error

type UpdateWebhook400JSONResponse

type UpdateWebhook400JSONResponse struct{ BadRequestJSONResponse }

func (UpdateWebhook400JSONResponse) VisitUpdateWebhookResponse

func (response UpdateWebhook400JSONResponse) VisitUpdateWebhookResponse(w http.ResponseWriter) error

type UpdateWebhook401JSONResponse

type UpdateWebhook401JSONResponse struct{ UnauthorizedJSONResponse }

func (UpdateWebhook401JSONResponse) VisitUpdateWebhookResponse

func (response UpdateWebhook401JSONResponse) VisitUpdateWebhookResponse(w http.ResponseWriter) error

type UpdateWebhook403JSONResponse

type UpdateWebhook403JSONResponse struct{ ForbiddenJSONResponse }

func (UpdateWebhook403JSONResponse) VisitUpdateWebhookResponse

func (response UpdateWebhook403JSONResponse) VisitUpdateWebhookResponse(w http.ResponseWriter) error

type UpdateWebhook404JSONResponse

type UpdateWebhook404JSONResponse struct{ NotFoundJSONResponse }

func (UpdateWebhook404JSONResponse) VisitUpdateWebhookResponse

func (response UpdateWebhook404JSONResponse) VisitUpdateWebhookResponse(w http.ResponseWriter) error

type UpdateWebhook409JSONResponse

type UpdateWebhook409JSONResponse Error

func (UpdateWebhook409JSONResponse) VisitUpdateWebhookResponse

func (response UpdateWebhook409JSONResponse) VisitUpdateWebhookResponse(w http.ResponseWriter) error

type UpdateWebhookJSONRequestBody

type UpdateWebhookJSONRequestBody = WebhookUpdate

UpdateWebhookJSONRequestBody defines body for UpdateWebhook for application/json ContentType.

type UpdateWebhookRequestObject

type UpdateWebhookRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	ProjectId      ProjectId      `json:"projectId"`
	WebhookId      WebhookId      `json:"webhookId"`
	Body           *UpdateWebhookJSONRequestBody
}

type UpdateWebhookResponse

type UpdateWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Webhook
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequest
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
}

func ParseUpdateWebhookResponse

func ParseUpdateWebhookResponse(rsp *http.Response) (*UpdateWebhookResponse, error)

ParseUpdateWebhookResponse parses an HTTP response from a UpdateWebhookWithResponse call

func (UpdateWebhookResponse) ContentType

func (r UpdateWebhookResponse) ContentType() string

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

func (UpdateWebhookResponse) GetBody

func (r UpdateWebhookResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateWebhookResponse) GetJSON200

func (r UpdateWebhookResponse) GetJSON200() *Webhook

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateWebhookResponse) GetJSON400

func (r UpdateWebhookResponse) GetJSON400() *BadRequest

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateWebhookResponse) GetJSON401

func (r UpdateWebhookResponse) GetJSON401() *Unauthorized

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

func (UpdateWebhookResponse) GetJSON403

func (r UpdateWebhookResponse) GetJSON403() *Forbidden

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

func (UpdateWebhookResponse) GetJSON404

func (r UpdateWebhookResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateWebhookResponse) GetJSON409

func (r UpdateWebhookResponse) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (UpdateWebhookResponse) Status

func (r UpdateWebhookResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateWebhookResponse) StatusCode

func (r UpdateWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateWebhookResponseObject

type UpdateWebhookResponseObject interface {
	VisitUpdateWebhookResponse(w http.ResponseWriter) error
}

type VerifyBagDrop200JSONResponse

type VerifyBagDrop200JSONResponse BagDropVerificationResult

func (VerifyBagDrop200JSONResponse) VisitVerifyBagDropResponse

func (response VerifyBagDrop200JSONResponse) VisitVerifyBagDropResponse(w http.ResponseWriter) error

type VerifyBagDrop401JSONResponse

type VerifyBagDrop401JSONResponse struct{ UnauthorizedJSONResponse }

func (VerifyBagDrop401JSONResponse) VisitVerifyBagDropResponse

func (response VerifyBagDrop401JSONResponse) VisitVerifyBagDropResponse(w http.ResponseWriter) error

type VerifyBagDrop403JSONResponse

type VerifyBagDrop403JSONResponse struct{ ForbiddenJSONResponse }

func (VerifyBagDrop403JSONResponse) VisitVerifyBagDropResponse

func (response VerifyBagDrop403JSONResponse) VisitVerifyBagDropResponse(w http.ResponseWriter) error

type VerifyBagDrop404JSONResponse

type VerifyBagDrop404JSONResponse struct{ NotFoundJSONResponse }

func (VerifyBagDrop404JSONResponse) VisitVerifyBagDropResponse

func (response VerifyBagDrop404JSONResponse) VisitVerifyBagDropResponse(w http.ResponseWriter) error

type VerifyBagDrop409JSONResponse

type VerifyBagDrop409JSONResponse BagDropConflict

func (VerifyBagDrop409JSONResponse) VisitVerifyBagDropResponse

func (response VerifyBagDrop409JSONResponse) VisitVerifyBagDropResponse(w http.ResponseWriter) error

type VerifyBagDropRequestObject

type VerifyBagDropRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	ProjectId      ProjectId      `json:"projectId"`
}

type VerifyBagDropResponse

type VerifyBagDropResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *BagDropVerificationResult
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *BagDropConflict
}

func ParseVerifyBagDropResponse

func ParseVerifyBagDropResponse(rsp *http.Response) (*VerifyBagDropResponse, error)

ParseVerifyBagDropResponse parses an HTTP response from a VerifyBagDropWithResponse call

func (VerifyBagDropResponse) ContentType

func (r VerifyBagDropResponse) ContentType() string

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

func (VerifyBagDropResponse) GetBody

func (r VerifyBagDropResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (VerifyBagDropResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (VerifyBagDropResponse) GetJSON401

func (r VerifyBagDropResponse) GetJSON401() *Unauthorized

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

func (VerifyBagDropResponse) GetJSON403

func (r VerifyBagDropResponse) GetJSON403() *Forbidden

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

func (VerifyBagDropResponse) GetJSON404

func (r VerifyBagDropResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (VerifyBagDropResponse) GetJSON409

func (r VerifyBagDropResponse) GetJSON409() *BagDropConflict

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (VerifyBagDropResponse) Status

func (r VerifyBagDropResponse) Status() string

Status returns HTTPResponse.Status

func (VerifyBagDropResponse) StatusCode

func (r VerifyBagDropResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type VerifyBagDropResponseObject

type VerifyBagDropResponseObject interface {
	VisitVerifyBagDropResponse(w http.ResponseWriter) error
}

type VerifyOrganizationWebhook200JSONResponse added in v0.5.0

type VerifyOrganizationWebhook200JSONResponse Webhook

func (VerifyOrganizationWebhook200JSONResponse) VisitVerifyOrganizationWebhookResponse added in v0.5.0

func (response VerifyOrganizationWebhook200JSONResponse) VisitVerifyOrganizationWebhookResponse(w http.ResponseWriter) error

type VerifyOrganizationWebhook401JSONResponse added in v0.5.0

type VerifyOrganizationWebhook401JSONResponse struct{ UnauthorizedJSONResponse }

func (VerifyOrganizationWebhook401JSONResponse) VisitVerifyOrganizationWebhookResponse added in v0.5.0

func (response VerifyOrganizationWebhook401JSONResponse) VisitVerifyOrganizationWebhookResponse(w http.ResponseWriter) error

type VerifyOrganizationWebhook403JSONResponse added in v0.5.0

type VerifyOrganizationWebhook403JSONResponse struct{ ForbiddenJSONResponse }

func (VerifyOrganizationWebhook403JSONResponse) VisitVerifyOrganizationWebhookResponse added in v0.5.0

func (response VerifyOrganizationWebhook403JSONResponse) VisitVerifyOrganizationWebhookResponse(w http.ResponseWriter) error

type VerifyOrganizationWebhook404JSONResponse added in v0.5.0

type VerifyOrganizationWebhook404JSONResponse struct{ NotFoundJSONResponse }

func (VerifyOrganizationWebhook404JSONResponse) VisitVerifyOrganizationWebhookResponse added in v0.5.0

func (response VerifyOrganizationWebhook404JSONResponse) VisitVerifyOrganizationWebhookResponse(w http.ResponseWriter) error

type VerifyOrganizationWebhookRequestObject added in v0.5.0

type VerifyOrganizationWebhookRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	WebhookId      WebhookId      `json:"webhookId"`
}

type VerifyOrganizationWebhookResponse added in v0.5.0

type VerifyOrganizationWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Webhook
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
}

func ParseVerifyOrganizationWebhookResponse added in v0.5.0

func ParseVerifyOrganizationWebhookResponse(rsp *http.Response) (*VerifyOrganizationWebhookResponse, error)

ParseVerifyOrganizationWebhookResponse parses an HTTP response from a VerifyOrganizationWebhookWithResponse call

func (VerifyOrganizationWebhookResponse) ContentType added in v0.5.0

func (r VerifyOrganizationWebhookResponse) ContentType() string

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

func (VerifyOrganizationWebhookResponse) GetBody added in v0.5.0

GetBody returns the raw response body bytes

func (VerifyOrganizationWebhookResponse) GetJSON200 added in v0.5.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (VerifyOrganizationWebhookResponse) GetJSON401 added in v0.5.0

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

func (VerifyOrganizationWebhookResponse) GetJSON403 added in v0.5.0

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

func (VerifyOrganizationWebhookResponse) GetJSON404 added in v0.5.0

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (VerifyOrganizationWebhookResponse) Status added in v0.5.0

Status returns HTTPResponse.Status

func (VerifyOrganizationWebhookResponse) StatusCode added in v0.5.0

func (r VerifyOrganizationWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type VerifyOrganizationWebhookResponseObject added in v0.5.0

type VerifyOrganizationWebhookResponseObject interface {
	VisitVerifyOrganizationWebhookResponse(w http.ResponseWriter) error
}

type VerifyWebhook200JSONResponse

type VerifyWebhook200JSONResponse Webhook

func (VerifyWebhook200JSONResponse) VisitVerifyWebhookResponse

func (response VerifyWebhook200JSONResponse) VisitVerifyWebhookResponse(w http.ResponseWriter) error

type VerifyWebhook401JSONResponse

type VerifyWebhook401JSONResponse struct{ UnauthorizedJSONResponse }

func (VerifyWebhook401JSONResponse) VisitVerifyWebhookResponse

func (response VerifyWebhook401JSONResponse) VisitVerifyWebhookResponse(w http.ResponseWriter) error

type VerifyWebhook403JSONResponse

type VerifyWebhook403JSONResponse struct{ ForbiddenJSONResponse }

func (VerifyWebhook403JSONResponse) VisitVerifyWebhookResponse

func (response VerifyWebhook403JSONResponse) VisitVerifyWebhookResponse(w http.ResponseWriter) error

type VerifyWebhook404JSONResponse

type VerifyWebhook404JSONResponse struct{ NotFoundJSONResponse }

func (VerifyWebhook404JSONResponse) VisitVerifyWebhookResponse

func (response VerifyWebhook404JSONResponse) VisitVerifyWebhookResponse(w http.ResponseWriter) error

type VerifyWebhookRequestObject

type VerifyWebhookRequestObject struct {
	OrganizationId OrganizationId `json:"organizationId"`
	ProjectId      ProjectId      `json:"projectId"`
	WebhookId      WebhookId      `json:"webhookId"`
}

type VerifyWebhookResponse

type VerifyWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Webhook
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Unauthorized
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Forbidden
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFound
}

func ParseVerifyWebhookResponse

func ParseVerifyWebhookResponse(rsp *http.Response) (*VerifyWebhookResponse, error)

ParseVerifyWebhookResponse parses an HTTP response from a VerifyWebhookWithResponse call

func (VerifyWebhookResponse) ContentType

func (r VerifyWebhookResponse) ContentType() string

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

func (VerifyWebhookResponse) GetBody

func (r VerifyWebhookResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (VerifyWebhookResponse) GetJSON200

func (r VerifyWebhookResponse) GetJSON200() *Webhook

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (VerifyWebhookResponse) GetJSON401

func (r VerifyWebhookResponse) GetJSON401() *Unauthorized

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

func (VerifyWebhookResponse) GetJSON403

func (r VerifyWebhookResponse) GetJSON403() *Forbidden

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

func (VerifyWebhookResponse) GetJSON404

func (r VerifyWebhookResponse) GetJSON404() *NotFound

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (VerifyWebhookResponse) Status

func (r VerifyWebhookResponse) Status() string

Status returns HTTPResponse.Status

func (VerifyWebhookResponse) StatusCode

func (r VerifyWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type VerifyWebhookResponseObject

type VerifyWebhookResponseObject interface {
	VisitVerifyWebhookResponse(w http.ResponseWriter) error
}

type VersionFindingsSummary added in v0.4.2

type VersionFindingsSummary struct {
	AffectedPackages int `json:"affected_packages"`
	BuildsSummarised int `json:"builds_summarised"`

	// ComputedAt Latest observed_at among the current runs included in this rollup.
	ComputedAt time.Time `json:"computed_at"`

	// Counts Every severity band is present, including bands with a zero count.
	Counts   SeverityCounts `json:"counts"`
	Findings int            `json:"findings"`
	Worst    *Severity      `json:"worst,omitempty"`
}

VersionFindingsSummary defines model for VersionFindingsSummary.

type VersionFindingsSummaryResponse added in v0.4.2

type VersionFindingsSummaryResponse struct {
	Builds            []BuildFindingsSummary  `json:"builds"`
	ScannerConfigured bool                    `json:"scanner_configured"`
	Version           *VersionFindingsSummary `json:"version"`
}

VersionFindingsSummaryResponse defines model for VersionFindingsSummaryResponse.

type Webhook

type Webhook struct {
	CreatedAt   time.Time `json:"created_at"`
	Description string    `json:"description"`

	// Events Empty subscribes to every operation.
	Events []WebhookOperation `json:"events"`

	// HasSecret Whether a write-only signing secret is configured.
	HasSecret             bool               `json:"has_secret"`
	Id                    openapi_types.UUID `json:"id"`
	LastVerificationAt    *time.Time         `json:"last_verification_at"`
	LastVerificationError *string            `json:"last_verification_error"`
	Name                  string             `json:"name"`
	State                 WebhookState       `json:"state"`
	UpdatedAt             time.Time          `json:"updated_at"`
	Url                   string             `json:"url"`
}

Webhook defines model for Webhook.

type WebhookActor

type WebhookActor struct {
	Name        string `json:"name"`
	PrincipalId string `json:"principal_id"`
}

WebhookActor defines model for WebhookActor.

type WebhookCreate

type WebhookCreate struct {
	Description *string `json:"description,omitempty"`

	// Events Empty subscribes to every operation.
	Events []WebhookOperation `json:"events"`
	Name   string             `json:"name"`

	// Secret Write-only. Never returned.
	Secret *string `json:"secret,omitempty"`
	Url    string  `json:"url"`
}

WebhookCreate defines model for WebhookCreate.

type WebhookDelivery

type WebhookDelivery struct {
	AttemptCount int       `json:"attempt_count"`
	CreatedAt    time.Time `json:"created_at"`

	// Detail Bounded response snippet or terse failure detail.
	Detail *string `json:"detail"`

	// EventId ULID.
	EventId          string             `json:"event_id"`
	FirstAttemptedAt *time.Time         `json:"first_attempted_at"`
	Id               openapi_types.UUID `json:"id"`
	LastAttemptedAt  *time.Time         `json:"last_attempted_at"`

	// Operation A catalogue operation, or webhook.verification for an activation handshake.
	Operation    string                `json:"operation"`
	ResponseCode *int                  `json:"response_code"`
	Status       WebhookDeliveryStatus `json:"status"`
}

WebhookDelivery defines model for WebhookDelivery.

type WebhookDeliveryStatus

type WebhookDeliveryStatus string

WebhookDeliveryStatus defines model for WebhookDeliveryStatus.

const (
	WebhookDeliveryStatusDelivered WebhookDeliveryStatus = "delivered"
	WebhookDeliveryStatusFailed    WebhookDeliveryStatus = "failed"
	WebhookDeliveryStatusPending   WebhookDeliveryStatus = "pending"
	WebhookDeliveryStatusRefused   WebhookDeliveryStatus = "refused"
	WebhookDeliveryStatusRetrying  WebhookDeliveryStatus = "retrying"
)

Defines values for WebhookDeliveryStatus.

func (WebhookDeliveryStatus) Valid

func (e WebhookDeliveryStatus) Valid() bool

Valid indicates whether the value is a known member of the WebhookDeliveryStatus enum.

type WebhookEnvelope

type WebhookEnvelope struct {
	Actor WebhookActor `json:"actor"`

	// EventId ULID.
	EventId    string    `json:"event_id"`
	OccurredAt time.Time `json:"occurred_at"`

	// Operation Project webhooks receive the version, channel and bucket events; organization webhooks receive
	// plugin.update_available. A webhook subscribing outside its scope's events is refused.
	Operation      WebhookOperation   `json:"operation"`
	OrganizationId openapi_types.UUID `json:"organization_id"`

	// Payload Operation-specific compatibility-plane wire data.
	Payload map[string]interface{} `json:"payload"`

	// ProjectId Absent on an organization webhook's events.
	ProjectId *openapi_types.UUID `json:"project_id,omitempty"`
	Target    WebhookTarget       `json:"target"`
}

WebhookEnvelope defines model for WebhookEnvelope.

type WebhookId

type WebhookId = openapi_types.UUID

WebhookId defines model for WebhookId.

type WebhookOperation

type WebhookOperation string

WebhookOperation Project webhooks receive the version, channel and bucket events; organization webhooks receive plugin.update_available. A webhook subscribing outside its scope's events is refused.

const (
	BucketCreated              WebhookOperation = "bucket.created"
	BucketDeleted              WebhookOperation = "bucket.deleted"
	ChannelAssigned            WebhookOperation = "channel.assigned"
	ChannelCreated             WebhookOperation = "channel.created"
	ChannelDeleted             WebhookOperation = "channel.deleted"
	PluginUpdateAvailable      WebhookOperation = "plugin.update_available"
	VersionCompleted           WebhookOperation = "version.completed"
	VersionCreated             WebhookOperation = "version.created"
	VersionDeleted             WebhookOperation = "version.deleted"
	VersionRestored            WebhookOperation = "version.restored"
	VersionRevocationScheduled WebhookOperation = "version.revocation_scheduled"
	VersionRevoked             WebhookOperation = "version.revoked"
)

Defines values for WebhookOperation.

func (WebhookOperation) Valid

func (e WebhookOperation) Valid() bool

Valid indicates whether the value is a known member of the WebhookOperation enum.

type WebhookState

type WebhookState string

WebhookState defines model for WebhookState.

const (
	WebhookStateActive  WebhookState = "active"
	WebhookStatePending WebhookState = "pending"
)

Defines values for WebhookState.

func (WebhookState) Valid

func (e WebhookState) Valid() bool

Valid indicates whether the value is a known member of the WebhookState enum.

type WebhookTarget

type WebhookTarget struct {
	Bucket      *string           `json:"bucket,omitempty"`
	Fingerprint *string           `json:"fingerprint,omitempty"`
	Name        *string           `json:"name,omitempty"`
	Type        WebhookTargetType `json:"type"`
}

WebhookTarget defines model for WebhookTarget.

type WebhookTargetType

type WebhookTargetType string

WebhookTargetType defines model for WebhookTarget.Type.

const (
	WebhookTargetTypeBucket  WebhookTargetType = "bucket"
	WebhookTargetTypeChannel WebhookTargetType = "channel"
	WebhookTargetTypePlugin  WebhookTargetType = "plugin"
	WebhookTargetTypeVersion WebhookTargetType = "version"
)

Defines values for WebhookTargetType.

func (WebhookTargetType) Valid

func (e WebhookTargetType) Valid() bool

Valid indicates whether the value is a known member of the WebhookTargetType enum.

type WebhookUpdate

type WebhookUpdate struct {
	Description *string `json:"description,omitempty"`

	// Events Empty subscribes to every operation.
	Events *[]WebhookOperation `json:"events,omitempty"`
	Name   *string             `json:"name,omitempty"`

	// Secret Write-only replacement. Never returned.
	Secret *string `json:"secret,omitempty"`
	Url    *string `json:"url,omitempty"`
}

WebhookUpdate defines model for WebhookUpdate.

Jump to

Keyboard shortcuts

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