Documentation
¶
Overview ¶
Package controlv1 provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.2 DO NOT EDIT.
Index ¶
- func ConnectorPeerPairProof(serviceID string, body ConnectorPeerPairRequest) (tunnelv1.ConnectorPeerPairProof, error)
- func ConnectorPeerPairProofMessage(serviceID string, body ConnectorPeerPairRequest) ([]byte, error)
- func ConnectorPeerPairRebindProof(serviceID, pairID string, body ConnectorPeerPairRebindRequest) (tunnelv1.ConnectorPeerPairRebindProof, error)
- func ConnectorPeerPairRebindProofMessage(serviceID, pairID string, body ConnectorPeerPairRebindRequest) ([]byte, error)
- func ConnectorPeerPairRetireAuthentication(body ConnectorPeerPairRetireRequest) (sessionProof, signature []byte, err error)
- func ConnectorPeerPairRetireProof(serviceID, pairID string, body ConnectorPeerPairRetireRequest) (tunnelv1.ConnectorPeerPairRetireProof, error)
- func Handler(si ServerInterface) http.Handler
- func HandlerFromMux(si ServerInterface, m ServeMux) http.Handler
- func HandlerFromMuxWithBaseURL(si ServerInterface, m ServeMux, baseURL string) http.Handler
- func HandlerWithOptions(si ServerInterface, options StdHTTPServerOptions) http.Handler
- func NewAcceptServiceInvitationRequest(server string, body AcceptServiceInvitationJSONRequestBody) (*http.Request, error)
- func NewAcceptServiceInvitationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAcknowledgeDeploymentPublisherConfigurationRequest(server string, body AcknowledgeDeploymentPublisherConfigurationJSONRequestBody) (*http.Request, error)
- func NewAcknowledgeDeploymentPublisherConfigurationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAcquireDeploymentPublisherLeaseRequest(server string, body AcquireDeploymentPublisherLeaseJSONRequestBody) (*http.Request, error)
- func NewAcquireDeploymentPublisherLeaseRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAddPreviewServiceRequest(server string, previewId PreviewID, body AddPreviewServiceJSONRequestBody) (*http.Request, error)
- func NewAddPreviewServiceRequestWithBody(server string, previewId PreviewID, contentType string, body io.Reader) (*http.Request, error)
- func NewAllocateDeploymentPublicationRequest(server string, projectKey string, deployment string, ...) (*http.Request, error)
- func NewAllocateDeploymentPublicationRequestWithBody(server string, projectKey string, deployment string, ...) (*http.Request, error)
- func NewAllocateGuestDemoServiceRequest(server string, params *AllocateGuestDemoServiceParams, ...) (*http.Request, error)
- func NewAllocateGuestDemoServiceRequestWithBody(server string, params *AllocateGuestDemoServiceParams, contentType string, ...) (*http.Request, error)
- func NewAllocatePublisherServiceRequest(server string, body AllocatePublisherServiceJSONRequestBody) (*http.Request, error)
- func NewAllocatePublisherServiceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewApplyProjectConfigurationRequest(server string, projectKey string, ...) (*http.Request, error)
- func NewApplyProjectConfigurationRequestWithBody(server string, projectKey string, contentType string, body io.Reader) (*http.Request, error)
- func NewAuthorizeImplementerFeedbackRequest(server string, body AuthorizeImplementerFeedbackJSONRequestBody) (*http.Request, error)
- func NewAuthorizeImplementerFeedbackRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAuthorizeReviewerFeedbackRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Request, error)
- func NewAuthorizeReviewerFeedbackRequestWithBody(server string, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Request, error)
- func NewAuthorizeServiceClientCertificateRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Request, error)
- func NewAuthorizeServiceClientCertificateRequestWithBody(server string, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Request, error)
- func NewBeginServiceBrowserLoginRequest(server string, params *BeginServiceBrowserLoginParams) (*http.Request, error)
- func NewCheckServiceBrowserSessionRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Request, error)
- func NewCheckServiceBrowserSessionRequestWithBody(server string, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Request, error)
- func NewCheckWorkloadServiceRequest(server string, serviceId string) (*http.Request, error)
- func NewCloseServiceRunRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID) (*http.Request, error)
- func NewCompletePreviewBrowserLoginRequest(server string, params *CompletePreviewBrowserLoginParams) (*http.Request, error)
- func NewConfigureServiceRequest(server string, serviceId ServiceID, body ConfigureServiceJSONRequestBody) (*http.Request, error)
- func NewConfigureServiceRequestWithBody(server string, serviceId ServiceID, contentType string, body io.Reader) (*http.Request, error)
- func NewConfirmConnectorPeerPairPreparedRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, pairId string, ...) (*http.Request, error)
- func NewConfirmConnectorPeerPairPreparedRequestWithBody(server string, serviceId ServiceID, serviceRunId ServiceRunID, pairId string, ...) (*http.Request, error)
- func NewCreateDeploymentPublisherEnrollmentRequest(server string, projectKey string, deployment string, ...) (*http.Request, error)
- func NewCreateDeploymentPublisherEnrollmentRequestWithBody(server string, projectKey string, deployment string, ...) (*http.Request, error)
- func NewCreateDeploymentRequest(server string, projectKey string, params *CreateDeploymentParams, ...) (*http.Request, error)
- func NewCreateDeploymentRequestWithBody(server string, projectKey string, params *CreateDeploymentParams, ...) (*http.Request, error)
- func NewCreateGuestDemoRequest(server string) (*http.Request, error)
- func NewCreatePreviewRequest(server string, params *CreatePreviewParams, body CreatePreviewJSONRequestBody) (*http.Request, error)
- func NewCreatePreviewRequestWithBody(server string, params *CreatePreviewParams, contentType string, body io.Reader) (*http.Request, error)
- func NewCreatePublisherEnrollmentRequest(server string, body CreatePublisherEnrollmentJSONRequestBody) (*http.Request, error)
- func NewCreatePublisherEnrollmentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreatePublisherGrantRequest(server string, publisherIdentityId PublisherIdentityID, ...) (*http.Request, error)
- func NewCreatePublisherGrantRequestWithBody(server string, publisherIdentityId PublisherIdentityID, contentType string, ...) (*http.Request, error)
- func NewCreateServiceCertificateIssuanceRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Request, error)
- func NewCreateServiceCertificateIssuanceRequestWithBody(server string, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Request, error)
- func NewCreateServiceGrantRequest(server string, serviceId ServiceID, params *CreateServiceGrantParams, ...) (*http.Request, error)
- func NewCreateServiceGrantRequestWithBody(server string, serviceId ServiceID, params *CreateServiceGrantParams, ...) (*http.Request, error)
- func NewCreateServiceHTTPGrantRequest(server string, serviceId ServiceID, body CreateServiceHTTPGrantJSONRequestBody) (*http.Request, error)
- func NewCreateServiceHTTPGrantRequestWithBody(server string, serviceId ServiceID, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateServiceRequest(server string, params *CreateServiceParams, body CreateServiceJSONRequestBody) (*http.Request, error)
- func NewCreateServiceRequestWithBody(server string, params *CreateServiceParams, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateServiceRunPreviewRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Request, error)
- func NewCreateServiceRunPreviewRequestWithBody(server string, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Request, error)
- func NewCreateServiceShareRequest(server string, params *CreateServiceShareParams, ...) (*http.Request, error)
- func NewCreateServiceShareRequestWithBody(server string, params *CreateServiceShareParams, contentType string, ...) (*http.Request, error)
- func NewCreateShareRequest(server string, previewId PreviewID, params *CreateShareParams, ...) (*http.Request, error)
- func NewCreateShareRequestWithBody(server string, previewId PreviewID, params *CreateShareParams, ...) (*http.Request, error)
- func NewDeleteDeploymentRequest(server string, projectKey string, deployment string, ...) (*http.Request, error)
- func NewDeletePublisherServiceRequest(server string, serviceId ServiceID) (*http.Request, error)
- func NewDeleteServiceRequest(server string, serviceId ServiceID, params *DeleteServiceParams) (*http.Request, error)
- func NewDeliverConnectorPeerPairRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, pairId string, ...) (*http.Request, error)
- func NewDeliverConnectorPeerPairRequestWithBody(server string, serviceId ServiceID, serviceRunId ServiceRunID, pairId string, ...) (*http.Request, error)
- func NewDrainAdminRelayRequest(server string, relayId RelayID, body DrainAdminRelayJSONRequestBody) (*http.Request, error)
- func NewDrainAdminRelayRequestWithBody(server string, relayId RelayID, contentType string, body io.Reader) (*http.Request, error)
- func NewEnrollGuestPublisherRequest(server string, body EnrollGuestPublisherJSONRequestBody) (*http.Request, error)
- func NewEnrollGuestPublisherRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewEnrollVisitorDeviceRequest(server string, body EnrollVisitorDeviceJSONRequestBody) (*http.Request, error)
- func NewEnrollVisitorDeviceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetAdminServerStatusRequest(server string) (*http.Request, error)
- func NewGetClientIPRequest(server string) (*http.Request, error)
- func NewGetControlDiscoveryRequest(server string) (*http.Request, error)
- func NewGetDeploymentPublicationRequest(server string, projectKey string, deployment string, service string, ...) (*http.Request, error)
- func NewGetDeploymentPublisherAssignmentsRequest(server string, params *GetDeploymentPublisherAssignmentsParams) (*http.Request, error)
- func NewGetDeploymentPublisherRequest(server string, projectKey string, deployment string, publisher string, ...) (*http.Request, error)
- func NewGetDeploymentRequest(server string, projectKey string, deployment string, ...) (*http.Request, error)
- func NewGetHealthRequest(server string) (*http.Request, error)
- func NewGetLocalProjectServiceRequest(server string, projectKey string, service string, ...) (*http.Request, error)
- func NewGetPreviewRequest(server string, previewId PreviewID) (*http.Request, error)
- func NewGetProjectConfigurationRequest(server string, projectKey string, params *GetProjectConfigurationParams) (*http.Request, error)
- func NewGetProjectPublicMetadataRequest(server string, projectKey string, params *GetProjectPublicMetadataParams) (*http.Request, error)
- func NewGetProjectServiceRequest(server string, projectKey string, service ServiceName, ...) (*http.Request, error)
- func NewGetProjectStatusRequest(server string, projectKey string, params *GetProjectStatusParams) (*http.Request, error)
- func NewGetPublisherServiceRequest(server string, serviceId ServiceID) (*http.Request, error)
- func NewGetReadinessRequest(server string) (*http.Request, error)
- func NewGetServiceByHostnameRequest(server string, hostname string, params *GetServiceByHostnameParams) (*http.Request, error)
- func NewGetServiceCertificateIssuanceRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Request, error)
- func NewGetServiceConfigurationRequest(server string, serviceId ServiceID) (*http.Request, error)
- func NewGetServiceRequest(server string, serviceId ServiceID) (*http.Request, error)
- func NewGetShareRequest(server string, shareId ShareID) (*http.Request, error)
- func NewGetWebhookProviderSourceRequest(server string, provider WebhookProvider) (*http.Request, error)
- func NewInspectPublisherRuntimeRequest(server string, publisherIdentityId PublisherIdentityID, ...) (*http.Request, error)
- func NewInspectPublisherRuntimeRequestWithBody(server string, publisherIdentityId PublisherIdentityID, contentType string, ...) (*http.Request, error)
- func NewInviteServiceVisitorRequest(server string, serviceId ServiceID, params *InviteServiceVisitorParams, ...) (*http.Request, error)
- func NewInviteServiceVisitorRequestWithBody(server string, serviceId ServiceID, params *InviteServiceVisitorParams, ...) (*http.Request, error)
- func NewIssueServiceClientCertificateRequest(server string, serviceId ServiceID, ...) (*http.Request, error)
- func NewIssueServiceClientCertificateRequestWithBody(server string, serviceId ServiceID, contentType string, body io.Reader) (*http.Request, error)
- func NewIssueVisitorTokenRequest(server string, body IssueVisitorTokenJSONRequestBody) (*http.Request, error)
- func NewIssueVisitorTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewIssueWorkloadServiceClientCertificateRequest(server string, serviceId string, ...) (*http.Request, error)
- func NewIssueWorkloadServiceClientCertificateRequestWithBody(server string, serviceId string, contentType string, body io.Reader) (*http.Request, error)
- func NewListAdminRelaysRequest(server string, params *ListAdminRelaysParams) (*http.Request, error)
- func NewListAvailableServicesRequest(server string, params *ListAvailableServicesParams) (*http.Request, error)
- func NewListConnectorPeerPairsRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Request, error)
- func NewListDeploymentPublishersRequest(server string, projectKey string, deployment string, ...) (*http.Request, error)
- func NewListDeploymentsRequest(server string, projectKey string, params *ListDeploymentsParams) (*http.Request, error)
- func NewListMaintenanceControlsRequest(server string) (*http.Request, error)
- func NewListPreviewsRequest(server string, params *ListPreviewsParams) (*http.Request, error)
- func NewListProjectsRequest(server string, params *ListProjectsParams) (*http.Request, error)
- func NewListPublisherIdentitiesRequest(server string, params *ListPublisherIdentitiesParams) (*http.Request, error)
- func NewListServiceAuditRequest(server string, teamId string, params *ListServiceAuditParams) (*http.Request, error)
- func NewListServiceGrantsRequest(server string, serviceId ServiceID, params *ListServiceGrantsParams) (*http.Request, error)
- func NewListServiceHTTPGrantsRequest(server string, serviceId ServiceID) (*http.Request, error)
- func NewListServiceInvitationsRequest(server string, serviceId ServiceID, params *ListServiceInvitationsParams) (*http.Request, error)
- func NewListServicesRequest(server string, params *ListServicesParams) (*http.Request, error)
- func NewListSharesRequest(server string, previewId PreviewID, params *ListSharesParams) (*http.Request, error)
- func NewListTeamSharesRequest(server string, params *ListTeamSharesParams) (*http.Request, error)
- func NewListWorkloadServicesRequest(server string) (*http.Request, error)
- func NewMarkServiceCertificateInstalledRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Request, error)
- func NewMarkServiceCertificateInstalledRequestWithBody(server string, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Request, error)
- func NewMarkSuppliedServiceCertificateInstalledRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Request, error)
- func NewMarkSuppliedServiceCertificateInstalledRequestWithBody(server string, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Request, error)
- func NewPrepareConnectorPeerPairRequest(server string, serviceId ServiceID, ...) (*http.Request, error)
- func NewPrepareConnectorPeerPairRequestWithBody(server string, serviceId ServiceID, contentType string, body io.Reader) (*http.Request, error)
- func NewPrepareServiceRunRequest(server string, serviceId ServiceID, params *PrepareServiceRunParams, ...) (*http.Request, error)
- func NewPrepareServiceRunRequestWithBody(server string, serviceId ServiceID, params *PrepareServiceRunParams, ...) (*http.Request, error)
- func NewReadPublisherVisitorPolicyRequest(server string, body ReadPublisherVisitorPolicyJSONRequestBody) (*http.Request, error)
- func NewReadPublisherVisitorPolicyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewRealizeLocalProjectServiceRequest(server string, projectKey string, service string, ...) (*http.Request, error)
- func NewRealizeLocalProjectServiceRequestWithBody(server string, projectKey string, service string, contentType string, ...) (*http.Request, error)
- func NewRebindConnectorPeerPairRequest(server string, serviceId ServiceID, pairId string, ...) (*http.Request, error)
- func NewRebindConnectorPeerPairRequestWithBody(server string, serviceId ServiceID, pairId string, contentType string, ...) (*http.Request, error)
- func NewRedeemDeploymentPublisherEnrollmentRequest(server string, body RedeemDeploymentPublisherEnrollmentJSONRequestBody) (*http.Request, error)
- func NewRedeemDeploymentPublisherEnrollmentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewRedeemServiceBrowserHandoffRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Request, error)
- func NewRedeemServiceBrowserHandoffRequestWithBody(server string, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Request, error)
- func NewRedeemServiceShareRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Request, error)
- func NewRedeemServiceShareRequestWithBody(server string, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Request, error)
- func NewRegisterDeploymentCredentialRequest(server string, projectKey string, params *RegisterDeploymentCredentialParams, ...) (*http.Request, error)
- func NewRegisterDeploymentCredentialRequestWithBody(server string, projectKey string, params *RegisterDeploymentCredentialParams, ...) (*http.Request, error)
- func NewReleaseServiceEndpointRequest(server string, serviceId ServiceID, body ReleaseServiceEndpointJSONRequestBody) (*http.Request, error)
- func NewReleaseServiceEndpointRequestWithBody(server string, serviceId ServiceID, contentType string, body io.Reader) (*http.Request, error)
- func NewRenameDeploymentNamespaceRequest(server string, projectKey string, deployment string, ...) (*http.Request, error)
- func NewRenameDeploymentNamespaceRequestWithBody(server string, projectKey string, deployment string, contentType string, ...) (*http.Request, error)
- func NewRenameDeploymentRequest(server string, projectKey string, deployment string, ...) (*http.Request, error)
- func NewRenameDeploymentRequestWithBody(server string, projectKey string, deployment string, contentType string, ...) (*http.Request, error)
- func NewRenewConnectorPeerPairRequest(server string, serviceId ServiceID, pairId string, ...) (*http.Request, error)
- func NewRenewConnectorPeerPairRequestWithBody(server string, serviceId ServiceID, pairId string, contentType string, ...) (*http.Request, error)
- func NewRenewPublisherRuntimeRequest(server string, publisherIdentityId PublisherIdentityID, ...) (*http.Request, error)
- func NewRenewPublisherRuntimeRequestWithBody(server string, publisherIdentityId PublisherIdentityID, contentType string, ...) (*http.Request, error)
- func NewRenewServiceRunRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Request, error)
- func NewRenewServiceRunRequestWithBody(server string, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Request, error)
- func NewReportServiceRunObservationsRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Request, error)
- func NewReportServiceRunObservationsRequestWithBody(server string, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Request, error)
- func NewResolveProjectSourceRequest(server string, body ResolveProjectSourceJSONRequestBody) (*http.Request, error)
- func NewResolveProjectSourceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewRetireConnectorPeerPairRequest(server string, serviceId ServiceID, pairId string, ...) (*http.Request, error)
- func NewRetireConnectorPeerPairRequestWithBody(server string, serviceId ServiceID, pairId string, contentType string, ...) (*http.Request, error)
- func NewRetireProjectRequest(server string, projectKey string, body RetireProjectJSONRequestBody) (*http.Request, error)
- func NewRetireProjectRequestWithBody(server string, projectKey string, contentType string, body io.Reader) (*http.Request, error)
- func NewRevokeDeploymentPublisherRequest(server string, projectKey string, deployment string, publisher string, ...) (*http.Request, error)
- func NewRevokePublisherGrantRequest(server string, publisherIdentityId PublisherIdentityID, grantId ResourceID, ...) (*http.Request, error)
- func NewRevokePublisherIdentityRequest(server string, publisherIdentityId PublisherIdentityID, ...) (*http.Request, error)
- func NewRevokeServiceBrowserSessionRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Request, error)
- func NewRevokeServiceBrowserSessionRequestWithBody(server string, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Request, error)
- func NewRevokeServiceGrantRequest(server string, serviceId ServiceID, grantId ServiceGrantID) (*http.Request, error)
- func NewRevokeServiceHTTPGrantRequest(server string, serviceId ServiceID, grantId string) (*http.Request, error)
- func NewRevokeServiceInvitationRequest(server string, serviceId ServiceID, invitationId ServiceInvitationID) (*http.Request, error)
- func NewRevokeShareRequest(server string, shareId ShareID) (*http.Request, error)
- func NewRevokeVisitorDeviceRequest(server string, deviceId string) (*http.Request, error)
- func NewSelectDeploymentServiceRunRequest(server string, projectKey string, deployment string, service string, ...) (*http.Request, error)
- func NewSelectDeploymentServiceRunRequestWithBody(server string, projectKey string, deployment string, service string, ...) (*http.Request, error)
- func NewSelectServiceRunRequest(server string, serviceId ServiceID, body SelectServiceRunJSONRequestBody) (*http.Request, error)
- func NewSelectServiceRunRequestWithBody(server string, serviceId ServiceID, contentType string, body io.Reader) (*http.Request, error)
- func NewSelectWorkloadServiceRunRequest(server string, serviceId ServiceID) (*http.Request, error)
- func NewSetMaintenanceControlRequest(server string, controlName MaintenanceControlName, ...) (*http.Request, error)
- func NewSetMaintenanceControlRequestWithBody(server string, controlName MaintenanceControlName, contentType string, ...) (*http.Request, error)
- func NewSetPreviewTeamAccessRequest(server string, previewId PreviewID, body SetPreviewTeamAccessJSONRequestBody) (*http.Request, error)
- func NewSetPreviewTeamAccessRequestWithBody(server string, previewId PreviewID, contentType string, body io.Reader) (*http.Request, error)
- func NewSetServiceEnabledRequest(server string, serviceId ServiceID, body SetServiceEnabledJSONRequestBody) (*http.Request, error)
- func NewSetServiceEnabledRequestWithBody(server string, serviceId ServiceID, contentType string, body io.Reader) (*http.Request, error)
- func NewStartPublisherRuntimeRequest(server string, publisherIdentityId PublisherIdentityID, ...) (*http.Request, error)
- func NewStartPublisherRuntimeRequestWithBody(server string, publisherIdentityId PublisherIdentityID, contentType string, ...) (*http.Request, error)
- func NewStartServiceRunRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Request, error)
- func NewStartServiceRunRequestWithBody(server string, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Request, error)
- func NewStopPublisherRuntimeRequest(server string, publisherIdentityId PublisherIdentityID, ...) (*http.Request, error)
- func NewStopPublisherRuntimeRequestWithBody(server string, publisherIdentityId PublisherIdentityID, contentType string, ...) (*http.Request, error)
- func NewUpdateDeploymentRequest(server string, projectKey string, deployment string, ...) (*http.Request, error)
- func NewUpdateDeploymentRequestWithBody(server string, projectKey string, deployment string, ...) (*http.Request, error)
- func NewVerifyDeploymentIdentityRequest(server string, body VerifyDeploymentIdentityJSONRequestBody) (*http.Request, error)
- func NewVerifyDeploymentIdentityRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewWatchPublisherRunsRequest(server string, body WatchPublisherRunsJSONRequestBody) (*http.Request, error)
- func NewWatchPublisherRunsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func ValidPublisherPolicyBookmark(value string) bool
- type AcceptServiceInvitationJSONRequestBody
- type AcceptServiceInvitationResponse
- func (r AcceptServiceInvitationResponse) ContentType() string
- func (r AcceptServiceInvitationResponse) GetApplicationproblemJSONDefault() *Problem
- func (r AcceptServiceInvitationResponse) GetBody() []byte
- func (r AcceptServiceInvitationResponse) GetJSON200() *ServiceGrant
- func (r AcceptServiceInvitationResponse) Status() string
- func (r AcceptServiceInvitationResponse) StatusCode() int
- type AcknowledgeDeploymentPublisherConfigurationJSONRequestBody
- type AcknowledgeDeploymentPublisherConfigurationResponse
- func (r AcknowledgeDeploymentPublisherConfigurationResponse) ContentType() string
- func (r AcknowledgeDeploymentPublisherConfigurationResponse) GetApplicationproblemJSONDefault() *Problem
- func (r AcknowledgeDeploymentPublisherConfigurationResponse) GetBody() []byte
- func (r AcknowledgeDeploymentPublisherConfigurationResponse) Status() string
- func (r AcknowledgeDeploymentPublisherConfigurationResponse) StatusCode() int
- type AcquireDeploymentPublisherLeaseJSONRequestBody
- type AcquireDeploymentPublisherLeaseResponse
- func (r AcquireDeploymentPublisherLeaseResponse) ContentType() string
- func (r AcquireDeploymentPublisherLeaseResponse) GetApplicationproblemJSONDefault() *Problem
- func (r AcquireDeploymentPublisherLeaseResponse) GetBody() []byte
- func (r AcquireDeploymentPublisherLeaseResponse) GetJSON200() *DeploymentPublisherLease
- func (r AcquireDeploymentPublisherLeaseResponse) Status() string
- func (r AcquireDeploymentPublisherLeaseResponse) StatusCode() int
- type AddPreviewServiceJSONRequestBody
- type AddPreviewServiceRequest
- type AddPreviewServiceResponse
- func (r AddPreviewServiceResponse) ContentType() string
- func (r AddPreviewServiceResponse) GetApplicationproblemJSONDefault() *Problem
- func (r AddPreviewServiceResponse) GetBody() []byte
- func (r AddPreviewServiceResponse) GetJSON200() *Preview
- func (r AddPreviewServiceResponse) Status() string
- func (r AddPreviewServiceResponse) StatusCode() int
- type AdminDrainRelayRequest
- type AdminRelayLease
- type AdminRelayPage
- type AdminServerStatus
- type AdminServerStatusRole
- type AllocateDeploymentPublicationJSONRequestBody
- type AllocateDeploymentPublicationParams
- type AllocateDeploymentPublicationResponse
- func (r AllocateDeploymentPublicationResponse) ContentType() string
- func (r AllocateDeploymentPublicationResponse) GetApplicationproblemJSONDefault() *Problem
- func (r AllocateDeploymentPublicationResponse) GetBody() []byte
- func (r AllocateDeploymentPublicationResponse) GetJSON201() *Service
- func (r AllocateDeploymentPublicationResponse) Status() string
- func (r AllocateDeploymentPublicationResponse) StatusCode() int
- type AllocateGuestDemoServiceJSONRequestBody
- type AllocateGuestDemoServiceParams
- type AllocateGuestDemoServiceRequest
- type AllocateGuestDemoServiceResponse
- func (r AllocateGuestDemoServiceResponse) ContentType() string
- func (r AllocateGuestDemoServiceResponse) GetApplicationproblemJSONDefault() *Problem
- func (r AllocateGuestDemoServiceResponse) GetBody() []byte
- func (r AllocateGuestDemoServiceResponse) GetJSON201() *Service
- func (r AllocateGuestDemoServiceResponse) Status() string
- func (r AllocateGuestDemoServiceResponse) StatusCode() int
- type AllocatePublisherServiceJSONRequestBody
- type AllocatePublisherServiceResponse
- func (r AllocatePublisherServiceResponse) ContentType() string
- func (r AllocatePublisherServiceResponse) GetApplicationproblemJSONDefault() *Problem
- func (r AllocatePublisherServiceResponse) GetBody() []byte
- func (r AllocatePublisherServiceResponse) GetJSON201() *Service
- func (r AllocatePublisherServiceResponse) Status() string
- func (r AllocatePublisherServiceResponse) StatusCode() int
- type AllocateServiceRequest
- type AppendFeedbackEventRequest
- type AppendReviewerFeedbackEventRequest
- type AppliedDeployment
- type AppliedProjectConfiguration
- type AppliedProjectService
- type AppliedProjectServiceServiceKind
- type ApplyProjectConfigurationJSONRequestBody
- type ApplyProjectConfigurationRequest
- type ApplyProjectConfigurationResponse
- func (r ApplyProjectConfigurationResponse) ContentType() string
- func (r ApplyProjectConfigurationResponse) GetApplicationproblemJSONDefault() *Problem
- func (r ApplyProjectConfigurationResponse) GetBody() []byte
- func (r ApplyProjectConfigurationResponse) GetJSON200() *AppliedProjectConfiguration
- func (r ApplyProjectConfigurationResponse) Status() string
- func (r ApplyProjectConfigurationResponse) StatusCode() int
- type AuthenticationFacts
- type AuthenticationFactsMethods
- type AuthorizeImplementerFeedbackJSONRequestBody
- type AuthorizeImplementerFeedbackRequest
- type AuthorizeImplementerFeedbackResponse
- func (r AuthorizeImplementerFeedbackResponse) ContentType() string
- func (r AuthorizeImplementerFeedbackResponse) GetApplicationproblemJSONDefault() *Problem
- func (r AuthorizeImplementerFeedbackResponse) GetBody() []byte
- func (r AuthorizeImplementerFeedbackResponse) GetJSON200() *FeedbackAuthorization
- func (r AuthorizeImplementerFeedbackResponse) Status() string
- func (r AuthorizeImplementerFeedbackResponse) StatusCode() int
- type AuthorizeReviewerFeedbackJSONRequestBody
- type AuthorizeReviewerFeedbackRequest
- type AuthorizeReviewerFeedbackResponse
- func (r AuthorizeReviewerFeedbackResponse) ContentType() string
- func (r AuthorizeReviewerFeedbackResponse) GetApplicationproblemJSONDefault() *Problem
- func (r AuthorizeReviewerFeedbackResponse) GetBody() []byte
- func (r AuthorizeReviewerFeedbackResponse) GetJSON200() *FeedbackAuthorization
- func (r AuthorizeReviewerFeedbackResponse) Status() string
- func (r AuthorizeReviewerFeedbackResponse) StatusCode() int
- type AuthorizeServiceClientCertificateJSONRequestBody
- type AuthorizeServiceClientCertificateRequest
- type AuthorizeServiceClientCertificateResponse
- func (r AuthorizeServiceClientCertificateResponse) ContentType() string
- func (r AuthorizeServiceClientCertificateResponse) GetApplicationproblemJSONDefault() *Problem
- func (r AuthorizeServiceClientCertificateResponse) GetBody() []byte
- func (r AuthorizeServiceClientCertificateResponse) GetJSON200() *ServiceClientCertificateDecision
- func (r AuthorizeServiceClientCertificateResponse) Status() string
- func (r AuthorizeServiceClientCertificateResponse) StatusCode() int
- type BeginServiceBrowserLoginParams
- type BeginServiceBrowserLoginResponse
- func (r BeginServiceBrowserLoginResponse) ContentType() string
- func (r BeginServiceBrowserLoginResponse) GetApplicationproblemJSONDefault() *Problem
- func (r BeginServiceBrowserLoginResponse) GetBody() []byte
- func (r BeginServiceBrowserLoginResponse) Status() string
- func (r BeginServiceBrowserLoginResponse) StatusCode() int
- type BrowserAccessResponse
- type BrowserHandoffResponse
- type CanonicalHostname
- type CertificateChallengeMethod
- type CertificateIssuanceState
- type CertificatePlan
- type CheckServiceBrowserSessionJSONRequestBody
- type CheckServiceBrowserSessionResponse
- func (r CheckServiceBrowserSessionResponse) ContentType() string
- func (r CheckServiceBrowserSessionResponse) GetApplicationproblemJSONDefault() *Problem
- func (r CheckServiceBrowserSessionResponse) GetBody() []byte
- func (r CheckServiceBrowserSessionResponse) GetJSON200() *BrowserAccessResponse
- func (r CheckServiceBrowserSessionResponse) Status() string
- func (r CheckServiceBrowserSessionResponse) StatusCode() int
- type CheckWorkloadServiceResponse
- func (r CheckWorkloadServiceResponse) ContentType() string
- func (r CheckWorkloadServiceResponse) GetApplicationproblemJSONDefault() *Problem
- func (r CheckWorkloadServiceResponse) GetBody() []byte
- func (r CheckWorkloadServiceResponse) GetJSON200() *WorkloadServiceAuthorization
- func (r CheckWorkloadServiceResponse) Status() string
- func (r CheckWorkloadServiceResponse) StatusCode() int
- type Client
- func (c *Client) AcceptServiceInvitation(ctx context.Context, body AcceptServiceInvitationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AcceptServiceInvitationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AcknowledgeDeploymentPublisherConfiguration(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) AcknowledgeDeploymentPublisherConfigurationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AcquireDeploymentPublisherLease(ctx context.Context, body AcquireDeploymentPublisherLeaseJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AcquireDeploymentPublisherLeaseWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AddPreviewService(ctx context.Context, previewId PreviewID, ...) (*http.Response, error)
- func (c *Client) AddPreviewServiceWithBody(ctx context.Context, previewId PreviewID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AllocateDeploymentPublication(ctx context.Context, projectKey string, deployment string, ...) (*http.Response, error)
- func (c *Client) AllocateDeploymentPublicationWithBody(ctx context.Context, projectKey string, deployment string, ...) (*http.Response, error)
- func (c *Client) AllocateGuestDemoService(ctx context.Context, params *AllocateGuestDemoServiceParams, ...) (*http.Response, error)
- func (c *Client) AllocateGuestDemoServiceWithBody(ctx context.Context, params *AllocateGuestDemoServiceParams, ...) (*http.Response, error)
- func (c *Client) AllocatePublisherService(ctx context.Context, body AllocatePublisherServiceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AllocatePublisherServiceWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ApplyProjectConfiguration(ctx context.Context, projectKey string, ...) (*http.Response, error)
- func (c *Client) ApplyProjectConfigurationWithBody(ctx context.Context, projectKey string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AuthorizeImplementerFeedback(ctx context.Context, body AuthorizeImplementerFeedbackJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AuthorizeImplementerFeedbackWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AuthorizeReviewerFeedback(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Response, error)
- func (c *Client) AuthorizeReviewerFeedbackWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Response, error)
- func (c *Client) AuthorizeServiceClientCertificate(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Response, error)
- func (c *Client) AuthorizeServiceClientCertificateWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Response, error)
- func (c *Client) BeginServiceBrowserLogin(ctx context.Context, params *BeginServiceBrowserLoginParams, ...) (*http.Response, error)
- func (c *Client) CheckServiceBrowserSession(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Response, error)
- func (c *Client) CheckServiceBrowserSessionWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Response, error)
- func (c *Client) CheckWorkloadService(ctx context.Context, serviceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CloseServiceRun(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Response, error)
- func (c *Client) CompletePreviewBrowserLogin(ctx context.Context, params *CompletePreviewBrowserLoginParams, ...) (*http.Response, error)
- func (c *Client) ConfigureService(ctx context.Context, serviceId ServiceID, body ConfigureServiceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ConfigureServiceWithBody(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ConfirmConnectorPeerPairPrepared(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Response, error)
- func (c *Client) ConfirmConnectorPeerPairPreparedWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Response, error)
- func (c *Client) CreateDeployment(ctx context.Context, projectKey string, params *CreateDeploymentParams, ...) (*http.Response, error)
- func (c *Client) CreateDeploymentPublisherEnrollment(ctx context.Context, projectKey string, deployment string, ...) (*http.Response, error)
- func (c *Client) CreateDeploymentPublisherEnrollmentWithBody(ctx context.Context, projectKey string, deployment string, ...) (*http.Response, error)
- func (c *Client) CreateDeploymentWithBody(ctx context.Context, projectKey string, params *CreateDeploymentParams, ...) (*http.Response, error)
- func (c *Client) CreateGuestDemo(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CreatePreview(ctx context.Context, params *CreatePreviewParams, ...) (*http.Response, error)
- func (c *Client) CreatePreviewWithBody(ctx context.Context, params *CreatePreviewParams, contentType string, ...) (*http.Response, error)
- func (c *Client) CreatePublisherEnrollment(ctx context.Context, body CreatePublisherEnrollmentJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreatePublisherEnrollmentWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreatePublisherGrant(ctx context.Context, publisherIdentityId PublisherIdentityID, ...) (*http.Response, error)
- func (c *Client) CreatePublisherGrantWithBody(ctx context.Context, publisherIdentityId PublisherIdentityID, ...) (*http.Response, error)
- func (c *Client) CreateService(ctx context.Context, params *CreateServiceParams, ...) (*http.Response, error)
- func (c *Client) CreateServiceCertificateIssuance(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Response, error)
- func (c *Client) CreateServiceCertificateIssuanceWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Response, error)
- func (c *Client) CreateServiceGrant(ctx context.Context, serviceId ServiceID, params *CreateServiceGrantParams, ...) (*http.Response, error)
- func (c *Client) CreateServiceGrantWithBody(ctx context.Context, serviceId ServiceID, params *CreateServiceGrantParams, ...) (*http.Response, error)
- func (c *Client) CreateServiceHTTPGrant(ctx context.Context, serviceId ServiceID, ...) (*http.Response, error)
- func (c *Client) CreateServiceHTTPGrantWithBody(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateServiceRunPreview(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Response, error)
- func (c *Client) CreateServiceRunPreviewWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Response, error)
- func (c *Client) CreateServiceShare(ctx context.Context, params *CreateServiceShareParams, ...) (*http.Response, error)
- func (c *Client) CreateServiceShareWithBody(ctx context.Context, params *CreateServiceShareParams, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateServiceWithBody(ctx context.Context, params *CreateServiceParams, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateShare(ctx context.Context, previewId PreviewID, params *CreateShareParams, ...) (*http.Response, error)
- func (c *Client) CreateShareWithBody(ctx context.Context, previewId PreviewID, params *CreateShareParams, ...) (*http.Response, error)
- func (c *Client) DeleteDeployment(ctx context.Context, projectKey string, deployment string, ...) (*http.Response, error)
- func (c *Client) DeletePublisherService(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteService(ctx context.Context, serviceId ServiceID, params *DeleteServiceParams, ...) (*http.Response, error)
- func (c *Client) DeliverConnectorPeerPair(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Response, error)
- func (c *Client) DeliverConnectorPeerPairWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Response, error)
- func (c *Client) DrainAdminRelay(ctx context.Context, relayId RelayID, body DrainAdminRelayJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DrainAdminRelayWithBody(ctx context.Context, relayId RelayID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) EnrollGuestPublisher(ctx context.Context, body EnrollGuestPublisherJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) EnrollGuestPublisherWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) EnrollVisitorDevice(ctx context.Context, body EnrollVisitorDeviceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) EnrollVisitorDeviceWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetAdminServerStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetClientIP(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetControlDiscovery(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetDeployment(ctx context.Context, projectKey string, deployment string, ...) (*http.Response, error)
- func (c *Client) GetDeploymentPublication(ctx context.Context, projectKey string, deployment string, service string, ...) (*http.Response, error)
- func (c *Client) GetDeploymentPublisher(ctx context.Context, projectKey string, deployment string, publisher string, ...) (*http.Response, error)
- func (c *Client) GetDeploymentPublisherAssignments(ctx context.Context, params *GetDeploymentPublisherAssignmentsParams, ...) (*http.Response, error)
- func (c *Client) GetHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetLocalProjectService(ctx context.Context, projectKey string, service string, ...) (*http.Response, error)
- func (c *Client) GetPreview(ctx context.Context, previewId PreviewID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetProjectConfiguration(ctx context.Context, projectKey string, params *GetProjectConfigurationParams, ...) (*http.Response, error)
- func (c *Client) GetProjectPublicMetadata(ctx context.Context, projectKey string, params *GetProjectPublicMetadataParams, ...) (*http.Response, error)
- func (c *Client) GetProjectService(ctx context.Context, projectKey string, service ServiceName, ...) (*http.Response, error)
- func (c *Client) GetProjectStatus(ctx context.Context, projectKey string, params *GetProjectStatusParams, ...) (*http.Response, error)
- func (c *Client) GetPublisherService(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetReadiness(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetService(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetServiceByHostname(ctx context.Context, hostname string, params *GetServiceByHostnameParams, ...) (*http.Response, error)
- func (c *Client) GetServiceCertificateIssuance(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Response, error)
- func (c *Client) GetServiceConfiguration(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetShare(ctx context.Context, shareId ShareID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetWebhookProviderSource(ctx context.Context, provider WebhookProvider, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) InspectPublisherRuntime(ctx context.Context, publisherIdentityId PublisherIdentityID, ...) (*http.Response, error)
- func (c *Client) InspectPublisherRuntimeWithBody(ctx context.Context, publisherIdentityId PublisherIdentityID, ...) (*http.Response, error)
- func (c *Client) InviteServiceVisitor(ctx context.Context, serviceId ServiceID, params *InviteServiceVisitorParams, ...) (*http.Response, error)
- func (c *Client) InviteServiceVisitorWithBody(ctx context.Context, serviceId ServiceID, params *InviteServiceVisitorParams, ...) (*http.Response, error)
- func (c *Client) IssueServiceClientCertificate(ctx context.Context, serviceId ServiceID, ...) (*http.Response, error)
- func (c *Client) IssueServiceClientCertificateWithBody(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) IssueVisitorToken(ctx context.Context, body IssueVisitorTokenJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) IssueVisitorTokenWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) IssueWorkloadServiceClientCertificate(ctx context.Context, serviceId string, ...) (*http.Response, error)
- func (c *Client) IssueWorkloadServiceClientCertificateWithBody(ctx context.Context, serviceId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ListAdminRelays(ctx context.Context, params *ListAdminRelaysParams, ...) (*http.Response, error)
- func (c *Client) ListAvailableServices(ctx context.Context, params *ListAvailableServicesParams, ...) (*http.Response, error)
- func (c *Client) ListConnectorPeerPairs(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Response, error)
- func (c *Client) ListDeploymentPublishers(ctx context.Context, projectKey string, deployment string, ...) (*http.Response, error)
- func (c *Client) ListDeployments(ctx context.Context, projectKey string, params *ListDeploymentsParams, ...) (*http.Response, error)
- func (c *Client) ListMaintenanceControls(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListPreviews(ctx context.Context, params *ListPreviewsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListProjects(ctx context.Context, params *ListProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListPublisherIdentities(ctx context.Context, params *ListPublisherIdentitiesParams, ...) (*http.Response, error)
- func (c *Client) ListServiceAudit(ctx context.Context, teamId string, params *ListServiceAuditParams, ...) (*http.Response, error)
- func (c *Client) ListServiceGrants(ctx context.Context, serviceId ServiceID, params *ListServiceGrantsParams, ...) (*http.Response, error)
- func (c *Client) ListServiceHTTPGrants(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListServiceInvitations(ctx context.Context, serviceId ServiceID, params *ListServiceInvitationsParams, ...) (*http.Response, error)
- func (c *Client) ListServices(ctx context.Context, params *ListServicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListShares(ctx context.Context, previewId PreviewID, params *ListSharesParams, ...) (*http.Response, error)
- func (c *Client) ListTeamShares(ctx context.Context, params *ListTeamSharesParams, ...) (*http.Response, error)
- func (c *Client) ListWorkloadServices(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) MarkServiceCertificateInstalled(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Response, error)
- func (c *Client) MarkServiceCertificateInstalledWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Response, error)
- func (c *Client) MarkSuppliedServiceCertificateInstalled(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Response, error)
- func (c *Client) MarkSuppliedServiceCertificateInstalledWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Response, error)
- func (c *Client) PrepareConnectorPeerPair(ctx context.Context, serviceId ServiceID, ...) (*http.Response, error)
- func (c *Client) PrepareConnectorPeerPairWithBody(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PrepareServiceRun(ctx context.Context, serviceId ServiceID, params *PrepareServiceRunParams, ...) (*http.Response, error)
- func (c *Client) PrepareServiceRunWithBody(ctx context.Context, serviceId ServiceID, params *PrepareServiceRunParams, ...) (*http.Response, error)
- func (c *Client) ReadPublisherVisitorPolicy(ctx context.Context, body ReadPublisherVisitorPolicyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ReadPublisherVisitorPolicyWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RealizeLocalProjectService(ctx context.Context, projectKey string, service string, ...) (*http.Response, error)
- func (c *Client) RealizeLocalProjectServiceWithBody(ctx context.Context, projectKey string, service string, contentType string, ...) (*http.Response, error)
- func (c *Client) RebindConnectorPeerPair(ctx context.Context, serviceId ServiceID, pairId string, ...) (*http.Response, error)
- func (c *Client) RebindConnectorPeerPairWithBody(ctx context.Context, serviceId ServiceID, pairId string, contentType string, ...) (*http.Response, error)
- func (c *Client) RedeemDeploymentPublisherEnrollment(ctx context.Context, body RedeemDeploymentPublisherEnrollmentJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) RedeemDeploymentPublisherEnrollmentWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RedeemServiceBrowserHandoff(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Response, error)
- func (c *Client) RedeemServiceBrowserHandoffWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Response, error)
- func (c *Client) RedeemServiceShare(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Response, error)
- func (c *Client) RedeemServiceShareWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Response, error)
- func (c *Client) RegisterDeploymentCredential(ctx context.Context, projectKey string, ...) (*http.Response, error)
- func (c *Client) RegisterDeploymentCredentialWithBody(ctx context.Context, projectKey string, ...) (*http.Response, error)
- func (c *Client) ReleaseServiceEndpoint(ctx context.Context, serviceId ServiceID, ...) (*http.Response, error)
- func (c *Client) ReleaseServiceEndpointWithBody(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RenameDeployment(ctx context.Context, projectKey string, deployment string, ...) (*http.Response, error)
- func (c *Client) RenameDeploymentNamespace(ctx context.Context, projectKey string, deployment string, ...) (*http.Response, error)
- func (c *Client) RenameDeploymentNamespaceWithBody(ctx context.Context, projectKey string, deployment string, contentType string, ...) (*http.Response, error)
- func (c *Client) RenameDeploymentWithBody(ctx context.Context, projectKey string, deployment string, contentType string, ...) (*http.Response, error)
- func (c *Client) RenewConnectorPeerPair(ctx context.Context, serviceId ServiceID, pairId string, ...) (*http.Response, error)
- func (c *Client) RenewConnectorPeerPairWithBody(ctx context.Context, serviceId ServiceID, pairId string, contentType string, ...) (*http.Response, error)
- func (c *Client) RenewPublisherRuntime(ctx context.Context, publisherIdentityId PublisherIdentityID, ...) (*http.Response, error)
- func (c *Client) RenewPublisherRuntimeWithBody(ctx context.Context, publisherIdentityId PublisherIdentityID, ...) (*http.Response, error)
- func (c *Client) RenewServiceRun(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Response, error)
- func (c *Client) RenewServiceRunWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Response, error)
- func (c *Client) ReportServiceRunObservations(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Response, error)
- func (c *Client) ReportServiceRunObservationsWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Response, error)
- func (c *Client) ResolveProjectSource(ctx context.Context, body ResolveProjectSourceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ResolveProjectSourceWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RetireConnectorPeerPair(ctx context.Context, serviceId ServiceID, pairId string, ...) (*http.Response, error)
- func (c *Client) RetireConnectorPeerPairWithBody(ctx context.Context, serviceId ServiceID, pairId string, contentType string, ...) (*http.Response, error)
- func (c *Client) RetireProject(ctx context.Context, projectKey string, body RetireProjectJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) RetireProjectWithBody(ctx context.Context, projectKey string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RevokeDeploymentPublisher(ctx context.Context, projectKey string, deployment string, publisher string, ...) (*http.Response, error)
- func (c *Client) RevokePublisherGrant(ctx context.Context, publisherIdentityId PublisherIdentityID, ...) (*http.Response, error)
- func (c *Client) RevokePublisherIdentity(ctx context.Context, publisherIdentityId PublisherIdentityID, ...) (*http.Response, error)
- func (c *Client) RevokeServiceBrowserSession(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Response, error)
- func (c *Client) RevokeServiceBrowserSessionWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Response, error)
- func (c *Client) RevokeServiceGrant(ctx context.Context, serviceId ServiceID, grantId ServiceGrantID, ...) (*http.Response, error)
- func (c *Client) RevokeServiceHTTPGrant(ctx context.Context, serviceId ServiceID, grantId string, ...) (*http.Response, error)
- func (c *Client) RevokeServiceInvitation(ctx context.Context, serviceId ServiceID, invitationId ServiceInvitationID, ...) (*http.Response, error)
- func (c *Client) RevokeShare(ctx context.Context, shareId ShareID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RevokeVisitorDevice(ctx context.Context, deviceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SelectDeploymentServiceRun(ctx context.Context, projectKey string, deployment string, service string, ...) (*http.Response, error)
- func (c *Client) SelectDeploymentServiceRunWithBody(ctx context.Context, projectKey string, deployment string, service string, ...) (*http.Response, error)
- func (c *Client) SelectServiceRun(ctx context.Context, serviceId ServiceID, body SelectServiceRunJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SelectServiceRunWithBody(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SelectWorkloadServiceRun(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SetMaintenanceControl(ctx context.Context, controlName MaintenanceControlName, ...) (*http.Response, error)
- func (c *Client) SetMaintenanceControlWithBody(ctx context.Context, controlName MaintenanceControlName, contentType string, ...) (*http.Response, error)
- func (c *Client) SetPreviewTeamAccess(ctx context.Context, previewId PreviewID, ...) (*http.Response, error)
- func (c *Client) SetPreviewTeamAccessWithBody(ctx context.Context, previewId PreviewID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SetServiceEnabled(ctx context.Context, serviceId ServiceID, ...) (*http.Response, error)
- func (c *Client) SetServiceEnabledWithBody(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) StartPublisherRuntime(ctx context.Context, publisherIdentityId PublisherIdentityID, ...) (*http.Response, error)
- func (c *Client) StartPublisherRuntimeWithBody(ctx context.Context, publisherIdentityId PublisherIdentityID, ...) (*http.Response, error)
- func (c *Client) StartServiceRun(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Response, error)
- func (c *Client) StartServiceRunWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*http.Response, error)
- func (c *Client) StopPublisherRuntime(ctx context.Context, publisherIdentityId PublisherIdentityID, ...) (*http.Response, error)
- func (c *Client) StopPublisherRuntimeWithBody(ctx context.Context, publisherIdentityId PublisherIdentityID, ...) (*http.Response, error)
- func (c *Client) UpdateDeployment(ctx context.Context, projectKey string, deployment string, ...) (*http.Response, error)
- func (c *Client) UpdateDeploymentWithBody(ctx context.Context, projectKey string, deployment string, ...) (*http.Response, error)
- func (c *Client) VerifyDeploymentIdentity(ctx context.Context, body VerifyDeploymentIdentityJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) VerifyDeploymentIdentityWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) WatchPublisherRuns(ctx context.Context, body WatchPublisherRunsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) WatchPublisherRunsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientIPResponse
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AcceptServiceInvitationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AcceptServiceInvitationResponse, error)
- func (c *ClientWithResponses) AcceptServiceInvitationWithResponse(ctx context.Context, body AcceptServiceInvitationJSONRequestBody, ...) (*AcceptServiceInvitationResponse, error)
- func (c *ClientWithResponses) AcknowledgeDeploymentPublisherConfigurationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AcknowledgeDeploymentPublisherConfigurationResponse, error)
- func (c *ClientWithResponses) AcknowledgeDeploymentPublisherConfigurationWithResponse(ctx context.Context, ...) (*AcknowledgeDeploymentPublisherConfigurationResponse, error)
- func (c *ClientWithResponses) AcquireDeploymentPublisherLeaseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AcquireDeploymentPublisherLeaseResponse, error)
- func (c *ClientWithResponses) AcquireDeploymentPublisherLeaseWithResponse(ctx context.Context, body AcquireDeploymentPublisherLeaseJSONRequestBody, ...) (*AcquireDeploymentPublisherLeaseResponse, error)
- func (c *ClientWithResponses) AddPreviewServiceWithBodyWithResponse(ctx context.Context, previewId PreviewID, contentType string, body io.Reader, ...) (*AddPreviewServiceResponse, error)
- func (c *ClientWithResponses) AddPreviewServiceWithResponse(ctx context.Context, previewId PreviewID, ...) (*AddPreviewServiceResponse, error)
- func (c *ClientWithResponses) AllocateDeploymentPublicationWithBodyWithResponse(ctx context.Context, projectKey string, deployment string, ...) (*AllocateDeploymentPublicationResponse, error)
- func (c *ClientWithResponses) AllocateDeploymentPublicationWithResponse(ctx context.Context, projectKey string, deployment string, ...) (*AllocateDeploymentPublicationResponse, error)
- func (c *ClientWithResponses) AllocateGuestDemoServiceWithBodyWithResponse(ctx context.Context, params *AllocateGuestDemoServiceParams, ...) (*AllocateGuestDemoServiceResponse, error)
- func (c *ClientWithResponses) AllocateGuestDemoServiceWithResponse(ctx context.Context, params *AllocateGuestDemoServiceParams, ...) (*AllocateGuestDemoServiceResponse, error)
- func (c *ClientWithResponses) AllocatePublisherServiceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AllocatePublisherServiceResponse, error)
- func (c *ClientWithResponses) AllocatePublisherServiceWithResponse(ctx context.Context, body AllocatePublisherServiceJSONRequestBody, ...) (*AllocatePublisherServiceResponse, error)
- func (c *ClientWithResponses) ApplyProjectConfigurationWithBodyWithResponse(ctx context.Context, projectKey string, contentType string, body io.Reader, ...) (*ApplyProjectConfigurationResponse, error)
- func (c *ClientWithResponses) ApplyProjectConfigurationWithResponse(ctx context.Context, projectKey string, ...) (*ApplyProjectConfigurationResponse, error)
- func (c *ClientWithResponses) AuthorizeImplementerFeedbackWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AuthorizeImplementerFeedbackResponse, error)
- func (c *ClientWithResponses) AuthorizeImplementerFeedbackWithResponse(ctx context.Context, body AuthorizeImplementerFeedbackJSONRequestBody, ...) (*AuthorizeImplementerFeedbackResponse, error)
- func (c *ClientWithResponses) AuthorizeReviewerFeedbackWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*AuthorizeReviewerFeedbackResponse, error)
- func (c *ClientWithResponses) AuthorizeReviewerFeedbackWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*AuthorizeReviewerFeedbackResponse, error)
- func (c *ClientWithResponses) AuthorizeServiceClientCertificateWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*AuthorizeServiceClientCertificateResponse, error)
- func (c *ClientWithResponses) AuthorizeServiceClientCertificateWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*AuthorizeServiceClientCertificateResponse, error)
- func (c *ClientWithResponses) BeginServiceBrowserLoginWithResponse(ctx context.Context, params *BeginServiceBrowserLoginParams, ...) (*BeginServiceBrowserLoginResponse, error)
- func (c *ClientWithResponses) CheckServiceBrowserSessionWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*CheckServiceBrowserSessionResponse, error)
- func (c *ClientWithResponses) CheckServiceBrowserSessionWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*CheckServiceBrowserSessionResponse, error)
- func (c *ClientWithResponses) CheckWorkloadServiceWithResponse(ctx context.Context, serviceId string, reqEditors ...RequestEditorFn) (*CheckWorkloadServiceResponse, error)
- func (c *ClientWithResponses) CloseServiceRunWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*CloseServiceRunResponse, error)
- func (c *ClientWithResponses) CompletePreviewBrowserLoginWithResponse(ctx context.Context, params *CompletePreviewBrowserLoginParams, ...) (*CompletePreviewBrowserLoginResponse, error)
- func (c *ClientWithResponses) ConfigureServiceWithBodyWithResponse(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, ...) (*ConfigureServiceResponse, error)
- func (c *ClientWithResponses) ConfigureServiceWithResponse(ctx context.Context, serviceId ServiceID, body ConfigureServiceJSONRequestBody, ...) (*ConfigureServiceResponse, error)
- func (c *ClientWithResponses) ConfirmConnectorPeerPairPreparedWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*ConfirmConnectorPeerPairPreparedResponse, error)
- func (c *ClientWithResponses) ConfirmConnectorPeerPairPreparedWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*ConfirmConnectorPeerPairPreparedResponse, error)
- func (c *ClientWithResponses) CreateDeploymentPublisherEnrollmentWithBodyWithResponse(ctx context.Context, projectKey string, deployment string, ...) (*CreateDeploymentPublisherEnrollmentResponse, error)
- func (c *ClientWithResponses) CreateDeploymentPublisherEnrollmentWithResponse(ctx context.Context, projectKey string, deployment string, ...) (*CreateDeploymentPublisherEnrollmentResponse, error)
- func (c *ClientWithResponses) CreateDeploymentWithBodyWithResponse(ctx context.Context, projectKey string, params *CreateDeploymentParams, ...) (*CreateDeploymentResponse, error)
- func (c *ClientWithResponses) CreateDeploymentWithResponse(ctx context.Context, projectKey string, params *CreateDeploymentParams, ...) (*CreateDeploymentResponse, error)
- func (c *ClientWithResponses) CreateGuestDemoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CreateGuestDemoResponse, error)
- func (c *ClientWithResponses) CreatePreviewWithBodyWithResponse(ctx context.Context, params *CreatePreviewParams, contentType string, ...) (*CreatePreviewResponse, error)
- func (c *ClientWithResponses) CreatePreviewWithResponse(ctx context.Context, params *CreatePreviewParams, ...) (*CreatePreviewResponse, error)
- func (c *ClientWithResponses) CreatePublisherEnrollmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreatePublisherEnrollmentResponse, error)
- func (c *ClientWithResponses) CreatePublisherEnrollmentWithResponse(ctx context.Context, body CreatePublisherEnrollmentJSONRequestBody, ...) (*CreatePublisherEnrollmentResponse, error)
- func (c *ClientWithResponses) CreatePublisherGrantWithBodyWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, ...) (*CreatePublisherGrantResponse, error)
- func (c *ClientWithResponses) CreatePublisherGrantWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, ...) (*CreatePublisherGrantResponse, error)
- func (c *ClientWithResponses) CreateServiceCertificateIssuanceWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*CreateServiceCertificateIssuanceResponse, error)
- func (c *ClientWithResponses) CreateServiceCertificateIssuanceWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*CreateServiceCertificateIssuanceResponse, error)
- func (c *ClientWithResponses) CreateServiceGrantWithBodyWithResponse(ctx context.Context, serviceId ServiceID, params *CreateServiceGrantParams, ...) (*CreateServiceGrantResponse, error)
- func (c *ClientWithResponses) CreateServiceGrantWithResponse(ctx context.Context, serviceId ServiceID, params *CreateServiceGrantParams, ...) (*CreateServiceGrantResponse, error)
- func (c *ClientWithResponses) CreateServiceHTTPGrantWithBodyWithResponse(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, ...) (*CreateServiceHTTPGrantResponse, error)
- func (c *ClientWithResponses) CreateServiceHTTPGrantWithResponse(ctx context.Context, serviceId ServiceID, ...) (*CreateServiceHTTPGrantResponse, error)
- func (c *ClientWithResponses) CreateServiceRunPreviewWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*CreateServiceRunPreviewResponse, error)
- func (c *ClientWithResponses) CreateServiceRunPreviewWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*CreateServiceRunPreviewResponse, error)
- func (c *ClientWithResponses) CreateServiceShareWithBodyWithResponse(ctx context.Context, params *CreateServiceShareParams, contentType string, ...) (*CreateServiceShareResponse, error)
- func (c *ClientWithResponses) CreateServiceShareWithResponse(ctx context.Context, params *CreateServiceShareParams, ...) (*CreateServiceShareResponse, error)
- func (c *ClientWithResponses) CreateServiceWithBodyWithResponse(ctx context.Context, params *CreateServiceParams, contentType string, ...) (*CreateServiceResponse, error)
- func (c *ClientWithResponses) CreateServiceWithResponse(ctx context.Context, params *CreateServiceParams, ...) (*CreateServiceResponse, error)
- func (c *ClientWithResponses) CreateShareWithBodyWithResponse(ctx context.Context, previewId PreviewID, params *CreateShareParams, ...) (*CreateShareResponse, error)
- func (c *ClientWithResponses) CreateShareWithResponse(ctx context.Context, previewId PreviewID, params *CreateShareParams, ...) (*CreateShareResponse, error)
- func (c *ClientWithResponses) DeleteDeploymentWithResponse(ctx context.Context, projectKey string, deployment string, ...) (*DeleteDeploymentResponse, error)
- func (c *ClientWithResponses) DeletePublisherServiceWithResponse(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*DeletePublisherServiceResponse, error)
- func (c *ClientWithResponses) DeleteServiceWithResponse(ctx context.Context, serviceId ServiceID, params *DeleteServiceParams, ...) (*DeleteServiceResponse, error)
- func (c *ClientWithResponses) DeliverConnectorPeerPairWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*DeliverConnectorPeerPairResponse, error)
- func (c *ClientWithResponses) DeliverConnectorPeerPairWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*DeliverConnectorPeerPairResponse, error)
- func (c *ClientWithResponses) DrainAdminRelayWithBodyWithResponse(ctx context.Context, relayId RelayID, contentType string, body io.Reader, ...) (*DrainAdminRelayResponse, error)
- func (c *ClientWithResponses) DrainAdminRelayWithResponse(ctx context.Context, relayId RelayID, body DrainAdminRelayJSONRequestBody, ...) (*DrainAdminRelayResponse, error)
- func (c *ClientWithResponses) EnrollGuestPublisherWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*EnrollGuestPublisherResponse, error)
- func (c *ClientWithResponses) EnrollGuestPublisherWithResponse(ctx context.Context, body EnrollGuestPublisherJSONRequestBody, ...) (*EnrollGuestPublisherResponse, error)
- func (c *ClientWithResponses) EnrollVisitorDeviceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*EnrollVisitorDeviceResponse, error)
- func (c *ClientWithResponses) EnrollVisitorDeviceWithResponse(ctx context.Context, body EnrollVisitorDeviceJSONRequestBody, ...) (*EnrollVisitorDeviceResponse, error)
- func (c *ClientWithResponses) GetAdminServerStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAdminServerStatusResponse, error)
- func (c *ClientWithResponses) GetClientIPWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetClientIPResponse, error)
- func (c *ClientWithResponses) GetControlDiscoveryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetControlDiscoveryResponse, error)
- func (c *ClientWithResponses) GetDeploymentPublicationWithResponse(ctx context.Context, projectKey string, deployment string, service string, ...) (*GetDeploymentPublicationResponse, error)
- func (c *ClientWithResponses) GetDeploymentPublisherAssignmentsWithResponse(ctx context.Context, params *GetDeploymentPublisherAssignmentsParams, ...) (*GetDeploymentPublisherAssignmentsResponse, error)
- func (c *ClientWithResponses) GetDeploymentPublisherWithResponse(ctx context.Context, projectKey string, deployment string, publisher string, ...) (*GetDeploymentPublisherResponse, error)
- func (c *ClientWithResponses) GetDeploymentWithResponse(ctx context.Context, projectKey string, deployment string, ...) (*GetDeploymentResponse, error)
- func (c *ClientWithResponses) GetHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthResponse, error)
- func (c *ClientWithResponses) GetLocalProjectServiceWithResponse(ctx context.Context, projectKey string, service string, ...) (*GetLocalProjectServiceResponse, error)
- func (c *ClientWithResponses) GetPreviewWithResponse(ctx context.Context, previewId PreviewID, reqEditors ...RequestEditorFn) (*GetPreviewResponse, error)
- func (c *ClientWithResponses) GetProjectConfigurationWithResponse(ctx context.Context, projectKey string, params *GetProjectConfigurationParams, ...) (*GetProjectConfigurationResponse, error)
- func (c *ClientWithResponses) GetProjectPublicMetadataWithResponse(ctx context.Context, projectKey string, params *GetProjectPublicMetadataParams, ...) (*GetProjectPublicMetadataResponse, error)
- func (c *ClientWithResponses) GetProjectServiceWithResponse(ctx context.Context, projectKey string, service ServiceName, ...) (*GetProjectServiceResponse, error)
- func (c *ClientWithResponses) GetProjectStatusWithResponse(ctx context.Context, projectKey string, params *GetProjectStatusParams, ...) (*GetProjectStatusResponse, error)
- func (c *ClientWithResponses) GetPublisherServiceWithResponse(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*GetPublisherServiceResponse, error)
- func (c *ClientWithResponses) GetReadinessWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetReadinessResponse, error)
- func (c *ClientWithResponses) GetServiceByHostnameWithResponse(ctx context.Context, hostname string, params *GetServiceByHostnameParams, ...) (*GetServiceByHostnameResponse, error)
- func (c *ClientWithResponses) GetServiceCertificateIssuanceWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*GetServiceCertificateIssuanceResponse, error)
- func (c *ClientWithResponses) GetServiceConfigurationWithResponse(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*GetServiceConfigurationResponse, error)
- func (c *ClientWithResponses) GetServiceWithResponse(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*GetServiceResponse, error)
- func (c *ClientWithResponses) GetShareWithResponse(ctx context.Context, shareId ShareID, reqEditors ...RequestEditorFn) (*GetShareResponse, error)
- func (c *ClientWithResponses) GetWebhookProviderSourceWithResponse(ctx context.Context, provider WebhookProvider, reqEditors ...RequestEditorFn) (*GetWebhookProviderSourceResponse, error)
- func (c *ClientWithResponses) InspectPublisherRuntimeWithBodyWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, ...) (*InspectPublisherRuntimeResponse, error)
- func (c *ClientWithResponses) InspectPublisherRuntimeWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, ...) (*InspectPublisherRuntimeResponse, error)
- func (c *ClientWithResponses) InviteServiceVisitorWithBodyWithResponse(ctx context.Context, serviceId ServiceID, params *InviteServiceVisitorParams, ...) (*InviteServiceVisitorResponse, error)
- func (c *ClientWithResponses) InviteServiceVisitorWithResponse(ctx context.Context, serviceId ServiceID, params *InviteServiceVisitorParams, ...) (*InviteServiceVisitorResponse, error)
- func (c *ClientWithResponses) IssueServiceClientCertificateWithBodyWithResponse(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, ...) (*IssueServiceClientCertificateResponse, error)
- func (c *ClientWithResponses) IssueServiceClientCertificateWithResponse(ctx context.Context, serviceId ServiceID, ...) (*IssueServiceClientCertificateResponse, error)
- func (c *ClientWithResponses) IssueVisitorTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*IssueVisitorTokenResponse, error)
- func (c *ClientWithResponses) IssueVisitorTokenWithResponse(ctx context.Context, body IssueVisitorTokenJSONRequestBody, ...) (*IssueVisitorTokenResponse, error)
- func (c *ClientWithResponses) IssueWorkloadServiceClientCertificateWithBodyWithResponse(ctx context.Context, serviceId string, contentType string, body io.Reader, ...) (*IssueWorkloadServiceClientCertificateResponse, error)
- func (c *ClientWithResponses) IssueWorkloadServiceClientCertificateWithResponse(ctx context.Context, serviceId string, ...) (*IssueWorkloadServiceClientCertificateResponse, error)
- func (c *ClientWithResponses) ListAdminRelaysWithResponse(ctx context.Context, params *ListAdminRelaysParams, ...) (*ListAdminRelaysResponse, error)
- func (c *ClientWithResponses) ListAvailableServicesWithResponse(ctx context.Context, params *ListAvailableServicesParams, ...) (*ListAvailableServicesResponse, error)
- func (c *ClientWithResponses) ListConnectorPeerPairsWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*ListConnectorPeerPairsResponse, error)
- func (c *ClientWithResponses) ListDeploymentPublishersWithResponse(ctx context.Context, projectKey string, deployment string, ...) (*ListDeploymentPublishersResponse, error)
- func (c *ClientWithResponses) ListDeploymentsWithResponse(ctx context.Context, projectKey string, params *ListDeploymentsParams, ...) (*ListDeploymentsResponse, error)
- func (c *ClientWithResponses) ListMaintenanceControlsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListMaintenanceControlsResponse, error)
- func (c *ClientWithResponses) ListPreviewsWithResponse(ctx context.Context, params *ListPreviewsParams, reqEditors ...RequestEditorFn) (*ListPreviewsResponse, error)
- func (c *ClientWithResponses) ListProjectsWithResponse(ctx context.Context, params *ListProjectsParams, reqEditors ...RequestEditorFn) (*ListProjectsResponse, error)
- func (c *ClientWithResponses) ListPublisherIdentitiesWithResponse(ctx context.Context, params *ListPublisherIdentitiesParams, ...) (*ListPublisherIdentitiesResponse, error)
- func (c *ClientWithResponses) ListServiceAuditWithResponse(ctx context.Context, teamId string, params *ListServiceAuditParams, ...) (*ListServiceAuditResponse, error)
- func (c *ClientWithResponses) ListServiceGrantsWithResponse(ctx context.Context, serviceId ServiceID, params *ListServiceGrantsParams, ...) (*ListServiceGrantsResponse, error)
- func (c *ClientWithResponses) ListServiceHTTPGrantsWithResponse(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*ListServiceHTTPGrantsResponse, error)
- func (c *ClientWithResponses) ListServiceInvitationsWithResponse(ctx context.Context, serviceId ServiceID, params *ListServiceInvitationsParams, ...) (*ListServiceInvitationsResponse, error)
- func (c *ClientWithResponses) ListServicesWithResponse(ctx context.Context, params *ListServicesParams, reqEditors ...RequestEditorFn) (*ListServicesResponse, error)
- func (c *ClientWithResponses) ListSharesWithResponse(ctx context.Context, previewId PreviewID, params *ListSharesParams, ...) (*ListSharesResponse, error)
- func (c *ClientWithResponses) ListTeamSharesWithResponse(ctx context.Context, params *ListTeamSharesParams, ...) (*ListTeamSharesResponse, error)
- func (c *ClientWithResponses) ListWorkloadServicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListWorkloadServicesResponse, error)
- func (c *ClientWithResponses) MarkServiceCertificateInstalledWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*MarkServiceCertificateInstalledResponse, error)
- func (c *ClientWithResponses) MarkServiceCertificateInstalledWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*MarkServiceCertificateInstalledResponse, error)
- func (c *ClientWithResponses) MarkSuppliedServiceCertificateInstalledWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*MarkSuppliedServiceCertificateInstalledResponse, error)
- func (c *ClientWithResponses) MarkSuppliedServiceCertificateInstalledWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*MarkSuppliedServiceCertificateInstalledResponse, error)
- func (c *ClientWithResponses) PrepareConnectorPeerPairWithBodyWithResponse(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, ...) (*PrepareConnectorPeerPairResponse, error)
- func (c *ClientWithResponses) PrepareConnectorPeerPairWithResponse(ctx context.Context, serviceId ServiceID, ...) (*PrepareConnectorPeerPairResponse, error)
- func (c *ClientWithResponses) PrepareServiceRunWithBodyWithResponse(ctx context.Context, serviceId ServiceID, params *PrepareServiceRunParams, ...) (*PrepareServiceRunResponse, error)
- func (c *ClientWithResponses) PrepareServiceRunWithResponse(ctx context.Context, serviceId ServiceID, params *PrepareServiceRunParams, ...) (*PrepareServiceRunResponse, error)
- func (c *ClientWithResponses) ReadPublisherVisitorPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ReadPublisherVisitorPolicyResponse, error)
- func (c *ClientWithResponses) ReadPublisherVisitorPolicyWithResponse(ctx context.Context, body ReadPublisherVisitorPolicyJSONRequestBody, ...) (*ReadPublisherVisitorPolicyResponse, error)
- func (c *ClientWithResponses) RealizeLocalProjectServiceWithBodyWithResponse(ctx context.Context, projectKey string, service string, contentType string, ...) (*RealizeLocalProjectServiceResponse, error)
- func (c *ClientWithResponses) RealizeLocalProjectServiceWithResponse(ctx context.Context, projectKey string, service string, ...) (*RealizeLocalProjectServiceResponse, error)
- func (c *ClientWithResponses) RebindConnectorPeerPairWithBodyWithResponse(ctx context.Context, serviceId ServiceID, pairId string, contentType string, ...) (*RebindConnectorPeerPairResponse, error)
- func (c *ClientWithResponses) RebindConnectorPeerPairWithResponse(ctx context.Context, serviceId ServiceID, pairId string, ...) (*RebindConnectorPeerPairResponse, error)
- func (c *ClientWithResponses) RedeemDeploymentPublisherEnrollmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*RedeemDeploymentPublisherEnrollmentResponse, error)
- func (c *ClientWithResponses) RedeemDeploymentPublisherEnrollmentWithResponse(ctx context.Context, body RedeemDeploymentPublisherEnrollmentJSONRequestBody, ...) (*RedeemDeploymentPublisherEnrollmentResponse, error)
- func (c *ClientWithResponses) RedeemServiceBrowserHandoffWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*RedeemServiceBrowserHandoffResponse, error)
- func (c *ClientWithResponses) RedeemServiceBrowserHandoffWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*RedeemServiceBrowserHandoffResponse, error)
- func (c *ClientWithResponses) RedeemServiceShareWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*RedeemServiceShareResponse, error)
- func (c *ClientWithResponses) RedeemServiceShareWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*RedeemServiceShareResponse, error)
- func (c *ClientWithResponses) RegisterDeploymentCredentialWithBodyWithResponse(ctx context.Context, projectKey string, ...) (*RegisterDeploymentCredentialResponse, error)
- func (c *ClientWithResponses) RegisterDeploymentCredentialWithResponse(ctx context.Context, projectKey string, ...) (*RegisterDeploymentCredentialResponse, error)
- func (c *ClientWithResponses) ReleaseServiceEndpointWithBodyWithResponse(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, ...) (*ReleaseServiceEndpointResponse, error)
- func (c *ClientWithResponses) ReleaseServiceEndpointWithResponse(ctx context.Context, serviceId ServiceID, ...) (*ReleaseServiceEndpointResponse, error)
- func (c *ClientWithResponses) RenameDeploymentNamespaceWithBodyWithResponse(ctx context.Context, projectKey string, deployment string, contentType string, ...) (*RenameDeploymentNamespaceResponse, error)
- func (c *ClientWithResponses) RenameDeploymentNamespaceWithResponse(ctx context.Context, projectKey string, deployment string, ...) (*RenameDeploymentNamespaceResponse, error)
- func (c *ClientWithResponses) RenameDeploymentWithBodyWithResponse(ctx context.Context, projectKey string, deployment string, contentType string, ...) (*RenameDeploymentResponse, error)
- func (c *ClientWithResponses) RenameDeploymentWithResponse(ctx context.Context, projectKey string, deployment string, ...) (*RenameDeploymentResponse, error)
- func (c *ClientWithResponses) RenewConnectorPeerPairWithBodyWithResponse(ctx context.Context, serviceId ServiceID, pairId string, contentType string, ...) (*RenewConnectorPeerPairResponse, error)
- func (c *ClientWithResponses) RenewConnectorPeerPairWithResponse(ctx context.Context, serviceId ServiceID, pairId string, ...) (*RenewConnectorPeerPairResponse, error)
- func (c *ClientWithResponses) RenewPublisherRuntimeWithBodyWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, ...) (*RenewPublisherRuntimeResponse, error)
- func (c *ClientWithResponses) RenewPublisherRuntimeWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, ...) (*RenewPublisherRuntimeResponse, error)
- func (c *ClientWithResponses) RenewServiceRunWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*RenewServiceRunResponse, error)
- func (c *ClientWithResponses) RenewServiceRunWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*RenewServiceRunResponse, error)
- func (c *ClientWithResponses) ReportServiceRunObservationsWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*ReportServiceRunObservationsResponse, error)
- func (c *ClientWithResponses) ReportServiceRunObservationsWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*ReportServiceRunObservationsResponse, error)
- func (c *ClientWithResponses) ResolveProjectSourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ResolveProjectSourceResponse, error)
- func (c *ClientWithResponses) ResolveProjectSourceWithResponse(ctx context.Context, body ResolveProjectSourceJSONRequestBody, ...) (*ResolveProjectSourceResponse, error)
- func (c *ClientWithResponses) RetireConnectorPeerPairWithBodyWithResponse(ctx context.Context, serviceId ServiceID, pairId string, contentType string, ...) (*RetireConnectorPeerPairResponse, error)
- func (c *ClientWithResponses) RetireConnectorPeerPairWithResponse(ctx context.Context, serviceId ServiceID, pairId string, ...) (*RetireConnectorPeerPairResponse, error)
- func (c *ClientWithResponses) RetireProjectWithBodyWithResponse(ctx context.Context, projectKey string, contentType string, body io.Reader, ...) (*RetireProjectResponse, error)
- func (c *ClientWithResponses) RetireProjectWithResponse(ctx context.Context, projectKey string, body RetireProjectJSONRequestBody, ...) (*RetireProjectResponse, error)
- func (c *ClientWithResponses) RevokeDeploymentPublisherWithResponse(ctx context.Context, projectKey string, deployment string, publisher string, ...) (*RevokeDeploymentPublisherResponse, error)
- func (c *ClientWithResponses) RevokePublisherGrantWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, ...) (*RevokePublisherGrantResponse, error)
- func (c *ClientWithResponses) RevokePublisherIdentityWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, ...) (*RevokePublisherIdentityResponse, error)
- func (c *ClientWithResponses) RevokeServiceBrowserSessionWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*RevokeServiceBrowserSessionResponse, error)
- func (c *ClientWithResponses) RevokeServiceBrowserSessionWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*RevokeServiceBrowserSessionResponse, error)
- func (c *ClientWithResponses) RevokeServiceGrantWithResponse(ctx context.Context, serviceId ServiceID, grantId ServiceGrantID, ...) (*RevokeServiceGrantResponse, error)
- func (c *ClientWithResponses) RevokeServiceHTTPGrantWithResponse(ctx context.Context, serviceId ServiceID, grantId string, ...) (*RevokeServiceHTTPGrantResponse, error)
- func (c *ClientWithResponses) RevokeServiceInvitationWithResponse(ctx context.Context, serviceId ServiceID, invitationId ServiceInvitationID, ...) (*RevokeServiceInvitationResponse, error)
- func (c *ClientWithResponses) RevokeShareWithResponse(ctx context.Context, shareId ShareID, reqEditors ...RequestEditorFn) (*RevokeShareResponse, error)
- func (c *ClientWithResponses) RevokeVisitorDeviceWithResponse(ctx context.Context, deviceId string, reqEditors ...RequestEditorFn) (*RevokeVisitorDeviceResponse, error)
- func (c *ClientWithResponses) SelectDeploymentServiceRunWithBodyWithResponse(ctx context.Context, projectKey string, deployment string, service string, ...) (*SelectDeploymentServiceRunResponse, error)
- func (c *ClientWithResponses) SelectDeploymentServiceRunWithResponse(ctx context.Context, projectKey string, deployment string, service string, ...) (*SelectDeploymentServiceRunResponse, error)
- func (c *ClientWithResponses) SelectServiceRunWithBodyWithResponse(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, ...) (*SelectServiceRunResponse, error)
- func (c *ClientWithResponses) SelectServiceRunWithResponse(ctx context.Context, serviceId ServiceID, body SelectServiceRunJSONRequestBody, ...) (*SelectServiceRunResponse, error)
- func (c *ClientWithResponses) SelectWorkloadServiceRunWithResponse(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*SelectWorkloadServiceRunResponse, error)
- func (c *ClientWithResponses) SetMaintenanceControlWithBodyWithResponse(ctx context.Context, controlName MaintenanceControlName, contentType string, ...) (*SetMaintenanceControlResponse, error)
- func (c *ClientWithResponses) SetMaintenanceControlWithResponse(ctx context.Context, controlName MaintenanceControlName, ...) (*SetMaintenanceControlResponse, error)
- func (c *ClientWithResponses) SetPreviewTeamAccessWithBodyWithResponse(ctx context.Context, previewId PreviewID, contentType string, body io.Reader, ...) (*SetPreviewTeamAccessResponse, error)
- func (c *ClientWithResponses) SetPreviewTeamAccessWithResponse(ctx context.Context, previewId PreviewID, ...) (*SetPreviewTeamAccessResponse, error)
- func (c *ClientWithResponses) SetServiceEnabledWithBodyWithResponse(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, ...) (*SetServiceEnabledResponse, error)
- func (c *ClientWithResponses) SetServiceEnabledWithResponse(ctx context.Context, serviceId ServiceID, ...) (*SetServiceEnabledResponse, error)
- func (c *ClientWithResponses) StartPublisherRuntimeWithBodyWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, ...) (*StartPublisherRuntimeResponse, error)
- func (c *ClientWithResponses) StartPublisherRuntimeWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, ...) (*StartPublisherRuntimeResponse, error)
- func (c *ClientWithResponses) StartServiceRunWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*StartServiceRunResponse, error)
- func (c *ClientWithResponses) StartServiceRunWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, ...) (*StartServiceRunResponse, error)
- func (c *ClientWithResponses) StopPublisherRuntimeWithBodyWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, ...) (*StopPublisherRuntimeResponse, error)
- func (c *ClientWithResponses) StopPublisherRuntimeWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, ...) (*StopPublisherRuntimeResponse, error)
- func (c *ClientWithResponses) UpdateDeploymentWithBodyWithResponse(ctx context.Context, projectKey string, deployment string, ...) (*UpdateDeploymentResponse, error)
- func (c *ClientWithResponses) UpdateDeploymentWithResponse(ctx context.Context, projectKey string, deployment string, ...) (*UpdateDeploymentResponse, error)
- func (c *ClientWithResponses) VerifyDeploymentIdentityWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*VerifyDeploymentIdentityResponse, error)
- func (c *ClientWithResponses) VerifyDeploymentIdentityWithResponse(ctx context.Context, body VerifyDeploymentIdentityJSONRequestBody, ...) (*VerifyDeploymentIdentityResponse, error)
- func (c *ClientWithResponses) WatchPublisherRunsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*WatchPublisherRunsResponse, error)
- func (c *ClientWithResponses) WatchPublisherRunsWithResponse(ctx context.Context, body WatchPublisherRunsJSONRequestBody, ...) (*WatchPublisherRunsResponse, error)
- type ClientWithResponsesInterface
- type CloseServiceRunResponse
- type CompletePreviewBrowserLoginParams
- type CompletePreviewBrowserLoginResponse
- func (r CompletePreviewBrowserLoginResponse) ContentType() string
- func (r CompletePreviewBrowserLoginResponse) GetApplicationproblemJSONDefault() *Problem
- func (r CompletePreviewBrowserLoginResponse) GetBody() []byte
- func (r CompletePreviewBrowserLoginResponse) Status() string
- func (r CompletePreviewBrowserLoginResponse) StatusCode() int
- type ConfigureServiceJSONRequestBody
- type ConfigureServiceResponse
- func (r ConfigureServiceResponse) ContentType() string
- func (r ConfigureServiceResponse) GetApplicationproblemJSONDefault() *Problem
- func (r ConfigureServiceResponse) GetBody() []byte
- func (r ConfigureServiceResponse) GetJSON200() *Service
- func (r ConfigureServiceResponse) Status() string
- func (r ConfigureServiceResponse) StatusCode() int
- type ConfirmConnectorPeerPairPreparedJSONRequestBody
- type ConfirmConnectorPeerPairPreparedResponse
- func (r ConfirmConnectorPeerPairPreparedResponse) ContentType() string
- func (r ConfirmConnectorPeerPairPreparedResponse) GetApplicationproblemJSONDefault() *Problem
- func (r ConfirmConnectorPeerPairPreparedResponse) GetBody() []byte
- func (r ConfirmConnectorPeerPairPreparedResponse) Status() string
- func (r ConfirmConnectorPeerPairPreparedResponse) StatusCode() int
- type ConnectionAssignment
- type ConnectorPeerPair
- type ConnectorPeerPairBindingState
- type ConnectorPeerPairCandidate
- type ConnectorPeerPairCandidates
- type ConnectorPeerPairDelivery
- type ConnectorPeerPairDisposition
- type ConnectorPeerPairOwnerAuthority
- type ConnectorPeerPairPathProof
- type ConnectorPeerPairPrepared
- type ConnectorPeerPairPreparedPhase
- type ConnectorPeerPairReady
- type ConnectorPeerPairRebindOperation
- type ConnectorPeerPairRebindOperationStatus
- type ConnectorPeerPairRebindPhase
- type ConnectorPeerPairRebindRequest
- type ConnectorPeerPairRebindState
- type ConnectorPeerPairRelay
- type ConnectorPeerPairRenewal
- type ConnectorPeerPairRequest
- type ConnectorPeerPairRequestAction
- type ConnectorPeerPairRetireRequest
- type ConnectorPeerPairRetirement
- type ConnectorPeerPairRetirementObservation
- type ConnectorPeerRelayLease
- type ControlDiscovery
- type ControlDiscoveryManagedUrlMode
- type CreateDeploymentJSONRequestBody
- type CreateDeploymentParams
- type CreateDeploymentPublisherEnrollmentJSONRequestBody
- type CreateDeploymentPublisherEnrollmentParams
- type CreateDeploymentPublisherEnrollmentRequest
- type CreateDeploymentPublisherEnrollmentResponse
- func (r CreateDeploymentPublisherEnrollmentResponse) ContentType() string
- func (r CreateDeploymentPublisherEnrollmentResponse) GetApplicationproblemJSONDefault() *Problem
- func (r CreateDeploymentPublisherEnrollmentResponse) GetBody() []byte
- func (r CreateDeploymentPublisherEnrollmentResponse) GetJSON201() *DeploymentPublisherEnrollment
- func (r CreateDeploymentPublisherEnrollmentResponse) Status() string
- func (r CreateDeploymentPublisherEnrollmentResponse) StatusCode() int
- type CreateDeploymentRequest
- type CreateDeploymentResponse
- func (r CreateDeploymentResponse) ContentType() string
- func (r CreateDeploymentResponse) GetApplicationproblemJSONDefault() *Problem
- func (r CreateDeploymentResponse) GetBody() []byte
- func (r CreateDeploymentResponse) GetJSON201() *Deployment
- func (r CreateDeploymentResponse) Status() string
- func (r CreateDeploymentResponse) StatusCode() int
- type CreateDeploymentResponse201Headers
- type CreateFeedbackReportRequest
- type CreateGuestDemoResponse
- func (r CreateGuestDemoResponse) ContentType() string
- func (r CreateGuestDemoResponse) GetApplicationproblemJSONDefault() *Problem
- func (r CreateGuestDemoResponse) GetBody() []byte
- func (r CreateGuestDemoResponse) GetJSON201() *GuestDemoSession
- func (r CreateGuestDemoResponse) Status() string
- func (r CreateGuestDemoResponse) StatusCode() int
- type CreatePreviewJSONRequestBody
- type CreatePreviewParams
- type CreatePreviewRequest
- type CreatePreviewResponse
- func (r CreatePreviewResponse) ContentType() string
- func (r CreatePreviewResponse) GetApplicationproblemJSONDefault() *Problem
- func (r CreatePreviewResponse) GetBody() []byte
- func (r CreatePreviewResponse) GetJSON201() *Preview
- func (r CreatePreviewResponse) Status() string
- func (r CreatePreviewResponse) StatusCode() int
- type CreatePublisherEnrollmentJSONRequestBody
- type CreatePublisherEnrollmentRequest
- type CreatePublisherEnrollmentRequestKind
- type CreatePublisherEnrollmentRequestOwnership
- type CreatePublisherEnrollmentResponse
- func (r CreatePublisherEnrollmentResponse) ContentType() string
- func (r CreatePublisherEnrollmentResponse) GetApplicationproblemJSONDefault() *Problem
- func (r CreatePublisherEnrollmentResponse) GetBody() []byte
- func (r CreatePublisherEnrollmentResponse) GetJSON201() *PublisherEnrollment
- func (r CreatePublisherEnrollmentResponse) Status() string
- func (r CreatePublisherEnrollmentResponse) StatusCode() int
- type CreatePublisherGrantJSONRequestBody
- type CreatePublisherGrantRequest
- type CreatePublisherGrantResponse
- func (r CreatePublisherGrantResponse) ContentType() string
- func (r CreatePublisherGrantResponse) GetApplicationproblemJSONDefault() *Problem
- func (r CreatePublisherGrantResponse) GetBody() []byte
- func (r CreatePublisherGrantResponse) GetJSON201() *PublisherGrant
- func (r CreatePublisherGrantResponse) Status() string
- func (r CreatePublisherGrantResponse) StatusCode() int
- type CreateServiceCertificateIssuanceJSONRequestBody
- type CreateServiceCertificateIssuanceParams
- type CreateServiceCertificateIssuanceRequest
- type CreateServiceCertificateIssuanceResponse
- func (r CreateServiceCertificateIssuanceResponse) ContentType() string
- func (r CreateServiceCertificateIssuanceResponse) GetApplicationproblemJSONDefault() *Problem
- func (r CreateServiceCertificateIssuanceResponse) GetBody() []byte
- func (r CreateServiceCertificateIssuanceResponse) GetJSON201() *ServiceCertificateIssuance
- func (r CreateServiceCertificateIssuanceResponse) Status() string
- func (r CreateServiceCertificateIssuanceResponse) StatusCode() int
- type CreateServiceGrantJSONRequestBody
- type CreateServiceGrantParams
- type CreateServiceGrantRequest
- type CreateServiceGrantRequestKind
- type CreateServiceGrantResponse
- func (r CreateServiceGrantResponse) ContentType() string
- func (r CreateServiceGrantResponse) GetApplicationproblemJSONDefault() *Problem
- func (r CreateServiceGrantResponse) GetBody() []byte
- func (r CreateServiceGrantResponse) GetJSON201() *ServiceGrant
- func (r CreateServiceGrantResponse) Status() string
- func (r CreateServiceGrantResponse) StatusCode() int
- type CreateServiceHTTPGrantJSONRequestBody
- type CreateServiceHTTPGrantResponse
- func (r CreateServiceHTTPGrantResponse) ContentType() string
- func (r CreateServiceHTTPGrantResponse) GetApplicationproblemJSONDefault() *Problem
- func (r CreateServiceHTTPGrantResponse) GetBody() []byte
- func (r CreateServiceHTTPGrantResponse) GetJSON201() *VisitorCredential
- func (r CreateServiceHTTPGrantResponse) Status() string
- func (r CreateServiceHTTPGrantResponse) StatusCode() int
- type CreateServiceInvitationRequest
- type CreateServiceJSONRequestBody
- type CreateServiceParams
- type CreateServiceRequest
- type CreateServiceResponse
- func (r CreateServiceResponse) ContentType() string
- func (r CreateServiceResponse) GetApplicationproblemJSONDefault() *Problem
- func (r CreateServiceResponse) GetBody() []byte
- func (r CreateServiceResponse) GetJSON200() *Service
- func (r CreateServiceResponse) GetJSON201() *Service
- func (r CreateServiceResponse) Status() string
- func (r CreateServiceResponse) StatusCode() int
- type CreateServiceRunPreviewJSONRequestBody
- type CreateServiceRunPreviewResponse
- func (r CreateServiceRunPreviewResponse) ContentType() string
- func (r CreateServiceRunPreviewResponse) GetApplicationproblemJSONDefault() *Problem
- func (r CreateServiceRunPreviewResponse) GetBody() []byte
- func (r CreateServiceRunPreviewResponse) GetJSON200() *Preview
- func (r CreateServiceRunPreviewResponse) Status() string
- func (r CreateServiceRunPreviewResponse) StatusCode() int
- type CreateServiceShareJSONRequestBody
- type CreateServiceShareParams
- type CreateServiceShareResponse
- func (r CreateServiceShareResponse) ContentType() string
- func (r CreateServiceShareResponse) GetApplicationproblemJSON409() *Problem
- func (r CreateServiceShareResponse) GetApplicationproblemJSONDefault() *Problem
- func (r CreateServiceShareResponse) GetBody() []byte
- func (r CreateServiceShareResponse) GetJSON201() *ShareCreation
- func (r CreateServiceShareResponse) Status() string
- func (r CreateServiceShareResponse) StatusCode() int
- type CreateShareJSONRequestBody
- type CreateShareParams
- type CreateShareRequest
- type CreateShareResponse
- func (r CreateShareResponse) ContentType() string
- func (r CreateShareResponse) GetApplicationproblemJSON409() *Problem
- func (r CreateShareResponse) GetApplicationproblemJSONDefault() *Problem
- func (r CreateShareResponse) GetBody() []byte
- func (r CreateShareResponse) GetJSON201() *ShareCreation
- func (r CreateShareResponse) Status() string
- func (r CreateShareResponse) StatusCode() int
- type CreateVisitorCredentialRequest
- type CreateVisitorCredentialRequestKind
- type Cursor
- type DNSAuthorityReference
- type DeleteDeploymentParams
- type DeleteDeploymentResponse
- type DeletePublisherServiceResponse
- func (r DeletePublisherServiceResponse) ContentType() string
- func (r DeletePublisherServiceResponse) GetApplicationproblemJSONDefault() *Problem
- func (r DeletePublisherServiceResponse) GetBody() []byte
- func (r DeletePublisherServiceResponse) Status() string
- func (r DeletePublisherServiceResponse) StatusCode() int
- type DeleteServiceParams
- type DeleteServiceResponse
- type DeliverConnectorPeerPairJSONBody
- type DeliverConnectorPeerPairJSONRequestBody
- type DeliverConnectorPeerPairResponse
- func (r DeliverConnectorPeerPairResponse) ContentType() string
- func (r DeliverConnectorPeerPairResponse) GetApplicationproblemJSONDefault() *Problem
- func (r DeliverConnectorPeerPairResponse) GetBody() []byte
- func (r DeliverConnectorPeerPairResponse) GetJSON200() *ConnectorPeerPairDelivery
- func (r DeliverConnectorPeerPairResponse) Status() string
- func (r DeliverConnectorPeerPairResponse) StatusCode() int
- type Deployment
- type DeploymentCredential
- type DeploymentCredentialServiceProtocols
- type DeploymentCredentialServiceSelection
- type DeploymentPage
- type DeploymentPublishApproval
- type DeploymentPublishSelection
- type DeploymentPublisher
- type DeploymentPublisherAcknowledgement
- type DeploymentPublisherAssignments
- type DeploymentPublisherEnrollment
- type DeploymentPublisherIdentity
- type DeploymentPublisherLease
- type DeploymentPublisherLeaseRequest
- type DeploymentPublisherPage
- type DeploymentPublisherServiceAssignment
- type DeploymentPublisherStatus
- type DeploymentPublisherVerification
- type DeploymentService
- type DeploymentSettings
- type DeploymentTarget
- type DeploymentTargetStatus
- type DeploymentTargetStatusApp
- type DeploymentTargetTLS
- type DeploymentTargets
- type DeploymentTemporaryPublication
- type DomainID
- type DrainAdminRelayJSONRequestBody
- type DrainAdminRelayResponse
- func (r DrainAdminRelayResponse) ContentType() string
- func (r DrainAdminRelayResponse) GetApplicationproblemJSONDefault() *Problem
- func (r DrainAdminRelayResponse) GetBody() []byte
- func (r DrainAdminRelayResponse) GetJSON200() *AdminRelayLease
- func (r DrainAdminRelayResponse) Status() string
- func (r DrainAdminRelayResponse) StatusCode() int
- type EnrollGuestPublisherJSONRequestBody
- type EnrollGuestPublisherRequest
- type EnrollGuestPublisherResponse
- func (r EnrollGuestPublisherResponse) ContentType() string
- func (r EnrollGuestPublisherResponse) GetApplicationproblemJSONDefault() *Problem
- func (r EnrollGuestPublisherResponse) GetBody() []byte
- func (r EnrollGuestPublisherResponse) GetJSON200() *PublisherEnrollmentResult
- func (r EnrollGuestPublisherResponse) Status() string
- func (r EnrollGuestPublisherResponse) StatusCode() int
- type EnrollVisitorDeviceJSONBody
- type EnrollVisitorDeviceJSONRequestBody
- type EnrollVisitorDeviceResponse
- func (r EnrollVisitorDeviceResponse) ContentType() string
- func (r EnrollVisitorDeviceResponse) GetApplicationproblemJSONDefault() *Problem
- func (r EnrollVisitorDeviceResponse) GetBody() []byte
- func (r EnrollVisitorDeviceResponse) GetJSON201() *VisitorDevice
- func (r EnrollVisitorDeviceResponse) Status() string
- func (r EnrollVisitorDeviceResponse) StatusCode() int
- type FeedbackAfterCursor
- type FeedbackAnchor
- type FeedbackAuthor
- type FeedbackAuthorization
- type FeedbackBearerVisitProof
- type FeedbackBearerVisitProofKind
- type FeedbackConnectorVisitProof
- type FeedbackConnectorVisitProofKind
- type FeedbackElement
- type FeedbackEvent
- type FeedbackEventActor
- type FeedbackEventInputType
- type FeedbackEventPage
- type FeedbackEventType
- type FeedbackEvidence
- type FeedbackEvidenceActionsType
- type FeedbackID
- type FeedbackOperation
- type FeedbackReport
- type FeedbackReviewerAccess
- type FeedbackScope
- type FeedbackSelectors
- type FeedbackTextBoundary
- type FeedbackThread
- type FeedbackThreadPage
- type FeedbackThreadState
- type FeedbackThreadSummary
- type FeedbackVisitProof
- type GetAdminServerStatusResponse
- func (r GetAdminServerStatusResponse) ContentType() string
- func (r GetAdminServerStatusResponse) GetApplicationproblemJSONDefault() *Problem
- func (r GetAdminServerStatusResponse) GetBody() []byte
- func (r GetAdminServerStatusResponse) GetJSON200() *AdminServerStatus
- func (r GetAdminServerStatusResponse) Status() string
- func (r GetAdminServerStatusResponse) StatusCode() int
- type GetClientIPResponse
- func (r GetClientIPResponse) ContentType() string
- func (r GetClientIPResponse) GetApplicationproblemJSONDefault() *Problem
- func (r GetClientIPResponse) GetBody() []byte
- func (r GetClientIPResponse) GetJSON200() *ClientIPResponse
- func (r GetClientIPResponse) Status() string
- func (r GetClientIPResponse) StatusCode() int
- type GetControlDiscoveryResponse
- func (r GetControlDiscoveryResponse) ContentType() string
- func (r GetControlDiscoveryResponse) GetApplicationproblemJSONDefault() *Problem
- func (r GetControlDiscoveryResponse) GetBody() []byte
- func (r GetControlDiscoveryResponse) GetJSON200() *ControlDiscovery
- func (r GetControlDiscoveryResponse) Status() string
- func (r GetControlDiscoveryResponse) StatusCode() int
- type GetDeploymentParams
- type GetDeploymentPublicationParams
- type GetDeploymentPublicationResponse
- func (r GetDeploymentPublicationResponse) ContentType() string
- func (r GetDeploymentPublicationResponse) GetApplicationproblemJSONDefault() *Problem
- func (r GetDeploymentPublicationResponse) GetBody() []byte
- func (r GetDeploymentPublicationResponse) GetJSON200() *Service
- func (r GetDeploymentPublicationResponse) Status() string
- func (r GetDeploymentPublicationResponse) StatusCode() int
- type GetDeploymentPublisherAssignmentsParams
- type GetDeploymentPublisherAssignmentsResponse
- func (r GetDeploymentPublisherAssignmentsResponse) ContentType() string
- func (r GetDeploymentPublisherAssignmentsResponse) GetApplicationproblemJSONDefault() *Problem
- func (r GetDeploymentPublisherAssignmentsResponse) GetBody() []byte
- func (r GetDeploymentPublisherAssignmentsResponse) GetJSON200() *DeploymentPublisherAssignments
- func (r GetDeploymentPublisherAssignmentsResponse) Status() string
- func (r GetDeploymentPublisherAssignmentsResponse) StatusCode() int
- type GetDeploymentPublisherParams
- type GetDeploymentPublisherResponse
- func (r GetDeploymentPublisherResponse) ContentType() string
- func (r GetDeploymentPublisherResponse) GetApplicationproblemJSONDefault() *Problem
- func (r GetDeploymentPublisherResponse) GetBody() []byte
- func (r GetDeploymentPublisherResponse) GetJSON200() *DeploymentPublisher
- func (r GetDeploymentPublisherResponse) Status() string
- func (r GetDeploymentPublisherResponse) StatusCode() int
- type GetDeploymentResponse
- func (r GetDeploymentResponse) ContentType() string
- func (r GetDeploymentResponse) GetApplicationproblemJSONDefault() *Problem
- func (r GetDeploymentResponse) GetBody() []byte
- func (r GetDeploymentResponse) GetJSON200() *Deployment
- func (r GetDeploymentResponse) Status() string
- func (r GetDeploymentResponse) StatusCode() int
- type GetDeploymentResponse200Headers
- type GetHealthResponse
- func (r GetHealthResponse) ContentType() string
- func (r GetHealthResponse) GetApplicationproblemJSONDefault() *Problem
- func (r GetHealthResponse) GetBody() []byte
- func (r GetHealthResponse) GetJSON200() *HealthResponse
- func (r GetHealthResponse) Status() string
- func (r GetHealthResponse) StatusCode() int
- type GetLocalProjectServiceParams
- type GetLocalProjectServiceResponse
- func (r GetLocalProjectServiceResponse) ContentType() string
- func (r GetLocalProjectServiceResponse) GetApplicationproblemJSONDefault() *Problem
- func (r GetLocalProjectServiceResponse) GetBody() []byte
- func (r GetLocalProjectServiceResponse) GetJSON200() *LocalProjectService
- func (r GetLocalProjectServiceResponse) Status() string
- func (r GetLocalProjectServiceResponse) StatusCode() int
- type GetPreviewResponse
- func (r GetPreviewResponse) ContentType() string
- func (r GetPreviewResponse) GetApplicationproblemJSONDefault() *Problem
- func (r GetPreviewResponse) GetBody() []byte
- func (r GetPreviewResponse) GetJSON200() *Preview
- func (r GetPreviewResponse) Status() string
- func (r GetPreviewResponse) StatusCode() int
- type GetProjectConfigurationParams
- type GetProjectConfigurationResponse
- func (r GetProjectConfigurationResponse) ContentType() string
- func (r GetProjectConfigurationResponse) GetApplicationproblemJSONDefault() *Problem
- func (r GetProjectConfigurationResponse) GetBody() []byte
- func (r GetProjectConfigurationResponse) GetJSON200() *AppliedProjectConfiguration
- func (r GetProjectConfigurationResponse) Status() string
- func (r GetProjectConfigurationResponse) StatusCode() int
- type GetProjectPublicMetadataParams
- type GetProjectPublicMetadataResponse
- func (r GetProjectPublicMetadataResponse) ContentType() string
- func (r GetProjectPublicMetadataResponse) GetApplicationproblemJSONDefault() *Problem
- func (r GetProjectPublicMetadataResponse) GetBody() []byte
- func (r GetProjectPublicMetadataResponse) GetJSON200() *ProjectPublicMetadata
- func (r GetProjectPublicMetadataResponse) Status() string
- func (r GetProjectPublicMetadataResponse) StatusCode() int
- type GetProjectServiceParams
- type GetProjectServiceResponse
- func (r GetProjectServiceResponse) ContentType() string
- func (r GetProjectServiceResponse) GetApplicationproblemJSONDefault() *Problem
- func (r GetProjectServiceResponse) GetBody() []byte
- func (r GetProjectServiceResponse) GetJSON200() *Service
- func (r GetProjectServiceResponse) Status() string
- func (r GetProjectServiceResponse) StatusCode() int
- type GetProjectStatusParams
- type GetProjectStatusResponse
- func (r GetProjectStatusResponse) ContentType() string
- func (r GetProjectStatusResponse) GetApplicationproblemJSONDefault() *Problem
- func (r GetProjectStatusResponse) GetBody() []byte
- func (r GetProjectStatusResponse) GetJSON200() *ProjectStatus
- func (r GetProjectStatusResponse) Status() string
- func (r GetProjectStatusResponse) StatusCode() int
- type GetPublisherServiceResponse
- func (r GetPublisherServiceResponse) ContentType() string
- func (r GetPublisherServiceResponse) GetApplicationproblemJSONDefault() *Problem
- func (r GetPublisherServiceResponse) GetBody() []byte
- func (r GetPublisherServiceResponse) GetJSON200() *Service
- func (r GetPublisherServiceResponse) Status() string
- func (r GetPublisherServiceResponse) StatusCode() int
- type GetReadinessResponse
- func (r GetReadinessResponse) ContentType() string
- func (r GetReadinessResponse) GetApplicationproblemJSONDefault() *Problem
- func (r GetReadinessResponse) GetBody() []byte
- func (r GetReadinessResponse) GetJSON200() *ReadinessResponse
- func (r GetReadinessResponse) GetJSON503() *ReadinessResponse
- func (r GetReadinessResponse) Status() string
- func (r GetReadinessResponse) StatusCode() int
- type GetServiceByHostnameParams
- type GetServiceByHostnameResponse
- func (r GetServiceByHostnameResponse) ContentType() string
- func (r GetServiceByHostnameResponse) GetApplicationproblemJSONDefault() *Problem
- func (r GetServiceByHostnameResponse) GetBody() []byte
- func (r GetServiceByHostnameResponse) GetJSON200() *Service
- func (r GetServiceByHostnameResponse) Status() string
- func (r GetServiceByHostnameResponse) StatusCode() int
- type GetServiceCertificateIssuanceResponse
- func (r GetServiceCertificateIssuanceResponse) ContentType() string
- func (r GetServiceCertificateIssuanceResponse) GetApplicationproblemJSONDefault() *Problem
- func (r GetServiceCertificateIssuanceResponse) GetBody() []byte
- func (r GetServiceCertificateIssuanceResponse) GetJSON200() *ServiceCertificateIssuance
- func (r GetServiceCertificateIssuanceResponse) Status() string
- func (r GetServiceCertificateIssuanceResponse) StatusCode() int
- type GetServiceConfigurationResponse
- func (r GetServiceConfigurationResponse) ContentType() string
- func (r GetServiceConfigurationResponse) GetApplicationproblemJSONDefault() *Problem
- func (r GetServiceConfigurationResponse) GetBody() []byte
- func (r GetServiceConfigurationResponse) GetJSON200() *ProjectServiceConfiguration
- func (r GetServiceConfigurationResponse) Status() string
- func (r GetServiceConfigurationResponse) StatusCode() int
- type GetServiceConfigurationResponse200Headers
- type GetServiceConfigurationResponse204Headers
- type GetServiceResponse
- func (r GetServiceResponse) ContentType() string
- func (r GetServiceResponse) GetApplicationproblemJSONDefault() *Problem
- func (r GetServiceResponse) GetBody() []byte
- func (r GetServiceResponse) GetJSON200() *Service
- func (r GetServiceResponse) Status() string
- func (r GetServiceResponse) StatusCode() int
- type GetShareResponse
- type GetWebhookProviderSourceResponse
- func (r GetWebhookProviderSourceResponse) ContentType() string
- func (r GetWebhookProviderSourceResponse) GetApplicationproblemJSONDefault() *Problem
- func (r GetWebhookProviderSourceResponse) GetBody() []byte
- func (r GetWebhookProviderSourceResponse) GetJSON200() *WebhookProviderSourceResponse
- func (r GetWebhookProviderSourceResponse) Status() string
- func (r GetWebhookProviderSourceResponse) StatusCode() int
- type GetWebhookProviderSourceResponse200Headers
- type GetWebhookProviderSourceResponse304Headers
- type GitProjectSource
- type GuestDemoSession
- type GuestID
- type HashedIPPrefix
- type HashedIPPrefixFamily
- type HealthResponse
- type HealthResponseStatus
- type HttpRequestDoer
- type IdempotencyKey
- type IdentityID
- type InspectPublisherRuntimeJSONRequestBody
- type InspectPublisherRuntimeResponse
- func (r InspectPublisherRuntimeResponse) ContentType() string
- func (r InspectPublisherRuntimeResponse) GetApplicationproblemJSONDefault() *Problem
- func (r InspectPublisherRuntimeResponse) GetBody() []byte
- func (r InspectPublisherRuntimeResponse) GetJSON200() *PublisherRuntimeResponse
- func (r InspectPublisherRuntimeResponse) Status() string
- func (r InspectPublisherRuntimeResponse) StatusCode() int
- type InvalidParamFormatError
- type InviteServiceVisitorJSONRequestBody
- type InviteServiceVisitorParams
- type InviteServiceVisitorResponse
- func (r InviteServiceVisitorResponse) ContentType() string
- func (r InviteServiceVisitorResponse) GetApplicationproblemJSON409() *Problem
- func (r InviteServiceVisitorResponse) GetApplicationproblemJSONDefault() *Problem
- func (r InviteServiceVisitorResponse) GetBody() []byte
- func (r InviteServiceVisitorResponse) GetJSON201() *ServiceInvitationCreation
- func (r InviteServiceVisitorResponse) Status() string
- func (r InviteServiceVisitorResponse) StatusCode() int
- type IssuanceID
- type IssueServiceClientCertificateJSONRequestBody
- type IssueServiceClientCertificateRequest
- type IssueServiceClientCertificateResponse
- func (r IssueServiceClientCertificateResponse) ContentType() string
- func (r IssueServiceClientCertificateResponse) GetApplicationproblemJSONDefault() *Problem
- func (r IssueServiceClientCertificateResponse) GetBody() []byte
- func (r IssueServiceClientCertificateResponse) GetJSON201() *ServiceClientCertificate
- func (r IssueServiceClientCertificateResponse) Status() string
- func (r IssueServiceClientCertificateResponse) StatusCode() int
- type IssueVisitorTokenJSONRequestBody
- type IssueVisitorTokenResponse
- func (r IssueVisitorTokenResponse) ContentType() string
- func (r IssueVisitorTokenResponse) GetApplicationproblemJSONDefault() *Problem
- func (r IssueVisitorTokenResponse) GetBody() []byte
- func (r IssueVisitorTokenResponse) GetJSON200() *VisitorTokenResponse
- func (r IssueVisitorTokenResponse) Status() string
- func (r IssueVisitorTokenResponse) StatusCode() int
- type IssueWorkloadServiceClientCertificateJSONBody
- type IssueWorkloadServiceClientCertificateJSONRequestBody
- type IssueWorkloadServiceClientCertificateResponse
- func (r IssueWorkloadServiceClientCertificateResponse) ContentType() string
- func (r IssueWorkloadServiceClientCertificateResponse) GetApplicationproblemJSONDefault() *Problem
- func (r IssueWorkloadServiceClientCertificateResponse) GetBody() []byte
- func (r IssueWorkloadServiceClientCertificateResponse) GetJSON200() *ServiceClientCertificate
- func (r IssueWorkloadServiceClientCertificateResponse) Status() string
- func (r IssueWorkloadServiceClientCertificateResponse) StatusCode() int
- type KubernetesAuth
- type KubernetesAuthProvider
- type ListAdminRelaysParams
- type ListAdminRelaysResponse
- func (r ListAdminRelaysResponse) ContentType() string
- func (r ListAdminRelaysResponse) GetApplicationproblemJSONDefault() *Problem
- func (r ListAdminRelaysResponse) GetBody() []byte
- func (r ListAdminRelaysResponse) GetJSON200() *AdminRelayPage
- func (r ListAdminRelaysResponse) Status() string
- func (r ListAdminRelaysResponse) StatusCode() int
- type ListAvailableServicesParams
- type ListAvailableServicesResponse
- func (r ListAvailableServicesResponse) ContentType() string
- func (r ListAvailableServicesResponse) GetApplicationproblemJSONDefault() *Problem
- func (r ListAvailableServicesResponse) GetBody() []byte
- func (r ListAvailableServicesResponse) GetJSON200() *ServicePage
- func (r ListAvailableServicesResponse) Status() string
- func (r ListAvailableServicesResponse) StatusCode() int
- type ListConnectorPeerPairsParams
- type ListConnectorPeerPairsResponse
- func (r ListConnectorPeerPairsResponse) ContentType() string
- func (r ListConnectorPeerPairsResponse) GetApplicationproblemJSONDefault() *Problem
- func (r ListConnectorPeerPairsResponse) GetBody() []byte
- func (r ListConnectorPeerPairsResponse) GetJSON200() *ConnectorPeerPairCandidates
- func (r ListConnectorPeerPairsResponse) Status() string
- func (r ListConnectorPeerPairsResponse) StatusCode() int
- type ListDeploymentPublishersParams
- type ListDeploymentPublishersResponse
- func (r ListDeploymentPublishersResponse) ContentType() string
- func (r ListDeploymentPublishersResponse) GetApplicationproblemJSONDefault() *Problem
- func (r ListDeploymentPublishersResponse) GetBody() []byte
- func (r ListDeploymentPublishersResponse) GetJSON200() *DeploymentPublisherPage
- func (r ListDeploymentPublishersResponse) Status() string
- func (r ListDeploymentPublishersResponse) StatusCode() int
- type ListDeploymentsParams
- type ListDeploymentsResponse
- func (r ListDeploymentsResponse) ContentType() string
- func (r ListDeploymentsResponse) GetApplicationproblemJSONDefault() *Problem
- func (r ListDeploymentsResponse) GetBody() []byte
- func (r ListDeploymentsResponse) GetJSON200() *DeploymentPage
- func (r ListDeploymentsResponse) Status() string
- func (r ListDeploymentsResponse) StatusCode() int
- type ListMaintenanceControlsResponse
- func (r ListMaintenanceControlsResponse) ContentType() string
- func (r ListMaintenanceControlsResponse) GetApplicationproblemJSONDefault() *Problem
- func (r ListMaintenanceControlsResponse) GetBody() []byte
- func (r ListMaintenanceControlsResponse) GetJSON200() *[]MaintenanceControl
- func (r ListMaintenanceControlsResponse) Status() string
- func (r ListMaintenanceControlsResponse) StatusCode() int
- type ListPreviewsParams
- type ListPreviewsResponse
- func (r ListPreviewsResponse) ContentType() string
- func (r ListPreviewsResponse) GetApplicationproblemJSONDefault() *Problem
- func (r ListPreviewsResponse) GetBody() []byte
- func (r ListPreviewsResponse) GetJSON200() *PreviewPage
- func (r ListPreviewsResponse) Status() string
- func (r ListPreviewsResponse) StatusCode() int
- type ListProjectsParams
- type ListProjectsResponse
- func (r ListProjectsResponse) ContentType() string
- func (r ListProjectsResponse) GetApplicationproblemJSONDefault() *Problem
- func (r ListProjectsResponse) GetBody() []byte
- func (r ListProjectsResponse) GetJSON200() *ProjectPage
- func (r ListProjectsResponse) Status() string
- func (r ListProjectsResponse) StatusCode() int
- type ListPublisherIdentitiesParams
- type ListPublisherIdentitiesResponse
- func (r ListPublisherIdentitiesResponse) ContentType() string
- func (r ListPublisherIdentitiesResponse) GetApplicationproblemJSONDefault() *Problem
- func (r ListPublisherIdentitiesResponse) GetBody() []byte
- func (r ListPublisherIdentitiesResponse) GetJSON200() *PublisherIdentityPage
- func (r ListPublisherIdentitiesResponse) Status() string
- func (r ListPublisherIdentitiesResponse) StatusCode() int
- type ListServiceAuditParams
- type ListServiceAuditResponse
- func (r ListServiceAuditResponse) ContentType() string
- func (r ListServiceAuditResponse) GetApplicationproblemJSONDefault() *Problem
- func (r ListServiceAuditResponse) GetBody() []byte
- func (r ListServiceAuditResponse) GetJSON200() *ServiceAuditPage
- func (r ListServiceAuditResponse) Status() string
- func (r ListServiceAuditResponse) StatusCode() int
- type ListServiceGrantsParams
- type ListServiceGrantsResponse
- func (r ListServiceGrantsResponse) ContentType() string
- func (r ListServiceGrantsResponse) GetApplicationproblemJSONDefault() *Problem
- func (r ListServiceGrantsResponse) GetBody() []byte
- func (r ListServiceGrantsResponse) GetJSON200() *ServiceGrantPage
- func (r ListServiceGrantsResponse) Status() string
- func (r ListServiceGrantsResponse) StatusCode() int
- type ListServiceHTTPGrantsResponse
- func (r ListServiceHTTPGrantsResponse) ContentType() string
- func (r ListServiceHTTPGrantsResponse) GetApplicationproblemJSONDefault() *Problem
- func (r ListServiceHTTPGrantsResponse) GetBody() []byte
- func (r ListServiceHTTPGrantsResponse) GetJSON200() *[]ServiceHTTPGrantSummary
- func (r ListServiceHTTPGrantsResponse) Status() string
- func (r ListServiceHTTPGrantsResponse) StatusCode() int
- type ListServiceInvitationsParams
- type ListServiceInvitationsResponse
- func (r ListServiceInvitationsResponse) ContentType() string
- func (r ListServiceInvitationsResponse) GetApplicationproblemJSONDefault() *Problem
- func (r ListServiceInvitationsResponse) GetBody() []byte
- func (r ListServiceInvitationsResponse) GetJSON200() *ServiceInvitationPage
- func (r ListServiceInvitationsResponse) Status() string
- func (r ListServiceInvitationsResponse) StatusCode() int
- type ListServicesParams
- type ListServicesResponse
- func (r ListServicesResponse) ContentType() string
- func (r ListServicesResponse) GetApplicationproblemJSONDefault() *Problem
- func (r ListServicesResponse) GetBody() []byte
- func (r ListServicesResponse) GetJSON200() *ServicePage
- func (r ListServicesResponse) Status() string
- func (r ListServicesResponse) StatusCode() int
- type ListSharesParams
- type ListSharesResponse
- func (r ListSharesResponse) ContentType() string
- func (r ListSharesResponse) GetApplicationproblemJSONDefault() *Problem
- func (r ListSharesResponse) GetBody() []byte
- func (r ListSharesResponse) GetJSON200() *SharePage
- func (r ListSharesResponse) Status() string
- func (r ListSharesResponse) StatusCode() int
- type ListTeamSharesParams
- type ListTeamSharesResponse
- func (r ListTeamSharesResponse) ContentType() string
- func (r ListTeamSharesResponse) GetApplicationproblemJSONDefault() *Problem
- func (r ListTeamSharesResponse) GetBody() []byte
- func (r ListTeamSharesResponse) GetJSON200() *SharePage
- func (r ListTeamSharesResponse) Status() string
- func (r ListTeamSharesResponse) StatusCode() int
- type ListWorkloadServicesResponse
- func (r ListWorkloadServicesResponse) ContentType() string
- func (r ListWorkloadServicesResponse) GetApplicationproblemJSONDefault() *Problem
- func (r ListWorkloadServicesResponse) GetBody() []byte
- func (r ListWorkloadServicesResponse) GetJSON200() *WorkloadServices
- func (r ListWorkloadServicesResponse) Status() string
- func (r ListWorkloadServicesResponse) StatusCode() int
- type LocalProjectService
- type LocalServiceSource
- type MaintenanceControl
- type MaintenanceControlName
- type MarkServiceCertificateInstalledJSONRequestBody
- type MarkServiceCertificateInstalledResponse
- func (r MarkServiceCertificateInstalledResponse) ContentType() string
- func (r MarkServiceCertificateInstalledResponse) GetApplicationproblemJSONDefault() *Problem
- func (r MarkServiceCertificateInstalledResponse) GetBody() []byte
- func (r MarkServiceCertificateInstalledResponse) Status() string
- func (r MarkServiceCertificateInstalledResponse) StatusCode() int
- type MarkSuppliedServiceCertificateInstalledJSONRequestBody
- type MarkSuppliedServiceCertificateInstalledResponse
- func (r MarkSuppliedServiceCertificateInstalledResponse) ContentType() string
- func (r MarkSuppliedServiceCertificateInstalledResponse) GetApplicationproblemJSONDefault() *Problem
- func (r MarkSuppliedServiceCertificateInstalledResponse) GetBody() []byte
- func (r MarkSuppliedServiceCertificateInstalledResponse) GetJSON200() *SuppliedServiceCertificateInstallation
- func (r MarkSuppliedServiceCertificateInstalledResponse) Status() string
- func (r MarkSuppliedServiceCertificateInstalledResponse) StatusCode() int
- type MembershipID
- type MiddlewareFunc
- type OIDCAuthenticationFacts
- type OIDCAuthenticationFactsLoginFlow
- type PrepareConnectorPeerPairJSONRequestBody
- type PrepareConnectorPeerPairResponse
- func (r PrepareConnectorPeerPairResponse) ContentType() string
- func (r PrepareConnectorPeerPairResponse) GetApplicationproblemJSONDefault() *Problem
- func (r PrepareConnectorPeerPairResponse) GetBody() []byte
- func (r PrepareConnectorPeerPairResponse) GetJSON200() *ConnectorPeerPair
- func (r PrepareConnectorPeerPairResponse) Status() string
- func (r PrepareConnectorPeerPairResponse) StatusCode() int
- type PrepareServiceRunJSONRequestBody
- type PrepareServiceRunParams
- type PrepareServiceRunResponse
- func (r PrepareServiceRunResponse) ContentType() string
- func (r PrepareServiceRunResponse) GetApplicationproblemJSONDefault() *Problem
- func (r PrepareServiceRunResponse) GetBody() []byte
- func (r PrepareServiceRunResponse) GetJSON201() *ServiceRunPreparation
- func (r PrepareServiceRunResponse) Status() string
- func (r PrepareServiceRunResponse) StatusCode() int
- type Preview
- type PreviewID
- type PreviewPage
- type PreviewPageFeedbackRequest
- type PreviewSummary
- type Problem
- type ProblemCode
- type ProjectApplicationRate
- type ProjectConfiguration
- type ProjectHTTPAccess
- type ProjectHTTPApplicationLimits
- type ProjectPage
- type ProjectPublicMetadata
- type ProjectPublicationStatus
- type ProjectPublicationStatusPublicationState
- type ProjectPublicationStatusReason
- type ProjectPublicationStatusServiceKind
- type ProjectServiceAccess
- type ProjectServiceAccessTeam
- type ProjectServiceConfiguration
- type ProjectServiceDeclarations
- type ProjectServiceHTTP
- type ProjectSourceIdentity
- type ProjectStatus
- type ProjectSummary
- type ProjectTargetDiscovery
- type ProjectTargetDiscoveryEndpoint
- type ProjectTargetDiscoveryType
- type ProjectTargetTLS
- type ProjectWebhook
- type ProjectWorkload
- type ProjectWorkloadGitHub
- type ProjectWorkloadGitLab
- type ProjectWorkloadGoogle
- type ProjectWorkloadKubernetes
- type PublisherConnectionID
- type PublisherConnectionState
- type PublisherDeploymentObservation
- type PublisherDeploymentObservationEvidence
- type PublisherDeploymentReport
- type PublisherDeploymentReportProvider
- type PublisherEnrollment
- type PublisherEnrollmentKind
- type PublisherEnrollmentResult
- type PublisherEnrollmentResultKind
- type PublisherGrant
- type PublisherGrantKind
- type PublisherIdentity
- type PublisherIdentityID
- type PublisherIdentityKind
- type PublisherIdentityOwnership
- type PublisherIdentityPage
- type PublisherPolicyConfirmation
- type PublisherRuntimeRequest
- type PublisherRuntimeRequestAction
- type PublisherRuntimeResponse
- type PublisherRuntimeStatus
- type PublisherRuntimeStatusAddressFamily
- type PublisherRuntimeStatusEvidence
- type PublisherServiceProtocols
- type PublisherVisitorPolicyRequest
- type PublisherWatchChange
- type PublisherWatchRequest
- type PublisherWatchResponse
- type PublisherWatchRun
- type ReadPublisherVisitorPolicyJSONRequestBody
- type ReadPublisherVisitorPolicyResponse
- func (r ReadPublisherVisitorPolicyResponse) ContentType() string
- func (r ReadPublisherVisitorPolicyResponse) GetApplicationproblemJSONDefault() *Problem
- func (r ReadPublisherVisitorPolicyResponse) GetBody() []byte
- func (r ReadPublisherVisitorPolicyResponse) GetJSON200() *VisitorPolicyUpdate
- func (r ReadPublisherVisitorPolicyResponse) Status() string
- func (r ReadPublisherVisitorPolicyResponse) StatusCode() int
- type ReadinessResponse
- type ReadinessResponseChecksControl
- type ReadinessResponseChecksDatabase
- type ReadinessResponseChecksIngress
- type ReadinessResponseChecksRelay
- type ReadinessResponseChecksRoute53Credentials
- type ReadinessResponseStatus
- type RealizeLocalProjectServiceJSONRequestBody
- type RealizeLocalProjectServiceRequest
- type RealizeLocalProjectServiceResponse
- func (r RealizeLocalProjectServiceResponse) ContentType() string
- func (r RealizeLocalProjectServiceResponse) GetApplicationproblemJSONDefault() *Problem
- func (r RealizeLocalProjectServiceResponse) GetBody() []byte
- func (r RealizeLocalProjectServiceResponse) GetJSON200() *LocalProjectService
- func (r RealizeLocalProjectServiceResponse) Status() string
- func (r RealizeLocalProjectServiceResponse) StatusCode() int
- type RebindConnectorPeerPairJSONRequestBody
- type RebindConnectorPeerPairResponse
- func (r RebindConnectorPeerPairResponse) ContentType() string
- func (r RebindConnectorPeerPairResponse) GetApplicationproblemJSONDefault() *Problem
- func (r RebindConnectorPeerPairResponse) GetBody() []byte
- func (r RebindConnectorPeerPairResponse) GetJSON200() *ConnectorPeerPairRebindState
- func (r RebindConnectorPeerPairResponse) Status() string
- func (r RebindConnectorPeerPairResponse) StatusCode() int
- type RedeemDeploymentPublisherEnrollmentJSONRequestBody
- type RedeemDeploymentPublisherEnrollmentRequest
- type RedeemDeploymentPublisherEnrollmentResponse
- func (r RedeemDeploymentPublisherEnrollmentResponse) ContentType() string
- func (r RedeemDeploymentPublisherEnrollmentResponse) GetApplicationproblemJSONDefault() *Problem
- func (r RedeemDeploymentPublisherEnrollmentResponse) GetBody() []byte
- func (r RedeemDeploymentPublisherEnrollmentResponse) GetJSON200() *DeploymentPublisherIdentity
- func (r RedeemDeploymentPublisherEnrollmentResponse) Status() string
- func (r RedeemDeploymentPublisherEnrollmentResponse) StatusCode() int
- type RedeemServiceBrowserHandoffJSONRequestBody
- type RedeemServiceBrowserHandoffResponse
- func (r RedeemServiceBrowserHandoffResponse) ContentType() string
- func (r RedeemServiceBrowserHandoffResponse) GetApplicationproblemJSONDefault() *Problem
- func (r RedeemServiceBrowserHandoffResponse) GetBody() []byte
- func (r RedeemServiceBrowserHandoffResponse) GetJSON200() *BrowserHandoffResponse
- func (r RedeemServiceBrowserHandoffResponse) Status() string
- func (r RedeemServiceBrowserHandoffResponse) StatusCode() int
- type RedeemServiceShareJSONRequestBody
- type RedeemServiceShareRequest
- type RedeemServiceShareResponse
- func (r RedeemServiceShareResponse) ContentType() string
- func (r RedeemServiceShareResponse) GetApplicationproblemJSONDefault() *Problem
- func (r RedeemServiceShareResponse) GetBody() []byte
- func (r RedeemServiceShareResponse) GetJSON200() *ShareRedemption
- func (r RedeemServiceShareResponse) Status() string
- func (r RedeemServiceShareResponse) StatusCode() int
- type RegisterDeploymentCredentialJSONRequestBody
- type RegisterDeploymentCredentialParams
- type RegisterDeploymentCredentialRequest
- func (t RegisterDeploymentCredentialRequest) AsRegisterDeploymentCredentialRequest0() (RegisterDeploymentCredentialRequest0, error)
- func (t RegisterDeploymentCredentialRequest) AsRegisterDeploymentCredentialRequest1() (RegisterDeploymentCredentialRequest1, error)
- func (t *RegisterDeploymentCredentialRequest) FromRegisterDeploymentCredentialRequest0(v RegisterDeploymentCredentialRequest0) error
- func (t *RegisterDeploymentCredentialRequest) FromRegisterDeploymentCredentialRequest1(v RegisterDeploymentCredentialRequest1) error
- func (t RegisterDeploymentCredentialRequest) MarshalJSON() ([]byte, error)
- func (t *RegisterDeploymentCredentialRequest) MergeRegisterDeploymentCredentialRequest0(v RegisterDeploymentCredentialRequest0) error
- func (t *RegisterDeploymentCredentialRequest) MergeRegisterDeploymentCredentialRequest1(v RegisterDeploymentCredentialRequest1) error
- func (t *RegisterDeploymentCredentialRequest) UnmarshalJSON(b []byte) error
- type RegisterDeploymentCredentialRequest0
- type RegisterDeploymentCredentialRequest1
- type RegisterDeploymentCredentialRequestAllDeployments
- type RegisterDeploymentCredentialResponse
- func (r RegisterDeploymentCredentialResponse) ContentType() string
- func (r RegisterDeploymentCredentialResponse) GetApplicationproblemJSONDefault() *Problem
- func (r RegisterDeploymentCredentialResponse) GetBody() []byte
- func (r RegisterDeploymentCredentialResponse) GetJSON201() *DeploymentCredential
- func (r RegisterDeploymentCredentialResponse) Status() string
- func (r RegisterDeploymentCredentialResponse) StatusCode() int
- type RelayID
- type RelayServiceID
- type ReleaseServiceEndpointJSONRequestBody
- type ReleaseServiceEndpointRequest
- type ReleaseServiceEndpointResponse
- func (r ReleaseServiceEndpointResponse) ContentType() string
- func (r ReleaseServiceEndpointResponse) GetApplicationproblemJSONDefault() *Problem
- func (r ReleaseServiceEndpointResponse) GetBody() []byte
- func (r ReleaseServiceEndpointResponse) GetJSON200() *Service
- func (r ReleaseServiceEndpointResponse) Status() string
- func (r ReleaseServiceEndpointResponse) StatusCode() int
- type RenameDeploymentJSONRequestBody
- type RenameDeploymentNamespaceJSONRequestBody
- type RenameDeploymentNamespaceRequest
- type RenameDeploymentNamespaceResponse
- func (r RenameDeploymentNamespaceResponse) ContentType() string
- func (r RenameDeploymentNamespaceResponse) GetApplicationproblemJSONDefault() *Problem
- func (r RenameDeploymentNamespaceResponse) GetBody() []byte
- func (r RenameDeploymentNamespaceResponse) GetJSON200() *AppliedProjectConfiguration
- func (r RenameDeploymentNamespaceResponse) Status() string
- func (r RenameDeploymentNamespaceResponse) StatusCode() int
- type RenameDeploymentRequest
- type RenameDeploymentResponse
- func (r RenameDeploymentResponse) ContentType() string
- func (r RenameDeploymentResponse) GetApplicationproblemJSONDefault() *Problem
- func (r RenameDeploymentResponse) GetBody() []byte
- func (r RenameDeploymentResponse) GetJSON200() *AppliedProjectConfiguration
- func (r RenameDeploymentResponse) Status() string
- func (r RenameDeploymentResponse) StatusCode() int
- type RenewConnectorPeerPairJSONRequestBody
- type RenewConnectorPeerPairResponse
- func (r RenewConnectorPeerPairResponse) ContentType() string
- func (r RenewConnectorPeerPairResponse) GetApplicationproblemJSONDefault() *Problem
- func (r RenewConnectorPeerPairResponse) GetBody() []byte
- func (r RenewConnectorPeerPairResponse) GetJSON200() *ConnectorPeerPairRenewal
- func (r RenewConnectorPeerPairResponse) Status() string
- func (r RenewConnectorPeerPairResponse) StatusCode() int
- type RenewPublisherRuntimeJSONRequestBody
- type RenewPublisherRuntimeResponse
- func (r RenewPublisherRuntimeResponse) ContentType() string
- func (r RenewPublisherRuntimeResponse) GetApplicationproblemJSONDefault() *Problem
- func (r RenewPublisherRuntimeResponse) GetBody() []byte
- func (r RenewPublisherRuntimeResponse) GetJSON200() *PublisherRuntimeResponse
- func (r RenewPublisherRuntimeResponse) Status() string
- func (r RenewPublisherRuntimeResponse) StatusCode() int
- type RenewServiceRunJSONRequestBody
- type RenewServiceRunResponse
- func (r RenewServiceRunResponse) ContentType() string
- func (r RenewServiceRunResponse) GetApplicationproblemJSONDefault() *Problem
- func (r RenewServiceRunResponse) GetBody() []byte
- func (r RenewServiceRunResponse) GetJSON200() *ServiceRunState
- func (r RenewServiceRunResponse) Status() string
- func (r RenewServiceRunResponse) StatusCode() int
- type ReportServiceRunObservationsJSONRequestBody
- type ReportServiceRunObservationsResponse
- func (r ReportServiceRunObservationsResponse) ContentType() string
- func (r ReportServiceRunObservationsResponse) GetApplicationproblemJSONDefault() *Problem
- func (r ReportServiceRunObservationsResponse) GetBody() []byte
- func (r ReportServiceRunObservationsResponse) GetJSON200() *ServiceObservationResult
- func (r ReportServiceRunObservationsResponse) Status() string
- func (r ReportServiceRunObservationsResponse) StatusCode() int
- type RequestEditorFn
- type RequiredHeaderError
- type RequiredParamError
- type ResolveProjectSourceJSONRequestBody
- type ResolveProjectSourceResponse
- func (r ResolveProjectSourceResponse) ContentType() string
- func (r ResolveProjectSourceResponse) GetApplicationproblemJSONDefault() *Problem
- func (r ResolveProjectSourceResponse) GetBody() []byte
- func (r ResolveProjectSourceResponse) GetJSON200() *ProjectSourceIdentity
- func (r ResolveProjectSourceResponse) Status() string
- func (r ResolveProjectSourceResponse) StatusCode() int
- type ResourceID
- type RetireConnectorPeerPairJSONRequestBody
- type RetireConnectorPeerPairResponse
- func (r RetireConnectorPeerPairResponse) ContentType() string
- func (r RetireConnectorPeerPairResponse) GetApplicationproblemJSON400() *Problem
- func (r RetireConnectorPeerPairResponse) GetApplicationproblemJSON403() *Problem
- func (r RetireConnectorPeerPairResponse) GetApplicationproblemJSON409() *Problem
- func (r RetireConnectorPeerPairResponse) GetApplicationproblemJSON503() *Problem
- func (r RetireConnectorPeerPairResponse) GetApplicationproblemJSONDefault() *Problem
- func (r RetireConnectorPeerPairResponse) GetBody() []byte
- func (r RetireConnectorPeerPairResponse) GetJSON200() *ConnectorPeerPairRetirement
- func (r RetireConnectorPeerPairResponse) Status() string
- func (r RetireConnectorPeerPairResponse) StatusCode() int
- type RetireConnectorPeerPairResponse200Headers
- type RetireProjectJSONBody
- type RetireProjectJSONRequestBody
- type RetireProjectResponse
- func (r RetireProjectResponse) ContentType() string
- func (r RetireProjectResponse) GetApplicationproblemJSONDefault() *Problem
- func (r RetireProjectResponse) GetBody() []byte
- func (r RetireProjectResponse) GetJSON200() *AppliedProjectConfiguration
- func (r RetireProjectResponse) Status() string
- func (r RetireProjectResponse) StatusCode() int
- type ReviewSchemaVersion
- type ReviewerFeedbackEventInputType
- type ReviewerFeedbackReadRequest
- type RevisionList
- type RevokeDeploymentPublisherParams
- type RevokeDeploymentPublisherResponse
- func (r RevokeDeploymentPublisherResponse) ContentType() string
- func (r RevokeDeploymentPublisherResponse) GetApplicationproblemJSONDefault() *Problem
- func (r RevokeDeploymentPublisherResponse) GetBody() []byte
- func (r RevokeDeploymentPublisherResponse) Status() string
- func (r RevokeDeploymentPublisherResponse) StatusCode() int
- type RevokePublisherGrantParams
- type RevokePublisherGrantResponse
- func (r RevokePublisherGrantResponse) ContentType() string
- func (r RevokePublisherGrantResponse) GetApplicationproblemJSONDefault() *Problem
- func (r RevokePublisherGrantResponse) GetBody() []byte
- func (r RevokePublisherGrantResponse) Status() string
- func (r RevokePublisherGrantResponse) StatusCode() int
- type RevokePublisherIdentityParams
- type RevokePublisherIdentityResponse
- func (r RevokePublisherIdentityResponse) ContentType() string
- func (r RevokePublisherIdentityResponse) GetApplicationproblemJSONDefault() *Problem
- func (r RevokePublisherIdentityResponse) GetBody() []byte
- func (r RevokePublisherIdentityResponse) Status() string
- func (r RevokePublisherIdentityResponse) StatusCode() int
- type RevokeServiceBrowserSessionJSONRequestBody
- type RevokeServiceBrowserSessionResponse
- func (r RevokeServiceBrowserSessionResponse) ContentType() string
- func (r RevokeServiceBrowserSessionResponse) GetApplicationproblemJSONDefault() *Problem
- func (r RevokeServiceBrowserSessionResponse) GetBody() []byte
- func (r RevokeServiceBrowserSessionResponse) Status() string
- func (r RevokeServiceBrowserSessionResponse) StatusCode() int
- type RevokeServiceGrantResponse
- type RevokeServiceHTTPGrantResponse
- func (r RevokeServiceHTTPGrantResponse) ContentType() string
- func (r RevokeServiceHTTPGrantResponse) GetApplicationproblemJSONDefault() *Problem
- func (r RevokeServiceHTTPGrantResponse) GetBody() []byte
- func (r RevokeServiceHTTPGrantResponse) Status() string
- func (r RevokeServiceHTTPGrantResponse) StatusCode() int
- type RevokeServiceInvitationResponse
- func (r RevokeServiceInvitationResponse) ContentType() string
- func (r RevokeServiceInvitationResponse) GetApplicationproblemJSONDefault() *Problem
- func (r RevokeServiceInvitationResponse) GetBody() []byte
- func (r RevokeServiceInvitationResponse) Status() string
- func (r RevokeServiceInvitationResponse) StatusCode() int
- type RevokeShareResponse
- func (r RevokeShareResponse) ContentType() string
- func (r RevokeShareResponse) GetApplicationproblemJSONDefault() *Problem
- func (r RevokeShareResponse) GetBody() []byte
- func (r RevokeShareResponse) GetJSON200() *Share
- func (r RevokeShareResponse) Status() string
- func (r RevokeShareResponse) StatusCode() int
- type RevokeVisitorDeviceResponse
- type SelectDeploymentServiceRunJSONBody
- type SelectDeploymentServiceRunJSONRequestBody
- type SelectDeploymentServiceRunParams
- type SelectDeploymentServiceRunResponse
- func (r SelectDeploymentServiceRunResponse) ContentType() string
- func (r SelectDeploymentServiceRunResponse) GetApplicationproblemJSONDefault() *Problem
- func (r SelectDeploymentServiceRunResponse) GetBody() []byte
- func (r SelectDeploymentServiceRunResponse) GetJSON200() *ServiceSelection
- func (r SelectDeploymentServiceRunResponse) Status() string
- func (r SelectDeploymentServiceRunResponse) StatusCode() int
- type SelectServiceRunJSONBody
- type SelectServiceRunJSONRequestBody
- type SelectServiceRunResponse
- func (r SelectServiceRunResponse) ContentType() string
- func (r SelectServiceRunResponse) GetApplicationproblemJSONDefault() *Problem
- func (r SelectServiceRunResponse) GetBody() []byte
- func (r SelectServiceRunResponse) GetJSON201() *ServiceSelection
- func (r SelectServiceRunResponse) Status() string
- func (r SelectServiceRunResponse) StatusCode() int
- type SelectWorkloadServiceRunResponse
- func (r SelectWorkloadServiceRunResponse) ContentType() string
- func (r SelectWorkloadServiceRunResponse) GetApplicationproblemJSONDefault() *Problem
- func (r SelectWorkloadServiceRunResponse) GetBody() []byte
- func (r SelectWorkloadServiceRunResponse) GetJSON200() *ServiceSelection
- func (r SelectWorkloadServiceRunResponse) Status() string
- func (r SelectWorkloadServiceRunResponse) StatusCode() int
- type ServeMux
- type ServerInterface
- type ServerInterfaceWrapper
- func (siw *ServerInterfaceWrapper) AcceptServiceInvitation(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AcknowledgeDeploymentPublisherConfiguration(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AcquireDeploymentPublisherLease(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AddPreviewService(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AllocateDeploymentPublication(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AllocateGuestDemoService(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AllocatePublisherService(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ApplyProjectConfiguration(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AuthorizeImplementerFeedback(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AuthorizeReviewerFeedback(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AuthorizeServiceClientCertificate(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) BeginServiceBrowserLogin(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CheckServiceBrowserSession(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CheckWorkloadService(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CloseServiceRun(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CompletePreviewBrowserLogin(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ConfigureService(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ConfirmConnectorPeerPairPrepared(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateDeployment(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateDeploymentPublisherEnrollment(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateGuestDemo(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreatePreview(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreatePublisherEnrollment(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreatePublisherGrant(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateService(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateServiceCertificateIssuance(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateServiceGrant(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateServiceHTTPGrant(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateServiceRunPreview(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateServiceShare(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateShare(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteDeployment(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeletePublisherService(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteService(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeliverConnectorPeerPair(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DrainAdminRelay(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) EnrollGuestPublisher(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) EnrollVisitorDevice(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetAdminServerStatus(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetClientIP(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetControlDiscovery(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetDeployment(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetDeploymentPublication(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetDeploymentPublisher(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetDeploymentPublisherAssignments(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetHealth(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetLocalProjectService(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetPreview(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetProjectConfiguration(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetProjectPublicMetadata(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetProjectService(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetProjectStatus(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetPublisherService(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetReadiness(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetService(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetServiceByHostname(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetServiceCertificateIssuance(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetServiceConfiguration(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetShare(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetWebhookProviderSource(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) InspectPublisherRuntime(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) InviteServiceVisitor(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) IssueServiceClientCertificate(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) IssueVisitorToken(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) IssueWorkloadServiceClientCertificate(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListAdminRelays(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListAvailableServices(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListConnectorPeerPairs(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListDeploymentPublishers(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListDeployments(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListMaintenanceControls(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListPreviews(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListProjects(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListPublisherIdentities(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListServiceAudit(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListServiceGrants(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListServiceHTTPGrants(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListServiceInvitations(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListServices(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListShares(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListTeamShares(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListWorkloadServices(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) MarkServiceCertificateInstalled(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) MarkSuppliedServiceCertificateInstalled(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PrepareConnectorPeerPair(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PrepareServiceRun(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReadPublisherVisitorPolicy(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RealizeLocalProjectService(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RebindConnectorPeerPair(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RedeemDeploymentPublisherEnrollment(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RedeemServiceBrowserHandoff(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RedeemServiceShare(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RegisterDeploymentCredential(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReleaseServiceEndpoint(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RenameDeployment(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RenameDeploymentNamespace(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RenewConnectorPeerPair(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RenewPublisherRuntime(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RenewServiceRun(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReportServiceRunObservations(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ResolveProjectSource(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RetireConnectorPeerPair(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RetireProject(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RevokeDeploymentPublisher(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RevokePublisherGrant(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RevokePublisherIdentity(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RevokeServiceBrowserSession(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RevokeServiceGrant(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RevokeServiceHTTPGrant(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RevokeServiceInvitation(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RevokeShare(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RevokeVisitorDevice(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SelectDeploymentServiceRun(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SelectServiceRun(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SelectWorkloadServiceRun(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetMaintenanceControl(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetPreviewTeamAccess(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetServiceEnabled(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StartPublisherRuntime(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StartServiceRun(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StopPublisherRuntime(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateDeployment(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) VerifyDeploymentIdentity(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) WatchPublisherRuns(w http.ResponseWriter, r *http.Request)
- type Service
- type ServiceAccessPath
- type ServiceAuditEvent
- type ServiceAuditEventServiceKind
- type ServiceAuditPage
- type ServiceBrowserRequest
- type ServiceCertificateInstalledRequest
- type ServiceCertificateIssuance
- type ServiceClientCertificate
- type ServiceClientCertificateDecision
- type ServiceCursor
- type ServiceEndpoint
- type ServiceGrant
- type ServiceGrantID
- type ServiceGrantKind
- type ServiceGrantPage
- type ServiceHTTPGrantSummary
- type ServiceHTTPGrantSummaryKind
- type ServiceID
- type ServiceInvitation
- type ServiceInvitationCreation
- type ServiceInvitationCredential
- type ServiceInvitationID
- type ServiceInvitationPage
- type ServiceMetadata
- type ServiceName
- type ServiceObservation
- type ServiceObservationEventType
- type ServiceObservationOutcome
- type ServiceObservationReason
- type ServiceObservationResult
- type ServiceObservationServiceKind
- type ServicePage
- type ServicePlacement
- type ServiceProtocol
- type ServiceRunDeclaration
- type ServiceRunHeartbeat
- type ServiceRunID
- type ServiceRunObservations
- type ServiceRunPreparation
- type ServiceRunPreviewRequest
- type ServiceRunSetup
- type ServiceRunState
- type ServiceRunStateState
- type ServiceSelection
- type ServiceSummary
- type ServiceSummaryVisitorAccess
- type ServiceTargetTLS
- type SetMaintenanceControlJSONRequestBody
- type SetMaintenanceControlRequest
- type SetMaintenanceControlResponse
- func (r SetMaintenanceControlResponse) ContentType() string
- func (r SetMaintenanceControlResponse) GetApplicationproblemJSONDefault() *Problem
- func (r SetMaintenanceControlResponse) GetBody() []byte
- func (r SetMaintenanceControlResponse) GetJSON200() *MaintenanceControl
- func (r SetMaintenanceControlResponse) Status() string
- func (r SetMaintenanceControlResponse) StatusCode() int
- type SetPreviewTeamAccessJSONRequestBody
- type SetPreviewTeamAccessRequest
- type SetPreviewTeamAccessResponse
- func (r SetPreviewTeamAccessResponse) ContentType() string
- func (r SetPreviewTeamAccessResponse) GetApplicationproblemJSONDefault() *Problem
- func (r SetPreviewTeamAccessResponse) GetBody() []byte
- func (r SetPreviewTeamAccessResponse) GetJSON200() *Preview
- func (r SetPreviewTeamAccessResponse) Status() string
- func (r SetPreviewTeamAccessResponse) StatusCode() int
- type SetServiceEnabledJSONRequestBody
- type SetServiceEnabledRequest
- type SetServiceEnabledResponse
- func (r SetServiceEnabledResponse) ContentType() string
- func (r SetServiceEnabledResponse) GetApplicationproblemJSONDefault() *Problem
- func (r SetServiceEnabledResponse) GetBody() []byte
- func (r SetServiceEnabledResponse) GetJSON200() *Service
- func (r SetServiceEnabledResponse) Status() string
- func (r SetServiceEnabledResponse) StatusCode() int
- type Share
- type ShareCreation
- type ShareID
- type SharePage
- type ShareRedemption
- type ShareScope
- type SourceFileState
- type SourceFileStateStatus
- type SourceState
- type StartPublisherRuntimeJSONRequestBody
- type StartPublisherRuntimeResponse
- func (r StartPublisherRuntimeResponse) ContentType() string
- func (r StartPublisherRuntimeResponse) GetApplicationproblemJSONDefault() *Problem
- func (r StartPublisherRuntimeResponse) GetBody() []byte
- func (r StartPublisherRuntimeResponse) GetJSON200() *PublisherRuntimeResponse
- func (r StartPublisherRuntimeResponse) Status() string
- func (r StartPublisherRuntimeResponse) StatusCode() int
- type StartServiceRunJSONBody
- type StartServiceRunJSONRequestBody
- type StartServiceRunResponse
- func (r StartServiceRunResponse) ContentType() string
- func (r StartServiceRunResponse) GetApplicationproblemJSONDefault() *Problem
- func (r StartServiceRunResponse) GetBody() []byte
- func (r StartServiceRunResponse) GetJSON200() *ServiceRunSetup
- func (r StartServiceRunResponse) Status() string
- func (r StartServiceRunResponse) StatusCode() int
- type StdHTTPServerOptions
- type StopPublisherRuntimeJSONRequestBody
- type StopPublisherRuntimeResponse
- func (r StopPublisherRuntimeResponse) ContentType() string
- func (r StopPublisherRuntimeResponse) GetApplicationproblemJSONDefault() *Problem
- func (r StopPublisherRuntimeResponse) GetBody() []byte
- func (r StopPublisherRuntimeResponse) GetJSON200() *PublisherRuntimeResponse
- func (r StopPublisherRuntimeResponse) Status() string
- func (r StopPublisherRuntimeResponse) StatusCode() int
- type SuppliedServiceCertificateInstallation
- type SuppliedServiceCertificateInstalledRequest
- type TeamID
- type TeamIDQuery
- type TooManyValuesForParamError
- type TrafficLimits
- type TrafficSelection
- type UnescapedCookieParamError
- type UnmarshalingParamError
- type UpdateDeploymentJSONRequestBody
- type UpdateDeploymentParams
- type UpdateDeploymentRequest
- type UpdateDeploymentResponse
- func (r UpdateDeploymentResponse) ContentType() string
- func (r UpdateDeploymentResponse) GetApplicationproblemJSONDefault() *Problem
- func (r UpdateDeploymentResponse) GetBody() []byte
- func (r UpdateDeploymentResponse) GetJSON200() *Deployment
- func (r UpdateDeploymentResponse) Status() string
- func (r UpdateDeploymentResponse) StatusCode() int
- type UpdateDeploymentResponse200Headers
- type UpdateServiceRequest
- type VerifyDeploymentIdentityJSONRequestBody
- type VerifyDeploymentIdentityResponse
- func (r VerifyDeploymentIdentityResponse) ContentType() string
- func (r VerifyDeploymentIdentityResponse) GetApplicationproblemJSONDefault() *Problem
- func (r VerifyDeploymentIdentityResponse) GetBody() []byte
- func (r VerifyDeploymentIdentityResponse) GetJSON200() *DeploymentPublisherVerification
- func (r VerifyDeploymentIdentityResponse) Status() string
- func (r VerifyDeploymentIdentityResponse) StatusCode() int
- type VisitorAccessMode
- type VisitorConnectionID
- type VisitorCredential
- type VisitorCredentialKind
- type VisitorDevice
- type VisitorPolicyIP
- type VisitorPolicySnapshot
- type VisitorPolicyUpdate
- type VisitorPublicEndpoint
- type VisitorRegisteredKeyLease
- type VisitorResourceScope
- type VisitorResourceScopeKind
- type VisitorSubject
- type VisitorSubjectKind
- type VisitorTokenBrowserSessionSource
- type VisitorTokenBrowserSessionSourceKind
- type VisitorTokenControlSessionSource
- type VisitorTokenControlSessionSourceKind
- type VisitorTokenDeviceSource
- type VisitorTokenDeviceSourceKind
- type VisitorTokenGrantSource
- type VisitorTokenGrantSourceKind
- type VisitorTokenRegisteredKeySource
- type VisitorTokenRegisteredKeySourceKind
- type VisitorTokenRequest
- type VisitorTokenResponse
- type VisitorTokenShareSessionSource
- type VisitorTokenShareSessionSourceKind
- type VisitorTokenShareSource
- type VisitorTokenShareSourceKind
- type VisitorTokenSource
- type VisitorTokenWorkloadSource
- type VisitorTokenWorkloadSourceKind
- type VisitorVerificationKey
- type VisitorWorkloadLease
- type WatchPublisherRunsJSONRequestBody
- type WatchPublisherRunsResponse
- func (r WatchPublisherRunsResponse) ContentType() string
- func (r WatchPublisherRunsResponse) GetApplicationproblemJSONDefault() *Problem
- func (r WatchPublisherRunsResponse) GetBody() []byte
- func (r WatchPublisherRunsResponse) GetJSON200() *PublisherWatchResponse
- func (r WatchPublisherRunsResponse) Status() string
- func (r WatchPublisherRunsResponse) StatusCode() int
- type WebhookProvider
- type WebhookProviderSourceResponse
- type WebhookProviderSourceResponseSource0
- type WebhookProviderSourceResponseSource0Kind
- type WebhookProviderSourceResponseSource1
- type WebhookProviderSourceResponseSource1Kind
- type WebhookProviderSourceResponse_Source
- func (t WebhookProviderSourceResponse_Source) AsWebhookProviderSourceResponseSource0() (WebhookProviderSourceResponseSource0, error)
- func (t WebhookProviderSourceResponse_Source) AsWebhookProviderSourceResponseSource1() (WebhookProviderSourceResponseSource1, error)
- func (t *WebhookProviderSourceResponse_Source) FromWebhookProviderSourceResponseSource0(v WebhookProviderSourceResponseSource0) error
- func (t *WebhookProviderSourceResponse_Source) FromWebhookProviderSourceResponseSource1(v WebhookProviderSourceResponseSource1) error
- func (t WebhookProviderSourceResponse_Source) MarshalJSON() ([]byte, error)
- func (t *WebhookProviderSourceResponse_Source) MergeWebhookProviderSourceResponseSource0(v WebhookProviderSourceResponseSource0) error
- func (t *WebhookProviderSourceResponse_Source) MergeWebhookProviderSourceResponseSource1(v WebhookProviderSourceResponseSource1) error
- func (t *WebhookProviderSourceResponse_Source) UnmarshalJSON(b []byte) error
- type WorkloadProvider
- type WorkloadServiceAuthorization
- type WorkloadServices
- type WorkloadTrust
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectorPeerPairProof ¶
func ConnectorPeerPairProof(serviceID string, body ConnectorPeerPairRequest) (tunnelv1.ConnectorPeerPairProof, error)
ConnectorPeerPairProof converts the generated HTTP fields to the handwritten signing value. this is an adapter: tunnelv1 owns validation and v1 bytes. neither source credentials nor signature bytes contribute to the proof.
func ConnectorPeerPairProofMessage ¶
func ConnectorPeerPairProofMessage(serviceID string, body ConnectorPeerPairRequest) ([]byte, error)
ConnectorPeerPairProofMessage is pure signing input for a generated HTTP request. callers sign the returned bytes with the enrolled human-device, workload, or registered key before setting body.Signature.
func ConnectorPeerPairRebindProof ¶
func ConnectorPeerPairRebindProof(serviceID, pairID string, body ConnectorPeerPairRebindRequest) (tunnelv1.ConnectorPeerPairRebindProof, error)
ConnectorPeerPairRebindProof adapts generated fields to the handwritten proof. it verifies phase-specific shape, not source authentication or current authority.
func ConnectorPeerPairRebindProofMessage ¶
func ConnectorPeerPairRebindProofMessage(serviceID, pairID string, body ConnectorPeerPairRebindRequest) ([]byte, error)
ConnectorPeerPairRebindProofMessage returns signing bytes before a caller sets Signature. neither source credentials nor signature bytes enter this message.
func ConnectorPeerPairRetireAuthentication ¶
func ConnectorPeerPairRetireAuthentication(body ConnectorPeerPairRetireRequest) (sessionProof, signature []byte, err error)
ConnectorPeerPairRetireAuthentication strictly decodes the two existing-key proofs. it does not authenticate either key or define another signing format.
func ConnectorPeerPairRetireProof ¶
func ConnectorPeerPairRetireProof(serviceID, pairID string, body ConnectorPeerPairRetireRequest) (tunnelv1.ConnectorPeerPairRetireProof, error)
ConnectorPeerPairRetireProof adapts generated scope to the sole handwritten proof. callers may construct the MAC and signature after validating this scope.
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 NewAcceptServiceInvitationRequest ¶
func NewAcceptServiceInvitationRequest(server string, body AcceptServiceInvitationJSONRequestBody) (*http.Request, error)
NewAcceptServiceInvitationRequest calls the generic AcceptServiceInvitation builder with application/json body
func NewAcceptServiceInvitationRequestWithBody ¶
func NewAcceptServiceInvitationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAcceptServiceInvitationRequestWithBody constructs an http.Request for the AcceptServiceInvitation method, with any body, and a specified content type
func NewAcknowledgeDeploymentPublisherConfigurationRequest ¶
func NewAcknowledgeDeploymentPublisherConfigurationRequest(server string, body AcknowledgeDeploymentPublisherConfigurationJSONRequestBody) (*http.Request, error)
NewAcknowledgeDeploymentPublisherConfigurationRequest calls the generic AcknowledgeDeploymentPublisherConfiguration builder with application/json body
func NewAcknowledgeDeploymentPublisherConfigurationRequestWithBody ¶
func NewAcknowledgeDeploymentPublisherConfigurationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAcknowledgeDeploymentPublisherConfigurationRequestWithBody constructs an http.Request for the AcknowledgeDeploymentPublisherConfiguration method, with any body, and a specified content type
func NewAcquireDeploymentPublisherLeaseRequest ¶
func NewAcquireDeploymentPublisherLeaseRequest(server string, body AcquireDeploymentPublisherLeaseJSONRequestBody) (*http.Request, error)
NewAcquireDeploymentPublisherLeaseRequest calls the generic AcquireDeploymentPublisherLease builder with application/json body
func NewAcquireDeploymentPublisherLeaseRequestWithBody ¶
func NewAcquireDeploymentPublisherLeaseRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAcquireDeploymentPublisherLeaseRequestWithBody constructs an http.Request for the AcquireDeploymentPublisherLease method, with any body, and a specified content type
func NewAddPreviewServiceRequest ¶
func NewAddPreviewServiceRequest(server string, previewId PreviewID, body AddPreviewServiceJSONRequestBody) (*http.Request, error)
NewAddPreviewServiceRequest calls the generic AddPreviewService builder with application/json body
func NewAddPreviewServiceRequestWithBody ¶
func NewAddPreviewServiceRequestWithBody(server string, previewId PreviewID, contentType string, body io.Reader) (*http.Request, error)
NewAddPreviewServiceRequestWithBody constructs an http.Request for the AddPreviewService method, with any body, and a specified content type
func NewAllocateDeploymentPublicationRequest ¶
func NewAllocateDeploymentPublicationRequest(server string, projectKey string, deployment string, params *AllocateDeploymentPublicationParams, body AllocateDeploymentPublicationJSONRequestBody) (*http.Request, error)
NewAllocateDeploymentPublicationRequest calls the generic AllocateDeploymentPublication builder with application/json body
func NewAllocateDeploymentPublicationRequestWithBody ¶
func NewAllocateDeploymentPublicationRequestWithBody(server string, projectKey string, deployment string, params *AllocateDeploymentPublicationParams, contentType string, body io.Reader) (*http.Request, error)
NewAllocateDeploymentPublicationRequestWithBody constructs an http.Request for the AllocateDeploymentPublication method, with any body, and a specified content type
func NewAllocateGuestDemoServiceRequest ¶
func NewAllocateGuestDemoServiceRequest(server string, params *AllocateGuestDemoServiceParams, body AllocateGuestDemoServiceJSONRequestBody) (*http.Request, error)
NewAllocateGuestDemoServiceRequest calls the generic AllocateGuestDemoService builder with application/json body
func NewAllocateGuestDemoServiceRequestWithBody ¶
func NewAllocateGuestDemoServiceRequestWithBody(server string, params *AllocateGuestDemoServiceParams, contentType string, body io.Reader) (*http.Request, error)
NewAllocateGuestDemoServiceRequestWithBody constructs an http.Request for the AllocateGuestDemoService method, with any body, and a specified content type
func NewAllocatePublisherServiceRequest ¶
func NewAllocatePublisherServiceRequest(server string, body AllocatePublisherServiceJSONRequestBody) (*http.Request, error)
NewAllocatePublisherServiceRequest calls the generic AllocatePublisherService builder with application/json body
func NewAllocatePublisherServiceRequestWithBody ¶
func NewAllocatePublisherServiceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAllocatePublisherServiceRequestWithBody constructs an http.Request for the AllocatePublisherService method, with any body, and a specified content type
func NewApplyProjectConfigurationRequest ¶
func NewApplyProjectConfigurationRequest(server string, projectKey string, body ApplyProjectConfigurationJSONRequestBody) (*http.Request, error)
NewApplyProjectConfigurationRequest calls the generic ApplyProjectConfiguration builder with application/json body
func NewApplyProjectConfigurationRequestWithBody ¶
func NewApplyProjectConfigurationRequestWithBody(server string, projectKey string, contentType string, body io.Reader) (*http.Request, error)
NewApplyProjectConfigurationRequestWithBody constructs an http.Request for the ApplyProjectConfiguration method, with any body, and a specified content type
func NewAuthorizeImplementerFeedbackRequest ¶
func NewAuthorizeImplementerFeedbackRequest(server string, body AuthorizeImplementerFeedbackJSONRequestBody) (*http.Request, error)
NewAuthorizeImplementerFeedbackRequest calls the generic AuthorizeImplementerFeedback builder with application/json body
func NewAuthorizeImplementerFeedbackRequestWithBody ¶
func NewAuthorizeImplementerFeedbackRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAuthorizeImplementerFeedbackRequestWithBody constructs an http.Request for the AuthorizeImplementerFeedback method, with any body, and a specified content type
func NewAuthorizeReviewerFeedbackRequest ¶
func NewAuthorizeReviewerFeedbackRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, body AuthorizeReviewerFeedbackJSONRequestBody) (*http.Request, error)
NewAuthorizeReviewerFeedbackRequest calls the generic AuthorizeReviewerFeedback builder with application/json body
func NewAuthorizeReviewerFeedbackRequestWithBody ¶
func NewAuthorizeReviewerFeedbackRequestWithBody(server string, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader) (*http.Request, error)
NewAuthorizeReviewerFeedbackRequestWithBody constructs an http.Request for the AuthorizeReviewerFeedback method, with any body, and a specified content type
func NewAuthorizeServiceClientCertificateRequest ¶
func NewAuthorizeServiceClientCertificateRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, body AuthorizeServiceClientCertificateJSONRequestBody) (*http.Request, error)
NewAuthorizeServiceClientCertificateRequest calls the generic AuthorizeServiceClientCertificate builder with application/json body
func NewAuthorizeServiceClientCertificateRequestWithBody ¶
func NewAuthorizeServiceClientCertificateRequestWithBody(server string, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader) (*http.Request, error)
NewAuthorizeServiceClientCertificateRequestWithBody constructs an http.Request for the AuthorizeServiceClientCertificate method, with any body, and a specified content type
func NewBeginServiceBrowserLoginRequest ¶
func NewBeginServiceBrowserLoginRequest(server string, params *BeginServiceBrowserLoginParams) (*http.Request, error)
NewBeginServiceBrowserLoginRequest constructs an http.Request for the BeginServiceBrowserLogin method
func NewCheckServiceBrowserSessionRequest ¶
func NewCheckServiceBrowserSessionRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, body CheckServiceBrowserSessionJSONRequestBody) (*http.Request, error)
NewCheckServiceBrowserSessionRequest calls the generic CheckServiceBrowserSession builder with application/json body
func NewCheckServiceBrowserSessionRequestWithBody ¶
func NewCheckServiceBrowserSessionRequestWithBody(server string, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader) (*http.Request, error)
NewCheckServiceBrowserSessionRequestWithBody constructs an http.Request for the CheckServiceBrowserSession method, with any body, and a specified content type
func NewCheckWorkloadServiceRequest ¶
NewCheckWorkloadServiceRequest constructs an http.Request for the CheckWorkloadService method
func NewCloseServiceRunRequest ¶
func NewCloseServiceRunRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID) (*http.Request, error)
NewCloseServiceRunRequest constructs an http.Request for the CloseServiceRun method
func NewCompletePreviewBrowserLoginRequest ¶
func NewCompletePreviewBrowserLoginRequest(server string, params *CompletePreviewBrowserLoginParams) (*http.Request, error)
NewCompletePreviewBrowserLoginRequest constructs an http.Request for the CompletePreviewBrowserLogin method
func NewConfigureServiceRequest ¶
func NewConfigureServiceRequest(server string, serviceId ServiceID, body ConfigureServiceJSONRequestBody) (*http.Request, error)
NewConfigureServiceRequest calls the generic ConfigureService builder with application/json body
func NewConfigureServiceRequestWithBody ¶
func NewConfigureServiceRequestWithBody(server string, serviceId ServiceID, contentType string, body io.Reader) (*http.Request, error)
NewConfigureServiceRequestWithBody constructs an http.Request for the ConfigureService method, with any body, and a specified content type
func NewConfirmConnectorPeerPairPreparedRequest ¶
func NewConfirmConnectorPeerPairPreparedRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, pairId string, body ConfirmConnectorPeerPairPreparedJSONRequestBody) (*http.Request, error)
NewConfirmConnectorPeerPairPreparedRequest calls the generic ConfirmConnectorPeerPairPrepared builder with application/json body
func NewConfirmConnectorPeerPairPreparedRequestWithBody ¶
func NewConfirmConnectorPeerPairPreparedRequestWithBody(server string, serviceId ServiceID, serviceRunId ServiceRunID, pairId string, contentType string, body io.Reader) (*http.Request, error)
NewConfirmConnectorPeerPairPreparedRequestWithBody constructs an http.Request for the ConfirmConnectorPeerPairPrepared method, with any body, and a specified content type
func NewCreateDeploymentPublisherEnrollmentRequest ¶
func NewCreateDeploymentPublisherEnrollmentRequest(server string, projectKey string, deployment string, params *CreateDeploymentPublisherEnrollmentParams, body CreateDeploymentPublisherEnrollmentJSONRequestBody) (*http.Request, error)
NewCreateDeploymentPublisherEnrollmentRequest calls the generic CreateDeploymentPublisherEnrollment builder with application/json body
func NewCreateDeploymentPublisherEnrollmentRequestWithBody ¶
func NewCreateDeploymentPublisherEnrollmentRequestWithBody(server string, projectKey string, deployment string, params *CreateDeploymentPublisherEnrollmentParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateDeploymentPublisherEnrollmentRequestWithBody constructs an http.Request for the CreateDeploymentPublisherEnrollment method, with any body, and a specified content type
func NewCreateDeploymentRequest ¶
func NewCreateDeploymentRequest(server string, projectKey string, params *CreateDeploymentParams, body CreateDeploymentJSONRequestBody) (*http.Request, error)
NewCreateDeploymentRequest calls the generic CreateDeployment builder with application/json body
func NewCreateDeploymentRequestWithBody ¶
func NewCreateDeploymentRequestWithBody(server string, projectKey string, params *CreateDeploymentParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateDeploymentRequestWithBody constructs an http.Request for the CreateDeployment method, with any body, and a specified content type
func NewCreateGuestDemoRequest ¶
NewCreateGuestDemoRequest constructs an http.Request for the CreateGuestDemo method
func NewCreatePreviewRequest ¶
func NewCreatePreviewRequest(server string, params *CreatePreviewParams, body CreatePreviewJSONRequestBody) (*http.Request, error)
NewCreatePreviewRequest calls the generic CreatePreview builder with application/json body
func NewCreatePreviewRequestWithBody ¶
func NewCreatePreviewRequestWithBody(server string, params *CreatePreviewParams, contentType string, body io.Reader) (*http.Request, error)
NewCreatePreviewRequestWithBody constructs an http.Request for the CreatePreview method, with any body, and a specified content type
func NewCreatePublisherEnrollmentRequest ¶
func NewCreatePublisherEnrollmentRequest(server string, body CreatePublisherEnrollmentJSONRequestBody) (*http.Request, error)
NewCreatePublisherEnrollmentRequest calls the generic CreatePublisherEnrollment builder with application/json body
func NewCreatePublisherEnrollmentRequestWithBody ¶
func NewCreatePublisherEnrollmentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreatePublisherEnrollmentRequestWithBody constructs an http.Request for the CreatePublisherEnrollment method, with any body, and a specified content type
func NewCreatePublisherGrantRequest ¶
func NewCreatePublisherGrantRequest(server string, publisherIdentityId PublisherIdentityID, body CreatePublisherGrantJSONRequestBody) (*http.Request, error)
NewCreatePublisherGrantRequest calls the generic CreatePublisherGrant builder with application/json body
func NewCreatePublisherGrantRequestWithBody ¶
func NewCreatePublisherGrantRequestWithBody(server string, publisherIdentityId PublisherIdentityID, contentType string, body io.Reader) (*http.Request, error)
NewCreatePublisherGrantRequestWithBody constructs an http.Request for the CreatePublisherGrant method, with any body, and a specified content type
func NewCreateServiceCertificateIssuanceRequest ¶
func NewCreateServiceCertificateIssuanceRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, params *CreateServiceCertificateIssuanceParams, body CreateServiceCertificateIssuanceJSONRequestBody) (*http.Request, error)
NewCreateServiceCertificateIssuanceRequest calls the generic CreateServiceCertificateIssuance builder with application/json body
func NewCreateServiceCertificateIssuanceRequestWithBody ¶
func NewCreateServiceCertificateIssuanceRequestWithBody(server string, serviceId ServiceID, serviceRunId ServiceRunID, params *CreateServiceCertificateIssuanceParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateServiceCertificateIssuanceRequestWithBody constructs an http.Request for the CreateServiceCertificateIssuance method, with any body, and a specified content type
func NewCreateServiceGrantRequest ¶
func NewCreateServiceGrantRequest(server string, serviceId ServiceID, params *CreateServiceGrantParams, body CreateServiceGrantJSONRequestBody) (*http.Request, error)
NewCreateServiceGrantRequest calls the generic CreateServiceGrant builder with application/json body
func NewCreateServiceGrantRequestWithBody ¶
func NewCreateServiceGrantRequestWithBody(server string, serviceId ServiceID, params *CreateServiceGrantParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateServiceGrantRequestWithBody constructs an http.Request for the CreateServiceGrant method, with any body, and a specified content type
func NewCreateServiceHTTPGrantRequest ¶
func NewCreateServiceHTTPGrantRequest(server string, serviceId ServiceID, body CreateServiceHTTPGrantJSONRequestBody) (*http.Request, error)
NewCreateServiceHTTPGrantRequest calls the generic CreateServiceHTTPGrant builder with application/json body
func NewCreateServiceHTTPGrantRequestWithBody ¶
func NewCreateServiceHTTPGrantRequestWithBody(server string, serviceId ServiceID, contentType string, body io.Reader) (*http.Request, error)
NewCreateServiceHTTPGrantRequestWithBody constructs an http.Request for the CreateServiceHTTPGrant method, with any body, and a specified content type
func NewCreateServiceRequest ¶
func NewCreateServiceRequest(server string, params *CreateServiceParams, body CreateServiceJSONRequestBody) (*http.Request, error)
NewCreateServiceRequest calls the generic CreateService builder with application/json body
func NewCreateServiceRequestWithBody ¶
func NewCreateServiceRequestWithBody(server string, params *CreateServiceParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateServiceRequestWithBody constructs an http.Request for the CreateService method, with any body, and a specified content type
func NewCreateServiceRunPreviewRequest ¶
func NewCreateServiceRunPreviewRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, body CreateServiceRunPreviewJSONRequestBody) (*http.Request, error)
NewCreateServiceRunPreviewRequest calls the generic CreateServiceRunPreview builder with application/json body
func NewCreateServiceRunPreviewRequestWithBody ¶
func NewCreateServiceRunPreviewRequestWithBody(server string, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader) (*http.Request, error)
NewCreateServiceRunPreviewRequestWithBody constructs an http.Request for the CreateServiceRunPreview method, with any body, and a specified content type
func NewCreateServiceShareRequest ¶
func NewCreateServiceShareRequest(server string, params *CreateServiceShareParams, body CreateServiceShareJSONRequestBody) (*http.Request, error)
NewCreateServiceShareRequest calls the generic CreateServiceShare builder with application/json body
func NewCreateServiceShareRequestWithBody ¶
func NewCreateServiceShareRequestWithBody(server string, params *CreateServiceShareParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateServiceShareRequestWithBody constructs an http.Request for the CreateServiceShare method, with any body, and a specified content type
func NewCreateShareRequest ¶
func NewCreateShareRequest(server string, previewId PreviewID, params *CreateShareParams, body CreateShareJSONRequestBody) (*http.Request, error)
NewCreateShareRequest calls the generic CreateShare builder with application/json body
func NewCreateShareRequestWithBody ¶
func NewCreateShareRequestWithBody(server string, previewId PreviewID, params *CreateShareParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateShareRequestWithBody constructs an http.Request for the CreateShare method, with any body, and a specified content type
func NewDeleteDeploymentRequest ¶
func NewDeleteDeploymentRequest(server string, projectKey string, deployment string, params *DeleteDeploymentParams) (*http.Request, error)
NewDeleteDeploymentRequest constructs an http.Request for the DeleteDeployment method
func NewDeletePublisherServiceRequest ¶
NewDeletePublisherServiceRequest constructs an http.Request for the DeletePublisherService method
func NewDeleteServiceRequest ¶
func NewDeleteServiceRequest(server string, serviceId ServiceID, params *DeleteServiceParams) (*http.Request, error)
NewDeleteServiceRequest constructs an http.Request for the DeleteService method
func NewDeliverConnectorPeerPairRequest ¶
func NewDeliverConnectorPeerPairRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, pairId string, body DeliverConnectorPeerPairJSONRequestBody) (*http.Request, error)
NewDeliverConnectorPeerPairRequest calls the generic DeliverConnectorPeerPair builder with application/json body
func NewDeliverConnectorPeerPairRequestWithBody ¶
func NewDeliverConnectorPeerPairRequestWithBody(server string, serviceId ServiceID, serviceRunId ServiceRunID, pairId string, contentType string, body io.Reader) (*http.Request, error)
NewDeliverConnectorPeerPairRequestWithBody constructs an http.Request for the DeliverConnectorPeerPair method, with any body, and a specified content type
func NewDrainAdminRelayRequest ¶
func NewDrainAdminRelayRequest(server string, relayId RelayID, body DrainAdminRelayJSONRequestBody) (*http.Request, error)
NewDrainAdminRelayRequest calls the generic DrainAdminRelay builder with application/json body
func NewDrainAdminRelayRequestWithBody ¶
func NewDrainAdminRelayRequestWithBody(server string, relayId RelayID, contentType string, body io.Reader) (*http.Request, error)
NewDrainAdminRelayRequestWithBody constructs an http.Request for the DrainAdminRelay method, with any body, and a specified content type
func NewEnrollGuestPublisherRequest ¶
func NewEnrollGuestPublisherRequest(server string, body EnrollGuestPublisherJSONRequestBody) (*http.Request, error)
NewEnrollGuestPublisherRequest calls the generic EnrollGuestPublisher builder with application/json body
func NewEnrollGuestPublisherRequestWithBody ¶
func NewEnrollGuestPublisherRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewEnrollGuestPublisherRequestWithBody constructs an http.Request for the EnrollGuestPublisher method, with any body, and a specified content type
func NewEnrollVisitorDeviceRequest ¶
func NewEnrollVisitorDeviceRequest(server string, body EnrollVisitorDeviceJSONRequestBody) (*http.Request, error)
NewEnrollVisitorDeviceRequest calls the generic EnrollVisitorDevice builder with application/json body
func NewEnrollVisitorDeviceRequestWithBody ¶
func NewEnrollVisitorDeviceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewEnrollVisitorDeviceRequestWithBody constructs an http.Request for the EnrollVisitorDevice method, with any body, and a specified content type
func NewGetAdminServerStatusRequest ¶
NewGetAdminServerStatusRequest constructs an http.Request for the GetAdminServerStatus method
func NewGetClientIPRequest ¶
NewGetClientIPRequest constructs an http.Request for the GetClientIP method
func NewGetControlDiscoveryRequest ¶
NewGetControlDiscoveryRequest constructs an http.Request for the GetControlDiscovery method
func NewGetDeploymentPublicationRequest ¶
func NewGetDeploymentPublicationRequest(server string, projectKey string, deployment string, service string, params *GetDeploymentPublicationParams) (*http.Request, error)
NewGetDeploymentPublicationRequest constructs an http.Request for the GetDeploymentPublication method
func NewGetDeploymentPublisherAssignmentsRequest ¶
func NewGetDeploymentPublisherAssignmentsRequest(server string, params *GetDeploymentPublisherAssignmentsParams) (*http.Request, error)
NewGetDeploymentPublisherAssignmentsRequest constructs an http.Request for the GetDeploymentPublisherAssignments method
func NewGetDeploymentPublisherRequest ¶
func NewGetDeploymentPublisherRequest(server string, projectKey string, deployment string, publisher string, params *GetDeploymentPublisherParams) (*http.Request, error)
NewGetDeploymentPublisherRequest constructs an http.Request for the GetDeploymentPublisher method
func NewGetDeploymentRequest ¶
func NewGetDeploymentRequest(server string, projectKey string, deployment string, params *GetDeploymentParams) (*http.Request, error)
NewGetDeploymentRequest constructs an http.Request for the GetDeployment method
func NewGetHealthRequest ¶
NewGetHealthRequest constructs an http.Request for the GetHealth method
func NewGetLocalProjectServiceRequest ¶
func NewGetLocalProjectServiceRequest(server string, projectKey string, service string, params *GetLocalProjectServiceParams) (*http.Request, error)
NewGetLocalProjectServiceRequest constructs an http.Request for the GetLocalProjectService method
func NewGetPreviewRequest ¶
NewGetPreviewRequest constructs an http.Request for the GetPreview method
func NewGetProjectConfigurationRequest ¶
func NewGetProjectConfigurationRequest(server string, projectKey string, params *GetProjectConfigurationParams) (*http.Request, error)
NewGetProjectConfigurationRequest constructs an http.Request for the GetProjectConfiguration method
func NewGetProjectPublicMetadataRequest ¶
func NewGetProjectPublicMetadataRequest(server string, projectKey string, params *GetProjectPublicMetadataParams) (*http.Request, error)
NewGetProjectPublicMetadataRequest constructs an http.Request for the GetProjectPublicMetadata method
func NewGetProjectServiceRequest ¶
func NewGetProjectServiceRequest(server string, projectKey string, service ServiceName, params *GetProjectServiceParams) (*http.Request, error)
NewGetProjectServiceRequest constructs an http.Request for the GetProjectService method
func NewGetProjectStatusRequest ¶
func NewGetProjectStatusRequest(server string, projectKey string, params *GetProjectStatusParams) (*http.Request, error)
NewGetProjectStatusRequest constructs an http.Request for the GetProjectStatus method
func NewGetPublisherServiceRequest ¶
NewGetPublisherServiceRequest constructs an http.Request for the GetPublisherService method
func NewGetReadinessRequest ¶
NewGetReadinessRequest constructs an http.Request for the GetReadiness method
func NewGetServiceByHostnameRequest ¶
func NewGetServiceByHostnameRequest(server string, hostname string, params *GetServiceByHostnameParams) (*http.Request, error)
NewGetServiceByHostnameRequest constructs an http.Request for the GetServiceByHostname method
func NewGetServiceCertificateIssuanceRequest ¶
func NewGetServiceCertificateIssuanceRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, issuanceId IssuanceID) (*http.Request, error)
NewGetServiceCertificateIssuanceRequest constructs an http.Request for the GetServiceCertificateIssuance method
func NewGetServiceConfigurationRequest ¶
NewGetServiceConfigurationRequest constructs an http.Request for the GetServiceConfiguration method
func NewGetServiceRequest ¶
NewGetServiceRequest constructs an http.Request for the GetService method
func NewGetShareRequest ¶
NewGetShareRequest constructs an http.Request for the GetShare method
func NewGetWebhookProviderSourceRequest ¶
func NewGetWebhookProviderSourceRequest(server string, provider WebhookProvider) (*http.Request, error)
NewGetWebhookProviderSourceRequest constructs an http.Request for the GetWebhookProviderSource method
func NewInspectPublisherRuntimeRequest ¶
func NewInspectPublisherRuntimeRequest(server string, publisherIdentityId PublisherIdentityID, body InspectPublisherRuntimeJSONRequestBody) (*http.Request, error)
NewInspectPublisherRuntimeRequest calls the generic InspectPublisherRuntime builder with application/json body
func NewInspectPublisherRuntimeRequestWithBody ¶
func NewInspectPublisherRuntimeRequestWithBody(server string, publisherIdentityId PublisherIdentityID, contentType string, body io.Reader) (*http.Request, error)
NewInspectPublisherRuntimeRequestWithBody constructs an http.Request for the InspectPublisherRuntime method, with any body, and a specified content type
func NewInviteServiceVisitorRequest ¶
func NewInviteServiceVisitorRequest(server string, serviceId ServiceID, params *InviteServiceVisitorParams, body InviteServiceVisitorJSONRequestBody) (*http.Request, error)
NewInviteServiceVisitorRequest calls the generic InviteServiceVisitor builder with application/json body
func NewInviteServiceVisitorRequestWithBody ¶
func NewInviteServiceVisitorRequestWithBody(server string, serviceId ServiceID, params *InviteServiceVisitorParams, contentType string, body io.Reader) (*http.Request, error)
NewInviteServiceVisitorRequestWithBody constructs an http.Request for the InviteServiceVisitor method, with any body, and a specified content type
func NewIssueServiceClientCertificateRequest ¶
func NewIssueServiceClientCertificateRequest(server string, serviceId ServiceID, body IssueServiceClientCertificateJSONRequestBody) (*http.Request, error)
NewIssueServiceClientCertificateRequest calls the generic IssueServiceClientCertificate builder with application/json body
func NewIssueServiceClientCertificateRequestWithBody ¶
func NewIssueServiceClientCertificateRequestWithBody(server string, serviceId ServiceID, contentType string, body io.Reader) (*http.Request, error)
NewIssueServiceClientCertificateRequestWithBody constructs an http.Request for the IssueServiceClientCertificate method, with any body, and a specified content type
func NewIssueVisitorTokenRequest ¶
func NewIssueVisitorTokenRequest(server string, body IssueVisitorTokenJSONRequestBody) (*http.Request, error)
NewIssueVisitorTokenRequest calls the generic IssueVisitorToken builder with application/json body
func NewIssueVisitorTokenRequestWithBody ¶
func NewIssueVisitorTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewIssueVisitorTokenRequestWithBody constructs an http.Request for the IssueVisitorToken method, with any body, and a specified content type
func NewIssueWorkloadServiceClientCertificateRequest ¶
func NewIssueWorkloadServiceClientCertificateRequest(server string, serviceId string, body IssueWorkloadServiceClientCertificateJSONRequestBody) (*http.Request, error)
NewIssueWorkloadServiceClientCertificateRequest calls the generic IssueWorkloadServiceClientCertificate builder with application/json body
func NewIssueWorkloadServiceClientCertificateRequestWithBody ¶
func NewIssueWorkloadServiceClientCertificateRequestWithBody(server string, serviceId string, contentType string, body io.Reader) (*http.Request, error)
NewIssueWorkloadServiceClientCertificateRequestWithBody constructs an http.Request for the IssueWorkloadServiceClientCertificate method, with any body, and a specified content type
func NewListAdminRelaysRequest ¶
func NewListAdminRelaysRequest(server string, params *ListAdminRelaysParams) (*http.Request, error)
NewListAdminRelaysRequest constructs an http.Request for the ListAdminRelays method
func NewListAvailableServicesRequest ¶
func NewListAvailableServicesRequest(server string, params *ListAvailableServicesParams) (*http.Request, error)
NewListAvailableServicesRequest constructs an http.Request for the ListAvailableServices method
func NewListConnectorPeerPairsRequest ¶
func NewListConnectorPeerPairsRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, params *ListConnectorPeerPairsParams) (*http.Request, error)
NewListConnectorPeerPairsRequest constructs an http.Request for the ListConnectorPeerPairs method
func NewListDeploymentPublishersRequest ¶
func NewListDeploymentPublishersRequest(server string, projectKey string, deployment string, params *ListDeploymentPublishersParams) (*http.Request, error)
NewListDeploymentPublishersRequest constructs an http.Request for the ListDeploymentPublishers method
func NewListDeploymentsRequest ¶
func NewListDeploymentsRequest(server string, projectKey string, params *ListDeploymentsParams) (*http.Request, error)
NewListDeploymentsRequest constructs an http.Request for the ListDeployments method
func NewListMaintenanceControlsRequest ¶
NewListMaintenanceControlsRequest constructs an http.Request for the ListMaintenanceControls method
func NewListPreviewsRequest ¶
func NewListPreviewsRequest(server string, params *ListPreviewsParams) (*http.Request, error)
NewListPreviewsRequest constructs an http.Request for the ListPreviews method
func NewListProjectsRequest ¶
func NewListProjectsRequest(server string, params *ListProjectsParams) (*http.Request, error)
NewListProjectsRequest constructs an http.Request for the ListProjects method
func NewListPublisherIdentitiesRequest ¶
func NewListPublisherIdentitiesRequest(server string, params *ListPublisherIdentitiesParams) (*http.Request, error)
NewListPublisherIdentitiesRequest constructs an http.Request for the ListPublisherIdentities method
func NewListServiceAuditRequest ¶
func NewListServiceAuditRequest(server string, teamId string, params *ListServiceAuditParams) (*http.Request, error)
NewListServiceAuditRequest constructs an http.Request for the ListServiceAudit method
func NewListServiceGrantsRequest ¶
func NewListServiceGrantsRequest(server string, serviceId ServiceID, params *ListServiceGrantsParams) (*http.Request, error)
NewListServiceGrantsRequest constructs an http.Request for the ListServiceGrants method
func NewListServiceHTTPGrantsRequest ¶
NewListServiceHTTPGrantsRequest constructs an http.Request for the ListServiceHTTPGrants method
func NewListServiceInvitationsRequest ¶
func NewListServiceInvitationsRequest(server string, serviceId ServiceID, params *ListServiceInvitationsParams) (*http.Request, error)
NewListServiceInvitationsRequest constructs an http.Request for the ListServiceInvitations method
func NewListServicesRequest ¶
func NewListServicesRequest(server string, params *ListServicesParams) (*http.Request, error)
NewListServicesRequest constructs an http.Request for the ListServices method
func NewListSharesRequest ¶
func NewListSharesRequest(server string, previewId PreviewID, params *ListSharesParams) (*http.Request, error)
NewListSharesRequest constructs an http.Request for the ListShares method
func NewListTeamSharesRequest ¶
func NewListTeamSharesRequest(server string, params *ListTeamSharesParams) (*http.Request, error)
NewListTeamSharesRequest constructs an http.Request for the ListTeamShares method
func NewListWorkloadServicesRequest ¶
NewListWorkloadServicesRequest constructs an http.Request for the ListWorkloadServices method
func NewMarkServiceCertificateInstalledRequest ¶
func NewMarkServiceCertificateInstalledRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, body MarkServiceCertificateInstalledJSONRequestBody) (*http.Request, error)
NewMarkServiceCertificateInstalledRequest calls the generic MarkServiceCertificateInstalled builder with application/json body
func NewMarkServiceCertificateInstalledRequestWithBody ¶
func NewMarkServiceCertificateInstalledRequestWithBody(server string, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader) (*http.Request, error)
NewMarkServiceCertificateInstalledRequestWithBody constructs an http.Request for the MarkServiceCertificateInstalled method, with any body, and a specified content type
func NewMarkSuppliedServiceCertificateInstalledRequest ¶
func NewMarkSuppliedServiceCertificateInstalledRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, body MarkSuppliedServiceCertificateInstalledJSONRequestBody) (*http.Request, error)
NewMarkSuppliedServiceCertificateInstalledRequest calls the generic MarkSuppliedServiceCertificateInstalled builder with application/json body
func NewMarkSuppliedServiceCertificateInstalledRequestWithBody ¶
func NewMarkSuppliedServiceCertificateInstalledRequestWithBody(server string, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader) (*http.Request, error)
NewMarkSuppliedServiceCertificateInstalledRequestWithBody constructs an http.Request for the MarkSuppliedServiceCertificateInstalled method, with any body, and a specified content type
func NewPrepareConnectorPeerPairRequest ¶
func NewPrepareConnectorPeerPairRequest(server string, serviceId ServiceID, body PrepareConnectorPeerPairJSONRequestBody) (*http.Request, error)
NewPrepareConnectorPeerPairRequest calls the generic PrepareConnectorPeerPair builder with application/json body
func NewPrepareConnectorPeerPairRequestWithBody ¶
func NewPrepareConnectorPeerPairRequestWithBody(server string, serviceId ServiceID, contentType string, body io.Reader) (*http.Request, error)
NewPrepareConnectorPeerPairRequestWithBody constructs an http.Request for the PrepareConnectorPeerPair method, with any body, and a specified content type
func NewPrepareServiceRunRequest ¶
func NewPrepareServiceRunRequest(server string, serviceId ServiceID, params *PrepareServiceRunParams, body PrepareServiceRunJSONRequestBody) (*http.Request, error)
NewPrepareServiceRunRequest calls the generic PrepareServiceRun builder with application/json body
func NewPrepareServiceRunRequestWithBody ¶
func NewPrepareServiceRunRequestWithBody(server string, serviceId ServiceID, params *PrepareServiceRunParams, contentType string, body io.Reader) (*http.Request, error)
NewPrepareServiceRunRequestWithBody constructs an http.Request for the PrepareServiceRun method, with any body, and a specified content type
func NewReadPublisherVisitorPolicyRequest ¶
func NewReadPublisherVisitorPolicyRequest(server string, body ReadPublisherVisitorPolicyJSONRequestBody) (*http.Request, error)
NewReadPublisherVisitorPolicyRequest calls the generic ReadPublisherVisitorPolicy builder with application/json body
func NewReadPublisherVisitorPolicyRequestWithBody ¶
func NewReadPublisherVisitorPolicyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewReadPublisherVisitorPolicyRequestWithBody constructs an http.Request for the ReadPublisherVisitorPolicy method, with any body, and a specified content type
func NewRealizeLocalProjectServiceRequest ¶
func NewRealizeLocalProjectServiceRequest(server string, projectKey string, service string, body RealizeLocalProjectServiceJSONRequestBody) (*http.Request, error)
NewRealizeLocalProjectServiceRequest calls the generic RealizeLocalProjectService builder with application/json body
func NewRealizeLocalProjectServiceRequestWithBody ¶
func NewRealizeLocalProjectServiceRequestWithBody(server string, projectKey string, service string, contentType string, body io.Reader) (*http.Request, error)
NewRealizeLocalProjectServiceRequestWithBody constructs an http.Request for the RealizeLocalProjectService method, with any body, and a specified content type
func NewRebindConnectorPeerPairRequest ¶
func NewRebindConnectorPeerPairRequest(server string, serviceId ServiceID, pairId string, body RebindConnectorPeerPairJSONRequestBody) (*http.Request, error)
NewRebindConnectorPeerPairRequest calls the generic RebindConnectorPeerPair builder with application/json body
func NewRebindConnectorPeerPairRequestWithBody ¶
func NewRebindConnectorPeerPairRequestWithBody(server string, serviceId ServiceID, pairId string, contentType string, body io.Reader) (*http.Request, error)
NewRebindConnectorPeerPairRequestWithBody constructs an http.Request for the RebindConnectorPeerPair method, with any body, and a specified content type
func NewRedeemDeploymentPublisherEnrollmentRequest ¶
func NewRedeemDeploymentPublisherEnrollmentRequest(server string, body RedeemDeploymentPublisherEnrollmentJSONRequestBody) (*http.Request, error)
NewRedeemDeploymentPublisherEnrollmentRequest calls the generic RedeemDeploymentPublisherEnrollment builder with application/json body
func NewRedeemDeploymentPublisherEnrollmentRequestWithBody ¶
func NewRedeemDeploymentPublisherEnrollmentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewRedeemDeploymentPublisherEnrollmentRequestWithBody constructs an http.Request for the RedeemDeploymentPublisherEnrollment method, with any body, and a specified content type
func NewRedeemServiceBrowserHandoffRequest ¶
func NewRedeemServiceBrowserHandoffRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, body RedeemServiceBrowserHandoffJSONRequestBody) (*http.Request, error)
NewRedeemServiceBrowserHandoffRequest calls the generic RedeemServiceBrowserHandoff builder with application/json body
func NewRedeemServiceBrowserHandoffRequestWithBody ¶
func NewRedeemServiceBrowserHandoffRequestWithBody(server string, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader) (*http.Request, error)
NewRedeemServiceBrowserHandoffRequestWithBody constructs an http.Request for the RedeemServiceBrowserHandoff method, with any body, and a specified content type
func NewRedeemServiceShareRequest ¶
func NewRedeemServiceShareRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, body RedeemServiceShareJSONRequestBody) (*http.Request, error)
NewRedeemServiceShareRequest calls the generic RedeemServiceShare builder with application/json body
func NewRedeemServiceShareRequestWithBody ¶
func NewRedeemServiceShareRequestWithBody(server string, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader) (*http.Request, error)
NewRedeemServiceShareRequestWithBody constructs an http.Request for the RedeemServiceShare method, with any body, and a specified content type
func NewRegisterDeploymentCredentialRequest ¶
func NewRegisterDeploymentCredentialRequest(server string, projectKey string, params *RegisterDeploymentCredentialParams, body RegisterDeploymentCredentialJSONRequestBody) (*http.Request, error)
NewRegisterDeploymentCredentialRequest calls the generic RegisterDeploymentCredential builder with application/json body
func NewRegisterDeploymentCredentialRequestWithBody ¶
func NewRegisterDeploymentCredentialRequestWithBody(server string, projectKey string, params *RegisterDeploymentCredentialParams, contentType string, body io.Reader) (*http.Request, error)
NewRegisterDeploymentCredentialRequestWithBody constructs an http.Request for the RegisterDeploymentCredential method, with any body, and a specified content type
func NewReleaseServiceEndpointRequest ¶
func NewReleaseServiceEndpointRequest(server string, serviceId ServiceID, body ReleaseServiceEndpointJSONRequestBody) (*http.Request, error)
NewReleaseServiceEndpointRequest calls the generic ReleaseServiceEndpoint builder with application/json body
func NewReleaseServiceEndpointRequestWithBody ¶
func NewReleaseServiceEndpointRequestWithBody(server string, serviceId ServiceID, contentType string, body io.Reader) (*http.Request, error)
NewReleaseServiceEndpointRequestWithBody constructs an http.Request for the ReleaseServiceEndpoint method, with any body, and a specified content type
func NewRenameDeploymentNamespaceRequest ¶
func NewRenameDeploymentNamespaceRequest(server string, projectKey string, deployment string, body RenameDeploymentNamespaceJSONRequestBody) (*http.Request, error)
NewRenameDeploymentNamespaceRequest calls the generic RenameDeploymentNamespace builder with application/json body
func NewRenameDeploymentNamespaceRequestWithBody ¶
func NewRenameDeploymentNamespaceRequestWithBody(server string, projectKey string, deployment string, contentType string, body io.Reader) (*http.Request, error)
NewRenameDeploymentNamespaceRequestWithBody constructs an http.Request for the RenameDeploymentNamespace method, with any body, and a specified content type
func NewRenameDeploymentRequest ¶
func NewRenameDeploymentRequest(server string, projectKey string, deployment string, body RenameDeploymentJSONRequestBody) (*http.Request, error)
NewRenameDeploymentRequest calls the generic RenameDeployment builder with application/json body
func NewRenameDeploymentRequestWithBody ¶
func NewRenameDeploymentRequestWithBody(server string, projectKey string, deployment string, contentType string, body io.Reader) (*http.Request, error)
NewRenameDeploymentRequestWithBody constructs an http.Request for the RenameDeployment method, with any body, and a specified content type
func NewRenewConnectorPeerPairRequest ¶
func NewRenewConnectorPeerPairRequest(server string, serviceId ServiceID, pairId string, body RenewConnectorPeerPairJSONRequestBody) (*http.Request, error)
NewRenewConnectorPeerPairRequest calls the generic RenewConnectorPeerPair builder with application/json body
func NewRenewConnectorPeerPairRequestWithBody ¶
func NewRenewConnectorPeerPairRequestWithBody(server string, serviceId ServiceID, pairId string, contentType string, body io.Reader) (*http.Request, error)
NewRenewConnectorPeerPairRequestWithBody constructs an http.Request for the RenewConnectorPeerPair method, with any body, and a specified content type
func NewRenewPublisherRuntimeRequest ¶
func NewRenewPublisherRuntimeRequest(server string, publisherIdentityId PublisherIdentityID, body RenewPublisherRuntimeJSONRequestBody) (*http.Request, error)
NewRenewPublisherRuntimeRequest calls the generic RenewPublisherRuntime builder with application/json body
func NewRenewPublisherRuntimeRequestWithBody ¶
func NewRenewPublisherRuntimeRequestWithBody(server string, publisherIdentityId PublisherIdentityID, contentType string, body io.Reader) (*http.Request, error)
NewRenewPublisherRuntimeRequestWithBody constructs an http.Request for the RenewPublisherRuntime method, with any body, and a specified content type
func NewRenewServiceRunRequest ¶
func NewRenewServiceRunRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, body RenewServiceRunJSONRequestBody) (*http.Request, error)
NewRenewServiceRunRequest calls the generic RenewServiceRun builder with application/json body
func NewRenewServiceRunRequestWithBody ¶
func NewRenewServiceRunRequestWithBody(server string, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader) (*http.Request, error)
NewRenewServiceRunRequestWithBody constructs an http.Request for the RenewServiceRun method, with any body, and a specified content type
func NewReportServiceRunObservationsRequest ¶
func NewReportServiceRunObservationsRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, body ReportServiceRunObservationsJSONRequestBody) (*http.Request, error)
NewReportServiceRunObservationsRequest calls the generic ReportServiceRunObservations builder with application/json body
func NewReportServiceRunObservationsRequestWithBody ¶
func NewReportServiceRunObservationsRequestWithBody(server string, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader) (*http.Request, error)
NewReportServiceRunObservationsRequestWithBody constructs an http.Request for the ReportServiceRunObservations method, with any body, and a specified content type
func NewResolveProjectSourceRequest ¶
func NewResolveProjectSourceRequest(server string, body ResolveProjectSourceJSONRequestBody) (*http.Request, error)
NewResolveProjectSourceRequest calls the generic ResolveProjectSource builder with application/json body
func NewResolveProjectSourceRequestWithBody ¶
func NewResolveProjectSourceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewResolveProjectSourceRequestWithBody constructs an http.Request for the ResolveProjectSource method, with any body, and a specified content type
func NewRetireConnectorPeerPairRequest ¶
func NewRetireConnectorPeerPairRequest(server string, serviceId ServiceID, pairId string, body RetireConnectorPeerPairJSONRequestBody) (*http.Request, error)
NewRetireConnectorPeerPairRequest calls the generic RetireConnectorPeerPair builder with application/json body
func NewRetireConnectorPeerPairRequestWithBody ¶
func NewRetireConnectorPeerPairRequestWithBody(server string, serviceId ServiceID, pairId string, contentType string, body io.Reader) (*http.Request, error)
NewRetireConnectorPeerPairRequestWithBody constructs an http.Request for the RetireConnectorPeerPair method, with any body, and a specified content type
func NewRetireProjectRequest ¶
func NewRetireProjectRequest(server string, projectKey string, body RetireProjectJSONRequestBody) (*http.Request, error)
NewRetireProjectRequest calls the generic RetireProject builder with application/json body
func NewRetireProjectRequestWithBody ¶
func NewRetireProjectRequestWithBody(server string, projectKey string, contentType string, body io.Reader) (*http.Request, error)
NewRetireProjectRequestWithBody constructs an http.Request for the RetireProject method, with any body, and a specified content type
func NewRevokeDeploymentPublisherRequest ¶
func NewRevokeDeploymentPublisherRequest(server string, projectKey string, deployment string, publisher string, params *RevokeDeploymentPublisherParams) (*http.Request, error)
NewRevokeDeploymentPublisherRequest constructs an http.Request for the RevokeDeploymentPublisher method
func NewRevokePublisherGrantRequest ¶
func NewRevokePublisherGrantRequest(server string, publisherIdentityId PublisherIdentityID, grantId ResourceID, params *RevokePublisherGrantParams) (*http.Request, error)
NewRevokePublisherGrantRequest constructs an http.Request for the RevokePublisherGrant method
func NewRevokePublisherIdentityRequest ¶
func NewRevokePublisherIdentityRequest(server string, publisherIdentityId PublisherIdentityID, params *RevokePublisherIdentityParams) (*http.Request, error)
NewRevokePublisherIdentityRequest constructs an http.Request for the RevokePublisherIdentity method
func NewRevokeServiceBrowserSessionRequest ¶
func NewRevokeServiceBrowserSessionRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, body RevokeServiceBrowserSessionJSONRequestBody) (*http.Request, error)
NewRevokeServiceBrowserSessionRequest calls the generic RevokeServiceBrowserSession builder with application/json body
func NewRevokeServiceBrowserSessionRequestWithBody ¶
func NewRevokeServiceBrowserSessionRequestWithBody(server string, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader) (*http.Request, error)
NewRevokeServiceBrowserSessionRequestWithBody constructs an http.Request for the RevokeServiceBrowserSession method, with any body, and a specified content type
func NewRevokeServiceGrantRequest ¶
func NewRevokeServiceGrantRequest(server string, serviceId ServiceID, grantId ServiceGrantID) (*http.Request, error)
NewRevokeServiceGrantRequest constructs an http.Request for the RevokeServiceGrant method
func NewRevokeServiceHTTPGrantRequest ¶
func NewRevokeServiceHTTPGrantRequest(server string, serviceId ServiceID, grantId string) (*http.Request, error)
NewRevokeServiceHTTPGrantRequest constructs an http.Request for the RevokeServiceHTTPGrant method
func NewRevokeServiceInvitationRequest ¶
func NewRevokeServiceInvitationRequest(server string, serviceId ServiceID, invitationId ServiceInvitationID) (*http.Request, error)
NewRevokeServiceInvitationRequest constructs an http.Request for the RevokeServiceInvitation method
func NewRevokeShareRequest ¶
NewRevokeShareRequest constructs an http.Request for the RevokeShare method
func NewRevokeVisitorDeviceRequest ¶
NewRevokeVisitorDeviceRequest constructs an http.Request for the RevokeVisitorDevice method
func NewSelectDeploymentServiceRunRequest ¶
func NewSelectDeploymentServiceRunRequest(server string, projectKey string, deployment string, service string, params *SelectDeploymentServiceRunParams, body SelectDeploymentServiceRunJSONRequestBody) (*http.Request, error)
NewSelectDeploymentServiceRunRequest calls the generic SelectDeploymentServiceRun builder with application/json body
func NewSelectDeploymentServiceRunRequestWithBody ¶
func NewSelectDeploymentServiceRunRequestWithBody(server string, projectKey string, deployment string, service string, params *SelectDeploymentServiceRunParams, contentType string, body io.Reader) (*http.Request, error)
NewSelectDeploymentServiceRunRequestWithBody constructs an http.Request for the SelectDeploymentServiceRun method, with any body, and a specified content type
func NewSelectServiceRunRequest ¶
func NewSelectServiceRunRequest(server string, serviceId ServiceID, body SelectServiceRunJSONRequestBody) (*http.Request, error)
NewSelectServiceRunRequest calls the generic SelectServiceRun builder with application/json body
func NewSelectServiceRunRequestWithBody ¶
func NewSelectServiceRunRequestWithBody(server string, serviceId ServiceID, contentType string, body io.Reader) (*http.Request, error)
NewSelectServiceRunRequestWithBody constructs an http.Request for the SelectServiceRun method, with any body, and a specified content type
func NewSelectWorkloadServiceRunRequest ¶
NewSelectWorkloadServiceRunRequest constructs an http.Request for the SelectWorkloadServiceRun method
func NewSetMaintenanceControlRequest ¶
func NewSetMaintenanceControlRequest(server string, controlName MaintenanceControlName, body SetMaintenanceControlJSONRequestBody) (*http.Request, error)
NewSetMaintenanceControlRequest calls the generic SetMaintenanceControl builder with application/json body
func NewSetMaintenanceControlRequestWithBody ¶
func NewSetMaintenanceControlRequestWithBody(server string, controlName MaintenanceControlName, contentType string, body io.Reader) (*http.Request, error)
NewSetMaintenanceControlRequestWithBody constructs an http.Request for the SetMaintenanceControl method, with any body, and a specified content type
func NewSetPreviewTeamAccessRequest ¶
func NewSetPreviewTeamAccessRequest(server string, previewId PreviewID, body SetPreviewTeamAccessJSONRequestBody) (*http.Request, error)
NewSetPreviewTeamAccessRequest calls the generic SetPreviewTeamAccess builder with application/json body
func NewSetPreviewTeamAccessRequestWithBody ¶
func NewSetPreviewTeamAccessRequestWithBody(server string, previewId PreviewID, contentType string, body io.Reader) (*http.Request, error)
NewSetPreviewTeamAccessRequestWithBody constructs an http.Request for the SetPreviewTeamAccess method, with any body, and a specified content type
func NewSetServiceEnabledRequest ¶
func NewSetServiceEnabledRequest(server string, serviceId ServiceID, body SetServiceEnabledJSONRequestBody) (*http.Request, error)
NewSetServiceEnabledRequest calls the generic SetServiceEnabled builder with application/json body
func NewSetServiceEnabledRequestWithBody ¶
func NewSetServiceEnabledRequestWithBody(server string, serviceId ServiceID, contentType string, body io.Reader) (*http.Request, error)
NewSetServiceEnabledRequestWithBody constructs an http.Request for the SetServiceEnabled method, with any body, and a specified content type
func NewStartPublisherRuntimeRequest ¶
func NewStartPublisherRuntimeRequest(server string, publisherIdentityId PublisherIdentityID, body StartPublisherRuntimeJSONRequestBody) (*http.Request, error)
NewStartPublisherRuntimeRequest calls the generic StartPublisherRuntime builder with application/json body
func NewStartPublisherRuntimeRequestWithBody ¶
func NewStartPublisherRuntimeRequestWithBody(server string, publisherIdentityId PublisherIdentityID, contentType string, body io.Reader) (*http.Request, error)
NewStartPublisherRuntimeRequestWithBody constructs an http.Request for the StartPublisherRuntime method, with any body, and a specified content type
func NewStartServiceRunRequest ¶
func NewStartServiceRunRequest(server string, serviceId ServiceID, serviceRunId ServiceRunID, body StartServiceRunJSONRequestBody) (*http.Request, error)
NewStartServiceRunRequest calls the generic StartServiceRun builder with application/json body
func NewStartServiceRunRequestWithBody ¶
func NewStartServiceRunRequestWithBody(server string, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader) (*http.Request, error)
NewStartServiceRunRequestWithBody constructs an http.Request for the StartServiceRun method, with any body, and a specified content type
func NewStopPublisherRuntimeRequest ¶
func NewStopPublisherRuntimeRequest(server string, publisherIdentityId PublisherIdentityID, body StopPublisherRuntimeJSONRequestBody) (*http.Request, error)
NewStopPublisherRuntimeRequest calls the generic StopPublisherRuntime builder with application/json body
func NewStopPublisherRuntimeRequestWithBody ¶
func NewStopPublisherRuntimeRequestWithBody(server string, publisherIdentityId PublisherIdentityID, contentType string, body io.Reader) (*http.Request, error)
NewStopPublisherRuntimeRequestWithBody constructs an http.Request for the StopPublisherRuntime method, with any body, and a specified content type
func NewUpdateDeploymentRequest ¶
func NewUpdateDeploymentRequest(server string, projectKey string, deployment string, params *UpdateDeploymentParams, body UpdateDeploymentJSONRequestBody) (*http.Request, error)
NewUpdateDeploymentRequest calls the generic UpdateDeployment builder with application/json body
func NewUpdateDeploymentRequestWithBody ¶
func NewUpdateDeploymentRequestWithBody(server string, projectKey string, deployment string, params *UpdateDeploymentParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdateDeploymentRequestWithBody constructs an http.Request for the UpdateDeployment method, with any body, and a specified content type
func NewVerifyDeploymentIdentityRequest ¶
func NewVerifyDeploymentIdentityRequest(server string, body VerifyDeploymentIdentityJSONRequestBody) (*http.Request, error)
NewVerifyDeploymentIdentityRequest calls the generic VerifyDeploymentIdentity builder with application/json body
func NewVerifyDeploymentIdentityRequestWithBody ¶
func NewVerifyDeploymentIdentityRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewVerifyDeploymentIdentityRequestWithBody constructs an http.Request for the VerifyDeploymentIdentity method, with any body, and a specified content type
func NewWatchPublisherRunsRequest ¶
func NewWatchPublisherRunsRequest(server string, body WatchPublisherRunsJSONRequestBody) (*http.Request, error)
NewWatchPublisherRunsRequest calls the generic WatchPublisherRuns builder with application/json body
func NewWatchPublisherRunsRequestWithBody ¶
func NewWatchPublisherRunsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewWatchPublisherRunsRequestWithBody constructs an http.Request for the WatchPublisherRuns method, with any body, and a specified content type
func ValidPublisherPolicyBookmark ¶
ValidPublisherPolicyBookmark checks an opaque watch hint. it says nothing about the service's current visitor permissions or deadlines.
Types ¶
type AcceptServiceInvitationJSONRequestBody ¶
type AcceptServiceInvitationJSONRequestBody = ServiceInvitationCredential
AcceptServiceInvitationJSONRequestBody defines body for AcceptServiceInvitation for application/json ContentType.
type AcceptServiceInvitationResponse ¶
type AcceptServiceInvitationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ServiceGrant
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseAcceptServiceInvitationResponse ¶
func ParseAcceptServiceInvitationResponse(rsp *http.Response) (*AcceptServiceInvitationResponse, error)
ParseAcceptServiceInvitationResponse parses an HTTP response from a AcceptServiceInvitationWithResponse call
func (AcceptServiceInvitationResponse) ContentType ¶
func (r AcceptServiceInvitationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AcceptServiceInvitationResponse) GetApplicationproblemJSONDefault ¶
func (r AcceptServiceInvitationResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AcceptServiceInvitationResponse) GetBody ¶
func (r AcceptServiceInvitationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AcceptServiceInvitationResponse) GetJSON200 ¶
func (r AcceptServiceInvitationResponse) GetJSON200() *ServiceGrant
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AcceptServiceInvitationResponse) Status ¶
func (r AcceptServiceInvitationResponse) Status() string
Status returns HTTPResponse.Status
func (AcceptServiceInvitationResponse) StatusCode ¶
func (r AcceptServiceInvitationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AcknowledgeDeploymentPublisherConfigurationJSONRequestBody ¶
type AcknowledgeDeploymentPublisherConfigurationJSONRequestBody = DeploymentPublisherAcknowledgement
AcknowledgeDeploymentPublisherConfigurationJSONRequestBody defines body for AcknowledgeDeploymentPublisherConfiguration for application/json ContentType.
type AcknowledgeDeploymentPublisherConfigurationResponse ¶
type AcknowledgeDeploymentPublisherConfigurationResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseAcknowledgeDeploymentPublisherConfigurationResponse ¶
func ParseAcknowledgeDeploymentPublisherConfigurationResponse(rsp *http.Response) (*AcknowledgeDeploymentPublisherConfigurationResponse, error)
ParseAcknowledgeDeploymentPublisherConfigurationResponse parses an HTTP response from a AcknowledgeDeploymentPublisherConfigurationWithResponse call
func (AcknowledgeDeploymentPublisherConfigurationResponse) ContentType ¶
func (r AcknowledgeDeploymentPublisherConfigurationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AcknowledgeDeploymentPublisherConfigurationResponse) GetApplicationproblemJSONDefault ¶
func (r AcknowledgeDeploymentPublisherConfigurationResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AcknowledgeDeploymentPublisherConfigurationResponse) GetBody ¶
func (r AcknowledgeDeploymentPublisherConfigurationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AcknowledgeDeploymentPublisherConfigurationResponse) Status ¶
func (r AcknowledgeDeploymentPublisherConfigurationResponse) Status() string
Status returns HTTPResponse.Status
func (AcknowledgeDeploymentPublisherConfigurationResponse) StatusCode ¶
func (r AcknowledgeDeploymentPublisherConfigurationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AcquireDeploymentPublisherLeaseJSONRequestBody ¶
type AcquireDeploymentPublisherLeaseJSONRequestBody = DeploymentPublisherLeaseRequest
AcquireDeploymentPublisherLeaseJSONRequestBody defines body for AcquireDeploymentPublisherLease for application/json ContentType.
type AcquireDeploymentPublisherLeaseResponse ¶
type AcquireDeploymentPublisherLeaseResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DeploymentPublisherLease
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseAcquireDeploymentPublisherLeaseResponse ¶
func ParseAcquireDeploymentPublisherLeaseResponse(rsp *http.Response) (*AcquireDeploymentPublisherLeaseResponse, error)
ParseAcquireDeploymentPublisherLeaseResponse parses an HTTP response from a AcquireDeploymentPublisherLeaseWithResponse call
func (AcquireDeploymentPublisherLeaseResponse) ContentType ¶
func (r AcquireDeploymentPublisherLeaseResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AcquireDeploymentPublisherLeaseResponse) GetApplicationproblemJSONDefault ¶
func (r AcquireDeploymentPublisherLeaseResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AcquireDeploymentPublisherLeaseResponse) GetBody ¶
func (r AcquireDeploymentPublisherLeaseResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AcquireDeploymentPublisherLeaseResponse) GetJSON200 ¶
func (r AcquireDeploymentPublisherLeaseResponse) GetJSON200() *DeploymentPublisherLease
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AcquireDeploymentPublisherLeaseResponse) Status ¶
func (r AcquireDeploymentPublisherLeaseResponse) Status() string
Status returns HTTPResponse.Status
func (AcquireDeploymentPublisherLeaseResponse) StatusCode ¶
func (r AcquireDeploymentPublisherLeaseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddPreviewServiceJSONRequestBody ¶
type AddPreviewServiceJSONRequestBody = AddPreviewServiceRequest
AddPreviewServiceJSONRequestBody defines body for AddPreviewService for application/json ContentType.
type AddPreviewServiceRequest ¶
type AddPreviewServiceRequest struct {
ServiceId ServiceID `json:"service_id"`
}
AddPreviewServiceRequest defines model for AddPreviewServiceRequest.
type AddPreviewServiceResponse ¶
type AddPreviewServiceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Preview
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseAddPreviewServiceResponse ¶
func ParseAddPreviewServiceResponse(rsp *http.Response) (*AddPreviewServiceResponse, error)
ParseAddPreviewServiceResponse parses an HTTP response from a AddPreviewServiceWithResponse call
func (AddPreviewServiceResponse) ContentType ¶
func (r AddPreviewServiceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddPreviewServiceResponse) GetApplicationproblemJSONDefault ¶
func (r AddPreviewServiceResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AddPreviewServiceResponse) GetBody ¶
func (r AddPreviewServiceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AddPreviewServiceResponse) GetJSON200 ¶
func (r AddPreviewServiceResponse) GetJSON200() *Preview
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AddPreviewServiceResponse) Status ¶
func (r AddPreviewServiceResponse) Status() string
Status returns HTTPResponse.Status
func (AddPreviewServiceResponse) StatusCode ¶
func (r AddPreviewServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AdminDrainRelayRequest ¶
type AdminDrainRelayRequest struct {
Deadline time.Time `json:"deadline"`
RelayLeaseRevision int64 `json:"relay_lease_revision,string"`
RelayRunId ResourceID `json:"relay_run_id"`
}
AdminDrainRelayRequest defines model for AdminDrainRelayRequest.
type AdminRelayLease ¶
type AdminRelayLease struct {
ConnectionCapacity int64 `json:"connection_capacity"`
DrainDeadline *time.Time `json:"drain_deadline,omitempty"`
Draining bool `json:"draining"`
InternalRelayAddress string `json:"internal_relay_address"`
LeaseExpiresAt time.Time `json:"lease_expires_at"`
ProtocolVersion int64 `json:"protocol_version"`
// Region Exact catalog provider:region identity, such as aws:us-west-2 or fly:sjc. local makes no geographic claim.
Region string `json:"region"`
RelayAddress string `json:"relay_address"`
RelayId RelayID `json:"relay_id"`
RelayLeaseRevision int64 `json:"relay_lease_revision,string"`
RelayRunId ResourceID `json:"relay_run_id"`
RelayServiceId RelayServiceID `json:"relay_service_id"`
RenewedAt time.Time `json:"renewed_at"`
ReportedConnections int64 `json:"reported_connections"`
ReportedStreams int64 `json:"reported_streams"`
StreamCapacity int64 `json:"stream_capacity"`
TlsServerName CanonicalHostname `json:"tls_server_name"`
}
AdminRelayLease defines model for AdminRelayLease.
type AdminRelayPage ¶
type AdminRelayPage struct {
NextCursor *RelayID `json:"next_cursor,omitempty"`
Relays []AdminRelayLease `json:"relays"`
}
AdminRelayPage defines model for AdminRelayPage.
type AdminServerStatus ¶
type AdminServerStatus struct {
CurrentTime time.Time `json:"current_time"`
// EnabledServices Enabled saved services that are not deleted or expired, including connector-only and guest services.
EnabledServices int `json:"enabled_services"`
IngressLeases int `json:"ingress_leases"`
// ReadyServiceRuns Unclosed healthy ready service runs with current publisher authority, publisher lifetime, and certificate lifetime. This count does not independently probe connected relays.
ReadyServiceRuns int `json:"ready_service_runs"`
RelayLeases int `json:"relay_leases"`
Role AdminServerStatusRole `json:"role"`
StartedAt time.Time `json:"started_at"`
// StartingServiceRuns Unclosed starting service runs with current publisher authority and lifetime. Prepared runs are not included.
StartingServiceRuns int `json:"starting_service_runs"`
// SuspendedServices Suspended saved services that are not deleted or expired.
SuspendedServices int `json:"suspended_services"`
}
AdminServerStatus defines model for AdminServerStatus.
type AdminServerStatusRole ¶
type AdminServerStatusRole string
AdminServerStatusRole defines model for AdminServerStatus.Role.
const ( Control AdminServerStatusRole = "control" Standalone AdminServerStatusRole = "standalone" )
Defines values for AdminServerStatusRole.
func (AdminServerStatusRole) Valid ¶
func (e AdminServerStatusRole) Valid() bool
Valid indicates whether the value is a known member of the AdminServerStatusRole enum.
type AllocateDeploymentPublicationJSONRequestBody ¶
type AllocateDeploymentPublicationJSONRequestBody = AllocateServiceRequest
AllocateDeploymentPublicationJSONRequestBody defines body for AllocateDeploymentPublication for application/json ContentType.
type AllocateDeploymentPublicationParams ¶
type AllocateDeploymentPublicationParams struct {
TeamId TeamIDQuery `form:"team_id" json:"team_id"`
}
AllocateDeploymentPublicationParams defines parameters for AllocateDeploymentPublication.
type AllocateDeploymentPublicationResponse ¶
type AllocateDeploymentPublicationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *Service
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseAllocateDeploymentPublicationResponse ¶
func ParseAllocateDeploymentPublicationResponse(rsp *http.Response) (*AllocateDeploymentPublicationResponse, error)
ParseAllocateDeploymentPublicationResponse parses an HTTP response from a AllocateDeploymentPublicationWithResponse call
func (AllocateDeploymentPublicationResponse) ContentType ¶
func (r AllocateDeploymentPublicationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AllocateDeploymentPublicationResponse) GetApplicationproblemJSONDefault ¶
func (r AllocateDeploymentPublicationResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AllocateDeploymentPublicationResponse) GetBody ¶
func (r AllocateDeploymentPublicationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AllocateDeploymentPublicationResponse) GetJSON201 ¶
func (r AllocateDeploymentPublicationResponse) GetJSON201() *Service
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (AllocateDeploymentPublicationResponse) Status ¶
func (r AllocateDeploymentPublicationResponse) Status() string
Status returns HTTPResponse.Status
func (AllocateDeploymentPublicationResponse) StatusCode ¶
func (r AllocateDeploymentPublicationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AllocateGuestDemoServiceJSONRequestBody ¶
type AllocateGuestDemoServiceJSONRequestBody = AllocateGuestDemoServiceRequest
AllocateGuestDemoServiceJSONRequestBody defines body for AllocateGuestDemoService for application/json ContentType.
type AllocateGuestDemoServiceParams ¶
type AllocateGuestDemoServiceParams struct {
IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}
AllocateGuestDemoServiceParams defines parameters for AllocateGuestDemoService.
type AllocateGuestDemoServiceRequest ¶
type AllocateGuestDemoServiceRequest struct {
RequirePostQuantum *bool `json:"require_post_quantum,omitempty"`
// Target Actual bound HTTP loopback listener origin with an explicit port. No credentials, path other than /, query, fragment, or remote host.
Target string `json:"target"`
}
AllocateGuestDemoServiceRequest Bound listener for the built-in demo. Control supplies the fixed HTTP declaration, visitor policy, assigned hostname, shared ingress 443, and trial-bound expiry. Source is observed by the server, never supplied in this body.
type AllocateGuestDemoServiceResponse ¶
type AllocateGuestDemoServiceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *Service
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseAllocateGuestDemoServiceResponse ¶
func ParseAllocateGuestDemoServiceResponse(rsp *http.Response) (*AllocateGuestDemoServiceResponse, error)
ParseAllocateGuestDemoServiceResponse parses an HTTP response from a AllocateGuestDemoServiceWithResponse call
func (AllocateGuestDemoServiceResponse) ContentType ¶
func (r AllocateGuestDemoServiceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AllocateGuestDemoServiceResponse) GetApplicationproblemJSONDefault ¶
func (r AllocateGuestDemoServiceResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AllocateGuestDemoServiceResponse) GetBody ¶
func (r AllocateGuestDemoServiceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AllocateGuestDemoServiceResponse) GetJSON201 ¶
func (r AllocateGuestDemoServiceResponse) GetJSON201() *Service
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (AllocateGuestDemoServiceResponse) Status ¶
func (r AllocateGuestDemoServiceResponse) Status() string
Status returns HTTPResponse.Status
func (AllocateGuestDemoServiceResponse) StatusCode ¶
func (r AllocateGuestDemoServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AllocatePublisherServiceJSONRequestBody ¶
type AllocatePublisherServiceJSONRequestBody = AllocateServiceRequest
AllocatePublisherServiceJSONRequestBody defines body for AllocatePublisherService for application/json ContentType.
type AllocatePublisherServiceResponse ¶
type AllocatePublisherServiceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *Service
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseAllocatePublisherServiceResponse ¶
func ParseAllocatePublisherServiceResponse(rsp *http.Response) (*AllocatePublisherServiceResponse, error)
ParseAllocatePublisherServiceResponse parses an HTTP response from a AllocatePublisherServiceWithResponse call
func (AllocatePublisherServiceResponse) ContentType ¶
func (r AllocatePublisherServiceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AllocatePublisherServiceResponse) GetApplicationproblemJSONDefault ¶
func (r AllocatePublisherServiceResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AllocatePublisherServiceResponse) GetBody ¶
func (r AllocatePublisherServiceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AllocatePublisherServiceResponse) GetJSON201 ¶
func (r AllocatePublisherServiceResponse) GetJSON201() *Service
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (AllocatePublisherServiceResponse) Status ¶
func (r AllocatePublisherServiceResponse) Status() string
Status returns HTTPResponse.Status
func (AllocatePublisherServiceResponse) StatusCode ¶
func (r AllocatePublisherServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AllocateServiceRequest ¶
type AllocateServiceRequest struct {
Configuration ProjectServiceConfiguration `json:"configuration"`
// ExpiresAt Optional fixed deadline, captured once and clipped to the parent grant deadline. Omission adds no maximum lifetime; ordinary service run leases and ephemeral idle cleanup apply.
ExpiresAt *time.Time `json:"expires_at,omitempty"`
InvocationId ResourceID `json:"invocation_id"`
}
AllocateServiceRequest Immutable HTTP declaration for one temporary service. Exact retries recover only the original live allocation. Public services use automated DNS and shared ingress 443. Set configuration.public to false for connector-only access. Callers cannot select a hostname, domain, worktree, or saved deployment service.
type AppendFeedbackEventRequest ¶
type AppendFeedbackEventRequest struct {
Evidence *FeedbackEvidence `json:"evidence,omitempty"`
// SourceState Git identifiers captured for one project directory. Compare HEAD, project_path, and changed_files only when both captures are complete. Branch names, staging, and ignored files do not affect matching. File contents and absolute paths are not stored; truncated or unsupported captures are incomplete.
SourceState *SourceState `json:"source_state,omitempty"`
Text *string `json:"text,omitempty"`
Type FeedbackEventInputType `json:"type"`
}
AppendFeedbackEventRequest defines model for AppendFeedbackEventRequest.
type AppendReviewerFeedbackEventRequest ¶
type AppendReviewerFeedbackEventRequest struct {
// Access Browser identity and visitor access are independent. Feedback writes require a current browser_cookie_secret for verified authorship, including guest previews. Control also rechecks current preview permission and team feedback restrictions; visit_allowed is an observation, not authority. Share, bearer, and connector proofs supply visit permission only.
Access FeedbackReviewerAccess `json:"access"`
Evidence *FeedbackEvidence `json:"evidence,omitempty"`
RunNumber int64 `json:"run_number,string"`
// SourceState Git identifiers captured for one project directory. Compare HEAD, project_path, and changed_files only when both captures are complete. Branch names, staging, and ignored files do not affect matching. File contents and absolute paths are not stored; truncated or unsupported captures are incomplete.
SourceState *SourceState `json:"source_state,omitempty"`
Text *string `json:"text,omitempty"`
Type ReviewerFeedbackEventInputType `json:"type"`
}
AppendReviewerFeedbackEventRequest defines model for AppendReviewerFeedbackEventRequest.
type AppliedDeployment ¶
type AppliedDeployment struct {
// DeploymentNames Authoritative current and historical selectors permanently bound to this deployment ID.
DeploymentNames []string `json:"deployment_names"`
DomainId string `json:"domain_id"`
Id string `json:"id"`
Name string `json:"name"`
Namespace string `json:"namespace"`
// Public Read-only summary indicating that at least one binding has public endpoint access configured. Not a deployment-wide default.
Public bool `json:"public"`
}
AppliedDeployment defines model for AppliedDeployment.
type AppliedProjectConfiguration ¶
type AppliedProjectConfiguration struct {
// Configuration Normalized bindings for one selected deployment, at most 512 KiB encoded. Remote selections include settings and retain their encrypted publisher configuration; local selection omits settings, workloads, targets, readiness, mounts, and integration handlers. Logical declarations are sent separately. Local bindings allocate resources through source-bound worktree realization.
Configuration ProjectConfiguration `json:"configuration"`
ConfigurationHash string `json:"configuration_hash"`
Deployment string `json:"deployment"`
Deployments *[]AppliedDeployment `json:"deployments,omitempty"`
Members []DeploymentPublisherStatus `json:"members"`
ProjectKey string `json:"project_key"`
// RetiredAt Present after retirement. The saved source and revision remain; an apply with this exact current revision reactivates the project.
RetiredAt *time.Time `json:"retired_at,omitempty"`
Revision int64 `json:"revision,string"`
ServiceDeclarations ProjectServiceDeclarations `json:"service_declarations"`
Services []AppliedProjectService `json:"services"`
SourceFingerprint string `json:"source_fingerprint"`
TeamId string `json:"team_id"`
}
AppliedProjectConfiguration defines model for AppliedProjectConfiguration.
type AppliedProjectService ¶
type AppliedProjectService struct {
Deployment string `json:"deployment"`
DesiredRevision int64 `json:"desired_revision,string"`
Hostname *string `json:"hostname,omitempty"`
Port *int `json:"port,omitempty"`
Public *bool `json:"public,omitempty"`
Service string `json:"service"`
ServiceId *string `json:"service_id,omitempty"`
ServiceKind AppliedProjectServiceServiceKind `json:"service_kind"`
TrustRevision int64 `json:"trust_revision,string"`
}
AppliedProjectService defines model for AppliedProjectService.
type AppliedProjectServiceServiceKind ¶
type AppliedProjectServiceServiceKind string
AppliedProjectServiceServiceKind defines model for AppliedProjectService.ServiceKind.
const ( AppliedProjectServiceServiceKindLocal AppliedProjectServiceServiceKind = "local" AppliedProjectServiceServiceKindService AppliedProjectServiceServiceKind = "service" )
Defines values for AppliedProjectServiceServiceKind.
func (AppliedProjectServiceServiceKind) Valid ¶
func (e AppliedProjectServiceServiceKind) Valid() bool
Valid indicates whether the value is a known member of the AppliedProjectServiceServiceKind enum.
type ApplyProjectConfigurationJSONRequestBody ¶
type ApplyProjectConfigurationJSONRequestBody = ApplyProjectConfigurationRequest
ApplyProjectConfigurationJSONRequestBody defines body for ApplyProjectConfiguration for application/json ContentType.
type ApplyProjectConfigurationRequest ¶
type ApplyProjectConfigurationRequest struct {
// Configuration Normalized bindings for one selected deployment, at most 512 KiB encoded. Remote selections include settings and retain their encrypted publisher configuration; local selection omits settings, workloads, targets, readiness, mounts, and integration handlers. Logical declarations are sent separately. Local bindings allocate resources through source-bound worktree realization.
Configuration ProjectConfiguration `json:"configuration"`
Deployment string `json:"deployment"`
ExpectedRevision int64 `json:"expected_revision,string"`
// ProjectLabel Initial DNS label. Saved on first apply; later values do not rename the project or existing namespaces. Read project status or discovery for the saved label.
ProjectLabel *string `json:"project_label,omitempty"`
ServiceDeclarations ProjectServiceDeclarations `json:"service_declarations"`
// Source Required on first apply. Omit on updates to retain the saved source binding.
Source *GitProjectSource `json:"source,omitempty"`
TeamId string `json:"team_id"`
}
ApplyProjectConfigurationRequest defines model for ApplyProjectConfigurationRequest.
type ApplyProjectConfigurationResponse ¶
type ApplyProjectConfigurationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AppliedProjectConfiguration
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseApplyProjectConfigurationResponse ¶
func ParseApplyProjectConfigurationResponse(rsp *http.Response) (*ApplyProjectConfigurationResponse, error)
ParseApplyProjectConfigurationResponse parses an HTTP response from a ApplyProjectConfigurationWithResponse call
func (ApplyProjectConfigurationResponse) ContentType ¶
func (r ApplyProjectConfigurationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ApplyProjectConfigurationResponse) GetApplicationproblemJSONDefault ¶
func (r ApplyProjectConfigurationResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ApplyProjectConfigurationResponse) GetBody ¶
func (r ApplyProjectConfigurationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ApplyProjectConfigurationResponse) GetJSON200 ¶
func (r ApplyProjectConfigurationResponse) GetJSON200() *AppliedProjectConfiguration
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ApplyProjectConfigurationResponse) Status ¶
func (r ApplyProjectConfigurationResponse) Status() string
Status returns HTTPResponse.Status
func (ApplyProjectConfigurationResponse) StatusCode ¶
func (r ApplyProjectConfigurationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AuthenticationFacts ¶
type AuthenticationFacts struct {
Methods []AuthenticationFactsMethods `json:"methods"`
Oidc *OIDCAuthenticationFacts `json:"oidc,omitempty"`
}
AuthenticationFacts defines model for AuthenticationFacts.
type AuthenticationFactsMethods ¶
type AuthenticationFactsMethods string
AuthenticationFactsMethods defines model for AuthenticationFacts.Methods.
const (
Oidc AuthenticationFactsMethods = "oidc"
)
Defines values for AuthenticationFactsMethods.
func (AuthenticationFactsMethods) Valid ¶
func (e AuthenticationFactsMethods) Valid() bool
Valid indicates whether the value is a known member of the AuthenticationFactsMethods enum.
type AuthorizeImplementerFeedbackJSONRequestBody ¶
type AuthorizeImplementerFeedbackJSONRequestBody = AuthorizeImplementerFeedbackRequest
AuthorizeImplementerFeedbackJSONRequestBody defines body for AuthorizeImplementerFeedback for application/json ContentType.
type AuthorizeImplementerFeedbackRequest ¶
type AuthorizeImplementerFeedbackRequest struct {
Operation FeedbackOperation `json:"operation"`
PreviewId PreviewID `json:"preview_id"`
ServiceId ServiceID `json:"service_id"`
}
AuthorizeImplementerFeedbackRequest defines model for AuthorizeImplementerFeedbackRequest.
type AuthorizeImplementerFeedbackResponse ¶
type AuthorizeImplementerFeedbackResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *FeedbackAuthorization
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseAuthorizeImplementerFeedbackResponse ¶
func ParseAuthorizeImplementerFeedbackResponse(rsp *http.Response) (*AuthorizeImplementerFeedbackResponse, error)
ParseAuthorizeImplementerFeedbackResponse parses an HTTP response from a AuthorizeImplementerFeedbackWithResponse call
func (AuthorizeImplementerFeedbackResponse) ContentType ¶
func (r AuthorizeImplementerFeedbackResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AuthorizeImplementerFeedbackResponse) GetApplicationproblemJSONDefault ¶
func (r AuthorizeImplementerFeedbackResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AuthorizeImplementerFeedbackResponse) GetBody ¶
func (r AuthorizeImplementerFeedbackResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AuthorizeImplementerFeedbackResponse) GetJSON200 ¶
func (r AuthorizeImplementerFeedbackResponse) GetJSON200() *FeedbackAuthorization
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AuthorizeImplementerFeedbackResponse) Status ¶
func (r AuthorizeImplementerFeedbackResponse) Status() string
Status returns HTTPResponse.Status
func (AuthorizeImplementerFeedbackResponse) StatusCode ¶
func (r AuthorizeImplementerFeedbackResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AuthorizeReviewerFeedbackJSONRequestBody ¶
type AuthorizeReviewerFeedbackJSONRequestBody = AuthorizeReviewerFeedbackRequest
AuthorizeReviewerFeedbackJSONRequestBody defines body for AuthorizeReviewerFeedback for application/json ContentType.
type AuthorizeReviewerFeedbackRequest ¶
type AuthorizeReviewerFeedbackRequest struct {
// Access Browser identity and visitor access are independent. Feedback writes require a current browser_cookie_secret for verified authorship, including guest previews. Control also rechecks current preview permission and team feedback restrictions; visit_allowed is an observation, not authority. Share, bearer, and connector proofs supply visit permission only.
Access FeedbackReviewerAccess `json:"access"`
// Hostname Exact HTTP hostname at which the publisher admitted the reviewer. Omission selects the canonical identity; connector proofs remain canonical.
Hostname string `json:"hostname,omitempty"`
Operation FeedbackOperation `json:"operation"`
PreviewId PreviewID `json:"preview_id"`
RunNumber int64 `json:"run_number,string"`
}
AuthorizeReviewerFeedbackRequest defines model for AuthorizeReviewerFeedbackRequest.
type AuthorizeReviewerFeedbackResponse ¶
type AuthorizeReviewerFeedbackResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *FeedbackAuthorization
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseAuthorizeReviewerFeedbackResponse ¶
func ParseAuthorizeReviewerFeedbackResponse(rsp *http.Response) (*AuthorizeReviewerFeedbackResponse, error)
ParseAuthorizeReviewerFeedbackResponse parses an HTTP response from a AuthorizeReviewerFeedbackWithResponse call
func (AuthorizeReviewerFeedbackResponse) ContentType ¶
func (r AuthorizeReviewerFeedbackResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AuthorizeReviewerFeedbackResponse) GetApplicationproblemJSONDefault ¶
func (r AuthorizeReviewerFeedbackResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AuthorizeReviewerFeedbackResponse) GetBody ¶
func (r AuthorizeReviewerFeedbackResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AuthorizeReviewerFeedbackResponse) GetJSON200 ¶
func (r AuthorizeReviewerFeedbackResponse) GetJSON200() *FeedbackAuthorization
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AuthorizeReviewerFeedbackResponse) Status ¶
func (r AuthorizeReviewerFeedbackResponse) Status() string
Status returns HTTPResponse.Status
func (AuthorizeReviewerFeedbackResponse) StatusCode ¶
func (r AuthorizeReviewerFeedbackResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AuthorizeServiceClientCertificateJSONRequestBody ¶
type AuthorizeServiceClientCertificateJSONRequestBody = AuthorizeServiceClientCertificateRequest
AuthorizeServiceClientCertificateJSONRequestBody defines body for AuthorizeServiceClientCertificate for application/json ContentType.
type AuthorizeServiceClientCertificateRequest ¶
type AuthorizeServiceClientCertificateRequest struct {
Certificate []byte `json:"certificate"`
DestinationPort int `json:"destination_port"`
RunNumber int64 `json:"run_number,string"`
SourceIp string `json:"source_ip"`
VisitorConnectionId VisitorConnectionID `json:"visitor_connection_id"`
}
AuthorizeServiceClientCertificateRequest defines model for AuthorizeServiceClientCertificateRequest.
type AuthorizeServiceClientCertificateResponse ¶
type AuthorizeServiceClientCertificateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ServiceClientCertificateDecision
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseAuthorizeServiceClientCertificateResponse ¶
func ParseAuthorizeServiceClientCertificateResponse(rsp *http.Response) (*AuthorizeServiceClientCertificateResponse, error)
ParseAuthorizeServiceClientCertificateResponse parses an HTTP response from a AuthorizeServiceClientCertificateWithResponse call
func (AuthorizeServiceClientCertificateResponse) ContentType ¶
func (r AuthorizeServiceClientCertificateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AuthorizeServiceClientCertificateResponse) GetApplicationproblemJSONDefault ¶
func (r AuthorizeServiceClientCertificateResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AuthorizeServiceClientCertificateResponse) GetBody ¶
func (r AuthorizeServiceClientCertificateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AuthorizeServiceClientCertificateResponse) GetJSON200 ¶
func (r AuthorizeServiceClientCertificateResponse) GetJSON200() *ServiceClientCertificateDecision
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AuthorizeServiceClientCertificateResponse) Status ¶
func (r AuthorizeServiceClientCertificateResponse) Status() string
Status returns HTTPResponse.Status
func (AuthorizeServiceClientCertificateResponse) StatusCode ¶
func (r AuthorizeServiceClientCertificateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BeginServiceBrowserLoginParams ¶
type BeginServiceBrowserLoginParams struct {
ServiceId ServiceID `form:"service_id" json:"service_id"`
PreviewId *PreviewID `form:"preview_id,omitempty" json:"preview_id,omitempty"`
ReturnPath string `form:"return_path" json:"return_path"`
SwitchAccount *bool `form:"switch_account,omitempty" json:"switch_account,omitempty"`
// Hostname Select the canonical or a current exact-run HTTP hostname for the captured login and handoff.
Hostname string `form:"hostname,omitempty" json:"hostname,omitempty"`
}
BeginServiceBrowserLoginParams defines parameters for BeginServiceBrowserLogin.
type BeginServiceBrowserLoginResponse ¶
type BeginServiceBrowserLoginResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseBeginServiceBrowserLoginResponse ¶
func ParseBeginServiceBrowserLoginResponse(rsp *http.Response) (*BeginServiceBrowserLoginResponse, error)
ParseBeginServiceBrowserLoginResponse parses an HTTP response from a BeginServiceBrowserLoginWithResponse call
func (BeginServiceBrowserLoginResponse) ContentType ¶
func (r BeginServiceBrowserLoginResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (BeginServiceBrowserLoginResponse) GetApplicationproblemJSONDefault ¶
func (r BeginServiceBrowserLoginResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (BeginServiceBrowserLoginResponse) GetBody ¶
func (r BeginServiceBrowserLoginResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (BeginServiceBrowserLoginResponse) Status ¶
func (r BeginServiceBrowserLoginResponse) Status() string
Status returns HTTPResponse.Status
func (BeginServiceBrowserLoginResponse) StatusCode ¶
func (r BeginServiceBrowserLoginResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BrowserAccessResponse ¶
type BrowserAccessResponse struct {
DisplayName string `json:"display_name"`
IdentityId IdentityID `json:"identity_id"`
TeamMember bool `json:"team_member"`
VisitAllowed bool `json:"visit_allowed"`
}
BrowserAccessResponse defines model for BrowserAccessResponse.
type BrowserHandoffResponse ¶
type BrowserHandoffResponse struct {
Bridge *bool `json:"bridge,omitempty"`
CookieSecret string `json:"cookie_secret"`
ExpiresAt time.Time `json:"expires_at"`
NextUrl *string `json:"next_url,omitempty"`
// Permission Present only when current browser or supplied share permission allows visiting. Identity-only sign-in still returns the browser cookie.
Permission *VisitorTokenResponse `json:"permission,omitempty"`
ReturnPath string `json:"return_path"`
}
BrowserHandoffResponse defines model for BrowserHandoffResponse.
type CanonicalHostname ¶
type CanonicalHostname = string
CanonicalHostname defines model for CanonicalHostname.
type CertificateChallengeMethod ¶
type CertificateChallengeMethod string
CertificateChallengeMethod defines model for CertificateChallengeMethod.
const (
Dns01 CertificateChallengeMethod = "dns-01"
)
Defines values for CertificateChallengeMethod.
func (CertificateChallengeMethod) Valid ¶
func (e CertificateChallengeMethod) Valid() bool
Valid indicates whether the value is a known member of the CertificateChallengeMethod enum.
type CertificateIssuanceState ¶
type CertificateIssuanceState string
CertificateIssuanceState defines model for CertificateIssuanceState.
const ( CertificateIssuanceStateAuthorizing CertificateIssuanceState = "authorizing" CertificateIssuanceStateCanceled CertificateIssuanceState = "canceled" CertificateIssuanceStateFailed CertificateIssuanceState = "failed" CertificateIssuanceStateFinalizing CertificateIssuanceState = "finalizing" CertificateIssuanceStateInstalled CertificateIssuanceState = "installed" CertificateIssuanceStatePending CertificateIssuanceState = "pending" CertificateIssuanceStateReadyToFinalize CertificateIssuanceState = "ready_to_finalize" CertificateIssuanceStateWaitingForInstall CertificateIssuanceState = "waiting_for_install" )
Defines values for CertificateIssuanceState.
func (CertificateIssuanceState) Valid ¶
func (e CertificateIssuanceState) Valid() bool
Valid indicates whether the value is a known member of the CertificateIssuanceState enum.
type CertificatePlan ¶
type CertificatePlan struct {
CacheKey string `json:"cache_key"`
ChallengeMethod CertificateChallengeMethod `json:"challenge_method"`
Identifiers []string `json:"identifiers"`
Scope string `json:"scope"`
}
CertificatePlan defines model for CertificatePlan.
type CheckServiceBrowserSessionJSONRequestBody ¶
type CheckServiceBrowserSessionJSONRequestBody = ServiceBrowserRequest
CheckServiceBrowserSessionJSONRequestBody defines body for CheckServiceBrowserSession for application/json ContentType.
type CheckServiceBrowserSessionResponse ¶
type CheckServiceBrowserSessionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BrowserAccessResponse
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseCheckServiceBrowserSessionResponse ¶
func ParseCheckServiceBrowserSessionResponse(rsp *http.Response) (*CheckServiceBrowserSessionResponse, error)
ParseCheckServiceBrowserSessionResponse parses an HTTP response from a CheckServiceBrowserSessionWithResponse call
func (CheckServiceBrowserSessionResponse) ContentType ¶
func (r CheckServiceBrowserSessionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CheckServiceBrowserSessionResponse) GetApplicationproblemJSONDefault ¶
func (r CheckServiceBrowserSessionResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (CheckServiceBrowserSessionResponse) GetBody ¶
func (r CheckServiceBrowserSessionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CheckServiceBrowserSessionResponse) GetJSON200 ¶
func (r CheckServiceBrowserSessionResponse) GetJSON200() *BrowserAccessResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CheckServiceBrowserSessionResponse) Status ¶
func (r CheckServiceBrowserSessionResponse) Status() string
Status returns HTTPResponse.Status
func (CheckServiceBrowserSessionResponse) StatusCode ¶
func (r CheckServiceBrowserSessionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CheckWorkloadServiceResponse ¶
type CheckWorkloadServiceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WorkloadServiceAuthorization
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseCheckWorkloadServiceResponse ¶
func ParseCheckWorkloadServiceResponse(rsp *http.Response) (*CheckWorkloadServiceResponse, error)
ParseCheckWorkloadServiceResponse parses an HTTP response from a CheckWorkloadServiceWithResponse call
func (CheckWorkloadServiceResponse) ContentType ¶
func (r CheckWorkloadServiceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CheckWorkloadServiceResponse) GetApplicationproblemJSONDefault ¶
func (r CheckWorkloadServiceResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (CheckWorkloadServiceResponse) GetBody ¶
func (r CheckWorkloadServiceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CheckWorkloadServiceResponse) GetJSON200 ¶
func (r CheckWorkloadServiceResponse) GetJSON200() *WorkloadServiceAuthorization
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CheckWorkloadServiceResponse) Status ¶
func (r CheckWorkloadServiceResponse) Status() string
Status returns HTTPResponse.Status
func (CheckWorkloadServiceResponse) StatusCode ¶
func (r CheckWorkloadServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) AcceptServiceInvitation ¶
func (c *Client) AcceptServiceInvitation(ctx context.Context, body AcceptServiceInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AcceptServiceInvitation Accept an invitation for the signed-in verified email identity
Exchange the one-use invitation secret under the current signed-in identity. Control verifies the recipient email and creates an exact-service identity grant; acceptance grants no management or publisher permission.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/service-invitations/accept (the `AcceptServiceInvitation` operationId).
func (*Client) AcceptServiceInvitationWithBody ¶
func (c *Client) AcceptServiceInvitationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AcceptServiceInvitationWithBody Accept an invitation for the signed-in verified email identity
Exchange the one-use invitation secret under the current signed-in identity. Control verifies the recipient email and creates an exact-service identity grant; acceptance grants no management or publisher permission.
Takes any type of body and a specified content type.
Corresponds with POST /v1/service-invitations/accept (the `AcceptServiceInvitation` operationId).
func (*Client) AcknowledgeDeploymentPublisherConfiguration ¶
func (c *Client) AcknowledgeDeploymentPublisherConfiguration(ctx context.Context, body AcknowledgeDeploymentPublisherConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AcknowledgeDeploymentPublisherConfiguration Acknowledge the exact configuration installed by a deployment replica
Report the installed configuration revision, hash, and health using the replica's current dpl_lease_ lease. Stale or mismatched configuration is rejected; a pta_ publisher token cannot acknowledge it.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/publisher/deployments/configuration-acknowledgements (the `AcknowledgeDeploymentPublisherConfiguration` operationId).
func (*Client) AcknowledgeDeploymentPublisherConfigurationWithBody ¶
func (c *Client) AcknowledgeDeploymentPublisherConfigurationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AcknowledgeDeploymentPublisherConfigurationWithBody Acknowledge the exact configuration installed by a deployment replica
Report the installed configuration revision, hash, and health using the replica's current dpl_lease_ lease. Stale or mismatched configuration is rejected; a pta_ publisher token cannot acknowledge it.
Takes any type of body and a specified content type.
Corresponds with POST /v1/publisher/deployments/configuration-acknowledgements (the `AcknowledgeDeploymentPublisherConfiguration` operationId).
func (*Client) AcquireDeploymentPublisherLease ¶
func (c *Client) AcquireDeploymentPublisherLease(ctx context.Context, body AcquireDeploymentPublisherLeaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AcquireDeploymentPublisherLease Exchange a signed replica assertion for a deployment lease
Exchange a one-use signed assertion in the body for a dpl_lease_ deployment lease. The assertion's audience is this endpoint's full control URL, and its grant claim is the deployment ID.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/publisher/deployments/lease (the `AcquireDeploymentPublisherLease` operationId).
func (*Client) AcquireDeploymentPublisherLeaseWithBody ¶
func (c *Client) AcquireDeploymentPublisherLeaseWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AcquireDeploymentPublisherLeaseWithBody Exchange a signed replica assertion for a deployment lease
Exchange a one-use signed assertion in the body for a dpl_lease_ deployment lease. The assertion's audience is this endpoint's full control URL, and its grant claim is the deployment ID.
Takes any type of body and a specified content type.
Corresponds with POST /v1/publisher/deployments/lease (the `AcquireDeploymentPublisherLease` operationId).
func (*Client) AddPreviewService ¶
func (c *Client) AddPreviewService(ctx context.Context, previewId PreviewID, body AddPreviewServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AddPreviewService Add an authorized service to a preview
Add an existing managed HTTP service to the preview. This changes future preview membership, not the immutable service snapshot held by an already-created share.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/previews/{preview_id}/services (the `AddPreviewService` operationId).
func (*Client) AddPreviewServiceWithBody ¶
func (c *Client) AddPreviewServiceWithBody(ctx context.Context, previewId PreviewID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddPreviewServiceWithBody Add an authorized service to a preview
Add an existing managed HTTP service to the preview. This changes future preview membership, not the immutable service snapshot held by an already-created share.
Takes any type of body and a specified content type.
Corresponds with POST /v1/previews/{preview_id}/services (the `AddPreviewService` operationId).
func (*Client) AllocateDeploymentPublication ¶
func (c *Client) AllocateDeploymentPublication(ctx context.Context, projectKey string, deployment string, params *AllocateDeploymentPublicationParams, body AllocateDeploymentPublicationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AllocateDeploymentPublication Allocate an approved temporary HTTP service
Allocate an ephemeral HTTP service in this deployment's namespace. Temporary approval is independent of named publication, management and connection approval. Anonymous visitor policy requires anonymous approval. Exact retries recover only the original live service, never a replacement or extended deadline. Delete through the publisher service operation.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{project_key}/deployments/{deployment}/services (the `AllocateDeploymentPublication` operationId).
func (*Client) AllocateDeploymentPublicationWithBody ¶
func (c *Client) AllocateDeploymentPublicationWithBody(ctx context.Context, projectKey string, deployment string, params *AllocateDeploymentPublicationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AllocateDeploymentPublicationWithBody Allocate an approved temporary HTTP service
Allocate an ephemeral HTTP service in this deployment's namespace. Temporary approval is independent of named publication, management and connection approval. Anonymous visitor policy requires anonymous approval. Exact retries recover only the original live service, never a replacement or extended deadline. Delete through the publisher service operation.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{project_key}/deployments/{deployment}/services (the `AllocateDeploymentPublication` operationId).
func (*Client) AllocateGuestDemoService ¶
func (c *Client) AllocateGuestDemoService(ctx context.Context, params *AllocateGuestDemoServiceParams, body AllocateGuestDemoServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AllocateGuestDemoService Allocate or recover this trial's exact demo service
Allocate one ordinary service using the current trial credential and server-observed source. Control captures the fixed approved demo declaration and absolute trial expiry. The same key and normalized request recover only the original live allocation, including cleanup after a lost response; retries never advance the demo number or extend expiry. READY exhaustion blocks new allocation, not recovery for cleanup. A deleted or expired allocation cannot be recreated. Another demo or outstanding offline serving authority blocks new allocation. This operation grants no publisher or connector permission.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/guest-demo/services (the `AllocateGuestDemoService` operationId).
func (*Client) AllocateGuestDemoServiceWithBody ¶
func (c *Client) AllocateGuestDemoServiceWithBody(ctx context.Context, params *AllocateGuestDemoServiceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AllocateGuestDemoServiceWithBody Allocate or recover this trial's exact demo service
Allocate one ordinary service using the current trial credential and server-observed source. Control captures the fixed approved demo declaration and absolute trial expiry. The same key and normalized request recover only the original live allocation, including cleanup after a lost response; retries never advance the demo number or extend expiry. READY exhaustion blocks new allocation, not recovery for cleanup. A deleted or expired allocation cannot be recreated. Another demo or outstanding offline serving authority blocks new allocation. This operation grants no publisher or connector permission.
Takes any type of body and a specified content type.
Corresponds with POST /v1/guest-demo/services (the `AllocateGuestDemoService` operationId).
func (*Client) AllocatePublisherService ¶
func (c *Client) AllocatePublisherService(ctx context.Context, body AllocatePublisherServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AllocatePublisherService Allocate a temporary HTTP service
The current namespace grant retains ownership. Allocation issues no child grant or signing key.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/publisher/services (the `AllocatePublisherService` operationId).
func (*Client) AllocatePublisherServiceWithBody ¶
func (c *Client) AllocatePublisherServiceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AllocatePublisherServiceWithBody Allocate a temporary HTTP service
The current namespace grant retains ownership. Allocation issues no child grant or signing key.
Takes any type of body and a specified content type.
Corresponds with POST /v1/publisher/services (the `AllocatePublisherService` operationId).
func (*Client) ApplyProjectConfiguration ¶
func (c *Client) ApplyProjectConfiguration(ctx context.Context, projectKey string, body ApplyProjectConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ApplyProjectConfiguration Apply a project's desired services and deployments
Reconcile logical service declarations and one selected deployment's bindings and workload policies. Sibling deployments and local realizations are preserved; declarations cannot contradict retained bindings. On first apply, provide source facts; control computes the fingerprint and project TLS digests. Later applies may omit source to retain its binding. Changed content requires the current project revision; identical content is safe to replay. Targets remain encrypted and visible only to managers and scoped publishers.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/projects/{project_key}/configuration (the `ApplyProjectConfiguration` operationId).
func (*Client) ApplyProjectConfigurationWithBody ¶
func (c *Client) ApplyProjectConfigurationWithBody(ctx context.Context, projectKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ApplyProjectConfigurationWithBody Apply a project's desired services and deployments
Reconcile logical service declarations and one selected deployment's bindings and workload policies. Sibling deployments and local realizations are preserved; declarations cannot contradict retained bindings. On first apply, provide source facts; control computes the fingerprint and project TLS digests. Later applies may omit source to retain its binding. Changed content requires the current project revision; identical content is safe to replay. Targets remain encrypted and visible only to managers and scoped publishers.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/projects/{project_key}/configuration (the `ApplyProjectConfiguration` operationId).
func (*Client) AuthorizeImplementerFeedback ¶
func (c *Client) AuthorizeImplementerFeedback(ctx context.Context, body AuthorizeImplementerFeedbackJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AuthorizeImplementerFeedback Check current management access for one local feedback operation
Returns a short-lived decision and verified author. Feedback content is stored only on the publishing machine.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/feedback/authorization (the `AuthorizeImplementerFeedback` operationId).
func (*Client) AuthorizeImplementerFeedbackWithBody ¶
func (c *Client) AuthorizeImplementerFeedbackWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AuthorizeImplementerFeedbackWithBody Check current management access for one local feedback operation
Returns a short-lived decision and verified author. Feedback content is stored only on the publishing machine.
Takes any type of body and a specified content type.
Corresponds with POST /v1/feedback/authorization (the `AuthorizeImplementerFeedback` operationId).
func (*Client) AuthorizeReviewerFeedback ¶
func (c *Client) AuthorizeReviewerFeedback(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body AuthorizeReviewerFeedbackJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AuthorizeReviewerFeedback Check current visitor access and feedback author policy
Accepts the publisher's current visit proof, not a visitor assertion. Never receives or stores feedback content.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/feedback/authorization (the `AuthorizeReviewerFeedback` operationId).
func (*Client) AuthorizeReviewerFeedbackWithBody ¶
func (c *Client) AuthorizeReviewerFeedbackWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AuthorizeReviewerFeedbackWithBody Check current visitor access and feedback author policy
Accepts the publisher's current visit proof, not a visitor assertion. Never receives or stores feedback content.
Takes any type of body and a specified content type.
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/feedback/authorization (the `AuthorizeReviewerFeedback` operationId).
func (*Client) AuthorizeServiceClientCertificate ¶
func (c *Client) AuthorizeServiceClientCertificate(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body AuthorizeServiceClientCertificateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AuthorizeServiceClientCertificate Check a public endpoint visitor's client certificate and admission
Authenticate a public endpoint visitor after TLS key possession. Permission alone does not authorize target bytes until ingress acknowledges ordinary capacity.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/authorize-client-certificate (the `AuthorizeServiceClientCertificate` operationId).
func (*Client) AuthorizeServiceClientCertificateWithBody ¶
func (c *Client) AuthorizeServiceClientCertificateWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AuthorizeServiceClientCertificateWithBody Check a public endpoint visitor's client certificate and admission
Authenticate a public endpoint visitor after TLS key possession. Permission alone does not authorize target bytes until ingress acknowledges ordinary capacity.
Takes any type of body and a specified content type.
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/authorize-client-certificate (the `AuthorizeServiceClientCertificate` operationId).
func (*Client) BeginServiceBrowserLogin ¶
func (c *Client) BeginServiceBrowserLogin(ctx context.Context, params *BeginServiceBrowserLoginParams, reqEditors ...RequestEditorFn) (*http.Response, error)
BeginServiceBrowserLogin Start browser sign-in for one HTTP service
Start browser sign-in for one HTTP service, optionally within a preview. Navigate to this URL rather than fetching JSON. Sign-in verifies browser identity independently of current visit permission; it does not create a visitor grant.
Corresponds with GET /v1/browser/service-login (the `BeginServiceBrowserLogin` operationId).
func (*Client) CheckServiceBrowserSession ¶
func (c *Client) CheckServiceBrowserSession(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body CheckServiceBrowserSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CheckServiceBrowserSession Check a browser session through its service publisher run
Authenticate the publisher with the exact service run token and recheck the body's browser identity cookie for that captured service run. Identity remains authenticated when current visit permission is denied; neither identity nor this check creates a visitor or management grant.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/browser/session (the `CheckServiceBrowserSession` operationId).
func (*Client) CheckServiceBrowserSessionWithBody ¶
func (c *Client) CheckServiceBrowserSessionWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CheckServiceBrowserSessionWithBody Check a browser session through its service publisher run
Authenticate the publisher with the exact service run token and recheck the body's browser identity cookie for that captured service run. Identity remains authenticated when current visit permission is denied; neither identity nor this check creates a visitor or management grant.
Takes any type of body and a specified content type.
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/browser/session (the `CheckServiceBrowserSession` operationId).
func (*Client) CheckWorkloadService ¶
func (c *Client) CheckWorkloadService(ctx context.Context, serviceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
CheckWorkloadService Check a workload session's current permission for one service
Recheck live workload authorization for the exact service using the workload bearer credential. The decision is bounded by both the renewable lease and the session's fixed absolute deadline; a prior inventory response is not sufficient authorization.
Corresponds with POST /v1/workload/services/{service_id}/authorization (the `CheckWorkloadService` operationId).
func (*Client) CloseServiceRun ¶
func (c *Client) CloseServiceRun(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, reqEditors ...RequestEditorFn) (*http.Response, error)
CloseServiceRun Close one exact service run using its run token
Close the exact run, reject stale admissions and publish a service tombstone. Managed certificates remain in the publisher's shared cache.
Corresponds with DELETE /v1/services/{service_id}/runs/{service_run_id} (the `CloseServiceRun` operationId).
func (*Client) CompletePreviewBrowserLogin ¶
func (c *Client) CompletePreviewBrowserLogin(ctx context.Context, params *CompletePreviewBrowserLoginParams, reqEditors ...RequestEditorFn) (*http.Response, error)
CompletePreviewBrowserLogin Return a signed-in visitor to the preview
Check the pending login state and authorization code, then redirect the browser to a one-time publisher handoff. This callback uses the checked sign-in flow, not a bearer token.
Corresponds with GET /v1/browser/callback (the `CompletePreviewBrowserLogin` operationId).
func (*Client) ConfigureService ¶
func (c *Client) ConfigureService(ctx context.Context, serviceId ServiceID, body ConfigureServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ConfigureService Replace a service's approved settings and standalone declaration
Replace the approved protocol, publisher-pool setting, and target TLS trust. Send trust_revision as expected_trust_revision; omit target_tls to remove it. Supplied configuration atomically replaces a standalone service's whole declaration, including its target, endpoint selectors, HTTP visitor policy, and request limits, without replacing the service ID. Omitted settings return to defaults rather than retaining old values. Protocol and target TLS must agree with the declaration. Every configuration replacement must send the unquoted getServiceConfiguration ETag token as expected_configuration_digest, or explicitly send unconditional_configuration: true instead; sending neither or both is invalid. A digest mismatch conflicts before any service write, independently of expected_trust_revision. Omitting configuration is a metadata-only update and retains the declaration. Allocated invocation intent and project-managed definitions remain protected. Endpoint changes preserve authorized connector runs; protocol or target-trust changes fence old runs. Publishers must declare matching trust when preparing later runs.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/services/{service_id} (the `ConfigureService` operationId).
func (*Client) ConfigureServiceWithBody ¶
func (c *Client) ConfigureServiceWithBody(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ConfigureServiceWithBody Replace a service's approved settings and standalone declaration
Replace the approved protocol, publisher-pool setting, and target TLS trust. Send trust_revision as expected_trust_revision; omit target_tls to remove it. Supplied configuration atomically replaces a standalone service's whole declaration, including its target, endpoint selectors, HTTP visitor policy, and request limits, without replacing the service ID. Omitted settings return to defaults rather than retaining old values. Protocol and target TLS must agree with the declaration. Every configuration replacement must send the unquoted getServiceConfiguration ETag token as expected_configuration_digest, or explicitly send unconditional_configuration: true instead; sending neither or both is invalid. A digest mismatch conflicts before any service write, independently of expected_trust_revision. Omitting configuration is a metadata-only update and retains the declaration. Allocated invocation intent and project-managed definitions remain protected. Endpoint changes preserve authorized connector runs; protocol or target-trust changes fence old runs. Publishers must declare matching trust when preparing later runs.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/services/{service_id} (the `ConfigureService` operationId).
func (*Client) ConfirmConnectorPeerPairPrepared ¶
func (c *Client) ConfirmConnectorPeerPairPrepared(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, pairId string, body ConfirmConnectorPeerPairPreparedJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ConfirmConnectorPeerPairPrepared Confirm an exact connector binding installed by the publisher
Record the publisher's installed packet registration and inner listener under the exact run token. Recheck the delivery authority and both matching relay claims; never extend the reported binding deadline.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/connector-peer-pairs/{pair_id}/prepared (the `ConfirmConnectorPeerPairPrepared` operationId).
func (*Client) ConfirmConnectorPeerPairPreparedWithBody ¶
func (c *Client) ConfirmConnectorPeerPairPreparedWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, pairId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ConfirmConnectorPeerPairPreparedWithBody Confirm an exact connector binding installed by the publisher
Record the publisher's installed packet registration and inner listener under the exact run token. Recheck the delivery authority and both matching relay claims; never extend the reported binding deadline.
Takes any type of body and a specified content type.
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/connector-peer-pairs/{pair_id}/prepared (the `ConfirmConnectorPeerPairPrepared` operationId).
func (*Client) CreateDeployment ¶
func (c *Client) CreateDeployment(ctx context.Context, projectKey string, params *CreateDeploymentParams, body CreateDeploymentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDeployment Create a saved deployment
Create a deployment using existing logical project declarations. Requires a current team manager or a deployment-management credential explicitly approving all current/future deployments and every submitted service. The original Idempotency-Key is scoped to the acting person or machine identity and recovers the same committed deployment; a deleted deployment is never recreated by replay. Does not grant connect or publish capabilities.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{project_key}/deployments (the `CreateDeployment` operationId).
func (*Client) CreateDeploymentPublisherEnrollment ¶
func (c *Client) CreateDeploymentPublisherEnrollment(ctx context.Context, projectKey string, deployment string, params *CreateDeploymentPublisherEnrollmentParams, body CreateDeploymentPublisherEnrollmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDeploymentPublisherEnrollment Approve scoped publisher enrollment
Approve bounded publisher setup for selected existing services. Requires a current team manager or management approval for this deployment and every selected service. Setup cannot outlive the management grant. The original request key is scoped to the acting person or machine and recovers the same secret only while current authority, captured bindings, deadline, and remaining capacity are valid. Does not create AWS resources or grant general management/connect/namespace authority. Redeem through the existing deployment-publisher enrollment exchange.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{project_key}/deployments/{deployment}/publisher-enrollments (the `CreateDeploymentPublisherEnrollment` operationId).
func (*Client) CreateDeploymentPublisherEnrollmentWithBody ¶
func (c *Client) CreateDeploymentPublisherEnrollmentWithBody(ctx context.Context, projectKey string, deployment string, params *CreateDeploymentPublisherEnrollmentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDeploymentPublisherEnrollmentWithBody Approve scoped publisher enrollment
Approve bounded publisher setup for selected existing services. Requires a current team manager or management approval for this deployment and every selected service. Setup cannot outlive the management grant. The original request key is scoped to the acting person or machine and recovers the same secret only while current authority, captured bindings, deadline, and remaining capacity are valid. Does not create AWS resources or grant general management/connect/namespace authority. Redeem through the existing deployment-publisher enrollment exchange.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{project_key}/deployments/{deployment}/publisher-enrollments (the `CreateDeploymentPublisherEnrollment` operationId).
func (*Client) CreateDeploymentWithBody ¶
func (c *Client) CreateDeploymentWithBody(ctx context.Context, projectKey string, params *CreateDeploymentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDeploymentWithBody Create a saved deployment
Create a deployment using existing logical project declarations. Requires a current team manager or a deployment-management credential explicitly approving all current/future deployments and every submitted service. The original Idempotency-Key is scoped to the acting person or machine identity and recovers the same committed deployment; a deleted deployment is never recreated by replay. Does not grant connect or publish capabilities.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{project_key}/deployments (the `CreateDeployment` operationId).
func (*Client) CreateGuestDemo ¶
func (c *Client) CreateGuestDemo(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateGuestDemo Create a restricted guest credential for the built-in demo
Create a source-address-bound guest trial when guest demos are enabled. No existing credential is required. Network issuance limits apply; the returned credential grants only restricted demo operations, not a control session.
Corresponds with POST /v1/guest-demo (the `CreateGuestDemo` operationId).
func (*Client) CreatePreview ¶
func (c *Client) CreatePreview(ctx context.Context, params *CreatePreviewParams, body CreatePreviewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreatePreview Create or reuse a preview for one team
Save or reuse a preview identity for the selected team and idempotency key. The preview groups services; creation alone does not grant visitor access or start their service runs.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/previews (the `CreatePreview` operationId).
func (*Client) CreatePreviewWithBody ¶
func (c *Client) CreatePreviewWithBody(ctx context.Context, params *CreatePreviewParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreatePreviewWithBody Create or reuse a preview for one team
Save or reuse a preview identity for the selected team and idempotency key. The preview groups services; creation alone does not grant visitor access or start their service runs.
Takes any type of body and a specified content type.
Corresponds with POST /v1/previews (the `CreatePreview` operationId).
func (*Client) CreatePublisherEnrollment ¶
func (c *Client) CreatePublisherEnrollment(ctx context.Context, body CreatePublisherEnrollmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreatePublisherEnrollment Issue an expiring one-use publisher enrollment
Issue an expiring one-use enrollment secret under current management authorization. Enrollment installs a publisher's signing key for the selected scope; it is separate from exchanging signed assertions for short-lived publisher access tokens.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/publisher-enrollments (the `CreatePublisherEnrollment` operationId).
func (*Client) CreatePublisherEnrollmentWithBody ¶
func (c *Client) CreatePublisherEnrollmentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreatePublisherEnrollmentWithBody Issue an expiring one-use publisher enrollment
Issue an expiring one-use enrollment secret under current management authorization. Enrollment installs a publisher's signing key for the selected scope; it is separate from exchanging signed assertions for short-lived publisher access tokens.
Takes any type of body and a specified content type.
Corresponds with POST /v1/publisher-enrollments (the `CreatePublisherEnrollment` operationId).
func (*Client) CreatePublisherGrant ¶
func (c *Client) CreatePublisherGrant(ctx context.Context, publisherIdentityId PublisherIdentityID, body CreatePublisherGrantJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreatePublisherGrant Add one authorized scope to a publisher identity
Create a revocable publisher grant using current management authorization for the selected scope. The grant identifies what the native publisher may serve; it is not a visitor grant or a control session.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/publisher-identities/{publisher_identity_id}/grants (the `CreatePublisherGrant` operationId).
func (*Client) CreatePublisherGrantWithBody ¶
func (c *Client) CreatePublisherGrantWithBody(ctx context.Context, publisherIdentityId PublisherIdentityID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreatePublisherGrantWithBody Add one authorized scope to a publisher identity
Create a revocable publisher grant using current management authorization for the selected scope. The grant identifies what the native publisher may serve; it is not a visitor grant or a control session.
Takes any type of body and a specified content type.
Corresponds with POST /v1/publisher-identities/{publisher_identity_id}/grants (the `CreatePublisherGrant` operationId).
func (*Client) CreateService ¶
func (c *Client) CreateService(ctx context.Context, params *CreateServiceParams, body CreateServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateService Create one saved service with approved protocol and placement
Save a service name, protocol, target TLS trust, and optional source-bound worktree placement. Ordinary creation requires current team administration. With reserve true, create or recover only the exact eligible standalone service in an authorized namespace, using current membership, company sign-in, domain, and stored ownership. Recovery never adopts a project, deployment, worktree, or allocated service and never replaces saved declaration or policy. Each idempotency key remains bound to its normalized request and service lifetime. Creating or recovering a service does not issue a publisher grant, start a service run, or issue a certificate.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/services (the `CreateService` operationId).
func (*Client) CreateServiceCertificateIssuance ¶
func (c *Client) CreateServiceCertificateIssuance(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, params *CreateServiceCertificateIssuanceParams, body CreateServiceCertificateIssuanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateServiceCertificateIssuance Begin certificate issuance for one started service run
Authorize DNS-01 issuance for the service run's approved certificate plan using its exact run token and run number. Submit a CSR for the publisher's key; neither a control session nor publisher access token substitutes for the run token.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/certificate-issuances (the `CreateServiceCertificateIssuance` operationId).
func (*Client) CreateServiceCertificateIssuanceWithBody ¶
func (c *Client) CreateServiceCertificateIssuanceWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, params *CreateServiceCertificateIssuanceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateServiceCertificateIssuanceWithBody Begin certificate issuance for one started service run
Authorize DNS-01 issuance for the service run's approved certificate plan using its exact run token and run number. Submit a CSR for the publisher's key; neither a control session nor publisher access token substitutes for the run token.
Takes any type of body and a specified content type.
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/certificate-issuances (the `CreateServiceCertificateIssuance` operationId).
func (*Client) CreateServiceGrant ¶
func (c *Client) CreateServiceGrant(ctx context.Context, serviceId ServiceID, params *CreateServiceGrantParams, body CreateServiceGrantJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateServiceGrant Grant a team or identity access to one service
Create an exact-service visitor grant using current service management permission and an idempotency key. A visitor grant permits service use under current policy; it does not grant service management or publisher authority.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/services/{service_id}/grants (the `CreateServiceGrant` operationId).
func (*Client) CreateServiceGrantWithBody ¶
func (c *Client) CreateServiceGrantWithBody(ctx context.Context, serviceId ServiceID, params *CreateServiceGrantParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateServiceGrantWithBody Grant a team or identity access to one service
Create an exact-service visitor grant using current service management permission and an idempotency key. A visitor grant permits service use under current policy; it does not grant service management or publisher authority.
Takes any type of body and a specified content type.
Corresponds with POST /v1/services/{service_id}/grants (the `CreateServiceGrant` operationId).
func (*Client) CreateServiceHTTPGrant ¶
func (c *Client) CreateServiceHTTPGrant(ctx context.Context, serviceId ServiceID, body CreateServiceHTTPGrantJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateServiceHTTPGrant Create a service-scoped HTTP visitor token
Create an HTTP visitor credential for this service. Requires both current management and visitor permission. Each call creates a new credential, returned once; it grants neither management nor feedback permission.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/services/{service_id}/http-grants (the `CreateServiceHTTPGrant` operationId).
func (*Client) CreateServiceHTTPGrantWithBody ¶
func (c *Client) CreateServiceHTTPGrantWithBody(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateServiceHTTPGrantWithBody Create a service-scoped HTTP visitor token
Create an HTTP visitor credential for this service. Requires both current management and visitor permission. Each call creates a new credential, returned once; it grants neither management nor feedback permission.
Takes any type of body and a specified content type.
Corresponds with POST /v1/services/{service_id}/http-grants (the `CreateServiceHTTPGrant` operationId).
func (*Client) CreateServiceRunPreview ¶
func (c *Client) CreateServiceRunPreview(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body CreateServiceRunPreviewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateServiceRunPreview Create feedback context for one ephemeral service run
Create or reuse feedback context for an ephemeral HTTP service run, including a guest demo. Authenticate with that exact service run token and number, not normal project management permission.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/preview (the `CreateServiceRunPreview` operationId).
func (*Client) CreateServiceRunPreviewWithBody ¶
func (c *Client) CreateServiceRunPreviewWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateServiceRunPreviewWithBody Create feedback context for one ephemeral service run
Create or reuse feedback context for an ephemeral HTTP service run, including a guest demo. Authenticate with that exact service run token and number, not normal project management permission.
Takes any type of body and a specified content type.
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/preview (the `CreateServiceRunPreview` operationId).
func (*Client) CreateServiceShare ¶
func (c *Client) CreateServiceShare(ctx context.Context, params *CreateServiceShareParams, body CreateServiceShareJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateServiceShare Store one share for an exact authorized HTTP service
Capture one service ID as entry_service_id and return its link and token source once. An identical retry returns credential_delivery_unavailable with details.resource_id; revoke and reissue if delivery was lost. The website may use its scoped bearer credential plus X-Tnl-Actor-Token, a fresh configured-issuer assertion bound with ServiceActorNonce to the exact method, escaped path, raw query and body bytes. Current service management and company source checks run in the state transaction, including retries. This signed website permission is limited to these canonical share operations and never authenticates other control APIs or grants connector access. Guest shares remain limited to the trial's service, source IP, and expiry.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/shares (the `CreateServiceShare` operationId).
func (*Client) CreateServiceShareWithBody ¶
func (c *Client) CreateServiceShareWithBody(ctx context.Context, params *CreateServiceShareParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateServiceShareWithBody Store one share for an exact authorized HTTP service
Capture one service ID as entry_service_id and return its link and token source once. An identical retry returns credential_delivery_unavailable with details.resource_id; revoke and reissue if delivery was lost. The website may use its scoped bearer credential plus X-Tnl-Actor-Token, a fresh configured-issuer assertion bound with ServiceActorNonce to the exact method, escaped path, raw query and body bytes. Current service management and company source checks run in the state transaction, including retries. This signed website permission is limited to these canonical share operations and never authenticates other control APIs or grants connector access. Guest shares remain limited to the trial's service, source IP, and expiry.
Takes any type of body and a specified content type.
Corresponds with POST /v1/shares (the `CreateServiceShare` operationId).
func (*Client) CreateServiceWithBody ¶
func (c *Client) CreateServiceWithBody(ctx context.Context, params *CreateServiceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateServiceWithBody Create one saved service with approved protocol and placement
Save a service name, protocol, target TLS trust, and optional source-bound worktree placement. Ordinary creation requires current team administration. With reserve true, create or recover only the exact eligible standalone service in an authorized namespace, using current membership, company sign-in, domain, and stored ownership. Recovery never adopts a project, deployment, worktree, or allocated service and never replaces saved declaration or policy. Each idempotency key remains bound to its normalized request and service lifetime. Creating or recovering a service does not issue a publisher grant, start a service run, or issue a certificate.
Takes any type of body and a specified content type.
Corresponds with POST /v1/services (the `CreateService` operationId).
func (*Client) CreateShare ¶
func (c *Client) CreateShare(ctx context.Context, previewId PreviewID, params *CreateShareParams, body CreateShareJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateShare Store one share for a snapshot of authorized services
Capture the selected service IDs and entry_service_id from this preview. Later preview changes do not expand the share. Control returns the link and token source once; an identical retry returns the existing share ID in a credential_delivery_unavailable problem.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/previews/{preview_id}/shares (the `CreateShare` operationId).
func (*Client) CreateShareWithBody ¶
func (c *Client) CreateShareWithBody(ctx context.Context, previewId PreviewID, params *CreateShareParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateShareWithBody Store one share for a snapshot of authorized services
Capture the selected service IDs and entry_service_id from this preview. Later preview changes do not expand the share. Control returns the link and token source once; an identical retry returns the existing share ID in a credential_delivery_unavailable problem.
Takes any type of body and a specified content type.
Corresponds with POST /v1/previews/{preview_id}/shares (the `CreateShare` operationId).
func (*Client) DeleteDeployment ¶
func (c *Client) DeleteDeployment(ctx context.Context, projectKey string, deployment string, params *DeleteDeploymentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteDeployment Retire a deployment
Retire this deployment's saved services, enrollments, and publishers. Requires a current manager or management approval for the deployment and every binding it removes, plus the latest strong ETag. A filtered read is not permission to delete unapproved services. Sibling deployments and logical declarations are preserved.
Corresponds with DELETE /v1/projects/{project_key}/deployments/{deployment} (the `DeleteDeployment` operationId).
func (*Client) DeletePublisherService ¶
func (c *Client) DeletePublisherService(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeletePublisherService Delete this credential's exact temporary service allocation
Requires the durable allocation owner and current publication permission. Named or sibling services cannot be deleted through this operation.
Corresponds with DELETE /v1/publisher/services/{service_id} (the `DeletePublisherService` operationId).
func (*Client) DeleteService ¶
func (c *Client) DeleteService(ctx context.Context, serviceId ServiceID, params *DeleteServiceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteService Delete a saved service and revoke its active publication
Ordinary management deletion requires exactly one of expected_service_revision from the current getService response or unconditional_delete=true. Neither or both is invalid; a stale revision conflicts before closing runs or changing any state. The service revision covers saved metadata, configuration, enablement, and endpoint settings independently of trust and configuration-digest checks. Revoke access and close any run before tombstoning its ID-keyed ingress projection. A current trial credential may delete only its exact owned demo service without either management condition after control verifies the server-observed source; READY exhaustion does not prevent cleanup within the fixed trial lifetime. A publisher grant, run token, or share is not management permission. Guest cleanup uses this same closure, settlement, and endpoint retirement; outstanding offline serving authority remains fenced.
Corresponds with DELETE /v1/services/{service_id} (the `DeleteService` operationId).
func (*Client) DeliverConnectorPeerPair ¶
func (c *Client) DeliverConnectorPeerPair(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, pairId string, body DeliverConnectorPeerPairJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DeliverConnectorPeerPair Deliver an existing connector pair to its current publisher run
Return an existing pair key only to its current publisher run after both current relay legs have claimed the same observed source. This prepares a local binding, not an application stream.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/connector-peer-pairs/{pair_id}/delivery (the `DeliverConnectorPeerPair` operationId).
func (*Client) DeliverConnectorPeerPairWithBody ¶
func (c *Client) DeliverConnectorPeerPairWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, pairId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeliverConnectorPeerPairWithBody Deliver an existing connector pair to its current publisher run
Return an existing pair key only to its current publisher run after both current relay legs have claimed the same observed source. This prepares a local binding, not an application stream.
Takes any type of body and a specified content type.
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/connector-peer-pairs/{pair_id}/delivery (the `DeliverConnectorPeerPair` operationId).
func (*Client) DrainAdminRelay ¶
func (c *Client) DrainAdminRelay(ctx context.Context, relayId RelayID, body DrainAdminRelayJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DrainAdminRelay Remove a matching relay lease from placement and begin draining
Fence the exact relay process lease identified in the request, remove it from new placement, and allow existing connections to drain until the deadline. Requires an administrator's control session.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/admin/relays/{relay_id}/drain (the `DrainAdminRelay` operationId).
func (*Client) DrainAdminRelayWithBody ¶
func (c *Client) DrainAdminRelayWithBody(ctx context.Context, relayId RelayID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DrainAdminRelayWithBody Remove a matching relay lease from placement and begin draining
Fence the exact relay process lease identified in the request, remove it from new placement, and allow existing connections to drain until the deadline. Requires an administrator's control session.
Takes any type of body and a specified content type.
Corresponds with POST /v1/admin/relays/{relay_id}/drain (the `DrainAdminRelay` operationId).
func (*Client) EnrollGuestPublisher ¶
func (c *Client) EnrollGuestPublisher(ctx context.Context, body EnrollGuestPublisherJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
EnrollGuestPublisher Enroll a publisher key for this trial's exact demo service
Authenticate with the trial credential and bind an Ed25519 key to its actual saved service. Control checks current trial ownership, publication eligibility, and server-observed source. The same enrolled current key recovers its facts; another key cannot take over or revive revoked authority. The exact-service grant carries the real guest_id and fixed expiry, with no team_id, namespace allocation, service management, or connector permission.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/guest-demo/publisher (the `EnrollGuestPublisher` operationId).
func (*Client) EnrollGuestPublisherWithBody ¶
func (c *Client) EnrollGuestPublisherWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EnrollGuestPublisherWithBody Enroll a publisher key for this trial's exact demo service
Authenticate with the trial credential and bind an Ed25519 key to its actual saved service. Control checks current trial ownership, publication eligibility, and server-observed source. The same enrolled current key recovers its facts; another key cannot take over or revive revoked authority. The exact-service grant carries the real guest_id and fixed expiry, with no team_id, namespace allocation, service management, or connector permission.
Takes any type of body and a specified content type.
Corresponds with POST /v1/guest-demo/publisher (the `EnrollGuestPublisher` operationId).
func (*Client) EnrollVisitorDevice ¶
func (c *Client) EnrollVisitorDevice(ctx context.Context, body EnrollVisitorDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
EnrollVisitorDevice Enroll an Ed25519 visitor device for the signed-in identity
Bind the submitted public key to the current visitor identity using its control session. The private key remains local and signs connector peer pair requests; enrollment alone does not grant access to a service.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/visitor-devices (the `EnrollVisitorDevice` operationId).
func (*Client) EnrollVisitorDeviceWithBody ¶
func (c *Client) EnrollVisitorDeviceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EnrollVisitorDeviceWithBody Enroll an Ed25519 visitor device for the signed-in identity
Bind the submitted public key to the current visitor identity using its control session. The private key remains local and signs connector peer pair requests; enrollment alone does not grant access to a service.
Takes any type of body and a specified content type.
Corresponds with POST /v1/visitor-devices (the `EnrollVisitorDevice` operationId).
func (*Client) GetAdminServerStatus ¶
func (c *Client) GetAdminServerStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAdminServerStatus Read control, ingress, and relay status
Read canonical service and service run counts plus ingress and relay lease observations using an administrator's control session. Prepared runs are not counted as starting runs. These observations do not renew process leases.
Corresponds with GET /v1/admin/status (the `GetAdminServerStatus` operationId).
func (*Client) GetClientIP ¶
func (c *Client) GetClientIP(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetClientIP Return the requesting client's public IP address
Read the request source address observed by control, after configured trusted-proxy handling. No credential is required; a caller-provided address is not accepted as source evidence.
Corresponds with GET /v1/client-ip (the `GetClientIP` operationId).
func (*Client) GetControlDiscovery ¶
func (c *Client) GetControlDiscovery(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetControlDiscovery Describe control and its authentication methods
Read this server's public capabilities and authentication facts before choosing a client workflow. No credential is required; discover authority sign-in separately from publisher and visitor credentials.
Corresponds with GET /v1/discovery (the `GetControlDiscovery` operationId).
func (*Client) GetDeployment ¶
func (c *Client) GetDeployment(ctx context.Context, projectKey string, deployment string, params *GetDeploymentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDeployment Read one deployment
Read a saved deployment with current manager or scoped deployment-management authority. Management credentials see only approved services/targets and cannot read unrelated deployments. The ETag still represents the whole deployment.
Corresponds with GET /v1/projects/{project_key}/deployments/{deployment} (the `GetDeployment` operationId).
func (*Client) GetDeploymentPublication ¶
func (c *Client) GetDeploymentPublication(ctx context.Context, projectKey string, deployment string, service string, params *GetDeploymentPublicationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDeploymentPublication Resolve an approved HTTP service for publication
Resolve one named HTTP service without management authority. The current signed credential must independently approve publication of this exact binding in this deployment. Selection does not issue another grant or permit changes to the service's endpoint or visitor policy.
Corresponds with GET /v1/projects/{project_key}/deployments/{deployment}/services/{service}/publication (the `GetDeploymentPublication` operationId).
func (*Client) GetDeploymentPublisher ¶
func (c *Client) GetDeploymentPublisher(ctx context.Context, projectKey string, deployment string, publisher string, params *GetDeploymentPublisherParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDeploymentPublisher Read one deployment publisher
Read one publisher's captured scope and observation with exact deployment ownership. Requires a current manager or management approval covering this deployment and the publisher's entire captured service/protocol scope. Legacy whole-deployment publishers require a manager.
Corresponds with GET /v1/projects/{project_key}/deployments/{deployment}/publishers/{publisher} (the `GetDeploymentPublisher` operationId).
func (*Client) GetDeploymentPublisherAssignments ¶
func (c *Client) GetDeploymentPublisherAssignments(ctx context.Context, params *GetDeploymentPublisherAssignmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDeploymentPublisherAssignments Read services and grants assigned to one leased deployment replica
Read the replica's assigned services and publisher grants using its current dpl_lease_ lease. By default returns socket targets only; app_owned=true returns only app-owned bindings. A pta_ publisher token cannot read them.
Corresponds with GET /v1/publisher/deployments/assignments (the `GetDeploymentPublisherAssignments` operationId).
func (*Client) GetHealth ¶
func (c *Client) GetHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetHealth Confirm that the control HTTP server is serving
Check that the control HTTP handler responds. No credential is required; use getReadiness to check whether the process can serve its configured role.
Corresponds with GET /v1/health (the `GetHealth` operationId).
func (*Client) GetLocalProjectService ¶
func (c *Client) GetLocalProjectService(ctx context.Context, projectKey string, service string, params *GetLocalProjectServiceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetLocalProjectService Resolve one existing source-bound worktree service
Read the existing service for this team, source, service key, and worktree. Requires visitor access, not project management permission. Returns identity and visitor protocol/TLS metadata, never targets or credentials. It does not create a service or search other worktrees or names. Missing or unauthorized bindings return 404; an authorized source mismatch returns 409.
Corresponds with GET /v1/projects/{project_key}/local-services/{service} (the `GetLocalProjectService` operationId).
func (*Client) GetPreview ¶
func (c *Client) GetPreview(ctx context.Context, previewId PreviewID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetPreview Read a preview and its services
Read one preview's saved identity, service membership, and team access setting under current management authorization. Active publication and visitor permission are checked separately.
Corresponds with GET /v1/previews/{preview_id} (the `GetPreview` operationId).
func (*Client) GetProjectConfiguration ¶
func (c *Client) GetProjectConfiguration(ctx context.Context, projectKey string, params *GetProjectConfigurationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetProjectConfiguration Read a project's applied configuration and publisher status
Read the normalized desired configuration and observed publisher revisions for the selected team and project. Requires current project management permission; the response can include targets and must not be exposed as public project metadata.
Corresponds with GET /v1/projects/{project_key}/configuration (the `GetProjectConfiguration` operationId).
func (*Client) GetProjectPublicMetadata ¶
func (c *Client) GetProjectPublicMetadata(ctx context.Context, projectKey string, params *GetProjectPublicMetadataParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetProjectPublicMetadata Read visitor-safe project service identities and hostnames
Read public service IDs and hostnames for this project's worktrees. Visitors see only services they may visit; project managers see all public services. A service key can appear once per worktree. Targets, configuration, trust, grants, and publisher data are omitted.
Corresponds with GET /v1/projects/{project_key}/public-metadata (the `GetProjectPublicMetadata` operationId).
func (*Client) GetProjectService ¶
func (c *Client) GetProjectService(ctx context.Context, projectKey string, service ServiceName, params *GetProjectServiceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetProjectService Resolve an applied service by project source and key
Resolve a service by its exact Git source, deployment, and logical service key using current visitor access. Does not return targets or require project-manager permission. Never searches another deployment or adopts a same-named service.
Corresponds with GET /v1/projects/{project_key}/services/{service} (the `GetProjectService` operationId).
func (*Client) GetProjectStatus ¶
func (c *Client) GetProjectStatus(ctx context.Context, projectKey string, params *GetProjectStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetProjectStatus Inspect project publications across worktrees and deployments
Read a manager-only snapshot of declared services, realized worktree resources, and open publications. Each publication appears separately; an idle resource or unrealized declaration appears once. Follow next_cursor with the same project, team, and identity. Readiness describes control's current lease, certificate, and relay observations, not a fresh visitor probe. Targets, credentials, and checkout paths are omitted.
Corresponds with GET /v1/projects/{project_key}/status (the `GetProjectStatus` operationId).
func (*Client) GetPublisherService ¶
func (c *Client) GetPublisherService(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetPublisherService Read one service covered by the current publisher grant
Read the selected service's approved protocol and target TLS trust metadata. Control checks current publication permission for this exact service without changing the credential's grant. The publisher must declare its own matching configuration when preparing a run.
Corresponds with GET /v1/publisher/services/{service_id} (the `GetPublisherService` operationId).
func (*Client) GetReadiness ¶
func (c *Client) GetReadiness(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetReadiness Confirm that the tnld role is ready to serve
Check the configured tnld role's readiness without a credential. An unready process returns the same readiness shape with HTTP 503 rather than a successful health check.
Corresponds with GET /v1/ready (the `GetReadiness` operationId).
func (*Client) GetService ¶
func (c *Client) GetService(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetService Read one saved service for management
Read a service's saved identity and approved protocol/TLS metadata using current management permission. For visitor-only discovery, use listAvailableServices or getProjectService instead.
Corresponds with GET /v1/services/{service_id} (the `GetService` operationId).
func (*Client) GetServiceByHostname ¶
func (c *Client) GetServiceByHostname(ctx context.Context, hostname string, params *GetServiceByHostnameParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetServiceByHostname Read one saved service by its exact hostname
Requires management authority for the service in the selected team. This lookup never creates or claims an address.
Corresponds with GET /v1/service-addresses/{hostname} (the `GetServiceByHostname` operationId).
func (*Client) GetServiceCertificateIssuance ¶
func (c *Client) GetServiceCertificateIssuance(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, issuanceId IssuanceID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetServiceCertificateIssuance Read a service run's current certificate issuance
Poll the named issuance using the exact service run token. Control checks that the service, run, and issuance still match before returning certificate material.
Corresponds with GET /v1/services/{service_id}/runs/{service_run_id}/certificate-issuances/{issuance_id} (the `GetServiceCertificateIssuance` operationId).
func (*Client) GetServiceConfiguration ¶
func (c *Client) GetServiceConfiguration(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetServiceConfiguration Read one service's protected saved declaration
Requires current exact-service management permission, including current membership and company sign-in where required. Returns the canonical normalized ProjectServiceConfiguration directly, or 204 when the service legitimately has no declaration. Both successful responses include a strong ETag containing a sha256 digest token; absence has its own deterministic digest. Use the unquoted token as expected_configuration_digest when replacing a read declaration. The digest is independent of trust, endpoint, and visitor-policy revisions. This read does not create state or grant mutation permission for allocated or project-managed declarations. Publisher credentials, visitor grants, shares, and guest credentials do not authorize it. Targets and private configuration never appear in inventory or publisher metadata.
Corresponds with GET /v1/services/{service_id}/configuration (the `GetServiceConfiguration` operationId).
func (*Client) GetShare ¶
func (c *Client) GetShare(ctx context.Context, shareId ShareID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetShare Read one share
Read a manageable share's captured service IDs, entry service, deadline, and revocation state without its secret. The website may use its scoped bearer credential plus X-Tnl-Actor-Token bound to the exact method, escaped path, raw query and empty body with ServiceActorNonce. State consumes the assertion and checks current issuer management and company source authorization together. Reading does not redeem the share or create a visitor or control session.
Corresponds with GET /v1/shares/{share_id} (the `GetShare` operationId).
func (*Client) GetWebhookProviderSource ¶
func (c *Client) GetWebhookProviderSource(ctx context.Context, provider WebhookProvider, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWebhookProviderSource Read one webhook provider source policy
Read the selected provider's current webhook source policy without a credential. Use ETag and If-None-Match to reuse unchanged policy. Both 200 and 304 carry the catalog's observation time, last successful provider check, 15-minute freshness boundary, and absolute 24-hour last-good boundary. An unchanged or stale response does not restart those windows. Clients spend response latency from request start and fail the affected endpoint closed at expiry. This endpoint does not register a webhook or grant visitor access.
Corresponds with GET /v1/webhook-providers/{provider}/source (the `GetWebhookProviderSource` operationId).
func (*Client) InspectPublisherRuntime ¶
func (c *Client) InspectPublisherRuntime(ctx context.Context, publisherIdentityId PublisherIdentityID, body InspectPublisherRuntimeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
InspectPublisherRuntime Inspect a publisher runtime
Read the runtime epoch without recording an address. Send a one-use signed assertion for this endpoint in the body. The body's publisher identity and action must match the route.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/publisher/runtimes/{publisher_identity_id}/inspect (the `InspectPublisherRuntime` operationId).
func (*Client) InspectPublisherRuntimeWithBody ¶
func (c *Client) InspectPublisherRuntimeWithBody(ctx context.Context, publisherIdentityId PublisherIdentityID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
InspectPublisherRuntimeWithBody Inspect a publisher runtime
Read the runtime epoch without recording an address. Send a one-use signed assertion for this endpoint in the body. The body's publisher identity and action must match the route.
Takes any type of body and a specified content type.
Corresponds with POST /v1/publisher/runtimes/{publisher_identity_id}/inspect (the `InspectPublisherRuntime` operationId).
func (*Client) InviteServiceVisitor ¶
func (c *Client) InviteServiceVisitor(ctx context.Context, serviceId ServiceID, params *InviteServiceVisitorParams, body InviteServiceVisitorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
InviteServiceVisitor Invite a verified email identity to one service
Invite the verified email identity to this service. Control returns the credential once. An identical authorized retry returns credential_delivery_unavailable with the existing invitation ID; if delivery was lost, revoke it and create another with a new key. Reusing a key with changed input conflicts. No secret is kept for recovery.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/services/{service_id}/invitations (the `InviteServiceVisitor` operationId).
func (*Client) InviteServiceVisitorWithBody ¶
func (c *Client) InviteServiceVisitorWithBody(ctx context.Context, serviceId ServiceID, params *InviteServiceVisitorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
InviteServiceVisitorWithBody Invite a verified email identity to one service
Invite the verified email identity to this service. Control returns the credential once. An identical authorized retry returns credential_delivery_unavailable with the existing invitation ID; if delivery was lost, revoke it and create another with a new key. Reusing a key with changed input conflicts. No secret is kept for recovery.
Takes any type of body and a specified content type.
Corresponds with POST /v1/services/{service_id}/invitations (the `InviteServiceVisitor` operationId).
func (*Client) IssueServiceClientCertificate ¶
func (c *Client) IssueServiceClientCertificate(ctx context.Context, serviceId ServiceID, body IssueServiceClientCertificateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
IssueServiceClientCertificate Issue a service-scoped client certificate for an enrolled device
Submit the client's CSR using the current signed-in visitor identity and an enrolled device ID. Control checks exact-service access; the private key stays with the client, and this certificate grants no management authority.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/services/{service_id}/client-certificates (the `IssueServiceClientCertificate` operationId).
func (*Client) IssueServiceClientCertificateWithBody ¶
func (c *Client) IssueServiceClientCertificateWithBody(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
IssueServiceClientCertificateWithBody Issue a service-scoped client certificate for an enrolled device
Submit the client's CSR using the current signed-in visitor identity and an enrolled device ID. Control checks exact-service access; the private key stays with the client, and this certificate grants no management authority.
Takes any type of body and a specified content type.
Corresponds with POST /v1/services/{service_id}/client-certificates (the `IssueServiceClientCertificate` operationId).
func (*Client) IssueVisitorToken ¶
func (c *Client) IssueVisitorToken(ctx context.Context, body IssueVisitorTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
IssueVisitorToken Prepare or renew an exact-resource visitor permission
Prepare or renew permission to visit one resource.
- control_session or device: send a control-session bearer token. - browser_session, workload, share, share_session, or grant: send the source credential in the body. Omit Authorization entirely, including empty headers.
Control checks current access. Use refresh credentials only to request another visitor token.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/visitor-tokens (the `IssueVisitorToken` operationId).
func (*Client) IssueVisitorTokenWithBody ¶
func (c *Client) IssueVisitorTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
IssueVisitorTokenWithBody Prepare or renew an exact-resource visitor permission
Prepare or renew permission to visit one resource.
- control_session or device: send a control-session bearer token. - browser_session, workload, share, share_session, or grant: send the source credential in the body. Omit Authorization entirely, including empty headers.
Control checks current access. Use refresh credentials only to request another visitor token.
Takes any type of body and a specified content type.
Corresponds with POST /v1/visitor-tokens (the `IssueVisitorToken` operationId).
func (*Client) IssueWorkloadServiceClientCertificate ¶
func (c *Client) IssueWorkloadServiceClientCertificate(ctx context.Context, serviceId string, body IssueWorkloadServiceClientCertificateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
IssueWorkloadServiceClientCertificate Issue a service client certificate for a workload's existing key
Submit a CSR under the visitor-only workload bearer credential for one currently authorized service. The returned certificate cannot outlive the workload's fixed absolute expiry, and later access still requires a current workload lease.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/workload/services/{service_id}/client-certificate (the `IssueWorkloadServiceClientCertificate` operationId).
func (*Client) IssueWorkloadServiceClientCertificateWithBody ¶
func (c *Client) IssueWorkloadServiceClientCertificateWithBody(ctx context.Context, serviceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
IssueWorkloadServiceClientCertificateWithBody Issue a service client certificate for a workload's existing key
Submit a CSR under the visitor-only workload bearer credential for one currently authorized service. The returned certificate cannot outlive the workload's fixed absolute expiry, and later access still requires a current workload lease.
Takes any type of body and a specified content type.
Corresponds with POST /v1/workload/services/{service_id}/client-certificate (the `IssueWorkloadServiceClientCertificate` operationId).
func (*Client) ListAdminRelays ¶
func (c *Client) ListAdminRelays(ctx context.Context, params *ListAdminRelaysParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListAdminRelays List relay leases
Read a cursor-paginated inventory of relay process leases using an administrator's control session. Lease state describes current placement eligibility, not a guarantee that a publisher connection is ready.
Corresponds with GET /v1/admin/relays (the `ListAdminRelays` operationId).
func (*Client) ListAvailableServices ¶
func (c *Client) ListAvailableServices(ctx context.Context, params *ListAvailableServicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListAvailableServices List services available to the signed-in visitor
List services the signed-in visitor may use, including offline services. Results include visitor endpoints, not target addresses, target trust, or secrets. Listing a service does not grant traffic access. Initial readiness needs two publisher connections; one surviving connection can keep an already-ready run available.
Corresponds with GET /v1/visitor/services (the `ListAvailableServices` operationId).
func (*Client) ListConnectorPeerPairs ¶
func (c *Client) ListConnectorPeerPairs(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, params *ListConnectorPeerPairsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListConnectorPeerPairs Reconcile candidates and explicit retirements for an exact service run
Authenticate the exact stored started-run token. Current serving permission is required for positive candidates and owner-authority observations; a candidate still needs independent delivery preparation. After serving permission revocation, run closure, or retained service/owner deletion, the exact token can read only explicit retired dispositions within existing pair retention windows. No key, subject, source address, or serving authority is returned by that negative-only read. An omitted pair, absent owner_authority, empty page, or backend error never proves retirement. Restart from the first page on each pass; pagination is not a snapshot or retirement acknowledgment. Listing changes no state or deadline.
Corresponds with GET /v1/services/{service_id}/runs/{service_run_id}/connector-peer-pairs (the `ListConnectorPeerPairs` operationId).
func (*Client) ListDeploymentPublishers ¶
func (c *Client) ListDeploymentPublishers(ctx context.Context, projectKey string, deployment string, params *ListDeploymentPublishersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListDeploymentPublishers List a deployment's publishers
List authorized publishers in this deployment, including revoked identities and retained observations. A management credential sees only scoped publishers whose entire captured service/protocol approval it covers; filtering precedes pagination. Legacy whole-deployment publishers require a current manager. No enrollment secrets or targets are returned.
Corresponds with GET /v1/projects/{project_key}/deployments/{deployment}/publishers (the `ListDeploymentPublishers` operationId).
func (*Client) ListDeployments ¶
func (c *Client) ListDeployments(ctx context.Context, projectKey string, params *ListDeploymentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListDeployments List authorized deployments
List authorized deployments in bytewise ID order. Current managers see this project's deployments. Management credentials see only approved deployments containing approved services, with other targets/services omitted; filtering precedes pagination. No publisher credentials or enrollment secrets are returned.
Corresponds with GET /v1/projects/{project_key}/deployments (the `ListDeployments` operationId).
func (*Client) ListMaintenanceControls ¶
func (c *Client) ListMaintenanceControls(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ListMaintenanceControls List maintenance controls
Read the administrator-controlled gates for service creation, service run creation, and certificate issuance. Reading a gate does not change it.
Corresponds with GET /v1/admin/maintenance-controls (the `ListMaintenanceControls` operationId).
func (*Client) ListPreviews ¶
func (c *Client) ListPreviews(ctx context.Context, params *ListPreviewsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListPreviews List the caller's previews
List previews created by the signed-in identity in this team. Team visitor access does not grant access to another creator's preview records. Read each preview for its services. Follow next_cursor unchanged; each page checks current access.
Corresponds with GET /v1/previews (the `ListPreviews` operationId).
func (*Client) ListProjects ¶
func (c *Client) ListProjects(ctx context.Context, params *ListProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListProjects List applied projects
List active applied projects the current team manager may manage, ordered by project_key. Retired projects are omitted but remain readable by key. Summaries omit configuration, targets, and checkout paths. Read a project's configuration for its deployments, members, and editable declarations. Follow next_cursor unchanged; each page checks current access.
Corresponds with GET /v1/projects (the `ListProjects` operationId).
func (*Client) ListPublisherIdentities ¶
func (c *Client) ListPublisherIdentities(ctx context.Context, params *ListPublisherIdentitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListPublisherIdentities List publisher identities and grants without secrets
Read a cursor-paginated inventory of publisher identities and their grants for a manageable team. Responses omit enrollment secrets and private signing keys; an inventory entry is not a publisher credential.
Corresponds with GET /v1/publisher-identities (the `ListPublisherIdentities` operationId).
func (*Client) ListServiceAudit ¶
func (c *Client) ListServiceAudit(ctx context.Context, teamId string, params *ListServiceAuditParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListServiceAudit Read a team's service audit history
Read a bounded page of service access and lifecycle events using the team's current management permission. Filter by exact service identity or time, and resume with the returned cursor; audit records do not grant visitor access.
Corresponds with GET /v1/teams/{team_id}/service-audit (the `ListServiceAudit` operationId).
func (*Client) ListServiceGrants ¶
func (c *Client) ListServiceGrants(ctx context.Context, serviceId ServiceID, params *ListServiceGrantsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListServiceGrants List a service's visitor grants and retained history
Current managers may read up to 100 records ordered by ID, including expired and revoked history. Follow next_cursor until absent; inventory is not proof of current visitor access.
Corresponds with GET /v1/services/{service_id}/grants (the `ListServiceGrants` operationId).
func (*Client) ListServiceHTTPGrants ¶
func (c *Client) ListServiceHTTPGrants(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*http.Response, error)
ListServiceHTTPGrants List an HTTP service's visitor credentials without secrets
List this service's HTTP visitor credentials without their secrets. Requires current service management permission and includes expired and revoked records.
Corresponds with GET /v1/services/{service_id}/http-grants (the `ListServiceHTTPGrants` operationId).
func (*Client) ListServiceInvitations ¶
func (c *Client) ListServiceInvitations(ctx context.Context, serviceId ServiceID, params *ListServiceInvitationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListServiceInvitations List a service's visitor invitations without secrets
Current managers may read up to 100 records ordered by ID, including accepted, expired and revoked history. Follow next_cursor until absent. Never returns secrets.
Corresponds with GET /v1/services/{service_id}/invitations (the `ListServiceInvitations` operationId).
func (*Client) ListServices ¶
func (c *Client) ListServices(ctx context.Context, params *ListServicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListServices List manageable saved services in one team
Administrator-only team inventory; exact member service ownership does not authorize this operation. Never returns target addresses or stream keys.
Corresponds with GET /v1/services (the `ListServices` operationId).
func (*Client) ListShares ¶
func (c *Client) ListShares(ctx context.Context, previewId PreviewID, params *ListSharesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListShares List shares for a preview
Read a cursor-paginated inventory of the preview's manageable shares without their secrets. A stored share record does not itself function as a share link.
Corresponds with GET /v1/previews/{preview_id}/shares (the `ListShares` operationId).
func (*Client) ListTeamShares ¶
func (c *Client) ListTeamShares(ctx context.Context, params *ListTeamSharesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListTeamShares List manageable shares for one team
Read the creator's cursor-paginated share inventory under current management and company source authorization. The website may use its scoped bearer credential plus X-Tnl-Actor-Token bound with ServiceActorNonce to the exact method, escaped path, raw query and empty body. Each page consumes a fresh assertion and issuer JTI in its authorization transaction. Responses omit secrets; retain the original creation link or token_source for visitor access. This does not grant connector access.
Corresponds with GET /v1/shares (the `ListTeamShares` operationId).
func (*Client) ListWorkloadServices ¶
func (c *Client) ListWorkloadServices(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ListWorkloadServices List only the workload session's currently authorized saved services
Read the services currently authorized for this workload session using its visitor-only bearer credential. The inventory omits target addresses and application credentials and grants no publisher or control management authority.
Corresponds with GET /v1/workload/services (the `ListWorkloadServices` operationId).
func (*Client) MarkServiceCertificateInstalled ¶
func (c *Client) MarkServiceCertificateInstalled(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body MarkServiceCertificateInstalledJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
MarkServiceCertificateInstalled Acknowledge the certificate installed for one service run
Record that the publisher installed the exact approved issuance for this run number using its service run token. The acknowledgement does not by itself prove that both publisher connections are ready.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/certificate-installed (the `MarkServiceCertificateInstalled` operationId).
func (*Client) MarkServiceCertificateInstalledWithBody ¶
func (c *Client) MarkServiceCertificateInstalledWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
MarkServiceCertificateInstalledWithBody Acknowledge the certificate installed for one service run
Record that the publisher installed the exact approved issuance for this run number using its service run token. The acknowledgement does not by itself prove that both publisher connections are ready.
Takes any type of body and a specified content type.
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/certificate-installed (the `MarkServiceCertificateInstalled` operationId).
func (*Client) MarkSuppliedServiceCertificateInstalled ¶
func (c *Client) MarkSuppliedServiceCertificateInstalled(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body MarkSuppliedServiceCertificateInstalledJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
MarkSuppliedServiceCertificateInstalled Acknowledge a supplied visitor certificate for one exact run
Validate the trusted server chain against the run's captured canonical and alias hostnames. Private keys stay with the publisher. This creates no ACME order and does not broaden publication authority or prove relay readiness. Replacement compares the previously acknowledged fingerprint.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/supplied-certificate-installed (the `MarkSuppliedServiceCertificateInstalled` operationId).
func (*Client) MarkSuppliedServiceCertificateInstalledWithBody ¶
func (c *Client) MarkSuppliedServiceCertificateInstalledWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
MarkSuppliedServiceCertificateInstalledWithBody Acknowledge a supplied visitor certificate for one exact run
Validate the trusted server chain against the run's captured canonical and alias hostnames. Private keys stay with the publisher. This creates no ACME order and does not broaden publication authority or prove relay readiness. Replacement compares the previously acknowledged fingerprint.
Takes any type of body and a specified content type.
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/supplied-certificate-installed (the `MarkSuppliedServiceCertificateInstalled` operationId).
func (*Client) PrepareConnectorPeerPair ¶
func (c *Client) PrepareConnectorPeerPair(ctx context.Context, serviceId ServiceID, body PrepareConnectorPeerPairJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PrepareConnectorPeerPair Prepare a signed connector pair for an exact ready service run
Create or replace a pair for the selected service run using the device or workload signature. Device sources require the matching control session. Workload sources use the body credential and must omit Authorization, including empty headers. Control rechecks current access and both relay leases; a selection snapshot is not permission.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/services/{service_id}/connector-peer-pairs (the `PrepareConnectorPeerPair` operationId).
func (*Client) PrepareConnectorPeerPairWithBody ¶
func (c *Client) PrepareConnectorPeerPairWithBody(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PrepareConnectorPeerPairWithBody Prepare a signed connector pair for an exact ready service run
Create or replace a pair for the selected service run using the device or workload signature. Device sources require the matching control session. Workload sources use the body credential and must omit Authorization, including empty headers. Control rechecks current access and both relay leases; a selection snapshot is not permission.
Takes any type of body and a specified content type.
Corresponds with POST /v1/services/{service_id}/connector-peer-pairs (the `PrepareConnectorPeerPair` operationId).
func (*Client) PrepareServiceRun ¶
func (c *Client) PrepareServiceRun(ctx context.Context, serviceId ServiceID, params *PrepareServiceRunParams, body PrepareServiceRunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PrepareServiceRun Reserve a service run and its approved certificate plan
Reserve a new run ID and number and capture its exact managed hostname, port, domain and certificate plan under the authenticated publisher grant. Retrying the same idempotency key returns the same preparation.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/services/{service_id}/runs (the `PrepareServiceRun` operationId).
func (*Client) PrepareServiceRunWithBody ¶
func (c *Client) PrepareServiceRunWithBody(ctx context.Context, serviceId ServiceID, params *PrepareServiceRunParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PrepareServiceRunWithBody Reserve a service run and its approved certificate plan
Reserve a new run ID and number and capture its exact managed hostname, port, domain and certificate plan under the authenticated publisher grant. Retrying the same idempotency key returns the same preparation.
Takes any type of body and a specified content type.
Corresponds with POST /v1/services/{service_id}/runs (the `PrepareServiceRun` operationId).
func (*Client) ReadPublisherVisitorPolicy ¶
func (c *Client) ReadPublisherVisitorPolicy(ctx context.Context, body ReadPublisherVisitorPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ReadPublisherVisitorPolicy Refresh the current run's visitor policy and verification keys
Refresh visitor policy and revocations for one publisher run using its exact run token. This is a publisher operation, not a visitor or management read, and can return private policy data for the run. It does not renew the publisher process lease or grant traffic access. An eligible snapshot includes a confirmation key bound to its exact hostname.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/visitor-policy (the `ReadPublisherVisitorPolicy` operationId).
func (*Client) ReadPublisherVisitorPolicyWithBody ¶
func (c *Client) ReadPublisherVisitorPolicyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ReadPublisherVisitorPolicyWithBody Refresh the current run's visitor policy and verification keys
Refresh visitor policy and revocations for one publisher run using its exact run token. This is a publisher operation, not a visitor or management read, and can return private policy data for the run. It does not renew the publisher process lease or grant traffic access. An eligible snapshot includes a confirmation key bound to its exact hostname.
Takes any type of body and a specified content type.
Corresponds with POST /v1/visitor-policy (the `ReadPublisherVisitorPolicy` operationId).
func (*Client) RealizeLocalProjectService ¶
func (c *Client) RealizeLocalProjectService(ctx context.Context, projectKey string, service string, body RealizeLocalProjectServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RealizeLocalProjectService Realize one declared local service for a worktree
Create or reuse one service for this source and worktree. Private services get worktree-specific names; saved services are never adopted by name. A public URL must already belong to this runtime and the caller's membership or personal team; organization-shared and other members' URLs are rejected. If configuration was applied, the declaration must match it. Remote deployments are unchanged.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/projects/{project_key}/local-services/{service} (the `RealizeLocalProjectService` operationId).
func (*Client) RealizeLocalProjectServiceWithBody ¶
func (c *Client) RealizeLocalProjectServiceWithBody(ctx context.Context, projectKey string, service string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RealizeLocalProjectServiceWithBody Realize one declared local service for a worktree
Create or reuse one service for this source and worktree. Private services get worktree-specific names; saved services are never adopted by name. A public URL must already belong to this runtime and the caller's membership or personal team; organization-shared and other members' URLs are rejected. If configuration was applied, the declaration must match it. Remote deployments are unchanged.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/projects/{project_key}/local-services/{service} (the `RealizeLocalProjectService` operationId).
func (*Client) RebindConnectorPeerPair ¶
func (c *Client) RebindConnectorPeerPair(ctx context.Context, serviceId ServiceID, pairId string, body RebindConnectorPeerPairJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RebindConnectorPeerPair Inspect or change a retained connector pair's network binding
Inspect, prepare, activate, or abort a network binding for an existing connector owner. Sign with the same source key. Device sources require the matching control session; workload sources use the body credential and must omit Authorization, including empty headers. This cannot select another run or revive an expired owner. Only stale_network_binding permits recovery by inspecting retained state; other authorization failures are terminal.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/services/{service_id}/connector-peer-pairs/{pair_id}/rebind (the `RebindConnectorPeerPair` operationId).
func (*Client) RebindConnectorPeerPairWithBody ¶
func (c *Client) RebindConnectorPeerPairWithBody(ctx context.Context, serviceId ServiceID, pairId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RebindConnectorPeerPairWithBody Inspect or change a retained connector pair's network binding
Inspect, prepare, activate, or abort a network binding for an existing connector owner. Sign with the same source key. Device sources require the matching control session; workload sources use the body credential and must omit Authorization, including empty headers. This cannot select another run or revive an expired owner. Only stale_network_binding permits recovery by inspecting retained state; other authorization failures are terminal.
Takes any type of body and a specified content type.
Corresponds with POST /v1/services/{service_id}/connector-peer-pairs/{pair_id}/rebind (the `RebindConnectorPeerPair` operationId).
func (*Client) RedeemDeploymentPublisherEnrollment ¶
func (c *Client) RedeemDeploymentPublisherEnrollment(ctx context.Context, body RedeemDeploymentPublisherEnrollmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RedeemDeploymentPublisherEnrollment Enroll a replica's signing key with a deployment enrollment secret
Register a replica's Ed25519 public key using enrollment_key in the body. Retrying the same key returns the same membership without consuming more enrollment capacity.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/publisher/deployments/enroll (the `RedeemDeploymentPublisherEnrollment` operationId).
func (*Client) RedeemDeploymentPublisherEnrollmentWithBody ¶
func (c *Client) RedeemDeploymentPublisherEnrollmentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RedeemDeploymentPublisherEnrollmentWithBody Enroll a replica's signing key with a deployment enrollment secret
Register a replica's Ed25519 public key using enrollment_key in the body. Retrying the same key returns the same membership without consuming more enrollment capacity.
Takes any type of body and a specified content type.
Corresponds with POST /v1/publisher/deployments/enroll (the `RedeemDeploymentPublisherEnrollment` operationId).
func (*Client) RedeemServiceBrowserHandoff ¶
func (c *Client) RedeemServiceBrowserHandoff(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body RedeemServiceBrowserHandoffJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RedeemServiceBrowserHandoff Exchange a service browser handoff through its publisher run
Authenticate the publisher with the exact service run token and exchange the body's one-time handoff secret for a browser identity cookie bound to captured service runs. Visitor permission is optional and checked independently, including any supplied share cookie pair. A visitor's control session cannot substitute for the publisher run token.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/browser/handoff (the `RedeemServiceBrowserHandoff` operationId).
func (*Client) RedeemServiceBrowserHandoffWithBody ¶
func (c *Client) RedeemServiceBrowserHandoffWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RedeemServiceBrowserHandoffWithBody Exchange a service browser handoff through its publisher run
Authenticate the publisher with the exact service run token and exchange the body's one-time handoff secret for a browser identity cookie bound to captured service runs. Visitor permission is optional and checked independently, including any supplied share cookie pair. A visitor's control session cannot substitute for the publisher run token.
Takes any type of body and a specified content type.
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/browser/handoff (the `RedeemServiceBrowserHandoff` operationId).
func (*Client) RedeemServiceShare ¶
func (c *Client) RedeemServiceShare(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body RedeemServiceShareJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RedeemServiceShare Redeem a share or one-use cross-host handoff through an exact service run
Authenticate with the exact live service run token and number. Share membership, issuer authority, expiry, revocation, and captured handoff run bindings are checked separately. This does not authorize connector access.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/share-redemptions (the `RedeemServiceShare` operationId).
func (*Client) RedeemServiceShareWithBody ¶
func (c *Client) RedeemServiceShareWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RedeemServiceShareWithBody Redeem a share or one-use cross-host handoff through an exact service run
Authenticate with the exact live service run token and number. Share membership, issuer authority, expiry, revocation, and captured handoff run bindings are checked separately. This does not authorize connector access.
Takes any type of body and a specified content type.
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/share-redemptions (the `RedeemServiceShare` operationId).
func (*Client) RegisterDeploymentCredential ¶
func (c *Client) RegisterDeploymentCredential(ctx context.Context, projectKey string, params *RegisterDeploymentCredentialParams, body RegisterDeploymentCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RegisterDeploymentCredential Register scoped deployment permissions
A current team manager registers one public signing key with independent manage and connect service allowlists. Runtime credentials cannot invoke this administration operation. The original request key and intent recover the same identity, grant and fixed deadline only while still current; recovery never restores revoked, expired or retired approval. This operation is outside the public runtime SDK allowlist.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{project_key}/deployment-credentials (the `RegisterDeploymentCredential` operationId).
func (*Client) RegisterDeploymentCredentialWithBody ¶
func (c *Client) RegisterDeploymentCredentialWithBody(ctx context.Context, projectKey string, params *RegisterDeploymentCredentialParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RegisterDeploymentCredentialWithBody Register scoped deployment permissions
A current team manager registers one public signing key with independent manage and connect service allowlists. Runtime credentials cannot invoke this administration operation. The original request key and intent recover the same identity, grant and fixed deadline only while still current; recovery never restores revoked, expired or retired approval. This operation is outside the public runtime SDK allowlist.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{project_key}/deployment-credentials (the `RegisterDeploymentCredential` operationId).
func (*Client) ReleaseServiceEndpoint ¶
func (c *Client) ReleaseServiceEndpoint(ctx context.Context, serviceId ServiceID, body ReleaseServiceEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ReleaseServiceEndpoint Retire a disabled service's public port reservation
Requires current service management permission, public access already disabled, and completed managed DNS cleanup. Send the current trust revision and exact positive reserved port. Closes old runs and advances trust revision while preserving the service, hostname, grants, and machine-local connector assignments. Capacity stays quarantined for at least seven days and until old certificate, issuance, and authorization work is settled. Later private runs do not extend this retired reservation. A stale request conflicts; later public enablement allocates another reservation.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/services/{service_id}/endpoint/release (the `ReleaseServiceEndpoint` operationId).
func (*Client) ReleaseServiceEndpointWithBody ¶
func (c *Client) ReleaseServiceEndpointWithBody(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ReleaseServiceEndpointWithBody Retire a disabled service's public port reservation
Requires current service management permission, public access already disabled, and completed managed DNS cleanup. Send the current trust revision and exact positive reserved port. Closes old runs and advances trust revision while preserving the service, hostname, grants, and machine-local connector assignments. Capacity stays quarantined for at least seven days and until old certificate, issuance, and authorization work is settled. Later private runs do not extend this retired reservation. A stale request conflicts; later public enablement allocates another reservation.
Takes any type of body and a specified content type.
Corresponds with POST /v1/services/{service_id}/endpoint/release (the `ReleaseServiceEndpoint` operationId).
func (*Client) RenameDeployment ¶
func (c *Client) RenameDeployment(ctx context.Context, projectKey string, deployment string, body RenameDeploymentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RenameDeployment Rename a deployment's configuration selector without changing endpoints
Rename the configuration key without changing the deployment's ID, namespace, services, ports, or publisher grants. Old selectors remain reserved for this deployment. Update project configuration before the next apply; retrying a completed rename is safe.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{project_key}/deployments/{deployment}/rename (the `RenameDeployment` operationId).
func (*Client) RenameDeploymentNamespace ¶
func (c *Client) RenameDeploymentNamespace(ctx context.Context, projectKey string, deployment string, body RenameDeploymentNamespaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RenameDeploymentNamespace Replace a deployment's DNS namespace label
Change the deployment's DNS label while keeping its IDs and ports. This closes old service runs and assigns new publication grants and certificate plans. Old names remain reserved until control finishes its certificate and DNS cleanup checks. The configuration key and separately configured public URLs do not change. Send the current expected revision; an identical retry with the same key returns the original result.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{project_key}/deployments/{deployment}/namespace/rename (the `RenameDeploymentNamespace` operationId).
func (*Client) RenameDeploymentNamespaceWithBody ¶
func (c *Client) RenameDeploymentNamespaceWithBody(ctx context.Context, projectKey string, deployment string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RenameDeploymentNamespaceWithBody Replace a deployment's DNS namespace label
Change the deployment's DNS label while keeping its IDs and ports. This closes old service runs and assigns new publication grants and certificate plans. Old names remain reserved until control finishes its certificate and DNS cleanup checks. The configuration key and separately configured public URLs do not change. Send the current expected revision; an identical retry with the same key returns the original result.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{project_key}/deployments/{deployment}/namespace/rename (the `RenameDeploymentNamespace` operationId).
func (*Client) RenameDeploymentWithBody ¶
func (c *Client) RenameDeploymentWithBody(ctx context.Context, projectKey string, deployment string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RenameDeploymentWithBody Rename a deployment's configuration selector without changing endpoints
Rename the configuration key without changing the deployment's ID, namespace, services, ports, or publisher grants. Old selectors remain reserved for this deployment. Update project configuration before the next apply; retrying a completed rename is safe.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{project_key}/deployments/{deployment}/rename (the `RenameDeployment` operationId).
func (*Client) RenewConnectorPeerPair ¶
func (c *Client) RenewConnectorPeerPair(ctx context.Context, serviceId ServiceID, pairId string, body RenewConnectorPeerPairJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RenewConnectorPeerPair Renew an exact signed connector pair and visitor permission
Renew the existing pair and visitor permission together, without selecting another run. The signature must prove the same device or workload key. Device sources require the matching control session; workload sources use the body credential and must omit Authorization, including empty headers. The response contains the pair lease, run validity, and visitor permission from that decision.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/services/{service_id}/connector-peer-pairs/{pair_id}/renew (the `RenewConnectorPeerPair` operationId).
func (*Client) RenewConnectorPeerPairWithBody ¶
func (c *Client) RenewConnectorPeerPairWithBody(ctx context.Context, serviceId ServiceID, pairId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RenewConnectorPeerPairWithBody Renew an exact signed connector pair and visitor permission
Renew the existing pair and visitor permission together, without selecting another run. The signature must prove the same device or workload key. Device sources require the matching control session; workload sources use the body credential and must omit Authorization, including empty headers. The response contains the pair lease, run validity, and visitor permission from that decision.
Takes any type of body and a specified content type.
Corresponds with POST /v1/services/{service_id}/connector-peer-pairs/{pair_id}/renew (the `RenewConnectorPeerPair` operationId).
func (*Client) RenewPublisherRuntime ¶
func (c *Client) RenewPublisherRuntime(ctx context.Context, publisherIdentityId PublisherIdentityID, body RenewPublisherRuntimeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RenewPublisherRuntime Renew a publisher runtime
Renew the current process run and epoch using a one-use signed assertion for this endpoint. The body's publisher identity and action must match the route. Deployment runtimes also receive a deployment lease.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/publisher/runtimes/{publisher_identity_id}/renew (the `RenewPublisherRuntime` operationId).
func (*Client) RenewPublisherRuntimeWithBody ¶
func (c *Client) RenewPublisherRuntimeWithBody(ctx context.Context, publisherIdentityId PublisherIdentityID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RenewPublisherRuntimeWithBody Renew a publisher runtime
Renew the current process run and epoch using a one-use signed assertion for this endpoint. The body's publisher identity and action must match the route. Deployment runtimes also receive a deployment lease.
Takes any type of body and a specified content type.
Corresponds with POST /v1/publisher/runtimes/{publisher_identity_id}/renew (the `RenewPublisherRuntime` operationId).
func (*Client) RenewServiceRun ¶
func (c *Client) RenewServiceRun(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body RenewServiceRunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RenewServiceRun Renew a service run and report publisher health and capacity
Renew only the current run using its exact service run token. First readiness requires two live relay services; one surviving ready connection can continue serving while the other is replaced. Eligible canonical and alias policies receive separate hostname-bound confirmations.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/renew (the `RenewServiceRun` operationId).
func (*Client) RenewServiceRunWithBody ¶
func (c *Client) RenewServiceRunWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RenewServiceRunWithBody Renew a service run and report publisher health and capacity
Renew only the current run using its exact service run token. First readiness requires two live relay services; one surviving ready connection can continue serving while the other is replaced. Eligible canonical and alias policies receive separate hostname-bound confirmations.
Takes any type of body and a specified content type.
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/renew (the `RenewServiceRun` operationId).
func (*Client) ReportServiceRunObservations ¶
func (c *Client) ReportServiceRunObservations(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body ReportServiceRunObservationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ReportServiceRunObservations Report HTTP decisions or connector connections for a service run
Report bounded HTTP request decisions and connector connection facts for this exact publisher run. Control derives connector identity and source from the installed pair. HTTP decisions carry no actor identity. Reporting never authorizes traffic.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/service-observations (the `ReportServiceRunObservations` operationId).
func (*Client) ReportServiceRunObservationsWithBody ¶
func (c *Client) ReportServiceRunObservationsWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ReportServiceRunObservationsWithBody Report HTTP decisions or connector connections for a service run
Report bounded HTTP request decisions and connector connection facts for this exact publisher run. Control derives connector identity and source from the installed pair. HTTP decisions carry no actor identity. Reporting never authorizes traffic.
Takes any type of body and a specified content type.
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/service-observations (the `ReportServiceRunObservations` operationId).
func (*Client) ResolveProjectSource ¶
func (c *Client) ResolveProjectSource(ctx context.Context, body ResolveProjectSourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ResolveProjectSource Resolve a project's portable source selector
Compute the portable project key from a Git origin and repository-relative configuration path. No repository is fetched, configuration evaluated, or state created. Branches, checkout directories, and file contents do not affect the key. Use it with the configuration endpoint and send the source facts on first apply.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/resolve-source (the `ResolveProjectSource` operationId).
func (*Client) ResolveProjectSourceWithBody ¶
func (c *Client) ResolveProjectSourceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ResolveProjectSourceWithBody Resolve a project's portable source selector
Compute the portable project key from a Git origin and repository-relative configuration path. No repository is fetched, configuration evaluated, or state created. Branches, checkout directories, and file contents do not affect the key. Use it with the configuration endpoint and send the source facts on first apply.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/resolve-source (the `ResolveProjectSource` operationId).
func (*Client) RetireConnectorPeerPair ¶
func (c *Client) RetireConnectorPeerPair(ctx context.Context, serviceId ServiceID, pairId string, body RetireConnectorPeerPairJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RetireConnectorPeerPair Retire one exact connector pair without renewing serving authority
Authenticate with the original enrolled signing key and the exact pair's existing stable session-key MAC. Omit Authorization entirely, including empty headers. No current parent credential or serving permission is required. Sign the handwritten ConnectorPeerPairRetireProof bytes, not this HTTP JSON object. Retirement ends this pair across network rebinds, never a sibling or replacement pair. Retain the identical signed body and owner key after an uncertain reply. Confirmation is bounded by the unchanged max(expires_at, replay_fence_until); missing, replaced, or retention-expired pairs are not confirmed retired. A successful response proves a committed retirement, not publisher observation, remote join, or delivery of a terminal result.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/services/{service_id}/connector-peer-pairs/{pair_id}/retire (the `RetireConnectorPeerPair` operationId).
func (*Client) RetireConnectorPeerPairWithBody ¶
func (c *Client) RetireConnectorPeerPairWithBody(ctx context.Context, serviceId ServiceID, pairId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RetireConnectorPeerPairWithBody Retire one exact connector pair without renewing serving authority
Authenticate with the original enrolled signing key and the exact pair's existing stable session-key MAC. Omit Authorization entirely, including empty headers. No current parent credential or serving permission is required. Sign the handwritten ConnectorPeerPairRetireProof bytes, not this HTTP JSON object. Retirement ends this pair across network rebinds, never a sibling or replacement pair. Retain the identical signed body and owner key after an uncertain reply. Confirmation is bounded by the unchanged max(expires_at, replay_fence_until); missing, replaced, or retention-expired pairs are not confirmed retired. A successful response proves a committed retirement, not publisher observation, remote join, or delivery of a terminal result.
Takes any type of body and a specified content type.
Corresponds with POST /v1/services/{service_id}/connector-peer-pairs/{pair_id}/retire (the `RetireConnectorPeerPair` operationId).
func (*Client) RetireProject ¶
func (c *Client) RetireProject(ctx context.Context, projectKey string, body RetireProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RetireProject Retire an applied project and its configuration-owned resources
Require current team manager access and the current revision. Atomically remove declared services and worktree realizations, close their runs, revoke their publisher and visitor grants, retire deployments, revoke workload sessions, and omit the project from active discovery. Keep its source binding, saved label, and incremented revision. An exact retry returns the retired record. Reads by project key still work; applying with the retired record's exact revision reactivates it under normal allocation rules. Previews, shares, feedback, and independently managed OAuth or webhook public URLs are separate lifecycles and are not deleted. This does not stop local applications or installed operating-system jobs.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{project_key}/retire (the `RetireProject` operationId).
func (*Client) RetireProjectWithBody ¶
func (c *Client) RetireProjectWithBody(ctx context.Context, projectKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RetireProjectWithBody Retire an applied project and its configuration-owned resources
Require current team manager access and the current revision. Atomically remove declared services and worktree realizations, close their runs, revoke their publisher and visitor grants, retire deployments, revoke workload sessions, and omit the project from active discovery. Keep its source binding, saved label, and incremented revision. An exact retry returns the retired record. Reads by project key still work; applying with the retired record's exact revision reactivates it under normal allocation rules. Previews, shares, feedback, and independently managed OAuth or webhook public URLs are separate lifecycles and are not deleted. This does not stop local applications or installed operating-system jobs.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{project_key}/retire (the `RetireProject` operationId).
func (*Client) RevokeDeploymentPublisher ¶
func (c *Client) RevokeDeploymentPublisher(ctx context.Context, projectKey string, deployment string, publisher string, params *RevokeDeploymentPublisherParams, reqEditors ...RequestEditorFn) (*http.Response, error)
RevokeDeploymentPublisher Revoke one deployment publisher
Revoke exactly this publisher identity, its grants, leases, and current publications. Requires a current manager or management approval covering this deployment and the publisher's entire captured service/protocol scope. Legacy whole-deployment publishers require a manager. Repetition is safe; the last observation is retained. Siblings and shared enrollment capacity are unchanged. Apply and enrollment replay cannot restore the revoked identity.
Corresponds with DELETE /v1/projects/{project_key}/deployments/{deployment}/publishers/{publisher} (the `RevokeDeploymentPublisher` operationId).
func (*Client) RevokePublisherGrant ¶
func (c *Client) RevokePublisherGrant(ctx context.Context, publisherIdentityId PublisherIdentityID, grantId ResourceID, params *RevokePublisherGrantParams, reqEditors ...RequestEditorFn) (*http.Response, error)
RevokePublisherGrant Revoke one publisher grant without revoking the identity
Revoke the named grant under current team management authorization. Other grants on the identity remain separate; the revoked grant can no longer authorize current publishing work.
Corresponds with DELETE /v1/publisher-identities/{publisher_identity_id}/grants/{grant_id} (the `RevokePublisherGrant` operationId).
func (*Client) RevokePublisherIdentity ¶
func (c *Client) RevokePublisherIdentity(ctx context.Context, publisherIdentityId PublisherIdentityID, params *RevokePublisherIdentityParams, reqEditors ...RequestEditorFn) (*http.Response, error)
RevokePublisherIdentity Revoke an identity independently of its grants
Revoke an exact publisher identity under current team management authorization. Identity revocation invalidates its publishing authority independently of any individual grant record.
Corresponds with DELETE /v1/publisher-identities/{publisher_identity_id} (the `RevokePublisherIdentity` operationId).
func (*Client) RevokeServiceBrowserSession ¶
func (c *Client) RevokeServiceBrowserSession(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body RevokeServiceBrowserSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RevokeServiceBrowserSession Revoke a browser session through its service publisher run
Authenticate the publisher with the exact service run token and prove the body's browser session was installed for that captured service run. Revoke the shared browser session across its hostname handoff chain, including pending handoffs. Other browser sessions and the person's control session remain unchanged.
Takes a body of the `application/json` content type.
Corresponds with DELETE /v1/services/{service_id}/runs/{service_run_id}/browser/session (the `RevokeServiceBrowserSession` operationId).
func (*Client) RevokeServiceBrowserSessionWithBody ¶
func (c *Client) RevokeServiceBrowserSessionWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RevokeServiceBrowserSessionWithBody Revoke a browser session through its service publisher run
Authenticate the publisher with the exact service run token and prove the body's browser session was installed for that captured service run. Revoke the shared browser session across its hostname handoff chain, including pending handoffs. Other browser sessions and the person's control session remain unchanged.
Takes any type of body and a specified content type.
Corresponds with DELETE /v1/services/{service_id}/runs/{service_run_id}/browser/session (the `RevokeServiceBrowserSession` operationId).
func (*Client) RevokeServiceGrant ¶
func (c *Client) RevokeServiceGrant(ctx context.Context, serviceId ServiceID, grantId ServiceGrantID, reqEditors ...RequestEditorFn) (*http.Response, error)
RevokeServiceGrant Revoke one service visitor grant
Revoke the named grant using current service management permission. Later visitor authorization checks reject access through that grant; retained history can still appear in grant inventory.
Corresponds with DELETE /v1/services/{service_id}/grants/{grant_id} (the `RevokeServiceGrant` operationId).
func (*Client) RevokeServiceHTTPGrant ¶
func (c *Client) RevokeServiceHTTPGrant(ctx context.Context, serviceId ServiceID, grantId string, reqEditors ...RequestEditorFn) (*http.Response, error)
RevokeServiceHTTPGrant Revoke one service-scoped HTTP visitor credential
Revoke the named token using current service management permission. The credential no longer authorizes new visitor permission; retained summaries remain visible without their secrets.
Corresponds with DELETE /v1/services/{service_id}/http-grants/{grant_id} (the `RevokeServiceHTTPGrant` operationId).
func (*Client) RevokeServiceInvitation ¶
func (c *Client) RevokeServiceInvitation(ctx context.Context, serviceId ServiceID, invitationId ServiceInvitationID, reqEditors ...RequestEditorFn) (*http.Response, error)
RevokeServiceInvitation Revoke a service invitation and its accepted grant
Revoke the invitation using current service management permission, including the identity grant created if it was accepted. Revocation does not remove the retained invitation history.
Corresponds with DELETE /v1/services/{service_id}/invitations/{invitation_id} (the `RevokeServiceInvitation` operationId).
func (*Client) RevokeShare ¶
func (c *Client) RevokeShare(ctx context.Context, shareId ShareID, reqEditors ...RequestEditorFn) (*http.Response, error)
RevokeShare Stop new access through one share
Revoke the creator's share under current management authorization so it cannot grant new visitor access. The website may use its scoped bearer credential plus X-Tnl-Actor-Token bound to the exact method, escaped path, raw query and empty body with ServiceActorNonce. State consumes the fresh assertion and checks all captured services and current company source authorization in the revocation transaction. Retain the saved record and captured service snapshot for subsequent reads.
Corresponds with POST /v1/shares/{share_id}/revoke (the `RevokeShare` operationId).
func (*Client) RevokeVisitorDevice ¶
func (c *Client) RevokeVisitorDevice(ctx context.Context, deviceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
RevokeVisitorDevice Revoke a visitor device and its connector peer pairs
Revoke the exact device belonging to the signed-in visitor identity and invalidate its connector peer pairs. This does not revoke the identity's control session or its other enrolled devices.
Corresponds with DELETE /v1/visitor-devices/{device_id} (the `RevokeVisitorDevice` operationId).
func (*Client) SelectDeploymentServiceRun ¶
func (c *Client) SelectDeploymentServiceRun(ctx context.Context, projectKey string, deployment string, service string, params *SelectDeploymentServiceRunParams, body SelectDeploymentServiceRunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SelectDeploymentServiceRun Select an authorized deployment service run
Resolve one service name in one selected deployment and select a ready publication using current visitor authority. Returns only visitor endpoint, protocol and source-bound connection hints, never targets or management data. Device sources require their control session; workload and registered-key sources supply their credential in the body without an Authorization header. Management approval alone grants no access.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects/{project_key}/deployments/{deployment}/services/{service}/select (the `SelectDeploymentServiceRun` operationId).
func (*Client) SelectDeploymentServiceRunWithBody ¶
func (c *Client) SelectDeploymentServiceRunWithBody(ctx context.Context, projectKey string, deployment string, service string, params *SelectDeploymentServiceRunParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SelectDeploymentServiceRunWithBody Select an authorized deployment service run
Resolve one service name in one selected deployment and select a ready publication using current visitor authority. Returns only visitor endpoint, protocol and source-bound connection hints, never targets or management data. Device sources require their control session; workload and registered-key sources supply their credential in the body without an Authorization header. Management approval alone grants no access.
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects/{project_key}/deployments/{deployment}/services/{service}/select (the `SelectDeploymentServiceRun` operationId).
func (*Client) SelectServiceRun ¶
func (c *Client) SelectServiceRun(ctx context.Context, serviceId ServiceID, body SelectServiceRunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SelectServiceRun Select a ready service run for an enrolled visitor device
Check current visitor access and select a ready publisher run for background preparation. pair_ready is a credential-free hint containing two exact ready connections on distinct live relay services, not a grant, stream ticket or pair key. The caller never supplies an IP address.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/services/{service_id}/select-run (the `SelectServiceRun` operationId).
func (*Client) SelectServiceRunWithBody ¶
func (c *Client) SelectServiceRunWithBody(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SelectServiceRunWithBody Select a ready service run for an enrolled visitor device
Check current visitor access and select a ready publisher run for background preparation. pair_ready is a credential-free hint containing two exact ready connections on distinct live relay services, not a grant, stream ticket or pair key. The caller never supplies an IP address.
Takes any type of body and a specified content type.
Corresponds with POST /v1/services/{service_id}/select-run (the `SelectServiceRun` operationId).
func (*Client) SelectWorkloadServiceRun ¶
func (c *Client) SelectWorkloadServiceRun(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*http.Response, error)
SelectWorkloadServiceRun Select a ready service run for an authenticated workload
Check the selected workload credential and current service permission. pair_ready appears only for two exact ready connections on distinct live relay services; it is a signing snapshot, not a grant or a pair key.
Corresponds with POST /v1/workload/services/{service_id}/run (the `SelectWorkloadServiceRun` operationId).
func (*Client) SetMaintenanceControl ¶
func (c *Client) SetMaintenanceControl(ctx context.Context, controlName MaintenanceControlName, body SetMaintenanceControlJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetMaintenanceControl Set one maintenance control
Change one named maintenance gate using an administrator's control session. The gate controls new work of that kind, rather than closing all existing publications.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/admin/maintenance-controls/{control_name} (the `SetMaintenanceControl` operationId).
func (*Client) SetMaintenanceControlWithBody ¶
func (c *Client) SetMaintenanceControlWithBody(ctx context.Context, controlName MaintenanceControlName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetMaintenanceControlWithBody Set one maintenance control
Change one named maintenance gate using an administrator's control session. The gate controls new work of that kind, rather than closing all existing publications.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/admin/maintenance-controls/{control_name} (the `SetMaintenanceControl` operationId).
func (*Client) SetPreviewTeamAccess ¶
func (c *Client) SetPreviewTeamAccess(ctx context.Context, previewId PreviewID, body SetPreviewTeamAccessJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetPreviewTeamAccess Enable or disable team visitor access for this preview
Set the preview's opt-in HTTP team access using current management authorization. Enabled access requires current team sign-in; it does not make services anonymous or authorize connectors, devices, or workloads.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/previews/{preview_id}/team-access (the `SetPreviewTeamAccess` operationId).
func (*Client) SetPreviewTeamAccessWithBody ¶
func (c *Client) SetPreviewTeamAccessWithBody(ctx context.Context, previewId PreviewID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetPreviewTeamAccessWithBody Enable or disable team visitor access for this preview
Set the preview's opt-in HTTP team access using current management authorization. Enabled access requires current team sign-in; it does not make services anonymous or authorize connectors, devices, or workloads.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/previews/{preview_id}/team-access (the `SetPreviewTeamAccess` operationId).
func (*Client) SetServiceEnabled ¶
func (c *Client) SetServiceEnabled(ctx context.Context, serviceId ServiceID, body SetServiceEnabledJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetServiceEnabled Suspend or enable a saved service
Change operational availability using current stored management authority. Suspension closes current runs while retaining the service ID, declaration, publisher and visitor grants, endpoint reservations, and project or deployment ownership. Enabling allows new authorized runs; it never reopens closed runs or restores revoked permission. Works for project-managed services without editing their declarations. Guest trial credentials and publisher grants do not grant this management operation.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/services/{service_id}/enabled (the `SetServiceEnabled` operationId).
func (*Client) SetServiceEnabledWithBody ¶
func (c *Client) SetServiceEnabledWithBody(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetServiceEnabledWithBody Suspend or enable a saved service
Change operational availability using current stored management authority. Suspension closes current runs while retaining the service ID, declaration, publisher and visitor grants, endpoint reservations, and project or deployment ownership. Enabling allows new authorized runs; it never reopens closed runs or restores revoked permission. Works for project-managed services without editing their declarations. Guest trial credentials and publisher grants do not grant this management operation.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/services/{service_id}/enabled (the `SetServiceEnabled` operationId).
func (*Client) StartPublisherRuntime ¶
func (c *Client) StartPublisherRuntime(ctx context.Context, publisherIdentityId PublisherIdentityID, body StartPublisherRuntimeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
StartPublisherRuntime Start a publisher runtime
Start a process run if the inspected epoch still matches. Send a one-use signed assertion for this endpoint in the body, with matching publisher identity and action. After an uncertain response, keep the same process run and expected epoch but use a fresh assertion. Deployment runtimes also receive a deployment lease.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/publisher/runtimes/{publisher_identity_id}/start (the `StartPublisherRuntime` operationId).
func (*Client) StartPublisherRuntimeWithBody ¶
func (c *Client) StartPublisherRuntimeWithBody(ctx context.Context, publisherIdentityId PublisherIdentityID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
StartPublisherRuntimeWithBody Start a publisher runtime
Start a process run if the inspected epoch still matches. Send a one-use signed assertion for this endpoint in the body, with matching publisher identity and action. After an uncertain response, keep the same process run and expected epoch but use a fresh assertion. Deployment runtimes also receive a deployment lease.
Takes any type of body and a specified content type.
Corresponds with POST /v1/publisher/runtimes/{publisher_identity_id}/start (the `StartPublisherRuntime` operationId).
func (*Client) StartServiceRun ¶
func (c *Client) StartServiceRun(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body StartServiceRunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
StartServiceRun Start one prepared service run with its publisher grant
Start one exact prepared run using its authenticated publisher identity. Visitor TLS uses the approved service certificate, without an ephemeral stream key or custom TLS proof.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/start (the `StartServiceRun` operationId).
func (*Client) StartServiceRunWithBody ¶
func (c *Client) StartServiceRunWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
StartServiceRunWithBody Start one prepared service run with its publisher grant
Start one exact prepared run using its authenticated publisher identity. Visitor TLS uses the approved service certificate, without an ephemeral stream key or custom TLS proof.
Takes any type of body and a specified content type.
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/start (the `StartServiceRun` operationId).
func (*Client) StopPublisherRuntime ¶
func (c *Client) StopPublisherRuntime(ctx context.Context, publisherIdentityId PublisherIdentityID, body StopPublisherRuntimeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
StopPublisherRuntime Stop a publisher runtime
Stop the current process run and epoch using a one-use signed assertion for this endpoint. The body's publisher identity and action must match the route.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/publisher/runtimes/{publisher_identity_id}/stop (the `StopPublisherRuntime` operationId).
func (*Client) StopPublisherRuntimeWithBody ¶
func (c *Client) StopPublisherRuntimeWithBody(ctx context.Context, publisherIdentityId PublisherIdentityID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
StopPublisherRuntimeWithBody Stop a publisher runtime
Stop the current process run and epoch using a one-use signed assertion for this endpoint. The body's publisher identity and action must match the route.
Takes any type of body and a specified content type.
Corresponds with POST /v1/publisher/runtimes/{publisher_identity_id}/stop (the `StopPublisherRuntime` operationId).
func (*Client) UpdateDeployment ¶
func (c *Client) UpdateDeployment(ctx context.Context, projectKey string, deployment string, params *UpdateDeploymentParams, body UpdateDeploymentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateDeployment Update selected deployment targets
Update selected existing targets/TLS on the same records used by manager apply. Requires a current manager or management approval for this deployment and every submitted service, plus the latest strong ETag. Omitted targets and policies remain unchanged. Stale conditions fail with 412; a missing condition fails with 428.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/projects/{project_key}/deployments/{deployment} (the `UpdateDeployment` operationId).
func (*Client) UpdateDeploymentWithBody ¶
func (c *Client) UpdateDeploymentWithBody(ctx context.Context, projectKey string, deployment string, params *UpdateDeploymentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateDeploymentWithBody Update selected deployment targets
Update selected existing targets/TLS on the same records used by manager apply. Requires a current manager or management approval for this deployment and every submitted service, plus the latest strong ETag. Omitted targets and policies remain unchanged. Stale conditions fail with 412; a missing condition fails with 428.
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/projects/{project_key}/deployments/{deployment} (the `UpdateDeployment` operationId).
func (*Client) VerifyDeploymentIdentity ¶
func (c *Client) VerifyDeploymentIdentity(ctx context.Context, body VerifyDeploymentIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
VerifyDeploymentIdentity Verify a replica's deployment membership without acquiring a lease
Verify deployment membership using a one-use signed assertion in the body. Its audience is this endpoint's full control URL. Returns current and historical selectors without replacing the running publisher's deployment lease.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/publisher/deployments/verify (the `VerifyDeploymentIdentity` operationId).
func (*Client) VerifyDeploymentIdentityWithBody ¶
func (c *Client) VerifyDeploymentIdentityWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
VerifyDeploymentIdentityWithBody Verify a replica's deployment membership without acquiring a lease
Verify deployment membership using a one-use signed assertion in the body. Its audience is this endpoint's full control URL. Returns current and historical selectors without replacing the running publisher's deployment lease.
Takes any type of body and a specified content type.
Corresponds with POST /v1/publisher/deployments/verify (the `VerifyDeploymentIdentity` operationId).
func (*Client) WatchPublisherRuns ¶
func (c *Client) WatchPublisherRuns(ctx context.Context, body WatchPublisherRunsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
WatchPublisherRuns Wait for changes to exact, authenticated service runs
Each subscription supplies its own run token and last applied connector revision. The response is a hint to fetch and apply authorized state, not a grant or a renewal. An empty response means the wait ended without a detected change; it does not confirm serving authority.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/publisher/watch (the `WatchPublisherRuns` operationId).
func (*Client) WatchPublisherRunsWithBody ¶
func (c *Client) WatchPublisherRunsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
WatchPublisherRunsWithBody Wait for changes to exact, authenticated service runs
Each subscription supplies its own run token and last applied connector revision. The response is a hint to fetch and apply authorized state, not a grant or a renewal. An empty response means the wait ended without a detected change; it does not confirm serving authority.
Takes any type of body and a specified content type.
Corresponds with POST /v1/publisher/watch (the `WatchPublisherRuns` operationId).
type ClientIPResponse ¶
type ClientIPResponse struct {
Ip string `json:"ip"`
}
ClientIPResponse defines model for ClientIPResponse.
type ClientInterface ¶
type ClientInterface interface {
// ListMaintenanceControls List maintenance controls
//
// Read the administrator-controlled gates for service creation, service run creation, and certificate issuance. Reading a gate does not change it.
//
// Corresponds with GET /v1/admin/maintenance-controls (the `ListMaintenanceControls` operationId).
ListMaintenanceControls(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetMaintenanceControlWithBody Set one maintenance control
//
// Change one named maintenance gate using an administrator's control session. The gate controls new work of that kind, rather than closing all existing publications.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/admin/maintenance-controls/{control_name} (the `SetMaintenanceControl` operationId).
SetMaintenanceControlWithBody(ctx context.Context, controlName MaintenanceControlName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetMaintenanceControl Set one maintenance control
//
// Change one named maintenance gate using an administrator's control session. The gate controls new work of that kind, rather than closing all existing publications.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/admin/maintenance-controls/{control_name} (the `SetMaintenanceControl` operationId).
SetMaintenanceControl(ctx context.Context, controlName MaintenanceControlName, body SetMaintenanceControlJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAdminRelays List relay leases
//
// Read a cursor-paginated inventory of relay process leases using an administrator's control session. Lease state describes current placement eligibility, not a guarantee that a publisher connection is ready.
//
// Corresponds with GET /v1/admin/relays (the `ListAdminRelays` operationId).
ListAdminRelays(ctx context.Context, params *ListAdminRelaysParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DrainAdminRelayWithBody Remove a matching relay lease from placement and begin draining
//
// Fence the exact relay process lease identified in the request, remove it from new placement, and allow existing connections to drain until the deadline. Requires an administrator's control session.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/admin/relays/{relay_id}/drain (the `DrainAdminRelay` operationId).
DrainAdminRelayWithBody(ctx context.Context, relayId RelayID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DrainAdminRelay Remove a matching relay lease from placement and begin draining
//
// Fence the exact relay process lease identified in the request, remove it from new placement, and allow existing connections to drain until the deadline. Requires an administrator's control session.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/admin/relays/{relay_id}/drain (the `DrainAdminRelay` operationId).
DrainAdminRelay(ctx context.Context, relayId RelayID, body DrainAdminRelayJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAdminServerStatus Read control, ingress, and relay status
//
// Read canonical service and service run counts plus ingress and relay lease observations using an administrator's control session. Prepared runs are not counted as starting runs. These observations do not renew process leases.
//
// Corresponds with GET /v1/admin/status (the `GetAdminServerStatus` operationId).
GetAdminServerStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CompletePreviewBrowserLogin Return a signed-in visitor to the preview
//
// Check the pending login state and authorization code, then redirect the browser to a one-time publisher handoff. This callback uses the checked sign-in flow, not a bearer token.
//
// Corresponds with GET /v1/browser/callback (the `CompletePreviewBrowserLogin` operationId).
CompletePreviewBrowserLogin(ctx context.Context, params *CompletePreviewBrowserLoginParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// BeginServiceBrowserLogin Start browser sign-in for one HTTP service
//
// Start browser sign-in for one HTTP service, optionally within a preview. Navigate to this URL rather than fetching JSON. Sign-in verifies browser identity independently of current visit permission; it does not create a visitor grant.
//
// Corresponds with GET /v1/browser/service-login (the `BeginServiceBrowserLogin` operationId).
BeginServiceBrowserLogin(ctx context.Context, params *BeginServiceBrowserLoginParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetClientIP Return the requesting client's public IP address
//
// Read the request source address observed by control, after configured trusted-proxy handling. No credential is required; a caller-provided address is not accepted as source evidence.
//
// Corresponds with GET /v1/client-ip (the `GetClientIP` operationId).
GetClientIP(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetControlDiscovery Describe control and its authentication methods
//
// Read this server's public capabilities and authentication facts before choosing a client workflow. No credential is required; discover authority sign-in separately from publisher and visitor credentials.
//
// Corresponds with GET /v1/discovery (the `GetControlDiscovery` operationId).
GetControlDiscovery(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// AuthorizeImplementerFeedbackWithBody Check current management access for one local feedback operation
//
// Returns a short-lived decision and verified author. Feedback content is stored only on the publishing machine.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/feedback/authorization (the `AuthorizeImplementerFeedback` operationId).
AuthorizeImplementerFeedbackWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AuthorizeImplementerFeedback Check current management access for one local feedback operation
//
// Returns a short-lived decision and verified author. Feedback content is stored only on the publishing machine.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/feedback/authorization (the `AuthorizeImplementerFeedback` operationId).
AuthorizeImplementerFeedback(ctx context.Context, body AuthorizeImplementerFeedbackJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateGuestDemo Create a restricted guest credential for the built-in demo
//
// Create a source-address-bound guest trial when guest demos are enabled. No existing credential is required. Network issuance limits apply; the returned credential grants only restricted demo operations, not a control session.
//
// Corresponds with POST /v1/guest-demo (the `CreateGuestDemo` operationId).
CreateGuestDemo(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// EnrollGuestPublisherWithBody Enroll a publisher key for this trial's exact demo service
//
// Authenticate with the trial credential and bind an Ed25519 key to its actual saved service. Control checks current trial ownership, publication eligibility, and server-observed source. The same enrolled current key recovers its facts; another key cannot take over or revive revoked authority. The exact-service grant carries the real guest_id and fixed expiry, with no team_id, namespace allocation, service management, or connector permission.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/guest-demo/publisher (the `EnrollGuestPublisher` operationId).
EnrollGuestPublisherWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// EnrollGuestPublisher Enroll a publisher key for this trial's exact demo service
//
// Authenticate with the trial credential and bind an Ed25519 key to its actual saved service. Control checks current trial ownership, publication eligibility, and server-observed source. The same enrolled current key recovers its facts; another key cannot take over or revive revoked authority. The exact-service grant carries the real guest_id and fixed expiry, with no team_id, namespace allocation, service management, or connector permission.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/guest-demo/publisher (the `EnrollGuestPublisher` operationId).
EnrollGuestPublisher(ctx context.Context, body EnrollGuestPublisherJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AllocateGuestDemoServiceWithBody Allocate or recover this trial's exact demo service
//
// Allocate one ordinary service using the current trial credential and server-observed source. Control captures the fixed approved demo declaration and absolute trial expiry. The same key and normalized request recover only the original live allocation, including cleanup after a lost response; retries never advance the demo number or extend expiry. READY exhaustion blocks new allocation, not recovery for cleanup. A deleted or expired allocation cannot be recreated. Another demo or outstanding offline serving authority blocks new allocation. This operation grants no publisher or connector permission.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/guest-demo/services (the `AllocateGuestDemoService` operationId).
AllocateGuestDemoServiceWithBody(ctx context.Context, params *AllocateGuestDemoServiceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AllocateGuestDemoService Allocate or recover this trial's exact demo service
//
// Allocate one ordinary service using the current trial credential and server-observed source. Control captures the fixed approved demo declaration and absolute trial expiry. The same key and normalized request recover only the original live allocation, including cleanup after a lost response; retries never advance the demo number or extend expiry. READY exhaustion blocks new allocation, not recovery for cleanup. A deleted or expired allocation cannot be recreated. Another demo or outstanding offline serving authority blocks new allocation. This operation grants no publisher or connector permission.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/guest-demo/services (the `AllocateGuestDemoService` operationId).
AllocateGuestDemoService(ctx context.Context, params *AllocateGuestDemoServiceParams, body AllocateGuestDemoServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetHealth Confirm that the control HTTP server is serving
//
// Check that the control HTTP handler responds. No credential is required; use getReadiness to check whether the process can serve its configured role.
//
// Corresponds with GET /v1/health (the `GetHealth` operationId).
GetHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListPreviews List the caller's previews
//
// List previews created by the signed-in identity in this team. Team visitor access does not grant access to another creator's preview records. Read each preview for its services. Follow next_cursor unchanged; each page checks current access.
//
// Corresponds with GET /v1/previews (the `ListPreviews` operationId).
ListPreviews(ctx context.Context, params *ListPreviewsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreatePreviewWithBody Create or reuse a preview for one team
//
// Save or reuse a preview identity for the selected team and idempotency key. The preview groups services; creation alone does not grant visitor access or start their service runs.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/previews (the `CreatePreview` operationId).
CreatePreviewWithBody(ctx context.Context, params *CreatePreviewParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreatePreview Create or reuse a preview for one team
//
// Save or reuse a preview identity for the selected team and idempotency key. The preview groups services; creation alone does not grant visitor access or start their service runs.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/previews (the `CreatePreview` operationId).
CreatePreview(ctx context.Context, params *CreatePreviewParams, body CreatePreviewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPreview Read a preview and its services
//
// Read one preview's saved identity, service membership, and team access setting under current management authorization. Active publication and visitor permission are checked separately.
//
// Corresponds with GET /v1/previews/{preview_id} (the `GetPreview` operationId).
GetPreview(ctx context.Context, previewId PreviewID, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddPreviewServiceWithBody Add an authorized service to a preview
//
// Add an existing managed HTTP service to the preview. This changes future preview membership, not the immutable service snapshot held by an already-created share.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/previews/{preview_id}/services (the `AddPreviewService` operationId).
AddPreviewServiceWithBody(ctx context.Context, previewId PreviewID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddPreviewService Add an authorized service to a preview
//
// Add an existing managed HTTP service to the preview. This changes future preview membership, not the immutable service snapshot held by an already-created share.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/previews/{preview_id}/services (the `AddPreviewService` operationId).
AddPreviewService(ctx context.Context, previewId PreviewID, body AddPreviewServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
//
// Read a cursor-paginated inventory of the preview's manageable shares without their secrets. A stored share record does not itself function as a share link.
//
// Corresponds with GET /v1/previews/{preview_id}/shares (the `ListShares` operationId).
ListShares(ctx context.Context, previewId PreviewID, params *ListSharesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
//
// Capture the selected service IDs and entry_service_id from this preview. Later preview changes do not expand the share. Control returns the link and token source once; an identical retry returns the existing share ID in a credential_delivery_unavailable problem.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/previews/{preview_id}/shares (the `CreateShare` operationId).
CreateShareWithBody(ctx context.Context, previewId PreviewID, params *CreateShareParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
//
// Capture the selected service IDs and entry_service_id from this preview. Later preview changes do not expand the share. Control returns the link and token source once; an identical retry returns the existing share ID in a credential_delivery_unavailable problem.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/previews/{preview_id}/shares (the `CreateShare` operationId).
CreateShare(ctx context.Context, previewId PreviewID, params *CreateShareParams, body CreateShareJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetPreviewTeamAccessWithBody Enable or disable team visitor access for this preview
//
// Set the preview's opt-in HTTP team access using current management authorization. Enabled access requires current team sign-in; it does not make services anonymous or authorize connectors, devices, or workloads.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/previews/{preview_id}/team-access (the `SetPreviewTeamAccess` operationId).
SetPreviewTeamAccessWithBody(ctx context.Context, previewId PreviewID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetPreviewTeamAccess Enable or disable team visitor access for this preview
//
// Set the preview's opt-in HTTP team access using current management authorization. Enabled access requires current team sign-in; it does not make services anonymous or authorize connectors, devices, or workloads.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/previews/{preview_id}/team-access (the `SetPreviewTeamAccess` operationId).
SetPreviewTeamAccess(ctx context.Context, previewId PreviewID, body SetPreviewTeamAccessJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListProjects List applied projects
//
// List active applied projects the current team manager may manage, ordered by project_key. Retired projects are omitted but remain readable by key. Summaries omit configuration, targets, and checkout paths. Read a project's configuration for its deployments, members, and editable declarations. Follow next_cursor unchanged; each page checks current access.
//
// Corresponds with GET /v1/projects (the `ListProjects` operationId).
ListProjects(ctx context.Context, params *ListProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResolveProjectSourceWithBody Resolve a project's portable source selector
//
// Compute the portable project key from a Git origin and repository-relative configuration path. No repository is fetched, configuration evaluated, or state created. Branches, checkout directories, and file contents do not affect the key. Use it with the configuration endpoint and send the source facts on first apply.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/resolve-source (the `ResolveProjectSource` operationId).
ResolveProjectSourceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResolveProjectSource Resolve a project's portable source selector
//
// Compute the portable project key from a Git origin and repository-relative configuration path. No repository is fetched, configuration evaluated, or state created. Branches, checkout directories, and file contents do not affect the key. Use it with the configuration endpoint and send the source facts on first apply.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/resolve-source (the `ResolveProjectSource` operationId).
ResolveProjectSource(ctx context.Context, body ResolveProjectSourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetProjectConfiguration Read a project's applied configuration and publisher status
//
// Read the normalized desired configuration and observed publisher revisions for the selected team and project. Requires current project management permission; the response can include targets and must not be exposed as public project metadata.
//
// Corresponds with GET /v1/projects/{project_key}/configuration (the `GetProjectConfiguration` operationId).
GetProjectConfiguration(ctx context.Context, projectKey string, params *GetProjectConfigurationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ApplyProjectConfigurationWithBody Apply a project's desired services and deployments
//
// Reconcile logical service declarations and one selected deployment's bindings and workload policies. Sibling deployments and local realizations are preserved; declarations cannot contradict retained bindings. On first apply, provide source facts; control computes the fingerprint and project TLS digests. Later applies may omit source to retain its binding. Changed content requires the current project revision; identical content is safe to replay. Targets remain encrypted and visible only to managers and scoped publishers.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/projects/{project_key}/configuration (the `ApplyProjectConfiguration` operationId).
ApplyProjectConfigurationWithBody(ctx context.Context, projectKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ApplyProjectConfiguration Apply a project's desired services and deployments
//
// Reconcile logical service declarations and one selected deployment's bindings and workload policies. Sibling deployments and local realizations are preserved; declarations cannot contradict retained bindings. On first apply, provide source facts; control computes the fingerprint and project TLS digests. Later applies may omit source to retain its binding. Changed content requires the current project revision; identical content is safe to replay. Targets remain encrypted and visible only to managers and scoped publishers.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/projects/{project_key}/configuration (the `ApplyProjectConfiguration` operationId).
ApplyProjectConfiguration(ctx context.Context, projectKey string, body ApplyProjectConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RegisterDeploymentCredentialWithBody Register scoped deployment permissions
//
// A current team manager registers one public signing key with independent manage and connect service allowlists. Runtime credentials cannot invoke this administration operation. The original request key and intent recover the same identity, grant and fixed deadline only while still current; recovery never restores revoked, expired or retired approval. This operation is outside the public runtime SDK allowlist.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{project_key}/deployment-credentials (the `RegisterDeploymentCredential` operationId).
RegisterDeploymentCredentialWithBody(ctx context.Context, projectKey string, params *RegisterDeploymentCredentialParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RegisterDeploymentCredential Register scoped deployment permissions
//
// A current team manager registers one public signing key with independent manage and connect service allowlists. Runtime credentials cannot invoke this administration operation. The original request key and intent recover the same identity, grant and fixed deadline only while still current; recovery never restores revoked, expired or retired approval. This operation is outside the public runtime SDK allowlist.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{project_key}/deployment-credentials (the `RegisterDeploymentCredential` operationId).
RegisterDeploymentCredential(ctx context.Context, projectKey string, params *RegisterDeploymentCredentialParams, body RegisterDeploymentCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDeployments List authorized deployments
//
// List authorized deployments in bytewise ID order. Current managers see this project's deployments. Management credentials see only approved deployments containing approved services, with other targets/services omitted; filtering precedes pagination. No publisher credentials or enrollment secrets are returned.
//
// Corresponds with GET /v1/projects/{project_key}/deployments (the `ListDeployments` operationId).
ListDeployments(ctx context.Context, projectKey string, params *ListDeploymentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDeploymentWithBody Create a saved deployment
//
// Create a deployment using existing logical project declarations. Requires a current team manager or a deployment-management credential explicitly approving all current/future deployments and every submitted service. The original Idempotency-Key is scoped to the acting person or machine identity and recovers the same committed deployment; a deleted deployment is never recreated by replay. Does not grant connect or publish capabilities.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{project_key}/deployments (the `CreateDeployment` operationId).
CreateDeploymentWithBody(ctx context.Context, projectKey string, params *CreateDeploymentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDeployment Create a saved deployment
//
// Create a deployment using existing logical project declarations. Requires a current team manager or a deployment-management credential explicitly approving all current/future deployments and every submitted service. The original Idempotency-Key is scoped to the acting person or machine identity and recovers the same committed deployment; a deleted deployment is never recreated by replay. Does not grant connect or publish capabilities.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{project_key}/deployments (the `CreateDeployment` operationId).
CreateDeployment(ctx context.Context, projectKey string, params *CreateDeploymentParams, body CreateDeploymentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteDeployment Retire a deployment
//
// Retire this deployment's saved services, enrollments, and publishers. Requires a current manager or management approval for the deployment and every binding it removes, plus the latest strong ETag. A filtered read is not permission to delete unapproved services. Sibling deployments and logical declarations are preserved.
//
// Corresponds with DELETE /v1/projects/{project_key}/deployments/{deployment} (the `DeleteDeployment` operationId).
DeleteDeployment(ctx context.Context, projectKey string, deployment string, params *DeleteDeploymentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDeployment Read one deployment
//
// Read a saved deployment with current manager or scoped deployment-management authority. Management credentials see only approved services/targets and cannot read unrelated deployments. The ETag still represents the whole deployment.
//
// Corresponds with GET /v1/projects/{project_key}/deployments/{deployment} (the `GetDeployment` operationId).
GetDeployment(ctx context.Context, projectKey string, deployment string, params *GetDeploymentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateDeploymentWithBody Update selected deployment targets
//
// Update selected existing targets/TLS on the same records used by manager apply. Requires a current manager or management approval for this deployment and every submitted service, plus the latest strong ETag. Omitted targets and policies remain unchanged. Stale conditions fail with 412; a missing condition fails with 428.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/projects/{project_key}/deployments/{deployment} (the `UpdateDeployment` operationId).
UpdateDeploymentWithBody(ctx context.Context, projectKey string, deployment string, params *UpdateDeploymentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateDeployment Update selected deployment targets
//
// Update selected existing targets/TLS on the same records used by manager apply. Requires a current manager or management approval for this deployment and every submitted service, plus the latest strong ETag. Omitted targets and policies remain unchanged. Stale conditions fail with 412; a missing condition fails with 428.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/projects/{project_key}/deployments/{deployment} (the `UpdateDeployment` operationId).
UpdateDeployment(ctx context.Context, projectKey string, deployment string, params *UpdateDeploymentParams, body UpdateDeploymentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RenameDeploymentNamespaceWithBody Replace a deployment's DNS namespace label
//
// Change the deployment's DNS label while keeping its IDs and ports. This closes old service runs and assigns new publication grants and certificate plans. Old names remain reserved until control finishes its certificate and DNS cleanup checks. The configuration key and separately configured public URLs do not change. Send the current expected revision; an identical retry with the same key returns the original result.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{project_key}/deployments/{deployment}/namespace/rename (the `RenameDeploymentNamespace` operationId).
RenameDeploymentNamespaceWithBody(ctx context.Context, projectKey string, deployment string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RenameDeploymentNamespace Replace a deployment's DNS namespace label
//
// Change the deployment's DNS label while keeping its IDs and ports. This closes old service runs and assigns new publication grants and certificate plans. Old names remain reserved until control finishes its certificate and DNS cleanup checks. The configuration key and separately configured public URLs do not change. Send the current expected revision; an identical retry with the same key returns the original result.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{project_key}/deployments/{deployment}/namespace/rename (the `RenameDeploymentNamespace` operationId).
RenameDeploymentNamespace(ctx context.Context, projectKey string, deployment string, body RenameDeploymentNamespaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDeploymentPublisherEnrollmentWithBody Approve scoped publisher enrollment
//
// Approve bounded publisher setup for selected existing services. Requires a current team manager or management approval for this deployment and every selected service. Setup cannot outlive the management grant. The original request key is scoped to the acting person or machine and recovers the same secret only while current authority, captured bindings, deadline, and remaining capacity are valid. Does not create AWS resources or grant general management/connect/namespace authority. Redeem through the existing deployment-publisher enrollment exchange.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{project_key}/deployments/{deployment}/publisher-enrollments (the `CreateDeploymentPublisherEnrollment` operationId).
CreateDeploymentPublisherEnrollmentWithBody(ctx context.Context, projectKey string, deployment string, params *CreateDeploymentPublisherEnrollmentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDeploymentPublisherEnrollment Approve scoped publisher enrollment
//
// Approve bounded publisher setup for selected existing services. Requires a current team manager or management approval for this deployment and every selected service. Setup cannot outlive the management grant. The original request key is scoped to the acting person or machine and recovers the same secret only while current authority, captured bindings, deadline, and remaining capacity are valid. Does not create AWS resources or grant general management/connect/namespace authority. Redeem through the existing deployment-publisher enrollment exchange.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{project_key}/deployments/{deployment}/publisher-enrollments (the `CreateDeploymentPublisherEnrollment` operationId).
CreateDeploymentPublisherEnrollment(ctx context.Context, projectKey string, deployment string, params *CreateDeploymentPublisherEnrollmentParams, body CreateDeploymentPublisherEnrollmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDeploymentPublishers List a deployment's publishers
//
// List authorized publishers in this deployment, including revoked identities and retained observations. A management credential sees only scoped publishers whose entire captured service/protocol approval it covers; filtering precedes pagination. Legacy whole-deployment publishers require a current manager. No enrollment secrets or targets are returned.
//
// Corresponds with GET /v1/projects/{project_key}/deployments/{deployment}/publishers (the `ListDeploymentPublishers` operationId).
ListDeploymentPublishers(ctx context.Context, projectKey string, deployment string, params *ListDeploymentPublishersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RevokeDeploymentPublisher Revoke one deployment publisher
//
// Revoke exactly this publisher identity, its grants, leases, and current publications. Requires a current manager or management approval covering this deployment and the publisher's entire captured service/protocol scope. Legacy whole-deployment publishers require a manager. Repetition is safe; the last observation is retained. Siblings and shared enrollment capacity are unchanged. Apply and enrollment replay cannot restore the revoked identity.
//
// Corresponds with DELETE /v1/projects/{project_key}/deployments/{deployment}/publishers/{publisher} (the `RevokeDeploymentPublisher` operationId).
RevokeDeploymentPublisher(ctx context.Context, projectKey string, deployment string, publisher string, params *RevokeDeploymentPublisherParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDeploymentPublisher Read one deployment publisher
//
// Read one publisher's captured scope and observation with exact deployment ownership. Requires a current manager or management approval covering this deployment and the publisher's entire captured service/protocol scope. Legacy whole-deployment publishers require a manager.
//
// Corresponds with GET /v1/projects/{project_key}/deployments/{deployment}/publishers/{publisher} (the `GetDeploymentPublisher` operationId).
GetDeploymentPublisher(ctx context.Context, projectKey string, deployment string, publisher string, params *GetDeploymentPublisherParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RenameDeploymentWithBody Rename a deployment's configuration selector without changing endpoints
//
// Rename the configuration key without changing the deployment's ID, namespace, services, ports, or publisher grants. Old selectors remain reserved for this deployment. Update project configuration before the next apply; retrying a completed rename is safe.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{project_key}/deployments/{deployment}/rename (the `RenameDeployment` operationId).
RenameDeploymentWithBody(ctx context.Context, projectKey string, deployment string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RenameDeployment Rename a deployment's configuration selector without changing endpoints
//
// Rename the configuration key without changing the deployment's ID, namespace, services, ports, or publisher grants. Old selectors remain reserved for this deployment. Update project configuration before the next apply; retrying a completed rename is safe.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{project_key}/deployments/{deployment}/rename (the `RenameDeployment` operationId).
RenameDeployment(ctx context.Context, projectKey string, deployment string, body RenameDeploymentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AllocateDeploymentPublicationWithBody Allocate an approved temporary HTTP service
//
// Allocate an ephemeral HTTP service in this deployment's namespace. Temporary approval is independent of named publication, management and connection approval. Anonymous visitor policy requires anonymous approval. Exact retries recover only the original live service, never a replacement or extended deadline. Delete through the publisher service operation.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{project_key}/deployments/{deployment}/services (the `AllocateDeploymentPublication` operationId).
AllocateDeploymentPublicationWithBody(ctx context.Context, projectKey string, deployment string, params *AllocateDeploymentPublicationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AllocateDeploymentPublication Allocate an approved temporary HTTP service
//
// Allocate an ephemeral HTTP service in this deployment's namespace. Temporary approval is independent of named publication, management and connection approval. Anonymous visitor policy requires anonymous approval. Exact retries recover only the original live service, never a replacement or extended deadline. Delete through the publisher service operation.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{project_key}/deployments/{deployment}/services (the `AllocateDeploymentPublication` operationId).
AllocateDeploymentPublication(ctx context.Context, projectKey string, deployment string, params *AllocateDeploymentPublicationParams, body AllocateDeploymentPublicationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDeploymentPublication Resolve an approved HTTP service for publication
//
// Resolve one named HTTP service without management authority. The current signed credential must independently approve publication of this exact binding in this deployment. Selection does not issue another grant or permit changes to the service's endpoint or visitor policy.
//
// Corresponds with GET /v1/projects/{project_key}/deployments/{deployment}/services/{service}/publication (the `GetDeploymentPublication` operationId).
GetDeploymentPublication(ctx context.Context, projectKey string, deployment string, service string, params *GetDeploymentPublicationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SelectDeploymentServiceRunWithBody Select an authorized deployment service run
//
// Resolve one service name in one selected deployment and select a ready publication using current visitor authority. Returns only visitor endpoint, protocol and source-bound connection hints, never targets or management data. Device sources require their control session; workload and registered-key sources supply their credential in the body without an Authorization header. Management approval alone grants no access.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{project_key}/deployments/{deployment}/services/{service}/select (the `SelectDeploymentServiceRun` operationId).
SelectDeploymentServiceRunWithBody(ctx context.Context, projectKey string, deployment string, service string, params *SelectDeploymentServiceRunParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SelectDeploymentServiceRun Select an authorized deployment service run
//
// Resolve one service name in one selected deployment and select a ready publication using current visitor authority. Returns only visitor endpoint, protocol and source-bound connection hints, never targets or management data. Device sources require their control session; workload and registered-key sources supply their credential in the body without an Authorization header. Management approval alone grants no access.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{project_key}/deployments/{deployment}/services/{service}/select (the `SelectDeploymentServiceRun` operationId).
SelectDeploymentServiceRun(ctx context.Context, projectKey string, deployment string, service string, params *SelectDeploymentServiceRunParams, body SelectDeploymentServiceRunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetLocalProjectService Resolve one existing source-bound worktree service
//
// Read the existing service for this team, source, service key, and worktree. Requires visitor access, not project management permission. Returns identity and visitor protocol/TLS metadata, never targets or credentials. It does not create a service or search other worktrees or names. Missing or unauthorized bindings return 404; an authorized source mismatch returns 409.
//
// Corresponds with GET /v1/projects/{project_key}/local-services/{service} (the `GetLocalProjectService` operationId).
GetLocalProjectService(ctx context.Context, projectKey string, service string, params *GetLocalProjectServiceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RealizeLocalProjectServiceWithBody Realize one declared local service for a worktree
//
// Create or reuse one service for this source and worktree. Private services get worktree-specific names; saved services are never adopted by name. A public URL must already belong to this runtime and the caller's membership or personal team; organization-shared and other members' URLs are rejected. If configuration was applied, the declaration must match it. Remote deployments are unchanged.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/projects/{project_key}/local-services/{service} (the `RealizeLocalProjectService` operationId).
RealizeLocalProjectServiceWithBody(ctx context.Context, projectKey string, service string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RealizeLocalProjectService Realize one declared local service for a worktree
//
// Create or reuse one service for this source and worktree. Private services get worktree-specific names; saved services are never adopted by name. A public URL must already belong to this runtime and the caller's membership or personal team; organization-shared and other members' URLs are rejected. If configuration was applied, the declaration must match it. Remote deployments are unchanged.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/projects/{project_key}/local-services/{service} (the `RealizeLocalProjectService` operationId).
RealizeLocalProjectService(ctx context.Context, projectKey string, service string, body RealizeLocalProjectServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetProjectPublicMetadata Read visitor-safe project service identities and hostnames
//
// Read public service IDs and hostnames for this project's worktrees. Visitors see only services they may visit; project managers see all public services. A service key can appear once per worktree. Targets, configuration, trust, grants, and publisher data are omitted.
//
// Corresponds with GET /v1/projects/{project_key}/public-metadata (the `GetProjectPublicMetadata` operationId).
GetProjectPublicMetadata(ctx context.Context, projectKey string, params *GetProjectPublicMetadataParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RetireProjectWithBody Retire an applied project and its configuration-owned resources
//
// Require current team manager access and the current revision. Atomically remove declared services and worktree realizations, close their runs, revoke their publisher and visitor grants, retire deployments, revoke workload sessions, and omit the project from active discovery. Keep its source binding, saved label, and incremented revision. An exact retry returns the retired record. Reads by project key still work; applying with the retired record's exact revision reactivates it under normal allocation rules. Previews, shares, feedback, and independently managed OAuth or webhook public URLs are separate lifecycles and are not deleted. This does not stop local applications or installed operating-system jobs.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects/{project_key}/retire (the `RetireProject` operationId).
RetireProjectWithBody(ctx context.Context, projectKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RetireProject Retire an applied project and its configuration-owned resources
//
// Require current team manager access and the current revision. Atomically remove declared services and worktree realizations, close their runs, revoke their publisher and visitor grants, retire deployments, revoke workload sessions, and omit the project from active discovery. Keep its source binding, saved label, and incremented revision. An exact retry returns the retired record. Reads by project key still work; applying with the retired record's exact revision reactivates it under normal allocation rules. Previews, shares, feedback, and independently managed OAuth or webhook public URLs are separate lifecycles and are not deleted. This does not stop local applications or installed operating-system jobs.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects/{project_key}/retire (the `RetireProject` operationId).
RetireProject(ctx context.Context, projectKey string, body RetireProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetProjectService Resolve an applied service by project source and key
//
// Resolve a service by its exact Git source, deployment, and logical service key using current visitor access. Does not return targets or require project-manager permission. Never searches another deployment or adopts a same-named service.
//
// Corresponds with GET /v1/projects/{project_key}/services/{service} (the `GetProjectService` operationId).
GetProjectService(ctx context.Context, projectKey string, service ServiceName, params *GetProjectServiceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetProjectStatus Inspect project publications across worktrees and deployments
//
// Read a manager-only snapshot of declared services, realized worktree resources, and open publications. Each publication appears separately; an idle resource or unrealized declaration appears once. Follow next_cursor with the same project, team, and identity. Readiness describes control's current lease, certificate, and relay observations, not a fresh visitor probe. Targets, credentials, and checkout paths are omitted.
//
// Corresponds with GET /v1/projects/{project_key}/status (the `GetProjectStatus` operationId).
GetProjectStatus(ctx context.Context, projectKey string, params *GetProjectStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreatePublisherEnrollmentWithBody Issue an expiring one-use publisher enrollment
//
// Issue an expiring one-use enrollment secret under current management authorization. Enrollment installs a publisher's signing key for the selected scope; it is separate from exchanging signed assertions for short-lived publisher access tokens.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/publisher-enrollments (the `CreatePublisherEnrollment` operationId).
CreatePublisherEnrollmentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreatePublisherEnrollment Issue an expiring one-use publisher enrollment
//
// Issue an expiring one-use enrollment secret under current management authorization. Enrollment installs a publisher's signing key for the selected scope; it is separate from exchanging signed assertions for short-lived publisher access tokens.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/publisher-enrollments (the `CreatePublisherEnrollment` operationId).
CreatePublisherEnrollment(ctx context.Context, body CreatePublisherEnrollmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListPublisherIdentities List publisher identities and grants without secrets
//
// Read a cursor-paginated inventory of publisher identities and their grants for a manageable team. Responses omit enrollment secrets and private signing keys; an inventory entry is not a publisher credential.
//
// Corresponds with GET /v1/publisher-identities (the `ListPublisherIdentities` operationId).
ListPublisherIdentities(ctx context.Context, params *ListPublisherIdentitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RevokePublisherIdentity Revoke an identity independently of its grants
//
// Revoke an exact publisher identity under current team management authorization. Identity revocation invalidates its publishing authority independently of any individual grant record.
//
// Corresponds with DELETE /v1/publisher-identities/{publisher_identity_id} (the `RevokePublisherIdentity` operationId).
RevokePublisherIdentity(ctx context.Context, publisherIdentityId PublisherIdentityID, params *RevokePublisherIdentityParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreatePublisherGrantWithBody Add one authorized scope to a publisher identity
//
// Create a revocable publisher grant using current management authorization for the selected scope. The grant identifies what the native publisher may serve; it is not a visitor grant or a control session.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/publisher-identities/{publisher_identity_id}/grants (the `CreatePublisherGrant` operationId).
CreatePublisherGrantWithBody(ctx context.Context, publisherIdentityId PublisherIdentityID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreatePublisherGrant Add one authorized scope to a publisher identity
//
// Create a revocable publisher grant using current management authorization for the selected scope. The grant identifies what the native publisher may serve; it is not a visitor grant or a control session.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/publisher-identities/{publisher_identity_id}/grants (the `CreatePublisherGrant` operationId).
CreatePublisherGrant(ctx context.Context, publisherIdentityId PublisherIdentityID, body CreatePublisherGrantJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RevokePublisherGrant Revoke one publisher grant without revoking the identity
//
// Revoke the named grant under current team management authorization. Other grants on the identity remain separate; the revoked grant can no longer authorize current publishing work.
//
// Corresponds with DELETE /v1/publisher-identities/{publisher_identity_id}/grants/{grant_id} (the `RevokePublisherGrant` operationId).
RevokePublisherGrant(ctx context.Context, publisherIdentityId PublisherIdentityID, grantId ResourceID, params *RevokePublisherGrantParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDeploymentPublisherAssignments Read services and grants assigned to one leased deployment replica
//
// Read the replica's assigned services and publisher grants using its current dpl_lease_ lease. By default returns socket targets only; app_owned=true returns only app-owned bindings. A pta_ publisher token cannot read them.
//
// Corresponds with GET /v1/publisher/deployments/assignments (the `GetDeploymentPublisherAssignments` operationId).
GetDeploymentPublisherAssignments(ctx context.Context, params *GetDeploymentPublisherAssignmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AcknowledgeDeploymentPublisherConfigurationWithBody Acknowledge the exact configuration installed by a deployment replica
//
// Report the installed configuration revision, hash, and health using the replica's current dpl_lease_ lease. Stale or mismatched configuration is rejected; a pta_ publisher token cannot acknowledge it.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/publisher/deployments/configuration-acknowledgements (the `AcknowledgeDeploymentPublisherConfiguration` operationId).
AcknowledgeDeploymentPublisherConfigurationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AcknowledgeDeploymentPublisherConfiguration Acknowledge the exact configuration installed by a deployment replica
//
// Report the installed configuration revision, hash, and health using the replica's current dpl_lease_ lease. Stale or mismatched configuration is rejected; a pta_ publisher token cannot acknowledge it.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/publisher/deployments/configuration-acknowledgements (the `AcknowledgeDeploymentPublisherConfiguration` operationId).
AcknowledgeDeploymentPublisherConfiguration(ctx context.Context, body AcknowledgeDeploymentPublisherConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RedeemDeploymentPublisherEnrollmentWithBody Enroll a replica's signing key with a deployment enrollment secret
//
// Register a replica's Ed25519 public key using enrollment_key in the body. Retrying the same key returns the same membership without consuming more enrollment capacity.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/publisher/deployments/enroll (the `RedeemDeploymentPublisherEnrollment` operationId).
RedeemDeploymentPublisherEnrollmentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RedeemDeploymentPublisherEnrollment Enroll a replica's signing key with a deployment enrollment secret
//
// Register a replica's Ed25519 public key using enrollment_key in the body. Retrying the same key returns the same membership without consuming more enrollment capacity.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/publisher/deployments/enroll (the `RedeemDeploymentPublisherEnrollment` operationId).
RedeemDeploymentPublisherEnrollment(ctx context.Context, body RedeemDeploymentPublisherEnrollmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AcquireDeploymentPublisherLeaseWithBody Exchange a signed replica assertion for a deployment lease
//
// Exchange a one-use signed assertion in the body for a dpl_lease_ deployment lease. The assertion's audience is this endpoint's full control URL, and its grant claim is the deployment ID.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/publisher/deployments/lease (the `AcquireDeploymentPublisherLease` operationId).
AcquireDeploymentPublisherLeaseWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AcquireDeploymentPublisherLease Exchange a signed replica assertion for a deployment lease
//
// Exchange a one-use signed assertion in the body for a dpl_lease_ deployment lease. The assertion's audience is this endpoint's full control URL, and its grant claim is the deployment ID.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/publisher/deployments/lease (the `AcquireDeploymentPublisherLease` operationId).
AcquireDeploymentPublisherLease(ctx context.Context, body AcquireDeploymentPublisherLeaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// VerifyDeploymentIdentityWithBody Verify a replica's deployment membership without acquiring a lease
//
// Verify deployment membership using a one-use signed assertion in the body. Its audience is this endpoint's full control URL. Returns current and historical selectors without replacing the running publisher's deployment lease.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/publisher/deployments/verify (the `VerifyDeploymentIdentity` operationId).
VerifyDeploymentIdentityWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// VerifyDeploymentIdentity Verify a replica's deployment membership without acquiring a lease
//
// Verify deployment membership using a one-use signed assertion in the body. Its audience is this endpoint's full control URL. Returns current and historical selectors without replacing the running publisher's deployment lease.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/publisher/deployments/verify (the `VerifyDeploymentIdentity` operationId).
VerifyDeploymentIdentity(ctx context.Context, body VerifyDeploymentIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// InspectPublisherRuntimeWithBody Inspect a publisher runtime
//
// Read the runtime epoch without recording an address. Send a one-use signed assertion for this endpoint in the body. The body's publisher identity and action must match the route.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/publisher/runtimes/{publisher_identity_id}/inspect (the `InspectPublisherRuntime` operationId).
InspectPublisherRuntimeWithBody(ctx context.Context, publisherIdentityId PublisherIdentityID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// InspectPublisherRuntime Inspect a publisher runtime
//
// Read the runtime epoch without recording an address. Send a one-use signed assertion for this endpoint in the body. The body's publisher identity and action must match the route.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/publisher/runtimes/{publisher_identity_id}/inspect (the `InspectPublisherRuntime` operationId).
InspectPublisherRuntime(ctx context.Context, publisherIdentityId PublisherIdentityID, body InspectPublisherRuntimeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RenewPublisherRuntimeWithBody Renew a publisher runtime
//
// Renew the current process run and epoch using a one-use signed assertion for this endpoint. The body's publisher identity and action must match the route. Deployment runtimes also receive a deployment lease.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/publisher/runtimes/{publisher_identity_id}/renew (the `RenewPublisherRuntime` operationId).
RenewPublisherRuntimeWithBody(ctx context.Context, publisherIdentityId PublisherIdentityID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RenewPublisherRuntime Renew a publisher runtime
//
// Renew the current process run and epoch using a one-use signed assertion for this endpoint. The body's publisher identity and action must match the route. Deployment runtimes also receive a deployment lease.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/publisher/runtimes/{publisher_identity_id}/renew (the `RenewPublisherRuntime` operationId).
RenewPublisherRuntime(ctx context.Context, publisherIdentityId PublisherIdentityID, body RenewPublisherRuntimeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// StartPublisherRuntimeWithBody Start a publisher runtime
//
// Start a process run if the inspected epoch still matches. Send a one-use signed assertion for this endpoint in the body, with matching publisher identity and action. After an uncertain response, keep the same process run and expected epoch but use a fresh assertion. Deployment runtimes also receive a deployment lease.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/publisher/runtimes/{publisher_identity_id}/start (the `StartPublisherRuntime` operationId).
StartPublisherRuntimeWithBody(ctx context.Context, publisherIdentityId PublisherIdentityID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// StartPublisherRuntime Start a publisher runtime
//
// Start a process run if the inspected epoch still matches. Send a one-use signed assertion for this endpoint in the body, with matching publisher identity and action. After an uncertain response, keep the same process run and expected epoch but use a fresh assertion. Deployment runtimes also receive a deployment lease.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/publisher/runtimes/{publisher_identity_id}/start (the `StartPublisherRuntime` operationId).
StartPublisherRuntime(ctx context.Context, publisherIdentityId PublisherIdentityID, body StartPublisherRuntimeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// StopPublisherRuntimeWithBody Stop a publisher runtime
//
// Stop the current process run and epoch using a one-use signed assertion for this endpoint. The body's publisher identity and action must match the route.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/publisher/runtimes/{publisher_identity_id}/stop (the `StopPublisherRuntime` operationId).
StopPublisherRuntimeWithBody(ctx context.Context, publisherIdentityId PublisherIdentityID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// StopPublisherRuntime Stop a publisher runtime
//
// Stop the current process run and epoch using a one-use signed assertion for this endpoint. The body's publisher identity and action must match the route.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/publisher/runtimes/{publisher_identity_id}/stop (the `StopPublisherRuntime` operationId).
StopPublisherRuntime(ctx context.Context, publisherIdentityId PublisherIdentityID, body StopPublisherRuntimeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AllocatePublisherServiceWithBody Allocate a temporary HTTP service
//
// The current namespace grant retains ownership. Allocation issues no child grant or signing key.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/publisher/services (the `AllocatePublisherService` operationId).
AllocatePublisherServiceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AllocatePublisherService Allocate a temporary HTTP service
//
// The current namespace grant retains ownership. Allocation issues no child grant or signing key.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/publisher/services (the `AllocatePublisherService` operationId).
AllocatePublisherService(ctx context.Context, body AllocatePublisherServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeletePublisherService Delete this credential's exact temporary service allocation
//
// Requires the durable allocation owner and current publication permission. Named or sibling services cannot be deleted through this operation.
//
// Corresponds with DELETE /v1/publisher/services/{service_id} (the `DeletePublisherService` operationId).
DeletePublisherService(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPublisherService Read one service covered by the current publisher grant
//
// Read the selected service's approved protocol and target TLS trust metadata. Control checks current publication permission for this exact service without changing the credential's grant. The publisher must declare its own matching configuration when preparing a run.
//
// Corresponds with GET /v1/publisher/services/{service_id} (the `GetPublisherService` operationId).
GetPublisherService(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*http.Response, error)
// WatchPublisherRunsWithBody Wait for changes to exact, authenticated service runs
//
// Each subscription supplies its own run token and last applied connector revision. The response is a hint to fetch and apply authorized state, not a grant or a renewal. An empty response means the wait ended without a detected change; it does not confirm serving authority.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/publisher/watch (the `WatchPublisherRuns` operationId).
WatchPublisherRunsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// WatchPublisherRuns Wait for changes to exact, authenticated service runs
//
// Each subscription supplies its own run token and last applied connector revision. The response is a hint to fetch and apply authorized state, not a grant or a renewal. An empty response means the wait ended without a detected change; it does not confirm serving authority.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/publisher/watch (the `WatchPublisherRuns` operationId).
WatchPublisherRuns(ctx context.Context, body WatchPublisherRunsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetReadiness Confirm that the tnld role is ready to serve
//
// Check the configured tnld role's readiness without a credential. An unready process returns the same readiness shape with HTTP 503 rather than a successful health check.
//
// Corresponds with GET /v1/ready (the `GetReadiness` operationId).
GetReadiness(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetServiceByHostname Read one saved service by its exact hostname
//
// Requires management authority for the service in the selected team. This lookup never creates or claims an address.
//
// Corresponds with GET /v1/service-addresses/{hostname} (the `GetServiceByHostname` operationId).
GetServiceByHostname(ctx context.Context, hostname string, params *GetServiceByHostnameParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AcceptServiceInvitationWithBody Accept an invitation for the signed-in verified email identity
//
// Exchange the one-use invitation secret under the current signed-in identity. Control verifies the recipient email and creates an exact-service identity grant; acceptance grants no management or publisher permission.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/service-invitations/accept (the `AcceptServiceInvitation` operationId).
AcceptServiceInvitationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AcceptServiceInvitation Accept an invitation for the signed-in verified email identity
//
// Exchange the one-use invitation secret under the current signed-in identity. Control verifies the recipient email and creates an exact-service identity grant; acceptance grants no management or publisher permission.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/service-invitations/accept (the `AcceptServiceInvitation` operationId).
AcceptServiceInvitation(ctx context.Context, body AcceptServiceInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListServices List manageable saved services in one team
//
// Administrator-only team inventory; exact member service ownership does not authorize this operation. Never returns target addresses or stream keys.
//
// Corresponds with GET /v1/services (the `ListServices` operationId).
ListServices(ctx context.Context, params *ListServicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateServiceWithBody Create one saved service with approved protocol and placement
//
// Save a service name, protocol, target TLS trust, and optional source-bound worktree placement. Ordinary creation requires current team administration. With reserve true, create or recover only the exact eligible standalone service in an authorized namespace, using current membership, company sign-in, domain, and stored ownership. Recovery never adopts a project, deployment, worktree, or allocated service and never replaces saved declaration or policy. Each idempotency key remains bound to its normalized request and service lifetime. Creating or recovering a service does not issue a publisher grant, start a service run, or issue a certificate.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/services (the `CreateService` operationId).
CreateServiceWithBody(ctx context.Context, params *CreateServiceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateService Create one saved service with approved protocol and placement
//
// Save a service name, protocol, target TLS trust, and optional source-bound worktree placement. Ordinary creation requires current team administration. With reserve true, create or recover only the exact eligible standalone service in an authorized namespace, using current membership, company sign-in, domain, and stored ownership. Recovery never adopts a project, deployment, worktree, or allocated service and never replaces saved declaration or policy. Each idempotency key remains bound to its normalized request and service lifetime. Creating or recovering a service does not issue a publisher grant, start a service run, or issue a certificate.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/services (the `CreateService` operationId).
CreateService(ctx context.Context, params *CreateServiceParams, body CreateServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteService Delete a saved service and revoke its active publication
//
// Ordinary management deletion requires exactly one of expected_service_revision from the current getService response or unconditional_delete=true. Neither or both is invalid; a stale revision conflicts before closing runs or changing any state. The service revision covers saved metadata, configuration, enablement, and endpoint settings independently of trust and configuration-digest checks. Revoke access and close any run before tombstoning its ID-keyed ingress projection. A current trial credential may delete only its exact owned demo service without either management condition after control verifies the server-observed source; READY exhaustion does not prevent cleanup within the fixed trial lifetime. A publisher grant, run token, or share is not management permission. Guest cleanup uses this same closure, settlement, and endpoint retirement; outstanding offline serving authority remains fenced.
//
// Corresponds with DELETE /v1/services/{service_id} (the `DeleteService` operationId).
DeleteService(ctx context.Context, serviceId ServiceID, params *DeleteServiceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetService Read one saved service for management
//
// Read a service's saved identity and approved protocol/TLS metadata using current management permission. For visitor-only discovery, use listAvailableServices or getProjectService instead.
//
// Corresponds with GET /v1/services/{service_id} (the `GetService` operationId).
GetService(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConfigureServiceWithBody Replace a service's approved settings and standalone declaration
//
// Replace the approved protocol, publisher-pool setting, and target TLS trust. Send trust_revision as expected_trust_revision; omit target_tls to remove it. Supplied configuration atomically replaces a standalone service's whole declaration, including its target, endpoint selectors, HTTP visitor policy, and request limits, without replacing the service ID. Omitted settings return to defaults rather than retaining old values. Protocol and target TLS must agree with the declaration. Every configuration replacement must send the unquoted getServiceConfiguration ETag token as expected_configuration_digest, or explicitly send unconditional_configuration: true instead; sending neither or both is invalid. A digest mismatch conflicts before any service write, independently of expected_trust_revision. Omitting configuration is a metadata-only update and retains the declaration. Allocated invocation intent and project-managed definitions remain protected. Endpoint changes preserve authorized connector runs; protocol or target-trust changes fence old runs. Publishers must declare matching trust when preparing later runs.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/services/{service_id} (the `ConfigureService` operationId).
ConfigureServiceWithBody(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConfigureService Replace a service's approved settings and standalone declaration
//
// Replace the approved protocol, publisher-pool setting, and target TLS trust. Send trust_revision as expected_trust_revision; omit target_tls to remove it. Supplied configuration atomically replaces a standalone service's whole declaration, including its target, endpoint selectors, HTTP visitor policy, and request limits, without replacing the service ID. Omitted settings return to defaults rather than retaining old values. Protocol and target TLS must agree with the declaration. Every configuration replacement must send the unquoted getServiceConfiguration ETag token as expected_configuration_digest, or explicitly send unconditional_configuration: true instead; sending neither or both is invalid. A digest mismatch conflicts before any service write, independently of expected_trust_revision. Omitting configuration is a metadata-only update and retains the declaration. Allocated invocation intent and project-managed definitions remain protected. Endpoint changes preserve authorized connector runs; protocol or target-trust changes fence old runs. Publishers must declare matching trust when preparing later runs.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/services/{service_id} (the `ConfigureService` operationId).
ConfigureService(ctx context.Context, serviceId ServiceID, body ConfigureServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// IssueServiceClientCertificateWithBody Issue a service-scoped client certificate for an enrolled device
//
// Submit the client's CSR using the current signed-in visitor identity and an enrolled device ID. Control checks exact-service access; the private key stays with the client, and this certificate grants no management authority.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/services/{service_id}/client-certificates (the `IssueServiceClientCertificate` operationId).
IssueServiceClientCertificateWithBody(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// IssueServiceClientCertificate Issue a service-scoped client certificate for an enrolled device
//
// Submit the client's CSR using the current signed-in visitor identity and an enrolled device ID. Control checks exact-service access; the private key stays with the client, and this certificate grants no management authority.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/services/{service_id}/client-certificates (the `IssueServiceClientCertificate` operationId).
IssueServiceClientCertificate(ctx context.Context, serviceId ServiceID, body IssueServiceClientCertificateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetServiceConfiguration Read one service's protected saved declaration
//
// Requires current exact-service management permission, including current membership and company sign-in where required. Returns the canonical normalized ProjectServiceConfiguration directly, or 204 when the service legitimately has no declaration. Both successful responses include a strong ETag containing a sha256 digest token; absence has its own deterministic digest. Use the unquoted token as expected_configuration_digest when replacing a read declaration. The digest is independent of trust, endpoint, and visitor-policy revisions. This read does not create state or grant mutation permission for allocated or project-managed declarations. Publisher credentials, visitor grants, shares, and guest credentials do not authorize it. Targets and private configuration never appear in inventory or publisher metadata.
//
// Corresponds with GET /v1/services/{service_id}/configuration (the `GetServiceConfiguration` operationId).
GetServiceConfiguration(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*http.Response, error)
// PrepareConnectorPeerPairWithBody Prepare a signed connector pair for an exact ready service run
//
// Create or replace a pair for the selected service run using the device or workload signature. Device sources require the matching control session. Workload sources use the body credential and must omit Authorization, including empty headers. Control rechecks current access and both relay leases; a selection snapshot is not permission.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/services/{service_id}/connector-peer-pairs (the `PrepareConnectorPeerPair` operationId).
PrepareConnectorPeerPairWithBody(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PrepareConnectorPeerPair Prepare a signed connector pair for an exact ready service run
//
// Create or replace a pair for the selected service run using the device or workload signature. Device sources require the matching control session. Workload sources use the body credential and must omit Authorization, including empty headers. Control rechecks current access and both relay leases; a selection snapshot is not permission.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/services/{service_id}/connector-peer-pairs (the `PrepareConnectorPeerPair` operationId).
PrepareConnectorPeerPair(ctx context.Context, serviceId ServiceID, body PrepareConnectorPeerPairJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RebindConnectorPeerPairWithBody Inspect or change a retained connector pair's network binding
//
// Inspect, prepare, activate, or abort a network binding for an existing connector owner. Sign with the same source key. Device sources require the matching control session; workload sources use the body credential and must omit Authorization, including empty headers. This cannot select another run or revive an expired owner. Only stale_network_binding permits recovery by inspecting retained state; other authorization failures are terminal.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/services/{service_id}/connector-peer-pairs/{pair_id}/rebind (the `RebindConnectorPeerPair` operationId).
RebindConnectorPeerPairWithBody(ctx context.Context, serviceId ServiceID, pairId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RebindConnectorPeerPair Inspect or change a retained connector pair's network binding
//
// Inspect, prepare, activate, or abort a network binding for an existing connector owner. Sign with the same source key. Device sources require the matching control session; workload sources use the body credential and must omit Authorization, including empty headers. This cannot select another run or revive an expired owner. Only stale_network_binding permits recovery by inspecting retained state; other authorization failures are terminal.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/services/{service_id}/connector-peer-pairs/{pair_id}/rebind (the `RebindConnectorPeerPair` operationId).
RebindConnectorPeerPair(ctx context.Context, serviceId ServiceID, pairId string, body RebindConnectorPeerPairJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RenewConnectorPeerPairWithBody Renew an exact signed connector pair and visitor permission
//
// Renew the existing pair and visitor permission together, without selecting another run. The signature must prove the same device or workload key. Device sources require the matching control session; workload sources use the body credential and must omit Authorization, including empty headers. The response contains the pair lease, run validity, and visitor permission from that decision.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/services/{service_id}/connector-peer-pairs/{pair_id}/renew (the `RenewConnectorPeerPair` operationId).
RenewConnectorPeerPairWithBody(ctx context.Context, serviceId ServiceID, pairId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RenewConnectorPeerPair Renew an exact signed connector pair and visitor permission
//
// Renew the existing pair and visitor permission together, without selecting another run. The signature must prove the same device or workload key. Device sources require the matching control session; workload sources use the body credential and must omit Authorization, including empty headers. The response contains the pair lease, run validity, and visitor permission from that decision.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/services/{service_id}/connector-peer-pairs/{pair_id}/renew (the `RenewConnectorPeerPair` operationId).
RenewConnectorPeerPair(ctx context.Context, serviceId ServiceID, pairId string, body RenewConnectorPeerPairJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RetireConnectorPeerPairWithBody Retire one exact connector pair without renewing serving authority
//
// Authenticate with the original enrolled signing key and the exact pair's existing stable session-key MAC. Omit Authorization entirely, including empty headers. No current parent credential or serving permission is required. Sign the handwritten ConnectorPeerPairRetireProof bytes, not this HTTP JSON object. Retirement ends this pair across network rebinds, never a sibling or replacement pair. Retain the identical signed body and owner key after an uncertain reply. Confirmation is bounded by the unchanged max(expires_at, replay_fence_until); missing, replaced, or retention-expired pairs are not confirmed retired. A successful response proves a committed retirement, not publisher observation, remote join, or delivery of a terminal result.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/services/{service_id}/connector-peer-pairs/{pair_id}/retire (the `RetireConnectorPeerPair` operationId).
RetireConnectorPeerPairWithBody(ctx context.Context, serviceId ServiceID, pairId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RetireConnectorPeerPair Retire one exact connector pair without renewing serving authority
//
// Authenticate with the original enrolled signing key and the exact pair's existing stable session-key MAC. Omit Authorization entirely, including empty headers. No current parent credential or serving permission is required. Sign the handwritten ConnectorPeerPairRetireProof bytes, not this HTTP JSON object. Retirement ends this pair across network rebinds, never a sibling or replacement pair. Retain the identical signed body and owner key after an uncertain reply. Confirmation is bounded by the unchanged max(expires_at, replay_fence_until); missing, replaced, or retention-expired pairs are not confirmed retired. A successful response proves a committed retirement, not publisher observation, remote join, or delivery of a terminal result.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/services/{service_id}/connector-peer-pairs/{pair_id}/retire (the `RetireConnectorPeerPair` operationId).
RetireConnectorPeerPair(ctx context.Context, serviceId ServiceID, pairId string, body RetireConnectorPeerPairJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetServiceEnabledWithBody Suspend or enable a saved service
//
// Change operational availability using current stored management authority. Suspension closes current runs while retaining the service ID, declaration, publisher and visitor grants, endpoint reservations, and project or deployment ownership. Enabling allows new authorized runs; it never reopens closed runs or restores revoked permission. Works for project-managed services without editing their declarations. Guest trial credentials and publisher grants do not grant this management operation.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/services/{service_id}/enabled (the `SetServiceEnabled` operationId).
SetServiceEnabledWithBody(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetServiceEnabled Suspend or enable a saved service
//
// Change operational availability using current stored management authority. Suspension closes current runs while retaining the service ID, declaration, publisher and visitor grants, endpoint reservations, and project or deployment ownership. Enabling allows new authorized runs; it never reopens closed runs or restores revoked permission. Works for project-managed services without editing their declarations. Guest trial credentials and publisher grants do not grant this management operation.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/services/{service_id}/enabled (the `SetServiceEnabled` operationId).
SetServiceEnabled(ctx context.Context, serviceId ServiceID, body SetServiceEnabledJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReleaseServiceEndpointWithBody Retire a disabled service's public port reservation
//
// Requires current service management permission, public access already disabled, and completed managed DNS cleanup. Send the current trust revision and exact positive reserved port. Closes old runs and advances trust revision while preserving the service, hostname, grants, and machine-local connector assignments. Capacity stays quarantined for at least seven days and until old certificate, issuance, and authorization work is settled. Later private runs do not extend this retired reservation. A stale request conflicts; later public enablement allocates another reservation.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/services/{service_id}/endpoint/release (the `ReleaseServiceEndpoint` operationId).
ReleaseServiceEndpointWithBody(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReleaseServiceEndpoint Retire a disabled service's public port reservation
//
// Requires current service management permission, public access already disabled, and completed managed DNS cleanup. Send the current trust revision and exact positive reserved port. Closes old runs and advances trust revision while preserving the service, hostname, grants, and machine-local connector assignments. Capacity stays quarantined for at least seven days and until old certificate, issuance, and authorization work is settled. Later private runs do not extend this retired reservation. A stale request conflicts; later public enablement allocates another reservation.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/services/{service_id}/endpoint/release (the `ReleaseServiceEndpoint` operationId).
ReleaseServiceEndpoint(ctx context.Context, serviceId ServiceID, body ReleaseServiceEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListServiceGrants List a service's visitor grants and retained history
//
// Current managers may read up to 100 records ordered by ID, including expired and revoked history. Follow next_cursor until absent; inventory is not proof of current visitor access.
//
// Corresponds with GET /v1/services/{service_id}/grants (the `ListServiceGrants` operationId).
ListServiceGrants(ctx context.Context, serviceId ServiceID, params *ListServiceGrantsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateServiceGrantWithBody Grant a team or identity access to one service
//
// Create an exact-service visitor grant using current service management permission and an idempotency key. A visitor grant permits service use under current policy; it does not grant service management or publisher authority.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/services/{service_id}/grants (the `CreateServiceGrant` operationId).
CreateServiceGrantWithBody(ctx context.Context, serviceId ServiceID, params *CreateServiceGrantParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateServiceGrant Grant a team or identity access to one service
//
// Create an exact-service visitor grant using current service management permission and an idempotency key. A visitor grant permits service use under current policy; it does not grant service management or publisher authority.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/services/{service_id}/grants (the `CreateServiceGrant` operationId).
CreateServiceGrant(ctx context.Context, serviceId ServiceID, params *CreateServiceGrantParams, body CreateServiceGrantJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RevokeServiceGrant Revoke one service visitor grant
//
// Revoke the named grant using current service management permission. Later visitor authorization checks reject access through that grant; retained history can still appear in grant inventory.
//
// Corresponds with DELETE /v1/services/{service_id}/grants/{grant_id} (the `RevokeServiceGrant` operationId).
RevokeServiceGrant(ctx context.Context, serviceId ServiceID, grantId ServiceGrantID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListServiceHTTPGrants List an HTTP service's visitor credentials without secrets
//
// List this service's HTTP visitor credentials without their secrets. Requires current service management permission and includes expired and revoked records.
//
// Corresponds with GET /v1/services/{service_id}/http-grants (the `ListServiceHTTPGrants` operationId).
ListServiceHTTPGrants(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateServiceHTTPGrantWithBody Create a service-scoped HTTP visitor token
//
// Create an HTTP visitor credential for this service. Requires both current management and visitor permission. Each call creates a new credential, returned once; it grants neither management nor feedback permission.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/services/{service_id}/http-grants (the `CreateServiceHTTPGrant` operationId).
CreateServiceHTTPGrantWithBody(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateServiceHTTPGrant Create a service-scoped HTTP visitor token
//
// Create an HTTP visitor credential for this service. Requires both current management and visitor permission. Each call creates a new credential, returned once; it grants neither management nor feedback permission.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/services/{service_id}/http-grants (the `CreateServiceHTTPGrant` operationId).
CreateServiceHTTPGrant(ctx context.Context, serviceId ServiceID, body CreateServiceHTTPGrantJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RevokeServiceHTTPGrant Revoke one service-scoped HTTP visitor credential
//
// Revoke the named token using current service management permission. The credential no longer authorizes new visitor permission; retained summaries remain visible without their secrets.
//
// Corresponds with DELETE /v1/services/{service_id}/http-grants/{grant_id} (the `RevokeServiceHTTPGrant` operationId).
RevokeServiceHTTPGrant(ctx context.Context, serviceId ServiceID, grantId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListServiceInvitations List a service's visitor invitations without secrets
//
// Current managers may read up to 100 records ordered by ID, including accepted, expired and revoked history. Follow next_cursor until absent. Never returns secrets.
//
// Corresponds with GET /v1/services/{service_id}/invitations (the `ListServiceInvitations` operationId).
ListServiceInvitations(ctx context.Context, serviceId ServiceID, params *ListServiceInvitationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// InviteServiceVisitorWithBody Invite a verified email identity to one service
//
// Invite the verified email identity to this service. Control returns the credential once. An identical authorized retry returns credential_delivery_unavailable with the existing invitation ID; if delivery was lost, revoke it and create another with a new key. Reusing a key with changed input conflicts. No secret is kept for recovery.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/services/{service_id}/invitations (the `InviteServiceVisitor` operationId).
InviteServiceVisitorWithBody(ctx context.Context, serviceId ServiceID, params *InviteServiceVisitorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// InviteServiceVisitor Invite a verified email identity to one service
//
// Invite the verified email identity to this service. Control returns the credential once. An identical authorized retry returns credential_delivery_unavailable with the existing invitation ID; if delivery was lost, revoke it and create another with a new key. Reusing a key with changed input conflicts. No secret is kept for recovery.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/services/{service_id}/invitations (the `InviteServiceVisitor` operationId).
InviteServiceVisitor(ctx context.Context, serviceId ServiceID, params *InviteServiceVisitorParams, body InviteServiceVisitorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RevokeServiceInvitation Revoke a service invitation and its accepted grant
//
// Revoke the invitation using current service management permission, including the identity grant created if it was accepted. Revocation does not remove the retained invitation history.
//
// Corresponds with DELETE /v1/services/{service_id}/invitations/{invitation_id} (the `RevokeServiceInvitation` operationId).
RevokeServiceInvitation(ctx context.Context, serviceId ServiceID, invitationId ServiceInvitationID, reqEditors ...RequestEditorFn) (*http.Response, error)
// PrepareServiceRunWithBody Reserve a service run and its approved certificate plan
//
// Reserve a new run ID and number and capture its exact managed hostname, port, domain and certificate plan under the authenticated publisher grant. Retrying the same idempotency key returns the same preparation.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/services/{service_id}/runs (the `PrepareServiceRun` operationId).
PrepareServiceRunWithBody(ctx context.Context, serviceId ServiceID, params *PrepareServiceRunParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PrepareServiceRun Reserve a service run and its approved certificate plan
//
// Reserve a new run ID and number and capture its exact managed hostname, port, domain and certificate plan under the authenticated publisher grant. Retrying the same idempotency key returns the same preparation.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/services/{service_id}/runs (the `PrepareServiceRun` operationId).
PrepareServiceRun(ctx context.Context, serviceId ServiceID, params *PrepareServiceRunParams, body PrepareServiceRunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CloseServiceRun Close one exact service run using its run token
//
// Close the exact run, reject stale admissions and publish a service tombstone. Managed certificates remain in the publisher's shared cache.
//
// Corresponds with DELETE /v1/services/{service_id}/runs/{service_run_id} (the `CloseServiceRun` operationId).
CloseServiceRun(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, reqEditors ...RequestEditorFn) (*http.Response, error)
// AuthorizeServiceClientCertificateWithBody Check a public endpoint visitor's client certificate and admission
//
// Authenticate a public endpoint visitor after TLS key possession. Permission alone does not authorize target bytes until ingress acknowledges ordinary capacity.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/authorize-client-certificate (the `AuthorizeServiceClientCertificate` operationId).
AuthorizeServiceClientCertificateWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AuthorizeServiceClientCertificate Check a public endpoint visitor's client certificate and admission
//
// Authenticate a public endpoint visitor after TLS key possession. Permission alone does not authorize target bytes until ingress acknowledges ordinary capacity.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/authorize-client-certificate (the `AuthorizeServiceClientCertificate` operationId).
AuthorizeServiceClientCertificate(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body AuthorizeServiceClientCertificateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RedeemServiceBrowserHandoffWithBody Exchange a service browser handoff through its publisher run
//
// Authenticate the publisher with the exact service run token and exchange the body's one-time handoff secret for a browser identity cookie bound to captured service runs. Visitor permission is optional and checked independently, including any supplied share cookie pair. A visitor's control session cannot substitute for the publisher run token.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/browser/handoff (the `RedeemServiceBrowserHandoff` operationId).
RedeemServiceBrowserHandoffWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RedeemServiceBrowserHandoff Exchange a service browser handoff through its publisher run
//
// Authenticate the publisher with the exact service run token and exchange the body's one-time handoff secret for a browser identity cookie bound to captured service runs. Visitor permission is optional and checked independently, including any supplied share cookie pair. A visitor's control session cannot substitute for the publisher run token.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/browser/handoff (the `RedeemServiceBrowserHandoff` operationId).
RedeemServiceBrowserHandoff(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body RedeemServiceBrowserHandoffJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RevokeServiceBrowserSessionWithBody Revoke a browser session through its service publisher run
//
// Authenticate the publisher with the exact service run token and prove the body's browser session was installed for that captured service run. Revoke the shared browser session across its hostname handoff chain, including pending handoffs. Other browser sessions and the person's control session remain unchanged.
//
// Takes any type of body and a specified content type.
//
// Corresponds with DELETE /v1/services/{service_id}/runs/{service_run_id}/browser/session (the `RevokeServiceBrowserSession` operationId).
RevokeServiceBrowserSessionWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RevokeServiceBrowserSession Revoke a browser session through its service publisher run
//
// Authenticate the publisher with the exact service run token and prove the body's browser session was installed for that captured service run. Revoke the shared browser session across its hostname handoff chain, including pending handoffs. Other browser sessions and the person's control session remain unchanged.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with DELETE /v1/services/{service_id}/runs/{service_run_id}/browser/session (the `RevokeServiceBrowserSession` operationId).
RevokeServiceBrowserSession(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body RevokeServiceBrowserSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CheckServiceBrowserSessionWithBody Check a browser session through its service publisher run
//
// Authenticate the publisher with the exact service run token and recheck the body's browser identity cookie for that captured service run. Identity remains authenticated when current visit permission is denied; neither identity nor this check creates a visitor or management grant.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/browser/session (the `CheckServiceBrowserSession` operationId).
CheckServiceBrowserSessionWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CheckServiceBrowserSession Check a browser session through its service publisher run
//
// Authenticate the publisher with the exact service run token and recheck the body's browser identity cookie for that captured service run. Identity remains authenticated when current visit permission is denied; neither identity nor this check creates a visitor or management grant.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/browser/session (the `CheckServiceBrowserSession` operationId).
CheckServiceBrowserSession(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body CheckServiceBrowserSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// MarkServiceCertificateInstalledWithBody Acknowledge the certificate installed for one service run
//
// Record that the publisher installed the exact approved issuance for this run number using its service run token. The acknowledgement does not by itself prove that both publisher connections are ready.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/certificate-installed (the `MarkServiceCertificateInstalled` operationId).
MarkServiceCertificateInstalledWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// MarkServiceCertificateInstalled Acknowledge the certificate installed for one service run
//
// Record that the publisher installed the exact approved issuance for this run number using its service run token. The acknowledgement does not by itself prove that both publisher connections are ready.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/certificate-installed (the `MarkServiceCertificateInstalled` operationId).
MarkServiceCertificateInstalled(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body MarkServiceCertificateInstalledJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateServiceCertificateIssuanceWithBody Begin certificate issuance for one started service run
//
// Authorize DNS-01 issuance for the service run's approved certificate plan using its exact run token and run number. Submit a CSR for the publisher's key; neither a control session nor publisher access token substitutes for the run token.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/certificate-issuances (the `CreateServiceCertificateIssuance` operationId).
CreateServiceCertificateIssuanceWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, params *CreateServiceCertificateIssuanceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateServiceCertificateIssuance Begin certificate issuance for one started service run
//
// Authorize DNS-01 issuance for the service run's approved certificate plan using its exact run token and run number. Submit a CSR for the publisher's key; neither a control session nor publisher access token substitutes for the run token.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/certificate-issuances (the `CreateServiceCertificateIssuance` operationId).
CreateServiceCertificateIssuance(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, params *CreateServiceCertificateIssuanceParams, body CreateServiceCertificateIssuanceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetServiceCertificateIssuance Read a service run's current certificate issuance
//
// Poll the named issuance using the exact service run token. Control checks that the service, run, and issuance still match before returning certificate material.
//
// Corresponds with GET /v1/services/{service_id}/runs/{service_run_id}/certificate-issuances/{issuance_id} (the `GetServiceCertificateIssuance` operationId).
GetServiceCertificateIssuance(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, issuanceId IssuanceID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListConnectorPeerPairs Reconcile candidates and explicit retirements for an exact service run
//
// Authenticate the exact stored started-run token. Current serving permission is required for positive candidates and owner-authority observations; a candidate still needs independent delivery preparation. After serving permission revocation, run closure, or retained service/owner deletion, the exact token can read only explicit retired dispositions within existing pair retention windows. No key, subject, source address, or serving authority is returned by that negative-only read. An omitted pair, absent owner_authority, empty page, or backend error never proves retirement. Restart from the first page on each pass; pagination is not a snapshot or retirement acknowledgment. Listing changes no state or deadline.
//
// Corresponds with GET /v1/services/{service_id}/runs/{service_run_id}/connector-peer-pairs (the `ListConnectorPeerPairs` operationId).
ListConnectorPeerPairs(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, params *ListConnectorPeerPairsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeliverConnectorPeerPairWithBody Deliver an existing connector pair to its current publisher run
//
// Return an existing pair key only to its current publisher run after both current relay legs have claimed the same observed source. This prepares a local binding, not an application stream.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/connector-peer-pairs/{pair_id}/delivery (the `DeliverConnectorPeerPair` operationId).
DeliverConnectorPeerPairWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, pairId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeliverConnectorPeerPair Deliver an existing connector pair to its current publisher run
//
// Return an existing pair key only to its current publisher run after both current relay legs have claimed the same observed source. This prepares a local binding, not an application stream.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/connector-peer-pairs/{pair_id}/delivery (the `DeliverConnectorPeerPair` operationId).
DeliverConnectorPeerPair(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, pairId string, body DeliverConnectorPeerPairJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConfirmConnectorPeerPairPreparedWithBody Confirm an exact connector binding installed by the publisher
//
// Record the publisher's installed packet registration and inner listener under the exact run token. Recheck the delivery authority and both matching relay claims; never extend the reported binding deadline.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/connector-peer-pairs/{pair_id}/prepared (the `ConfirmConnectorPeerPairPrepared` operationId).
ConfirmConnectorPeerPairPreparedWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, pairId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConfirmConnectorPeerPairPrepared Confirm an exact connector binding installed by the publisher
//
// Record the publisher's installed packet registration and inner listener under the exact run token. Recheck the delivery authority and both matching relay claims; never extend the reported binding deadline.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/connector-peer-pairs/{pair_id}/prepared (the `ConfirmConnectorPeerPairPrepared` operationId).
ConfirmConnectorPeerPairPrepared(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, pairId string, body ConfirmConnectorPeerPairPreparedJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AuthorizeReviewerFeedbackWithBody Check current visitor access and feedback author policy
//
// Accepts the publisher's current visit proof, not a visitor assertion. Never receives or stores feedback content.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/feedback/authorization (the `AuthorizeReviewerFeedback` operationId).
AuthorizeReviewerFeedbackWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AuthorizeReviewerFeedback Check current visitor access and feedback author policy
//
// Accepts the publisher's current visit proof, not a visitor assertion. Never receives or stores feedback content.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/feedback/authorization (the `AuthorizeReviewerFeedback` operationId).
AuthorizeReviewerFeedback(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body AuthorizeReviewerFeedbackJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateServiceRunPreviewWithBody Create feedback context for one ephemeral service run
//
// Create or reuse feedback context for an ephemeral HTTP service run, including a guest demo. Authenticate with that exact service run token and number, not normal project management permission.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/preview (the `CreateServiceRunPreview` operationId).
CreateServiceRunPreviewWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateServiceRunPreview Create feedback context for one ephemeral service run
//
// Create or reuse feedback context for an ephemeral HTTP service run, including a guest demo. Authenticate with that exact service run token and number, not normal project management permission.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/preview (the `CreateServiceRunPreview` operationId).
CreateServiceRunPreview(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body CreateServiceRunPreviewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RenewServiceRunWithBody Renew a service run and report publisher health and capacity
//
// Renew only the current run using its exact service run token. First readiness requires two live relay services; one surviving ready connection can continue serving while the other is replaced. Eligible canonical and alias policies receive separate hostname-bound confirmations.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/renew (the `RenewServiceRun` operationId).
RenewServiceRunWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RenewServiceRun Renew a service run and report publisher health and capacity
//
// Renew only the current run using its exact service run token. First readiness requires two live relay services; one surviving ready connection can continue serving while the other is replaced. Eligible canonical and alias policies receive separate hostname-bound confirmations.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/renew (the `RenewServiceRun` operationId).
RenewServiceRun(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body RenewServiceRunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReportServiceRunObservationsWithBody Report HTTP decisions or connector connections for a service run
//
// Report bounded HTTP request decisions and connector connection facts for this exact publisher run. Control derives connector identity and source from the installed pair. HTTP decisions carry no actor identity. Reporting never authorizes traffic.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/service-observations (the `ReportServiceRunObservations` operationId).
ReportServiceRunObservationsWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReportServiceRunObservations Report HTTP decisions or connector connections for a service run
//
// Report bounded HTTP request decisions and connector connection facts for this exact publisher run. Control derives connector identity and source from the installed pair. HTTP decisions carry no actor identity. Reporting never authorizes traffic.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/service-observations (the `ReportServiceRunObservations` operationId).
ReportServiceRunObservations(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body ReportServiceRunObservationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
//
// Authenticate with the exact live service run token and number. Share membership, issuer authority, expiry, revocation, and captured handoff run bindings are checked separately. This does not authorize connector access.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/share-redemptions (the `RedeemServiceShare` operationId).
RedeemServiceShareWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
//
// Authenticate with the exact live service run token and number. Share membership, issuer authority, expiry, revocation, and captured handoff run bindings are checked separately. This does not authorize connector access.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/share-redemptions (the `RedeemServiceShare` operationId).
RedeemServiceShare(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body RedeemServiceShareJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// StartServiceRunWithBody Start one prepared service run with its publisher grant
//
// Start one exact prepared run using its authenticated publisher identity. Visitor TLS uses the approved service certificate, without an ephemeral stream key or custom TLS proof.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/start (the `StartServiceRun` operationId).
StartServiceRunWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// StartServiceRun Start one prepared service run with its publisher grant
//
// Start one exact prepared run using its authenticated publisher identity. Visitor TLS uses the approved service certificate, without an ephemeral stream key or custom TLS proof.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/start (the `StartServiceRun` operationId).
StartServiceRun(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body StartServiceRunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// MarkSuppliedServiceCertificateInstalledWithBody Acknowledge a supplied visitor certificate for one exact run
//
// Validate the trusted server chain against the run's captured canonical and alias hostnames. Private keys stay with the publisher. This creates no ACME order and does not broaden publication authority or prove relay readiness. Replacement compares the previously acknowledged fingerprint.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/supplied-certificate-installed (the `MarkSuppliedServiceCertificateInstalled` operationId).
MarkSuppliedServiceCertificateInstalledWithBody(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// MarkSuppliedServiceCertificateInstalled Acknowledge a supplied visitor certificate for one exact run
//
// Validate the trusted server chain against the run's captured canonical and alias hostnames. Private keys stay with the publisher. This creates no ACME order and does not broaden publication authority or prove relay readiness. Replacement compares the previously acknowledged fingerprint.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/supplied-certificate-installed (the `MarkSuppliedServiceCertificateInstalled` operationId).
MarkSuppliedServiceCertificateInstalled(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body MarkSuppliedServiceCertificateInstalledJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SelectServiceRunWithBody Select a ready service run for an enrolled visitor device
//
// Check current visitor access and select a ready publisher run for background preparation. pair_ready is a credential-free hint containing two exact ready connections on distinct live relay services, not a grant, stream ticket or pair key. The caller never supplies an IP address.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/services/{service_id}/select-run (the `SelectServiceRun` operationId).
SelectServiceRunWithBody(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SelectServiceRun Select a ready service run for an enrolled visitor device
//
// Check current visitor access and select a ready publisher run for background preparation. pair_ready is a credential-free hint containing two exact ready connections on distinct live relay services, not a grant, stream ticket or pair key. The caller never supplies an IP address.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/services/{service_id}/select-run (the `SelectServiceRun` operationId).
SelectServiceRun(ctx context.Context, serviceId ServiceID, body SelectServiceRunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
//
// Read the creator's cursor-paginated share inventory under current management and company source authorization. The website may use its scoped bearer credential plus X-Tnl-Actor-Token bound with ServiceActorNonce to the exact method, escaped path, raw query and empty body. Each page consumes a fresh assertion and issuer JTI in its authorization transaction. Responses omit secrets; retain the original creation link or token_source for visitor access. This does not grant connector access.
//
// Corresponds with GET /v1/shares (the `ListTeamShares` operationId).
ListTeamShares(ctx context.Context, params *ListTeamSharesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
//
// Capture one service ID as entry_service_id and return its link and token source once. An identical retry returns credential_delivery_unavailable with details.resource_id; revoke and reissue if delivery was lost. The website may use its scoped bearer credential plus X-Tnl-Actor-Token, a fresh configured-issuer assertion bound with ServiceActorNonce to the exact method, escaped path, raw query and body bytes. Current service management and company source checks run in the state transaction, including retries. This signed website permission is limited to these canonical share operations and never authenticates other control APIs or grants connector access. Guest shares remain limited to the trial's service, source IP, and expiry.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/shares (the `CreateServiceShare` operationId).
CreateServiceShareWithBody(ctx context.Context, params *CreateServiceShareParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
//
// Capture one service ID as entry_service_id and return its link and token source once. An identical retry returns credential_delivery_unavailable with details.resource_id; revoke and reissue if delivery was lost. The website may use its scoped bearer credential plus X-Tnl-Actor-Token, a fresh configured-issuer assertion bound with ServiceActorNonce to the exact method, escaped path, raw query and body bytes. Current service management and company source checks run in the state transaction, including retries. This signed website permission is limited to these canonical share operations and never authenticates other control APIs or grants connector access. Guest shares remain limited to the trial's service, source IP, and expiry.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/shares (the `CreateServiceShare` operationId).
CreateServiceShare(ctx context.Context, params *CreateServiceShareParams, body CreateServiceShareJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
//
// Read a manageable share's captured service IDs, entry service, deadline, and revocation state without its secret. The website may use its scoped bearer credential plus X-Tnl-Actor-Token bound to the exact method, escaped path, raw query and empty body with ServiceActorNonce. State consumes the assertion and checks current issuer management and company source authorization together. Reading does not redeem the share or create a visitor or control session.
//
// Corresponds with GET /v1/shares/{share_id} (the `GetShare` operationId).
GetShare(ctx context.Context, shareId ShareID, reqEditors ...RequestEditorFn) (*http.Response, error)
//
// Revoke the creator's share under current management authorization so it cannot grant new visitor access. The website may use its scoped bearer credential plus X-Tnl-Actor-Token bound to the exact method, escaped path, raw query and empty body with ServiceActorNonce. State consumes the fresh assertion and checks all captured services and current company source authorization in the revocation transaction. Retain the saved record and captured service snapshot for subsequent reads.
//
// Corresponds with POST /v1/shares/{share_id}/revoke (the `RevokeShare` operationId).
RevokeShare(ctx context.Context, shareId ShareID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListServiceAudit Read a team's service audit history
//
// Read a bounded page of service access and lifecycle events using the team's current management permission. Filter by exact service identity or time, and resume with the returned cursor; audit records do not grant visitor access.
//
// Corresponds with GET /v1/teams/{team_id}/service-audit (the `ListServiceAudit` operationId).
ListServiceAudit(ctx context.Context, teamId string, params *ListServiceAuditParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// EnrollVisitorDeviceWithBody Enroll an Ed25519 visitor device for the signed-in identity
//
// Bind the submitted public key to the current visitor identity using its control session. The private key remains local and signs connector peer pair requests; enrollment alone does not grant access to a service.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/visitor-devices (the `EnrollVisitorDevice` operationId).
EnrollVisitorDeviceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// EnrollVisitorDevice Enroll an Ed25519 visitor device for the signed-in identity
//
// Bind the submitted public key to the current visitor identity using its control session. The private key remains local and signs connector peer pair requests; enrollment alone does not grant access to a service.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/visitor-devices (the `EnrollVisitorDevice` operationId).
EnrollVisitorDevice(ctx context.Context, body EnrollVisitorDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RevokeVisitorDevice Revoke a visitor device and its connector peer pairs
//
// Revoke the exact device belonging to the signed-in visitor identity and invalidate its connector peer pairs. This does not revoke the identity's control session or its other enrolled devices.
//
// Corresponds with DELETE /v1/visitor-devices/{device_id} (the `RevokeVisitorDevice` operationId).
RevokeVisitorDevice(ctx context.Context, deviceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReadPublisherVisitorPolicyWithBody Refresh the current run's visitor policy and verification keys
//
// Refresh visitor policy and revocations for one publisher run using its exact run token. This is a publisher operation, not a visitor or management read, and can return private policy data for the run. It does not renew the publisher process lease or grant traffic access. An eligible snapshot includes a confirmation key bound to its exact hostname.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/visitor-policy (the `ReadPublisherVisitorPolicy` operationId).
ReadPublisherVisitorPolicyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReadPublisherVisitorPolicy Refresh the current run's visitor policy and verification keys
//
// Refresh visitor policy and revocations for one publisher run using its exact run token. This is a publisher operation, not a visitor or management read, and can return private policy data for the run. It does not renew the publisher process lease or grant traffic access. An eligible snapshot includes a confirmation key bound to its exact hostname.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/visitor-policy (the `ReadPublisherVisitorPolicy` operationId).
ReadPublisherVisitorPolicy(ctx context.Context, body ReadPublisherVisitorPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// IssueVisitorTokenWithBody Prepare or renew an exact-resource visitor permission
//
// Prepare or renew permission to visit one resource.
//
// - control_session or device: send a control-session bearer token.
// - browser_session, workload, share, share_session, or grant: send the source credential in the body. Omit Authorization entirely, including empty headers.
//
// Control checks current access. Use refresh credentials only to request another visitor token.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/visitor-tokens (the `IssueVisitorToken` operationId).
IssueVisitorTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// IssueVisitorToken Prepare or renew an exact-resource visitor permission
//
// Prepare or renew permission to visit one resource.
//
// - control_session or device: send a control-session bearer token.
// - browser_session, workload, share, share_session, or grant: send the source credential in the body. Omit Authorization entirely, including empty headers.
//
// Control checks current access. Use refresh credentials only to request another visitor token.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/visitor-tokens (the `IssueVisitorToken` operationId).
IssueVisitorToken(ctx context.Context, body IssueVisitorTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAvailableServices List services available to the signed-in visitor
//
// List services the signed-in visitor may use, including offline services. Results include visitor endpoints, not target addresses, target trust, or secrets. Listing a service does not grant traffic access. Initial readiness needs two publisher connections; one surviving connection can keep an already-ready run available.
//
// Corresponds with GET /v1/visitor/services (the `ListAvailableServices` operationId).
ListAvailableServices(ctx context.Context, params *ListAvailableServicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWebhookProviderSource Read one webhook provider source policy
//
// Read the selected provider's current webhook source policy without a credential. Use ETag and If-None-Match to reuse unchanged policy. Both 200 and 304 carry the catalog's observation time, last successful provider check, 15-minute freshness boundary, and absolute 24-hour last-good boundary. An unchanged or stale response does not restart those windows. Clients spend response latency from request start and fail the affected endpoint closed at expiry. This endpoint does not register a webhook or grant visitor access.
//
// Corresponds with GET /v1/webhook-providers/{provider}/source (the `GetWebhookProviderSource` operationId).
GetWebhookProviderSource(ctx context.Context, provider WebhookProvider, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListWorkloadServices List only the workload session's currently authorized saved services
//
// Read the services currently authorized for this workload session using its visitor-only bearer credential. The inventory omits target addresses and application credentials and grants no publisher or control management authority.
//
// Corresponds with GET /v1/workload/services (the `ListWorkloadServices` operationId).
ListWorkloadServices(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CheckWorkloadService Check a workload session's current permission for one service
//
// Recheck live workload authorization for the exact service using the workload bearer credential. The decision is bounded by both the renewable lease and the session's fixed absolute deadline; a prior inventory response is not sufficient authorization.
//
// Corresponds with POST /v1/workload/services/{service_id}/authorization (the `CheckWorkloadService` operationId).
CheckWorkloadService(ctx context.Context, serviceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// IssueWorkloadServiceClientCertificateWithBody Issue a service client certificate for a workload's existing key
//
// Submit a CSR under the visitor-only workload bearer credential for one currently authorized service. The returned certificate cannot outlive the workload's fixed absolute expiry, and later access still requires a current workload lease.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/workload/services/{service_id}/client-certificate (the `IssueWorkloadServiceClientCertificate` operationId).
IssueWorkloadServiceClientCertificateWithBody(ctx context.Context, serviceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// IssueWorkloadServiceClientCertificate Issue a service client certificate for a workload's existing key
//
// Submit a CSR under the visitor-only workload bearer credential for one currently authorized service. The returned certificate cannot outlive the workload's fixed absolute expiry, and later access still requires a current workload lease.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/workload/services/{service_id}/client-certificate (the `IssueWorkloadServiceClientCertificate` operationId).
IssueWorkloadServiceClientCertificate(ctx context.Context, serviceId string, body IssueWorkloadServiceClientCertificateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SelectWorkloadServiceRun Select a ready service run for an authenticated workload
//
// Check the selected workload credential and current service permission. pair_ready appears only for two exact ready connections on distinct live relay services; it is a signing snapshot, not a grant or a pair key.
//
// Corresponds with POST /v1/workload/services/{service_id}/run (the `SelectWorkloadServiceRun` operationId).
SelectWorkloadServiceRun(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
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) AcceptServiceInvitationWithBodyWithResponse ¶
func (c *ClientWithResponses) AcceptServiceInvitationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AcceptServiceInvitationResponse, error)
AcceptServiceInvitationWithBodyWithResponse Accept an invitation for the signed-in verified email identity
Exchange the one-use invitation secret under the current signed-in identity. Control verifies the recipient email and creates an exact-service identity grant; acceptance grants no management or publisher permission.
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 /v1/service-invitations/accept (the `AcceptServiceInvitation` operationId).
func (*ClientWithResponses) AcceptServiceInvitationWithResponse ¶
func (c *ClientWithResponses) AcceptServiceInvitationWithResponse(ctx context.Context, body AcceptServiceInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*AcceptServiceInvitationResponse, error)
AcceptServiceInvitationWithResponse Accept an invitation for the signed-in verified email identity
Exchange the one-use invitation secret under the current signed-in identity. Control verifies the recipient email and creates an exact-service identity grant; acceptance grants no management or publisher permission.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/service-invitations/accept (the `AcceptServiceInvitation` operationId).
func (*ClientWithResponses) AcknowledgeDeploymentPublisherConfigurationWithBodyWithResponse ¶
func (c *ClientWithResponses) AcknowledgeDeploymentPublisherConfigurationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AcknowledgeDeploymentPublisherConfigurationResponse, error)
AcknowledgeDeploymentPublisherConfigurationWithBodyWithResponse Acknowledge the exact configuration installed by a deployment replica
Report the installed configuration revision, hash, and health using the replica's current dpl_lease_ lease. Stale or mismatched configuration is rejected; a pta_ publisher token cannot acknowledge it.
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 /v1/publisher/deployments/configuration-acknowledgements (the `AcknowledgeDeploymentPublisherConfiguration` operationId).
func (*ClientWithResponses) AcknowledgeDeploymentPublisherConfigurationWithResponse ¶
func (c *ClientWithResponses) AcknowledgeDeploymentPublisherConfigurationWithResponse(ctx context.Context, body AcknowledgeDeploymentPublisherConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*AcknowledgeDeploymentPublisherConfigurationResponse, error)
AcknowledgeDeploymentPublisherConfigurationWithResponse Acknowledge the exact configuration installed by a deployment replica
Report the installed configuration revision, hash, and health using the replica's current dpl_lease_ lease. Stale or mismatched configuration is rejected; a pta_ publisher token cannot acknowledge it.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/publisher/deployments/configuration-acknowledgements (the `AcknowledgeDeploymentPublisherConfiguration` operationId).
func (*ClientWithResponses) AcquireDeploymentPublisherLeaseWithBodyWithResponse ¶
func (c *ClientWithResponses) AcquireDeploymentPublisherLeaseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AcquireDeploymentPublisherLeaseResponse, error)
AcquireDeploymentPublisherLeaseWithBodyWithResponse Exchange a signed replica assertion for a deployment lease
Exchange a one-use signed assertion in the body for a dpl_lease_ deployment lease. The assertion's audience is this endpoint's full control URL, and its grant claim is the deployment ID.
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 /v1/publisher/deployments/lease (the `AcquireDeploymentPublisherLease` operationId).
func (*ClientWithResponses) AcquireDeploymentPublisherLeaseWithResponse ¶
func (c *ClientWithResponses) AcquireDeploymentPublisherLeaseWithResponse(ctx context.Context, body AcquireDeploymentPublisherLeaseJSONRequestBody, reqEditors ...RequestEditorFn) (*AcquireDeploymentPublisherLeaseResponse, error)
AcquireDeploymentPublisherLeaseWithResponse Exchange a signed replica assertion for a deployment lease
Exchange a one-use signed assertion in the body for a dpl_lease_ deployment lease. The assertion's audience is this endpoint's full control URL, and its grant claim is the deployment ID.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/publisher/deployments/lease (the `AcquireDeploymentPublisherLease` operationId).
func (*ClientWithResponses) AddPreviewServiceWithBodyWithResponse ¶
func (c *ClientWithResponses) AddPreviewServiceWithBodyWithResponse(ctx context.Context, previewId PreviewID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddPreviewServiceResponse, error)
AddPreviewServiceWithBodyWithResponse Add an authorized service to a preview
Add an existing managed HTTP service to the preview. This changes future preview membership, not the immutable service snapshot held by an already-created share.
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 /v1/previews/{preview_id}/services (the `AddPreviewService` operationId).
func (*ClientWithResponses) AddPreviewServiceWithResponse ¶
func (c *ClientWithResponses) AddPreviewServiceWithResponse(ctx context.Context, previewId PreviewID, body AddPreviewServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*AddPreviewServiceResponse, error)
AddPreviewServiceWithResponse Add an authorized service to a preview
Add an existing managed HTTP service to the preview. This changes future preview membership, not the immutable service snapshot held by an already-created share.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/previews/{preview_id}/services (the `AddPreviewService` operationId).
func (*ClientWithResponses) AllocateDeploymentPublicationWithBodyWithResponse ¶
func (c *ClientWithResponses) AllocateDeploymentPublicationWithBodyWithResponse(ctx context.Context, projectKey string, deployment string, params *AllocateDeploymentPublicationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AllocateDeploymentPublicationResponse, error)
AllocateDeploymentPublicationWithBodyWithResponse Allocate an approved temporary HTTP service
Allocate an ephemeral HTTP service in this deployment's namespace. Temporary approval is independent of named publication, management and connection approval. Anonymous visitor policy requires anonymous approval. Exact retries recover only the original live service, never a replacement or extended deadline. Delete through the publisher service operation.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{project_key}/deployments/{deployment}/services (the `AllocateDeploymentPublication` operationId).
func (*ClientWithResponses) AllocateDeploymentPublicationWithResponse ¶
func (c *ClientWithResponses) AllocateDeploymentPublicationWithResponse(ctx context.Context, projectKey string, deployment string, params *AllocateDeploymentPublicationParams, body AllocateDeploymentPublicationJSONRequestBody, reqEditors ...RequestEditorFn) (*AllocateDeploymentPublicationResponse, error)
AllocateDeploymentPublicationWithResponse Allocate an approved temporary HTTP service
Allocate an ephemeral HTTP service in this deployment's namespace. Temporary approval is independent of named publication, management and connection approval. Anonymous visitor policy requires anonymous approval. Exact retries recover only the original live service, never a replacement or extended deadline. Delete through the publisher service operation.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{project_key}/deployments/{deployment}/services (the `AllocateDeploymentPublication` operationId).
func (*ClientWithResponses) AllocateGuestDemoServiceWithBodyWithResponse ¶
func (c *ClientWithResponses) AllocateGuestDemoServiceWithBodyWithResponse(ctx context.Context, params *AllocateGuestDemoServiceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AllocateGuestDemoServiceResponse, error)
AllocateGuestDemoServiceWithBodyWithResponse Allocate or recover this trial's exact demo service
Allocate one ordinary service using the current trial credential and server-observed source. Control captures the fixed approved demo declaration and absolute trial expiry. The same key and normalized request recover only the original live allocation, including cleanup after a lost response; retries never advance the demo number or extend expiry. READY exhaustion blocks new allocation, not recovery for cleanup. A deleted or expired allocation cannot be recreated. Another demo or outstanding offline serving authority blocks new allocation. This operation grants no publisher or connector permission.
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 /v1/guest-demo/services (the `AllocateGuestDemoService` operationId).
func (*ClientWithResponses) AllocateGuestDemoServiceWithResponse ¶
func (c *ClientWithResponses) AllocateGuestDemoServiceWithResponse(ctx context.Context, params *AllocateGuestDemoServiceParams, body AllocateGuestDemoServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*AllocateGuestDemoServiceResponse, error)
AllocateGuestDemoServiceWithResponse Allocate or recover this trial's exact demo service
Allocate one ordinary service using the current trial credential and server-observed source. Control captures the fixed approved demo declaration and absolute trial expiry. The same key and normalized request recover only the original live allocation, including cleanup after a lost response; retries never advance the demo number or extend expiry. READY exhaustion blocks new allocation, not recovery for cleanup. A deleted or expired allocation cannot be recreated. Another demo or outstanding offline serving authority blocks new allocation. This operation grants no publisher or connector permission.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/guest-demo/services (the `AllocateGuestDemoService` operationId).
func (*ClientWithResponses) AllocatePublisherServiceWithBodyWithResponse ¶
func (c *ClientWithResponses) AllocatePublisherServiceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AllocatePublisherServiceResponse, error)
AllocatePublisherServiceWithBodyWithResponse Allocate a temporary HTTP service
The current namespace grant retains ownership. Allocation issues no child grant or signing key.
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 /v1/publisher/services (the `AllocatePublisherService` operationId).
func (*ClientWithResponses) AllocatePublisherServiceWithResponse ¶
func (c *ClientWithResponses) AllocatePublisherServiceWithResponse(ctx context.Context, body AllocatePublisherServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*AllocatePublisherServiceResponse, error)
AllocatePublisherServiceWithResponse Allocate a temporary HTTP service
The current namespace grant retains ownership. Allocation issues no child grant or signing key.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/publisher/services (the `AllocatePublisherService` operationId).
func (*ClientWithResponses) ApplyProjectConfigurationWithBodyWithResponse ¶
func (c *ClientWithResponses) ApplyProjectConfigurationWithBodyWithResponse(ctx context.Context, projectKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApplyProjectConfigurationResponse, error)
ApplyProjectConfigurationWithBodyWithResponse Apply a project's desired services and deployments
Reconcile logical service declarations and one selected deployment's bindings and workload policies. Sibling deployments and local realizations are preserved; declarations cannot contradict retained bindings. On first apply, provide source facts; control computes the fingerprint and project TLS digests. Later applies may omit source to retain its binding. Changed content requires the current project revision; identical content is safe to replay. Targets remain encrypted and visible only to managers and scoped publishers.
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 /v1/projects/{project_key}/configuration (the `ApplyProjectConfiguration` operationId).
func (*ClientWithResponses) ApplyProjectConfigurationWithResponse ¶
func (c *ClientWithResponses) ApplyProjectConfigurationWithResponse(ctx context.Context, projectKey string, body ApplyProjectConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplyProjectConfigurationResponse, error)
ApplyProjectConfigurationWithResponse Apply a project's desired services and deployments
Reconcile logical service declarations and one selected deployment's bindings and workload policies. Sibling deployments and local realizations are preserved; declarations cannot contradict retained bindings. On first apply, provide source facts; control computes the fingerprint and project TLS digests. Later applies may omit source to retain its binding. Changed content requires the current project revision; identical content is safe to replay. Targets remain encrypted and visible only to managers and scoped publishers.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/projects/{project_key}/configuration (the `ApplyProjectConfiguration` operationId).
func (*ClientWithResponses) AuthorizeImplementerFeedbackWithBodyWithResponse ¶
func (c *ClientWithResponses) AuthorizeImplementerFeedbackWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthorizeImplementerFeedbackResponse, error)
AuthorizeImplementerFeedbackWithBodyWithResponse Check current management access for one local feedback operation
Returns a short-lived decision and verified author. Feedback content is stored only on the publishing machine.
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 /v1/feedback/authorization (the `AuthorizeImplementerFeedback` operationId).
func (*ClientWithResponses) AuthorizeImplementerFeedbackWithResponse ¶
func (c *ClientWithResponses) AuthorizeImplementerFeedbackWithResponse(ctx context.Context, body AuthorizeImplementerFeedbackJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthorizeImplementerFeedbackResponse, error)
AuthorizeImplementerFeedbackWithResponse Check current management access for one local feedback operation
Returns a short-lived decision and verified author. Feedback content is stored only on the publishing machine.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/feedback/authorization (the `AuthorizeImplementerFeedback` operationId).
func (*ClientWithResponses) AuthorizeReviewerFeedbackWithBodyWithResponse ¶
func (c *ClientWithResponses) AuthorizeReviewerFeedbackWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthorizeReviewerFeedbackResponse, error)
AuthorizeReviewerFeedbackWithBodyWithResponse Check current visitor access and feedback author policy
Accepts the publisher's current visit proof, not a visitor assertion. Never receives or stores feedback content.
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 /v1/services/{service_id}/runs/{service_run_id}/feedback/authorization (the `AuthorizeReviewerFeedback` operationId).
func (*ClientWithResponses) AuthorizeReviewerFeedbackWithResponse ¶
func (c *ClientWithResponses) AuthorizeReviewerFeedbackWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body AuthorizeReviewerFeedbackJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthorizeReviewerFeedbackResponse, error)
AuthorizeReviewerFeedbackWithResponse Check current visitor access and feedback author policy
Accepts the publisher's current visit proof, not a visitor assertion. Never receives or stores feedback content.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/feedback/authorization (the `AuthorizeReviewerFeedback` operationId).
func (*ClientWithResponses) AuthorizeServiceClientCertificateWithBodyWithResponse ¶
func (c *ClientWithResponses) AuthorizeServiceClientCertificateWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthorizeServiceClientCertificateResponse, error)
AuthorizeServiceClientCertificateWithBodyWithResponse Check a public endpoint visitor's client certificate and admission
Authenticate a public endpoint visitor after TLS key possession. Permission alone does not authorize target bytes until ingress acknowledges ordinary capacity.
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 /v1/services/{service_id}/runs/{service_run_id}/authorize-client-certificate (the `AuthorizeServiceClientCertificate` operationId).
func (*ClientWithResponses) AuthorizeServiceClientCertificateWithResponse ¶
func (c *ClientWithResponses) AuthorizeServiceClientCertificateWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body AuthorizeServiceClientCertificateJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthorizeServiceClientCertificateResponse, error)
AuthorizeServiceClientCertificateWithResponse Check a public endpoint visitor's client certificate and admission
Authenticate a public endpoint visitor after TLS key possession. Permission alone does not authorize target bytes until ingress acknowledges ordinary capacity.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/authorize-client-certificate (the `AuthorizeServiceClientCertificate` operationId).
func (*ClientWithResponses) BeginServiceBrowserLoginWithResponse ¶
func (c *ClientWithResponses) BeginServiceBrowserLoginWithResponse(ctx context.Context, params *BeginServiceBrowserLoginParams, reqEditors ...RequestEditorFn) (*BeginServiceBrowserLoginResponse, error)
BeginServiceBrowserLoginWithResponse Start browser sign-in for one HTTP service
Start browser sign-in for one HTTP service, optionally within a preview. Navigate to this URL rather than fetching JSON. Sign-in verifies browser identity independently of current visit permission; it does not create a visitor grant.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/browser/service-login (the `BeginServiceBrowserLogin` operationId).
func (*ClientWithResponses) CheckServiceBrowserSessionWithBodyWithResponse ¶
func (c *ClientWithResponses) CheckServiceBrowserSessionWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CheckServiceBrowserSessionResponse, error)
CheckServiceBrowserSessionWithBodyWithResponse Check a browser session through its service publisher run
Authenticate the publisher with the exact service run token and recheck the body's browser identity cookie for that captured service run. Identity remains authenticated when current visit permission is denied; neither identity nor this check creates a visitor or management grant.
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 /v1/services/{service_id}/runs/{service_run_id}/browser/session (the `CheckServiceBrowserSession` operationId).
func (*ClientWithResponses) CheckServiceBrowserSessionWithResponse ¶
func (c *ClientWithResponses) CheckServiceBrowserSessionWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body CheckServiceBrowserSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*CheckServiceBrowserSessionResponse, error)
CheckServiceBrowserSessionWithResponse Check a browser session through its service publisher run
Authenticate the publisher with the exact service run token and recheck the body's browser identity cookie for that captured service run. Identity remains authenticated when current visit permission is denied; neither identity nor this check creates a visitor or management grant.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/browser/session (the `CheckServiceBrowserSession` operationId).
func (*ClientWithResponses) CheckWorkloadServiceWithResponse ¶
func (c *ClientWithResponses) CheckWorkloadServiceWithResponse(ctx context.Context, serviceId string, reqEditors ...RequestEditorFn) (*CheckWorkloadServiceResponse, error)
CheckWorkloadServiceWithResponse Check a workload session's current permission for one service
Recheck live workload authorization for the exact service using the workload bearer credential. The decision is bounded by both the renewable lease and the session's fixed absolute deadline; a prior inventory response is not sufficient authorization.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/workload/services/{service_id}/authorization (the `CheckWorkloadService` operationId).
func (*ClientWithResponses) CloseServiceRunWithResponse ¶
func (c *ClientWithResponses) CloseServiceRunWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, reqEditors ...RequestEditorFn) (*CloseServiceRunResponse, error)
CloseServiceRunWithResponse Close one exact service run using its run token
Close the exact run, reject stale admissions and publish a service tombstone. Managed certificates remain in the publisher's shared cache.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/services/{service_id}/runs/{service_run_id} (the `CloseServiceRun` operationId).
func (*ClientWithResponses) CompletePreviewBrowserLoginWithResponse ¶
func (c *ClientWithResponses) CompletePreviewBrowserLoginWithResponse(ctx context.Context, params *CompletePreviewBrowserLoginParams, reqEditors ...RequestEditorFn) (*CompletePreviewBrowserLoginResponse, error)
CompletePreviewBrowserLoginWithResponse Return a signed-in visitor to the preview
Check the pending login state and authorization code, then redirect the browser to a one-time publisher handoff. This callback uses the checked sign-in flow, not a bearer token.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/browser/callback (the `CompletePreviewBrowserLogin` operationId).
func (*ClientWithResponses) ConfigureServiceWithBodyWithResponse ¶
func (c *ClientWithResponses) ConfigureServiceWithBodyWithResponse(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConfigureServiceResponse, error)
ConfigureServiceWithBodyWithResponse Replace a service's approved settings and standalone declaration
Replace the approved protocol, publisher-pool setting, and target TLS trust. Send trust_revision as expected_trust_revision; omit target_tls to remove it. Supplied configuration atomically replaces a standalone service's whole declaration, including its target, endpoint selectors, HTTP visitor policy, and request limits, without replacing the service ID. Omitted settings return to defaults rather than retaining old values. Protocol and target TLS must agree with the declaration. Every configuration replacement must send the unquoted getServiceConfiguration ETag token as expected_configuration_digest, or explicitly send unconditional_configuration: true instead; sending neither or both is invalid. A digest mismatch conflicts before any service write, independently of expected_trust_revision. Omitting configuration is a metadata-only update and retains the declaration. Allocated invocation intent and project-managed definitions remain protected. Endpoint changes preserve authorized connector runs; protocol or target-trust changes fence old runs. Publishers must declare matching trust when preparing later runs.
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 /v1/services/{service_id} (the `ConfigureService` operationId).
func (*ClientWithResponses) ConfigureServiceWithResponse ¶
func (c *ClientWithResponses) ConfigureServiceWithResponse(ctx context.Context, serviceId ServiceID, body ConfigureServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*ConfigureServiceResponse, error)
ConfigureServiceWithResponse Replace a service's approved settings and standalone declaration
Replace the approved protocol, publisher-pool setting, and target TLS trust. Send trust_revision as expected_trust_revision; omit target_tls to remove it. Supplied configuration atomically replaces a standalone service's whole declaration, including its target, endpoint selectors, HTTP visitor policy, and request limits, without replacing the service ID. Omitted settings return to defaults rather than retaining old values. Protocol and target TLS must agree with the declaration. Every configuration replacement must send the unquoted getServiceConfiguration ETag token as expected_configuration_digest, or explicitly send unconditional_configuration: true instead; sending neither or both is invalid. A digest mismatch conflicts before any service write, independently of expected_trust_revision. Omitting configuration is a metadata-only update and retains the declaration. Allocated invocation intent and project-managed definitions remain protected. Endpoint changes preserve authorized connector runs; protocol or target-trust changes fence old runs. Publishers must declare matching trust when preparing later runs.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/services/{service_id} (the `ConfigureService` operationId).
func (*ClientWithResponses) ConfirmConnectorPeerPairPreparedWithBodyWithResponse ¶
func (c *ClientWithResponses) ConfirmConnectorPeerPairPreparedWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, pairId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConfirmConnectorPeerPairPreparedResponse, error)
ConfirmConnectorPeerPairPreparedWithBodyWithResponse Confirm an exact connector binding installed by the publisher
Record the publisher's installed packet registration and inner listener under the exact run token. Recheck the delivery authority and both matching relay claims; never extend the reported binding deadline.
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 /v1/services/{service_id}/runs/{service_run_id}/connector-peer-pairs/{pair_id}/prepared (the `ConfirmConnectorPeerPairPrepared` operationId).
func (*ClientWithResponses) ConfirmConnectorPeerPairPreparedWithResponse ¶
func (c *ClientWithResponses) ConfirmConnectorPeerPairPreparedWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, pairId string, body ConfirmConnectorPeerPairPreparedJSONRequestBody, reqEditors ...RequestEditorFn) (*ConfirmConnectorPeerPairPreparedResponse, error)
ConfirmConnectorPeerPairPreparedWithResponse Confirm an exact connector binding installed by the publisher
Record the publisher's installed packet registration and inner listener under the exact run token. Recheck the delivery authority and both matching relay claims; never extend the reported binding deadline.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/connector-peer-pairs/{pair_id}/prepared (the `ConfirmConnectorPeerPairPrepared` operationId).
func (*ClientWithResponses) CreateDeploymentPublisherEnrollmentWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateDeploymentPublisherEnrollmentWithBodyWithResponse(ctx context.Context, projectKey string, deployment string, params *CreateDeploymentPublisherEnrollmentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDeploymentPublisherEnrollmentResponse, error)
CreateDeploymentPublisherEnrollmentWithBodyWithResponse Approve scoped publisher enrollment
Approve bounded publisher setup for selected existing services. Requires a current team manager or management approval for this deployment and every selected service. Setup cannot outlive the management grant. The original request key is scoped to the acting person or machine and recovers the same secret only while current authority, captured bindings, deadline, and remaining capacity are valid. Does not create AWS resources or grant general management/connect/namespace authority. Redeem through the existing deployment-publisher enrollment exchange.
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 /v1/projects/{project_key}/deployments/{deployment}/publisher-enrollments (the `CreateDeploymentPublisherEnrollment` operationId).
func (*ClientWithResponses) CreateDeploymentPublisherEnrollmentWithResponse ¶
func (c *ClientWithResponses) CreateDeploymentPublisherEnrollmentWithResponse(ctx context.Context, projectKey string, deployment string, params *CreateDeploymentPublisherEnrollmentParams, body CreateDeploymentPublisherEnrollmentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDeploymentPublisherEnrollmentResponse, error)
CreateDeploymentPublisherEnrollmentWithResponse Approve scoped publisher enrollment
Approve bounded publisher setup for selected existing services. Requires a current team manager or management approval for this deployment and every selected service. Setup cannot outlive the management grant. The original request key is scoped to the acting person or machine and recovers the same secret only while current authority, captured bindings, deadline, and remaining capacity are valid. Does not create AWS resources or grant general management/connect/namespace authority. Redeem through the existing deployment-publisher enrollment exchange.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{project_key}/deployments/{deployment}/publisher-enrollments (the `CreateDeploymentPublisherEnrollment` operationId).
func (*ClientWithResponses) CreateDeploymentWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateDeploymentWithBodyWithResponse(ctx context.Context, projectKey string, params *CreateDeploymentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDeploymentResponse, error)
CreateDeploymentWithBodyWithResponse Create a saved deployment
Create a deployment using existing logical project declarations. Requires a current team manager or a deployment-management credential explicitly approving all current/future deployments and every submitted service. The original Idempotency-Key is scoped to the acting person or machine identity and recovers the same committed deployment; a deleted deployment is never recreated by replay. Does not grant connect or publish capabilities.
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 /v1/projects/{project_key}/deployments (the `CreateDeployment` operationId).
func (*ClientWithResponses) CreateDeploymentWithResponse ¶
func (c *ClientWithResponses) CreateDeploymentWithResponse(ctx context.Context, projectKey string, params *CreateDeploymentParams, body CreateDeploymentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDeploymentResponse, error)
CreateDeploymentWithResponse Create a saved deployment
Create a deployment using existing logical project declarations. Requires a current team manager or a deployment-management credential explicitly approving all current/future deployments and every submitted service. The original Idempotency-Key is scoped to the acting person or machine identity and recovers the same committed deployment; a deleted deployment is never recreated by replay. Does not grant connect or publish capabilities.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{project_key}/deployments (the `CreateDeployment` operationId).
func (*ClientWithResponses) CreateGuestDemoWithResponse ¶
func (c *ClientWithResponses) CreateGuestDemoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CreateGuestDemoResponse, error)
CreateGuestDemoWithResponse Create a restricted guest credential for the built-in demo
Create a source-address-bound guest trial when guest demos are enabled. No existing credential is required. Network issuance limits apply; the returned credential grants only restricted demo operations, not a control session.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/guest-demo (the `CreateGuestDemo` operationId).
func (*ClientWithResponses) CreatePreviewWithBodyWithResponse ¶
func (c *ClientWithResponses) CreatePreviewWithBodyWithResponse(ctx context.Context, params *CreatePreviewParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePreviewResponse, error)
CreatePreviewWithBodyWithResponse Create or reuse a preview for one team
Save or reuse a preview identity for the selected team and idempotency key. The preview groups services; creation alone does not grant visitor access or start their service runs.
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 /v1/previews (the `CreatePreview` operationId).
func (*ClientWithResponses) CreatePreviewWithResponse ¶
func (c *ClientWithResponses) CreatePreviewWithResponse(ctx context.Context, params *CreatePreviewParams, body CreatePreviewJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePreviewResponse, error)
CreatePreviewWithResponse Create or reuse a preview for one team
Save or reuse a preview identity for the selected team and idempotency key. The preview groups services; creation alone does not grant visitor access or start their service runs.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/previews (the `CreatePreview` operationId).
func (*ClientWithResponses) CreatePublisherEnrollmentWithBodyWithResponse ¶
func (c *ClientWithResponses) CreatePublisherEnrollmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePublisherEnrollmentResponse, error)
CreatePublisherEnrollmentWithBodyWithResponse Issue an expiring one-use publisher enrollment
Issue an expiring one-use enrollment secret under current management authorization. Enrollment installs a publisher's signing key for the selected scope; it is separate from exchanging signed assertions for short-lived publisher access tokens.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/publisher-enrollments (the `CreatePublisherEnrollment` operationId).
func (*ClientWithResponses) CreatePublisherEnrollmentWithResponse ¶
func (c *ClientWithResponses) CreatePublisherEnrollmentWithResponse(ctx context.Context, body CreatePublisherEnrollmentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePublisherEnrollmentResponse, error)
CreatePublisherEnrollmentWithResponse Issue an expiring one-use publisher enrollment
Issue an expiring one-use enrollment secret under current management authorization. Enrollment installs a publisher's signing key for the selected scope; it is separate from exchanging signed assertions for short-lived publisher access tokens.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/publisher-enrollments (the `CreatePublisherEnrollment` operationId).
func (*ClientWithResponses) CreatePublisherGrantWithBodyWithResponse ¶
func (c *ClientWithResponses) CreatePublisherGrantWithBodyWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePublisherGrantResponse, error)
CreatePublisherGrantWithBodyWithResponse Add one authorized scope to a publisher identity
Create a revocable publisher grant using current management authorization for the selected scope. The grant identifies what the native publisher may serve; it is not a visitor grant or a control session.
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 /v1/publisher-identities/{publisher_identity_id}/grants (the `CreatePublisherGrant` operationId).
func (*ClientWithResponses) CreatePublisherGrantWithResponse ¶
func (c *ClientWithResponses) CreatePublisherGrantWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, body CreatePublisherGrantJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePublisherGrantResponse, error)
CreatePublisherGrantWithResponse Add one authorized scope to a publisher identity
Create a revocable publisher grant using current management authorization for the selected scope. The grant identifies what the native publisher may serve; it is not a visitor grant or a control session.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/publisher-identities/{publisher_identity_id}/grants (the `CreatePublisherGrant` operationId).
func (*ClientWithResponses) CreateServiceCertificateIssuanceWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateServiceCertificateIssuanceWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, params *CreateServiceCertificateIssuanceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateServiceCertificateIssuanceResponse, error)
CreateServiceCertificateIssuanceWithBodyWithResponse Begin certificate issuance for one started service run
Authorize DNS-01 issuance for the service run's approved certificate plan using its exact run token and run number. Submit a CSR for the publisher's key; neither a control session nor publisher access token substitutes for the run token.
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 /v1/services/{service_id}/runs/{service_run_id}/certificate-issuances (the `CreateServiceCertificateIssuance` operationId).
func (*ClientWithResponses) CreateServiceCertificateIssuanceWithResponse ¶
func (c *ClientWithResponses) CreateServiceCertificateIssuanceWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, params *CreateServiceCertificateIssuanceParams, body CreateServiceCertificateIssuanceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateServiceCertificateIssuanceResponse, error)
CreateServiceCertificateIssuanceWithResponse Begin certificate issuance for one started service run
Authorize DNS-01 issuance for the service run's approved certificate plan using its exact run token and run number. Submit a CSR for the publisher's key; neither a control session nor publisher access token substitutes for the run token.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/certificate-issuances (the `CreateServiceCertificateIssuance` operationId).
func (*ClientWithResponses) CreateServiceGrantWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateServiceGrantWithBodyWithResponse(ctx context.Context, serviceId ServiceID, params *CreateServiceGrantParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateServiceGrantResponse, error)
CreateServiceGrantWithBodyWithResponse Grant a team or identity access to one service
Create an exact-service visitor grant using current service management permission and an idempotency key. A visitor grant permits service use under current policy; it does not grant service management or publisher authority.
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 /v1/services/{service_id}/grants (the `CreateServiceGrant` operationId).
func (*ClientWithResponses) CreateServiceGrantWithResponse ¶
func (c *ClientWithResponses) CreateServiceGrantWithResponse(ctx context.Context, serviceId ServiceID, params *CreateServiceGrantParams, body CreateServiceGrantJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateServiceGrantResponse, error)
CreateServiceGrantWithResponse Grant a team or identity access to one service
Create an exact-service visitor grant using current service management permission and an idempotency key. A visitor grant permits service use under current policy; it does not grant service management or publisher authority.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/services/{service_id}/grants (the `CreateServiceGrant` operationId).
func (*ClientWithResponses) CreateServiceHTTPGrantWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateServiceHTTPGrantWithBodyWithResponse(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateServiceHTTPGrantResponse, error)
CreateServiceHTTPGrantWithBodyWithResponse Create a service-scoped HTTP visitor token
Create an HTTP visitor credential for this service. Requires both current management and visitor permission. Each call creates a new credential, returned once; it grants neither management nor feedback permission.
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 /v1/services/{service_id}/http-grants (the `CreateServiceHTTPGrant` operationId).
func (*ClientWithResponses) CreateServiceHTTPGrantWithResponse ¶
func (c *ClientWithResponses) CreateServiceHTTPGrantWithResponse(ctx context.Context, serviceId ServiceID, body CreateServiceHTTPGrantJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateServiceHTTPGrantResponse, error)
CreateServiceHTTPGrantWithResponse Create a service-scoped HTTP visitor token
Create an HTTP visitor credential for this service. Requires both current management and visitor permission. Each call creates a new credential, returned once; it grants neither management nor feedback permission.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/services/{service_id}/http-grants (the `CreateServiceHTTPGrant` operationId).
func (*ClientWithResponses) CreateServiceRunPreviewWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateServiceRunPreviewWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateServiceRunPreviewResponse, error)
CreateServiceRunPreviewWithBodyWithResponse Create feedback context for one ephemeral service run
Create or reuse feedback context for an ephemeral HTTP service run, including a guest demo. Authenticate with that exact service run token and number, not normal project management permission.
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 /v1/services/{service_id}/runs/{service_run_id}/preview (the `CreateServiceRunPreview` operationId).
func (*ClientWithResponses) CreateServiceRunPreviewWithResponse ¶
func (c *ClientWithResponses) CreateServiceRunPreviewWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body CreateServiceRunPreviewJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateServiceRunPreviewResponse, error)
CreateServiceRunPreviewWithResponse Create feedback context for one ephemeral service run
Create or reuse feedback context for an ephemeral HTTP service run, including a guest demo. Authenticate with that exact service run token and number, not normal project management permission.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/preview (the `CreateServiceRunPreview` operationId).
func (*ClientWithResponses) CreateServiceShareWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateServiceShareWithBodyWithResponse(ctx context.Context, params *CreateServiceShareParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateServiceShareResponse, error)
CreateServiceShareWithBodyWithResponse Store one share for an exact authorized HTTP service
Capture one service ID as entry_service_id and return its link and token source once. An identical retry returns credential_delivery_unavailable with details.resource_id; revoke and reissue if delivery was lost. The website may use its scoped bearer credential plus X-Tnl-Actor-Token, a fresh configured-issuer assertion bound with ServiceActorNonce to the exact method, escaped path, raw query and body bytes. Current service management and company source checks run in the state transaction, including retries. This signed website permission is limited to these canonical share operations and never authenticates other control APIs or grants connector access. Guest shares remain limited to the trial's service, source IP, and expiry.
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 /v1/shares (the `CreateServiceShare` operationId).
func (*ClientWithResponses) CreateServiceShareWithResponse ¶
func (c *ClientWithResponses) CreateServiceShareWithResponse(ctx context.Context, params *CreateServiceShareParams, body CreateServiceShareJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateServiceShareResponse, error)
CreateServiceShareWithResponse Store one share for an exact authorized HTTP service
Capture one service ID as entry_service_id and return its link and token source once. An identical retry returns credential_delivery_unavailable with details.resource_id; revoke and reissue if delivery was lost. The website may use its scoped bearer credential plus X-Tnl-Actor-Token, a fresh configured-issuer assertion bound with ServiceActorNonce to the exact method, escaped path, raw query and body bytes. Current service management and company source checks run in the state transaction, including retries. This signed website permission is limited to these canonical share operations and never authenticates other control APIs or grants connector access. Guest shares remain limited to the trial's service, source IP, and expiry.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/shares (the `CreateServiceShare` operationId).
func (*ClientWithResponses) CreateServiceWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateServiceWithBodyWithResponse(ctx context.Context, params *CreateServiceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateServiceResponse, error)
CreateServiceWithBodyWithResponse Create one saved service with approved protocol and placement
Save a service name, protocol, target TLS trust, and optional source-bound worktree placement. Ordinary creation requires current team administration. With reserve true, create or recover only the exact eligible standalone service in an authorized namespace, using current membership, company sign-in, domain, and stored ownership. Recovery never adopts a project, deployment, worktree, or allocated service and never replaces saved declaration or policy. Each idempotency key remains bound to its normalized request and service lifetime. Creating or recovering a service does not issue a publisher grant, start a service run, or issue a certificate.
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 /v1/services (the `CreateService` operationId).
func (*ClientWithResponses) CreateServiceWithResponse ¶
func (c *ClientWithResponses) CreateServiceWithResponse(ctx context.Context, params *CreateServiceParams, body CreateServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateServiceResponse, error)
CreateServiceWithResponse Create one saved service with approved protocol and placement
Save a service name, protocol, target TLS trust, and optional source-bound worktree placement. Ordinary creation requires current team administration. With reserve true, create or recover only the exact eligible standalone service in an authorized namespace, using current membership, company sign-in, domain, and stored ownership. Recovery never adopts a project, deployment, worktree, or allocated service and never replaces saved declaration or policy. Each idempotency key remains bound to its normalized request and service lifetime. Creating or recovering a service does not issue a publisher grant, start a service run, or issue a certificate.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/services (the `CreateService` operationId).
func (*ClientWithResponses) CreateShareWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateShareWithBodyWithResponse(ctx context.Context, previewId PreviewID, params *CreateShareParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateShareResponse, error)
CreateShareWithBodyWithResponse Store one share for a snapshot of authorized services
Capture the selected service IDs and entry_service_id from this preview. Later preview changes do not expand the share. Control returns the link and token source once; an identical retry returns the existing share ID in a credential_delivery_unavailable problem.
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 /v1/previews/{preview_id}/shares (the `CreateShare` operationId).
func (*ClientWithResponses) CreateShareWithResponse ¶
func (c *ClientWithResponses) CreateShareWithResponse(ctx context.Context, previewId PreviewID, params *CreateShareParams, body CreateShareJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateShareResponse, error)
CreateShareWithResponse Store one share for a snapshot of authorized services
Capture the selected service IDs and entry_service_id from this preview. Later preview changes do not expand the share. Control returns the link and token source once; an identical retry returns the existing share ID in a credential_delivery_unavailable problem.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/previews/{preview_id}/shares (the `CreateShare` operationId).
func (*ClientWithResponses) DeleteDeploymentWithResponse ¶
func (c *ClientWithResponses) DeleteDeploymentWithResponse(ctx context.Context, projectKey string, deployment string, params *DeleteDeploymentParams, reqEditors ...RequestEditorFn) (*DeleteDeploymentResponse, error)
DeleteDeploymentWithResponse Retire a deployment
Retire this deployment's saved services, enrollments, and publishers. Requires a current manager or management approval for the deployment and every binding it removes, plus the latest strong ETag. A filtered read is not permission to delete unapproved services. Sibling deployments and logical declarations are preserved.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/projects/{project_key}/deployments/{deployment} (the `DeleteDeployment` operationId).
func (*ClientWithResponses) DeletePublisherServiceWithResponse ¶
func (c *ClientWithResponses) DeletePublisherServiceWithResponse(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*DeletePublisherServiceResponse, error)
DeletePublisherServiceWithResponse Delete this credential's exact temporary service allocation
Requires the durable allocation owner and current publication permission. Named or sibling services cannot be deleted through this operation.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/publisher/services/{service_id} (the `DeletePublisherService` operationId).
func (*ClientWithResponses) DeleteServiceWithResponse ¶
func (c *ClientWithResponses) DeleteServiceWithResponse(ctx context.Context, serviceId ServiceID, params *DeleteServiceParams, reqEditors ...RequestEditorFn) (*DeleteServiceResponse, error)
DeleteServiceWithResponse Delete a saved service and revoke its active publication
Ordinary management deletion requires exactly one of expected_service_revision from the current getService response or unconditional_delete=true. Neither or both is invalid; a stale revision conflicts before closing runs or changing any state. The service revision covers saved metadata, configuration, enablement, and endpoint settings independently of trust and configuration-digest checks. Revoke access and close any run before tombstoning its ID-keyed ingress projection. A current trial credential may delete only its exact owned demo service without either management condition after control verifies the server-observed source; READY exhaustion does not prevent cleanup within the fixed trial lifetime. A publisher grant, run token, or share is not management permission. Guest cleanup uses this same closure, settlement, and endpoint retirement; outstanding offline serving authority remains fenced.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/services/{service_id} (the `DeleteService` operationId).
func (*ClientWithResponses) DeliverConnectorPeerPairWithBodyWithResponse ¶
func (c *ClientWithResponses) DeliverConnectorPeerPairWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, pairId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeliverConnectorPeerPairResponse, error)
DeliverConnectorPeerPairWithBodyWithResponse Deliver an existing connector pair to its current publisher run
Return an existing pair key only to its current publisher run after both current relay legs have claimed the same observed source. This prepares a local binding, not an application stream.
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 /v1/services/{service_id}/runs/{service_run_id}/connector-peer-pairs/{pair_id}/delivery (the `DeliverConnectorPeerPair` operationId).
func (*ClientWithResponses) DeliverConnectorPeerPairWithResponse ¶
func (c *ClientWithResponses) DeliverConnectorPeerPairWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, pairId string, body DeliverConnectorPeerPairJSONRequestBody, reqEditors ...RequestEditorFn) (*DeliverConnectorPeerPairResponse, error)
DeliverConnectorPeerPairWithResponse Deliver an existing connector pair to its current publisher run
Return an existing pair key only to its current publisher run after both current relay legs have claimed the same observed source. This prepares a local binding, not an application stream.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/connector-peer-pairs/{pair_id}/delivery (the `DeliverConnectorPeerPair` operationId).
func (*ClientWithResponses) DrainAdminRelayWithBodyWithResponse ¶
func (c *ClientWithResponses) DrainAdminRelayWithBodyWithResponse(ctx context.Context, relayId RelayID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DrainAdminRelayResponse, error)
DrainAdminRelayWithBodyWithResponse Remove a matching relay lease from placement and begin draining
Fence the exact relay process lease identified in the request, remove it from new placement, and allow existing connections to drain until the deadline. Requires an administrator's control session.
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 /v1/admin/relays/{relay_id}/drain (the `DrainAdminRelay` operationId).
func (*ClientWithResponses) DrainAdminRelayWithResponse ¶
func (c *ClientWithResponses) DrainAdminRelayWithResponse(ctx context.Context, relayId RelayID, body DrainAdminRelayJSONRequestBody, reqEditors ...RequestEditorFn) (*DrainAdminRelayResponse, error)
DrainAdminRelayWithResponse Remove a matching relay lease from placement and begin draining
Fence the exact relay process lease identified in the request, remove it from new placement, and allow existing connections to drain until the deadline. Requires an administrator's control session.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/admin/relays/{relay_id}/drain (the `DrainAdminRelay` operationId).
func (*ClientWithResponses) EnrollGuestPublisherWithBodyWithResponse ¶
func (c *ClientWithResponses) EnrollGuestPublisherWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EnrollGuestPublisherResponse, error)
EnrollGuestPublisherWithBodyWithResponse Enroll a publisher key for this trial's exact demo service
Authenticate with the trial credential and bind an Ed25519 key to its actual saved service. Control checks current trial ownership, publication eligibility, and server-observed source. The same enrolled current key recovers its facts; another key cannot take over or revive revoked authority. The exact-service grant carries the real guest_id and fixed expiry, with no team_id, namespace allocation, service management, or connector permission.
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 /v1/guest-demo/publisher (the `EnrollGuestPublisher` operationId).
func (*ClientWithResponses) EnrollGuestPublisherWithResponse ¶
func (c *ClientWithResponses) EnrollGuestPublisherWithResponse(ctx context.Context, body EnrollGuestPublisherJSONRequestBody, reqEditors ...RequestEditorFn) (*EnrollGuestPublisherResponse, error)
EnrollGuestPublisherWithResponse Enroll a publisher key for this trial's exact demo service
Authenticate with the trial credential and bind an Ed25519 key to its actual saved service. Control checks current trial ownership, publication eligibility, and server-observed source. The same enrolled current key recovers its facts; another key cannot take over or revive revoked authority. The exact-service grant carries the real guest_id and fixed expiry, with no team_id, namespace allocation, service management, or connector permission.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/guest-demo/publisher (the `EnrollGuestPublisher` operationId).
func (*ClientWithResponses) EnrollVisitorDeviceWithBodyWithResponse ¶
func (c *ClientWithResponses) EnrollVisitorDeviceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EnrollVisitorDeviceResponse, error)
EnrollVisitorDeviceWithBodyWithResponse Enroll an Ed25519 visitor device for the signed-in identity
Bind the submitted public key to the current visitor identity using its control session. The private key remains local and signs connector peer pair requests; enrollment alone does not grant access to a service.
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 /v1/visitor-devices (the `EnrollVisitorDevice` operationId).
func (*ClientWithResponses) EnrollVisitorDeviceWithResponse ¶
func (c *ClientWithResponses) EnrollVisitorDeviceWithResponse(ctx context.Context, body EnrollVisitorDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*EnrollVisitorDeviceResponse, error)
EnrollVisitorDeviceWithResponse Enroll an Ed25519 visitor device for the signed-in identity
Bind the submitted public key to the current visitor identity using its control session. The private key remains local and signs connector peer pair requests; enrollment alone does not grant access to a service.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/visitor-devices (the `EnrollVisitorDevice` operationId).
func (*ClientWithResponses) GetAdminServerStatusWithResponse ¶
func (c *ClientWithResponses) GetAdminServerStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAdminServerStatusResponse, error)
GetAdminServerStatusWithResponse Read control, ingress, and relay status
Read canonical service and service run counts plus ingress and relay lease observations using an administrator's control session. Prepared runs are not counted as starting runs. These observations do not renew process leases.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/admin/status (the `GetAdminServerStatus` operationId).
func (*ClientWithResponses) GetClientIPWithResponse ¶
func (c *ClientWithResponses) GetClientIPWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetClientIPResponse, error)
GetClientIPWithResponse Return the requesting client's public IP address
Read the request source address observed by control, after configured trusted-proxy handling. No credential is required; a caller-provided address is not accepted as source evidence.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/client-ip (the `GetClientIP` operationId).
func (*ClientWithResponses) GetControlDiscoveryWithResponse ¶
func (c *ClientWithResponses) GetControlDiscoveryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetControlDiscoveryResponse, error)
GetControlDiscoveryWithResponse Describe control and its authentication methods
Read this server's public capabilities and authentication facts before choosing a client workflow. No credential is required; discover authority sign-in separately from publisher and visitor credentials.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/discovery (the `GetControlDiscovery` operationId).
func (*ClientWithResponses) GetDeploymentPublicationWithResponse ¶
func (c *ClientWithResponses) GetDeploymentPublicationWithResponse(ctx context.Context, projectKey string, deployment string, service string, params *GetDeploymentPublicationParams, reqEditors ...RequestEditorFn) (*GetDeploymentPublicationResponse, error)
GetDeploymentPublicationWithResponse Resolve an approved HTTP service for publication
Resolve one named HTTP service without management authority. The current signed credential must independently approve publication of this exact binding in this deployment. Selection does not issue another grant or permit changes to the service's endpoint or visitor policy.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{project_key}/deployments/{deployment}/services/{service}/publication (the `GetDeploymentPublication` operationId).
func (*ClientWithResponses) GetDeploymentPublisherAssignmentsWithResponse ¶
func (c *ClientWithResponses) GetDeploymentPublisherAssignmentsWithResponse(ctx context.Context, params *GetDeploymentPublisherAssignmentsParams, reqEditors ...RequestEditorFn) (*GetDeploymentPublisherAssignmentsResponse, error)
GetDeploymentPublisherAssignmentsWithResponse Read services and grants assigned to one leased deployment replica
Read the replica's assigned services and publisher grants using its current dpl_lease_ lease. By default returns socket targets only; app_owned=true returns only app-owned bindings. A pta_ publisher token cannot read them.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/publisher/deployments/assignments (the `GetDeploymentPublisherAssignments` operationId).
func (*ClientWithResponses) GetDeploymentPublisherWithResponse ¶
func (c *ClientWithResponses) GetDeploymentPublisherWithResponse(ctx context.Context, projectKey string, deployment string, publisher string, params *GetDeploymentPublisherParams, reqEditors ...RequestEditorFn) (*GetDeploymentPublisherResponse, error)
GetDeploymentPublisherWithResponse Read one deployment publisher
Read one publisher's captured scope and observation with exact deployment ownership. Requires a current manager or management approval covering this deployment and the publisher's entire captured service/protocol scope. Legacy whole-deployment publishers require a manager.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{project_key}/deployments/{deployment}/publishers/{publisher} (the `GetDeploymentPublisher` operationId).
func (*ClientWithResponses) GetDeploymentWithResponse ¶
func (c *ClientWithResponses) GetDeploymentWithResponse(ctx context.Context, projectKey string, deployment string, params *GetDeploymentParams, reqEditors ...RequestEditorFn) (*GetDeploymentResponse, error)
GetDeploymentWithResponse Read one deployment
Read a saved deployment with current manager or scoped deployment-management authority. Management credentials see only approved services/targets and cannot read unrelated deployments. The ETag still represents the whole deployment.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{project_key}/deployments/{deployment} (the `GetDeployment` operationId).
func (*ClientWithResponses) GetHealthWithResponse ¶
func (c *ClientWithResponses) GetHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthResponse, error)
GetHealthWithResponse Confirm that the control HTTP server is serving
Check that the control HTTP handler responds. No credential is required; use getReadiness to check whether the process can serve its configured role.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/health (the `GetHealth` operationId).
func (*ClientWithResponses) GetLocalProjectServiceWithResponse ¶
func (c *ClientWithResponses) GetLocalProjectServiceWithResponse(ctx context.Context, projectKey string, service string, params *GetLocalProjectServiceParams, reqEditors ...RequestEditorFn) (*GetLocalProjectServiceResponse, error)
GetLocalProjectServiceWithResponse Resolve one existing source-bound worktree service
Read the existing service for this team, source, service key, and worktree. Requires visitor access, not project management permission. Returns identity and visitor protocol/TLS metadata, never targets or credentials. It does not create a service or search other worktrees or names. Missing or unauthorized bindings return 404; an authorized source mismatch returns 409.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{project_key}/local-services/{service} (the `GetLocalProjectService` operationId).
func (*ClientWithResponses) GetPreviewWithResponse ¶
func (c *ClientWithResponses) GetPreviewWithResponse(ctx context.Context, previewId PreviewID, reqEditors ...RequestEditorFn) (*GetPreviewResponse, error)
GetPreviewWithResponse Read a preview and its services
Read one preview's saved identity, service membership, and team access setting under current management authorization. Active publication and visitor permission are checked separately.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/previews/{preview_id} (the `GetPreview` operationId).
func (*ClientWithResponses) GetProjectConfigurationWithResponse ¶
func (c *ClientWithResponses) GetProjectConfigurationWithResponse(ctx context.Context, projectKey string, params *GetProjectConfigurationParams, reqEditors ...RequestEditorFn) (*GetProjectConfigurationResponse, error)
GetProjectConfigurationWithResponse Read a project's applied configuration and publisher status
Read the normalized desired configuration and observed publisher revisions for the selected team and project. Requires current project management permission; the response can include targets and must not be exposed as public project metadata.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{project_key}/configuration (the `GetProjectConfiguration` operationId).
func (*ClientWithResponses) GetProjectPublicMetadataWithResponse ¶
func (c *ClientWithResponses) GetProjectPublicMetadataWithResponse(ctx context.Context, projectKey string, params *GetProjectPublicMetadataParams, reqEditors ...RequestEditorFn) (*GetProjectPublicMetadataResponse, error)
GetProjectPublicMetadataWithResponse Read visitor-safe project service identities and hostnames
Read public service IDs and hostnames for this project's worktrees. Visitors see only services they may visit; project managers see all public services. A service key can appear once per worktree. Targets, configuration, trust, grants, and publisher data are omitted.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{project_key}/public-metadata (the `GetProjectPublicMetadata` operationId).
func (*ClientWithResponses) GetProjectServiceWithResponse ¶
func (c *ClientWithResponses) GetProjectServiceWithResponse(ctx context.Context, projectKey string, service ServiceName, params *GetProjectServiceParams, reqEditors ...RequestEditorFn) (*GetProjectServiceResponse, error)
GetProjectServiceWithResponse Resolve an applied service by project source and key
Resolve a service by its exact Git source, deployment, and logical service key using current visitor access. Does not return targets or require project-manager permission. Never searches another deployment or adopts a same-named service.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{project_key}/services/{service} (the `GetProjectService` operationId).
func (*ClientWithResponses) GetProjectStatusWithResponse ¶
func (c *ClientWithResponses) GetProjectStatusWithResponse(ctx context.Context, projectKey string, params *GetProjectStatusParams, reqEditors ...RequestEditorFn) (*GetProjectStatusResponse, error)
GetProjectStatusWithResponse Inspect project publications across worktrees and deployments
Read a manager-only snapshot of declared services, realized worktree resources, and open publications. Each publication appears separately; an idle resource or unrealized declaration appears once. Follow next_cursor with the same project, team, and identity. Readiness describes control's current lease, certificate, and relay observations, not a fresh visitor probe. Targets, credentials, and checkout paths are omitted.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{project_key}/status (the `GetProjectStatus` operationId).
func (*ClientWithResponses) GetPublisherServiceWithResponse ¶
func (c *ClientWithResponses) GetPublisherServiceWithResponse(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*GetPublisherServiceResponse, error)
GetPublisherServiceWithResponse Read one service covered by the current publisher grant
Read the selected service's approved protocol and target TLS trust metadata. Control checks current publication permission for this exact service without changing the credential's grant. The publisher must declare its own matching configuration when preparing a run.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/publisher/services/{service_id} (the `GetPublisherService` operationId).
func (*ClientWithResponses) GetReadinessWithResponse ¶
func (c *ClientWithResponses) GetReadinessWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetReadinessResponse, error)
GetReadinessWithResponse Confirm that the tnld role is ready to serve
Check the configured tnld role's readiness without a credential. An unready process returns the same readiness shape with HTTP 503 rather than a successful health check.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/ready (the `GetReadiness` operationId).
func (*ClientWithResponses) GetServiceByHostnameWithResponse ¶
func (c *ClientWithResponses) GetServiceByHostnameWithResponse(ctx context.Context, hostname string, params *GetServiceByHostnameParams, reqEditors ...RequestEditorFn) (*GetServiceByHostnameResponse, error)
GetServiceByHostnameWithResponse Read one saved service by its exact hostname
Requires management authority for the service in the selected team. This lookup never creates or claims an address.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/service-addresses/{hostname} (the `GetServiceByHostname` operationId).
func (*ClientWithResponses) GetServiceCertificateIssuanceWithResponse ¶
func (c *ClientWithResponses) GetServiceCertificateIssuanceWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, issuanceId IssuanceID, reqEditors ...RequestEditorFn) (*GetServiceCertificateIssuanceResponse, error)
GetServiceCertificateIssuanceWithResponse Read a service run's current certificate issuance
Poll the named issuance using the exact service run token. Control checks that the service, run, and issuance still match before returning certificate material.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/services/{service_id}/runs/{service_run_id}/certificate-issuances/{issuance_id} (the `GetServiceCertificateIssuance` operationId).
func (*ClientWithResponses) GetServiceConfigurationWithResponse ¶
func (c *ClientWithResponses) GetServiceConfigurationWithResponse(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*GetServiceConfigurationResponse, error)
GetServiceConfigurationWithResponse Read one service's protected saved declaration
Requires current exact-service management permission, including current membership and company sign-in where required. Returns the canonical normalized ProjectServiceConfiguration directly, or 204 when the service legitimately has no declaration. Both successful responses include a strong ETag containing a sha256 digest token; absence has its own deterministic digest. Use the unquoted token as expected_configuration_digest when replacing a read declaration. The digest is independent of trust, endpoint, and visitor-policy revisions. This read does not create state or grant mutation permission for allocated or project-managed declarations. Publisher credentials, visitor grants, shares, and guest credentials do not authorize it. Targets and private configuration never appear in inventory or publisher metadata.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/services/{service_id}/configuration (the `GetServiceConfiguration` operationId).
func (*ClientWithResponses) GetServiceWithResponse ¶
func (c *ClientWithResponses) GetServiceWithResponse(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*GetServiceResponse, error)
GetServiceWithResponse Read one saved service for management
Read a service's saved identity and approved protocol/TLS metadata using current management permission. For visitor-only discovery, use listAvailableServices or getProjectService instead.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/services/{service_id} (the `GetService` operationId).
func (*ClientWithResponses) GetShareWithResponse ¶
func (c *ClientWithResponses) GetShareWithResponse(ctx context.Context, shareId ShareID, reqEditors ...RequestEditorFn) (*GetShareResponse, error)
GetShareWithResponse Read one share
Read a manageable share's captured service IDs, entry service, deadline, and revocation state without its secret. The website may use its scoped bearer credential plus X-Tnl-Actor-Token bound to the exact method, escaped path, raw query and empty body with ServiceActorNonce. State consumes the assertion and checks current issuer management and company source authorization together. Reading does not redeem the share or create a visitor or control session.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/shares/{share_id} (the `GetShare` operationId).
func (*ClientWithResponses) GetWebhookProviderSourceWithResponse ¶
func (c *ClientWithResponses) GetWebhookProviderSourceWithResponse(ctx context.Context, provider WebhookProvider, reqEditors ...RequestEditorFn) (*GetWebhookProviderSourceResponse, error)
GetWebhookProviderSourceWithResponse Read one webhook provider source policy
Read the selected provider's current webhook source policy without a credential. Use ETag and If-None-Match to reuse unchanged policy. Both 200 and 304 carry the catalog's observation time, last successful provider check, 15-minute freshness boundary, and absolute 24-hour last-good boundary. An unchanged or stale response does not restart those windows. Clients spend response latency from request start and fail the affected endpoint closed at expiry. This endpoint does not register a webhook or grant visitor access.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/webhook-providers/{provider}/source (the `GetWebhookProviderSource` operationId).
func (*ClientWithResponses) InspectPublisherRuntimeWithBodyWithResponse ¶
func (c *ClientWithResponses) InspectPublisherRuntimeWithBodyWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InspectPublisherRuntimeResponse, error)
InspectPublisherRuntimeWithBodyWithResponse Inspect a publisher runtime
Read the runtime epoch without recording an address. Send a one-use signed assertion for this endpoint in the body. The body's publisher identity and action must match the route.
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 /v1/publisher/runtimes/{publisher_identity_id}/inspect (the `InspectPublisherRuntime` operationId).
func (*ClientWithResponses) InspectPublisherRuntimeWithResponse ¶
func (c *ClientWithResponses) InspectPublisherRuntimeWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, body InspectPublisherRuntimeJSONRequestBody, reqEditors ...RequestEditorFn) (*InspectPublisherRuntimeResponse, error)
InspectPublisherRuntimeWithResponse Inspect a publisher runtime
Read the runtime epoch without recording an address. Send a one-use signed assertion for this endpoint in the body. The body's publisher identity and action must match the route.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/publisher/runtimes/{publisher_identity_id}/inspect (the `InspectPublisherRuntime` operationId).
func (*ClientWithResponses) InviteServiceVisitorWithBodyWithResponse ¶
func (c *ClientWithResponses) InviteServiceVisitorWithBodyWithResponse(ctx context.Context, serviceId ServiceID, params *InviteServiceVisitorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InviteServiceVisitorResponse, error)
InviteServiceVisitorWithBodyWithResponse Invite a verified email identity to one service
Invite the verified email identity to this service. Control returns the credential once. An identical authorized retry returns credential_delivery_unavailable with the existing invitation ID; if delivery was lost, revoke it and create another with a new key. Reusing a key with changed input conflicts. No secret is kept for recovery.
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 /v1/services/{service_id}/invitations (the `InviteServiceVisitor` operationId).
func (*ClientWithResponses) InviteServiceVisitorWithResponse ¶
func (c *ClientWithResponses) InviteServiceVisitorWithResponse(ctx context.Context, serviceId ServiceID, params *InviteServiceVisitorParams, body InviteServiceVisitorJSONRequestBody, reqEditors ...RequestEditorFn) (*InviteServiceVisitorResponse, error)
InviteServiceVisitorWithResponse Invite a verified email identity to one service
Invite the verified email identity to this service. Control returns the credential once. An identical authorized retry returns credential_delivery_unavailable with the existing invitation ID; if delivery was lost, revoke it and create another with a new key. Reusing a key with changed input conflicts. No secret is kept for recovery.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/services/{service_id}/invitations (the `InviteServiceVisitor` operationId).
func (*ClientWithResponses) IssueServiceClientCertificateWithBodyWithResponse ¶
func (c *ClientWithResponses) IssueServiceClientCertificateWithBodyWithResponse(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IssueServiceClientCertificateResponse, error)
IssueServiceClientCertificateWithBodyWithResponse Issue a service-scoped client certificate for an enrolled device
Submit the client's CSR using the current signed-in visitor identity and an enrolled device ID. Control checks exact-service access; the private key stays with the client, and this certificate grants no management authority.
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 /v1/services/{service_id}/client-certificates (the `IssueServiceClientCertificate` operationId).
func (*ClientWithResponses) IssueServiceClientCertificateWithResponse ¶
func (c *ClientWithResponses) IssueServiceClientCertificateWithResponse(ctx context.Context, serviceId ServiceID, body IssueServiceClientCertificateJSONRequestBody, reqEditors ...RequestEditorFn) (*IssueServiceClientCertificateResponse, error)
IssueServiceClientCertificateWithResponse Issue a service-scoped client certificate for an enrolled device
Submit the client's CSR using the current signed-in visitor identity and an enrolled device ID. Control checks exact-service access; the private key stays with the client, and this certificate grants no management authority.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/services/{service_id}/client-certificates (the `IssueServiceClientCertificate` operationId).
func (*ClientWithResponses) IssueVisitorTokenWithBodyWithResponse ¶
func (c *ClientWithResponses) IssueVisitorTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IssueVisitorTokenResponse, error)
IssueVisitorTokenWithBodyWithResponse Prepare or renew an exact-resource visitor permission
Prepare or renew permission to visit one resource.
- control_session or device: send a control-session bearer token. - browser_session, workload, share, share_session, or grant: send the source credential in the body. Omit Authorization entirely, including empty headers.
Control checks current access. Use refresh credentials only to request another visitor token.
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 /v1/visitor-tokens (the `IssueVisitorToken` operationId).
func (*ClientWithResponses) IssueVisitorTokenWithResponse ¶
func (c *ClientWithResponses) IssueVisitorTokenWithResponse(ctx context.Context, body IssueVisitorTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*IssueVisitorTokenResponse, error)
IssueVisitorTokenWithResponse Prepare or renew an exact-resource visitor permission
Prepare or renew permission to visit one resource.
- control_session or device: send a control-session bearer token. - browser_session, workload, share, share_session, or grant: send the source credential in the body. Omit Authorization entirely, including empty headers.
Control checks current access. Use refresh credentials only to request another visitor token.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/visitor-tokens (the `IssueVisitorToken` operationId).
func (*ClientWithResponses) IssueWorkloadServiceClientCertificateWithBodyWithResponse ¶
func (c *ClientWithResponses) IssueWorkloadServiceClientCertificateWithBodyWithResponse(ctx context.Context, serviceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IssueWorkloadServiceClientCertificateResponse, error)
IssueWorkloadServiceClientCertificateWithBodyWithResponse Issue a service client certificate for a workload's existing key
Submit a CSR under the visitor-only workload bearer credential for one currently authorized service. The returned certificate cannot outlive the workload's fixed absolute expiry, and later access still requires a current workload lease.
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 /v1/workload/services/{service_id}/client-certificate (the `IssueWorkloadServiceClientCertificate` operationId).
func (*ClientWithResponses) IssueWorkloadServiceClientCertificateWithResponse ¶
func (c *ClientWithResponses) IssueWorkloadServiceClientCertificateWithResponse(ctx context.Context, serviceId string, body IssueWorkloadServiceClientCertificateJSONRequestBody, reqEditors ...RequestEditorFn) (*IssueWorkloadServiceClientCertificateResponse, error)
IssueWorkloadServiceClientCertificateWithResponse Issue a service client certificate for a workload's existing key
Submit a CSR under the visitor-only workload bearer credential for one currently authorized service. The returned certificate cannot outlive the workload's fixed absolute expiry, and later access still requires a current workload lease.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/workload/services/{service_id}/client-certificate (the `IssueWorkloadServiceClientCertificate` operationId).
func (*ClientWithResponses) ListAdminRelaysWithResponse ¶
func (c *ClientWithResponses) ListAdminRelaysWithResponse(ctx context.Context, params *ListAdminRelaysParams, reqEditors ...RequestEditorFn) (*ListAdminRelaysResponse, error)
ListAdminRelaysWithResponse List relay leases
Read a cursor-paginated inventory of relay process leases using an administrator's control session. Lease state describes current placement eligibility, not a guarantee that a publisher connection is ready.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/admin/relays (the `ListAdminRelays` operationId).
func (*ClientWithResponses) ListAvailableServicesWithResponse ¶
func (c *ClientWithResponses) ListAvailableServicesWithResponse(ctx context.Context, params *ListAvailableServicesParams, reqEditors ...RequestEditorFn) (*ListAvailableServicesResponse, error)
ListAvailableServicesWithResponse List services available to the signed-in visitor
List services the signed-in visitor may use, including offline services. Results include visitor endpoints, not target addresses, target trust, or secrets. Listing a service does not grant traffic access. Initial readiness needs two publisher connections; one surviving connection can keep an already-ready run available.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/visitor/services (the `ListAvailableServices` operationId).
func (*ClientWithResponses) ListConnectorPeerPairsWithResponse ¶
func (c *ClientWithResponses) ListConnectorPeerPairsWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, params *ListConnectorPeerPairsParams, reqEditors ...RequestEditorFn) (*ListConnectorPeerPairsResponse, error)
ListConnectorPeerPairsWithResponse Reconcile candidates and explicit retirements for an exact service run
Authenticate the exact stored started-run token. Current serving permission is required for positive candidates and owner-authority observations; a candidate still needs independent delivery preparation. After serving permission revocation, run closure, or retained service/owner deletion, the exact token can read only explicit retired dispositions within existing pair retention windows. No key, subject, source address, or serving authority is returned by that negative-only read. An omitted pair, absent owner_authority, empty page, or backend error never proves retirement. Restart from the first page on each pass; pagination is not a snapshot or retirement acknowledgment. Listing changes no state or deadline.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/services/{service_id}/runs/{service_run_id}/connector-peer-pairs (the `ListConnectorPeerPairs` operationId).
func (*ClientWithResponses) ListDeploymentPublishersWithResponse ¶
func (c *ClientWithResponses) ListDeploymentPublishersWithResponse(ctx context.Context, projectKey string, deployment string, params *ListDeploymentPublishersParams, reqEditors ...RequestEditorFn) (*ListDeploymentPublishersResponse, error)
ListDeploymentPublishersWithResponse List a deployment's publishers
List authorized publishers in this deployment, including revoked identities and retained observations. A management credential sees only scoped publishers whose entire captured service/protocol approval it covers; filtering precedes pagination. Legacy whole-deployment publishers require a current manager. No enrollment secrets or targets are returned.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{project_key}/deployments/{deployment}/publishers (the `ListDeploymentPublishers` operationId).
func (*ClientWithResponses) ListDeploymentsWithResponse ¶
func (c *ClientWithResponses) ListDeploymentsWithResponse(ctx context.Context, projectKey string, params *ListDeploymentsParams, reqEditors ...RequestEditorFn) (*ListDeploymentsResponse, error)
ListDeploymentsWithResponse List authorized deployments
List authorized deployments in bytewise ID order. Current managers see this project's deployments. Management credentials see only approved deployments containing approved services, with other targets/services omitted; filtering precedes pagination. No publisher credentials or enrollment secrets are returned.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{project_key}/deployments (the `ListDeployments` operationId).
func (*ClientWithResponses) ListMaintenanceControlsWithResponse ¶
func (c *ClientWithResponses) ListMaintenanceControlsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListMaintenanceControlsResponse, error)
ListMaintenanceControlsWithResponse List maintenance controls
Read the administrator-controlled gates for service creation, service run creation, and certificate issuance. Reading a gate does not change it.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/admin/maintenance-controls (the `ListMaintenanceControls` operationId).
func (*ClientWithResponses) ListPreviewsWithResponse ¶
func (c *ClientWithResponses) ListPreviewsWithResponse(ctx context.Context, params *ListPreviewsParams, reqEditors ...RequestEditorFn) (*ListPreviewsResponse, error)
ListPreviewsWithResponse List the caller's previews
List previews created by the signed-in identity in this team. Team visitor access does not grant access to another creator's preview records. Read each preview for its services. Follow next_cursor unchanged; each page checks current access.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/previews (the `ListPreviews` operationId).
func (*ClientWithResponses) ListProjectsWithResponse ¶
func (c *ClientWithResponses) ListProjectsWithResponse(ctx context.Context, params *ListProjectsParams, reqEditors ...RequestEditorFn) (*ListProjectsResponse, error)
ListProjectsWithResponse List applied projects
List active applied projects the current team manager may manage, ordered by project_key. Retired projects are omitted but remain readable by key. Summaries omit configuration, targets, and checkout paths. Read a project's configuration for its deployments, members, and editable declarations. Follow next_cursor unchanged; each page checks current access.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects (the `ListProjects` operationId).
func (*ClientWithResponses) ListPublisherIdentitiesWithResponse ¶
func (c *ClientWithResponses) ListPublisherIdentitiesWithResponse(ctx context.Context, params *ListPublisherIdentitiesParams, reqEditors ...RequestEditorFn) (*ListPublisherIdentitiesResponse, error)
ListPublisherIdentitiesWithResponse List publisher identities and grants without secrets
Read a cursor-paginated inventory of publisher identities and their grants for a manageable team. Responses omit enrollment secrets and private signing keys; an inventory entry is not a publisher credential.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/publisher-identities (the `ListPublisherIdentities` operationId).
func (*ClientWithResponses) ListServiceAuditWithResponse ¶
func (c *ClientWithResponses) ListServiceAuditWithResponse(ctx context.Context, teamId string, params *ListServiceAuditParams, reqEditors ...RequestEditorFn) (*ListServiceAuditResponse, error)
ListServiceAuditWithResponse Read a team's service audit history
Read a bounded page of service access and lifecycle events using the team's current management permission. Filter by exact service identity or time, and resume with the returned cursor; audit records do not grant visitor access.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/teams/{team_id}/service-audit (the `ListServiceAudit` operationId).
func (*ClientWithResponses) ListServiceGrantsWithResponse ¶
func (c *ClientWithResponses) ListServiceGrantsWithResponse(ctx context.Context, serviceId ServiceID, params *ListServiceGrantsParams, reqEditors ...RequestEditorFn) (*ListServiceGrantsResponse, error)
ListServiceGrantsWithResponse List a service's visitor grants and retained history
Current managers may read up to 100 records ordered by ID, including expired and revoked history. Follow next_cursor until absent; inventory is not proof of current visitor access.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/services/{service_id}/grants (the `ListServiceGrants` operationId).
func (*ClientWithResponses) ListServiceHTTPGrantsWithResponse ¶
func (c *ClientWithResponses) ListServiceHTTPGrantsWithResponse(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*ListServiceHTTPGrantsResponse, error)
ListServiceHTTPGrantsWithResponse List an HTTP service's visitor credentials without secrets
List this service's HTTP visitor credentials without their secrets. Requires current service management permission and includes expired and revoked records.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/services/{service_id}/http-grants (the `ListServiceHTTPGrants` operationId).
func (*ClientWithResponses) ListServiceInvitationsWithResponse ¶
func (c *ClientWithResponses) ListServiceInvitationsWithResponse(ctx context.Context, serviceId ServiceID, params *ListServiceInvitationsParams, reqEditors ...RequestEditorFn) (*ListServiceInvitationsResponse, error)
ListServiceInvitationsWithResponse List a service's visitor invitations without secrets
Current managers may read up to 100 records ordered by ID, including accepted, expired and revoked history. Follow next_cursor until absent. Never returns secrets.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/services/{service_id}/invitations (the `ListServiceInvitations` operationId).
func (*ClientWithResponses) ListServicesWithResponse ¶
func (c *ClientWithResponses) ListServicesWithResponse(ctx context.Context, params *ListServicesParams, reqEditors ...RequestEditorFn) (*ListServicesResponse, error)
ListServicesWithResponse List manageable saved services in one team
Administrator-only team inventory; exact member service ownership does not authorize this operation. Never returns target addresses or stream keys.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/services (the `ListServices` operationId).
func (*ClientWithResponses) ListSharesWithResponse ¶
func (c *ClientWithResponses) ListSharesWithResponse(ctx context.Context, previewId PreviewID, params *ListSharesParams, reqEditors ...RequestEditorFn) (*ListSharesResponse, error)
ListSharesWithResponse List shares for a preview
Read a cursor-paginated inventory of the preview's manageable shares without their secrets. A stored share record does not itself function as a share link.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/previews/{preview_id}/shares (the `ListShares` operationId).
func (*ClientWithResponses) ListTeamSharesWithResponse ¶
func (c *ClientWithResponses) ListTeamSharesWithResponse(ctx context.Context, params *ListTeamSharesParams, reqEditors ...RequestEditorFn) (*ListTeamSharesResponse, error)
ListTeamSharesWithResponse List manageable shares for one team
Read the creator's cursor-paginated share inventory under current management and company source authorization. The website may use its scoped bearer credential plus X-Tnl-Actor-Token bound with ServiceActorNonce to the exact method, escaped path, raw query and empty body. Each page consumes a fresh assertion and issuer JTI in its authorization transaction. Responses omit secrets; retain the original creation link or token_source for visitor access. This does not grant connector access.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/shares (the `ListTeamShares` operationId).
func (*ClientWithResponses) ListWorkloadServicesWithResponse ¶
func (c *ClientWithResponses) ListWorkloadServicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListWorkloadServicesResponse, error)
ListWorkloadServicesWithResponse List only the workload session's currently authorized saved services
Read the services currently authorized for this workload session using its visitor-only bearer credential. The inventory omits target addresses and application credentials and grants no publisher or control management authority.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/workload/services (the `ListWorkloadServices` operationId).
func (*ClientWithResponses) MarkServiceCertificateInstalledWithBodyWithResponse ¶
func (c *ClientWithResponses) MarkServiceCertificateInstalledWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MarkServiceCertificateInstalledResponse, error)
MarkServiceCertificateInstalledWithBodyWithResponse Acknowledge the certificate installed for one service run
Record that the publisher installed the exact approved issuance for this run number using its service run token. The acknowledgement does not by itself prove that both publisher connections are ready.
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 /v1/services/{service_id}/runs/{service_run_id}/certificate-installed (the `MarkServiceCertificateInstalled` operationId).
func (*ClientWithResponses) MarkServiceCertificateInstalledWithResponse ¶
func (c *ClientWithResponses) MarkServiceCertificateInstalledWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body MarkServiceCertificateInstalledJSONRequestBody, reqEditors ...RequestEditorFn) (*MarkServiceCertificateInstalledResponse, error)
MarkServiceCertificateInstalledWithResponse Acknowledge the certificate installed for one service run
Record that the publisher installed the exact approved issuance for this run number using its service run token. The acknowledgement does not by itself prove that both publisher connections are ready.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/certificate-installed (the `MarkServiceCertificateInstalled` operationId).
func (*ClientWithResponses) MarkSuppliedServiceCertificateInstalledWithBodyWithResponse ¶
func (c *ClientWithResponses) MarkSuppliedServiceCertificateInstalledWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MarkSuppliedServiceCertificateInstalledResponse, error)
MarkSuppliedServiceCertificateInstalledWithBodyWithResponse Acknowledge a supplied visitor certificate for one exact run
Validate the trusted server chain against the run's captured canonical and alias hostnames. Private keys stay with the publisher. This creates no ACME order and does not broaden publication authority or prove relay readiness. Replacement compares the previously acknowledged fingerprint.
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 /v1/services/{service_id}/runs/{service_run_id}/supplied-certificate-installed (the `MarkSuppliedServiceCertificateInstalled` operationId).
func (*ClientWithResponses) MarkSuppliedServiceCertificateInstalledWithResponse ¶
func (c *ClientWithResponses) MarkSuppliedServiceCertificateInstalledWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body MarkSuppliedServiceCertificateInstalledJSONRequestBody, reqEditors ...RequestEditorFn) (*MarkSuppliedServiceCertificateInstalledResponse, error)
MarkSuppliedServiceCertificateInstalledWithResponse Acknowledge a supplied visitor certificate for one exact run
Validate the trusted server chain against the run's captured canonical and alias hostnames. Private keys stay with the publisher. This creates no ACME order and does not broaden publication authority or prove relay readiness. Replacement compares the previously acknowledged fingerprint.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/supplied-certificate-installed (the `MarkSuppliedServiceCertificateInstalled` operationId).
func (*ClientWithResponses) PrepareConnectorPeerPairWithBodyWithResponse ¶
func (c *ClientWithResponses) PrepareConnectorPeerPairWithBodyWithResponse(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PrepareConnectorPeerPairResponse, error)
PrepareConnectorPeerPairWithBodyWithResponse Prepare a signed connector pair for an exact ready service run
Create or replace a pair for the selected service run using the device or workload signature. Device sources require the matching control session. Workload sources use the body credential and must omit Authorization, including empty headers. Control rechecks current access and both relay leases; a selection snapshot is not permission.
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 /v1/services/{service_id}/connector-peer-pairs (the `PrepareConnectorPeerPair` operationId).
func (*ClientWithResponses) PrepareConnectorPeerPairWithResponse ¶
func (c *ClientWithResponses) PrepareConnectorPeerPairWithResponse(ctx context.Context, serviceId ServiceID, body PrepareConnectorPeerPairJSONRequestBody, reqEditors ...RequestEditorFn) (*PrepareConnectorPeerPairResponse, error)
PrepareConnectorPeerPairWithResponse Prepare a signed connector pair for an exact ready service run
Create or replace a pair for the selected service run using the device or workload signature. Device sources require the matching control session. Workload sources use the body credential and must omit Authorization, including empty headers. Control rechecks current access and both relay leases; a selection snapshot is not permission.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/services/{service_id}/connector-peer-pairs (the `PrepareConnectorPeerPair` operationId).
func (*ClientWithResponses) PrepareServiceRunWithBodyWithResponse ¶
func (c *ClientWithResponses) PrepareServiceRunWithBodyWithResponse(ctx context.Context, serviceId ServiceID, params *PrepareServiceRunParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PrepareServiceRunResponse, error)
PrepareServiceRunWithBodyWithResponse Reserve a service run and its approved certificate plan
Reserve a new run ID and number and capture its exact managed hostname, port, domain and certificate plan under the authenticated publisher grant. Retrying the same idempotency key returns the same preparation.
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 /v1/services/{service_id}/runs (the `PrepareServiceRun` operationId).
func (*ClientWithResponses) PrepareServiceRunWithResponse ¶
func (c *ClientWithResponses) PrepareServiceRunWithResponse(ctx context.Context, serviceId ServiceID, params *PrepareServiceRunParams, body PrepareServiceRunJSONRequestBody, reqEditors ...RequestEditorFn) (*PrepareServiceRunResponse, error)
PrepareServiceRunWithResponse Reserve a service run and its approved certificate plan
Reserve a new run ID and number and capture its exact managed hostname, port, domain and certificate plan under the authenticated publisher grant. Retrying the same idempotency key returns the same preparation.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/services/{service_id}/runs (the `PrepareServiceRun` operationId).
func (*ClientWithResponses) ReadPublisherVisitorPolicyWithBodyWithResponse ¶
func (c *ClientWithResponses) ReadPublisherVisitorPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReadPublisherVisitorPolicyResponse, error)
ReadPublisherVisitorPolicyWithBodyWithResponse Refresh the current run's visitor policy and verification keys
Refresh visitor policy and revocations for one publisher run using its exact run token. This is a publisher operation, not a visitor or management read, and can return private policy data for the run. It does not renew the publisher process lease or grant traffic access. An eligible snapshot includes a confirmation key bound to its exact hostname.
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 /v1/visitor-policy (the `ReadPublisherVisitorPolicy` operationId).
func (*ClientWithResponses) ReadPublisherVisitorPolicyWithResponse ¶
func (c *ClientWithResponses) ReadPublisherVisitorPolicyWithResponse(ctx context.Context, body ReadPublisherVisitorPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*ReadPublisherVisitorPolicyResponse, error)
ReadPublisherVisitorPolicyWithResponse Refresh the current run's visitor policy and verification keys
Refresh visitor policy and revocations for one publisher run using its exact run token. This is a publisher operation, not a visitor or management read, and can return private policy data for the run. It does not renew the publisher process lease or grant traffic access. An eligible snapshot includes a confirmation key bound to its exact hostname.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/visitor-policy (the `ReadPublisherVisitorPolicy` operationId).
func (*ClientWithResponses) RealizeLocalProjectServiceWithBodyWithResponse ¶
func (c *ClientWithResponses) RealizeLocalProjectServiceWithBodyWithResponse(ctx context.Context, projectKey string, service string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RealizeLocalProjectServiceResponse, error)
RealizeLocalProjectServiceWithBodyWithResponse Realize one declared local service for a worktree
Create or reuse one service for this source and worktree. Private services get worktree-specific names; saved services are never adopted by name. A public URL must already belong to this runtime and the caller's membership or personal team; organization-shared and other members' URLs are rejected. If configuration was applied, the declaration must match it. Remote deployments are unchanged.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/projects/{project_key}/local-services/{service} (the `RealizeLocalProjectService` operationId).
func (*ClientWithResponses) RealizeLocalProjectServiceWithResponse ¶
func (c *ClientWithResponses) RealizeLocalProjectServiceWithResponse(ctx context.Context, projectKey string, service string, body RealizeLocalProjectServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*RealizeLocalProjectServiceResponse, error)
RealizeLocalProjectServiceWithResponse Realize one declared local service for a worktree
Create or reuse one service for this source and worktree. Private services get worktree-specific names; saved services are never adopted by name. A public URL must already belong to this runtime and the caller's membership or personal team; organization-shared and other members' URLs are rejected. If configuration was applied, the declaration must match it. Remote deployments are unchanged.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/projects/{project_key}/local-services/{service} (the `RealizeLocalProjectService` operationId).
func (*ClientWithResponses) RebindConnectorPeerPairWithBodyWithResponse ¶
func (c *ClientWithResponses) RebindConnectorPeerPairWithBodyWithResponse(ctx context.Context, serviceId ServiceID, pairId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RebindConnectorPeerPairResponse, error)
RebindConnectorPeerPairWithBodyWithResponse Inspect or change a retained connector pair's network binding
Inspect, prepare, activate, or abort a network binding for an existing connector owner. Sign with the same source key. Device sources require the matching control session; workload sources use the body credential and must omit Authorization, including empty headers. This cannot select another run or revive an expired owner. Only stale_network_binding permits recovery by inspecting retained state; other authorization failures are terminal.
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 /v1/services/{service_id}/connector-peer-pairs/{pair_id}/rebind (the `RebindConnectorPeerPair` operationId).
func (*ClientWithResponses) RebindConnectorPeerPairWithResponse ¶
func (c *ClientWithResponses) RebindConnectorPeerPairWithResponse(ctx context.Context, serviceId ServiceID, pairId string, body RebindConnectorPeerPairJSONRequestBody, reqEditors ...RequestEditorFn) (*RebindConnectorPeerPairResponse, error)
RebindConnectorPeerPairWithResponse Inspect or change a retained connector pair's network binding
Inspect, prepare, activate, or abort a network binding for an existing connector owner. Sign with the same source key. Device sources require the matching control session; workload sources use the body credential and must omit Authorization, including empty headers. This cannot select another run or revive an expired owner. Only stale_network_binding permits recovery by inspecting retained state; other authorization failures are terminal.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/services/{service_id}/connector-peer-pairs/{pair_id}/rebind (the `RebindConnectorPeerPair` operationId).
func (*ClientWithResponses) RedeemDeploymentPublisherEnrollmentWithBodyWithResponse ¶
func (c *ClientWithResponses) RedeemDeploymentPublisherEnrollmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RedeemDeploymentPublisherEnrollmentResponse, error)
RedeemDeploymentPublisherEnrollmentWithBodyWithResponse Enroll a replica's signing key with a deployment enrollment secret
Register a replica's Ed25519 public key using enrollment_key in the body. Retrying the same key returns the same membership without consuming more enrollment capacity.
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 /v1/publisher/deployments/enroll (the `RedeemDeploymentPublisherEnrollment` operationId).
func (*ClientWithResponses) RedeemDeploymentPublisherEnrollmentWithResponse ¶
func (c *ClientWithResponses) RedeemDeploymentPublisherEnrollmentWithResponse(ctx context.Context, body RedeemDeploymentPublisherEnrollmentJSONRequestBody, reqEditors ...RequestEditorFn) (*RedeemDeploymentPublisherEnrollmentResponse, error)
RedeemDeploymentPublisherEnrollmentWithResponse Enroll a replica's signing key with a deployment enrollment secret
Register a replica's Ed25519 public key using enrollment_key in the body. Retrying the same key returns the same membership without consuming more enrollment capacity.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/publisher/deployments/enroll (the `RedeemDeploymentPublisherEnrollment` operationId).
func (*ClientWithResponses) RedeemServiceBrowserHandoffWithBodyWithResponse ¶
func (c *ClientWithResponses) RedeemServiceBrowserHandoffWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RedeemServiceBrowserHandoffResponse, error)
RedeemServiceBrowserHandoffWithBodyWithResponse Exchange a service browser handoff through its publisher run
Authenticate the publisher with the exact service run token and exchange the body's one-time handoff secret for a browser identity cookie bound to captured service runs. Visitor permission is optional and checked independently, including any supplied share cookie pair. A visitor's control session cannot substitute for the publisher run token.
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 /v1/services/{service_id}/runs/{service_run_id}/browser/handoff (the `RedeemServiceBrowserHandoff` operationId).
func (*ClientWithResponses) RedeemServiceBrowserHandoffWithResponse ¶
func (c *ClientWithResponses) RedeemServiceBrowserHandoffWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body RedeemServiceBrowserHandoffJSONRequestBody, reqEditors ...RequestEditorFn) (*RedeemServiceBrowserHandoffResponse, error)
RedeemServiceBrowserHandoffWithResponse Exchange a service browser handoff through its publisher run
Authenticate the publisher with the exact service run token and exchange the body's one-time handoff secret for a browser identity cookie bound to captured service runs. Visitor permission is optional and checked independently, including any supplied share cookie pair. A visitor's control session cannot substitute for the publisher run token.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/browser/handoff (the `RedeemServiceBrowserHandoff` operationId).
func (*ClientWithResponses) RedeemServiceShareWithBodyWithResponse ¶
func (c *ClientWithResponses) RedeemServiceShareWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RedeemServiceShareResponse, error)
RedeemServiceShareWithBodyWithResponse Redeem a share or one-use cross-host handoff through an exact service run
Authenticate with the exact live service run token and number. Share membership, issuer authority, expiry, revocation, and captured handoff run bindings are checked separately. This does not authorize connector access.
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 /v1/services/{service_id}/runs/{service_run_id}/share-redemptions (the `RedeemServiceShare` operationId).
func (*ClientWithResponses) RedeemServiceShareWithResponse ¶
func (c *ClientWithResponses) RedeemServiceShareWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body RedeemServiceShareJSONRequestBody, reqEditors ...RequestEditorFn) (*RedeemServiceShareResponse, error)
RedeemServiceShareWithResponse Redeem a share or one-use cross-host handoff through an exact service run
Authenticate with the exact live service run token and number. Share membership, issuer authority, expiry, revocation, and captured handoff run bindings are checked separately. This does not authorize connector access.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/share-redemptions (the `RedeemServiceShare` operationId).
func (*ClientWithResponses) RegisterDeploymentCredentialWithBodyWithResponse ¶
func (c *ClientWithResponses) RegisterDeploymentCredentialWithBodyWithResponse(ctx context.Context, projectKey string, params *RegisterDeploymentCredentialParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterDeploymentCredentialResponse, error)
RegisterDeploymentCredentialWithBodyWithResponse Register scoped deployment permissions
A current team manager registers one public signing key with independent manage and connect service allowlists. Runtime credentials cannot invoke this administration operation. The original request key and intent recover the same identity, grant and fixed deadline only while still current; recovery never restores revoked, expired or retired approval. This operation is outside the public runtime SDK allowlist.
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 /v1/projects/{project_key}/deployment-credentials (the `RegisterDeploymentCredential` operationId).
func (*ClientWithResponses) RegisterDeploymentCredentialWithResponse ¶
func (c *ClientWithResponses) RegisterDeploymentCredentialWithResponse(ctx context.Context, projectKey string, params *RegisterDeploymentCredentialParams, body RegisterDeploymentCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterDeploymentCredentialResponse, error)
RegisterDeploymentCredentialWithResponse Register scoped deployment permissions
A current team manager registers one public signing key with independent manage and connect service allowlists. Runtime credentials cannot invoke this administration operation. The original request key and intent recover the same identity, grant and fixed deadline only while still current; recovery never restores revoked, expired or retired approval. This operation is outside the public runtime SDK allowlist.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{project_key}/deployment-credentials (the `RegisterDeploymentCredential` operationId).
func (*ClientWithResponses) ReleaseServiceEndpointWithBodyWithResponse ¶
func (c *ClientWithResponses) ReleaseServiceEndpointWithBodyWithResponse(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReleaseServiceEndpointResponse, error)
ReleaseServiceEndpointWithBodyWithResponse Retire a disabled service's public port reservation
Requires current service management permission, public access already disabled, and completed managed DNS cleanup. Send the current trust revision and exact positive reserved port. Closes old runs and advances trust revision while preserving the service, hostname, grants, and machine-local connector assignments. Capacity stays quarantined for at least seven days and until old certificate, issuance, and authorization work is settled. Later private runs do not extend this retired reservation. A stale request conflicts; later public enablement allocates another reservation.
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 /v1/services/{service_id}/endpoint/release (the `ReleaseServiceEndpoint` operationId).
func (*ClientWithResponses) ReleaseServiceEndpointWithResponse ¶
func (c *ClientWithResponses) ReleaseServiceEndpointWithResponse(ctx context.Context, serviceId ServiceID, body ReleaseServiceEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*ReleaseServiceEndpointResponse, error)
ReleaseServiceEndpointWithResponse Retire a disabled service's public port reservation
Requires current service management permission, public access already disabled, and completed managed DNS cleanup. Send the current trust revision and exact positive reserved port. Closes old runs and advances trust revision while preserving the service, hostname, grants, and machine-local connector assignments. Capacity stays quarantined for at least seven days and until old certificate, issuance, and authorization work is settled. Later private runs do not extend this retired reservation. A stale request conflicts; later public enablement allocates another reservation.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/services/{service_id}/endpoint/release (the `ReleaseServiceEndpoint` operationId).
func (*ClientWithResponses) RenameDeploymentNamespaceWithBodyWithResponse ¶
func (c *ClientWithResponses) RenameDeploymentNamespaceWithBodyWithResponse(ctx context.Context, projectKey string, deployment string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenameDeploymentNamespaceResponse, error)
RenameDeploymentNamespaceWithBodyWithResponse Replace a deployment's DNS namespace label
Change the deployment's DNS label while keeping its IDs and ports. This closes old service runs and assigns new publication grants and certificate plans. Old names remain reserved until control finishes its certificate and DNS cleanup checks. The configuration key and separately configured public URLs do not change. Send the current expected revision; an identical retry with the same key returns the original result.
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 /v1/projects/{project_key}/deployments/{deployment}/namespace/rename (the `RenameDeploymentNamespace` operationId).
func (*ClientWithResponses) RenameDeploymentNamespaceWithResponse ¶
func (c *ClientWithResponses) RenameDeploymentNamespaceWithResponse(ctx context.Context, projectKey string, deployment string, body RenameDeploymentNamespaceJSONRequestBody, reqEditors ...RequestEditorFn) (*RenameDeploymentNamespaceResponse, error)
RenameDeploymentNamespaceWithResponse Replace a deployment's DNS namespace label
Change the deployment's DNS label while keeping its IDs and ports. This closes old service runs and assigns new publication grants and certificate plans. Old names remain reserved until control finishes its certificate and DNS cleanup checks. The configuration key and separately configured public URLs do not change. Send the current expected revision; an identical retry with the same key returns the original result.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{project_key}/deployments/{deployment}/namespace/rename (the `RenameDeploymentNamespace` operationId).
func (*ClientWithResponses) RenameDeploymentWithBodyWithResponse ¶
func (c *ClientWithResponses) RenameDeploymentWithBodyWithResponse(ctx context.Context, projectKey string, deployment string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenameDeploymentResponse, error)
RenameDeploymentWithBodyWithResponse Rename a deployment's configuration selector without changing endpoints
Rename the configuration key without changing the deployment's ID, namespace, services, ports, or publisher grants. Old selectors remain reserved for this deployment. Update project configuration before the next apply; retrying a completed rename is safe.
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 /v1/projects/{project_key}/deployments/{deployment}/rename (the `RenameDeployment` operationId).
func (*ClientWithResponses) RenameDeploymentWithResponse ¶
func (c *ClientWithResponses) RenameDeploymentWithResponse(ctx context.Context, projectKey string, deployment string, body RenameDeploymentJSONRequestBody, reqEditors ...RequestEditorFn) (*RenameDeploymentResponse, error)
RenameDeploymentWithResponse Rename a deployment's configuration selector without changing endpoints
Rename the configuration key without changing the deployment's ID, namespace, services, ports, or publisher grants. Old selectors remain reserved for this deployment. Update project configuration before the next apply; retrying a completed rename is safe.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{project_key}/deployments/{deployment}/rename (the `RenameDeployment` operationId).
func (*ClientWithResponses) RenewConnectorPeerPairWithBodyWithResponse ¶
func (c *ClientWithResponses) RenewConnectorPeerPairWithBodyWithResponse(ctx context.Context, serviceId ServiceID, pairId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenewConnectorPeerPairResponse, error)
RenewConnectorPeerPairWithBodyWithResponse Renew an exact signed connector pair and visitor permission
Renew the existing pair and visitor permission together, without selecting another run. The signature must prove the same device or workload key. Device sources require the matching control session; workload sources use the body credential and must omit Authorization, including empty headers. The response contains the pair lease, run validity, and visitor permission from that decision.
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 /v1/services/{service_id}/connector-peer-pairs/{pair_id}/renew (the `RenewConnectorPeerPair` operationId).
func (*ClientWithResponses) RenewConnectorPeerPairWithResponse ¶
func (c *ClientWithResponses) RenewConnectorPeerPairWithResponse(ctx context.Context, serviceId ServiceID, pairId string, body RenewConnectorPeerPairJSONRequestBody, reqEditors ...RequestEditorFn) (*RenewConnectorPeerPairResponse, error)
RenewConnectorPeerPairWithResponse Renew an exact signed connector pair and visitor permission
Renew the existing pair and visitor permission together, without selecting another run. The signature must prove the same device or workload key. Device sources require the matching control session; workload sources use the body credential and must omit Authorization, including empty headers. The response contains the pair lease, run validity, and visitor permission from that decision.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/services/{service_id}/connector-peer-pairs/{pair_id}/renew (the `RenewConnectorPeerPair` operationId).
func (*ClientWithResponses) RenewPublisherRuntimeWithBodyWithResponse ¶
func (c *ClientWithResponses) RenewPublisherRuntimeWithBodyWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenewPublisherRuntimeResponse, error)
RenewPublisherRuntimeWithBodyWithResponse Renew a publisher runtime
Renew the current process run and epoch using a one-use signed assertion for this endpoint. The body's publisher identity and action must match the route. Deployment runtimes also receive a deployment lease.
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 /v1/publisher/runtimes/{publisher_identity_id}/renew (the `RenewPublisherRuntime` operationId).
func (*ClientWithResponses) RenewPublisherRuntimeWithResponse ¶
func (c *ClientWithResponses) RenewPublisherRuntimeWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, body RenewPublisherRuntimeJSONRequestBody, reqEditors ...RequestEditorFn) (*RenewPublisherRuntimeResponse, error)
RenewPublisherRuntimeWithResponse Renew a publisher runtime
Renew the current process run and epoch using a one-use signed assertion for this endpoint. The body's publisher identity and action must match the route. Deployment runtimes also receive a deployment lease.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/publisher/runtimes/{publisher_identity_id}/renew (the `RenewPublisherRuntime` operationId).
func (*ClientWithResponses) RenewServiceRunWithBodyWithResponse ¶
func (c *ClientWithResponses) RenewServiceRunWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenewServiceRunResponse, error)
RenewServiceRunWithBodyWithResponse Renew a service run and report publisher health and capacity
Renew only the current run using its exact service run token. First readiness requires two live relay services; one surviving ready connection can continue serving while the other is replaced. Eligible canonical and alias policies receive separate hostname-bound confirmations.
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 /v1/services/{service_id}/runs/{service_run_id}/renew (the `RenewServiceRun` operationId).
func (*ClientWithResponses) RenewServiceRunWithResponse ¶
func (c *ClientWithResponses) RenewServiceRunWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body RenewServiceRunJSONRequestBody, reqEditors ...RequestEditorFn) (*RenewServiceRunResponse, error)
RenewServiceRunWithResponse Renew a service run and report publisher health and capacity
Renew only the current run using its exact service run token. First readiness requires two live relay services; one surviving ready connection can continue serving while the other is replaced. Eligible canonical and alias policies receive separate hostname-bound confirmations.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/renew (the `RenewServiceRun` operationId).
func (*ClientWithResponses) ReportServiceRunObservationsWithBodyWithResponse ¶
func (c *ClientWithResponses) ReportServiceRunObservationsWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReportServiceRunObservationsResponse, error)
ReportServiceRunObservationsWithBodyWithResponse Report HTTP decisions or connector connections for a service run
Report bounded HTTP request decisions and connector connection facts for this exact publisher run. Control derives connector identity and source from the installed pair. HTTP decisions carry no actor identity. Reporting never authorizes traffic.
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 /v1/services/{service_id}/runs/{service_run_id}/service-observations (the `ReportServiceRunObservations` operationId).
func (*ClientWithResponses) ReportServiceRunObservationsWithResponse ¶
func (c *ClientWithResponses) ReportServiceRunObservationsWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body ReportServiceRunObservationsJSONRequestBody, reqEditors ...RequestEditorFn) (*ReportServiceRunObservationsResponse, error)
ReportServiceRunObservationsWithResponse Report HTTP decisions or connector connections for a service run
Report bounded HTTP request decisions and connector connection facts for this exact publisher run. Control derives connector identity and source from the installed pair. HTTP decisions carry no actor identity. Reporting never authorizes traffic.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/service-observations (the `ReportServiceRunObservations` operationId).
func (*ClientWithResponses) ResolveProjectSourceWithBodyWithResponse ¶
func (c *ClientWithResponses) ResolveProjectSourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResolveProjectSourceResponse, error)
ResolveProjectSourceWithBodyWithResponse Resolve a project's portable source selector
Compute the portable project key from a Git origin and repository-relative configuration path. No repository is fetched, configuration evaluated, or state created. Branches, checkout directories, and file contents do not affect the key. Use it with the configuration endpoint and send the source facts on first apply.
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 /v1/projects/resolve-source (the `ResolveProjectSource` operationId).
func (*ClientWithResponses) ResolveProjectSourceWithResponse ¶
func (c *ClientWithResponses) ResolveProjectSourceWithResponse(ctx context.Context, body ResolveProjectSourceJSONRequestBody, reqEditors ...RequestEditorFn) (*ResolveProjectSourceResponse, error)
ResolveProjectSourceWithResponse Resolve a project's portable source selector
Compute the portable project key from a Git origin and repository-relative configuration path. No repository is fetched, configuration evaluated, or state created. Branches, checkout directories, and file contents do not affect the key. Use it with the configuration endpoint and send the source facts on first apply.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/resolve-source (the `ResolveProjectSource` operationId).
func (*ClientWithResponses) RetireConnectorPeerPairWithBodyWithResponse ¶
func (c *ClientWithResponses) RetireConnectorPeerPairWithBodyWithResponse(ctx context.Context, serviceId ServiceID, pairId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RetireConnectorPeerPairResponse, error)
RetireConnectorPeerPairWithBodyWithResponse Retire one exact connector pair without renewing serving authority
Authenticate with the original enrolled signing key and the exact pair's existing stable session-key MAC. Omit Authorization entirely, including empty headers. No current parent credential or serving permission is required. Sign the handwritten ConnectorPeerPairRetireProof bytes, not this HTTP JSON object. Retirement ends this pair across network rebinds, never a sibling or replacement pair. Retain the identical signed body and owner key after an uncertain reply. Confirmation is bounded by the unchanged max(expires_at, replay_fence_until); missing, replaced, or retention-expired pairs are not confirmed retired. A successful response proves a committed retirement, not publisher observation, remote join, or delivery of a terminal result.
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 /v1/services/{service_id}/connector-peer-pairs/{pair_id}/retire (the `RetireConnectorPeerPair` operationId).
func (*ClientWithResponses) RetireConnectorPeerPairWithResponse ¶
func (c *ClientWithResponses) RetireConnectorPeerPairWithResponse(ctx context.Context, serviceId ServiceID, pairId string, body RetireConnectorPeerPairJSONRequestBody, reqEditors ...RequestEditorFn) (*RetireConnectorPeerPairResponse, error)
RetireConnectorPeerPairWithResponse Retire one exact connector pair without renewing serving authority
Authenticate with the original enrolled signing key and the exact pair's existing stable session-key MAC. Omit Authorization entirely, including empty headers. No current parent credential or serving permission is required. Sign the handwritten ConnectorPeerPairRetireProof bytes, not this HTTP JSON object. Retirement ends this pair across network rebinds, never a sibling or replacement pair. Retain the identical signed body and owner key after an uncertain reply. Confirmation is bounded by the unchanged max(expires_at, replay_fence_until); missing, replaced, or retention-expired pairs are not confirmed retired. A successful response proves a committed retirement, not publisher observation, remote join, or delivery of a terminal result.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/services/{service_id}/connector-peer-pairs/{pair_id}/retire (the `RetireConnectorPeerPair` operationId).
func (*ClientWithResponses) RetireProjectWithBodyWithResponse ¶
func (c *ClientWithResponses) RetireProjectWithBodyWithResponse(ctx context.Context, projectKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RetireProjectResponse, error)
RetireProjectWithBodyWithResponse Retire an applied project and its configuration-owned resources
Require current team manager access and the current revision. Atomically remove declared services and worktree realizations, close their runs, revoke their publisher and visitor grants, retire deployments, revoke workload sessions, and omit the project from active discovery. Keep its source binding, saved label, and incremented revision. An exact retry returns the retired record. Reads by project key still work; applying with the retired record's exact revision reactivates it under normal allocation rules. Previews, shares, feedback, and independently managed OAuth or webhook public URLs are separate lifecycles and are not deleted. This does not stop local applications or installed operating-system jobs.
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 /v1/projects/{project_key}/retire (the `RetireProject` operationId).
func (*ClientWithResponses) RetireProjectWithResponse ¶
func (c *ClientWithResponses) RetireProjectWithResponse(ctx context.Context, projectKey string, body RetireProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*RetireProjectResponse, error)
RetireProjectWithResponse Retire an applied project and its configuration-owned resources
Require current team manager access and the current revision. Atomically remove declared services and worktree realizations, close their runs, revoke their publisher and visitor grants, retire deployments, revoke workload sessions, and omit the project from active discovery. Keep its source binding, saved label, and incremented revision. An exact retry returns the retired record. Reads by project key still work; applying with the retired record's exact revision reactivates it under normal allocation rules. Previews, shares, feedback, and independently managed OAuth or webhook public URLs are separate lifecycles and are not deleted. This does not stop local applications or installed operating-system jobs.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{project_key}/retire (the `RetireProject` operationId).
func (*ClientWithResponses) RevokeDeploymentPublisherWithResponse ¶
func (c *ClientWithResponses) RevokeDeploymentPublisherWithResponse(ctx context.Context, projectKey string, deployment string, publisher string, params *RevokeDeploymentPublisherParams, reqEditors ...RequestEditorFn) (*RevokeDeploymentPublisherResponse, error)
RevokeDeploymentPublisherWithResponse Revoke one deployment publisher
Revoke exactly this publisher identity, its grants, leases, and current publications. Requires a current manager or management approval covering this deployment and the publisher's entire captured service/protocol scope. Legacy whole-deployment publishers require a manager. Repetition is safe; the last observation is retained. Siblings and shared enrollment capacity are unchanged. Apply and enrollment replay cannot restore the revoked identity.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/projects/{project_key}/deployments/{deployment}/publishers/{publisher} (the `RevokeDeploymentPublisher` operationId).
func (*ClientWithResponses) RevokePublisherGrantWithResponse ¶
func (c *ClientWithResponses) RevokePublisherGrantWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, grantId ResourceID, params *RevokePublisherGrantParams, reqEditors ...RequestEditorFn) (*RevokePublisherGrantResponse, error)
RevokePublisherGrantWithResponse Revoke one publisher grant without revoking the identity
Revoke the named grant under current team management authorization. Other grants on the identity remain separate; the revoked grant can no longer authorize current publishing work.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/publisher-identities/{publisher_identity_id}/grants/{grant_id} (the `RevokePublisherGrant` operationId).
func (*ClientWithResponses) RevokePublisherIdentityWithResponse ¶
func (c *ClientWithResponses) RevokePublisherIdentityWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, params *RevokePublisherIdentityParams, reqEditors ...RequestEditorFn) (*RevokePublisherIdentityResponse, error)
RevokePublisherIdentityWithResponse Revoke an identity independently of its grants
Revoke an exact publisher identity under current team management authorization. Identity revocation invalidates its publishing authority independently of any individual grant record.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/publisher-identities/{publisher_identity_id} (the `RevokePublisherIdentity` operationId).
func (*ClientWithResponses) RevokeServiceBrowserSessionWithBodyWithResponse ¶
func (c *ClientWithResponses) RevokeServiceBrowserSessionWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RevokeServiceBrowserSessionResponse, error)
RevokeServiceBrowserSessionWithBodyWithResponse Revoke a browser session through its service publisher run
Authenticate the publisher with the exact service run token and prove the body's browser session was installed for that captured service run. Revoke the shared browser session across its hostname handoff chain, including pending handoffs. Other browser sessions and the person's control session remain unchanged.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/services/{service_id}/runs/{service_run_id}/browser/session (the `RevokeServiceBrowserSession` operationId).
func (*ClientWithResponses) RevokeServiceBrowserSessionWithResponse ¶
func (c *ClientWithResponses) RevokeServiceBrowserSessionWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body RevokeServiceBrowserSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*RevokeServiceBrowserSessionResponse, error)
RevokeServiceBrowserSessionWithResponse Revoke a browser session through its service publisher run
Authenticate the publisher with the exact service run token and prove the body's browser session was installed for that captured service run. Revoke the shared browser session across its hostname handoff chain, including pending handoffs. Other browser sessions and the person's control session remain unchanged.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/services/{service_id}/runs/{service_run_id}/browser/session (the `RevokeServiceBrowserSession` operationId).
func (*ClientWithResponses) RevokeServiceGrantWithResponse ¶
func (c *ClientWithResponses) RevokeServiceGrantWithResponse(ctx context.Context, serviceId ServiceID, grantId ServiceGrantID, reqEditors ...RequestEditorFn) (*RevokeServiceGrantResponse, error)
RevokeServiceGrantWithResponse Revoke one service visitor grant
Revoke the named grant using current service management permission. Later visitor authorization checks reject access through that grant; retained history can still appear in grant inventory.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/services/{service_id}/grants/{grant_id} (the `RevokeServiceGrant` operationId).
func (*ClientWithResponses) RevokeServiceHTTPGrantWithResponse ¶
func (c *ClientWithResponses) RevokeServiceHTTPGrantWithResponse(ctx context.Context, serviceId ServiceID, grantId string, reqEditors ...RequestEditorFn) (*RevokeServiceHTTPGrantResponse, error)
RevokeServiceHTTPGrantWithResponse Revoke one service-scoped HTTP visitor credential
Revoke the named token using current service management permission. The credential no longer authorizes new visitor permission; retained summaries remain visible without their secrets.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/services/{service_id}/http-grants/{grant_id} (the `RevokeServiceHTTPGrant` operationId).
func (*ClientWithResponses) RevokeServiceInvitationWithResponse ¶
func (c *ClientWithResponses) RevokeServiceInvitationWithResponse(ctx context.Context, serviceId ServiceID, invitationId ServiceInvitationID, reqEditors ...RequestEditorFn) (*RevokeServiceInvitationResponse, error)
RevokeServiceInvitationWithResponse Revoke a service invitation and its accepted grant
Revoke the invitation using current service management permission, including the identity grant created if it was accepted. Revocation does not remove the retained invitation history.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/services/{service_id}/invitations/{invitation_id} (the `RevokeServiceInvitation` operationId).
func (*ClientWithResponses) RevokeShareWithResponse ¶
func (c *ClientWithResponses) RevokeShareWithResponse(ctx context.Context, shareId ShareID, reqEditors ...RequestEditorFn) (*RevokeShareResponse, error)
RevokeShareWithResponse Stop new access through one share
Revoke the creator's share under current management authorization so it cannot grant new visitor access. The website may use its scoped bearer credential plus X-Tnl-Actor-Token bound to the exact method, escaped path, raw query and empty body with ServiceActorNonce. State consumes the fresh assertion and checks all captured services and current company source authorization in the revocation transaction. Retain the saved record and captured service snapshot for subsequent reads.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/shares/{share_id}/revoke (the `RevokeShare` operationId).
func (*ClientWithResponses) RevokeVisitorDeviceWithResponse ¶
func (c *ClientWithResponses) RevokeVisitorDeviceWithResponse(ctx context.Context, deviceId string, reqEditors ...RequestEditorFn) (*RevokeVisitorDeviceResponse, error)
RevokeVisitorDeviceWithResponse Revoke a visitor device and its connector peer pairs
Revoke the exact device belonging to the signed-in visitor identity and invalidate its connector peer pairs. This does not revoke the identity's control session or its other enrolled devices.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/visitor-devices/{device_id} (the `RevokeVisitorDevice` operationId).
func (*ClientWithResponses) SelectDeploymentServiceRunWithBodyWithResponse ¶
func (c *ClientWithResponses) SelectDeploymentServiceRunWithBodyWithResponse(ctx context.Context, projectKey string, deployment string, service string, params *SelectDeploymentServiceRunParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SelectDeploymentServiceRunResponse, error)
SelectDeploymentServiceRunWithBodyWithResponse Select an authorized deployment service run
Resolve one service name in one selected deployment and select a ready publication using current visitor authority. Returns only visitor endpoint, protocol and source-bound connection hints, never targets or management data. Device sources require their control session; workload and registered-key sources supply their credential in the body without an Authorization header. Management approval alone grants no access.
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 /v1/projects/{project_key}/deployments/{deployment}/services/{service}/select (the `SelectDeploymentServiceRun` operationId).
func (*ClientWithResponses) SelectDeploymentServiceRunWithResponse ¶
func (c *ClientWithResponses) SelectDeploymentServiceRunWithResponse(ctx context.Context, projectKey string, deployment string, service string, params *SelectDeploymentServiceRunParams, body SelectDeploymentServiceRunJSONRequestBody, reqEditors ...RequestEditorFn) (*SelectDeploymentServiceRunResponse, error)
SelectDeploymentServiceRunWithResponse Select an authorized deployment service run
Resolve one service name in one selected deployment and select a ready publication using current visitor authority. Returns only visitor endpoint, protocol and source-bound connection hints, never targets or management data. Device sources require their control session; workload and registered-key sources supply their credential in the body without an Authorization header. Management approval alone grants no access.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects/{project_key}/deployments/{deployment}/services/{service}/select (the `SelectDeploymentServiceRun` operationId).
func (*ClientWithResponses) SelectServiceRunWithBodyWithResponse ¶
func (c *ClientWithResponses) SelectServiceRunWithBodyWithResponse(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SelectServiceRunResponse, error)
SelectServiceRunWithBodyWithResponse Select a ready service run for an enrolled visitor device
Check current visitor access and select a ready publisher run for background preparation. pair_ready is a credential-free hint containing two exact ready connections on distinct live relay services, not a grant, stream ticket or pair key. The caller never supplies an IP 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 /v1/services/{service_id}/select-run (the `SelectServiceRun` operationId).
func (*ClientWithResponses) SelectServiceRunWithResponse ¶
func (c *ClientWithResponses) SelectServiceRunWithResponse(ctx context.Context, serviceId ServiceID, body SelectServiceRunJSONRequestBody, reqEditors ...RequestEditorFn) (*SelectServiceRunResponse, error)
SelectServiceRunWithResponse Select a ready service run for an enrolled visitor device
Check current visitor access and select a ready publisher run for background preparation. pair_ready is a credential-free hint containing two exact ready connections on distinct live relay services, not a grant, stream ticket or pair key. The caller never supplies an IP 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 /v1/services/{service_id}/select-run (the `SelectServiceRun` operationId).
func (*ClientWithResponses) SelectWorkloadServiceRunWithResponse ¶
func (c *ClientWithResponses) SelectWorkloadServiceRunWithResponse(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*SelectWorkloadServiceRunResponse, error)
SelectWorkloadServiceRunWithResponse Select a ready service run for an authenticated workload
Check the selected workload credential and current service permission. pair_ready appears only for two exact ready connections on distinct live relay services; it is a signing snapshot, not a grant or a pair key.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/workload/services/{service_id}/run (the `SelectWorkloadServiceRun` operationId).
func (*ClientWithResponses) SetMaintenanceControlWithBodyWithResponse ¶
func (c *ClientWithResponses) SetMaintenanceControlWithBodyWithResponse(ctx context.Context, controlName MaintenanceControlName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetMaintenanceControlResponse, error)
SetMaintenanceControlWithBodyWithResponse Set one maintenance control
Change one named maintenance gate using an administrator's control session. The gate controls new work of that kind, rather than closing all existing publications.
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 /v1/admin/maintenance-controls/{control_name} (the `SetMaintenanceControl` operationId).
func (*ClientWithResponses) SetMaintenanceControlWithResponse ¶
func (c *ClientWithResponses) SetMaintenanceControlWithResponse(ctx context.Context, controlName MaintenanceControlName, body SetMaintenanceControlJSONRequestBody, reqEditors ...RequestEditorFn) (*SetMaintenanceControlResponse, error)
SetMaintenanceControlWithResponse Set one maintenance control
Change one named maintenance gate using an administrator's control session. The gate controls new work of that kind, rather than closing all existing publications.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/admin/maintenance-controls/{control_name} (the `SetMaintenanceControl` operationId).
func (*ClientWithResponses) SetPreviewTeamAccessWithBodyWithResponse ¶
func (c *ClientWithResponses) SetPreviewTeamAccessWithBodyWithResponse(ctx context.Context, previewId PreviewID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetPreviewTeamAccessResponse, error)
SetPreviewTeamAccessWithBodyWithResponse Enable or disable team visitor access for this preview
Set the preview's opt-in HTTP team access using current management authorization. Enabled access requires current team sign-in; it does not make services anonymous or authorize connectors, devices, or workloads.
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 /v1/previews/{preview_id}/team-access (the `SetPreviewTeamAccess` operationId).
func (*ClientWithResponses) SetPreviewTeamAccessWithResponse ¶
func (c *ClientWithResponses) SetPreviewTeamAccessWithResponse(ctx context.Context, previewId PreviewID, body SetPreviewTeamAccessJSONRequestBody, reqEditors ...RequestEditorFn) (*SetPreviewTeamAccessResponse, error)
SetPreviewTeamAccessWithResponse Enable or disable team visitor access for this preview
Set the preview's opt-in HTTP team access using current management authorization. Enabled access requires current team sign-in; it does not make services anonymous or authorize connectors, devices, or workloads.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/previews/{preview_id}/team-access (the `SetPreviewTeamAccess` operationId).
func (*ClientWithResponses) SetServiceEnabledWithBodyWithResponse ¶
func (c *ClientWithResponses) SetServiceEnabledWithBodyWithResponse(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetServiceEnabledResponse, error)
SetServiceEnabledWithBodyWithResponse Suspend or enable a saved service
Change operational availability using current stored management authority. Suspension closes current runs while retaining the service ID, declaration, publisher and visitor grants, endpoint reservations, and project or deployment ownership. Enabling allows new authorized runs; it never reopens closed runs or restores revoked permission. Works for project-managed services without editing their declarations. Guest trial credentials and publisher grants do not grant this management operation.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/services/{service_id}/enabled (the `SetServiceEnabled` operationId).
func (*ClientWithResponses) SetServiceEnabledWithResponse ¶
func (c *ClientWithResponses) SetServiceEnabledWithResponse(ctx context.Context, serviceId ServiceID, body SetServiceEnabledJSONRequestBody, reqEditors ...RequestEditorFn) (*SetServiceEnabledResponse, error)
SetServiceEnabledWithResponse Suspend or enable a saved service
Change operational availability using current stored management authority. Suspension closes current runs while retaining the service ID, declaration, publisher and visitor grants, endpoint reservations, and project or deployment ownership. Enabling allows new authorized runs; it never reopens closed runs or restores revoked permission. Works for project-managed services without editing their declarations. Guest trial credentials and publisher grants do not grant this management operation.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/services/{service_id}/enabled (the `SetServiceEnabled` operationId).
func (*ClientWithResponses) StartPublisherRuntimeWithBodyWithResponse ¶
func (c *ClientWithResponses) StartPublisherRuntimeWithBodyWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartPublisherRuntimeResponse, error)
StartPublisherRuntimeWithBodyWithResponse Start a publisher runtime
Start a process run if the inspected epoch still matches. Send a one-use signed assertion for this endpoint in the body, with matching publisher identity and action. After an uncertain response, keep the same process run and expected epoch but use a fresh assertion. Deployment runtimes also receive a deployment lease.
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 /v1/publisher/runtimes/{publisher_identity_id}/start (the `StartPublisherRuntime` operationId).
func (*ClientWithResponses) StartPublisherRuntimeWithResponse ¶
func (c *ClientWithResponses) StartPublisherRuntimeWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, body StartPublisherRuntimeJSONRequestBody, reqEditors ...RequestEditorFn) (*StartPublisherRuntimeResponse, error)
StartPublisherRuntimeWithResponse Start a publisher runtime
Start a process run if the inspected epoch still matches. Send a one-use signed assertion for this endpoint in the body, with matching publisher identity and action. After an uncertain response, keep the same process run and expected epoch but use a fresh assertion. Deployment runtimes also receive a deployment lease.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/publisher/runtimes/{publisher_identity_id}/start (the `StartPublisherRuntime` operationId).
func (*ClientWithResponses) StartServiceRunWithBodyWithResponse ¶
func (c *ClientWithResponses) StartServiceRunWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartServiceRunResponse, error)
StartServiceRunWithBodyWithResponse Start one prepared service run with its publisher grant
Start one exact prepared run using its authenticated publisher identity. Visitor TLS uses the approved service certificate, without an ephemeral stream key or custom TLS proof.
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 /v1/services/{service_id}/runs/{service_run_id}/start (the `StartServiceRun` operationId).
func (*ClientWithResponses) StartServiceRunWithResponse ¶
func (c *ClientWithResponses) StartServiceRunWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body StartServiceRunJSONRequestBody, reqEditors ...RequestEditorFn) (*StartServiceRunResponse, error)
StartServiceRunWithResponse Start one prepared service run with its publisher grant
Start one exact prepared run using its authenticated publisher identity. Visitor TLS uses the approved service certificate, without an ephemeral stream key or custom TLS proof.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/start (the `StartServiceRun` operationId).
func (*ClientWithResponses) StopPublisherRuntimeWithBodyWithResponse ¶
func (c *ClientWithResponses) StopPublisherRuntimeWithBodyWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StopPublisherRuntimeResponse, error)
StopPublisherRuntimeWithBodyWithResponse Stop a publisher runtime
Stop the current process run and epoch using a one-use signed assertion for this endpoint. The body's publisher identity and action must match the route.
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 /v1/publisher/runtimes/{publisher_identity_id}/stop (the `StopPublisherRuntime` operationId).
func (*ClientWithResponses) StopPublisherRuntimeWithResponse ¶
func (c *ClientWithResponses) StopPublisherRuntimeWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, body StopPublisherRuntimeJSONRequestBody, reqEditors ...RequestEditorFn) (*StopPublisherRuntimeResponse, error)
StopPublisherRuntimeWithResponse Stop a publisher runtime
Stop the current process run and epoch using a one-use signed assertion for this endpoint. The body's publisher identity and action must match the route.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/publisher/runtimes/{publisher_identity_id}/stop (the `StopPublisherRuntime` operationId).
func (*ClientWithResponses) UpdateDeploymentWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateDeploymentWithBodyWithResponse(ctx context.Context, projectKey string, deployment string, params *UpdateDeploymentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDeploymentResponse, error)
UpdateDeploymentWithBodyWithResponse Update selected deployment targets
Update selected existing targets/TLS on the same records used by manager apply. Requires a current manager or management approval for this deployment and every submitted service, plus the latest strong ETag. Omitted targets and policies remain unchanged. Stale conditions fail with 412; a missing condition fails with 428.
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 /v1/projects/{project_key}/deployments/{deployment} (the `UpdateDeployment` operationId).
func (*ClientWithResponses) UpdateDeploymentWithResponse ¶
func (c *ClientWithResponses) UpdateDeploymentWithResponse(ctx context.Context, projectKey string, deployment string, params *UpdateDeploymentParams, body UpdateDeploymentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDeploymentResponse, error)
UpdateDeploymentWithResponse Update selected deployment targets
Update selected existing targets/TLS on the same records used by manager apply. Requires a current manager or management approval for this deployment and every submitted service, plus the latest strong ETag. Omitted targets and policies remain unchanged. Stale conditions fail with 412; a missing condition fails with 428.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/projects/{project_key}/deployments/{deployment} (the `UpdateDeployment` operationId).
func (*ClientWithResponses) VerifyDeploymentIdentityWithBodyWithResponse ¶
func (c *ClientWithResponses) VerifyDeploymentIdentityWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyDeploymentIdentityResponse, error)
VerifyDeploymentIdentityWithBodyWithResponse Verify a replica's deployment membership without acquiring a lease
Verify deployment membership using a one-use signed assertion in the body. Its audience is this endpoint's full control URL. Returns current and historical selectors without replacing the running publisher's deployment lease.
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 /v1/publisher/deployments/verify (the `VerifyDeploymentIdentity` operationId).
func (*ClientWithResponses) VerifyDeploymentIdentityWithResponse ¶
func (c *ClientWithResponses) VerifyDeploymentIdentityWithResponse(ctx context.Context, body VerifyDeploymentIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyDeploymentIdentityResponse, error)
VerifyDeploymentIdentityWithResponse Verify a replica's deployment membership without acquiring a lease
Verify deployment membership using a one-use signed assertion in the body. Its audience is this endpoint's full control URL. Returns current and historical selectors without replacing the running publisher's deployment lease.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/publisher/deployments/verify (the `VerifyDeploymentIdentity` operationId).
func (*ClientWithResponses) WatchPublisherRunsWithBodyWithResponse ¶
func (c *ClientWithResponses) WatchPublisherRunsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WatchPublisherRunsResponse, error)
WatchPublisherRunsWithBodyWithResponse Wait for changes to exact, authenticated service runs
Each subscription supplies its own run token and last applied connector revision. The response is a hint to fetch and apply authorized state, not a grant or a renewal. An empty response means the wait ended without a detected change; it does not confirm serving authority.
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 /v1/publisher/watch (the `WatchPublisherRuns` operationId).
func (*ClientWithResponses) WatchPublisherRunsWithResponse ¶
func (c *ClientWithResponses) WatchPublisherRunsWithResponse(ctx context.Context, body WatchPublisherRunsJSONRequestBody, reqEditors ...RequestEditorFn) (*WatchPublisherRunsResponse, error)
WatchPublisherRunsWithResponse Wait for changes to exact, authenticated service runs
Each subscription supplies its own run token and last applied connector revision. The response is a hint to fetch and apply authorized state, not a grant or a renewal. An empty response means the wait ended without a detected change; it does not confirm serving authority.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/publisher/watch (the `WatchPublisherRuns` operationId).
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// ListMaintenanceControlsWithResponse List maintenance controls
//
// Read the administrator-controlled gates for service creation, service run creation, and certificate issuance. Reading a gate does not change it.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/admin/maintenance-controls (the `ListMaintenanceControls` operationId).
ListMaintenanceControlsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListMaintenanceControlsResponse, error)
// SetMaintenanceControlWithBodyWithResponse Set one maintenance control
//
// Change one named maintenance gate using an administrator's control session. The gate controls new work of that kind, rather than closing all existing publications.
//
// 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 /v1/admin/maintenance-controls/{control_name} (the `SetMaintenanceControl` operationId).
SetMaintenanceControlWithBodyWithResponse(ctx context.Context, controlName MaintenanceControlName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetMaintenanceControlResponse, error)
// SetMaintenanceControlWithResponse Set one maintenance control
//
// Change one named maintenance gate using an administrator's control session. The gate controls new work of that kind, rather than closing all existing publications.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/admin/maintenance-controls/{control_name} (the `SetMaintenanceControl` operationId).
SetMaintenanceControlWithResponse(ctx context.Context, controlName MaintenanceControlName, body SetMaintenanceControlJSONRequestBody, reqEditors ...RequestEditorFn) (*SetMaintenanceControlResponse, error)
// ListAdminRelaysWithResponse List relay leases
//
// Read a cursor-paginated inventory of relay process leases using an administrator's control session. Lease state describes current placement eligibility, not a guarantee that a publisher connection is ready.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/admin/relays (the `ListAdminRelays` operationId).
ListAdminRelaysWithResponse(ctx context.Context, params *ListAdminRelaysParams, reqEditors ...RequestEditorFn) (*ListAdminRelaysResponse, error)
// DrainAdminRelayWithBodyWithResponse Remove a matching relay lease from placement and begin draining
//
// Fence the exact relay process lease identified in the request, remove it from new placement, and allow existing connections to drain until the deadline. Requires an administrator's control session.
//
// 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 /v1/admin/relays/{relay_id}/drain (the `DrainAdminRelay` operationId).
DrainAdminRelayWithBodyWithResponse(ctx context.Context, relayId RelayID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DrainAdminRelayResponse, error)
// DrainAdminRelayWithResponse Remove a matching relay lease from placement and begin draining
//
// Fence the exact relay process lease identified in the request, remove it from new placement, and allow existing connections to drain until the deadline. Requires an administrator's control session.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/admin/relays/{relay_id}/drain (the `DrainAdminRelay` operationId).
DrainAdminRelayWithResponse(ctx context.Context, relayId RelayID, body DrainAdminRelayJSONRequestBody, reqEditors ...RequestEditorFn) (*DrainAdminRelayResponse, error)
// GetAdminServerStatusWithResponse Read control, ingress, and relay status
//
// Read canonical service and service run counts plus ingress and relay lease observations using an administrator's control session. Prepared runs are not counted as starting runs. These observations do not renew process leases.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/admin/status (the `GetAdminServerStatus` operationId).
GetAdminServerStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAdminServerStatusResponse, error)
// CompletePreviewBrowserLoginWithResponse Return a signed-in visitor to the preview
//
// Check the pending login state and authorization code, then redirect the browser to a one-time publisher handoff. This callback uses the checked sign-in flow, not a bearer token.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/browser/callback (the `CompletePreviewBrowserLogin` operationId).
CompletePreviewBrowserLoginWithResponse(ctx context.Context, params *CompletePreviewBrowserLoginParams, reqEditors ...RequestEditorFn) (*CompletePreviewBrowserLoginResponse, error)
// BeginServiceBrowserLoginWithResponse Start browser sign-in for one HTTP service
//
// Start browser sign-in for one HTTP service, optionally within a preview. Navigate to this URL rather than fetching JSON. Sign-in verifies browser identity independently of current visit permission; it does not create a visitor grant.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/browser/service-login (the `BeginServiceBrowserLogin` operationId).
BeginServiceBrowserLoginWithResponse(ctx context.Context, params *BeginServiceBrowserLoginParams, reqEditors ...RequestEditorFn) (*BeginServiceBrowserLoginResponse, error)
// GetClientIPWithResponse Return the requesting client's public IP address
//
// Read the request source address observed by control, after configured trusted-proxy handling. No credential is required; a caller-provided address is not accepted as source evidence.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/client-ip (the `GetClientIP` operationId).
GetClientIPWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetClientIPResponse, error)
// GetControlDiscoveryWithResponse Describe control and its authentication methods
//
// Read this server's public capabilities and authentication facts before choosing a client workflow. No credential is required; discover authority sign-in separately from publisher and visitor credentials.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/discovery (the `GetControlDiscovery` operationId).
GetControlDiscoveryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetControlDiscoveryResponse, error)
// AuthorizeImplementerFeedbackWithBodyWithResponse Check current management access for one local feedback operation
//
// Returns a short-lived decision and verified author. Feedback content is stored only on the publishing machine.
//
// 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 /v1/feedback/authorization (the `AuthorizeImplementerFeedback` operationId).
AuthorizeImplementerFeedbackWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthorizeImplementerFeedbackResponse, error)
// AuthorizeImplementerFeedbackWithResponse Check current management access for one local feedback operation
//
// Returns a short-lived decision and verified author. Feedback content is stored only on the publishing machine.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/feedback/authorization (the `AuthorizeImplementerFeedback` operationId).
AuthorizeImplementerFeedbackWithResponse(ctx context.Context, body AuthorizeImplementerFeedbackJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthorizeImplementerFeedbackResponse, error)
// CreateGuestDemoWithResponse Create a restricted guest credential for the built-in demo
//
// Create a source-address-bound guest trial when guest demos are enabled. No existing credential is required. Network issuance limits apply; the returned credential grants only restricted demo operations, not a control session.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/guest-demo (the `CreateGuestDemo` operationId).
CreateGuestDemoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CreateGuestDemoResponse, error)
// EnrollGuestPublisherWithBodyWithResponse Enroll a publisher key for this trial's exact demo service
//
// Authenticate with the trial credential and bind an Ed25519 key to its actual saved service. Control checks current trial ownership, publication eligibility, and server-observed source. The same enrolled current key recovers its facts; another key cannot take over or revive revoked authority. The exact-service grant carries the real guest_id and fixed expiry, with no team_id, namespace allocation, service management, or connector permission.
//
// 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 /v1/guest-demo/publisher (the `EnrollGuestPublisher` operationId).
EnrollGuestPublisherWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EnrollGuestPublisherResponse, error)
// EnrollGuestPublisherWithResponse Enroll a publisher key for this trial's exact demo service
//
// Authenticate with the trial credential and bind an Ed25519 key to its actual saved service. Control checks current trial ownership, publication eligibility, and server-observed source. The same enrolled current key recovers its facts; another key cannot take over or revive revoked authority. The exact-service grant carries the real guest_id and fixed expiry, with no team_id, namespace allocation, service management, or connector permission.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/guest-demo/publisher (the `EnrollGuestPublisher` operationId).
EnrollGuestPublisherWithResponse(ctx context.Context, body EnrollGuestPublisherJSONRequestBody, reqEditors ...RequestEditorFn) (*EnrollGuestPublisherResponse, error)
// AllocateGuestDemoServiceWithBodyWithResponse Allocate or recover this trial's exact demo service
//
// Allocate one ordinary service using the current trial credential and server-observed source. Control captures the fixed approved demo declaration and absolute trial expiry. The same key and normalized request recover only the original live allocation, including cleanup after a lost response; retries never advance the demo number or extend expiry. READY exhaustion blocks new allocation, not recovery for cleanup. A deleted or expired allocation cannot be recreated. Another demo or outstanding offline serving authority blocks new allocation. This operation grants no publisher or connector permission.
//
// 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 /v1/guest-demo/services (the `AllocateGuestDemoService` operationId).
AllocateGuestDemoServiceWithBodyWithResponse(ctx context.Context, params *AllocateGuestDemoServiceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AllocateGuestDemoServiceResponse, error)
// AllocateGuestDemoServiceWithResponse Allocate or recover this trial's exact demo service
//
// Allocate one ordinary service using the current trial credential and server-observed source. Control captures the fixed approved demo declaration and absolute trial expiry. The same key and normalized request recover only the original live allocation, including cleanup after a lost response; retries never advance the demo number or extend expiry. READY exhaustion blocks new allocation, not recovery for cleanup. A deleted or expired allocation cannot be recreated. Another demo or outstanding offline serving authority blocks new allocation. This operation grants no publisher or connector permission.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/guest-demo/services (the `AllocateGuestDemoService` operationId).
AllocateGuestDemoServiceWithResponse(ctx context.Context, params *AllocateGuestDemoServiceParams, body AllocateGuestDemoServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*AllocateGuestDemoServiceResponse, error)
// GetHealthWithResponse Confirm that the control HTTP server is serving
//
// Check that the control HTTP handler responds. No credential is required; use getReadiness to check whether the process can serve its configured role.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/health (the `GetHealth` operationId).
GetHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthResponse, error)
// ListPreviewsWithResponse List the caller's previews
//
// List previews created by the signed-in identity in this team. Team visitor access does not grant access to another creator's preview records. Read each preview for its services. Follow next_cursor unchanged; each page checks current access.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/previews (the `ListPreviews` operationId).
ListPreviewsWithResponse(ctx context.Context, params *ListPreviewsParams, reqEditors ...RequestEditorFn) (*ListPreviewsResponse, error)
// CreatePreviewWithBodyWithResponse Create or reuse a preview for one team
//
// Save or reuse a preview identity for the selected team and idempotency key. The preview groups services; creation alone does not grant visitor access or start their service runs.
//
// 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 /v1/previews (the `CreatePreview` operationId).
CreatePreviewWithBodyWithResponse(ctx context.Context, params *CreatePreviewParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePreviewResponse, error)
// CreatePreviewWithResponse Create or reuse a preview for one team
//
// Save or reuse a preview identity for the selected team and idempotency key. The preview groups services; creation alone does not grant visitor access or start their service runs.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/previews (the `CreatePreview` operationId).
CreatePreviewWithResponse(ctx context.Context, params *CreatePreviewParams, body CreatePreviewJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePreviewResponse, error)
// GetPreviewWithResponse Read a preview and its services
//
// Read one preview's saved identity, service membership, and team access setting under current management authorization. Active publication and visitor permission are checked separately.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/previews/{preview_id} (the `GetPreview` operationId).
GetPreviewWithResponse(ctx context.Context, previewId PreviewID, reqEditors ...RequestEditorFn) (*GetPreviewResponse, error)
// AddPreviewServiceWithBodyWithResponse Add an authorized service to a preview
//
// Add an existing managed HTTP service to the preview. This changes future preview membership, not the immutable service snapshot held by an already-created share.
//
// 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 /v1/previews/{preview_id}/services (the `AddPreviewService` operationId).
AddPreviewServiceWithBodyWithResponse(ctx context.Context, previewId PreviewID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddPreviewServiceResponse, error)
// AddPreviewServiceWithResponse Add an authorized service to a preview
//
// Add an existing managed HTTP service to the preview. This changes future preview membership, not the immutable service snapshot held by an already-created share.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/previews/{preview_id}/services (the `AddPreviewService` operationId).
AddPreviewServiceWithResponse(ctx context.Context, previewId PreviewID, body AddPreviewServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*AddPreviewServiceResponse, error)
//
// Read a cursor-paginated inventory of the preview's manageable shares without their secrets. A stored share record does not itself function as a share link.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/previews/{preview_id}/shares (the `ListShares` operationId).
ListSharesWithResponse(ctx context.Context, previewId PreviewID, params *ListSharesParams, reqEditors ...RequestEditorFn) (*ListSharesResponse, error)
//
// Capture the selected service IDs and entry_service_id from this preview. Later preview changes do not expand the share. Control returns the link and token source once; an identical retry returns the existing share ID in a credential_delivery_unavailable problem.
//
// 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 /v1/previews/{preview_id}/shares (the `CreateShare` operationId).
CreateShareWithBodyWithResponse(ctx context.Context, previewId PreviewID, params *CreateShareParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateShareResponse, error)
//
// Capture the selected service IDs and entry_service_id from this preview. Later preview changes do not expand the share. Control returns the link and token source once; an identical retry returns the existing share ID in a credential_delivery_unavailable problem.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/previews/{preview_id}/shares (the `CreateShare` operationId).
CreateShareWithResponse(ctx context.Context, previewId PreviewID, params *CreateShareParams, body CreateShareJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateShareResponse, error)
// SetPreviewTeamAccessWithBodyWithResponse Enable or disable team visitor access for this preview
//
// Set the preview's opt-in HTTP team access using current management authorization. Enabled access requires current team sign-in; it does not make services anonymous or authorize connectors, devices, or workloads.
//
// 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 /v1/previews/{preview_id}/team-access (the `SetPreviewTeamAccess` operationId).
SetPreviewTeamAccessWithBodyWithResponse(ctx context.Context, previewId PreviewID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetPreviewTeamAccessResponse, error)
// SetPreviewTeamAccessWithResponse Enable or disable team visitor access for this preview
//
// Set the preview's opt-in HTTP team access using current management authorization. Enabled access requires current team sign-in; it does not make services anonymous or authorize connectors, devices, or workloads.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/previews/{preview_id}/team-access (the `SetPreviewTeamAccess` operationId).
SetPreviewTeamAccessWithResponse(ctx context.Context, previewId PreviewID, body SetPreviewTeamAccessJSONRequestBody, reqEditors ...RequestEditorFn) (*SetPreviewTeamAccessResponse, error)
// ListProjectsWithResponse List applied projects
//
// List active applied projects the current team manager may manage, ordered by project_key. Retired projects are omitted but remain readable by key. Summaries omit configuration, targets, and checkout paths. Read a project's configuration for its deployments, members, and editable declarations. Follow next_cursor unchanged; each page checks current access.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects (the `ListProjects` operationId).
ListProjectsWithResponse(ctx context.Context, params *ListProjectsParams, reqEditors ...RequestEditorFn) (*ListProjectsResponse, error)
// ResolveProjectSourceWithBodyWithResponse Resolve a project's portable source selector
//
// Compute the portable project key from a Git origin and repository-relative configuration path. No repository is fetched, configuration evaluated, or state created. Branches, checkout directories, and file contents do not affect the key. Use it with the configuration endpoint and send the source facts on first apply.
//
// 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 /v1/projects/resolve-source (the `ResolveProjectSource` operationId).
ResolveProjectSourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResolveProjectSourceResponse, error)
// ResolveProjectSourceWithResponse Resolve a project's portable source selector
//
// Compute the portable project key from a Git origin and repository-relative configuration path. No repository is fetched, configuration evaluated, or state created. Branches, checkout directories, and file contents do not affect the key. Use it with the configuration endpoint and send the source facts on first apply.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/resolve-source (the `ResolveProjectSource` operationId).
ResolveProjectSourceWithResponse(ctx context.Context, body ResolveProjectSourceJSONRequestBody, reqEditors ...RequestEditorFn) (*ResolveProjectSourceResponse, error)
// GetProjectConfigurationWithResponse Read a project's applied configuration and publisher status
//
// Read the normalized desired configuration and observed publisher revisions for the selected team and project. Requires current project management permission; the response can include targets and must not be exposed as public project metadata.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{project_key}/configuration (the `GetProjectConfiguration` operationId).
GetProjectConfigurationWithResponse(ctx context.Context, projectKey string, params *GetProjectConfigurationParams, reqEditors ...RequestEditorFn) (*GetProjectConfigurationResponse, error)
// ApplyProjectConfigurationWithBodyWithResponse Apply a project's desired services and deployments
//
// Reconcile logical service declarations and one selected deployment's bindings and workload policies. Sibling deployments and local realizations are preserved; declarations cannot contradict retained bindings. On first apply, provide source facts; control computes the fingerprint and project TLS digests. Later applies may omit source to retain its binding. Changed content requires the current project revision; identical content is safe to replay. Targets remain encrypted and visible only to managers and scoped publishers.
//
// 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 /v1/projects/{project_key}/configuration (the `ApplyProjectConfiguration` operationId).
ApplyProjectConfigurationWithBodyWithResponse(ctx context.Context, projectKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApplyProjectConfigurationResponse, error)
// ApplyProjectConfigurationWithResponse Apply a project's desired services and deployments
//
// Reconcile logical service declarations and one selected deployment's bindings and workload policies. Sibling deployments and local realizations are preserved; declarations cannot contradict retained bindings. On first apply, provide source facts; control computes the fingerprint and project TLS digests. Later applies may omit source to retain its binding. Changed content requires the current project revision; identical content is safe to replay. Targets remain encrypted and visible only to managers and scoped publishers.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/projects/{project_key}/configuration (the `ApplyProjectConfiguration` operationId).
ApplyProjectConfigurationWithResponse(ctx context.Context, projectKey string, body ApplyProjectConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplyProjectConfigurationResponse, error)
// RegisterDeploymentCredentialWithBodyWithResponse Register scoped deployment permissions
//
// A current team manager registers one public signing key with independent manage and connect service allowlists. Runtime credentials cannot invoke this administration operation. The original request key and intent recover the same identity, grant and fixed deadline only while still current; recovery never restores revoked, expired or retired approval. This operation is outside the public runtime SDK allowlist.
//
// 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 /v1/projects/{project_key}/deployment-credentials (the `RegisterDeploymentCredential` operationId).
RegisterDeploymentCredentialWithBodyWithResponse(ctx context.Context, projectKey string, params *RegisterDeploymentCredentialParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterDeploymentCredentialResponse, error)
// RegisterDeploymentCredentialWithResponse Register scoped deployment permissions
//
// A current team manager registers one public signing key with independent manage and connect service allowlists. Runtime credentials cannot invoke this administration operation. The original request key and intent recover the same identity, grant and fixed deadline only while still current; recovery never restores revoked, expired or retired approval. This operation is outside the public runtime SDK allowlist.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{project_key}/deployment-credentials (the `RegisterDeploymentCredential` operationId).
RegisterDeploymentCredentialWithResponse(ctx context.Context, projectKey string, params *RegisterDeploymentCredentialParams, body RegisterDeploymentCredentialJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterDeploymentCredentialResponse, error)
// ListDeploymentsWithResponse List authorized deployments
//
// List authorized deployments in bytewise ID order. Current managers see this project's deployments. Management credentials see only approved deployments containing approved services, with other targets/services omitted; filtering precedes pagination. No publisher credentials or enrollment secrets are returned.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{project_key}/deployments (the `ListDeployments` operationId).
ListDeploymentsWithResponse(ctx context.Context, projectKey string, params *ListDeploymentsParams, reqEditors ...RequestEditorFn) (*ListDeploymentsResponse, error)
// CreateDeploymentWithBodyWithResponse Create a saved deployment
//
// Create a deployment using existing logical project declarations. Requires a current team manager or a deployment-management credential explicitly approving all current/future deployments and every submitted service. The original Idempotency-Key is scoped to the acting person or machine identity and recovers the same committed deployment; a deleted deployment is never recreated by replay. Does not grant connect or publish capabilities.
//
// 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 /v1/projects/{project_key}/deployments (the `CreateDeployment` operationId).
CreateDeploymentWithBodyWithResponse(ctx context.Context, projectKey string, params *CreateDeploymentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDeploymentResponse, error)
// CreateDeploymentWithResponse Create a saved deployment
//
// Create a deployment using existing logical project declarations. Requires a current team manager or a deployment-management credential explicitly approving all current/future deployments and every submitted service. The original Idempotency-Key is scoped to the acting person or machine identity and recovers the same committed deployment; a deleted deployment is never recreated by replay. Does not grant connect or publish capabilities.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{project_key}/deployments (the `CreateDeployment` operationId).
CreateDeploymentWithResponse(ctx context.Context, projectKey string, params *CreateDeploymentParams, body CreateDeploymentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDeploymentResponse, error)
// DeleteDeploymentWithResponse Retire a deployment
//
// Retire this deployment's saved services, enrollments, and publishers. Requires a current manager or management approval for the deployment and every binding it removes, plus the latest strong ETag. A filtered read is not permission to delete unapproved services. Sibling deployments and logical declarations are preserved.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/projects/{project_key}/deployments/{deployment} (the `DeleteDeployment` operationId).
DeleteDeploymentWithResponse(ctx context.Context, projectKey string, deployment string, params *DeleteDeploymentParams, reqEditors ...RequestEditorFn) (*DeleteDeploymentResponse, error)
// GetDeploymentWithResponse Read one deployment
//
// Read a saved deployment with current manager or scoped deployment-management authority. Management credentials see only approved services/targets and cannot read unrelated deployments. The ETag still represents the whole deployment.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{project_key}/deployments/{deployment} (the `GetDeployment` operationId).
GetDeploymentWithResponse(ctx context.Context, projectKey string, deployment string, params *GetDeploymentParams, reqEditors ...RequestEditorFn) (*GetDeploymentResponse, error)
// UpdateDeploymentWithBodyWithResponse Update selected deployment targets
//
// Update selected existing targets/TLS on the same records used by manager apply. Requires a current manager or management approval for this deployment and every submitted service, plus the latest strong ETag. Omitted targets and policies remain unchanged. Stale conditions fail with 412; a missing condition fails with 428.
//
// 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 /v1/projects/{project_key}/deployments/{deployment} (the `UpdateDeployment` operationId).
UpdateDeploymentWithBodyWithResponse(ctx context.Context, projectKey string, deployment string, params *UpdateDeploymentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDeploymentResponse, error)
// UpdateDeploymentWithResponse Update selected deployment targets
//
// Update selected existing targets/TLS on the same records used by manager apply. Requires a current manager or management approval for this deployment and every submitted service, plus the latest strong ETag. Omitted targets and policies remain unchanged. Stale conditions fail with 412; a missing condition fails with 428.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/projects/{project_key}/deployments/{deployment} (the `UpdateDeployment` operationId).
UpdateDeploymentWithResponse(ctx context.Context, projectKey string, deployment string, params *UpdateDeploymentParams, body UpdateDeploymentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDeploymentResponse, error)
// RenameDeploymentNamespaceWithBodyWithResponse Replace a deployment's DNS namespace label
//
// Change the deployment's DNS label while keeping its IDs and ports. This closes old service runs and assigns new publication grants and certificate plans. Old names remain reserved until control finishes its certificate and DNS cleanup checks. The configuration key and separately configured public URLs do not change. Send the current expected revision; an identical retry with the same key returns the original result.
//
// 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 /v1/projects/{project_key}/deployments/{deployment}/namespace/rename (the `RenameDeploymentNamespace` operationId).
RenameDeploymentNamespaceWithBodyWithResponse(ctx context.Context, projectKey string, deployment string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenameDeploymentNamespaceResponse, error)
// RenameDeploymentNamespaceWithResponse Replace a deployment's DNS namespace label
//
// Change the deployment's DNS label while keeping its IDs and ports. This closes old service runs and assigns new publication grants and certificate plans. Old names remain reserved until control finishes its certificate and DNS cleanup checks. The configuration key and separately configured public URLs do not change. Send the current expected revision; an identical retry with the same key returns the original result.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{project_key}/deployments/{deployment}/namespace/rename (the `RenameDeploymentNamespace` operationId).
RenameDeploymentNamespaceWithResponse(ctx context.Context, projectKey string, deployment string, body RenameDeploymentNamespaceJSONRequestBody, reqEditors ...RequestEditorFn) (*RenameDeploymentNamespaceResponse, error)
// CreateDeploymentPublisherEnrollmentWithBodyWithResponse Approve scoped publisher enrollment
//
// Approve bounded publisher setup for selected existing services. Requires a current team manager or management approval for this deployment and every selected service. Setup cannot outlive the management grant. The original request key is scoped to the acting person or machine and recovers the same secret only while current authority, captured bindings, deadline, and remaining capacity are valid. Does not create AWS resources or grant general management/connect/namespace authority. Redeem through the existing deployment-publisher enrollment exchange.
//
// 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 /v1/projects/{project_key}/deployments/{deployment}/publisher-enrollments (the `CreateDeploymentPublisherEnrollment` operationId).
CreateDeploymentPublisherEnrollmentWithBodyWithResponse(ctx context.Context, projectKey string, deployment string, params *CreateDeploymentPublisherEnrollmentParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDeploymentPublisherEnrollmentResponse, error)
// CreateDeploymentPublisherEnrollmentWithResponse Approve scoped publisher enrollment
//
// Approve bounded publisher setup for selected existing services. Requires a current team manager or management approval for this deployment and every selected service. Setup cannot outlive the management grant. The original request key is scoped to the acting person or machine and recovers the same secret only while current authority, captured bindings, deadline, and remaining capacity are valid. Does not create AWS resources or grant general management/connect/namespace authority. Redeem through the existing deployment-publisher enrollment exchange.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{project_key}/deployments/{deployment}/publisher-enrollments (the `CreateDeploymentPublisherEnrollment` operationId).
CreateDeploymentPublisherEnrollmentWithResponse(ctx context.Context, projectKey string, deployment string, params *CreateDeploymentPublisherEnrollmentParams, body CreateDeploymentPublisherEnrollmentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDeploymentPublisherEnrollmentResponse, error)
// ListDeploymentPublishersWithResponse List a deployment's publishers
//
// List authorized publishers in this deployment, including revoked identities and retained observations. A management credential sees only scoped publishers whose entire captured service/protocol approval it covers; filtering precedes pagination. Legacy whole-deployment publishers require a current manager. No enrollment secrets or targets are returned.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{project_key}/deployments/{deployment}/publishers (the `ListDeploymentPublishers` operationId).
ListDeploymentPublishersWithResponse(ctx context.Context, projectKey string, deployment string, params *ListDeploymentPublishersParams, reqEditors ...RequestEditorFn) (*ListDeploymentPublishersResponse, error)
// RevokeDeploymentPublisherWithResponse Revoke one deployment publisher
//
// Revoke exactly this publisher identity, its grants, leases, and current publications. Requires a current manager or management approval covering this deployment and the publisher's entire captured service/protocol scope. Legacy whole-deployment publishers require a manager. Repetition is safe; the last observation is retained. Siblings and shared enrollment capacity are unchanged. Apply and enrollment replay cannot restore the revoked identity.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/projects/{project_key}/deployments/{deployment}/publishers/{publisher} (the `RevokeDeploymentPublisher` operationId).
RevokeDeploymentPublisherWithResponse(ctx context.Context, projectKey string, deployment string, publisher string, params *RevokeDeploymentPublisherParams, reqEditors ...RequestEditorFn) (*RevokeDeploymentPublisherResponse, error)
// GetDeploymentPublisherWithResponse Read one deployment publisher
//
// Read one publisher's captured scope and observation with exact deployment ownership. Requires a current manager or management approval covering this deployment and the publisher's entire captured service/protocol scope. Legacy whole-deployment publishers require a manager.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{project_key}/deployments/{deployment}/publishers/{publisher} (the `GetDeploymentPublisher` operationId).
GetDeploymentPublisherWithResponse(ctx context.Context, projectKey string, deployment string, publisher string, params *GetDeploymentPublisherParams, reqEditors ...RequestEditorFn) (*GetDeploymentPublisherResponse, error)
// RenameDeploymentWithBodyWithResponse Rename a deployment's configuration selector without changing endpoints
//
// Rename the configuration key without changing the deployment's ID, namespace, services, ports, or publisher grants. Old selectors remain reserved for this deployment. Update project configuration before the next apply; retrying a completed rename is safe.
//
// 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 /v1/projects/{project_key}/deployments/{deployment}/rename (the `RenameDeployment` operationId).
RenameDeploymentWithBodyWithResponse(ctx context.Context, projectKey string, deployment string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenameDeploymentResponse, error)
// RenameDeploymentWithResponse Rename a deployment's configuration selector without changing endpoints
//
// Rename the configuration key without changing the deployment's ID, namespace, services, ports, or publisher grants. Old selectors remain reserved for this deployment. Update project configuration before the next apply; retrying a completed rename is safe.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{project_key}/deployments/{deployment}/rename (the `RenameDeployment` operationId).
RenameDeploymentWithResponse(ctx context.Context, projectKey string, deployment string, body RenameDeploymentJSONRequestBody, reqEditors ...RequestEditorFn) (*RenameDeploymentResponse, error)
// AllocateDeploymentPublicationWithBodyWithResponse Allocate an approved temporary HTTP service
//
// Allocate an ephemeral HTTP service in this deployment's namespace. Temporary approval is independent of named publication, management and connection approval. Anonymous visitor policy requires anonymous approval. Exact retries recover only the original live service, never a replacement or extended deadline. Delete through the publisher service operation.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{project_key}/deployments/{deployment}/services (the `AllocateDeploymentPublication` operationId).
AllocateDeploymentPublicationWithBodyWithResponse(ctx context.Context, projectKey string, deployment string, params *AllocateDeploymentPublicationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AllocateDeploymentPublicationResponse, error)
// AllocateDeploymentPublicationWithResponse Allocate an approved temporary HTTP service
//
// Allocate an ephemeral HTTP service in this deployment's namespace. Temporary approval is independent of named publication, management and connection approval. Anonymous visitor policy requires anonymous approval. Exact retries recover only the original live service, never a replacement or extended deadline. Delete through the publisher service operation.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{project_key}/deployments/{deployment}/services (the `AllocateDeploymentPublication` operationId).
AllocateDeploymentPublicationWithResponse(ctx context.Context, projectKey string, deployment string, params *AllocateDeploymentPublicationParams, body AllocateDeploymentPublicationJSONRequestBody, reqEditors ...RequestEditorFn) (*AllocateDeploymentPublicationResponse, error)
// GetDeploymentPublicationWithResponse Resolve an approved HTTP service for publication
//
// Resolve one named HTTP service without management authority. The current signed credential must independently approve publication of this exact binding in this deployment. Selection does not issue another grant or permit changes to the service's endpoint or visitor policy.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{project_key}/deployments/{deployment}/services/{service}/publication (the `GetDeploymentPublication` operationId).
GetDeploymentPublicationWithResponse(ctx context.Context, projectKey string, deployment string, service string, params *GetDeploymentPublicationParams, reqEditors ...RequestEditorFn) (*GetDeploymentPublicationResponse, error)
// SelectDeploymentServiceRunWithBodyWithResponse Select an authorized deployment service run
//
// Resolve one service name in one selected deployment and select a ready publication using current visitor authority. Returns only visitor endpoint, protocol and source-bound connection hints, never targets or management data. Device sources require their control session; workload and registered-key sources supply their credential in the body without an Authorization header. Management approval alone grants no access.
//
// 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 /v1/projects/{project_key}/deployments/{deployment}/services/{service}/select (the `SelectDeploymentServiceRun` operationId).
SelectDeploymentServiceRunWithBodyWithResponse(ctx context.Context, projectKey string, deployment string, service string, params *SelectDeploymentServiceRunParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SelectDeploymentServiceRunResponse, error)
// SelectDeploymentServiceRunWithResponse Select an authorized deployment service run
//
// Resolve one service name in one selected deployment and select a ready publication using current visitor authority. Returns only visitor endpoint, protocol and source-bound connection hints, never targets or management data. Device sources require their control session; workload and registered-key sources supply their credential in the body without an Authorization header. Management approval alone grants no access.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{project_key}/deployments/{deployment}/services/{service}/select (the `SelectDeploymentServiceRun` operationId).
SelectDeploymentServiceRunWithResponse(ctx context.Context, projectKey string, deployment string, service string, params *SelectDeploymentServiceRunParams, body SelectDeploymentServiceRunJSONRequestBody, reqEditors ...RequestEditorFn) (*SelectDeploymentServiceRunResponse, error)
// GetLocalProjectServiceWithResponse Resolve one existing source-bound worktree service
//
// Read the existing service for this team, source, service key, and worktree. Requires visitor access, not project management permission. Returns identity and visitor protocol/TLS metadata, never targets or credentials. It does not create a service or search other worktrees or names. Missing or unauthorized bindings return 404; an authorized source mismatch returns 409.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{project_key}/local-services/{service} (the `GetLocalProjectService` operationId).
GetLocalProjectServiceWithResponse(ctx context.Context, projectKey string, service string, params *GetLocalProjectServiceParams, reqEditors ...RequestEditorFn) (*GetLocalProjectServiceResponse, error)
// RealizeLocalProjectServiceWithBodyWithResponse Realize one declared local service for a worktree
//
// Create or reuse one service for this source and worktree. Private services get worktree-specific names; saved services are never adopted by name. A public URL must already belong to this runtime and the caller's membership or personal team; organization-shared and other members' URLs are rejected. If configuration was applied, the declaration must match it. Remote deployments are unchanged.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/projects/{project_key}/local-services/{service} (the `RealizeLocalProjectService` operationId).
RealizeLocalProjectServiceWithBodyWithResponse(ctx context.Context, projectKey string, service string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RealizeLocalProjectServiceResponse, error)
// RealizeLocalProjectServiceWithResponse Realize one declared local service for a worktree
//
// Create or reuse one service for this source and worktree. Private services get worktree-specific names; saved services are never adopted by name. A public URL must already belong to this runtime and the caller's membership or personal team; organization-shared and other members' URLs are rejected. If configuration was applied, the declaration must match it. Remote deployments are unchanged.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/projects/{project_key}/local-services/{service} (the `RealizeLocalProjectService` operationId).
RealizeLocalProjectServiceWithResponse(ctx context.Context, projectKey string, service string, body RealizeLocalProjectServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*RealizeLocalProjectServiceResponse, error)
// GetProjectPublicMetadataWithResponse Read visitor-safe project service identities and hostnames
//
// Read public service IDs and hostnames for this project's worktrees. Visitors see only services they may visit; project managers see all public services. A service key can appear once per worktree. Targets, configuration, trust, grants, and publisher data are omitted.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{project_key}/public-metadata (the `GetProjectPublicMetadata` operationId).
GetProjectPublicMetadataWithResponse(ctx context.Context, projectKey string, params *GetProjectPublicMetadataParams, reqEditors ...RequestEditorFn) (*GetProjectPublicMetadataResponse, error)
// RetireProjectWithBodyWithResponse Retire an applied project and its configuration-owned resources
//
// Require current team manager access and the current revision. Atomically remove declared services and worktree realizations, close their runs, revoke their publisher and visitor grants, retire deployments, revoke workload sessions, and omit the project from active discovery. Keep its source binding, saved label, and incremented revision. An exact retry returns the retired record. Reads by project key still work; applying with the retired record's exact revision reactivates it under normal allocation rules. Previews, shares, feedback, and independently managed OAuth or webhook public URLs are separate lifecycles and are not deleted. This does not stop local applications or installed operating-system jobs.
//
// 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 /v1/projects/{project_key}/retire (the `RetireProject` operationId).
RetireProjectWithBodyWithResponse(ctx context.Context, projectKey string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RetireProjectResponse, error)
// RetireProjectWithResponse Retire an applied project and its configuration-owned resources
//
// Require current team manager access and the current revision. Atomically remove declared services and worktree realizations, close their runs, revoke their publisher and visitor grants, retire deployments, revoke workload sessions, and omit the project from active discovery. Keep its source binding, saved label, and incremented revision. An exact retry returns the retired record. Reads by project key still work; applying with the retired record's exact revision reactivates it under normal allocation rules. Previews, shares, feedback, and independently managed OAuth or webhook public URLs are separate lifecycles and are not deleted. This does not stop local applications or installed operating-system jobs.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects/{project_key}/retire (the `RetireProject` operationId).
RetireProjectWithResponse(ctx context.Context, projectKey string, body RetireProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*RetireProjectResponse, error)
// GetProjectServiceWithResponse Resolve an applied service by project source and key
//
// Resolve a service by its exact Git source, deployment, and logical service key using current visitor access. Does not return targets or require project-manager permission. Never searches another deployment or adopts a same-named service.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{project_key}/services/{service} (the `GetProjectService` operationId).
GetProjectServiceWithResponse(ctx context.Context, projectKey string, service ServiceName, params *GetProjectServiceParams, reqEditors ...RequestEditorFn) (*GetProjectServiceResponse, error)
// GetProjectStatusWithResponse Inspect project publications across worktrees and deployments
//
// Read a manager-only snapshot of declared services, realized worktree resources, and open publications. Each publication appears separately; an idle resource or unrealized declaration appears once. Follow next_cursor with the same project, team, and identity. Readiness describes control's current lease, certificate, and relay observations, not a fresh visitor probe. Targets, credentials, and checkout paths are omitted.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{project_key}/status (the `GetProjectStatus` operationId).
GetProjectStatusWithResponse(ctx context.Context, projectKey string, params *GetProjectStatusParams, reqEditors ...RequestEditorFn) (*GetProjectStatusResponse, error)
// CreatePublisherEnrollmentWithBodyWithResponse Issue an expiring one-use publisher enrollment
//
// Issue an expiring one-use enrollment secret under current management authorization. Enrollment installs a publisher's signing key for the selected scope; it is separate from exchanging signed assertions for short-lived publisher access tokens.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/publisher-enrollments (the `CreatePublisherEnrollment` operationId).
CreatePublisherEnrollmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePublisherEnrollmentResponse, error)
// CreatePublisherEnrollmentWithResponse Issue an expiring one-use publisher enrollment
//
// Issue an expiring one-use enrollment secret under current management authorization. Enrollment installs a publisher's signing key for the selected scope; it is separate from exchanging signed assertions for short-lived publisher access tokens.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/publisher-enrollments (the `CreatePublisherEnrollment` operationId).
CreatePublisherEnrollmentWithResponse(ctx context.Context, body CreatePublisherEnrollmentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePublisherEnrollmentResponse, error)
// ListPublisherIdentitiesWithResponse List publisher identities and grants without secrets
//
// Read a cursor-paginated inventory of publisher identities and their grants for a manageable team. Responses omit enrollment secrets and private signing keys; an inventory entry is not a publisher credential.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/publisher-identities (the `ListPublisherIdentities` operationId).
ListPublisherIdentitiesWithResponse(ctx context.Context, params *ListPublisherIdentitiesParams, reqEditors ...RequestEditorFn) (*ListPublisherIdentitiesResponse, error)
// RevokePublisherIdentityWithResponse Revoke an identity independently of its grants
//
// Revoke an exact publisher identity under current team management authorization. Identity revocation invalidates its publishing authority independently of any individual grant record.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/publisher-identities/{publisher_identity_id} (the `RevokePublisherIdentity` operationId).
RevokePublisherIdentityWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, params *RevokePublisherIdentityParams, reqEditors ...RequestEditorFn) (*RevokePublisherIdentityResponse, error)
// CreatePublisherGrantWithBodyWithResponse Add one authorized scope to a publisher identity
//
// Create a revocable publisher grant using current management authorization for the selected scope. The grant identifies what the native publisher may serve; it is not a visitor grant or a control session.
//
// 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 /v1/publisher-identities/{publisher_identity_id}/grants (the `CreatePublisherGrant` operationId).
CreatePublisherGrantWithBodyWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePublisherGrantResponse, error)
// CreatePublisherGrantWithResponse Add one authorized scope to a publisher identity
//
// Create a revocable publisher grant using current management authorization for the selected scope. The grant identifies what the native publisher may serve; it is not a visitor grant or a control session.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/publisher-identities/{publisher_identity_id}/grants (the `CreatePublisherGrant` operationId).
CreatePublisherGrantWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, body CreatePublisherGrantJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePublisherGrantResponse, error)
// RevokePublisherGrantWithResponse Revoke one publisher grant without revoking the identity
//
// Revoke the named grant under current team management authorization. Other grants on the identity remain separate; the revoked grant can no longer authorize current publishing work.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/publisher-identities/{publisher_identity_id}/grants/{grant_id} (the `RevokePublisherGrant` operationId).
RevokePublisherGrantWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, grantId ResourceID, params *RevokePublisherGrantParams, reqEditors ...RequestEditorFn) (*RevokePublisherGrantResponse, error)
// GetDeploymentPublisherAssignmentsWithResponse Read services and grants assigned to one leased deployment replica
//
// Read the replica's assigned services and publisher grants using its current dpl_lease_ lease. By default returns socket targets only; app_owned=true returns only app-owned bindings. A pta_ publisher token cannot read them.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/publisher/deployments/assignments (the `GetDeploymentPublisherAssignments` operationId).
GetDeploymentPublisherAssignmentsWithResponse(ctx context.Context, params *GetDeploymentPublisherAssignmentsParams, reqEditors ...RequestEditorFn) (*GetDeploymentPublisherAssignmentsResponse, error)
// AcknowledgeDeploymentPublisherConfigurationWithBodyWithResponse Acknowledge the exact configuration installed by a deployment replica
//
// Report the installed configuration revision, hash, and health using the replica's current dpl_lease_ lease. Stale or mismatched configuration is rejected; a pta_ publisher token cannot acknowledge it.
//
// 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 /v1/publisher/deployments/configuration-acknowledgements (the `AcknowledgeDeploymentPublisherConfiguration` operationId).
AcknowledgeDeploymentPublisherConfigurationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AcknowledgeDeploymentPublisherConfigurationResponse, error)
// AcknowledgeDeploymentPublisherConfigurationWithResponse Acknowledge the exact configuration installed by a deployment replica
//
// Report the installed configuration revision, hash, and health using the replica's current dpl_lease_ lease. Stale or mismatched configuration is rejected; a pta_ publisher token cannot acknowledge it.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/publisher/deployments/configuration-acknowledgements (the `AcknowledgeDeploymentPublisherConfiguration` operationId).
AcknowledgeDeploymentPublisherConfigurationWithResponse(ctx context.Context, body AcknowledgeDeploymentPublisherConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*AcknowledgeDeploymentPublisherConfigurationResponse, error)
// RedeemDeploymentPublisherEnrollmentWithBodyWithResponse Enroll a replica's signing key with a deployment enrollment secret
//
// Register a replica's Ed25519 public key using enrollment_key in the body. Retrying the same key returns the same membership without consuming more enrollment capacity.
//
// 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 /v1/publisher/deployments/enroll (the `RedeemDeploymentPublisherEnrollment` operationId).
RedeemDeploymentPublisherEnrollmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RedeemDeploymentPublisherEnrollmentResponse, error)
// RedeemDeploymentPublisherEnrollmentWithResponse Enroll a replica's signing key with a deployment enrollment secret
//
// Register a replica's Ed25519 public key using enrollment_key in the body. Retrying the same key returns the same membership without consuming more enrollment capacity.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/publisher/deployments/enroll (the `RedeemDeploymentPublisherEnrollment` operationId).
RedeemDeploymentPublisherEnrollmentWithResponse(ctx context.Context, body RedeemDeploymentPublisherEnrollmentJSONRequestBody, reqEditors ...RequestEditorFn) (*RedeemDeploymentPublisherEnrollmentResponse, error)
// AcquireDeploymentPublisherLeaseWithBodyWithResponse Exchange a signed replica assertion for a deployment lease
//
// Exchange a one-use signed assertion in the body for a dpl_lease_ deployment lease. The assertion's audience is this endpoint's full control URL, and its grant claim is the deployment ID.
//
// 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 /v1/publisher/deployments/lease (the `AcquireDeploymentPublisherLease` operationId).
AcquireDeploymentPublisherLeaseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AcquireDeploymentPublisherLeaseResponse, error)
// AcquireDeploymentPublisherLeaseWithResponse Exchange a signed replica assertion for a deployment lease
//
// Exchange a one-use signed assertion in the body for a dpl_lease_ deployment lease. The assertion's audience is this endpoint's full control URL, and its grant claim is the deployment ID.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/publisher/deployments/lease (the `AcquireDeploymentPublisherLease` operationId).
AcquireDeploymentPublisherLeaseWithResponse(ctx context.Context, body AcquireDeploymentPublisherLeaseJSONRequestBody, reqEditors ...RequestEditorFn) (*AcquireDeploymentPublisherLeaseResponse, error)
// VerifyDeploymentIdentityWithBodyWithResponse Verify a replica's deployment membership without acquiring a lease
//
// Verify deployment membership using a one-use signed assertion in the body. Its audience is this endpoint's full control URL. Returns current and historical selectors without replacing the running publisher's deployment lease.
//
// 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 /v1/publisher/deployments/verify (the `VerifyDeploymentIdentity` operationId).
VerifyDeploymentIdentityWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyDeploymentIdentityResponse, error)
// VerifyDeploymentIdentityWithResponse Verify a replica's deployment membership without acquiring a lease
//
// Verify deployment membership using a one-use signed assertion in the body. Its audience is this endpoint's full control URL. Returns current and historical selectors without replacing the running publisher's deployment lease.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/publisher/deployments/verify (the `VerifyDeploymentIdentity` operationId).
VerifyDeploymentIdentityWithResponse(ctx context.Context, body VerifyDeploymentIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyDeploymentIdentityResponse, error)
// InspectPublisherRuntimeWithBodyWithResponse Inspect a publisher runtime
//
// Read the runtime epoch without recording an address. Send a one-use signed assertion for this endpoint in the body. The body's publisher identity and action must match the route.
//
// 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 /v1/publisher/runtimes/{publisher_identity_id}/inspect (the `InspectPublisherRuntime` operationId).
InspectPublisherRuntimeWithBodyWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InspectPublisherRuntimeResponse, error)
// InspectPublisherRuntimeWithResponse Inspect a publisher runtime
//
// Read the runtime epoch without recording an address. Send a one-use signed assertion for this endpoint in the body. The body's publisher identity and action must match the route.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/publisher/runtimes/{publisher_identity_id}/inspect (the `InspectPublisherRuntime` operationId).
InspectPublisherRuntimeWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, body InspectPublisherRuntimeJSONRequestBody, reqEditors ...RequestEditorFn) (*InspectPublisherRuntimeResponse, error)
// RenewPublisherRuntimeWithBodyWithResponse Renew a publisher runtime
//
// Renew the current process run and epoch using a one-use signed assertion for this endpoint. The body's publisher identity and action must match the route. Deployment runtimes also receive a deployment lease.
//
// 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 /v1/publisher/runtimes/{publisher_identity_id}/renew (the `RenewPublisherRuntime` operationId).
RenewPublisherRuntimeWithBodyWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenewPublisherRuntimeResponse, error)
// RenewPublisherRuntimeWithResponse Renew a publisher runtime
//
// Renew the current process run and epoch using a one-use signed assertion for this endpoint. The body's publisher identity and action must match the route. Deployment runtimes also receive a deployment lease.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/publisher/runtimes/{publisher_identity_id}/renew (the `RenewPublisherRuntime` operationId).
RenewPublisherRuntimeWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, body RenewPublisherRuntimeJSONRequestBody, reqEditors ...RequestEditorFn) (*RenewPublisherRuntimeResponse, error)
// StartPublisherRuntimeWithBodyWithResponse Start a publisher runtime
//
// Start a process run if the inspected epoch still matches. Send a one-use signed assertion for this endpoint in the body, with matching publisher identity and action. After an uncertain response, keep the same process run and expected epoch but use a fresh assertion. Deployment runtimes also receive a deployment lease.
//
// 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 /v1/publisher/runtimes/{publisher_identity_id}/start (the `StartPublisherRuntime` operationId).
StartPublisherRuntimeWithBodyWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartPublisherRuntimeResponse, error)
// StartPublisherRuntimeWithResponse Start a publisher runtime
//
// Start a process run if the inspected epoch still matches. Send a one-use signed assertion for this endpoint in the body, with matching publisher identity and action. After an uncertain response, keep the same process run and expected epoch but use a fresh assertion. Deployment runtimes also receive a deployment lease.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/publisher/runtimes/{publisher_identity_id}/start (the `StartPublisherRuntime` operationId).
StartPublisherRuntimeWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, body StartPublisherRuntimeJSONRequestBody, reqEditors ...RequestEditorFn) (*StartPublisherRuntimeResponse, error)
// StopPublisherRuntimeWithBodyWithResponse Stop a publisher runtime
//
// Stop the current process run and epoch using a one-use signed assertion for this endpoint. The body's publisher identity and action must match the route.
//
// 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 /v1/publisher/runtimes/{publisher_identity_id}/stop (the `StopPublisherRuntime` operationId).
StopPublisherRuntimeWithBodyWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StopPublisherRuntimeResponse, error)
// StopPublisherRuntimeWithResponse Stop a publisher runtime
//
// Stop the current process run and epoch using a one-use signed assertion for this endpoint. The body's publisher identity and action must match the route.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/publisher/runtimes/{publisher_identity_id}/stop (the `StopPublisherRuntime` operationId).
StopPublisherRuntimeWithResponse(ctx context.Context, publisherIdentityId PublisherIdentityID, body StopPublisherRuntimeJSONRequestBody, reqEditors ...RequestEditorFn) (*StopPublisherRuntimeResponse, error)
// AllocatePublisherServiceWithBodyWithResponse Allocate a temporary HTTP service
//
// The current namespace grant retains ownership. Allocation issues no child grant or signing key.
//
// 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 /v1/publisher/services (the `AllocatePublisherService` operationId).
AllocatePublisherServiceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AllocatePublisherServiceResponse, error)
// AllocatePublisherServiceWithResponse Allocate a temporary HTTP service
//
// The current namespace grant retains ownership. Allocation issues no child grant or signing key.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/publisher/services (the `AllocatePublisherService` operationId).
AllocatePublisherServiceWithResponse(ctx context.Context, body AllocatePublisherServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*AllocatePublisherServiceResponse, error)
// DeletePublisherServiceWithResponse Delete this credential's exact temporary service allocation
//
// Requires the durable allocation owner and current publication permission. Named or sibling services cannot be deleted through this operation.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/publisher/services/{service_id} (the `DeletePublisherService` operationId).
DeletePublisherServiceWithResponse(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*DeletePublisherServiceResponse, error)
// GetPublisherServiceWithResponse Read one service covered by the current publisher grant
//
// Read the selected service's approved protocol and target TLS trust metadata. Control checks current publication permission for this exact service without changing the credential's grant. The publisher must declare its own matching configuration when preparing a run.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/publisher/services/{service_id} (the `GetPublisherService` operationId).
GetPublisherServiceWithResponse(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*GetPublisherServiceResponse, error)
// WatchPublisherRunsWithBodyWithResponse Wait for changes to exact, authenticated service runs
//
// Each subscription supplies its own run token and last applied connector revision. The response is a hint to fetch and apply authorized state, not a grant or a renewal. An empty response means the wait ended without a detected change; it does not confirm serving authority.
//
// 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 /v1/publisher/watch (the `WatchPublisherRuns` operationId).
WatchPublisherRunsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WatchPublisherRunsResponse, error)
// WatchPublisherRunsWithResponse Wait for changes to exact, authenticated service runs
//
// Each subscription supplies its own run token and last applied connector revision. The response is a hint to fetch and apply authorized state, not a grant or a renewal. An empty response means the wait ended without a detected change; it does not confirm serving authority.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/publisher/watch (the `WatchPublisherRuns` operationId).
WatchPublisherRunsWithResponse(ctx context.Context, body WatchPublisherRunsJSONRequestBody, reqEditors ...RequestEditorFn) (*WatchPublisherRunsResponse, error)
// GetReadinessWithResponse Confirm that the tnld role is ready to serve
//
// Check the configured tnld role's readiness without a credential. An unready process returns the same readiness shape with HTTP 503 rather than a successful health check.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/ready (the `GetReadiness` operationId).
GetReadinessWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetReadinessResponse, error)
// GetServiceByHostnameWithResponse Read one saved service by its exact hostname
//
// Requires management authority for the service in the selected team. This lookup never creates or claims an address.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/service-addresses/{hostname} (the `GetServiceByHostname` operationId).
GetServiceByHostnameWithResponse(ctx context.Context, hostname string, params *GetServiceByHostnameParams, reqEditors ...RequestEditorFn) (*GetServiceByHostnameResponse, error)
// AcceptServiceInvitationWithBodyWithResponse Accept an invitation for the signed-in verified email identity
//
// Exchange the one-use invitation secret under the current signed-in identity. Control verifies the recipient email and creates an exact-service identity grant; acceptance grants no management or publisher permission.
//
// 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 /v1/service-invitations/accept (the `AcceptServiceInvitation` operationId).
AcceptServiceInvitationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AcceptServiceInvitationResponse, error)
// AcceptServiceInvitationWithResponse Accept an invitation for the signed-in verified email identity
//
// Exchange the one-use invitation secret under the current signed-in identity. Control verifies the recipient email and creates an exact-service identity grant; acceptance grants no management or publisher permission.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/service-invitations/accept (the `AcceptServiceInvitation` operationId).
AcceptServiceInvitationWithResponse(ctx context.Context, body AcceptServiceInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*AcceptServiceInvitationResponse, error)
// ListServicesWithResponse List manageable saved services in one team
//
// Administrator-only team inventory; exact member service ownership does not authorize this operation. Never returns target addresses or stream keys.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/services (the `ListServices` operationId).
ListServicesWithResponse(ctx context.Context, params *ListServicesParams, reqEditors ...RequestEditorFn) (*ListServicesResponse, error)
// CreateServiceWithBodyWithResponse Create one saved service with approved protocol and placement
//
// Save a service name, protocol, target TLS trust, and optional source-bound worktree placement. Ordinary creation requires current team administration. With reserve true, create or recover only the exact eligible standalone service in an authorized namespace, using current membership, company sign-in, domain, and stored ownership. Recovery never adopts a project, deployment, worktree, or allocated service and never replaces saved declaration or policy. Each idempotency key remains bound to its normalized request and service lifetime. Creating or recovering a service does not issue a publisher grant, start a service run, or issue a certificate.
//
// 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 /v1/services (the `CreateService` operationId).
CreateServiceWithBodyWithResponse(ctx context.Context, params *CreateServiceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateServiceResponse, error)
// CreateServiceWithResponse Create one saved service with approved protocol and placement
//
// Save a service name, protocol, target TLS trust, and optional source-bound worktree placement. Ordinary creation requires current team administration. With reserve true, create or recover only the exact eligible standalone service in an authorized namespace, using current membership, company sign-in, domain, and stored ownership. Recovery never adopts a project, deployment, worktree, or allocated service and never replaces saved declaration or policy. Each idempotency key remains bound to its normalized request and service lifetime. Creating or recovering a service does not issue a publisher grant, start a service run, or issue a certificate.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/services (the `CreateService` operationId).
CreateServiceWithResponse(ctx context.Context, params *CreateServiceParams, body CreateServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateServiceResponse, error)
// DeleteServiceWithResponse Delete a saved service and revoke its active publication
//
// Ordinary management deletion requires exactly one of expected_service_revision from the current getService response or unconditional_delete=true. Neither or both is invalid; a stale revision conflicts before closing runs or changing any state. The service revision covers saved metadata, configuration, enablement, and endpoint settings independently of trust and configuration-digest checks. Revoke access and close any run before tombstoning its ID-keyed ingress projection. A current trial credential may delete only its exact owned demo service without either management condition after control verifies the server-observed source; READY exhaustion does not prevent cleanup within the fixed trial lifetime. A publisher grant, run token, or share is not management permission. Guest cleanup uses this same closure, settlement, and endpoint retirement; outstanding offline serving authority remains fenced.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/services/{service_id} (the `DeleteService` operationId).
DeleteServiceWithResponse(ctx context.Context, serviceId ServiceID, params *DeleteServiceParams, reqEditors ...RequestEditorFn) (*DeleteServiceResponse, error)
// GetServiceWithResponse Read one saved service for management
//
// Read a service's saved identity and approved protocol/TLS metadata using current management permission. For visitor-only discovery, use listAvailableServices or getProjectService instead.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/services/{service_id} (the `GetService` operationId).
GetServiceWithResponse(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*GetServiceResponse, error)
// ConfigureServiceWithBodyWithResponse Replace a service's approved settings and standalone declaration
//
// Replace the approved protocol, publisher-pool setting, and target TLS trust. Send trust_revision as expected_trust_revision; omit target_tls to remove it. Supplied configuration atomically replaces a standalone service's whole declaration, including its target, endpoint selectors, HTTP visitor policy, and request limits, without replacing the service ID. Omitted settings return to defaults rather than retaining old values. Protocol and target TLS must agree with the declaration. Every configuration replacement must send the unquoted getServiceConfiguration ETag token as expected_configuration_digest, or explicitly send unconditional_configuration: true instead; sending neither or both is invalid. A digest mismatch conflicts before any service write, independently of expected_trust_revision. Omitting configuration is a metadata-only update and retains the declaration. Allocated invocation intent and project-managed definitions remain protected. Endpoint changes preserve authorized connector runs; protocol or target-trust changes fence old runs. Publishers must declare matching trust when preparing later runs.
//
// 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 /v1/services/{service_id} (the `ConfigureService` operationId).
ConfigureServiceWithBodyWithResponse(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConfigureServiceResponse, error)
// ConfigureServiceWithResponse Replace a service's approved settings and standalone declaration
//
// Replace the approved protocol, publisher-pool setting, and target TLS trust. Send trust_revision as expected_trust_revision; omit target_tls to remove it. Supplied configuration atomically replaces a standalone service's whole declaration, including its target, endpoint selectors, HTTP visitor policy, and request limits, without replacing the service ID. Omitted settings return to defaults rather than retaining old values. Protocol and target TLS must agree with the declaration. Every configuration replacement must send the unquoted getServiceConfiguration ETag token as expected_configuration_digest, or explicitly send unconditional_configuration: true instead; sending neither or both is invalid. A digest mismatch conflicts before any service write, independently of expected_trust_revision. Omitting configuration is a metadata-only update and retains the declaration. Allocated invocation intent and project-managed definitions remain protected. Endpoint changes preserve authorized connector runs; protocol or target-trust changes fence old runs. Publishers must declare matching trust when preparing later runs.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/services/{service_id} (the `ConfigureService` operationId).
ConfigureServiceWithResponse(ctx context.Context, serviceId ServiceID, body ConfigureServiceJSONRequestBody, reqEditors ...RequestEditorFn) (*ConfigureServiceResponse, error)
// IssueServiceClientCertificateWithBodyWithResponse Issue a service-scoped client certificate for an enrolled device
//
// Submit the client's CSR using the current signed-in visitor identity and an enrolled device ID. Control checks exact-service access; the private key stays with the client, and this certificate grants no management authority.
//
// 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 /v1/services/{service_id}/client-certificates (the `IssueServiceClientCertificate` operationId).
IssueServiceClientCertificateWithBodyWithResponse(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IssueServiceClientCertificateResponse, error)
// IssueServiceClientCertificateWithResponse Issue a service-scoped client certificate for an enrolled device
//
// Submit the client's CSR using the current signed-in visitor identity and an enrolled device ID. Control checks exact-service access; the private key stays with the client, and this certificate grants no management authority.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/services/{service_id}/client-certificates (the `IssueServiceClientCertificate` operationId).
IssueServiceClientCertificateWithResponse(ctx context.Context, serviceId ServiceID, body IssueServiceClientCertificateJSONRequestBody, reqEditors ...RequestEditorFn) (*IssueServiceClientCertificateResponse, error)
// GetServiceConfigurationWithResponse Read one service's protected saved declaration
//
// Requires current exact-service management permission, including current membership and company sign-in where required. Returns the canonical normalized ProjectServiceConfiguration directly, or 204 when the service legitimately has no declaration. Both successful responses include a strong ETag containing a sha256 digest token; absence has its own deterministic digest. Use the unquoted token as expected_configuration_digest when replacing a read declaration. The digest is independent of trust, endpoint, and visitor-policy revisions. This read does not create state or grant mutation permission for allocated or project-managed declarations. Publisher credentials, visitor grants, shares, and guest credentials do not authorize it. Targets and private configuration never appear in inventory or publisher metadata.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/services/{service_id}/configuration (the `GetServiceConfiguration` operationId).
GetServiceConfigurationWithResponse(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*GetServiceConfigurationResponse, error)
// PrepareConnectorPeerPairWithBodyWithResponse Prepare a signed connector pair for an exact ready service run
//
// Create or replace a pair for the selected service run using the device or workload signature. Device sources require the matching control session. Workload sources use the body credential and must omit Authorization, including empty headers. Control rechecks current access and both relay leases; a selection snapshot is not permission.
//
// 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 /v1/services/{service_id}/connector-peer-pairs (the `PrepareConnectorPeerPair` operationId).
PrepareConnectorPeerPairWithBodyWithResponse(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PrepareConnectorPeerPairResponse, error)
// PrepareConnectorPeerPairWithResponse Prepare a signed connector pair for an exact ready service run
//
// Create or replace a pair for the selected service run using the device or workload signature. Device sources require the matching control session. Workload sources use the body credential and must omit Authorization, including empty headers. Control rechecks current access and both relay leases; a selection snapshot is not permission.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/services/{service_id}/connector-peer-pairs (the `PrepareConnectorPeerPair` operationId).
PrepareConnectorPeerPairWithResponse(ctx context.Context, serviceId ServiceID, body PrepareConnectorPeerPairJSONRequestBody, reqEditors ...RequestEditorFn) (*PrepareConnectorPeerPairResponse, error)
// RebindConnectorPeerPairWithBodyWithResponse Inspect or change a retained connector pair's network binding
//
// Inspect, prepare, activate, or abort a network binding for an existing connector owner. Sign with the same source key. Device sources require the matching control session; workload sources use the body credential and must omit Authorization, including empty headers. This cannot select another run or revive an expired owner. Only stale_network_binding permits recovery by inspecting retained state; other authorization failures are terminal.
//
// 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 /v1/services/{service_id}/connector-peer-pairs/{pair_id}/rebind (the `RebindConnectorPeerPair` operationId).
RebindConnectorPeerPairWithBodyWithResponse(ctx context.Context, serviceId ServiceID, pairId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RebindConnectorPeerPairResponse, error)
// RebindConnectorPeerPairWithResponse Inspect or change a retained connector pair's network binding
//
// Inspect, prepare, activate, or abort a network binding for an existing connector owner. Sign with the same source key. Device sources require the matching control session; workload sources use the body credential and must omit Authorization, including empty headers. This cannot select another run or revive an expired owner. Only stale_network_binding permits recovery by inspecting retained state; other authorization failures are terminal.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/services/{service_id}/connector-peer-pairs/{pair_id}/rebind (the `RebindConnectorPeerPair` operationId).
RebindConnectorPeerPairWithResponse(ctx context.Context, serviceId ServiceID, pairId string, body RebindConnectorPeerPairJSONRequestBody, reqEditors ...RequestEditorFn) (*RebindConnectorPeerPairResponse, error)
// RenewConnectorPeerPairWithBodyWithResponse Renew an exact signed connector pair and visitor permission
//
// Renew the existing pair and visitor permission together, without selecting another run. The signature must prove the same device or workload key. Device sources require the matching control session; workload sources use the body credential and must omit Authorization, including empty headers. The response contains the pair lease, run validity, and visitor permission from that decision.
//
// 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 /v1/services/{service_id}/connector-peer-pairs/{pair_id}/renew (the `RenewConnectorPeerPair` operationId).
RenewConnectorPeerPairWithBodyWithResponse(ctx context.Context, serviceId ServiceID, pairId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenewConnectorPeerPairResponse, error)
// RenewConnectorPeerPairWithResponse Renew an exact signed connector pair and visitor permission
//
// Renew the existing pair and visitor permission together, without selecting another run. The signature must prove the same device or workload key. Device sources require the matching control session; workload sources use the body credential and must omit Authorization, including empty headers. The response contains the pair lease, run validity, and visitor permission from that decision.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/services/{service_id}/connector-peer-pairs/{pair_id}/renew (the `RenewConnectorPeerPair` operationId).
RenewConnectorPeerPairWithResponse(ctx context.Context, serviceId ServiceID, pairId string, body RenewConnectorPeerPairJSONRequestBody, reqEditors ...RequestEditorFn) (*RenewConnectorPeerPairResponse, error)
// RetireConnectorPeerPairWithBodyWithResponse Retire one exact connector pair without renewing serving authority
//
// Authenticate with the original enrolled signing key and the exact pair's existing stable session-key MAC. Omit Authorization entirely, including empty headers. No current parent credential or serving permission is required. Sign the handwritten ConnectorPeerPairRetireProof bytes, not this HTTP JSON object. Retirement ends this pair across network rebinds, never a sibling or replacement pair. Retain the identical signed body and owner key after an uncertain reply. Confirmation is bounded by the unchanged max(expires_at, replay_fence_until); missing, replaced, or retention-expired pairs are not confirmed retired. A successful response proves a committed retirement, not publisher observation, remote join, or delivery of a terminal result.
//
// 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 /v1/services/{service_id}/connector-peer-pairs/{pair_id}/retire (the `RetireConnectorPeerPair` operationId).
RetireConnectorPeerPairWithBodyWithResponse(ctx context.Context, serviceId ServiceID, pairId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RetireConnectorPeerPairResponse, error)
// RetireConnectorPeerPairWithResponse Retire one exact connector pair without renewing serving authority
//
// Authenticate with the original enrolled signing key and the exact pair's existing stable session-key MAC. Omit Authorization entirely, including empty headers. No current parent credential or serving permission is required. Sign the handwritten ConnectorPeerPairRetireProof bytes, not this HTTP JSON object. Retirement ends this pair across network rebinds, never a sibling or replacement pair. Retain the identical signed body and owner key after an uncertain reply. Confirmation is bounded by the unchanged max(expires_at, replay_fence_until); missing, replaced, or retention-expired pairs are not confirmed retired. A successful response proves a committed retirement, not publisher observation, remote join, or delivery of a terminal result.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/services/{service_id}/connector-peer-pairs/{pair_id}/retire (the `RetireConnectorPeerPair` operationId).
RetireConnectorPeerPairWithResponse(ctx context.Context, serviceId ServiceID, pairId string, body RetireConnectorPeerPairJSONRequestBody, reqEditors ...RequestEditorFn) (*RetireConnectorPeerPairResponse, error)
// SetServiceEnabledWithBodyWithResponse Suspend or enable a saved service
//
// Change operational availability using current stored management authority. Suspension closes current runs while retaining the service ID, declaration, publisher and visitor grants, endpoint reservations, and project or deployment ownership. Enabling allows new authorized runs; it never reopens closed runs or restores revoked permission. Works for project-managed services without editing their declarations. Guest trial credentials and publisher grants do not grant this management operation.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/services/{service_id}/enabled (the `SetServiceEnabled` operationId).
SetServiceEnabledWithBodyWithResponse(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetServiceEnabledResponse, error)
// SetServiceEnabledWithResponse Suspend or enable a saved service
//
// Change operational availability using current stored management authority. Suspension closes current runs while retaining the service ID, declaration, publisher and visitor grants, endpoint reservations, and project or deployment ownership. Enabling allows new authorized runs; it never reopens closed runs or restores revoked permission. Works for project-managed services without editing their declarations. Guest trial credentials and publisher grants do not grant this management operation.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/services/{service_id}/enabled (the `SetServiceEnabled` operationId).
SetServiceEnabledWithResponse(ctx context.Context, serviceId ServiceID, body SetServiceEnabledJSONRequestBody, reqEditors ...RequestEditorFn) (*SetServiceEnabledResponse, error)
// ReleaseServiceEndpointWithBodyWithResponse Retire a disabled service's public port reservation
//
// Requires current service management permission, public access already disabled, and completed managed DNS cleanup. Send the current trust revision and exact positive reserved port. Closes old runs and advances trust revision while preserving the service, hostname, grants, and machine-local connector assignments. Capacity stays quarantined for at least seven days and until old certificate, issuance, and authorization work is settled. Later private runs do not extend this retired reservation. A stale request conflicts; later public enablement allocates another reservation.
//
// 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 /v1/services/{service_id}/endpoint/release (the `ReleaseServiceEndpoint` operationId).
ReleaseServiceEndpointWithBodyWithResponse(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReleaseServiceEndpointResponse, error)
// ReleaseServiceEndpointWithResponse Retire a disabled service's public port reservation
//
// Requires current service management permission, public access already disabled, and completed managed DNS cleanup. Send the current trust revision and exact positive reserved port. Closes old runs and advances trust revision while preserving the service, hostname, grants, and machine-local connector assignments. Capacity stays quarantined for at least seven days and until old certificate, issuance, and authorization work is settled. Later private runs do not extend this retired reservation. A stale request conflicts; later public enablement allocates another reservation.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/services/{service_id}/endpoint/release (the `ReleaseServiceEndpoint` operationId).
ReleaseServiceEndpointWithResponse(ctx context.Context, serviceId ServiceID, body ReleaseServiceEndpointJSONRequestBody, reqEditors ...RequestEditorFn) (*ReleaseServiceEndpointResponse, error)
// ListServiceGrantsWithResponse List a service's visitor grants and retained history
//
// Current managers may read up to 100 records ordered by ID, including expired and revoked history. Follow next_cursor until absent; inventory is not proof of current visitor access.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/services/{service_id}/grants (the `ListServiceGrants` operationId).
ListServiceGrantsWithResponse(ctx context.Context, serviceId ServiceID, params *ListServiceGrantsParams, reqEditors ...RequestEditorFn) (*ListServiceGrantsResponse, error)
// CreateServiceGrantWithBodyWithResponse Grant a team or identity access to one service
//
// Create an exact-service visitor grant using current service management permission and an idempotency key. A visitor grant permits service use under current policy; it does not grant service management or publisher authority.
//
// 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 /v1/services/{service_id}/grants (the `CreateServiceGrant` operationId).
CreateServiceGrantWithBodyWithResponse(ctx context.Context, serviceId ServiceID, params *CreateServiceGrantParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateServiceGrantResponse, error)
// CreateServiceGrantWithResponse Grant a team or identity access to one service
//
// Create an exact-service visitor grant using current service management permission and an idempotency key. A visitor grant permits service use under current policy; it does not grant service management or publisher authority.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/services/{service_id}/grants (the `CreateServiceGrant` operationId).
CreateServiceGrantWithResponse(ctx context.Context, serviceId ServiceID, params *CreateServiceGrantParams, body CreateServiceGrantJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateServiceGrantResponse, error)
// RevokeServiceGrantWithResponse Revoke one service visitor grant
//
// Revoke the named grant using current service management permission. Later visitor authorization checks reject access through that grant; retained history can still appear in grant inventory.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/services/{service_id}/grants/{grant_id} (the `RevokeServiceGrant` operationId).
RevokeServiceGrantWithResponse(ctx context.Context, serviceId ServiceID, grantId ServiceGrantID, reqEditors ...RequestEditorFn) (*RevokeServiceGrantResponse, error)
// ListServiceHTTPGrantsWithResponse List an HTTP service's visitor credentials without secrets
//
// List this service's HTTP visitor credentials without their secrets. Requires current service management permission and includes expired and revoked records.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/services/{service_id}/http-grants (the `ListServiceHTTPGrants` operationId).
ListServiceHTTPGrantsWithResponse(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*ListServiceHTTPGrantsResponse, error)
// CreateServiceHTTPGrantWithBodyWithResponse Create a service-scoped HTTP visitor token
//
// Create an HTTP visitor credential for this service. Requires both current management and visitor permission. Each call creates a new credential, returned once; it grants neither management nor feedback permission.
//
// 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 /v1/services/{service_id}/http-grants (the `CreateServiceHTTPGrant` operationId).
CreateServiceHTTPGrantWithBodyWithResponse(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateServiceHTTPGrantResponse, error)
// CreateServiceHTTPGrantWithResponse Create a service-scoped HTTP visitor token
//
// Create an HTTP visitor credential for this service. Requires both current management and visitor permission. Each call creates a new credential, returned once; it grants neither management nor feedback permission.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/services/{service_id}/http-grants (the `CreateServiceHTTPGrant` operationId).
CreateServiceHTTPGrantWithResponse(ctx context.Context, serviceId ServiceID, body CreateServiceHTTPGrantJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateServiceHTTPGrantResponse, error)
// RevokeServiceHTTPGrantWithResponse Revoke one service-scoped HTTP visitor credential
//
// Revoke the named token using current service management permission. The credential no longer authorizes new visitor permission; retained summaries remain visible without their secrets.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/services/{service_id}/http-grants/{grant_id} (the `RevokeServiceHTTPGrant` operationId).
RevokeServiceHTTPGrantWithResponse(ctx context.Context, serviceId ServiceID, grantId string, reqEditors ...RequestEditorFn) (*RevokeServiceHTTPGrantResponse, error)
// ListServiceInvitationsWithResponse List a service's visitor invitations without secrets
//
// Current managers may read up to 100 records ordered by ID, including accepted, expired and revoked history. Follow next_cursor until absent. Never returns secrets.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/services/{service_id}/invitations (the `ListServiceInvitations` operationId).
ListServiceInvitationsWithResponse(ctx context.Context, serviceId ServiceID, params *ListServiceInvitationsParams, reqEditors ...RequestEditorFn) (*ListServiceInvitationsResponse, error)
// InviteServiceVisitorWithBodyWithResponse Invite a verified email identity to one service
//
// Invite the verified email identity to this service. Control returns the credential once. An identical authorized retry returns credential_delivery_unavailable with the existing invitation ID; if delivery was lost, revoke it and create another with a new key. Reusing a key with changed input conflicts. No secret is kept for recovery.
//
// 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 /v1/services/{service_id}/invitations (the `InviteServiceVisitor` operationId).
InviteServiceVisitorWithBodyWithResponse(ctx context.Context, serviceId ServiceID, params *InviteServiceVisitorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InviteServiceVisitorResponse, error)
// InviteServiceVisitorWithResponse Invite a verified email identity to one service
//
// Invite the verified email identity to this service. Control returns the credential once. An identical authorized retry returns credential_delivery_unavailable with the existing invitation ID; if delivery was lost, revoke it and create another with a new key. Reusing a key with changed input conflicts. No secret is kept for recovery.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/services/{service_id}/invitations (the `InviteServiceVisitor` operationId).
InviteServiceVisitorWithResponse(ctx context.Context, serviceId ServiceID, params *InviteServiceVisitorParams, body InviteServiceVisitorJSONRequestBody, reqEditors ...RequestEditorFn) (*InviteServiceVisitorResponse, error)
// RevokeServiceInvitationWithResponse Revoke a service invitation and its accepted grant
//
// Revoke the invitation using current service management permission, including the identity grant created if it was accepted. Revocation does not remove the retained invitation history.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/services/{service_id}/invitations/{invitation_id} (the `RevokeServiceInvitation` operationId).
RevokeServiceInvitationWithResponse(ctx context.Context, serviceId ServiceID, invitationId ServiceInvitationID, reqEditors ...RequestEditorFn) (*RevokeServiceInvitationResponse, error)
// PrepareServiceRunWithBodyWithResponse Reserve a service run and its approved certificate plan
//
// Reserve a new run ID and number and capture its exact managed hostname, port, domain and certificate plan under the authenticated publisher grant. Retrying the same idempotency key returns the same preparation.
//
// 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 /v1/services/{service_id}/runs (the `PrepareServiceRun` operationId).
PrepareServiceRunWithBodyWithResponse(ctx context.Context, serviceId ServiceID, params *PrepareServiceRunParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PrepareServiceRunResponse, error)
// PrepareServiceRunWithResponse Reserve a service run and its approved certificate plan
//
// Reserve a new run ID and number and capture its exact managed hostname, port, domain and certificate plan under the authenticated publisher grant. Retrying the same idempotency key returns the same preparation.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/services/{service_id}/runs (the `PrepareServiceRun` operationId).
PrepareServiceRunWithResponse(ctx context.Context, serviceId ServiceID, params *PrepareServiceRunParams, body PrepareServiceRunJSONRequestBody, reqEditors ...RequestEditorFn) (*PrepareServiceRunResponse, error)
// CloseServiceRunWithResponse Close one exact service run using its run token
//
// Close the exact run, reject stale admissions and publish a service tombstone. Managed certificates remain in the publisher's shared cache.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/services/{service_id}/runs/{service_run_id} (the `CloseServiceRun` operationId).
CloseServiceRunWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, reqEditors ...RequestEditorFn) (*CloseServiceRunResponse, error)
// AuthorizeServiceClientCertificateWithBodyWithResponse Check a public endpoint visitor's client certificate and admission
//
// Authenticate a public endpoint visitor after TLS key possession. Permission alone does not authorize target bytes until ingress acknowledges ordinary capacity.
//
// 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 /v1/services/{service_id}/runs/{service_run_id}/authorize-client-certificate (the `AuthorizeServiceClientCertificate` operationId).
AuthorizeServiceClientCertificateWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthorizeServiceClientCertificateResponse, error)
// AuthorizeServiceClientCertificateWithResponse Check a public endpoint visitor's client certificate and admission
//
// Authenticate a public endpoint visitor after TLS key possession. Permission alone does not authorize target bytes until ingress acknowledges ordinary capacity.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/authorize-client-certificate (the `AuthorizeServiceClientCertificate` operationId).
AuthorizeServiceClientCertificateWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body AuthorizeServiceClientCertificateJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthorizeServiceClientCertificateResponse, error)
// RedeemServiceBrowserHandoffWithBodyWithResponse Exchange a service browser handoff through its publisher run
//
// Authenticate the publisher with the exact service run token and exchange the body's one-time handoff secret for a browser identity cookie bound to captured service runs. Visitor permission is optional and checked independently, including any supplied share cookie pair. A visitor's control session cannot substitute for the publisher run token.
//
// 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 /v1/services/{service_id}/runs/{service_run_id}/browser/handoff (the `RedeemServiceBrowserHandoff` operationId).
RedeemServiceBrowserHandoffWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RedeemServiceBrowserHandoffResponse, error)
// RedeemServiceBrowserHandoffWithResponse Exchange a service browser handoff through its publisher run
//
// Authenticate the publisher with the exact service run token and exchange the body's one-time handoff secret for a browser identity cookie bound to captured service runs. Visitor permission is optional and checked independently, including any supplied share cookie pair. A visitor's control session cannot substitute for the publisher run token.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/browser/handoff (the `RedeemServiceBrowserHandoff` operationId).
RedeemServiceBrowserHandoffWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body RedeemServiceBrowserHandoffJSONRequestBody, reqEditors ...RequestEditorFn) (*RedeemServiceBrowserHandoffResponse, error)
// RevokeServiceBrowserSessionWithBodyWithResponse Revoke a browser session through its service publisher run
//
// Authenticate the publisher with the exact service run token and prove the body's browser session was installed for that captured service run. Revoke the shared browser session across its hostname handoff chain, including pending handoffs. Other browser sessions and the person's control session remain unchanged.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/services/{service_id}/runs/{service_run_id}/browser/session (the `RevokeServiceBrowserSession` operationId).
RevokeServiceBrowserSessionWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RevokeServiceBrowserSessionResponse, error)
// RevokeServiceBrowserSessionWithResponse Revoke a browser session through its service publisher run
//
// Authenticate the publisher with the exact service run token and prove the body's browser session was installed for that captured service run. Revoke the shared browser session across its hostname handoff chain, including pending handoffs. Other browser sessions and the person's control session remain unchanged.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/services/{service_id}/runs/{service_run_id}/browser/session (the `RevokeServiceBrowserSession` operationId).
RevokeServiceBrowserSessionWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body RevokeServiceBrowserSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*RevokeServiceBrowserSessionResponse, error)
// CheckServiceBrowserSessionWithBodyWithResponse Check a browser session through its service publisher run
//
// Authenticate the publisher with the exact service run token and recheck the body's browser identity cookie for that captured service run. Identity remains authenticated when current visit permission is denied; neither identity nor this check creates a visitor or management grant.
//
// 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 /v1/services/{service_id}/runs/{service_run_id}/browser/session (the `CheckServiceBrowserSession` operationId).
CheckServiceBrowserSessionWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CheckServiceBrowserSessionResponse, error)
// CheckServiceBrowserSessionWithResponse Check a browser session through its service publisher run
//
// Authenticate the publisher with the exact service run token and recheck the body's browser identity cookie for that captured service run. Identity remains authenticated when current visit permission is denied; neither identity nor this check creates a visitor or management grant.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/browser/session (the `CheckServiceBrowserSession` operationId).
CheckServiceBrowserSessionWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body CheckServiceBrowserSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*CheckServiceBrowserSessionResponse, error)
// MarkServiceCertificateInstalledWithBodyWithResponse Acknowledge the certificate installed for one service run
//
// Record that the publisher installed the exact approved issuance for this run number using its service run token. The acknowledgement does not by itself prove that both publisher connections are ready.
//
// 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 /v1/services/{service_id}/runs/{service_run_id}/certificate-installed (the `MarkServiceCertificateInstalled` operationId).
MarkServiceCertificateInstalledWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MarkServiceCertificateInstalledResponse, error)
// MarkServiceCertificateInstalledWithResponse Acknowledge the certificate installed for one service run
//
// Record that the publisher installed the exact approved issuance for this run number using its service run token. The acknowledgement does not by itself prove that both publisher connections are ready.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/certificate-installed (the `MarkServiceCertificateInstalled` operationId).
MarkServiceCertificateInstalledWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body MarkServiceCertificateInstalledJSONRequestBody, reqEditors ...RequestEditorFn) (*MarkServiceCertificateInstalledResponse, error)
// CreateServiceCertificateIssuanceWithBodyWithResponse Begin certificate issuance for one started service run
//
// Authorize DNS-01 issuance for the service run's approved certificate plan using its exact run token and run number. Submit a CSR for the publisher's key; neither a control session nor publisher access token substitutes for the run token.
//
// 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 /v1/services/{service_id}/runs/{service_run_id}/certificate-issuances (the `CreateServiceCertificateIssuance` operationId).
CreateServiceCertificateIssuanceWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, params *CreateServiceCertificateIssuanceParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateServiceCertificateIssuanceResponse, error)
// CreateServiceCertificateIssuanceWithResponse Begin certificate issuance for one started service run
//
// Authorize DNS-01 issuance for the service run's approved certificate plan using its exact run token and run number. Submit a CSR for the publisher's key; neither a control session nor publisher access token substitutes for the run token.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/certificate-issuances (the `CreateServiceCertificateIssuance` operationId).
CreateServiceCertificateIssuanceWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, params *CreateServiceCertificateIssuanceParams, body CreateServiceCertificateIssuanceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateServiceCertificateIssuanceResponse, error)
// GetServiceCertificateIssuanceWithResponse Read a service run's current certificate issuance
//
// Poll the named issuance using the exact service run token. Control checks that the service, run, and issuance still match before returning certificate material.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/services/{service_id}/runs/{service_run_id}/certificate-issuances/{issuance_id} (the `GetServiceCertificateIssuance` operationId).
GetServiceCertificateIssuanceWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, issuanceId IssuanceID, reqEditors ...RequestEditorFn) (*GetServiceCertificateIssuanceResponse, error)
// ListConnectorPeerPairsWithResponse Reconcile candidates and explicit retirements for an exact service run
//
// Authenticate the exact stored started-run token. Current serving permission is required for positive candidates and owner-authority observations; a candidate still needs independent delivery preparation. After serving permission revocation, run closure, or retained service/owner deletion, the exact token can read only explicit retired dispositions within existing pair retention windows. No key, subject, source address, or serving authority is returned by that negative-only read. An omitted pair, absent owner_authority, empty page, or backend error never proves retirement. Restart from the first page on each pass; pagination is not a snapshot or retirement acknowledgment. Listing changes no state or deadline.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/services/{service_id}/runs/{service_run_id}/connector-peer-pairs (the `ListConnectorPeerPairs` operationId).
ListConnectorPeerPairsWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, params *ListConnectorPeerPairsParams, reqEditors ...RequestEditorFn) (*ListConnectorPeerPairsResponse, error)
// DeliverConnectorPeerPairWithBodyWithResponse Deliver an existing connector pair to its current publisher run
//
// Return an existing pair key only to its current publisher run after both current relay legs have claimed the same observed source. This prepares a local binding, not an application stream.
//
// 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 /v1/services/{service_id}/runs/{service_run_id}/connector-peer-pairs/{pair_id}/delivery (the `DeliverConnectorPeerPair` operationId).
DeliverConnectorPeerPairWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, pairId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeliverConnectorPeerPairResponse, error)
// DeliverConnectorPeerPairWithResponse Deliver an existing connector pair to its current publisher run
//
// Return an existing pair key only to its current publisher run after both current relay legs have claimed the same observed source. This prepares a local binding, not an application stream.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/connector-peer-pairs/{pair_id}/delivery (the `DeliverConnectorPeerPair` operationId).
DeliverConnectorPeerPairWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, pairId string, body DeliverConnectorPeerPairJSONRequestBody, reqEditors ...RequestEditorFn) (*DeliverConnectorPeerPairResponse, error)
// ConfirmConnectorPeerPairPreparedWithBodyWithResponse Confirm an exact connector binding installed by the publisher
//
// Record the publisher's installed packet registration and inner listener under the exact run token. Recheck the delivery authority and both matching relay claims; never extend the reported binding deadline.
//
// 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 /v1/services/{service_id}/runs/{service_run_id}/connector-peer-pairs/{pair_id}/prepared (the `ConfirmConnectorPeerPairPrepared` operationId).
ConfirmConnectorPeerPairPreparedWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, pairId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConfirmConnectorPeerPairPreparedResponse, error)
// ConfirmConnectorPeerPairPreparedWithResponse Confirm an exact connector binding installed by the publisher
//
// Record the publisher's installed packet registration and inner listener under the exact run token. Recheck the delivery authority and both matching relay claims; never extend the reported binding deadline.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/connector-peer-pairs/{pair_id}/prepared (the `ConfirmConnectorPeerPairPrepared` operationId).
ConfirmConnectorPeerPairPreparedWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, pairId string, body ConfirmConnectorPeerPairPreparedJSONRequestBody, reqEditors ...RequestEditorFn) (*ConfirmConnectorPeerPairPreparedResponse, error)
// AuthorizeReviewerFeedbackWithBodyWithResponse Check current visitor access and feedback author policy
//
// Accepts the publisher's current visit proof, not a visitor assertion. Never receives or stores feedback content.
//
// 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 /v1/services/{service_id}/runs/{service_run_id}/feedback/authorization (the `AuthorizeReviewerFeedback` operationId).
AuthorizeReviewerFeedbackWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthorizeReviewerFeedbackResponse, error)
// AuthorizeReviewerFeedbackWithResponse Check current visitor access and feedback author policy
//
// Accepts the publisher's current visit proof, not a visitor assertion. Never receives or stores feedback content.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/feedback/authorization (the `AuthorizeReviewerFeedback` operationId).
AuthorizeReviewerFeedbackWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body AuthorizeReviewerFeedbackJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthorizeReviewerFeedbackResponse, error)
// CreateServiceRunPreviewWithBodyWithResponse Create feedback context for one ephemeral service run
//
// Create or reuse feedback context for an ephemeral HTTP service run, including a guest demo. Authenticate with that exact service run token and number, not normal project management permission.
//
// 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 /v1/services/{service_id}/runs/{service_run_id}/preview (the `CreateServiceRunPreview` operationId).
CreateServiceRunPreviewWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateServiceRunPreviewResponse, error)
// CreateServiceRunPreviewWithResponse Create feedback context for one ephemeral service run
//
// Create or reuse feedback context for an ephemeral HTTP service run, including a guest demo. Authenticate with that exact service run token and number, not normal project management permission.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/preview (the `CreateServiceRunPreview` operationId).
CreateServiceRunPreviewWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body CreateServiceRunPreviewJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateServiceRunPreviewResponse, error)
// RenewServiceRunWithBodyWithResponse Renew a service run and report publisher health and capacity
//
// Renew only the current run using its exact service run token. First readiness requires two live relay services; one surviving ready connection can continue serving while the other is replaced. Eligible canonical and alias policies receive separate hostname-bound confirmations.
//
// 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 /v1/services/{service_id}/runs/{service_run_id}/renew (the `RenewServiceRun` operationId).
RenewServiceRunWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenewServiceRunResponse, error)
// RenewServiceRunWithResponse Renew a service run and report publisher health and capacity
//
// Renew only the current run using its exact service run token. First readiness requires two live relay services; one surviving ready connection can continue serving while the other is replaced. Eligible canonical and alias policies receive separate hostname-bound confirmations.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/renew (the `RenewServiceRun` operationId).
RenewServiceRunWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body RenewServiceRunJSONRequestBody, reqEditors ...RequestEditorFn) (*RenewServiceRunResponse, error)
// ReportServiceRunObservationsWithBodyWithResponse Report HTTP decisions or connector connections for a service run
//
// Report bounded HTTP request decisions and connector connection facts for this exact publisher run. Control derives connector identity and source from the installed pair. HTTP decisions carry no actor identity. Reporting never authorizes traffic.
//
// 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 /v1/services/{service_id}/runs/{service_run_id}/service-observations (the `ReportServiceRunObservations` operationId).
ReportServiceRunObservationsWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReportServiceRunObservationsResponse, error)
// ReportServiceRunObservationsWithResponse Report HTTP decisions or connector connections for a service run
//
// Report bounded HTTP request decisions and connector connection facts for this exact publisher run. Control derives connector identity and source from the installed pair. HTTP decisions carry no actor identity. Reporting never authorizes traffic.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/service-observations (the `ReportServiceRunObservations` operationId).
ReportServiceRunObservationsWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body ReportServiceRunObservationsJSONRequestBody, reqEditors ...RequestEditorFn) (*ReportServiceRunObservationsResponse, error)
//
// Authenticate with the exact live service run token and number. Share membership, issuer authority, expiry, revocation, and captured handoff run bindings are checked separately. This does not authorize connector access.
//
// 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 /v1/services/{service_id}/runs/{service_run_id}/share-redemptions (the `RedeemServiceShare` operationId).
RedeemServiceShareWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RedeemServiceShareResponse, error)
//
// Authenticate with the exact live service run token and number. Share membership, issuer authority, expiry, revocation, and captured handoff run bindings are checked separately. This does not authorize connector access.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/share-redemptions (the `RedeemServiceShare` operationId).
RedeemServiceShareWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body RedeemServiceShareJSONRequestBody, reqEditors ...RequestEditorFn) (*RedeemServiceShareResponse, error)
// StartServiceRunWithBodyWithResponse Start one prepared service run with its publisher grant
//
// Start one exact prepared run using its authenticated publisher identity. Visitor TLS uses the approved service certificate, without an ephemeral stream key or custom TLS proof.
//
// 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 /v1/services/{service_id}/runs/{service_run_id}/start (the `StartServiceRun` operationId).
StartServiceRunWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartServiceRunResponse, error)
// StartServiceRunWithResponse Start one prepared service run with its publisher grant
//
// Start one exact prepared run using its authenticated publisher identity. Visitor TLS uses the approved service certificate, without an ephemeral stream key or custom TLS proof.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/start (the `StartServiceRun` operationId).
StartServiceRunWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body StartServiceRunJSONRequestBody, reqEditors ...RequestEditorFn) (*StartServiceRunResponse, error)
// MarkSuppliedServiceCertificateInstalledWithBodyWithResponse Acknowledge a supplied visitor certificate for one exact run
//
// Validate the trusted server chain against the run's captured canonical and alias hostnames. Private keys stay with the publisher. This creates no ACME order and does not broaden publication authority or prove relay readiness. Replacement compares the previously acknowledged fingerprint.
//
// 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 /v1/services/{service_id}/runs/{service_run_id}/supplied-certificate-installed (the `MarkSuppliedServiceCertificateInstalled` operationId).
MarkSuppliedServiceCertificateInstalledWithBodyWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MarkSuppliedServiceCertificateInstalledResponse, error)
// MarkSuppliedServiceCertificateInstalledWithResponse Acknowledge a supplied visitor certificate for one exact run
//
// Validate the trusted server chain against the run's captured canonical and alias hostnames. Private keys stay with the publisher. This creates no ACME order and does not broaden publication authority or prove relay readiness. Replacement compares the previously acknowledged fingerprint.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/services/{service_id}/runs/{service_run_id}/supplied-certificate-installed (the `MarkSuppliedServiceCertificateInstalled` operationId).
MarkSuppliedServiceCertificateInstalledWithResponse(ctx context.Context, serviceId ServiceID, serviceRunId ServiceRunID, body MarkSuppliedServiceCertificateInstalledJSONRequestBody, reqEditors ...RequestEditorFn) (*MarkSuppliedServiceCertificateInstalledResponse, error)
// SelectServiceRunWithBodyWithResponse Select a ready service run for an enrolled visitor device
//
// Check current visitor access and select a ready publisher run for background preparation. pair_ready is a credential-free hint containing two exact ready connections on distinct live relay services, not a grant, stream ticket or pair key. The caller never supplies an IP 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 /v1/services/{service_id}/select-run (the `SelectServiceRun` operationId).
SelectServiceRunWithBodyWithResponse(ctx context.Context, serviceId ServiceID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SelectServiceRunResponse, error)
// SelectServiceRunWithResponse Select a ready service run for an enrolled visitor device
//
// Check current visitor access and select a ready publisher run for background preparation. pair_ready is a credential-free hint containing two exact ready connections on distinct live relay services, not a grant, stream ticket or pair key. The caller never supplies an IP 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 /v1/services/{service_id}/select-run (the `SelectServiceRun` operationId).
SelectServiceRunWithResponse(ctx context.Context, serviceId ServiceID, body SelectServiceRunJSONRequestBody, reqEditors ...RequestEditorFn) (*SelectServiceRunResponse, error)
//
// Read the creator's cursor-paginated share inventory under current management and company source authorization. The website may use its scoped bearer credential plus X-Tnl-Actor-Token bound with ServiceActorNonce to the exact method, escaped path, raw query and empty body. Each page consumes a fresh assertion and issuer JTI in its authorization transaction. Responses omit secrets; retain the original creation link or token_source for visitor access. This does not grant connector access.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/shares (the `ListTeamShares` operationId).
ListTeamSharesWithResponse(ctx context.Context, params *ListTeamSharesParams, reqEditors ...RequestEditorFn) (*ListTeamSharesResponse, error)
//
// Capture one service ID as entry_service_id and return its link and token source once. An identical retry returns credential_delivery_unavailable with details.resource_id; revoke and reissue if delivery was lost. The website may use its scoped bearer credential plus X-Tnl-Actor-Token, a fresh configured-issuer assertion bound with ServiceActorNonce to the exact method, escaped path, raw query and body bytes. Current service management and company source checks run in the state transaction, including retries. This signed website permission is limited to these canonical share operations and never authenticates other control APIs or grants connector access. Guest shares remain limited to the trial's service, source IP, and expiry.
//
// 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 /v1/shares (the `CreateServiceShare` operationId).
CreateServiceShareWithBodyWithResponse(ctx context.Context, params *CreateServiceShareParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateServiceShareResponse, error)
//
// Capture one service ID as entry_service_id and return its link and token source once. An identical retry returns credential_delivery_unavailable with details.resource_id; revoke and reissue if delivery was lost. The website may use its scoped bearer credential plus X-Tnl-Actor-Token, a fresh configured-issuer assertion bound with ServiceActorNonce to the exact method, escaped path, raw query and body bytes. Current service management and company source checks run in the state transaction, including retries. This signed website permission is limited to these canonical share operations and never authenticates other control APIs or grants connector access. Guest shares remain limited to the trial's service, source IP, and expiry.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/shares (the `CreateServiceShare` operationId).
CreateServiceShareWithResponse(ctx context.Context, params *CreateServiceShareParams, body CreateServiceShareJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateServiceShareResponse, error)
//
// Read a manageable share's captured service IDs, entry service, deadline, and revocation state without its secret. The website may use its scoped bearer credential plus X-Tnl-Actor-Token bound to the exact method, escaped path, raw query and empty body with ServiceActorNonce. State consumes the assertion and checks current issuer management and company source authorization together. Reading does not redeem the share or create a visitor or control session.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/shares/{share_id} (the `GetShare` operationId).
GetShareWithResponse(ctx context.Context, shareId ShareID, reqEditors ...RequestEditorFn) (*GetShareResponse, error)
//
// Revoke the creator's share under current management authorization so it cannot grant new visitor access. The website may use its scoped bearer credential plus X-Tnl-Actor-Token bound to the exact method, escaped path, raw query and empty body with ServiceActorNonce. State consumes the fresh assertion and checks all captured services and current company source authorization in the revocation transaction. Retain the saved record and captured service snapshot for subsequent reads.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/shares/{share_id}/revoke (the `RevokeShare` operationId).
RevokeShareWithResponse(ctx context.Context, shareId ShareID, reqEditors ...RequestEditorFn) (*RevokeShareResponse, error)
// ListServiceAuditWithResponse Read a team's service audit history
//
// Read a bounded page of service access and lifecycle events using the team's current management permission. Filter by exact service identity or time, and resume with the returned cursor; audit records do not grant visitor access.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/teams/{team_id}/service-audit (the `ListServiceAudit` operationId).
ListServiceAuditWithResponse(ctx context.Context, teamId string, params *ListServiceAuditParams, reqEditors ...RequestEditorFn) (*ListServiceAuditResponse, error)
// EnrollVisitorDeviceWithBodyWithResponse Enroll an Ed25519 visitor device for the signed-in identity
//
// Bind the submitted public key to the current visitor identity using its control session. The private key remains local and signs connector peer pair requests; enrollment alone does not grant access to a service.
//
// 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 /v1/visitor-devices (the `EnrollVisitorDevice` operationId).
EnrollVisitorDeviceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EnrollVisitorDeviceResponse, error)
// EnrollVisitorDeviceWithResponse Enroll an Ed25519 visitor device for the signed-in identity
//
// Bind the submitted public key to the current visitor identity using its control session. The private key remains local and signs connector peer pair requests; enrollment alone does not grant access to a service.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/visitor-devices (the `EnrollVisitorDevice` operationId).
EnrollVisitorDeviceWithResponse(ctx context.Context, body EnrollVisitorDeviceJSONRequestBody, reqEditors ...RequestEditorFn) (*EnrollVisitorDeviceResponse, error)
// RevokeVisitorDeviceWithResponse Revoke a visitor device and its connector peer pairs
//
// Revoke the exact device belonging to the signed-in visitor identity and invalidate its connector peer pairs. This does not revoke the identity's control session or its other enrolled devices.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/visitor-devices/{device_id} (the `RevokeVisitorDevice` operationId).
RevokeVisitorDeviceWithResponse(ctx context.Context, deviceId string, reqEditors ...RequestEditorFn) (*RevokeVisitorDeviceResponse, error)
// ReadPublisherVisitorPolicyWithBodyWithResponse Refresh the current run's visitor policy and verification keys
//
// Refresh visitor policy and revocations for one publisher run using its exact run token. This is a publisher operation, not a visitor or management read, and can return private policy data for the run. It does not renew the publisher process lease or grant traffic access. An eligible snapshot includes a confirmation key bound to its exact hostname.
//
// 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 /v1/visitor-policy (the `ReadPublisherVisitorPolicy` operationId).
ReadPublisherVisitorPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReadPublisherVisitorPolicyResponse, error)
// ReadPublisherVisitorPolicyWithResponse Refresh the current run's visitor policy and verification keys
//
// Refresh visitor policy and revocations for one publisher run using its exact run token. This is a publisher operation, not a visitor or management read, and can return private policy data for the run. It does not renew the publisher process lease or grant traffic access. An eligible snapshot includes a confirmation key bound to its exact hostname.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/visitor-policy (the `ReadPublisherVisitorPolicy` operationId).
ReadPublisherVisitorPolicyWithResponse(ctx context.Context, body ReadPublisherVisitorPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*ReadPublisherVisitorPolicyResponse, error)
// IssueVisitorTokenWithBodyWithResponse Prepare or renew an exact-resource visitor permission
//
// Prepare or renew permission to visit one resource.
//
// - control_session or device: send a control-session bearer token.
// - browser_session, workload, share, share_session, or grant: send the source credential in the body. Omit Authorization entirely, including empty headers.
//
// Control checks current access. Use refresh credentials only to request another visitor token.
//
// 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 /v1/visitor-tokens (the `IssueVisitorToken` operationId).
IssueVisitorTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IssueVisitorTokenResponse, error)
// IssueVisitorTokenWithResponse Prepare or renew an exact-resource visitor permission
//
// Prepare or renew permission to visit one resource.
//
// - control_session or device: send a control-session bearer token.
// - browser_session, workload, share, share_session, or grant: send the source credential in the body. Omit Authorization entirely, including empty headers.
//
// Control checks current access. Use refresh credentials only to request another visitor token.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/visitor-tokens (the `IssueVisitorToken` operationId).
IssueVisitorTokenWithResponse(ctx context.Context, body IssueVisitorTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*IssueVisitorTokenResponse, error)
// ListAvailableServicesWithResponse List services available to the signed-in visitor
//
// List services the signed-in visitor may use, including offline services. Results include visitor endpoints, not target addresses, target trust, or secrets. Listing a service does not grant traffic access. Initial readiness needs two publisher connections; one surviving connection can keep an already-ready run available.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/visitor/services (the `ListAvailableServices` operationId).
ListAvailableServicesWithResponse(ctx context.Context, params *ListAvailableServicesParams, reqEditors ...RequestEditorFn) (*ListAvailableServicesResponse, error)
// GetWebhookProviderSourceWithResponse Read one webhook provider source policy
//
// Read the selected provider's current webhook source policy without a credential. Use ETag and If-None-Match to reuse unchanged policy. Both 200 and 304 carry the catalog's observation time, last successful provider check, 15-minute freshness boundary, and absolute 24-hour last-good boundary. An unchanged or stale response does not restart those windows. Clients spend response latency from request start and fail the affected endpoint closed at expiry. This endpoint does not register a webhook or grant visitor access.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/webhook-providers/{provider}/source (the `GetWebhookProviderSource` operationId).
GetWebhookProviderSourceWithResponse(ctx context.Context, provider WebhookProvider, reqEditors ...RequestEditorFn) (*GetWebhookProviderSourceResponse, error)
// ListWorkloadServicesWithResponse List only the workload session's currently authorized saved services
//
// Read the services currently authorized for this workload session using its visitor-only bearer credential. The inventory omits target addresses and application credentials and grants no publisher or control management authority.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/workload/services (the `ListWorkloadServices` operationId).
ListWorkloadServicesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListWorkloadServicesResponse, error)
// CheckWorkloadServiceWithResponse Check a workload session's current permission for one service
//
// Recheck live workload authorization for the exact service using the workload bearer credential. The decision is bounded by both the renewable lease and the session's fixed absolute deadline; a prior inventory response is not sufficient authorization.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/workload/services/{service_id}/authorization (the `CheckWorkloadService` operationId).
CheckWorkloadServiceWithResponse(ctx context.Context, serviceId string, reqEditors ...RequestEditorFn) (*CheckWorkloadServiceResponse, error)
// IssueWorkloadServiceClientCertificateWithBodyWithResponse Issue a service client certificate for a workload's existing key
//
// Submit a CSR under the visitor-only workload bearer credential for one currently authorized service. The returned certificate cannot outlive the workload's fixed absolute expiry, and later access still requires a current workload lease.
//
// 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 /v1/workload/services/{service_id}/client-certificate (the `IssueWorkloadServiceClientCertificate` operationId).
IssueWorkloadServiceClientCertificateWithBodyWithResponse(ctx context.Context, serviceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IssueWorkloadServiceClientCertificateResponse, error)
// IssueWorkloadServiceClientCertificateWithResponse Issue a service client certificate for a workload's existing key
//
// Submit a CSR under the visitor-only workload bearer credential for one currently authorized service. The returned certificate cannot outlive the workload's fixed absolute expiry, and later access still requires a current workload lease.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/workload/services/{service_id}/client-certificate (the `IssueWorkloadServiceClientCertificate` operationId).
IssueWorkloadServiceClientCertificateWithResponse(ctx context.Context, serviceId string, body IssueWorkloadServiceClientCertificateJSONRequestBody, reqEditors ...RequestEditorFn) (*IssueWorkloadServiceClientCertificateResponse, error)
// SelectWorkloadServiceRunWithResponse Select a ready service run for an authenticated workload
//
// Check the selected workload credential and current service permission. pair_ready appears only for two exact ready connections on distinct live relay services; it is a signing snapshot, not a grant or a pair key.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/workload/services/{service_id}/run (the `SelectWorkloadServiceRun` operationId).
SelectWorkloadServiceRunWithResponse(ctx context.Context, serviceId ServiceID, reqEditors ...RequestEditorFn) (*SelectWorkloadServiceRunResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CloseServiceRunResponse ¶
type CloseServiceRunResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseCloseServiceRunResponse ¶
func ParseCloseServiceRunResponse(rsp *http.Response) (*CloseServiceRunResponse, error)
ParseCloseServiceRunResponse parses an HTTP response from a CloseServiceRunWithResponse call
func (CloseServiceRunResponse) ContentType ¶
func (r CloseServiceRunResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CloseServiceRunResponse) GetApplicationproblemJSONDefault ¶
func (r CloseServiceRunResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (CloseServiceRunResponse) GetBody ¶
func (r CloseServiceRunResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CloseServiceRunResponse) Status ¶
func (r CloseServiceRunResponse) Status() string
Status returns HTTPResponse.Status
func (CloseServiceRunResponse) StatusCode ¶
func (r CloseServiceRunResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CompletePreviewBrowserLoginParams ¶
type CompletePreviewBrowserLoginParams struct {
State string `form:"state" json:"state"`
Code string `form:"code" json:"code"`
}
CompletePreviewBrowserLoginParams defines parameters for CompletePreviewBrowserLogin.
type CompletePreviewBrowserLoginResponse ¶
type CompletePreviewBrowserLoginResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseCompletePreviewBrowserLoginResponse ¶
func ParseCompletePreviewBrowserLoginResponse(rsp *http.Response) (*CompletePreviewBrowserLoginResponse, error)
ParseCompletePreviewBrowserLoginResponse parses an HTTP response from a CompletePreviewBrowserLoginWithResponse call
func (CompletePreviewBrowserLoginResponse) ContentType ¶
func (r CompletePreviewBrowserLoginResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CompletePreviewBrowserLoginResponse) GetApplicationproblemJSONDefault ¶
func (r CompletePreviewBrowserLoginResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (CompletePreviewBrowserLoginResponse) GetBody ¶
func (r CompletePreviewBrowserLoginResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CompletePreviewBrowserLoginResponse) Status ¶
func (r CompletePreviewBrowserLoginResponse) Status() string
Status returns HTTPResponse.Status
func (CompletePreviewBrowserLoginResponse) StatusCode ¶
func (r CompletePreviewBrowserLoginResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConfigureServiceJSONRequestBody ¶
type ConfigureServiceJSONRequestBody = UpdateServiceRequest
ConfigureServiceJSONRequestBody defines body for ConfigureService for application/json ContentType.
type ConfigureServiceResponse ¶
type ConfigureServiceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Service
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseConfigureServiceResponse ¶
func ParseConfigureServiceResponse(rsp *http.Response) (*ConfigureServiceResponse, error)
ParseConfigureServiceResponse parses an HTTP response from a ConfigureServiceWithResponse call
func (ConfigureServiceResponse) ContentType ¶
func (r ConfigureServiceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ConfigureServiceResponse) GetApplicationproblemJSONDefault ¶
func (r ConfigureServiceResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ConfigureServiceResponse) GetBody ¶
func (r ConfigureServiceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ConfigureServiceResponse) GetJSON200 ¶
func (r ConfigureServiceResponse) GetJSON200() *Service
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ConfigureServiceResponse) Status ¶
func (r ConfigureServiceResponse) Status() string
Status returns HTTPResponse.Status
func (ConfigureServiceResponse) StatusCode ¶
func (r ConfigureServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConfirmConnectorPeerPairPreparedJSONRequestBody ¶
type ConfirmConnectorPeerPairPreparedJSONRequestBody = ConnectorPeerPairPrepared
ConfirmConnectorPeerPairPreparedJSONRequestBody defines body for ConfirmConnectorPeerPairPrepared for application/json ContentType.
type ConfirmConnectorPeerPairPreparedResponse ¶
type ConfirmConnectorPeerPairPreparedResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseConfirmConnectorPeerPairPreparedResponse ¶
func ParseConfirmConnectorPeerPairPreparedResponse(rsp *http.Response) (*ConfirmConnectorPeerPairPreparedResponse, error)
ParseConfirmConnectorPeerPairPreparedResponse parses an HTTP response from a ConfirmConnectorPeerPairPreparedWithResponse call
func (ConfirmConnectorPeerPairPreparedResponse) ContentType ¶
func (r ConfirmConnectorPeerPairPreparedResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ConfirmConnectorPeerPairPreparedResponse) GetApplicationproblemJSONDefault ¶
func (r ConfirmConnectorPeerPairPreparedResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ConfirmConnectorPeerPairPreparedResponse) GetBody ¶
func (r ConfirmConnectorPeerPairPreparedResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ConfirmConnectorPeerPairPreparedResponse) Status ¶
func (r ConfirmConnectorPeerPairPreparedResponse) Status() string
Status returns HTTPResponse.Status
func (ConfirmConnectorPeerPairPreparedResponse) StatusCode ¶
func (r ConfirmConnectorPeerPairPreparedResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConnectionAssignment ¶
type ConnectionAssignment struct {
ConnectionAssignmentRevision int64 `json:"connection_assignment_revision,string"`
ConnectionSlot int `json:"connection_slot"`
PublisherConnectionCredential string `json:"publisher_connection_credential"`
PublisherConnectionCredentialExpiresAt time.Time `json:"publisher_connection_credential_expires_at"`
PublisherConnectionId PublisherConnectionID `json:"publisher_connection_id"`
RelayAddress string `json:"relay_address"`
RelayServiceId RelayServiceID `json:"relay_service_id"`
State PublisherConnectionState `json:"state"`
TlsServerName CanonicalHostname `json:"tls_server_name"`
}
ConnectionAssignment defines model for ConnectionAssignment.
type ConnectorPeerPair ¶
type ConnectorPeerPair struct {
BindingChallenge string `json:"binding_challenge,omitempty"`
BindingState ConnectorPeerPairBindingState `json:"binding_state,omitempty"`
// DeliveryGeneration Current network binding revision; aborted revisions are never reused.
DeliveryGeneration int64 `json:"delivery_generation,string"`
// DeliveryId Canonical unpadded base64url of the nonzero 16-byte delivery header identifier; not an access grant.
DeliveryId string `json:"delivery_id"`
// ExpiresAt Owner authority deadline, conservatively capped for a pending snapshot by pending_until. Independent relay claims and publisher installation retain their confirmed bounds; see ConnectorPeerPairPrepared.binding_expires_at in service-runs.yaml. Only a fresh authorized owner renewal extends owner authority; inspect and exact lifecycle retries do not.
ExpiresAt time.Time `json:"expires_at"`
// Key Per-binding delivery credential; never use it as the retained endpoint frame key.
Key string `json:"key"`
// ObservedAt Control's authority observation time; subtract request transit when installing local deadlines.
ObservedAt time.Time `json:"observed_at"`
// OperationId Rebind operation that issued this revision; absent for the initial binding, which has no rebind operation.
OperationId string `json:"operation_id,omitempty"`
PairId string `json:"pair_id"`
PublisherIdentityId string `json:"publisher_identity_id"`
// PublisherPreparedUntil The publisher reported its exact packet registration and inner listener installed through this bound. This startup barrier is not visitor permission or a guarantee of continued process liveness.
PublisherPreparedUntil *time.Time `json:"publisher_prepared_until,omitempty"`
// PublisherProvedUntil Independent publisher path-proof freshness, at most five seconds and capped by installation, claim, pending-operation and owner bounds. Used only for activation, not a serving lease. Inspect, exact proof retries and owner renewal cannot extend it; fresh proofs use the prepared operation in service-runs.yaml.
PublisherProvedUntil *time.Time `json:"publisher_proved_until,omitempty"`
Relays []ConnectorPeerPairRelay `json:"relays"`
RunNumber int64 `json:"run_number,string"`
ServiceId ServiceID `json:"service_id"`
ServiceRunId ServiceRunID `json:"service_run_id"`
// SessionKey Stable endpoint frame key, returned only to the authorized connector and publisher, never a relay.
SessionKey string `json:"session_key,omitempty"`
SourceIp *string `json:"source_ip,omitempty"`
// Subject Exactly identity_id and device_id for human_device; workload_session_id for workload_session; grant_id and key_id for registered_key. A machine never borrows a human device or provider identity.
Subject VisitorSubject `json:"subject"`
TrustRevision int64 `json:"trust_revision,omitempty,string"`
}
ConnectorPeerPair defines model for ConnectorPeerPair.
type ConnectorPeerPairBindingState ¶
type ConnectorPeerPairBindingState string
ConnectorPeerPairBindingState defines model for ConnectorPeerPairBindingState.
const ( ConnectorPeerPairBindingActive ConnectorPeerPairBindingState = "active" ConnectorPeerPairBindingInstalled ConnectorPeerPairBindingState = "installed" ConnectorPeerPairBindingPrepared ConnectorPeerPairBindingState = "prepared" ConnectorPeerPairBindingProved ConnectorPeerPairBindingState = "proved" ConnectorPeerPairBindingSuspended ConnectorPeerPairBindingState = "suspended" )
Defines values for ConnectorPeerPairBindingState.
func (ConnectorPeerPairBindingState) Valid ¶
func (e ConnectorPeerPairBindingState) Valid() bool
Valid indicates whether the value is a known member of the ConnectorPeerPairBindingState enum.
type ConnectorPeerPairCandidate ¶
type ConnectorPeerPairCandidate struct {
DeliveryGeneration int64 `json:"delivery_generation,string"`
// Disposition Candidate is a preparation hint, not serving authority. Retired is an explicit durable terminal fact for this exact pair and outranks every delivery generation.
Disposition ConnectorPeerPairDisposition `json:"disposition"`
// OwnerAuthority Current authorization for an installed connector owner in this publisher run. It contains no delivery key and does not renew any relay claim, installation, path proof, or visitor permission. It can be read during relay loss but cannot revive an expired owner.
OwnerAuthority *ConnectorPeerPairOwnerAuthority `json:"owner_authority,omitempty"`
OwnerRevision int64 `json:"owner_revision,string"`
PairId string `json:"pair_id"`
// Retirement Negative-only observation: retired_at <= observed_at < retained_until. retained_until is the unchanged max(expires_at, replay_fence_until), at most five minutes plus existing five-second request skew after retired_at. It is not a new serving lease, cleanup window, or proof of remote join. Repeated observations never extend retention.
Retirement *ConnectorPeerPairRetirementObservation `json:"retirement,omitempty"`
}
ConnectorPeerPairCandidate An exact pair disposition, never permission to open an application stream. Candidate requires owner_revision 1, no retirement, and optional positive owner_authority. Retired requires owner_revision 2, a retirement observation, and no owner_authority; do not prepare or revive it even for a higher delivery generation. Unknown or contradictory states are invalid. Omission, pagination, and missing positive authority never mean retired.
type ConnectorPeerPairCandidates ¶
type ConnectorPeerPairCandidates struct {
Items []ConnectorPeerPairCandidate `json:"items"`
// NextAfter Continue after this pair ID; restart from the first page on the next reconciliation pass.
NextAfter *string `json:"next_after,omitempty"`
}
ConnectorPeerPairCandidates defines model for ConnectorPeerPairCandidates.
type ConnectorPeerPairDelivery ¶
type ConnectorPeerPairDelivery struct {
BindingChallenge string `json:"binding_challenge,omitempty"`
BindingState ConnectorPeerPairBindingState `json:"binding_state,omitempty"`
DeliveryGeneration int64 `json:"delivery_generation,string"`
DeliveryId string `json:"delivery_id"`
ExpiresAt time.Time `json:"expires_at"`
// Key Per-binding delivery credential; do not log or persist.
Key string `json:"key"`
// ObservedAt Control time for this authority observation; the publisher subtracts request delay when installing its local deadline.
ObservedAt time.Time `json:"observed_at"`
OperationId string `json:"operation_id,omitempty"`
PairId string `json:"pair_id"`
PublisherIdentityId string `json:"publisher_identity_id"`
Relays []ConnectorPeerPairRelay `json:"relays"`
RunNumber int64 `json:"run_number,string"`
ServiceId ServiceID `json:"service_id"`
ServiceRunId ServiceRunID `json:"service_run_id"`
// SessionKey Stable retained endpoint frame key; never returned by the private relay claim API.
SessionKey string `json:"session_key,omitempty"`
// SourceIp Canonical source observed by both relays.
SourceIp string `json:"source_ip"`
// Subject Exactly identity_id and device_id for human_device; workload_session_id for workload_session; grant_id and key_id for registered_key. A machine never borrows a human device or provider identity.
Subject VisitorSubject `json:"subject"`
TrustRevision int64 `json:"trust_revision,omitempty,string"`
}
ConnectorPeerPairDelivery Existing pair delivery for the authenticated publisher run only; never grants an application stream.
type ConnectorPeerPairDisposition ¶
type ConnectorPeerPairDisposition string
ConnectorPeerPairDisposition Candidate is a preparation hint, not serving authority. Retired is an explicit durable terminal fact for this exact pair and outranks every delivery generation.
const ( ConnectorPeerPairDispositionCandidate ConnectorPeerPairDisposition = "candidate" ConnectorPeerPairDispositionRetired ConnectorPeerPairDisposition = "retired" )
Defines values for ConnectorPeerPairDisposition.
func (ConnectorPeerPairDisposition) Valid ¶
func (e ConnectorPeerPairDisposition) Valid() bool
Valid indicates whether the value is a known member of the ConnectorPeerPairDisposition enum.
type ConnectorPeerPairOwnerAuthority ¶
type ConnectorPeerPairOwnerAuthority struct {
ExpiresAt time.Time `json:"expires_at"`
ObservedAt time.Time `json:"observed_at"`
}
ConnectorPeerPairOwnerAuthority Current authorization for an installed connector owner in this publisher run. It contains no delivery key and does not renew any relay claim, installation, path proof, or visitor permission. It can be read during relay loss but cannot revive an expired owner.
type ConnectorPeerPairPathProof ¶
type ConnectorPeerPairPathProof struct {
ConnectionSlot int `json:"connection_slot"`
ProbeNonce string `json:"probe_nonce"`
// ReplyFrame Canonical unpadded base64url of a bounded binary PeerProbeReply authenticated with SessionKey.
ReplyFrame string `json:"reply_frame"`
}
ConnectorPeerPairPathProof A revision-bound probe reply from the opposite endpoint, not an application permission. Runtime also checks that its physical carrier is still current.
type ConnectorPeerPairPrepared ¶
type ConnectorPeerPairPrepared struct {
BindingChallenge string `json:"binding_challenge,omitempty"`
// BindingExpiresAt The original control-clock expires_at from the installed delivery response, not a new local deadline.
BindingExpiresAt time.Time `json:"binding_expires_at"`
DeliveryGeneration int64 `json:"delivery_generation,string"`
DeliveryId string `json:"delivery_id"`
OperationId string `json:"operation_id,omitempty"`
// PathProofs Empty for installed; two ordered publisher-initiated proofs for proved. A duplicate proof cannot extend its freshness bound.
PathProofs []ConnectorPeerPairPathProof `json:"path_proofs,omitempty"`
// Phase Installed reports binding installation; proved reports publisher-initiated path proofs for that binding.
Phase ConnectorPeerPairPreparedPhase `json:"phase"`
}
ConnectorPeerPairPrepared Report installation of the exact independently prepared binding; this does not renew pair or application authority.
type ConnectorPeerPairPreparedPhase ¶
type ConnectorPeerPairPreparedPhase string
ConnectorPeerPairPreparedPhase Installed reports binding installation; proved reports publisher-initiated path proofs for that binding.
const ( ConnectorPeerPairPreparedInstalled ConnectorPeerPairPreparedPhase = "installed" ConnectorPeerPairPreparedProved ConnectorPeerPairPreparedPhase = "proved" )
Defines values for ConnectorPeerPairPreparedPhase.
func (ConnectorPeerPairPreparedPhase) Valid ¶
func (e ConnectorPeerPairPreparedPhase) Valid() bool
Valid indicates whether the value is a known member of the ConnectorPeerPairPreparedPhase enum.
type ConnectorPeerPairReady ¶
type ConnectorPeerPairReady struct {
PublisherIdentityId string `json:"publisher_identity_id"`
Relays []ConnectorPeerPairRelay `json:"relays"`
}
ConnectorPeerPairReady A short-lived, credential-free snapshot for signing an exact pair request. It never grants a relay claim.
type ConnectorPeerPairRebindOperation ¶
type ConnectorPeerPairRebindOperation struct {
DeliveryGeneration int64 `json:"delivery_generation,string"`
OperationId string `json:"operation_id"`
Status ConnectorPeerPairRebindOperationStatus `json:"status"`
}
ConnectorPeerPairRebindOperation defines model for ConnectorPeerPairRebindOperation.
type ConnectorPeerPairRebindOperationStatus ¶
type ConnectorPeerPairRebindOperationStatus string
ConnectorPeerPairRebindOperationStatus defines model for ConnectorPeerPairRebindOperationStatus.
const ( ConnectorPeerPairOperationAborted ConnectorPeerPairRebindOperationStatus = "aborted" ConnectorPeerPairOperationActive ConnectorPeerPairRebindOperationStatus = "active" ConnectorPeerPairOperationExpired ConnectorPeerPairRebindOperationStatus = "expired" ConnectorPeerPairOperationPending ConnectorPeerPairRebindOperationStatus = "pending" )
Defines values for ConnectorPeerPairRebindOperationStatus.
func (ConnectorPeerPairRebindOperationStatus) Valid ¶
func (e ConnectorPeerPairRebindOperationStatus) Valid() bool
Valid indicates whether the value is a known member of the ConnectorPeerPairRebindOperationStatus enum.
type ConnectorPeerPairRebindPhase ¶
type ConnectorPeerPairRebindPhase string
ConnectorPeerPairRebindPhase defines model for ConnectorPeerPairRebindPhase.
const ( ConnectorPeerPairAbort ConnectorPeerPairRebindPhase = "abort" ConnectorPeerPairActivate ConnectorPeerPairRebindPhase = "activate" ConnectorPeerPairInspect ConnectorPeerPairRebindPhase = "inspect" ConnectorPeerPairPrepare ConnectorPeerPairRebindPhase = "prepare" )
Defines values for ConnectorPeerPairRebindPhase.
func (ConnectorPeerPairRebindPhase) Valid ¶
func (e ConnectorPeerPairRebindPhase) Valid() bool
Valid indicates whether the value is a known member of the ConnectorPeerPairRebindPhase enum.
type ConnectorPeerPairRebindRequest ¶
type ConnectorPeerPairRebindRequest struct {
// BindingChallenge The pending binding's canonical 32-byte base64url challenge for activate; empty otherwise.
BindingChallenge string `json:"binding_challenge"`
// ExpectedGeneration Known high-water for inspect, exact high-water CAS for prepare, exact pending revision for activate or abort.
ExpectedGeneration int64 `json:"expected_generation,string"`
// ExpectedRelays Exactly two ordered relay slots for prepare; empty for every other phase.
ExpectedRelays []ConnectorPeerPairRelay `json:"expected_relays"`
IdempotencyKey IdempotencyKey `json:"idempotency_key"`
// OperationId Empty for inspect; otherwise an ik_ opaque id retained across all phases of one operation.
OperationId string `json:"operation_id"`
// PathProofs Exactly two ordered connector-initiated proofs for activate; empty otherwise.
PathProofs []ConnectorPeerPairPathProof `json:"path_proofs"`
Phase ConnectorPeerPairRebindPhase `json:"phase"`
PublisherIdentityId string `json:"publisher_identity_id"`
RequestedAt time.Time `json:"requested_at"`
RunNumber int64 `json:"run_number,string"`
ServiceRunId ServiceRunID `json:"service_run_id"`
Signature string `json:"signature"`
Source json.RawMessage `json:"source"`
// Subject Exactly identity_id and device_id for human_device; workload_session_id for workload_session; grant_id and key_id for registered_key. A machine never borrows a human device or provider identity.
Subject VisitorSubject `json:"subject"`
TrustRevision int64 `json:"trust_revision,string"`
}
ConnectorPeerPairRebindRequest One signed lifecycle operation for an existing owner and exact run. Inspect never selects a run or renews authority. Retain each phase's exact signed request after an uncertain response. Empty phase-specific strings and arrays are explicit; source credentials are not signed.
type ConnectorPeerPairRebindState ¶
type ConnectorPeerPairRebindState struct {
Active *ConnectorPeerPair `json:"active,omitempty"`
HighWaterGeneration int64 `json:"high_water_generation,string"`
Operation *ConnectorPeerPairRebindOperation `json:"operation,omitempty"`
Pending *ConnectorPeerPair `json:"pending,omitempty"`
// PendingUntil Fixed pending-operation deadline, at most ten seconds from preparation and capped by the existing owner authority. Inspect, exact retries and owner renewal cannot extend it. Publisher installation and path proofs in service-runs.yaml cannot outlive this deadline while pending.
PendingUntil *time.Time `json:"pending_until,omitempty"`
ReadyRelays []ConnectorPeerPairRelay `json:"ready_relays"`
}
ConnectorPeerPairRebindState At most one active and one pending binding for the same retained owner. High-water and the last operation survive abort or expiry; observations never extend authority. Snapshot observed_at values agree. Ready relays are a credential-free hint for this saved run, never a new selection.
type ConnectorPeerPairRelay ¶
type ConnectorPeerPairRelay struct {
AssignmentRevision int64 `json:"assignment_revision,string"`
PublisherConnectionId string `json:"publisher_connection_id"`
RelayAddress string `json:"relay_address"`
RelayLease ConnectorPeerRelayLease `json:"relay_lease"`
TlsServerName string `json:"tls_server_name"`
}
ConnectorPeerPairRelay defines model for ConnectorPeerPairRelay.
type ConnectorPeerPairRenewal ¶
type ConnectorPeerPairRenewal struct {
// Endpoint Control-owned service TLS identity. HTTP uses shared port 443 without an exclusive ingress reservation, including when public access is disabled. Other protocols use zero when no public ingress port is reserved; an allocated port remains reserved during temporary disablement. Only public enables ingress access. This port is never a machine-local connector port. Target trust is a separate publisher-side boundary.
Endpoint ServiceEndpoint `json:"endpoint"`
Pair ConnectorPeerPair `json:"pair"`
Protocol ServiceProtocol `json:"protocol"`
RunValidUntil time.Time `json:"run_valid_until"`
TrustRevision int64 `json:"trust_revision,string"`
VisitorPermission VisitorTokenResponse `json:"visitor_permission"`
}
ConnectorPeerPairRenewal One authenticated authority decision for the pinned run, pair lease and signed visitor permission. All deadlines share pair.observed_at; install local bounds from request start so transit spends the interval. Publisher installation and relay claims retain their independently confirmed deadlines.
type ConnectorPeerPairRequest ¶
type ConnectorPeerPairRequest struct {
Action ConnectorPeerPairRequestAction `json:"action"`
ExpectedRelays []ConnectorPeerPairRelay `json:"expected_relays"`
IdempotencyKey IdempotencyKey `json:"idempotency_key"`
PreviousGeneration *int64 `json:"previous_generation,omitempty,string"`
PreviousPairId *string `json:"previous_pair_id,omitempty"`
PublisherIdentityId string `json:"publisher_identity_id"`
// RequestedAt Retain this timestamp on an uncertain reply retry. A successful fresh renewal supersedes earlier create or replace reply proofs; those proofs cannot recover the later renewal's bound.
RequestedAt time.Time `json:"requested_at"`
RunNumber int64 `json:"run_number,string"`
ServiceRunId ServiceRunID `json:"service_run_id"`
// Signature Unpadded base64url Ed25519 signature over ConnectorPeerPairProofMessage.
Signature string `json:"signature"`
Source json.RawMessage `json:"source"`
// Subject Exactly identity_id and device_id for human_device; workload_session_id for workload_session; grant_id and key_id for registered_key. A machine never borrows a human device or provider identity.
Subject VisitorSubject `json:"subject"`
}
ConnectorPeerPairRequest Sign the v1 ConnectorPeerPairProofMessage array, not this HTTP JSON object. Device sources require their control session; workload sources use the body credential and omit Authorization. Keep one idempotency key for the connector owner's lifetime. Replacement names the exact predecessor and creates a new pair; IDs and generations do not prove ownership. After an uncertain response, resend the identical signed request, including timestamp, action, and owner key.
type ConnectorPeerPairRequestAction ¶
type ConnectorPeerPairRequestAction string
ConnectorPeerPairRequestAction defines model for ConnectorPeerPairRequest.Action.
const ( Create ConnectorPeerPairRequestAction = "create" Renew ConnectorPeerPairRequestAction = "renew" Replace ConnectorPeerPairRequestAction = "replace" )
Defines values for ConnectorPeerPairRequestAction.
func (ConnectorPeerPairRequestAction) Valid ¶
func (e ConnectorPeerPairRequestAction) Valid() bool
Valid indicates whether the value is a known member of the ConnectorPeerPairRequestAction enum.
type ConnectorPeerPairRetireRequest ¶
type ConnectorPeerPairRetireRequest struct {
// DeliveryId Canonical unpadded base64url of the exact nonzero 16-byte stable delivery identifier.
DeliveryId string `json:"delivery_id"`
IdempotencyKey IdempotencyKey `json:"idempotency_key"`
PublisherIdentityId string `json:"publisher_identity_id"`
RequestedAt time.Time `json:"requested_at"`
RunNumber int64 `json:"run_number,string"`
ServiceRunId ServiceRunID `json:"service_run_id"`
// SessionProof Domain-separated HMAC-SHA256 from ConnectorPeerPairRetireProof.SessionProof using the existing stable session key, never a relay delivery key.
SessionProof string `json:"session_proof"`
// Signature Ed25519 signature by the original enrolled key over ConnectorPeerPairRetireProof.Message, including the raw session MAC.
Signature string `json:"signature"`
}
ConnectorPeerPairRetireRequest Negative-only proof for the exact path service/pair and stored run, publisher, delivery identifier, and original owner key. Both the original enrolled-key signature and stable session-key MAC are required. The source, key snapshot, and session key are never supplied by the caller. Network rebind does not change this proof scope. Reuse the identical body after reply loss; neither a new timestamp nor a new key can confirm an earlier uncertain retirement.
type ConnectorPeerPairRetirement ¶
type ConnectorPeerPairRetirement struct {
DeliveryId string `json:"delivery_id"`
// Disposition Candidate is a preparation hint, not serving authority. Retired is an explicit durable terminal fact for this exact pair and outranks every delivery generation.
Disposition ConnectorPeerPairDisposition `json:"disposition"`
IdempotencyKey IdempotencyKey `json:"idempotency_key"`
OwnerRevision int64 `json:"owner_revision,string"`
PairId string `json:"pair_id"`
PublisherIdentityId string `json:"publisher_identity_id"`
// Retirement Negative-only observation: retired_at <= observed_at < retained_until. retained_until is the unchanged max(expires_at, replay_fence_until), at most five minutes plus existing five-second request skew after retired_at. It is not a new serving lease, cleanup window, or proof of remote join. Repeated observations never extend retention.
Retirement ConnectorPeerPairRetirementObservation `json:"retirement"`
RunNumber int64 `json:"run_number,string"`
ServiceId ServiceID `json:"service_id"`
ServiceRunId ServiceRunID `json:"service_run_id"`
}
ConnectorPeerPairRetirement Exact committed negative-only retirement. The scope must match the request, disposition must be retired, and owner_revision must be 2. It proves neither publisher observation nor remote join or terminal-result consumption.
func (ConnectorPeerPairRetirement) ValidateFor ¶
func (r ConnectorPeerPairRetirement) ValidateFor(serviceID, pairID string, body ConnectorPeerPairRetireRequest) error
ValidateFor matches a committed retirement receipt to its exact request. the generated disposition enum is the only HTTP wire-state definition.
type ConnectorPeerPairRetirementObservation ¶
type ConnectorPeerPairRetirementObservation struct {
ObservedAt time.Time `json:"observed_at"`
RetainedUntil time.Time `json:"retained_until"`
RetiredAt time.Time `json:"retired_at"`
}
ConnectorPeerPairRetirementObservation Negative-only observation: retired_at <= observed_at < retained_until. retained_until is the unchanged max(expires_at, replay_fence_until), at most five minutes plus existing five-second request skew after retired_at. It is not a new serving lease, cleanup window, or proof of remote join. Repeated observations never extend retention.
func (ConnectorPeerPairRetirementObservation) Validate ¶
func (o ConnectorPeerPairRetirementObservation) Validate() error
Validate checks a negative observation, never a positive owner lease.
type ConnectorPeerRelayLease ¶
type ConnectorPeerRelayLease struct {
RelayId string `json:"relay_id"`
RelayLeaseRevision int64 `json:"relay_lease_revision,string"`
RelayRunId string `json:"relay_run_id"`
RelayServiceId string `json:"relay_service_id"`
}
ConnectorPeerRelayLease defines model for ConnectorPeerRelayLease.
type ControlDiscovery ¶
type ControlDiscovery struct {
Authentication AuthenticationFacts `json:"authentication"`
// BrowserLoginAvailable Whether visitors can sign in through a browser OIDC client.
BrowserLoginAvailable *bool `json:"browser_login_available,omitempty"`
// CustomDomainsEnabled Whether teams may add new custom domains. Existing custom domains remain usable when disabled.
CustomDomainsEnabled bool `json:"custom_domains_enabled"`
DnsAutomation bool `json:"dns_automation"`
// GuestDemo Whether this server accepts limited anonymous demo publishers.
GuestDemo bool `json:"guest_demo"`
ManagedDomain CanonicalHostname `json:"managed_domain"`
// ManagedDomainMaxMemberChildLabels Maximum labels beneath a member namespace on the managed domain. Zero imposes no limit beyond DNS hostname bounds; custom domains are not subject to this setting.
ManagedDomainMaxMemberChildLabels int `json:"managed_domain_max_member_child_labels"`
// ManagedUrlMode Default public URL naming on the server's managed domain.
ManagedUrlMode ControlDiscoveryManagedUrlMode `json:"managed_url_mode"`
}
ControlDiscovery defines model for ControlDiscovery.
type ControlDiscoveryManagedUrlMode ¶
type ControlDiscoveryManagedUrlMode string
ControlDiscoveryManagedUrlMode Default public URL naming on the server's managed domain.
const ( Generated ControlDiscoveryManagedUrlMode = "generated" Simple ControlDiscoveryManagedUrlMode = "simple" )
Defines values for ControlDiscoveryManagedUrlMode.
func (ControlDiscoveryManagedUrlMode) Valid ¶
func (e ControlDiscoveryManagedUrlMode) Valid() bool
Valid indicates whether the value is a known member of the ControlDiscoveryManagedUrlMode enum.
type CreateDeploymentJSONRequestBody ¶
type CreateDeploymentJSONRequestBody = CreateDeploymentRequest
CreateDeploymentJSONRequestBody defines body for CreateDeployment for application/json ContentType.
type CreateDeploymentParams ¶
type CreateDeploymentParams struct {
TeamId TeamIDQuery `form:"team_id" json:"team_id"`
IdempotencyKey string `json:"Idempotency-Key"`
}
CreateDeploymentParams defines parameters for CreateDeployment.
type CreateDeploymentPublisherEnrollmentJSONRequestBody ¶
type CreateDeploymentPublisherEnrollmentJSONRequestBody = CreateDeploymentPublisherEnrollmentRequest
CreateDeploymentPublisherEnrollmentJSONRequestBody defines body for CreateDeploymentPublisherEnrollment for application/json ContentType.
type CreateDeploymentPublisherEnrollmentParams ¶
type CreateDeploymentPublisherEnrollmentParams struct {
TeamId TeamIDQuery `form:"team_id" json:"team_id"`
IdempotencyKey string `json:"Idempotency-Key"`
}
CreateDeploymentPublisherEnrollmentParams defines parameters for CreateDeploymentPublisherEnrollment.
type CreateDeploymentPublisherEnrollmentRequest ¶
type CreateDeploymentPublisherEnrollmentRequest struct {
ExpiresIn *int `json:"expires_in,omitempty"`
MaxMembers *int `json:"max_members,omitempty"`
// Services Exact existing bindings to approve. Control captures their saved IDs and protocols; future names, reused names, and protocol changes never expand approval.
Services []string `json:"services"`
}
CreateDeploymentPublisherEnrollmentRequest defines model for CreateDeploymentPublisherEnrollmentRequest.
type CreateDeploymentPublisherEnrollmentResponse ¶
type CreateDeploymentPublisherEnrollmentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *DeploymentPublisherEnrollment
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseCreateDeploymentPublisherEnrollmentResponse ¶
func ParseCreateDeploymentPublisherEnrollmentResponse(rsp *http.Response) (*CreateDeploymentPublisherEnrollmentResponse, error)
ParseCreateDeploymentPublisherEnrollmentResponse parses an HTTP response from a CreateDeploymentPublisherEnrollmentWithResponse call
func (CreateDeploymentPublisherEnrollmentResponse) ContentType ¶
func (r CreateDeploymentPublisherEnrollmentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateDeploymentPublisherEnrollmentResponse) GetApplicationproblemJSONDefault ¶
func (r CreateDeploymentPublisherEnrollmentResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (CreateDeploymentPublisherEnrollmentResponse) GetBody ¶
func (r CreateDeploymentPublisherEnrollmentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateDeploymentPublisherEnrollmentResponse) GetJSON201 ¶
func (r CreateDeploymentPublisherEnrollmentResponse) GetJSON201() *DeploymentPublisherEnrollment
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateDeploymentPublisherEnrollmentResponse) Status ¶
func (r CreateDeploymentPublisherEnrollmentResponse) Status() string
Status returns HTTPResponse.Status
func (CreateDeploymentPublisherEnrollmentResponse) StatusCode ¶
func (r CreateDeploymentPublisherEnrollmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateDeploymentRequest ¶
type CreateDeploymentRequest struct {
// Name Project-unique name; local is reserved for client-side selection.
Name string `json:"name"`
Targets DeploymentTargets `json:"targets"`
}
CreateDeploymentRequest defines model for CreateDeploymentRequest.
type CreateDeploymentResponse ¶
type CreateDeploymentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *Deployment
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
// Headers201 the parsed response headers for an HTTP 201 response
Headers201 *CreateDeploymentResponse201Headers
}
func ParseCreateDeploymentResponse ¶
func ParseCreateDeploymentResponse(rsp *http.Response) (*CreateDeploymentResponse, error)
ParseCreateDeploymentResponse parses an HTTP response from a CreateDeploymentWithResponse call
func (CreateDeploymentResponse) ContentType ¶
func (r CreateDeploymentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateDeploymentResponse) GetApplicationproblemJSONDefault ¶
func (r CreateDeploymentResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (CreateDeploymentResponse) GetBody ¶
func (r CreateDeploymentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateDeploymentResponse) GetJSON201 ¶
func (r CreateDeploymentResponse) GetJSON201() *Deployment
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateDeploymentResponse) Status ¶
func (r CreateDeploymentResponse) Status() string
Status returns HTTPResponse.Status
func (CreateDeploymentResponse) StatusCode ¶
func (r CreateDeploymentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateDeploymentResponse201Headers ¶
type CreateDeploymentResponse201Headers struct {
ETag *string
}
CreateDeploymentResponse201Headers the declared response headers of an HTTP 201 response for CreateDeployment
type CreateFeedbackReportRequest ¶
type CreateFeedbackReportRequest struct {
// Access Browser identity and visitor access are independent. Feedback writes require a current browser_cookie_secret for verified authorship, including guest previews. Control also rechecks current preview permission and team feedback restrictions; visit_allowed is an observation, not authority. Share, bearer, and connector proofs supply visit permission only.
Access FeedbackReviewerAccess `json:"access"`
Anchor *FeedbackAnchor `json:"anchor,omitempty"`
Evidence FeedbackEvidence `json:"evidence"`
PagePath string `json:"page_path"`
PageTitle *string `json:"page_title,omitempty"`
PreviewId PreviewID `json:"preview_id"`
Report struct {
Text string `json:"text"`
} `json:"report"`
RunNumber int64 `json:"run_number,string"`
Service string `json:"service"`
// SourceAtReport Git identifiers captured for one project directory. Compare HEAD, project_path, and changed_files only when both captures are complete. Branch names, staging, and ignored files do not affect matching. File contents and absolute paths are not stored; truncated or unsupported captures are incomplete.
SourceAtReport SourceState `json:"source_at_report"`
}
CreateFeedbackReportRequest defines model for CreateFeedbackReportRequest.
type CreateGuestDemoResponse ¶
type CreateGuestDemoResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *GuestDemoSession
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseCreateGuestDemoResponse ¶
func ParseCreateGuestDemoResponse(rsp *http.Response) (*CreateGuestDemoResponse, error)
ParseCreateGuestDemoResponse parses an HTTP response from a CreateGuestDemoWithResponse call
func (CreateGuestDemoResponse) ContentType ¶
func (r CreateGuestDemoResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateGuestDemoResponse) GetApplicationproblemJSONDefault ¶
func (r CreateGuestDemoResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (CreateGuestDemoResponse) GetBody ¶
func (r CreateGuestDemoResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateGuestDemoResponse) GetJSON201 ¶
func (r CreateGuestDemoResponse) GetJSON201() *GuestDemoSession
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateGuestDemoResponse) Status ¶
func (r CreateGuestDemoResponse) Status() string
Status returns HTTPResponse.Status
func (CreateGuestDemoResponse) StatusCode ¶
func (r CreateGuestDemoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreatePreviewJSONRequestBody ¶
type CreatePreviewJSONRequestBody = CreatePreviewRequest
CreatePreviewJSONRequestBody defines body for CreatePreview for application/json ContentType.
type CreatePreviewParams ¶
type CreatePreviewParams struct {
IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}
CreatePreviewParams defines parameters for CreatePreview.
type CreatePreviewRequest ¶
type CreatePreviewRequest struct {
TeamId TeamID `json:"team_id"`
}
CreatePreviewRequest defines model for CreatePreviewRequest.
type CreatePreviewResponse ¶
type CreatePreviewResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *Preview
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseCreatePreviewResponse ¶
func ParseCreatePreviewResponse(rsp *http.Response) (*CreatePreviewResponse, error)
ParseCreatePreviewResponse parses an HTTP response from a CreatePreviewWithResponse call
func (CreatePreviewResponse) ContentType ¶
func (r CreatePreviewResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreatePreviewResponse) GetApplicationproblemJSONDefault ¶
func (r CreatePreviewResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (CreatePreviewResponse) GetBody ¶
func (r CreatePreviewResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreatePreviewResponse) GetJSON201 ¶
func (r CreatePreviewResponse) GetJSON201() *Preview
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreatePreviewResponse) Status ¶
func (r CreatePreviewResponse) Status() string
Status returns HTTPResponse.Status
func (CreatePreviewResponse) StatusCode ¶
func (r CreatePreviewResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreatePublisherEnrollmentJSONRequestBody ¶
type CreatePublisherEnrollmentJSONRequestBody = CreatePublisherEnrollmentRequest
CreatePublisherEnrollmentJSONRequestBody defines body for CreatePublisherEnrollment for application/json ContentType.
type CreatePublisherEnrollmentRequest ¶
type CreatePublisherEnrollmentRequest struct {
DomainId *DomainID `json:"domain_id,omitempty"`
Kind CreatePublisherEnrollmentRequestKind `json:"kind"`
Name string `json:"name"`
// Ownership Member-owned publishers stop with that membership. Team ownership requires a shared service and current team administration; the creator remains audit history only. Defaults to member for namespaces and team for shared services.
Ownership *CreatePublisherEnrollmentRequestOwnership `json:"ownership,omitempty"`
// Preview Request a new publisher-specific neutral parent on the hosted managed domain.
Preview *bool `json:"preview,omitempty"`
// Protocols Immutable protocols authorized for one actual exact service grant. The current service protocol must be included before the grant can authorize publication. Service edits, token exchange, key rotation, and retries never widen this set. This is independent of public reachability and visitor permission.
Protocols *PublisherServiceProtocols `json:"protocols,omitempty"`
ServiceId *ServiceID `json:"service_id,omitempty"`
TeamId TeamID `json:"team_id"`
}
CreatePublisherEnrollmentRequest Enroll with one exact service or namespace. Exact protocols are authorized and stored now, not inferred from the service definition or issuer role at redemption. An ordinary member's exact service enrollment is HTTP-only and member-owned. Administrators retain explicit native capability and may request a narrower protocol set. Namespace enrollment retains its current restrictions.
type CreatePublisherEnrollmentRequestKind ¶
type CreatePublisherEnrollmentRequestKind string
CreatePublisherEnrollmentRequestKind defines model for CreatePublisherEnrollmentRequest.Kind.
const ( CreatePublisherEnrollmentRequestKindAutomation CreatePublisherEnrollmentRequestKind = "automation" CreatePublisherEnrollmentRequestKindInstalled CreatePublisherEnrollmentRequestKind = "installed" CreatePublisherEnrollmentRequestKindRun CreatePublisherEnrollmentRequestKind = "run" )
Defines values for CreatePublisherEnrollmentRequestKind.
func (CreatePublisherEnrollmentRequestKind) Valid ¶
func (e CreatePublisherEnrollmentRequestKind) Valid() bool
Valid indicates whether the value is a known member of the CreatePublisherEnrollmentRequestKind enum.
type CreatePublisherEnrollmentRequestOwnership ¶
type CreatePublisherEnrollmentRequestOwnership string
CreatePublisherEnrollmentRequestOwnership Member-owned publishers stop with that membership. Team ownership requires a shared service and current team administration; the creator remains audit history only. Defaults to member for namespaces and team for shared services.
const ( EnrollmentOwnerMember CreatePublisherEnrollmentRequestOwnership = "member" EnrollmentOwnerTeam CreatePublisherEnrollmentRequestOwnership = "team" )
Defines values for CreatePublisherEnrollmentRequestOwnership.
func (CreatePublisherEnrollmentRequestOwnership) Valid ¶
func (e CreatePublisherEnrollmentRequestOwnership) Valid() bool
Valid indicates whether the value is a known member of the CreatePublisherEnrollmentRequestOwnership enum.
type CreatePublisherEnrollmentResponse ¶
type CreatePublisherEnrollmentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *PublisherEnrollment
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseCreatePublisherEnrollmentResponse ¶
func ParseCreatePublisherEnrollmentResponse(rsp *http.Response) (*CreatePublisherEnrollmentResponse, error)
ParseCreatePublisherEnrollmentResponse parses an HTTP response from a CreatePublisherEnrollmentWithResponse call
func (CreatePublisherEnrollmentResponse) ContentType ¶
func (r CreatePublisherEnrollmentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreatePublisherEnrollmentResponse) GetApplicationproblemJSONDefault ¶
func (r CreatePublisherEnrollmentResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (CreatePublisherEnrollmentResponse) GetBody ¶
func (r CreatePublisherEnrollmentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreatePublisherEnrollmentResponse) GetJSON201 ¶
func (r CreatePublisherEnrollmentResponse) GetJSON201() *PublisherEnrollment
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreatePublisherEnrollmentResponse) Status ¶
func (r CreatePublisherEnrollmentResponse) Status() string
Status returns HTTPResponse.Status
func (CreatePublisherEnrollmentResponse) StatusCode ¶
func (r CreatePublisherEnrollmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreatePublisherGrantJSONRequestBody ¶
type CreatePublisherGrantJSONRequestBody = CreatePublisherGrantRequest
CreatePublisherGrantJSONRequestBody defines body for CreatePublisherGrant for application/json ContentType.
type CreatePublisherGrantRequest ¶
type CreatePublisherGrantRequest struct {
DomainId *DomainID `json:"domain_id,omitempty"`
ExpiresAt *time.Time `json:"expires_at,omitempty"`
// Protocols Immutable protocols authorized for one actual exact service grant. The current service protocol must be included before the grant can authorize publication. Service edits, token exchange, key rotation, and retries never widen this set. This is independent of public reachability and visitor permission.
Protocols *PublisherServiceProtocols `json:"protocols,omitempty"`
ServiceId *ServiceID `json:"service_id,omitempty"`
TeamId TeamID `json:"team_id"`
}
CreatePublisherGrantRequest Select exactly one service or namespace within the team. Exact protocols are captured at issuance. An ordinary member may request only HTTP for an owned HTTP service; an administrator defaults to the explicitly stored currently supported protocol set and may narrow it. Namespace authority retains its existing restrictions and cannot select protocols.
type CreatePublisherGrantResponse ¶
type CreatePublisherGrantResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *PublisherGrant
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseCreatePublisherGrantResponse ¶
func ParseCreatePublisherGrantResponse(rsp *http.Response) (*CreatePublisherGrantResponse, error)
ParseCreatePublisherGrantResponse parses an HTTP response from a CreatePublisherGrantWithResponse call
func (CreatePublisherGrantResponse) ContentType ¶
func (r CreatePublisherGrantResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreatePublisherGrantResponse) GetApplicationproblemJSONDefault ¶
func (r CreatePublisherGrantResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (CreatePublisherGrantResponse) GetBody ¶
func (r CreatePublisherGrantResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreatePublisherGrantResponse) GetJSON201 ¶
func (r CreatePublisherGrantResponse) GetJSON201() *PublisherGrant
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreatePublisherGrantResponse) Status ¶
func (r CreatePublisherGrantResponse) Status() string
Status returns HTTPResponse.Status
func (CreatePublisherGrantResponse) StatusCode ¶
func (r CreatePublisherGrantResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateServiceCertificateIssuanceJSONRequestBody ¶
type CreateServiceCertificateIssuanceJSONRequestBody = CreateServiceCertificateIssuanceRequest
CreateServiceCertificateIssuanceJSONRequestBody defines body for CreateServiceCertificateIssuance for application/json ContentType.
type CreateServiceCertificateIssuanceParams ¶
type CreateServiceCertificateIssuanceParams struct {
IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}
CreateServiceCertificateIssuanceParams defines parameters for CreateServiceCertificateIssuance.
type CreateServiceCertificateIssuanceRequest ¶
type CreateServiceCertificateIssuanceRequest struct {
Csr []byte `json:"csr"`
RunNumber int64 `json:"run_number,string"`
}
CreateServiceCertificateIssuanceRequest defines model for CreateServiceCertificateIssuanceRequest.
type CreateServiceCertificateIssuanceResponse ¶
type CreateServiceCertificateIssuanceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ServiceCertificateIssuance
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseCreateServiceCertificateIssuanceResponse ¶
func ParseCreateServiceCertificateIssuanceResponse(rsp *http.Response) (*CreateServiceCertificateIssuanceResponse, error)
ParseCreateServiceCertificateIssuanceResponse parses an HTTP response from a CreateServiceCertificateIssuanceWithResponse call
func (CreateServiceCertificateIssuanceResponse) ContentType ¶
func (r CreateServiceCertificateIssuanceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateServiceCertificateIssuanceResponse) GetApplicationproblemJSONDefault ¶
func (r CreateServiceCertificateIssuanceResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (CreateServiceCertificateIssuanceResponse) GetBody ¶
func (r CreateServiceCertificateIssuanceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateServiceCertificateIssuanceResponse) GetJSON201 ¶
func (r CreateServiceCertificateIssuanceResponse) GetJSON201() *ServiceCertificateIssuance
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateServiceCertificateIssuanceResponse) Status ¶
func (r CreateServiceCertificateIssuanceResponse) Status() string
Status returns HTTPResponse.Status
func (CreateServiceCertificateIssuanceResponse) StatusCode ¶
func (r CreateServiceCertificateIssuanceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateServiceGrantJSONRequestBody ¶
type CreateServiceGrantJSONRequestBody = CreateServiceGrantRequest
CreateServiceGrantJSONRequestBody defines body for CreateServiceGrant for application/json ContentType.
type CreateServiceGrantParams ¶
type CreateServiceGrantParams struct {
IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}
CreateServiceGrantParams defines parameters for CreateServiceGrant.
type CreateServiceGrantRequest ¶
type CreateServiceGrantRequest struct {
ExpiresAt *time.Time `json:"expires_at,omitempty"`
IdentityId *IdentityID `json:"identity_id,omitempty"`
Kind CreateServiceGrantRequestKind `json:"kind"`
}
CreateServiceGrantRequest defines model for CreateServiceGrantRequest.
type CreateServiceGrantRequestKind ¶
type CreateServiceGrantRequestKind string
CreateServiceGrantRequestKind defines model for CreateServiceGrantRequest.Kind.
const ( CreateServiceGrantRequestKindIdentity CreateServiceGrantRequestKind = "identity" CreateServiceGrantRequestKindTeam CreateServiceGrantRequestKind = "team" )
Defines values for CreateServiceGrantRequestKind.
func (CreateServiceGrantRequestKind) Valid ¶
func (e CreateServiceGrantRequestKind) Valid() bool
Valid indicates whether the value is a known member of the CreateServiceGrantRequestKind enum.
type CreateServiceGrantResponse ¶
type CreateServiceGrantResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ServiceGrant
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseCreateServiceGrantResponse ¶
func ParseCreateServiceGrantResponse(rsp *http.Response) (*CreateServiceGrantResponse, error)
ParseCreateServiceGrantResponse parses an HTTP response from a CreateServiceGrantWithResponse call
func (CreateServiceGrantResponse) ContentType ¶
func (r CreateServiceGrantResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateServiceGrantResponse) GetApplicationproblemJSONDefault ¶
func (r CreateServiceGrantResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (CreateServiceGrantResponse) GetBody ¶
func (r CreateServiceGrantResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateServiceGrantResponse) GetJSON201 ¶
func (r CreateServiceGrantResponse) GetJSON201() *ServiceGrant
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateServiceGrantResponse) Status ¶
func (r CreateServiceGrantResponse) Status() string
Status returns HTTPResponse.Status
func (CreateServiceGrantResponse) StatusCode ¶
func (r CreateServiceGrantResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateServiceHTTPGrantJSONRequestBody ¶
type CreateServiceHTTPGrantJSONRequestBody = CreateVisitorCredentialRequest
CreateServiceHTTPGrantJSONRequestBody defines body for CreateServiceHTTPGrant for application/json ContentType.
type CreateServiceHTTPGrantResponse ¶
type CreateServiceHTTPGrantResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *VisitorCredential
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseCreateServiceHTTPGrantResponse ¶
func ParseCreateServiceHTTPGrantResponse(rsp *http.Response) (*CreateServiceHTTPGrantResponse, error)
ParseCreateServiceHTTPGrantResponse parses an HTTP response from a CreateServiceHTTPGrantWithResponse call
func (CreateServiceHTTPGrantResponse) ContentType ¶
func (r CreateServiceHTTPGrantResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateServiceHTTPGrantResponse) GetApplicationproblemJSONDefault ¶
func (r CreateServiceHTTPGrantResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (CreateServiceHTTPGrantResponse) GetBody ¶
func (r CreateServiceHTTPGrantResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateServiceHTTPGrantResponse) GetJSON201 ¶
func (r CreateServiceHTTPGrantResponse) GetJSON201() *VisitorCredential
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateServiceHTTPGrantResponse) Status ¶
func (r CreateServiceHTTPGrantResponse) Status() string
Status returns HTTPResponse.Status
func (CreateServiceHTTPGrantResponse) StatusCode ¶
func (r CreateServiceHTTPGrantResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateServiceInvitationRequest ¶
type CreateServiceInvitationRequest struct {
Email openapi_types.Email `json:"email"`
ExpiresAt time.Time `json:"expires_at"`
}
CreateServiceInvitationRequest defines model for CreateServiceInvitationRequest.
type CreateServiceJSONRequestBody ¶
type CreateServiceJSONRequestBody = CreateServiceRequest
CreateServiceJSONRequestBody defines body for CreateService for application/json ContentType.
type CreateServiceParams ¶
type CreateServiceParams struct {
IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}
CreateServiceParams defines parameters for CreateService.
type CreateServiceRequest ¶
type CreateServiceRequest struct {
// Configuration Optional service-owned declaration. Control normalizes and encrypts it without creating project or deployment provenance. Explicit protocol, target trust, hostname, and domain selections must agree with the declaration. Exact create retries recover only equivalent normalized intent.
Configuration *ProjectServiceConfiguration `json:"configuration,omitempty"`
Name ServiceName `json:"name"`
Placement *ServicePlacement `json:"placement,omitempty"`
Protocol *ServiceProtocol `json:"protocol,omitempty"`
PublisherPool *bool `json:"publisher_pool,omitempty"`
// Reserve Create or recover one exact standalone service at the explicit domain and hostname, without reading team inventory. Requires a service-owned declaration and no worktree placement. Current members may reserve HTTP in their own namespace; shared names require current team administration. Recovery returns current intent without replacing it. This request flag does not select durable ownership, visitor permission, or publisher capability.
Reserve *bool `json:"reserve,omitempty"`
// TargetTls Approved publisher-to-target trust. This never selects or disables visitor TLS.
TargetTls *ServiceTargetTLS `json:"target_tls,omitempty"`
TeamId TeamID `json:"team_id"`
}
CreateServiceRequest defines model for CreateServiceRequest.
type CreateServiceResponse ¶
type CreateServiceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Service
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *Service
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseCreateServiceResponse ¶
func ParseCreateServiceResponse(rsp *http.Response) (*CreateServiceResponse, error)
ParseCreateServiceResponse parses an HTTP response from a CreateServiceWithResponse call
func (CreateServiceResponse) ContentType ¶
func (r CreateServiceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateServiceResponse) GetApplicationproblemJSONDefault ¶
func (r CreateServiceResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (CreateServiceResponse) GetBody ¶
func (r CreateServiceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateServiceResponse) GetJSON200 ¶
func (r CreateServiceResponse) GetJSON200() *Service
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CreateServiceResponse) GetJSON201 ¶
func (r CreateServiceResponse) GetJSON201() *Service
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateServiceResponse) Status ¶
func (r CreateServiceResponse) Status() string
Status returns HTTPResponse.Status
func (CreateServiceResponse) StatusCode ¶
func (r CreateServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateServiceRunPreviewJSONRequestBody ¶
type CreateServiceRunPreviewJSONRequestBody = ServiceRunPreviewRequest
CreateServiceRunPreviewJSONRequestBody defines body for CreateServiceRunPreview for application/json ContentType.
type CreateServiceRunPreviewResponse ¶
type CreateServiceRunPreviewResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Preview
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseCreateServiceRunPreviewResponse ¶
func ParseCreateServiceRunPreviewResponse(rsp *http.Response) (*CreateServiceRunPreviewResponse, error)
ParseCreateServiceRunPreviewResponse parses an HTTP response from a CreateServiceRunPreviewWithResponse call
func (CreateServiceRunPreviewResponse) ContentType ¶
func (r CreateServiceRunPreviewResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateServiceRunPreviewResponse) GetApplicationproblemJSONDefault ¶
func (r CreateServiceRunPreviewResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (CreateServiceRunPreviewResponse) GetBody ¶
func (r CreateServiceRunPreviewResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateServiceRunPreviewResponse) GetJSON200 ¶
func (r CreateServiceRunPreviewResponse) GetJSON200() *Preview
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CreateServiceRunPreviewResponse) Status ¶
func (r CreateServiceRunPreviewResponse) Status() string
Status returns HTTPResponse.Status
func (CreateServiceRunPreviewResponse) StatusCode ¶
func (r CreateServiceRunPreviewResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateServiceShareJSONRequestBody ¶
type CreateServiceShareJSONRequestBody = CreateShareRequest
CreateServiceShareJSONRequestBody defines body for CreateServiceShare for application/json ContentType.
type CreateServiceShareParams ¶
type CreateServiceShareParams struct {
}
CreateServiceShareParams defines parameters for CreateServiceShare.
type CreateServiceShareResponse ¶
type CreateServiceShareResponse struct {
JSON201 *ShareCreation
ApplicationproblemJSON409 *Problem
ApplicationproblemJSONDefault *Problem
}
func ParseCreateServiceShareResponse ¶
func ParseCreateServiceShareResponse(rsp *http.Response) (*CreateServiceShareResponse, error)
ParseCreateServiceShareResponse parses an HTTP response from a CreateServiceShareWithResponse call
func (CreateServiceShareResponse) ContentType ¶
func (r CreateServiceShareResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateServiceShareResponse) GetApplicationproblemJSON409 ¶
func (r CreateServiceShareResponse) GetApplicationproblemJSON409() *Problem
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (CreateServiceShareResponse) GetApplicationproblemJSONDefault ¶
func (r CreateServiceShareResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (CreateServiceShareResponse) GetBody ¶
func (r CreateServiceShareResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateServiceShareResponse) GetJSON201 ¶
func (r CreateServiceShareResponse) GetJSON201() *ShareCreation
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateServiceShareResponse) Status ¶
func (r CreateServiceShareResponse) Status() string
Status returns HTTPResponse.Status
func (CreateServiceShareResponse) StatusCode ¶
func (r CreateServiceShareResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateShareJSONRequestBody ¶
type CreateShareJSONRequestBody = CreateShareRequest
CreateShareJSONRequestBody defines body for CreateShare for application/json ContentType.
type CreateShareParams ¶
type CreateShareParams struct {
}
CreateShareParams defines parameters for CreateShare.
type CreateShareRequest ¶
type CreateShareRequest struct {
}
CreateShareRequest defines model for CreateShareRequest.
type CreateShareResponse ¶
type CreateShareResponse struct {
JSON201 *ShareCreation
ApplicationproblemJSON409 *Problem
ApplicationproblemJSONDefault *Problem
}
func ParseCreateShareResponse ¶
func ParseCreateShareResponse(rsp *http.Response) (*CreateShareResponse, error)
ParseCreateShareResponse parses an HTTP response from a CreateShareWithResponse call
func (CreateShareResponse) ContentType ¶
func (r CreateShareResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateShareResponse) GetApplicationproblemJSON409 ¶
func (r CreateShareResponse) GetApplicationproblemJSON409() *Problem
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (CreateShareResponse) GetApplicationproblemJSONDefault ¶
func (r CreateShareResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (CreateShareResponse) GetBody ¶
func (r CreateShareResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateShareResponse) GetJSON201 ¶
func (r CreateShareResponse) GetJSON201() *ShareCreation
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateShareResponse) Status ¶
func (r CreateShareResponse) Status() string
Status returns HTTPResponse.Status
func (CreateShareResponse) StatusCode ¶
func (r CreateShareResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateVisitorCredentialRequest ¶
type CreateVisitorCredentialRequest struct {
ExpiresAt time.Time `json:"expires_at"`
Kind CreateVisitorCredentialRequestKind `json:"kind"`
}
CreateVisitorCredentialRequest defines model for CreateVisitorCredentialRequest.
type CreateVisitorCredentialRequestKind ¶
type CreateVisitorCredentialRequestKind string
CreateVisitorCredentialRequestKind defines model for CreateVisitorCredentialRequest.Kind.
const (
CreateVisitorCredentialRequestKindToken CreateVisitorCredentialRequestKind = "token"
)
Defines values for CreateVisitorCredentialRequestKind.
func (CreateVisitorCredentialRequestKind) Valid ¶
func (e CreateVisitorCredentialRequestKind) Valid() bool
Valid indicates whether the value is a known member of the CreateVisitorCredentialRequestKind enum.
type DNSAuthorityReference ¶
type DNSAuthorityReference = string
DNSAuthorityReference defines model for DNSAuthorityReference.
type DeleteDeploymentParams ¶
type DeleteDeploymentParams struct {
TeamId TeamIDQuery `form:"team_id" json:"team_id"`
// IfMatch Required by the operation; omission returns 428.
IfMatch *string `json:"If-Match,omitempty"`
}
DeleteDeploymentParams defines parameters for DeleteDeployment.
type DeleteDeploymentResponse ¶
type DeleteDeploymentResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseDeleteDeploymentResponse ¶
func ParseDeleteDeploymentResponse(rsp *http.Response) (*DeleteDeploymentResponse, error)
ParseDeleteDeploymentResponse parses an HTTP response from a DeleteDeploymentWithResponse call
func (DeleteDeploymentResponse) ContentType ¶
func (r DeleteDeploymentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteDeploymentResponse) GetApplicationproblemJSONDefault ¶
func (r DeleteDeploymentResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DeleteDeploymentResponse) GetBody ¶
func (r DeleteDeploymentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteDeploymentResponse) Status ¶
func (r DeleteDeploymentResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteDeploymentResponse) StatusCode ¶
func (r DeleteDeploymentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletePublisherServiceResponse ¶
type DeletePublisherServiceResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseDeletePublisherServiceResponse ¶
func ParseDeletePublisherServiceResponse(rsp *http.Response) (*DeletePublisherServiceResponse, error)
ParseDeletePublisherServiceResponse parses an HTTP response from a DeletePublisherServiceWithResponse call
func (DeletePublisherServiceResponse) ContentType ¶
func (r DeletePublisherServiceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeletePublisherServiceResponse) GetApplicationproblemJSONDefault ¶
func (r DeletePublisherServiceResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DeletePublisherServiceResponse) GetBody ¶
func (r DeletePublisherServiceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeletePublisherServiceResponse) Status ¶
func (r DeletePublisherServiceResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePublisherServiceResponse) StatusCode ¶
func (r DeletePublisherServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteServiceParams ¶
type DeleteServiceParams struct {
// ExpectedServiceRevision Current saved service revision from getService. Mutually exclusive with unconditional_delete; not required for credential-bound guest cleanup.
ExpectedServiceRevision *int64 `form:"expected_service_revision,omitempty" json:"expected_service_revision,omitempty"`
// UnconditionalDelete Explicitly delete the currently authorized service regardless of its revision. Send true or omit; mutually exclusive with expected_service_revision.
UnconditionalDelete *bool `form:"unconditional_delete,omitempty" json:"unconditional_delete,omitempty"`
}
DeleteServiceParams defines parameters for DeleteService.
type DeleteServiceResponse ¶
type DeleteServiceResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseDeleteServiceResponse ¶
func ParseDeleteServiceResponse(rsp *http.Response) (*DeleteServiceResponse, error)
ParseDeleteServiceResponse parses an HTTP response from a DeleteServiceWithResponse call
func (DeleteServiceResponse) ContentType ¶
func (r DeleteServiceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteServiceResponse) GetApplicationproblemJSONDefault ¶
func (r DeleteServiceResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DeleteServiceResponse) GetBody ¶
func (r DeleteServiceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteServiceResponse) Status ¶
func (r DeleteServiceResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteServiceResponse) StatusCode ¶
func (r DeleteServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeliverConnectorPeerPairJSONBody ¶
type DeliverConnectorPeerPairJSONBody struct {
DeliveryGeneration int64 `json:"delivery_generation,string"`
}
DeliverConnectorPeerPairJSONBody defines parameters for DeliverConnectorPeerPair.
type DeliverConnectorPeerPairJSONRequestBody ¶
type DeliverConnectorPeerPairJSONRequestBody DeliverConnectorPeerPairJSONBody
DeliverConnectorPeerPairJSONRequestBody defines body for DeliverConnectorPeerPair for application/json ContentType.
type DeliverConnectorPeerPairResponse ¶
type DeliverConnectorPeerPairResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ConnectorPeerPairDelivery
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseDeliverConnectorPeerPairResponse ¶
func ParseDeliverConnectorPeerPairResponse(rsp *http.Response) (*DeliverConnectorPeerPairResponse, error)
ParseDeliverConnectorPeerPairResponse parses an HTTP response from a DeliverConnectorPeerPairWithResponse call
func (DeliverConnectorPeerPairResponse) ContentType ¶
func (r DeliverConnectorPeerPairResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeliverConnectorPeerPairResponse) GetApplicationproblemJSONDefault ¶
func (r DeliverConnectorPeerPairResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DeliverConnectorPeerPairResponse) GetBody ¶
func (r DeliverConnectorPeerPairResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeliverConnectorPeerPairResponse) GetJSON200 ¶
func (r DeliverConnectorPeerPairResponse) GetJSON200() *ConnectorPeerPairDelivery
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DeliverConnectorPeerPairResponse) Status ¶
func (r DeliverConnectorPeerPairResponse) Status() string
Status returns HTTPResponse.Status
func (DeliverConnectorPeerPairResponse) StatusCode ¶
func (r DeliverConnectorPeerPairResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Deployment ¶
type Deployment struct {
Id string `json:"id"`
Name string `json:"name"`
ProjectKey string `json:"project_key"`
Revision int64 `json:"revision"`
Services map[string]DeploymentService `json:"services"`
Targets map[string]DeploymentTargetStatus `json:"targets"`
TeamId TeamID `json:"team_id"`
}
Deployment defines model for Deployment.
type DeploymentCredential ¶
type DeploymentCredential struct {
AllDeployments bool `json:"all_deployments"`
ClientId string `json:"client_id"`
DeploymentIds []string `json:"deployment_ids"`
ExpiresAt time.Time `json:"expires_at"`
GrantId string `json:"grant_id"`
KeyId string `json:"key_id"`
Permissions struct {
Connect *DeploymentCredentialServiceProtocols `json:"connect,omitempty"`
Manage *DeploymentCredentialServiceProtocols `json:"manage,omitempty"`
Publish *DeploymentPublishApproval `json:"publish,omitempty"`
} `json:"permissions"`
ProjectKey string `json:"project_key"`
TeamId string `json:"team_id"`
}
DeploymentCredential Public registration facts for one team-owned signing identity and independent approved capabilities. Use the signed /v1/publisher-token exchange. Publication uses only explicitly approved HTTP bindings or temporary allocation. No credential administration or project-definition authority is granted. Revoke with existing publisher identity/grant administration; separately enrolled publishers remain independent.
type DeploymentCredentialServiceProtocols ¶
type DeploymentCredentialServiceProtocols map[string]ServiceProtocol
DeploymentCredentialServiceProtocols defines model for DeploymentCredentialServiceProtocols.
type DeploymentCredentialServiceSelection ¶
type DeploymentCredentialServiceSelection = []string
DeploymentCredentialServiceSelection defines model for DeploymentCredentialServiceSelection.
type DeploymentPage ¶
type DeploymentPage struct {
Deployments []Deployment `json:"deployments"`
NextCursor *string `json:"next_cursor,omitempty"`
}
DeploymentPage defines model for DeploymentPage.
type DeploymentPublishApproval ¶
type DeploymentPublishApproval struct {
Services *DeploymentCredentialServiceProtocols `json:"services,omitempty"`
// Temporary Explicit temporary allocation approval in the selected deployments' namespaces. restricted permits only restricted visitor access; anonymous also permits an explicit anonymous request. Every allocation defaults to restricted. Exact custom saved hostnames never become allocation namespaces.
Temporary *DeploymentTemporaryPublication `json:"temporary,omitempty"`
}
DeploymentPublishApproval defines model for DeploymentPublishApproval.
type DeploymentPublishSelection ¶
type DeploymentPublishSelection struct {
Services *DeploymentCredentialServiceSelection `json:"services,omitempty"`
// Temporary Explicit temporary allocation approval in the selected deployments' namespaces. restricted permits only restricted visitor access; anonymous also permits an explicit anonymous request. Every allocation defaults to restricted. Exact custom saved hostnames never become allocation namespaces.
Temporary *DeploymentTemporaryPublication `json:"temporary,omitempty"`
}
DeploymentPublishSelection Independently approve named saved HTTP URLs, temporary allocation, or both. Named approval does not imply temporary allocation or permit editing saved visitor policy. No service declarations are needed for temporary-only approval.
type DeploymentPublisher ¶
type DeploymentPublisher struct {
AcknowledgedAt *time.Time `json:"acknowledged_at,omitempty"`
CurrentRevision int64 `json:"current_revision,string"`
DeploymentId string `json:"deployment_id"`
DeploymentName string `json:"deployment_name"`
Healthy bool `json:"healthy"`
KeyId string `json:"key_id"`
LeaseExpiresAt *time.Time `json:"lease_expires_at,omitempty"`
ObservedRevision int64 `json:"observed_revision,string"`
ProjectKey string `json:"project_key"`
PublisherIdentityId string `json:"publisher_identity_id"`
RevokedAt *time.Time `json:"revoked_at,omitempty"`
// Runtime Last explicitly started runtime for this publisher identity, retained after stop or lease expiry. Active means its lease is live, not that the target is reachable or its egress IP is fixed. The source address seen by control can differ from the address used to reach targets and grants no access.
Runtime *PublisherRuntimeStatus `json:"runtime,omitempty"`
// Services Captured service/protocol approval, not a claim of current reachability. Services added later are not approved.
Services map[string]ServiceProtocol `json:"services"`
SnapshotAt time.Time `json:"snapshot_at"`
TeamId string `json:"team_id"`
}
DeploymentPublisher One publisher in the selected deployment (deployment_id), including its retained last observation after revocation. No enrollment secret, signing key, access token, or target is returned. Healthy reports configuration acknowledgement and a current lease, not database login or SQL readiness.
type DeploymentPublisherAcknowledgement ¶
type DeploymentPublisherAcknowledgement struct {
ConfigurationHash string `json:"configuration_hash"`
Healthy bool `json:"healthy"`
Revision int64 `json:"revision,string"`
}
DeploymentPublisherAcknowledgement defines model for DeploymentPublisherAcknowledgement.
type DeploymentPublisherAssignments ¶
type DeploymentPublisherAssignments struct {
// CertificateStatePlans Every certificate plan submitted by this publisher identity. Restore each plan's private material; unrelated or older plans cannot satisfy this list.
CertificateStatePlans []CertificatePlan `json:"certificate_state_plans"`
ConfigurationHash string `json:"configuration_hash"`
Member DeploymentPublisherIdentity `json:"member"`
Revision int64 `json:"revision,string"`
Services []DeploymentPublisherServiceAssignment `json:"services"`
}
DeploymentPublisherAssignments defines model for DeploymentPublisherAssignments.
type DeploymentPublisherEnrollment ¶
type DeploymentPublisherEnrollment struct {
DeploymentId string `json:"deployment_id"`
EnrollmentId string `json:"enrollment_id"`
EnrollmentKey string `json:"enrollment_key"`
ExpiresAt time.Time `json:"expires_at"`
MaxMembers int `json:"max_members"`
Services map[string]ServiceProtocol `json:"services"`
}
DeploymentPublisherEnrollment Privately deliver the bounded enrollment key to the publisher. deployment_id is the selected deployment ID. Recovery preserves this secret, captured scope, capacity, and expiration; it never renews or replaces exhausted setup authority.
type DeploymentPublisherIdentity ¶
type DeploymentPublisherIdentity struct {
DeploymentId string `json:"deployment_id"`
DeploymentName string `json:"deployment_name"`
KeyId string `json:"key_id"`
ProjectKey string `json:"project_key"`
PublisherIdentityId string `json:"publisher_identity_id"`
TeamId string `json:"team_id"`
}
DeploymentPublisherIdentity defines model for DeploymentPublisherIdentity.
type DeploymentPublisherLease ¶
type DeploymentPublisherLease struct {
AccessToken string `json:"access_token"`
ExpiresAt time.Time `json:"expires_at"`
}
DeploymentPublisherLease defines model for DeploymentPublisherLease.
type DeploymentPublisherLeaseRequest ¶
type DeploymentPublisherLeaseRequest struct {
Assertion string `json:"assertion"`
DeploymentId string `json:"deployment_id"`
PublisherIdentityId string `json:"publisher_identity_id"`
}
DeploymentPublisherLeaseRequest defines model for DeploymentPublisherLeaseRequest.
type DeploymentPublisherPage ¶
type DeploymentPublisherPage struct {
NextCursor *string `json:"next_cursor,omitempty"`
Publishers []DeploymentPublisher `json:"publishers"`
}
DeploymentPublisherPage defines model for DeploymentPublisherPage.
type DeploymentPublisherServiceAssignment ¶
type DeploymentPublisherServiceAssignment struct {
Configuration ProjectServiceConfiguration `json:"configuration"`
GrantId string `json:"grant_id"`
Service string `json:"service"`
ServiceId string `json:"service_id"`
// TrustRevision Current approved service target trust revision. The worker must match it before starting a service run.
TrustRevision int64 `json:"trust_revision,string"`
}
DeploymentPublisherServiceAssignment defines model for DeploymentPublisherServiceAssignment.
type DeploymentPublisherStatus ¶
type DeploymentPublisherStatus struct {
AcknowledgedAt *time.Time `json:"acknowledged_at,omitempty"`
CurrentRevision int64 `json:"current_revision,string"`
DeploymentId string `json:"deployment_id"`
DeploymentName string `json:"deployment_name"`
Healthy bool `json:"healthy"`
KeyId string `json:"key_id"`
LeaseExpiresAt *time.Time `json:"lease_expires_at,omitempty"`
ObservedRevision int64 `json:"observed_revision,string"`
ProjectKey string `json:"project_key"`
PublisherIdentityId string `json:"publisher_identity_id"`
// Runtime Last explicitly started runtime for this publisher identity, retained after stop or lease expiry. Active means its lease is live, not that the target is reachable or its egress IP is fixed. The source address seen by control can differ from the address used to reach targets and grants no access.
Runtime *PublisherRuntimeStatus `json:"runtime,omitempty"`
SnapshotAt time.Time `json:"snapshot_at"`
TeamId string `json:"team_id"`
}
DeploymentPublisherStatus defines model for DeploymentPublisherStatus.
type DeploymentPublisherVerification ¶
type DeploymentPublisherVerification struct {
DeploymentNames []string `json:"deployment_names"`
Member DeploymentPublisherIdentity `json:"member"`
}
DeploymentPublisherVerification defines model for DeploymentPublisherVerification.
type DeploymentService ¶
type DeploymentService struct {
// Endpoint Control-owned service TLS identity. HTTP uses shared port 443 without an exclusive ingress reservation, including when public access is disabled. Other protocols use zero when no public ingress port is reserved; an allocated port remains reserved during temporary disablement. Only public enables ingress access. This port is never a machine-local connector port. Target trust is a separate publisher-side boundary.
Endpoint *ServiceEndpoint `json:"endpoint,omitempty"`
// Id The bound service ID.
Id ResourceID `json:"id"`
Protocol ServiceProtocol `json:"protocol"`
TrustRevision int64 `json:"trust_revision"`
}
DeploymentService defines model for DeploymentService.
type DeploymentSettings ¶
type DeploymentSettings struct {
Description *string `json:"description,omitempty"`
DomainId *string `json:"domain_id,omitempty"`
}
DeploymentSettings defines model for DeploymentSettings.
type DeploymentTarget ¶
type DeploymentTarget struct {
// Address Explicit host:port, or an HTTP origin for a declared HTTP service. Does not evaluate local configuration or discover cloud resources.
Address string `json:"address"`
// Tls Verified publisher-to-target TLS. CA is system (the default), aws-rds, or PEM-encoded CA certificates; never a path or URL. aws-rds selects only the supplied endpoint's regional roots offline and requires its hostname for verification. Reads return captured CA material, not a discovery credential.
Tls *DeploymentTargetTLS `json:"tls,omitempty"`
}
DeploymentTarget An explicit address and optional publisher-to-target TLS. Declared Kubernetes services require tls; an empty tls object uses verified system roots and the address hostname.
type DeploymentTargetStatus ¶
type DeploymentTargetStatus struct {
Address *string `json:"address,omitempty"`
// App The application supplies its bound HTTP listener at publication time.
App *DeploymentTargetStatusApp `json:"app,omitempty"`
// Discovery Exact provider selector resolved by the assigned publisher with its own AWS credentials. Control does not discover targets or credentials. EKS requires kubernetes; RDS requires postgres or mysql, verified against provider metadata.
Discovery *ProjectTargetDiscovery `json:"discovery,omitempty"`
// Tls Verified publisher-to-target TLS. CA is system (the default), aws-rds, or PEM-encoded CA certificates; never a path or URL. aws-rds selects only the supplied endpoint's regional roots offline and requires its hostname for verification. Reads return captured CA material, not a discovery credential.
Tls *DeploymentTargetTLS `json:"tls,omitempty"`
}
DeploymentTargetStatus One saved explicit address/TLS binding or a publisher-side discovery declaration saved by manager apply. Runtime mutations accept explicit addresses only and never evaluate these discovery declarations on control.
type DeploymentTargetStatusApp ¶
type DeploymentTargetStatusApp bool
DeploymentTargetStatusApp The application supplies its bound HTTP listener at publication time.
const (
DeploymentTargetStatusAppTrue DeploymentTargetStatusApp = true
)
Defines values for DeploymentTargetStatusApp.
func (DeploymentTargetStatusApp) Valid ¶
func (e DeploymentTargetStatusApp) Valid() bool
Valid indicates whether the value is a known member of the DeploymentTargetStatusApp enum.
type DeploymentTargetTLS ¶
type DeploymentTargetTLS struct {
Ca *string `json:"ca,omitempty"`
Hostname *string `json:"hostname,omitempty"`
}
DeploymentTargetTLS Verified publisher-to-target TLS. CA is system (the default), aws-rds, or PEM-encoded CA certificates; never a path or URL. aws-rds selects only the supplied endpoint's regional roots offline and requires its hostname for verification. Reads return captured CA material, not a discovery credential.
type DeploymentTargets ¶
type DeploymentTargets map[string]DeploymentTarget
DeploymentTargets defines model for DeploymentTargets.
type DeploymentTemporaryPublication ¶
type DeploymentTemporaryPublication string
DeploymentTemporaryPublication Explicit temporary allocation approval in the selected deployments' namespaces. restricted permits only restricted visitor access; anonymous also permits an explicit anonymous request. Every allocation defaults to restricted. Exact custom saved hostnames never become allocation namespaces.
const ( TemporaryPublicationAnonymous DeploymentTemporaryPublication = "anonymous" TemporaryPublicationRestricted DeploymentTemporaryPublication = "restricted" )
Defines values for DeploymentTemporaryPublication.
func (DeploymentTemporaryPublication) Valid ¶
func (e DeploymentTemporaryPublication) Valid() bool
Valid indicates whether the value is a known member of the DeploymentTemporaryPublication enum.
type DrainAdminRelayJSONRequestBody ¶
type DrainAdminRelayJSONRequestBody = AdminDrainRelayRequest
DrainAdminRelayJSONRequestBody defines body for DrainAdminRelay for application/json ContentType.
type DrainAdminRelayResponse ¶
type DrainAdminRelayResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AdminRelayLease
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseDrainAdminRelayResponse ¶
func ParseDrainAdminRelayResponse(rsp *http.Response) (*DrainAdminRelayResponse, error)
ParseDrainAdminRelayResponse parses an HTTP response from a DrainAdminRelayWithResponse call
func (DrainAdminRelayResponse) ContentType ¶
func (r DrainAdminRelayResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DrainAdminRelayResponse) GetApplicationproblemJSONDefault ¶
func (r DrainAdminRelayResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DrainAdminRelayResponse) GetBody ¶
func (r DrainAdminRelayResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DrainAdminRelayResponse) GetJSON200 ¶
func (r DrainAdminRelayResponse) GetJSON200() *AdminRelayLease
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DrainAdminRelayResponse) Status ¶
func (r DrainAdminRelayResponse) Status() string
Status returns HTTPResponse.Status
func (DrainAdminRelayResponse) StatusCode ¶
func (r DrainAdminRelayResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EnrollGuestPublisherJSONRequestBody ¶
type EnrollGuestPublisherJSONRequestBody = EnrollGuestPublisherRequest
EnrollGuestPublisherJSONRequestBody defines body for EnrollGuestPublisher for application/json ContentType.
type EnrollGuestPublisherRequest ¶
type EnrollGuestPublisherRequest struct {
// PublicKey Unpadded base64url Ed25519 public key. The caller keeps the private key.
PublicKey string `json:"public_key"`
ServiceId ServiceID `json:"service_id"`
}
EnrollGuestPublisherRequest defines model for EnrollGuestPublisherRequest.
type EnrollGuestPublisherResponse ¶
type EnrollGuestPublisherResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublisherEnrollmentResult
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseEnrollGuestPublisherResponse ¶
func ParseEnrollGuestPublisherResponse(rsp *http.Response) (*EnrollGuestPublisherResponse, error)
ParseEnrollGuestPublisherResponse parses an HTTP response from a EnrollGuestPublisherWithResponse call
func (EnrollGuestPublisherResponse) ContentType ¶
func (r EnrollGuestPublisherResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EnrollGuestPublisherResponse) GetApplicationproblemJSONDefault ¶
func (r EnrollGuestPublisherResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (EnrollGuestPublisherResponse) GetBody ¶
func (r EnrollGuestPublisherResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EnrollGuestPublisherResponse) GetJSON200 ¶
func (r EnrollGuestPublisherResponse) GetJSON200() *PublisherEnrollmentResult
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (EnrollGuestPublisherResponse) Status ¶
func (r EnrollGuestPublisherResponse) Status() string
Status returns HTTPResponse.Status
func (EnrollGuestPublisherResponse) StatusCode ¶
func (r EnrollGuestPublisherResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EnrollVisitorDeviceJSONBody ¶
type EnrollVisitorDeviceJSONBody struct {
PublicKey string `json:"public_key"`
}
EnrollVisitorDeviceJSONBody defines parameters for EnrollVisitorDevice.
type EnrollVisitorDeviceJSONRequestBody ¶
type EnrollVisitorDeviceJSONRequestBody EnrollVisitorDeviceJSONBody
EnrollVisitorDeviceJSONRequestBody defines body for EnrollVisitorDevice for application/json ContentType.
type EnrollVisitorDeviceResponse ¶
type EnrollVisitorDeviceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *VisitorDevice
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseEnrollVisitorDeviceResponse ¶
func ParseEnrollVisitorDeviceResponse(rsp *http.Response) (*EnrollVisitorDeviceResponse, error)
ParseEnrollVisitorDeviceResponse parses an HTTP response from a EnrollVisitorDeviceWithResponse call
func (EnrollVisitorDeviceResponse) ContentType ¶
func (r EnrollVisitorDeviceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EnrollVisitorDeviceResponse) GetApplicationproblemJSONDefault ¶
func (r EnrollVisitorDeviceResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (EnrollVisitorDeviceResponse) GetBody ¶
func (r EnrollVisitorDeviceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EnrollVisitorDeviceResponse) GetJSON201 ¶
func (r EnrollVisitorDeviceResponse) GetJSON201() *VisitorDevice
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (EnrollVisitorDeviceResponse) Status ¶
func (r EnrollVisitorDeviceResponse) Status() string
Status returns HTTPResponse.Status
func (EnrollVisitorDeviceResponse) StatusCode ¶
func (r EnrollVisitorDeviceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FeedbackAfterCursor ¶
type FeedbackAfterCursor = int64
FeedbackAfterCursor defines model for FeedbackAfterCursor.
type FeedbackAnchor ¶
type FeedbackAnchor struct {
// SchemaVersion Review data format version; writers currently emit 1. Separate from revisions and service run numbers.
SchemaVersion ReviewSchemaVersion `json:"schema_version"`
Selection *struct {
End FeedbackTextBoundary `json:"end"`
Start FeedbackTextBoundary `json:"start"`
Text string `json:"text"`
} `json:"selection,omitempty"`
Selectors FeedbackSelectors `json:"selectors"`
X float32 `json:"x"`
Y float32 `json:"y"`
}
FeedbackAnchor defines model for FeedbackAnchor.
type FeedbackAuthor ¶
type FeedbackAuthor struct {
DisplayName string `json:"display_name"`
IdentityId *IdentityID `json:"identity_id,omitempty"`
Verified bool `json:"verified"`
}
FeedbackAuthor defines model for FeedbackAuthor.
type FeedbackAuthorization ¶
type FeedbackAuthorization struct {
Actor string `json:"actor"`
Author FeedbackAuthor `json:"author"`
// ContentExpiresAt Fixed content-retention deadline for a run-bound demo preview; absent for project feedback.
ContentExpiresAt *time.Time `json:"content_expires_at,omitempty"`
ExpiresAt time.Time `json:"expires_at"`
Operation FeedbackOperation `json:"operation"`
PreviewId PreviewID `json:"preview_id"`
RunNumber int64 `json:"run_number,string"`
ServiceId ServiceID `json:"service_id"`
ServiceRunId string `json:"service_run_id"`
}
FeedbackAuthorization defines model for FeedbackAuthorization.
type FeedbackBearerVisitProof ¶
type FeedbackBearerVisitProof struct {
Kind FeedbackBearerVisitProofKind `json:"kind"`
Token string `json:"token"`
}
FeedbackBearerVisitProof The signed bearer token actually selected by HTTP authorization, including accepted renewal. Certificate tokens are not bearer proof.
type FeedbackBearerVisitProofKind ¶
type FeedbackBearerVisitProofKind string
FeedbackBearerVisitProofKind defines model for FeedbackBearerVisitProof.Kind.
const (
FeedbackVisitBearer FeedbackBearerVisitProofKind = "bearer"
)
Defines values for FeedbackBearerVisitProofKind.
func (FeedbackBearerVisitProofKind) Valid ¶
func (e FeedbackBearerVisitProofKind) Valid() bool
Valid indicates whether the value is a known member of the FeedbackBearerVisitProofKind enum.
type FeedbackConnectorVisitProof ¶
type FeedbackConnectorVisitProof struct {
DeliveryGeneration int64 `json:"delivery_generation,string"`
Kind FeedbackConnectorVisitProofKind `json:"kind"`
PairId string `json:"pair_id"`
PermissionToken string `json:"permission_token"`
}
FeedbackConnectorVisitProof A snapshot from the actual connector stream admission after checking use. Control rechecks the pair, delivery binding, source, current service run, and signed permission. A claimed pair ID alone is not authority.
type FeedbackConnectorVisitProofKind ¶
type FeedbackConnectorVisitProofKind string
FeedbackConnectorVisitProofKind defines model for FeedbackConnectorVisitProof.Kind.
const (
FeedbackVisitConnector FeedbackConnectorVisitProofKind = "connector"
)
Defines values for FeedbackConnectorVisitProofKind.
func (FeedbackConnectorVisitProofKind) Valid ¶
func (e FeedbackConnectorVisitProofKind) Valid() bool
Valid indicates whether the value is a known member of the FeedbackConnectorVisitProofKind enum.
type FeedbackElement ¶
type FeedbackElement struct {
Html *string `json:"html,omitempty"`
Label *string `json:"label,omitempty"`
Role *string `json:"role,omitempty"`
TestId *string `json:"test_id,omitempty"`
}
FeedbackElement defines model for FeedbackElement.
type FeedbackEvent ¶
type FeedbackEvent struct {
Actor FeedbackEventActor `json:"actor"`
At time.Time `json:"at"`
Author *FeedbackAuthor `json:"author,omitempty"`
Cursor int64 `json:"cursor,string"`
Evidence *FeedbackEvidence `json:"evidence,omitempty"`
FeedbackId FeedbackID `json:"feedback_id"`
// SchemaVersion Review data format version; writers currently emit 1. Separate from revisions and service run numbers.
SchemaVersion ReviewSchemaVersion `json:"schema_version"`
// SourceState Git identifiers captured for one project directory. Compare HEAD, project_path, and changed_files only when both captures are complete. Branch names, staging, and ignored files do not affect matching. File contents and absolute paths are not stored; truncated or unsupported captures are incomplete.
SourceState *SourceState `json:"source_state,omitempty"`
Text *string `json:"text,omitempty"`
Type FeedbackEventType `json:"type"`
}
FeedbackEvent defines model for FeedbackEvent.
type FeedbackEventActor ¶
type FeedbackEventActor string
FeedbackEventActor defines model for FeedbackEvent.Actor.
const ( Implementer FeedbackEventActor = "implementer" Reviewer FeedbackEventActor = "reviewer" )
Defines values for FeedbackEventActor.
func (FeedbackEventActor) Valid ¶
func (e FeedbackEventActor) Valid() bool
Valid indicates whether the value is a known member of the FeedbackEventActor enum.
type FeedbackEventInputType ¶
type FeedbackEventInputType string
FeedbackEventInputType defines model for FeedbackEventInputType.
const ( FeedbackInputReopened FeedbackEventInputType = "thread.reopened" FeedbackInputReply FeedbackEventInputType = "reply" FeedbackInputResolved FeedbackEventInputType = "thread.resolved" FeedbackInputUpdate FeedbackEventInputType = "update" )
Defines values for FeedbackEventInputType.
func (FeedbackEventInputType) Valid ¶
func (e FeedbackEventInputType) Valid() bool
Valid indicates whether the value is a known member of the FeedbackEventInputType enum.
type FeedbackEventPage ¶
type FeedbackEventPage struct {
EventCursor int64 `json:"event_cursor,string"`
Events []FeedbackEvent `json:"events"`
NextCursor *int64 `json:"next_cursor,omitempty,string"`
// SchemaVersion Review data format version; writers currently emit 1. Separate from revisions and service run numbers.
SchemaVersion ReviewSchemaVersion `json:"schema_version"`
}
FeedbackEventPage defines model for FeedbackEventPage.
type FeedbackEventType ¶
type FeedbackEventType string
FeedbackEventType defines model for FeedbackEventType.
const ( FeedbackEventTypeReply FeedbackEventType = "reply" FeedbackEventTypeThreadCreated FeedbackEventType = "thread.created" FeedbackEventTypeThreadReopened FeedbackEventType = "thread.reopened" FeedbackEventTypeThreadResolved FeedbackEventType = "thread.resolved" FeedbackEventTypeUpdate FeedbackEventType = "update" )
Defines values for FeedbackEventType.
func (FeedbackEventType) Valid ¶
func (e FeedbackEventType) Valid() bool
Valid indicates whether the value is a known member of the FeedbackEventType enum.
type FeedbackEvidence ¶
type FeedbackEvidence struct {
Actions []struct {
Label *string `json:"label,omitempty"`
Path *string `json:"path,omitempty"`
TestId *string `json:"test_id,omitempty"`
Type FeedbackEvidenceActionsType `json:"type"`
} `json:"actions"`
Element *FeedbackElement `json:"element,omitempty"`
FailedRequests []struct {
DurationMs int `json:"duration_ms"`
Method string `json:"method"`
Path string `json:"path"`
Status int `json:"status"`
} `json:"failed_requests"`
// SchemaVersion Review data format version; writers currently emit 1. Separate from revisions and service run numbers.
SchemaVersion ReviewSchemaVersion `json:"schema_version"`
}
FeedbackEvidence defines model for FeedbackEvidence.
type FeedbackEvidenceActionsType ¶
type FeedbackEvidenceActionsType string
FeedbackEvidenceActionsType defines model for FeedbackEvidence.Actions.Type.
const ( Click FeedbackEvidenceActionsType = "click" Submit FeedbackEvidenceActionsType = "submit" )
Defines values for FeedbackEvidenceActionsType.
func (FeedbackEvidenceActionsType) Valid ¶
func (e FeedbackEvidenceActionsType) Valid() bool
Valid indicates whether the value is a known member of the FeedbackEvidenceActionsType enum.
type FeedbackOperation ¶
type FeedbackOperation string
FeedbackOperation defines model for FeedbackOperation.
const ( FeedbackOperationDelete FeedbackOperation = "delete" FeedbackOperationRead FeedbackOperation = "read" FeedbackOperationReply FeedbackOperation = "reply" FeedbackOperationReport FeedbackOperation = "report" FeedbackOperationThreadReopened FeedbackOperation = "thread.reopened" FeedbackOperationThreadResolved FeedbackOperation = "thread.resolved" FeedbackOperationUpdate FeedbackOperation = "update" )
Defines values for FeedbackOperation.
func (FeedbackOperation) Valid ¶
func (e FeedbackOperation) Valid() bool
Valid indicates whether the value is a known member of the FeedbackOperation enum.
type FeedbackReport ¶
type FeedbackReport struct {
Author *FeedbackAuthor `json:"author,omitempty"`
CreatedAt time.Time `json:"created_at"`
Text string `json:"text"`
}
FeedbackReport defines model for FeedbackReport.
type FeedbackReviewerAccess ¶
type FeedbackReviewerAccess struct {
BrowserCookieSecret *string `json:"browser_cookie_secret,omitempty"`
CookieSecret *string `json:"cookie_secret,omitempty"`
SourceIp *string `json:"source_ip,omitempty"`
VisitAllowed bool `json:"visit_allowed"`
// VisitProof Publisher-selected visitor proof, never browser input. An explicit invalid proof is denied without falling back to cookie or anonymous access. Browser sign-in remains independent author evidence.
VisitProof FeedbackVisitProof `json:"visit_proof,omitempty"`
}
FeedbackReviewerAccess Browser identity and visitor access are independent. Feedback writes require a current browser_cookie_secret for verified authorship, including guest previews. Control also rechecks current preview permission and team feedback restrictions; visit_allowed is an observation, not authority. Share, bearer, and connector proofs supply visit permission only.
type FeedbackScope ¶
type FeedbackScope struct {
PagePath string `json:"page_path"`
PageTitle *string `json:"page_title,omitempty"`
PreviewId PreviewID `json:"preview_id"`
RunNumber int64 `json:"run_number,string"`
Service string `json:"service"`
ServiceId ServiceID `json:"service_id"`
ServiceRunId ServiceRunID `json:"service_run_id"`
}
FeedbackScope defines model for FeedbackScope.
type FeedbackSelectors ¶
type FeedbackSelectors = []string
FeedbackSelectors defines model for FeedbackSelectors.
type FeedbackTextBoundary ¶
type FeedbackTextBoundary struct {
Offset int `json:"offset"`
Selectors FeedbackSelectors `json:"selectors"`
TextNode int `json:"text_node"`
}
FeedbackTextBoundary defines model for FeedbackTextBoundary.
type FeedbackThread ¶
type FeedbackThread struct {
Anchor *FeedbackAnchor `json:"anchor,omitempty"`
Evidence FeedbackEvidence `json:"evidence"`
Id FeedbackID `json:"id"`
LatestEventCursor int64 `json:"latest_event_cursor,string"`
MessageCount int64 `json:"message_count,string"`
Report FeedbackReport `json:"report"`
// SchemaVersion Review data format version; writers currently emit 1. Separate from revisions and service run numbers.
SchemaVersion ReviewSchemaVersion `json:"schema_version"`
Scope FeedbackScope `json:"scope"`
// SourceAtReport Git identifiers captured for one project directory. Compare HEAD, project_path, and changed_files only when both captures are complete. Branch names, staging, and ignored files do not affect matching. File contents and absolute paths are not stored; truncated or unsupported captures are incomplete.
SourceAtReport SourceState `json:"source_at_report"`
State FeedbackThreadState `json:"state"`
}
FeedbackThread defines model for FeedbackThread.
type FeedbackThreadPage ¶
type FeedbackThreadPage struct {
EventCursor int64 `json:"event_cursor,string"`
NextCursor *FeedbackID `json:"next_cursor,omitempty"`
// SchemaVersion Review data format version; writers currently emit 1. Separate from revisions and service run numbers.
SchemaVersion ReviewSchemaVersion `json:"schema_version"`
Threads []FeedbackThreadSummary `json:"threads"`
}
FeedbackThreadPage defines model for FeedbackThreadPage.
type FeedbackThreadState ¶
type FeedbackThreadState string
FeedbackThreadState defines model for FeedbackThreadState.
const ( Open FeedbackThreadState = "open" Resolved FeedbackThreadState = "resolved" )
Defines values for FeedbackThreadState.
func (FeedbackThreadState) Valid ¶
func (e FeedbackThreadState) Valid() bool
Valid indicates whether the value is a known member of the FeedbackThreadState enum.
type FeedbackThreadSummary ¶
type FeedbackThreadSummary struct {
Anchor *FeedbackAnchor `json:"anchor,omitempty"`
Id FeedbackID `json:"id"`
LatestEventCursor int64 `json:"latest_event_cursor,string"`
MessageCount int64 `json:"message_count,string"`
Report FeedbackReport `json:"report"`
// SchemaVersion Review data format version; writers currently emit 1. Separate from revisions and service run numbers.
SchemaVersion ReviewSchemaVersion `json:"schema_version"`
Scope FeedbackScope `json:"scope"`
State FeedbackThreadState `json:"state"`
}
FeedbackThreadSummary defines model for FeedbackThreadSummary.
type FeedbackVisitProof ¶
type FeedbackVisitProof = json.RawMessage
FeedbackVisitProof Publisher-selected visitor proof, never browser input. An explicit invalid proof is denied without falling back to cookie or anonymous access. Browser sign-in remains independent author evidence.
type GetAdminServerStatusResponse ¶
type GetAdminServerStatusResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AdminServerStatus
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseGetAdminServerStatusResponse ¶
func ParseGetAdminServerStatusResponse(rsp *http.Response) (*GetAdminServerStatusResponse, error)
ParseGetAdminServerStatusResponse parses an HTTP response from a GetAdminServerStatusWithResponse call
func (GetAdminServerStatusResponse) ContentType ¶
func (r GetAdminServerStatusResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAdminServerStatusResponse) GetApplicationproblemJSONDefault ¶
func (r GetAdminServerStatusResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetAdminServerStatusResponse) GetBody ¶
func (r GetAdminServerStatusResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAdminServerStatusResponse) GetJSON200 ¶
func (r GetAdminServerStatusResponse) GetJSON200() *AdminServerStatus
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAdminServerStatusResponse) Status ¶
func (r GetAdminServerStatusResponse) Status() string
Status returns HTTPResponse.Status
func (GetAdminServerStatusResponse) StatusCode ¶
func (r GetAdminServerStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetClientIPResponse ¶
type GetClientIPResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ClientIPResponse
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseGetClientIPResponse ¶
func ParseGetClientIPResponse(rsp *http.Response) (*GetClientIPResponse, error)
ParseGetClientIPResponse parses an HTTP response from a GetClientIPWithResponse call
func (GetClientIPResponse) ContentType ¶
func (r GetClientIPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetClientIPResponse) GetApplicationproblemJSONDefault ¶
func (r GetClientIPResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetClientIPResponse) GetBody ¶
func (r GetClientIPResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetClientIPResponse) GetJSON200 ¶
func (r GetClientIPResponse) GetJSON200() *ClientIPResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetClientIPResponse) Status ¶
func (r GetClientIPResponse) Status() string
Status returns HTTPResponse.Status
func (GetClientIPResponse) StatusCode ¶
func (r GetClientIPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetControlDiscoveryResponse ¶
type GetControlDiscoveryResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ControlDiscovery
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseGetControlDiscoveryResponse ¶
func ParseGetControlDiscoveryResponse(rsp *http.Response) (*GetControlDiscoveryResponse, error)
ParseGetControlDiscoveryResponse parses an HTTP response from a GetControlDiscoveryWithResponse call
func (GetControlDiscoveryResponse) ContentType ¶
func (r GetControlDiscoveryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetControlDiscoveryResponse) GetApplicationproblemJSONDefault ¶
func (r GetControlDiscoveryResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetControlDiscoveryResponse) GetBody ¶
func (r GetControlDiscoveryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetControlDiscoveryResponse) GetJSON200 ¶
func (r GetControlDiscoveryResponse) GetJSON200() *ControlDiscovery
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetControlDiscoveryResponse) Status ¶
func (r GetControlDiscoveryResponse) Status() string
Status returns HTTPResponse.Status
func (GetControlDiscoveryResponse) StatusCode ¶
func (r GetControlDiscoveryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDeploymentParams ¶
type GetDeploymentParams struct {
TeamId TeamIDQuery `form:"team_id" json:"team_id"`
}
GetDeploymentParams defines parameters for GetDeployment.
type GetDeploymentPublicationParams ¶
type GetDeploymentPublicationParams struct {
TeamId TeamIDQuery `form:"team_id" json:"team_id"`
}
GetDeploymentPublicationParams defines parameters for GetDeploymentPublication.
type GetDeploymentPublicationResponse ¶
type GetDeploymentPublicationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Service
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseGetDeploymentPublicationResponse ¶
func ParseGetDeploymentPublicationResponse(rsp *http.Response) (*GetDeploymentPublicationResponse, error)
ParseGetDeploymentPublicationResponse parses an HTTP response from a GetDeploymentPublicationWithResponse call
func (GetDeploymentPublicationResponse) ContentType ¶
func (r GetDeploymentPublicationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDeploymentPublicationResponse) GetApplicationproblemJSONDefault ¶
func (r GetDeploymentPublicationResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetDeploymentPublicationResponse) GetBody ¶
func (r GetDeploymentPublicationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDeploymentPublicationResponse) GetJSON200 ¶
func (r GetDeploymentPublicationResponse) GetJSON200() *Service
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetDeploymentPublicationResponse) Status ¶
func (r GetDeploymentPublicationResponse) Status() string
Status returns HTTPResponse.Status
func (GetDeploymentPublicationResponse) StatusCode ¶
func (r GetDeploymentPublicationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDeploymentPublisherAssignmentsParams ¶
type GetDeploymentPublisherAssignmentsParams struct {
AppOwned *bool `form:"app_owned,omitempty" json:"app_owned,omitempty"`
}
GetDeploymentPublisherAssignmentsParams defines parameters for GetDeploymentPublisherAssignments.
type GetDeploymentPublisherAssignmentsResponse ¶
type GetDeploymentPublisherAssignmentsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DeploymentPublisherAssignments
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseGetDeploymentPublisherAssignmentsResponse ¶
func ParseGetDeploymentPublisherAssignmentsResponse(rsp *http.Response) (*GetDeploymentPublisherAssignmentsResponse, error)
ParseGetDeploymentPublisherAssignmentsResponse parses an HTTP response from a GetDeploymentPublisherAssignmentsWithResponse call
func (GetDeploymentPublisherAssignmentsResponse) ContentType ¶
func (r GetDeploymentPublisherAssignmentsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDeploymentPublisherAssignmentsResponse) GetApplicationproblemJSONDefault ¶
func (r GetDeploymentPublisherAssignmentsResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetDeploymentPublisherAssignmentsResponse) GetBody ¶
func (r GetDeploymentPublisherAssignmentsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDeploymentPublisherAssignmentsResponse) GetJSON200 ¶
func (r GetDeploymentPublisherAssignmentsResponse) GetJSON200() *DeploymentPublisherAssignments
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetDeploymentPublisherAssignmentsResponse) Status ¶
func (r GetDeploymentPublisherAssignmentsResponse) Status() string
Status returns HTTPResponse.Status
func (GetDeploymentPublisherAssignmentsResponse) StatusCode ¶
func (r GetDeploymentPublisherAssignmentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDeploymentPublisherParams ¶
type GetDeploymentPublisherParams struct {
TeamId TeamIDQuery `form:"team_id" json:"team_id"`
}
GetDeploymentPublisherParams defines parameters for GetDeploymentPublisher.
type GetDeploymentPublisherResponse ¶
type GetDeploymentPublisherResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DeploymentPublisher
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseGetDeploymentPublisherResponse ¶
func ParseGetDeploymentPublisherResponse(rsp *http.Response) (*GetDeploymentPublisherResponse, error)
ParseGetDeploymentPublisherResponse parses an HTTP response from a GetDeploymentPublisherWithResponse call
func (GetDeploymentPublisherResponse) ContentType ¶
func (r GetDeploymentPublisherResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDeploymentPublisherResponse) GetApplicationproblemJSONDefault ¶
func (r GetDeploymentPublisherResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetDeploymentPublisherResponse) GetBody ¶
func (r GetDeploymentPublisherResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDeploymentPublisherResponse) GetJSON200 ¶
func (r GetDeploymentPublisherResponse) GetJSON200() *DeploymentPublisher
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetDeploymentPublisherResponse) Status ¶
func (r GetDeploymentPublisherResponse) Status() string
Status returns HTTPResponse.Status
func (GetDeploymentPublisherResponse) StatusCode ¶
func (r GetDeploymentPublisherResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDeploymentResponse ¶
type GetDeploymentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Deployment
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *GetDeploymentResponse200Headers
}
func ParseGetDeploymentResponse ¶
func ParseGetDeploymentResponse(rsp *http.Response) (*GetDeploymentResponse, error)
ParseGetDeploymentResponse parses an HTTP response from a GetDeploymentWithResponse call
func (GetDeploymentResponse) ContentType ¶
func (r GetDeploymentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDeploymentResponse) GetApplicationproblemJSONDefault ¶
func (r GetDeploymentResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetDeploymentResponse) GetBody ¶
func (r GetDeploymentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDeploymentResponse) GetJSON200 ¶
func (r GetDeploymentResponse) GetJSON200() *Deployment
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetDeploymentResponse) Status ¶
func (r GetDeploymentResponse) Status() string
Status returns HTTPResponse.Status
func (GetDeploymentResponse) StatusCode ¶
func (r GetDeploymentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDeploymentResponse200Headers ¶
type GetDeploymentResponse200Headers struct {
ETag *string
}
GetDeploymentResponse200Headers the declared response headers of an HTTP 200 response for GetDeployment
type GetHealthResponse ¶
type GetHealthResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *HealthResponse
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseGetHealthResponse ¶
func ParseGetHealthResponse(rsp *http.Response) (*GetHealthResponse, error)
ParseGetHealthResponse parses an HTTP response from a GetHealthWithResponse call
func (GetHealthResponse) ContentType ¶
func (r GetHealthResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetHealthResponse) GetApplicationproblemJSONDefault ¶
func (r GetHealthResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetHealthResponse) GetBody ¶
func (r GetHealthResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetHealthResponse) GetJSON200 ¶
func (r GetHealthResponse) GetJSON200() *HealthResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetHealthResponse) Status ¶
func (r GetHealthResponse) Status() string
Status returns HTTPResponse.Status
func (GetHealthResponse) StatusCode ¶
func (r GetHealthResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLocalProjectServiceParams ¶
type GetLocalProjectServiceParams struct {
TeamId TeamIDQuery `form:"team_id" json:"team_id"`
SourceFingerprint string `form:"source_fingerprint" json:"source_fingerprint"`
WorktreeKey string `form:"worktree_key" json:"worktree_key"`
}
GetLocalProjectServiceParams defines parameters for GetLocalProjectService.
type GetLocalProjectServiceResponse ¶
type GetLocalProjectServiceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LocalProjectService
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseGetLocalProjectServiceResponse ¶
func ParseGetLocalProjectServiceResponse(rsp *http.Response) (*GetLocalProjectServiceResponse, error)
ParseGetLocalProjectServiceResponse parses an HTTP response from a GetLocalProjectServiceWithResponse call
func (GetLocalProjectServiceResponse) ContentType ¶
func (r GetLocalProjectServiceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetLocalProjectServiceResponse) GetApplicationproblemJSONDefault ¶
func (r GetLocalProjectServiceResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetLocalProjectServiceResponse) GetBody ¶
func (r GetLocalProjectServiceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetLocalProjectServiceResponse) GetJSON200 ¶
func (r GetLocalProjectServiceResponse) GetJSON200() *LocalProjectService
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetLocalProjectServiceResponse) Status ¶
func (r GetLocalProjectServiceResponse) Status() string
Status returns HTTPResponse.Status
func (GetLocalProjectServiceResponse) StatusCode ¶
func (r GetLocalProjectServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPreviewResponse ¶
type GetPreviewResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Preview
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseGetPreviewResponse ¶
func ParseGetPreviewResponse(rsp *http.Response) (*GetPreviewResponse, error)
ParseGetPreviewResponse parses an HTTP response from a GetPreviewWithResponse call
func (GetPreviewResponse) ContentType ¶
func (r GetPreviewResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPreviewResponse) GetApplicationproblemJSONDefault ¶
func (r GetPreviewResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetPreviewResponse) GetBody ¶
func (r GetPreviewResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetPreviewResponse) GetJSON200 ¶
func (r GetPreviewResponse) GetJSON200() *Preview
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetPreviewResponse) Status ¶
func (r GetPreviewResponse) Status() string
Status returns HTTPResponse.Status
func (GetPreviewResponse) StatusCode ¶
func (r GetPreviewResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProjectConfigurationParams ¶
type GetProjectConfigurationParams struct {
TeamId TeamIDQuery `form:"team_id" json:"team_id"`
Deployment string `form:"deployment" json:"deployment"`
}
GetProjectConfigurationParams defines parameters for GetProjectConfiguration.
type GetProjectConfigurationResponse ¶
type GetProjectConfigurationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AppliedProjectConfiguration
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseGetProjectConfigurationResponse ¶
func ParseGetProjectConfigurationResponse(rsp *http.Response) (*GetProjectConfigurationResponse, error)
ParseGetProjectConfigurationResponse parses an HTTP response from a GetProjectConfigurationWithResponse call
func (GetProjectConfigurationResponse) ContentType ¶
func (r GetProjectConfigurationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetProjectConfigurationResponse) GetApplicationproblemJSONDefault ¶
func (r GetProjectConfigurationResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetProjectConfigurationResponse) GetBody ¶
func (r GetProjectConfigurationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetProjectConfigurationResponse) GetJSON200 ¶
func (r GetProjectConfigurationResponse) GetJSON200() *AppliedProjectConfiguration
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetProjectConfigurationResponse) Status ¶
func (r GetProjectConfigurationResponse) Status() string
Status returns HTTPResponse.Status
func (GetProjectConfigurationResponse) StatusCode ¶
func (r GetProjectConfigurationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProjectPublicMetadataParams ¶
type GetProjectPublicMetadataParams struct {
TeamId TeamIDQuery `form:"team_id" json:"team_id"`
}
GetProjectPublicMetadataParams defines parameters for GetProjectPublicMetadata.
type GetProjectPublicMetadataResponse ¶
type GetProjectPublicMetadataResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ProjectPublicMetadata
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseGetProjectPublicMetadataResponse ¶
func ParseGetProjectPublicMetadataResponse(rsp *http.Response) (*GetProjectPublicMetadataResponse, error)
ParseGetProjectPublicMetadataResponse parses an HTTP response from a GetProjectPublicMetadataWithResponse call
func (GetProjectPublicMetadataResponse) ContentType ¶
func (r GetProjectPublicMetadataResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetProjectPublicMetadataResponse) GetApplicationproblemJSONDefault ¶
func (r GetProjectPublicMetadataResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetProjectPublicMetadataResponse) GetBody ¶
func (r GetProjectPublicMetadataResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetProjectPublicMetadataResponse) GetJSON200 ¶
func (r GetProjectPublicMetadataResponse) GetJSON200() *ProjectPublicMetadata
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetProjectPublicMetadataResponse) Status ¶
func (r GetProjectPublicMetadataResponse) Status() string
Status returns HTTPResponse.Status
func (GetProjectPublicMetadataResponse) StatusCode ¶
func (r GetProjectPublicMetadataResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProjectServiceParams ¶
type GetProjectServiceParams struct {
Deployment string `form:"deployment" json:"deployment"`
TeamId TeamID `form:"team_id" json:"team_id"`
SourceFingerprint string `form:"source_fingerprint" json:"source_fingerprint"`
}
GetProjectServiceParams defines parameters for GetProjectService.
type GetProjectServiceResponse ¶
type GetProjectServiceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Service
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseGetProjectServiceResponse ¶
func ParseGetProjectServiceResponse(rsp *http.Response) (*GetProjectServiceResponse, error)
ParseGetProjectServiceResponse parses an HTTP response from a GetProjectServiceWithResponse call
func (GetProjectServiceResponse) ContentType ¶
func (r GetProjectServiceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetProjectServiceResponse) GetApplicationproblemJSONDefault ¶
func (r GetProjectServiceResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetProjectServiceResponse) GetBody ¶
func (r GetProjectServiceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetProjectServiceResponse) GetJSON200 ¶
func (r GetProjectServiceResponse) GetJSON200() *Service
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetProjectServiceResponse) Status ¶
func (r GetProjectServiceResponse) Status() string
Status returns HTTPResponse.Status
func (GetProjectServiceResponse) StatusCode ¶
func (r GetProjectServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProjectStatusParams ¶
type GetProjectStatusParams struct {
TeamId TeamIDQuery `form:"team_id" json:"team_id"`
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}
GetProjectStatusParams defines parameters for GetProjectStatus.
type GetProjectStatusResponse ¶
type GetProjectStatusResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ProjectStatus
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseGetProjectStatusResponse ¶
func ParseGetProjectStatusResponse(rsp *http.Response) (*GetProjectStatusResponse, error)
ParseGetProjectStatusResponse parses an HTTP response from a GetProjectStatusWithResponse call
func (GetProjectStatusResponse) ContentType ¶
func (r GetProjectStatusResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetProjectStatusResponse) GetApplicationproblemJSONDefault ¶
func (r GetProjectStatusResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetProjectStatusResponse) GetBody ¶
func (r GetProjectStatusResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetProjectStatusResponse) GetJSON200 ¶
func (r GetProjectStatusResponse) GetJSON200() *ProjectStatus
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetProjectStatusResponse) Status ¶
func (r GetProjectStatusResponse) Status() string
Status returns HTTPResponse.Status
func (GetProjectStatusResponse) StatusCode ¶
func (r GetProjectStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPublisherServiceResponse ¶
type GetPublisherServiceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Service
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseGetPublisherServiceResponse ¶
func ParseGetPublisherServiceResponse(rsp *http.Response) (*GetPublisherServiceResponse, error)
ParseGetPublisherServiceResponse parses an HTTP response from a GetPublisherServiceWithResponse call
func (GetPublisherServiceResponse) ContentType ¶
func (r GetPublisherServiceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPublisherServiceResponse) GetApplicationproblemJSONDefault ¶
func (r GetPublisherServiceResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetPublisherServiceResponse) GetBody ¶
func (r GetPublisherServiceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetPublisherServiceResponse) GetJSON200 ¶
func (r GetPublisherServiceResponse) GetJSON200() *Service
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetPublisherServiceResponse) Status ¶
func (r GetPublisherServiceResponse) Status() string
Status returns HTTPResponse.Status
func (GetPublisherServiceResponse) StatusCode ¶
func (r GetPublisherServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetReadinessResponse ¶
type GetReadinessResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ReadinessResponse
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ReadinessResponse
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseGetReadinessResponse ¶
func ParseGetReadinessResponse(rsp *http.Response) (*GetReadinessResponse, error)
ParseGetReadinessResponse parses an HTTP response from a GetReadinessWithResponse call
func (GetReadinessResponse) ContentType ¶
func (r GetReadinessResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetReadinessResponse) GetApplicationproblemJSONDefault ¶
func (r GetReadinessResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetReadinessResponse) GetBody ¶
func (r GetReadinessResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetReadinessResponse) GetJSON200 ¶
func (r GetReadinessResponse) GetJSON200() *ReadinessResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetReadinessResponse) GetJSON503 ¶
func (r GetReadinessResponse) GetJSON503() *ReadinessResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetReadinessResponse) Status ¶
func (r GetReadinessResponse) Status() string
Status returns HTTPResponse.Status
func (GetReadinessResponse) StatusCode ¶
func (r GetReadinessResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetServiceByHostnameParams ¶
type GetServiceByHostnameParams struct {
TeamId TeamIDQuery `form:"team_id" json:"team_id"`
}
GetServiceByHostnameParams defines parameters for GetServiceByHostname.
type GetServiceByHostnameResponse ¶
type GetServiceByHostnameResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Service
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseGetServiceByHostnameResponse ¶
func ParseGetServiceByHostnameResponse(rsp *http.Response) (*GetServiceByHostnameResponse, error)
ParseGetServiceByHostnameResponse parses an HTTP response from a GetServiceByHostnameWithResponse call
func (GetServiceByHostnameResponse) ContentType ¶
func (r GetServiceByHostnameResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetServiceByHostnameResponse) GetApplicationproblemJSONDefault ¶
func (r GetServiceByHostnameResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetServiceByHostnameResponse) GetBody ¶
func (r GetServiceByHostnameResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetServiceByHostnameResponse) GetJSON200 ¶
func (r GetServiceByHostnameResponse) GetJSON200() *Service
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetServiceByHostnameResponse) Status ¶
func (r GetServiceByHostnameResponse) Status() string
Status returns HTTPResponse.Status
func (GetServiceByHostnameResponse) StatusCode ¶
func (r GetServiceByHostnameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetServiceCertificateIssuanceResponse ¶
type GetServiceCertificateIssuanceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ServiceCertificateIssuance
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseGetServiceCertificateIssuanceResponse ¶
func ParseGetServiceCertificateIssuanceResponse(rsp *http.Response) (*GetServiceCertificateIssuanceResponse, error)
ParseGetServiceCertificateIssuanceResponse parses an HTTP response from a GetServiceCertificateIssuanceWithResponse call
func (GetServiceCertificateIssuanceResponse) ContentType ¶
func (r GetServiceCertificateIssuanceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetServiceCertificateIssuanceResponse) GetApplicationproblemJSONDefault ¶
func (r GetServiceCertificateIssuanceResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetServiceCertificateIssuanceResponse) GetBody ¶
func (r GetServiceCertificateIssuanceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetServiceCertificateIssuanceResponse) GetJSON200 ¶
func (r GetServiceCertificateIssuanceResponse) GetJSON200() *ServiceCertificateIssuance
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetServiceCertificateIssuanceResponse) Status ¶
func (r GetServiceCertificateIssuanceResponse) Status() string
Status returns HTTPResponse.Status
func (GetServiceCertificateIssuanceResponse) StatusCode ¶
func (r GetServiceCertificateIssuanceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetServiceConfigurationResponse ¶
type GetServiceConfigurationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ProjectServiceConfiguration
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *GetServiceConfigurationResponse200Headers
// Headers204 the parsed response headers for an HTTP 204 response
Headers204 *GetServiceConfigurationResponse204Headers
}
func ParseGetServiceConfigurationResponse ¶
func ParseGetServiceConfigurationResponse(rsp *http.Response) (*GetServiceConfigurationResponse, error)
ParseGetServiceConfigurationResponse parses an HTTP response from a GetServiceConfigurationWithResponse call
func (GetServiceConfigurationResponse) ContentType ¶
func (r GetServiceConfigurationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetServiceConfigurationResponse) GetApplicationproblemJSONDefault ¶
func (r GetServiceConfigurationResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetServiceConfigurationResponse) GetBody ¶
func (r GetServiceConfigurationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetServiceConfigurationResponse) GetJSON200 ¶
func (r GetServiceConfigurationResponse) GetJSON200() *ProjectServiceConfiguration
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetServiceConfigurationResponse) Status ¶
func (r GetServiceConfigurationResponse) Status() string
Status returns HTTPResponse.Status
func (GetServiceConfigurationResponse) StatusCode ¶
func (r GetServiceConfigurationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetServiceConfigurationResponse200Headers ¶
GetServiceConfigurationResponse200Headers the declared response headers of an HTTP 200 response for GetServiceConfiguration
type GetServiceConfigurationResponse204Headers ¶
GetServiceConfigurationResponse204Headers the declared response headers of an HTTP 204 response for GetServiceConfiguration
type GetServiceResponse ¶
type GetServiceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Service
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseGetServiceResponse ¶
func ParseGetServiceResponse(rsp *http.Response) (*GetServiceResponse, error)
ParseGetServiceResponse parses an HTTP response from a GetServiceWithResponse call
func (GetServiceResponse) ContentType ¶
func (r GetServiceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetServiceResponse) GetApplicationproblemJSONDefault ¶
func (r GetServiceResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetServiceResponse) GetBody ¶
func (r GetServiceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetServiceResponse) GetJSON200 ¶
func (r GetServiceResponse) GetJSON200() *Service
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetServiceResponse) Status ¶
func (r GetServiceResponse) Status() string
Status returns HTTPResponse.Status
func (GetServiceResponse) StatusCode ¶
func (r GetServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetShareResponse ¶
func ParseGetShareResponse ¶
func ParseGetShareResponse(rsp *http.Response) (*GetShareResponse, error)
ParseGetShareResponse parses an HTTP response from a GetShareWithResponse call
func (GetShareResponse) ContentType ¶
func (r GetShareResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetShareResponse) GetApplicationproblemJSONDefault ¶
func (r GetShareResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetShareResponse) GetBody ¶
func (r GetShareResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetShareResponse) GetJSON200 ¶
func (r GetShareResponse) GetJSON200() *Share
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetShareResponse) Status ¶
func (r GetShareResponse) Status() string
Status returns HTTPResponse.Status
func (GetShareResponse) StatusCode ¶
func (r GetShareResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWebhookProviderSourceResponse ¶
type GetWebhookProviderSourceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WebhookProviderSourceResponse
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *GetWebhookProviderSourceResponse200Headers
// Headers304 the parsed response headers for an HTTP 304 response
Headers304 *GetWebhookProviderSourceResponse304Headers
}
func ParseGetWebhookProviderSourceResponse ¶
func ParseGetWebhookProviderSourceResponse(rsp *http.Response) (*GetWebhookProviderSourceResponse, error)
ParseGetWebhookProviderSourceResponse parses an HTTP response from a GetWebhookProviderSourceWithResponse call
func (GetWebhookProviderSourceResponse) ContentType ¶
func (r GetWebhookProviderSourceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWebhookProviderSourceResponse) GetApplicationproblemJSONDefault ¶
func (r GetWebhookProviderSourceResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetWebhookProviderSourceResponse) GetBody ¶
func (r GetWebhookProviderSourceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWebhookProviderSourceResponse) GetJSON200 ¶
func (r GetWebhookProviderSourceResponse) GetJSON200() *WebhookProviderSourceResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetWebhookProviderSourceResponse) Status ¶
func (r GetWebhookProviderSourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetWebhookProviderSourceResponse) StatusCode ¶
func (r GetWebhookProviderSourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWebhookProviderSourceResponse200Headers ¶
type GetWebhookProviderSourceResponse200Headers struct {
CacheControl *string
ETag *string
TNLWebhookPolicyCheckedAt time.Time
TNLWebhookPolicyFreshUntil time.Time
TNLWebhookPolicyObservedAt time.Time
TNLWebhookPolicyValidUntil time.Time
}
GetWebhookProviderSourceResponse200Headers the declared response headers of an HTTP 200 response for GetWebhookProviderSource
type GetWebhookProviderSourceResponse304Headers ¶
type GetWebhookProviderSourceResponse304Headers struct {
CacheControl *string
ETag *string
TNLWebhookPolicyCheckedAt time.Time
TNLWebhookPolicyFreshUntil time.Time
TNLWebhookPolicyObservedAt time.Time
TNLWebhookPolicyValidUntil time.Time
}
GetWebhookProviderSourceResponse304Headers the declared response headers of an HTTP 304 response for GetWebhookProviderSource
type GitProjectSource ¶
type GitProjectSource struct {
// ConfigurationPath Repository-relative configuration filename using forward slashes. Absolute paths and parent traversal are rejected.
ConfigurationPath string `json:"configuration_path"`
// GitOrigin Network Git remote URL. Do not include private credentials; transport and login details do not affect project identity.
GitOrigin string `json:"git_origin"`
}
GitProjectSource Repository origin and configuration path used to identify a project. These facts are a locator, not proof of repository ownership.
type GuestDemoSession ¶
type GuestDemoSession struct {
AccessToken string `json:"access_token"`
ExpiresAt time.Time `json:"expires_at"`
GuestId GuestID `json:"guest_id"`
}
GuestDemoSession Source-bound trial management credential, not a control session or publisher grant. Allocation returns the actual service and its address. The trial's absolute expiry never renews.
type HashedIPPrefix ¶
type HashedIPPrefix struct {
Digest string `json:"digest"`
Family HashedIPPrefixFamily `json:"family"`
PrefixLength int `json:"prefix_length"`
}
HashedIPPrefix defines model for HashedIPPrefix.
type HashedIPPrefixFamily ¶
type HashedIPPrefixFamily string
HashedIPPrefixFamily defines model for HashedIPPrefix.Family.
const ( HashedIPPrefixFamilyIpv4 HashedIPPrefixFamily = "ipv4" HashedIPPrefixFamilyIpv6 HashedIPPrefixFamily = "ipv6" )
Defines values for HashedIPPrefixFamily.
func (HashedIPPrefixFamily) Valid ¶
func (e HashedIPPrefixFamily) Valid() bool
Valid indicates whether the value is a known member of the HashedIPPrefixFamily enum.
type HealthResponse ¶
type HealthResponse struct {
Status HealthResponseStatus `json:"status"`
}
HealthResponse defines model for HealthResponse.
type HealthResponseStatus ¶
type HealthResponseStatus string
HealthResponseStatus defines model for HealthResponse.Status.
const (
HealthResponseStatusOk HealthResponseStatus = "ok"
)
Defines values for HealthResponseStatus.
func (HealthResponseStatus) Valid ¶
func (e HealthResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the HealthResponseStatus enum.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type InspectPublisherRuntimeJSONRequestBody ¶
type InspectPublisherRuntimeJSONRequestBody = PublisherRuntimeRequest
InspectPublisherRuntimeJSONRequestBody defines body for InspectPublisherRuntime for application/json ContentType.
type InspectPublisherRuntimeResponse ¶
type InspectPublisherRuntimeResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublisherRuntimeResponse
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseInspectPublisherRuntimeResponse ¶
func ParseInspectPublisherRuntimeResponse(rsp *http.Response) (*InspectPublisherRuntimeResponse, error)
ParseInspectPublisherRuntimeResponse parses an HTTP response from a InspectPublisherRuntimeWithResponse call
func (InspectPublisherRuntimeResponse) ContentType ¶
func (r InspectPublisherRuntimeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (InspectPublisherRuntimeResponse) GetApplicationproblemJSONDefault ¶
func (r InspectPublisherRuntimeResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (InspectPublisherRuntimeResponse) GetBody ¶
func (r InspectPublisherRuntimeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (InspectPublisherRuntimeResponse) GetJSON200 ¶
func (r InspectPublisherRuntimeResponse) GetJSON200() *PublisherRuntimeResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (InspectPublisherRuntimeResponse) Status ¶
func (r InspectPublisherRuntimeResponse) Status() string
Status returns HTTPResponse.Status
func (InspectPublisherRuntimeResponse) StatusCode ¶
func (r InspectPublisherRuntimeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InvalidParamFormatError ¶
func (*InvalidParamFormatError) Error ¶
func (e *InvalidParamFormatError) Error() string
func (*InvalidParamFormatError) Unwrap ¶
func (e *InvalidParamFormatError) Unwrap() error
type InviteServiceVisitorJSONRequestBody ¶
type InviteServiceVisitorJSONRequestBody = CreateServiceInvitationRequest
InviteServiceVisitorJSONRequestBody defines body for InviteServiceVisitor for application/json ContentType.
type InviteServiceVisitorParams ¶
type InviteServiceVisitorParams struct {
IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}
InviteServiceVisitorParams defines parameters for InviteServiceVisitor.
type InviteServiceVisitorResponse ¶
type InviteServiceVisitorResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ServiceInvitationCreation
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Problem
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseInviteServiceVisitorResponse ¶
func ParseInviteServiceVisitorResponse(rsp *http.Response) (*InviteServiceVisitorResponse, error)
ParseInviteServiceVisitorResponse parses an HTTP response from a InviteServiceVisitorWithResponse call
func (InviteServiceVisitorResponse) ContentType ¶
func (r InviteServiceVisitorResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (InviteServiceVisitorResponse) GetApplicationproblemJSON409 ¶
func (r InviteServiceVisitorResponse) GetApplicationproblemJSON409() *Problem
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (InviteServiceVisitorResponse) GetApplicationproblemJSONDefault ¶
func (r InviteServiceVisitorResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (InviteServiceVisitorResponse) GetBody ¶
func (r InviteServiceVisitorResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (InviteServiceVisitorResponse) GetJSON201 ¶
func (r InviteServiceVisitorResponse) GetJSON201() *ServiceInvitationCreation
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (InviteServiceVisitorResponse) Status ¶
func (r InviteServiceVisitorResponse) Status() string
Status returns HTTPResponse.Status
func (InviteServiceVisitorResponse) StatusCode ¶
func (r InviteServiceVisitorResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IssueServiceClientCertificateJSONRequestBody ¶
type IssueServiceClientCertificateJSONRequestBody = IssueServiceClientCertificateRequest
IssueServiceClientCertificateJSONRequestBody defines body for IssueServiceClientCertificate for application/json ContentType.
type IssueServiceClientCertificateRequest ¶
type IssueServiceClientCertificateRequest struct {
Csr []byte `json:"csr"`
DeviceId string `json:"device_id"`
}
IssueServiceClientCertificateRequest defines model for IssueServiceClientCertificateRequest.
type IssueServiceClientCertificateResponse ¶
type IssueServiceClientCertificateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ServiceClientCertificate
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseIssueServiceClientCertificateResponse ¶
func ParseIssueServiceClientCertificateResponse(rsp *http.Response) (*IssueServiceClientCertificateResponse, error)
ParseIssueServiceClientCertificateResponse parses an HTTP response from a IssueServiceClientCertificateWithResponse call
func (IssueServiceClientCertificateResponse) ContentType ¶
func (r IssueServiceClientCertificateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (IssueServiceClientCertificateResponse) GetApplicationproblemJSONDefault ¶
func (r IssueServiceClientCertificateResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (IssueServiceClientCertificateResponse) GetBody ¶
func (r IssueServiceClientCertificateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (IssueServiceClientCertificateResponse) GetJSON201 ¶
func (r IssueServiceClientCertificateResponse) GetJSON201() *ServiceClientCertificate
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (IssueServiceClientCertificateResponse) Status ¶
func (r IssueServiceClientCertificateResponse) Status() string
Status returns HTTPResponse.Status
func (IssueServiceClientCertificateResponse) StatusCode ¶
func (r IssueServiceClientCertificateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IssueVisitorTokenJSONRequestBody ¶
type IssueVisitorTokenJSONRequestBody = VisitorTokenRequest
IssueVisitorTokenJSONRequestBody defines body for IssueVisitorToken for application/json ContentType.
type IssueVisitorTokenResponse ¶
type IssueVisitorTokenResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *VisitorTokenResponse
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseIssueVisitorTokenResponse ¶
func ParseIssueVisitorTokenResponse(rsp *http.Response) (*IssueVisitorTokenResponse, error)
ParseIssueVisitorTokenResponse parses an HTTP response from a IssueVisitorTokenWithResponse call
func (IssueVisitorTokenResponse) ContentType ¶
func (r IssueVisitorTokenResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (IssueVisitorTokenResponse) GetApplicationproblemJSONDefault ¶
func (r IssueVisitorTokenResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (IssueVisitorTokenResponse) GetBody ¶
func (r IssueVisitorTokenResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (IssueVisitorTokenResponse) GetJSON200 ¶
func (r IssueVisitorTokenResponse) GetJSON200() *VisitorTokenResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (IssueVisitorTokenResponse) Status ¶
func (r IssueVisitorTokenResponse) Status() string
Status returns HTTPResponse.Status
func (IssueVisitorTokenResponse) StatusCode ¶
func (r IssueVisitorTokenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IssueWorkloadServiceClientCertificateJSONBody ¶
type IssueWorkloadServiceClientCertificateJSONBody struct {
Csr []byte `json:"csr"`
}
IssueWorkloadServiceClientCertificateJSONBody defines parameters for IssueWorkloadServiceClientCertificate.
type IssueWorkloadServiceClientCertificateJSONRequestBody ¶
type IssueWorkloadServiceClientCertificateJSONRequestBody IssueWorkloadServiceClientCertificateJSONBody
IssueWorkloadServiceClientCertificateJSONRequestBody defines body for IssueWorkloadServiceClientCertificate for application/json ContentType.
type IssueWorkloadServiceClientCertificateResponse ¶
type IssueWorkloadServiceClientCertificateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ServiceClientCertificate
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseIssueWorkloadServiceClientCertificateResponse ¶
func ParseIssueWorkloadServiceClientCertificateResponse(rsp *http.Response) (*IssueWorkloadServiceClientCertificateResponse, error)
ParseIssueWorkloadServiceClientCertificateResponse parses an HTTP response from a IssueWorkloadServiceClientCertificateWithResponse call
func (IssueWorkloadServiceClientCertificateResponse) ContentType ¶
func (r IssueWorkloadServiceClientCertificateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (IssueWorkloadServiceClientCertificateResponse) GetApplicationproblemJSONDefault ¶
func (r IssueWorkloadServiceClientCertificateResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (IssueWorkloadServiceClientCertificateResponse) GetBody ¶
func (r IssueWorkloadServiceClientCertificateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (IssueWorkloadServiceClientCertificateResponse) GetJSON200 ¶
func (r IssueWorkloadServiceClientCertificateResponse) GetJSON200() *ServiceClientCertificate
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (IssueWorkloadServiceClientCertificateResponse) Status ¶
func (r IssueWorkloadServiceClientCertificateResponse) Status() string
Status returns HTTPResponse.Status
func (IssueWorkloadServiceClientCertificateResponse) StatusCode ¶
func (r IssueWorkloadServiceClientCertificateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type KubernetesAuth ¶
type KubernetesAuth struct {
Cluster string `json:"cluster"`
Provider KubernetesAuthProvider `json:"provider"`
Region string `json:"region"`
}
KubernetesAuth Approved nonsecret native client authentication hint. Contains no publisher target address, CA, or credentials.
type KubernetesAuthProvider ¶
type KubernetesAuthProvider string
KubernetesAuthProvider defines model for KubernetesAuth.Provider.
const (
KubernetesEKS KubernetesAuthProvider = "eks"
)
Defines values for KubernetesAuthProvider.
func (KubernetesAuthProvider) Valid ¶
func (e KubernetesAuthProvider) Valid() bool
Valid indicates whether the value is a known member of the KubernetesAuthProvider enum.
type ListAdminRelaysParams ¶
type ListAdminRelaysParams struct {
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}
ListAdminRelaysParams defines parameters for ListAdminRelays.
type ListAdminRelaysResponse ¶
type ListAdminRelaysResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AdminRelayPage
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseListAdminRelaysResponse ¶
func ParseListAdminRelaysResponse(rsp *http.Response) (*ListAdminRelaysResponse, error)
ParseListAdminRelaysResponse parses an HTTP response from a ListAdminRelaysWithResponse call
func (ListAdminRelaysResponse) ContentType ¶
func (r ListAdminRelaysResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListAdminRelaysResponse) GetApplicationproblemJSONDefault ¶
func (r ListAdminRelaysResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListAdminRelaysResponse) GetBody ¶
func (r ListAdminRelaysResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListAdminRelaysResponse) GetJSON200 ¶
func (r ListAdminRelaysResponse) GetJSON200() *AdminRelayPage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListAdminRelaysResponse) Status ¶
func (r ListAdminRelaysResponse) Status() string
Status returns HTTPResponse.Status
func (ListAdminRelaysResponse) StatusCode ¶
func (r ListAdminRelaysResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAvailableServicesParams ¶
type ListAvailableServicesParams struct {
Cursor *ServiceCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// AccessPath Select connector permission or current public endpoint identity permission. Public HTTP preview-team access never grants connector access.
AccessPath *ServiceAccessPath `form:"access_path,omitempty" json:"access_path,omitempty"`
}
ListAvailableServicesParams defines parameters for ListAvailableServices.
type ListAvailableServicesResponse ¶
type ListAvailableServicesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ServicePage
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseListAvailableServicesResponse ¶
func ParseListAvailableServicesResponse(rsp *http.Response) (*ListAvailableServicesResponse, error)
ParseListAvailableServicesResponse parses an HTTP response from a ListAvailableServicesWithResponse call
func (ListAvailableServicesResponse) ContentType ¶
func (r ListAvailableServicesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListAvailableServicesResponse) GetApplicationproblemJSONDefault ¶
func (r ListAvailableServicesResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListAvailableServicesResponse) GetBody ¶
func (r ListAvailableServicesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListAvailableServicesResponse) GetJSON200 ¶
func (r ListAvailableServicesResponse) GetJSON200() *ServicePage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListAvailableServicesResponse) Status ¶
func (r ListAvailableServicesResponse) Status() string
Status returns HTTPResponse.Status
func (ListAvailableServicesResponse) StatusCode ¶
func (r ListAvailableServicesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListConnectorPeerPairsParams ¶
type ListConnectorPeerPairsParams struct {
After *string `form:"after,omitempty" json:"after,omitempty"`
}
ListConnectorPeerPairsParams defines parameters for ListConnectorPeerPairs.
type ListConnectorPeerPairsResponse ¶
type ListConnectorPeerPairsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ConnectorPeerPairCandidates
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseListConnectorPeerPairsResponse ¶
func ParseListConnectorPeerPairsResponse(rsp *http.Response) (*ListConnectorPeerPairsResponse, error)
ParseListConnectorPeerPairsResponse parses an HTTP response from a ListConnectorPeerPairsWithResponse call
func (ListConnectorPeerPairsResponse) ContentType ¶
func (r ListConnectorPeerPairsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListConnectorPeerPairsResponse) GetApplicationproblemJSONDefault ¶
func (r ListConnectorPeerPairsResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListConnectorPeerPairsResponse) GetBody ¶
func (r ListConnectorPeerPairsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListConnectorPeerPairsResponse) GetJSON200 ¶
func (r ListConnectorPeerPairsResponse) GetJSON200() *ConnectorPeerPairCandidates
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListConnectorPeerPairsResponse) Status ¶
func (r ListConnectorPeerPairsResponse) Status() string
Status returns HTTPResponse.Status
func (ListConnectorPeerPairsResponse) StatusCode ¶
func (r ListConnectorPeerPairsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDeploymentPublishersParams ¶
type ListDeploymentPublishersParams struct {
After *string `form:"after,omitempty" json:"after,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
TeamId TeamIDQuery `form:"team_id" json:"team_id"`
}
ListDeploymentPublishersParams defines parameters for ListDeploymentPublishers.
type ListDeploymentPublishersResponse ¶
type ListDeploymentPublishersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DeploymentPublisherPage
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseListDeploymentPublishersResponse ¶
func ParseListDeploymentPublishersResponse(rsp *http.Response) (*ListDeploymentPublishersResponse, error)
ParseListDeploymentPublishersResponse parses an HTTP response from a ListDeploymentPublishersWithResponse call
func (ListDeploymentPublishersResponse) ContentType ¶
func (r ListDeploymentPublishersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListDeploymentPublishersResponse) GetApplicationproblemJSONDefault ¶
func (r ListDeploymentPublishersResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListDeploymentPublishersResponse) GetBody ¶
func (r ListDeploymentPublishersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListDeploymentPublishersResponse) GetJSON200 ¶
func (r ListDeploymentPublishersResponse) GetJSON200() *DeploymentPublisherPage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListDeploymentPublishersResponse) Status ¶
func (r ListDeploymentPublishersResponse) Status() string
Status returns HTTPResponse.Status
func (ListDeploymentPublishersResponse) StatusCode ¶
func (r ListDeploymentPublishersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDeploymentsParams ¶
type ListDeploymentsParams struct {
After *string `form:"after,omitempty" json:"after,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
TeamId TeamIDQuery `form:"team_id" json:"team_id"`
}
ListDeploymentsParams defines parameters for ListDeployments.
type ListDeploymentsResponse ¶
type ListDeploymentsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DeploymentPage
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseListDeploymentsResponse ¶
func ParseListDeploymentsResponse(rsp *http.Response) (*ListDeploymentsResponse, error)
ParseListDeploymentsResponse parses an HTTP response from a ListDeploymentsWithResponse call
func (ListDeploymentsResponse) ContentType ¶
func (r ListDeploymentsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListDeploymentsResponse) GetApplicationproblemJSONDefault ¶
func (r ListDeploymentsResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListDeploymentsResponse) GetBody ¶
func (r ListDeploymentsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListDeploymentsResponse) GetJSON200 ¶
func (r ListDeploymentsResponse) GetJSON200() *DeploymentPage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListDeploymentsResponse) Status ¶
func (r ListDeploymentsResponse) Status() string
Status returns HTTPResponse.Status
func (ListDeploymentsResponse) StatusCode ¶
func (r ListDeploymentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListMaintenanceControlsResponse ¶
type ListMaintenanceControlsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]MaintenanceControl
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseListMaintenanceControlsResponse ¶
func ParseListMaintenanceControlsResponse(rsp *http.Response) (*ListMaintenanceControlsResponse, error)
ParseListMaintenanceControlsResponse parses an HTTP response from a ListMaintenanceControlsWithResponse call
func (ListMaintenanceControlsResponse) ContentType ¶
func (r ListMaintenanceControlsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListMaintenanceControlsResponse) GetApplicationproblemJSONDefault ¶
func (r ListMaintenanceControlsResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListMaintenanceControlsResponse) GetBody ¶
func (r ListMaintenanceControlsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListMaintenanceControlsResponse) GetJSON200 ¶
func (r ListMaintenanceControlsResponse) GetJSON200() *[]MaintenanceControl
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListMaintenanceControlsResponse) Status ¶
func (r ListMaintenanceControlsResponse) Status() string
Status returns HTTPResponse.Status
func (ListMaintenanceControlsResponse) StatusCode ¶
func (r ListMaintenanceControlsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListPreviewsParams ¶
type ListPreviewsParams struct {
TeamId TeamIDQuery `form:"team_id" json:"team_id"`
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}
ListPreviewsParams defines parameters for ListPreviews.
type ListPreviewsResponse ¶
type ListPreviewsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PreviewPage
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseListPreviewsResponse ¶
func ParseListPreviewsResponse(rsp *http.Response) (*ListPreviewsResponse, error)
ParseListPreviewsResponse parses an HTTP response from a ListPreviewsWithResponse call
func (ListPreviewsResponse) ContentType ¶
func (r ListPreviewsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListPreviewsResponse) GetApplicationproblemJSONDefault ¶
func (r ListPreviewsResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListPreviewsResponse) GetBody ¶
func (r ListPreviewsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListPreviewsResponse) GetJSON200 ¶
func (r ListPreviewsResponse) GetJSON200() *PreviewPage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListPreviewsResponse) Status ¶
func (r ListPreviewsResponse) Status() string
Status returns HTTPResponse.Status
func (ListPreviewsResponse) StatusCode ¶
func (r ListPreviewsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListProjectsParams ¶
type ListProjectsParams struct {
TeamId TeamIDQuery `form:"team_id" json:"team_id"`
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}
ListProjectsParams defines parameters for ListProjects.
type ListProjectsResponse ¶
type ListProjectsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ProjectPage
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
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) GetApplicationproblemJSONDefault ¶
func (r ListProjectsResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListProjectsResponse) GetBody ¶
func (r ListProjectsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListProjectsResponse) GetJSON200 ¶
func (r ListProjectsResponse) GetJSON200() *ProjectPage
GetJSON200 returns the response for an HTTP 200 `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 ListPublisherIdentitiesParams ¶
type ListPublisherIdentitiesParams struct {
TeamId TeamIDQuery `form:"team_id" json:"team_id"`
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}
ListPublisherIdentitiesParams defines parameters for ListPublisherIdentities.
type ListPublisherIdentitiesResponse ¶
type ListPublisherIdentitiesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublisherIdentityPage
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseListPublisherIdentitiesResponse ¶
func ParseListPublisherIdentitiesResponse(rsp *http.Response) (*ListPublisherIdentitiesResponse, error)
ParseListPublisherIdentitiesResponse parses an HTTP response from a ListPublisherIdentitiesWithResponse call
func (ListPublisherIdentitiesResponse) ContentType ¶
func (r ListPublisherIdentitiesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListPublisherIdentitiesResponse) GetApplicationproblemJSONDefault ¶
func (r ListPublisherIdentitiesResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListPublisherIdentitiesResponse) GetBody ¶
func (r ListPublisherIdentitiesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListPublisherIdentitiesResponse) GetJSON200 ¶
func (r ListPublisherIdentitiesResponse) GetJSON200() *PublisherIdentityPage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListPublisherIdentitiesResponse) Status ¶
func (r ListPublisherIdentitiesResponse) Status() string
Status returns HTTPResponse.Status
func (ListPublisherIdentitiesResponse) StatusCode ¶
func (r ListPublisherIdentitiesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListServiceAuditParams ¶
type ListServiceAuditParams struct {
ServiceId *string `form:"service_id,omitempty" json:"service_id,omitempty"`
Service *string `form:"service,omitempty" json:"service,omitempty"`
// After Copy next_cursor verbatim from the previous page.
After *string `form:"after,omitempty" json:"after,omitempty"`
Since *time.Time `form:"since,omitempty" json:"since,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListServiceAuditParams defines parameters for ListServiceAudit.
type ListServiceAuditResponse ¶
type ListServiceAuditResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ServiceAuditPage
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseListServiceAuditResponse ¶
func ParseListServiceAuditResponse(rsp *http.Response) (*ListServiceAuditResponse, error)
ParseListServiceAuditResponse parses an HTTP response from a ListServiceAuditWithResponse call
func (ListServiceAuditResponse) ContentType ¶
func (r ListServiceAuditResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListServiceAuditResponse) GetApplicationproblemJSONDefault ¶
func (r ListServiceAuditResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListServiceAuditResponse) GetBody ¶
func (r ListServiceAuditResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListServiceAuditResponse) GetJSON200 ¶
func (r ListServiceAuditResponse) GetJSON200() *ServiceAuditPage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListServiceAuditResponse) Status ¶
func (r ListServiceAuditResponse) Status() string
Status returns HTTPResponse.Status
func (ListServiceAuditResponse) StatusCode ¶
func (r ListServiceAuditResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListServiceGrantsParams ¶
type ListServiceGrantsParams struct {
Cursor *ServiceGrantID `form:"cursor,omitempty" json:"cursor,omitempty"`
}
ListServiceGrantsParams defines parameters for ListServiceGrants.
type ListServiceGrantsResponse ¶
type ListServiceGrantsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ServiceGrantPage
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseListServiceGrantsResponse ¶
func ParseListServiceGrantsResponse(rsp *http.Response) (*ListServiceGrantsResponse, error)
ParseListServiceGrantsResponse parses an HTTP response from a ListServiceGrantsWithResponse call
func (ListServiceGrantsResponse) ContentType ¶
func (r ListServiceGrantsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListServiceGrantsResponse) GetApplicationproblemJSONDefault ¶
func (r ListServiceGrantsResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListServiceGrantsResponse) GetBody ¶
func (r ListServiceGrantsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListServiceGrantsResponse) GetJSON200 ¶
func (r ListServiceGrantsResponse) GetJSON200() *ServiceGrantPage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListServiceGrantsResponse) Status ¶
func (r ListServiceGrantsResponse) Status() string
Status returns HTTPResponse.Status
func (ListServiceGrantsResponse) StatusCode ¶
func (r ListServiceGrantsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListServiceHTTPGrantsResponse ¶
type ListServiceHTTPGrantsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]ServiceHTTPGrantSummary
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseListServiceHTTPGrantsResponse ¶
func ParseListServiceHTTPGrantsResponse(rsp *http.Response) (*ListServiceHTTPGrantsResponse, error)
ParseListServiceHTTPGrantsResponse parses an HTTP response from a ListServiceHTTPGrantsWithResponse call
func (ListServiceHTTPGrantsResponse) ContentType ¶
func (r ListServiceHTTPGrantsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListServiceHTTPGrantsResponse) GetApplicationproblemJSONDefault ¶
func (r ListServiceHTTPGrantsResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListServiceHTTPGrantsResponse) GetBody ¶
func (r ListServiceHTTPGrantsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListServiceHTTPGrantsResponse) GetJSON200 ¶
func (r ListServiceHTTPGrantsResponse) GetJSON200() *[]ServiceHTTPGrantSummary
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListServiceHTTPGrantsResponse) Status ¶
func (r ListServiceHTTPGrantsResponse) Status() string
Status returns HTTPResponse.Status
func (ListServiceHTTPGrantsResponse) StatusCode ¶
func (r ListServiceHTTPGrantsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListServiceInvitationsParams ¶
type ListServiceInvitationsParams struct {
Cursor *ServiceInvitationID `form:"cursor,omitempty" json:"cursor,omitempty"`
}
ListServiceInvitationsParams defines parameters for ListServiceInvitations.
type ListServiceInvitationsResponse ¶
type ListServiceInvitationsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ServiceInvitationPage
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseListServiceInvitationsResponse ¶
func ParseListServiceInvitationsResponse(rsp *http.Response) (*ListServiceInvitationsResponse, error)
ParseListServiceInvitationsResponse parses an HTTP response from a ListServiceInvitationsWithResponse call
func (ListServiceInvitationsResponse) ContentType ¶
func (r ListServiceInvitationsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListServiceInvitationsResponse) GetApplicationproblemJSONDefault ¶
func (r ListServiceInvitationsResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListServiceInvitationsResponse) GetBody ¶
func (r ListServiceInvitationsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListServiceInvitationsResponse) GetJSON200 ¶
func (r ListServiceInvitationsResponse) GetJSON200() *ServiceInvitationPage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListServiceInvitationsResponse) Status ¶
func (r ListServiceInvitationsResponse) Status() string
Status returns HTTPResponse.Status
func (ListServiceInvitationsResponse) StatusCode ¶
func (r ListServiceInvitationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListServicesParams ¶
type ListServicesParams struct {
TeamId TeamIDQuery `form:"team_id" json:"team_id"`
Cursor *ServiceCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
}
ListServicesParams defines parameters for ListServices.
type ListServicesResponse ¶
type ListServicesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ServicePage
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseListServicesResponse ¶
func ParseListServicesResponse(rsp *http.Response) (*ListServicesResponse, error)
ParseListServicesResponse parses an HTTP response from a ListServicesWithResponse call
func (ListServicesResponse) ContentType ¶
func (r ListServicesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListServicesResponse) GetApplicationproblemJSONDefault ¶
func (r ListServicesResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListServicesResponse) GetBody ¶
func (r ListServicesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListServicesResponse) GetJSON200 ¶
func (r ListServicesResponse) GetJSON200() *ServicePage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListServicesResponse) Status ¶
func (r ListServicesResponse) Status() string
Status returns HTTPResponse.Status
func (ListServicesResponse) StatusCode ¶
func (r ListServicesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSharesParams ¶
type ListSharesParams struct {
}
ListSharesParams defines parameters for ListShares.
type ListSharesResponse ¶
func ParseListSharesResponse ¶
func ParseListSharesResponse(rsp *http.Response) (*ListSharesResponse, error)
ParseListSharesResponse parses an HTTP response from a ListSharesWithResponse call
func (ListSharesResponse) ContentType ¶
func (r ListSharesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListSharesResponse) GetApplicationproblemJSONDefault ¶
func (r ListSharesResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListSharesResponse) GetBody ¶
func (r ListSharesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListSharesResponse) GetJSON200 ¶
func (r ListSharesResponse) GetJSON200() *SharePage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListSharesResponse) Status ¶
func (r ListSharesResponse) Status() string
Status returns HTTPResponse.Status
func (ListSharesResponse) StatusCode ¶
func (r ListSharesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListTeamSharesParams ¶
type ListTeamSharesParams struct {
}
ListTeamSharesParams defines parameters for ListTeamShares.
type ListTeamSharesResponse ¶
func ParseListTeamSharesResponse ¶
func ParseListTeamSharesResponse(rsp *http.Response) (*ListTeamSharesResponse, error)
ParseListTeamSharesResponse parses an HTTP response from a ListTeamSharesWithResponse call
func (ListTeamSharesResponse) ContentType ¶
func (r ListTeamSharesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListTeamSharesResponse) GetApplicationproblemJSONDefault ¶
func (r ListTeamSharesResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListTeamSharesResponse) GetBody ¶
func (r ListTeamSharesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListTeamSharesResponse) GetJSON200 ¶
func (r ListTeamSharesResponse) GetJSON200() *SharePage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListTeamSharesResponse) Status ¶
func (r ListTeamSharesResponse) Status() string
Status returns HTTPResponse.Status
func (ListTeamSharesResponse) StatusCode ¶
func (r ListTeamSharesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListWorkloadServicesResponse ¶
type ListWorkloadServicesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WorkloadServices
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseListWorkloadServicesResponse ¶
func ParseListWorkloadServicesResponse(rsp *http.Response) (*ListWorkloadServicesResponse, error)
ParseListWorkloadServicesResponse parses an HTTP response from a ListWorkloadServicesWithResponse call
func (ListWorkloadServicesResponse) ContentType ¶
func (r ListWorkloadServicesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListWorkloadServicesResponse) GetApplicationproblemJSONDefault ¶
func (r ListWorkloadServicesResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListWorkloadServicesResponse) GetBody ¶
func (r ListWorkloadServicesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListWorkloadServicesResponse) GetJSON200 ¶
func (r ListWorkloadServicesResponse) GetJSON200() *WorkloadServices
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListWorkloadServicesResponse) Status ¶
func (r ListWorkloadServicesResponse) Status() string
Status returns HTTPResponse.Status
func (ListWorkloadServicesResponse) StatusCode ¶
func (r ListWorkloadServicesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LocalProjectService ¶
type LocalProjectService struct {
Hostname *string `json:"hostname,omitempty"`
Metadata *ServiceMetadata `json:"metadata,omitempty"`
Service string `json:"service"`
ServiceId ServiceID `json:"service_id"`
WorktreeKey string `json:"worktree_key"`
}
LocalProjectService defines model for LocalProjectService.
type LocalServiceSource ¶
type LocalServiceSource struct {
ProjectKey string `json:"project_key"`
Service string `json:"service"`
SourceFingerprint string `json:"source_fingerprint"`
WorktreeKey string `json:"worktree_key"`
}
LocalServiceSource defines model for LocalServiceSource.
type MaintenanceControl ¶
type MaintenanceControl struct {
Allowed bool `json:"allowed"`
Name MaintenanceControlName `json:"name"`
Revision int64 `json:"revision,string"`
UpdatedAt time.Time `json:"updated_at"`
UpdatedBy IdentityID `json:"updated_by"`
}
MaintenanceControl defines model for MaintenanceControl.
type MaintenanceControlName ¶
type MaintenanceControlName string
MaintenanceControlName defines model for MaintenanceControlName.
const ( CertificateIssuance MaintenanceControlName = "certificate_issuance" ServiceCreation MaintenanceControlName = "service_creation" ServiceRunCreation MaintenanceControlName = "service_run_creation" )
Defines values for MaintenanceControlName.
func (MaintenanceControlName) Valid ¶
func (e MaintenanceControlName) Valid() bool
Valid indicates whether the value is a known member of the MaintenanceControlName enum.
type MarkServiceCertificateInstalledJSONRequestBody ¶
type MarkServiceCertificateInstalledJSONRequestBody = ServiceCertificateInstalledRequest
MarkServiceCertificateInstalledJSONRequestBody defines body for MarkServiceCertificateInstalled for application/json ContentType.
type MarkServiceCertificateInstalledResponse ¶
type MarkServiceCertificateInstalledResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseMarkServiceCertificateInstalledResponse ¶
func ParseMarkServiceCertificateInstalledResponse(rsp *http.Response) (*MarkServiceCertificateInstalledResponse, error)
ParseMarkServiceCertificateInstalledResponse parses an HTTP response from a MarkServiceCertificateInstalledWithResponse call
func (MarkServiceCertificateInstalledResponse) ContentType ¶
func (r MarkServiceCertificateInstalledResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MarkServiceCertificateInstalledResponse) GetApplicationproblemJSONDefault ¶
func (r MarkServiceCertificateInstalledResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (MarkServiceCertificateInstalledResponse) GetBody ¶
func (r MarkServiceCertificateInstalledResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MarkServiceCertificateInstalledResponse) Status ¶
func (r MarkServiceCertificateInstalledResponse) Status() string
Status returns HTTPResponse.Status
func (MarkServiceCertificateInstalledResponse) StatusCode ¶
func (r MarkServiceCertificateInstalledResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MarkSuppliedServiceCertificateInstalledJSONRequestBody ¶
type MarkSuppliedServiceCertificateInstalledJSONRequestBody = SuppliedServiceCertificateInstalledRequest
MarkSuppliedServiceCertificateInstalledJSONRequestBody defines body for MarkSuppliedServiceCertificateInstalled for application/json ContentType.
type MarkSuppliedServiceCertificateInstalledResponse ¶
type MarkSuppliedServiceCertificateInstalledResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SuppliedServiceCertificateInstallation
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseMarkSuppliedServiceCertificateInstalledResponse ¶
func ParseMarkSuppliedServiceCertificateInstalledResponse(rsp *http.Response) (*MarkSuppliedServiceCertificateInstalledResponse, error)
ParseMarkSuppliedServiceCertificateInstalledResponse parses an HTTP response from a MarkSuppliedServiceCertificateInstalledWithResponse call
func (MarkSuppliedServiceCertificateInstalledResponse) ContentType ¶
func (r MarkSuppliedServiceCertificateInstalledResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MarkSuppliedServiceCertificateInstalledResponse) GetApplicationproblemJSONDefault ¶
func (r MarkSuppliedServiceCertificateInstalledResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (MarkSuppliedServiceCertificateInstalledResponse) GetBody ¶
func (r MarkSuppliedServiceCertificateInstalledResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (MarkSuppliedServiceCertificateInstalledResponse) GetJSON200 ¶
func (r MarkSuppliedServiceCertificateInstalledResponse) GetJSON200() *SuppliedServiceCertificateInstallation
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (MarkSuppliedServiceCertificateInstalledResponse) Status ¶
func (r MarkSuppliedServiceCertificateInstalledResponse) Status() string
Status returns HTTPResponse.Status
func (MarkSuppliedServiceCertificateInstalledResponse) StatusCode ¶
func (r MarkSuppliedServiceCertificateInstalledResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OIDCAuthenticationFacts ¶
type OIDCAuthenticationFacts struct {
Issuer string `json:"issuer"`
LoginFlow OIDCAuthenticationFactsLoginFlow `json:"login_flow"`
}
OIDCAuthenticationFacts defines model for OIDCAuthenticationFacts.
type OIDCAuthenticationFactsLoginFlow ¶
type OIDCAuthenticationFactsLoginFlow string
OIDCAuthenticationFactsLoginFlow defines model for OIDCAuthenticationFacts.LoginFlow.
const (
DeviceCode OIDCAuthenticationFactsLoginFlow = "device_code"
)
Defines values for OIDCAuthenticationFactsLoginFlow.
func (OIDCAuthenticationFactsLoginFlow) Valid ¶
func (e OIDCAuthenticationFactsLoginFlow) Valid() bool
Valid indicates whether the value is a known member of the OIDCAuthenticationFactsLoginFlow enum.
type PrepareConnectorPeerPairJSONRequestBody ¶
type PrepareConnectorPeerPairJSONRequestBody = ConnectorPeerPairRequest
PrepareConnectorPeerPairJSONRequestBody defines body for PrepareConnectorPeerPair for application/json ContentType.
type PrepareConnectorPeerPairResponse ¶
type PrepareConnectorPeerPairResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ConnectorPeerPair
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParsePrepareConnectorPeerPairResponse ¶
func ParsePrepareConnectorPeerPairResponse(rsp *http.Response) (*PrepareConnectorPeerPairResponse, error)
ParsePrepareConnectorPeerPairResponse parses an HTTP response from a PrepareConnectorPeerPairWithResponse call
func (PrepareConnectorPeerPairResponse) ContentType ¶
func (r PrepareConnectorPeerPairResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PrepareConnectorPeerPairResponse) GetApplicationproblemJSONDefault ¶
func (r PrepareConnectorPeerPairResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PrepareConnectorPeerPairResponse) GetBody ¶
func (r PrepareConnectorPeerPairResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PrepareConnectorPeerPairResponse) GetJSON200 ¶
func (r PrepareConnectorPeerPairResponse) GetJSON200() *ConnectorPeerPair
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PrepareConnectorPeerPairResponse) Status ¶
func (r PrepareConnectorPeerPairResponse) Status() string
Status returns HTTPResponse.Status
func (PrepareConnectorPeerPairResponse) StatusCode ¶
func (r PrepareConnectorPeerPairResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PrepareServiceRunJSONRequestBody ¶
type PrepareServiceRunJSONRequestBody = ServiceRunDeclaration
PrepareServiceRunJSONRequestBody defines body for PrepareServiceRun for application/json ContentType.
type PrepareServiceRunParams ¶
type PrepareServiceRunParams struct {
IdempotencyKey IdempotencyKey `json:"Idempotency-Key"`
}
PrepareServiceRunParams defines parameters for PrepareServiceRun.
type PrepareServiceRunResponse ¶
type PrepareServiceRunResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ServiceRunPreparation
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParsePrepareServiceRunResponse ¶
func ParsePrepareServiceRunResponse(rsp *http.Response) (*PrepareServiceRunResponse, error)
ParsePrepareServiceRunResponse parses an HTTP response from a PrepareServiceRunWithResponse call
func (PrepareServiceRunResponse) ContentType ¶
func (r PrepareServiceRunResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PrepareServiceRunResponse) GetApplicationproblemJSONDefault ¶
func (r PrepareServiceRunResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PrepareServiceRunResponse) GetBody ¶
func (r PrepareServiceRunResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PrepareServiceRunResponse) GetJSON201 ¶
func (r PrepareServiceRunResponse) GetJSON201() *ServiceRunPreparation
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (PrepareServiceRunResponse) Status ¶
func (r PrepareServiceRunResponse) Status() string
Status returns HTTPResponse.Status
func (PrepareServiceRunResponse) StatusCode ¶
func (r PrepareServiceRunResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Preview ¶
type Preview struct {
CreatedAt time.Time `json:"created_at"`
GuestId GuestID `json:"guest_id,omitempty"`
Id PreviewID `json:"id"`
// SchemaVersion Review data format version; writers currently emit 1. Separate from revisions and service run numbers.
SchemaVersion ReviewSchemaVersion `json:"schema_version"`
ServiceIds []ServiceID `json:"service_ids"`
TeamAccessEnabled *bool `json:"team_access_enabled,omitempty"`
TeamId TeamID `json:"team_id,omitempty"`
}
Preview defines model for Preview.
type PreviewPage ¶
type PreviewPage struct {
NextCursor *string `json:"next_cursor,omitempty"`
Previews []PreviewSummary `json:"previews"`
}
PreviewPage defines model for PreviewPage.
type PreviewPageFeedbackRequest ¶
type PreviewPageFeedbackRequest struct {
// Access Browser identity and visitor access are independent. Feedback writes require a current browser_cookie_secret for verified authorship, including guest previews. Control also rechecks current preview permission and team feedback restrictions; visit_allowed is an observation, not authority. Share, bearer, and connector proofs supply visit permission only.
Access FeedbackReviewerAccess `json:"access"`
Cursor *FeedbackID `json:"cursor,omitempty"`
PagePath *string `json:"page_path,omitempty"`
PreviewId PreviewID `json:"preview_id"`
RunNumber int64 `json:"run_number,string"`
State *FeedbackThreadState `json:"state,omitempty"`
}
PreviewPageFeedbackRequest defines model for PreviewPageFeedbackRequest.
type PreviewSummary ¶
type PreviewSummary struct {
CreatedAt time.Time `json:"created_at"`
Id PreviewID `json:"id"`
TeamId string `json:"team_id"`
}
PreviewSummary A preview created by the current identity. Fetch its detail for the included public URLs.
type Problem ¶
type Problem struct {
Code ProblemCode `json:"code"`
Detail string `json:"detail"`
// Details Optional code-specific diagnostic fields. A not_found problem with HTTP status 404 may include allowed_namespace, a canonical ASCII hostname of at most 253 bytes from the current actor's authorized namespace. It is omitted after membership loss and when the namespace denial includes an independent fault. It never identifies the rejected hostname's owner or whether a foreign service exists. Clients must validate this field before displaying it and ignore unknown detail keys.
Details *map[string]interface{} `json:"details,omitempty"`
RequestId string `json:"request_id"`
RetryAt *time.Time `json:"retry_at,omitempty"`
Status int `json:"status"`
Title string `json:"title"`
Type string `json:"type"`
}
Problem defines model for Problem.
type ProblemCode ¶
type ProblemCode string
ProblemCode defines model for ProblemCode.
const ( Conflict ProblemCode = "conflict" DnsSetupPending ProblemCode = "dns_setup_pending" Forbidden ProblemCode = "forbidden" GuestDemoOnly ProblemCode = "guest_demo_only" GuestIpChanged ProblemCode = "guest_ip_changed" GuestIssuanceLimited ProblemCode = "guest_issuance_limited" GuestTrialExhausted ProblemCode = "guest_trial_exhausted" Internal ProblemCode = "internal" InvalidRequest ProblemCode = "invalid_request" IssuanceRetry ProblemCode = "issuance_retry" MemberHostnameDepthExceeded ProblemCode = "member_hostname_depth_exceeded" NotFound ProblemCode = "not_found" PolicyRevisionStale ProblemCode = "policy_revision_stale" ProjectManaged ProblemCode = "project_managed" RateLimited ProblemCode = "rate_limited" StaleNetworkBinding ProblemCode = "stale_network_binding" TrafficSelectionInvalid ProblemCode = "traffic_selection_invalid" Unauthenticated ProblemCode = "unauthenticated" )
Defines values for ProblemCode.
func (ProblemCode) Valid ¶
func (e ProblemCode) Valid() bool
Valid indicates whether the value is a known member of the ProblemCode enum.
type ProjectApplicationRate ¶
type ProjectApplicationRate struct {
Burst *int `json:"burst,omitempty"`
Count int `json:"count"`
Per string `json:"per"`
}
ProjectApplicationRate defines model for ProjectApplicationRate.
type ProjectConfiguration ¶
type ProjectConfiguration struct {
// Oauth Publisher-only OAuth intent is not retained in shared configuration. Native clients send false.
Oauth bool `json:"oauth"`
Services map[string]ProjectServiceConfiguration `json:"services"`
Settings *DeploymentSettings `json:"settings,omitempty"`
// Webhooks Publisher-only webhook handler definitions are not retained in shared configuration. Native clients send an empty object.
Webhooks map[string]ProjectWebhook `json:"webhooks"`
Workloads *map[string]ProjectWorkload `json:"workloads,omitempty"`
}
ProjectConfiguration Normalized bindings for one selected deployment, at most 512 KiB encoded. Remote selections include settings and retain their encrypted publisher configuration; local selection omits settings, workloads, targets, readiness, mounts, and integration handlers. Logical declarations are sent separately. Local bindings allocate resources through source-bound worktree realization.
type ProjectHTTPAccess ¶
type ProjectHTTPAccess struct {
// Ip At most 256 normalized IP prefixes. Addresses become host prefixes; prefixes are masked, IPv4-mapped aliases are unmapped, and equivalent entries are deduplicated and sorted. Overlapping but unequal prefixes remain distinct. The request body limit bounds raw input before normalization. IP matches only narrow the visitor access mode; they never grant access by themselves.
Ip *[]string `json:"ip,omitempty"`
Mode *VisitorAccessMode `json:"mode,omitempty"`
}
ProjectHTTPAccess defines model for ProjectHTTPAccess.
type ProjectHTTPApplicationLimits ¶
type ProjectHTTPApplicationLimits struct {
Concurrency *int `json:"concurrency,omitempty"`
Rate *ProjectApplicationRate `json:"rate,omitempty"`
Total *int `json:"total,omitempty"`
}
ProjectHTTPApplicationLimits defines model for ProjectHTTPApplicationLimits.
type ProjectPage ¶
type ProjectPage struct {
NextCursor *string `json:"next_cursor,omitempty"`
Projects []ProjectSummary `json:"projects"`
}
ProjectPage defines model for ProjectPage.
type ProjectPublicMetadata ¶
type ProjectPublicMetadata struct {
Services []struct {
Hostname string `json:"hostname"`
// Port Logical HTTP service port 443, independent of public reachability.
Port int `json:"port"`
Service string `json:"service"`
ServiceId ServiceID `json:"service_id"`
} `json:"services"`
SourceFingerprint string `json:"source_fingerprint"`
}
ProjectPublicMetadata defines model for ProjectPublicMetadata.
type ProjectPublicationStatus ¶
type ProjectPublicationStatus struct {
CertificateExpiresAt *time.Time `json:"certificate_expires_at,omitempty"`
Deployment string `json:"deployment"`
Hostname string `json:"hostname"`
Port *int `json:"port,omitempty"`
PublicationState *ProjectPublicationStatusPublicationState `json:"publication_state,omitempty"`
PublisherExpiresAt *time.Time `json:"publisher_expires_at,omitempty"`
Ready bool `json:"ready"`
ReadyPublisherConnections int `json:"ready_publisher_connections"`
Reason ProjectPublicationStatusReason `json:"reason"`
RunNumber int64 `json:"run_number,omitempty,string"`
Service string `json:"service"`
ServiceId *string `json:"service_id,omitempty"`
ServiceKind ProjectPublicationStatusServiceKind `json:"service_kind"`
ServiceRunId *string `json:"service_run_id,omitempty"`
// WorktreeKey Opaque worktree selector, not a checkout path.
WorktreeKey *string `json:"worktree_key,omitempty"`
}
ProjectPublicationStatus defines model for ProjectPublicationStatus.
type ProjectPublicationStatusPublicationState ¶
type ProjectPublicationStatusPublicationState string
ProjectPublicationStatusPublicationState defines model for ProjectPublicationStatus.PublicationState.
const ( ProjectPublicationStatusPublicationStatePrepared ProjectPublicationStatusPublicationState = "prepared" ProjectPublicationStatusPublicationStateReady ProjectPublicationStatusPublicationState = "ready" ProjectPublicationStatusPublicationStateStarting ProjectPublicationStatusPublicationState = "starting" )
Defines values for ProjectPublicationStatusPublicationState.
func (ProjectPublicationStatusPublicationState) Valid ¶
func (e ProjectPublicationStatusPublicationState) Valid() bool
Valid indicates whether the value is a known member of the ProjectPublicationStatusPublicationState enum.
type ProjectPublicationStatusReason ¶
type ProjectPublicationStatusReason string
ProjectPublicationStatusReason defines model for ProjectPublicationStatus.Reason.
const ( ProjectPublicationStatusReasonCertificateExpired ProjectPublicationStatusReason = "certificate_expired" ProjectPublicationStatusReasonCertificatePending ProjectPublicationStatusReason = "certificate_pending" ProjectPublicationStatusReasonConnectionsPending ProjectPublicationStatusReason = "connections_pending" ProjectPublicationStatusReasonDisabled ProjectPublicationStatusReason = "disabled" ProjectPublicationStatusReasonNotPublishing ProjectPublicationStatusReason = "not_publishing" ProjectPublicationStatusReasonNotRealized ProjectPublicationStatusReason = "not_realized" ProjectPublicationStatusReasonPublisherExpired ProjectPublicationStatusReason = "publisher_expired" ProjectPublicationStatusReasonPublisherUnhealthy ProjectPublicationStatusReason = "publisher_unhealthy" ProjectPublicationStatusReasonReady ProjectPublicationStatusReason = "ready" ProjectPublicationStatusReasonStarting ProjectPublicationStatusReason = "starting" )
Defines values for ProjectPublicationStatusReason.
func (ProjectPublicationStatusReason) Valid ¶
func (e ProjectPublicationStatusReason) Valid() bool
Valid indicates whether the value is a known member of the ProjectPublicationStatusReason enum.
type ProjectPublicationStatusServiceKind ¶
type ProjectPublicationStatusServiceKind string
ProjectPublicationStatusServiceKind defines model for ProjectPublicationStatus.ServiceKind.
const ( ProjectPublicationStatusServiceKindLocal ProjectPublicationStatusServiceKind = "local" ProjectPublicationStatusServiceKindService ProjectPublicationStatusServiceKind = "service" )
Defines values for ProjectPublicationStatusServiceKind.
func (ProjectPublicationStatusServiceKind) Valid ¶
func (e ProjectPublicationStatusServiceKind) Valid() bool
Valid indicates whether the value is a known member of the ProjectPublicationStatusServiceKind enum.
type ProjectServiceAccess ¶
type ProjectServiceAccess struct {
Team ProjectServiceAccessTeam `json:"team"`
}
ProjectServiceAccess defines model for ProjectServiceAccess.
type ProjectServiceAccessTeam ¶
type ProjectServiceAccessTeam bool
ProjectServiceAccessTeam defines model for ProjectServiceAccess.Team.
const (
ProjectServiceAccessTeamTrue ProjectServiceAccessTeam = true
)
Defines values for ProjectServiceAccessTeam.
func (ProjectServiceAccessTeam) Valid ¶
func (e ProjectServiceAccessTeam) Valid() bool
Valid indicates whether the value is a known member of the ProjectServiceAccessTeam enum.
type ProjectServiceConfiguration ¶
type ProjectServiceConfiguration struct {
Access *ProjectServiceAccess `json:"access,omitempty"`
// CertificateScope Authorize a managed wildcard for a public HTTP deployment binding. Must be a dedicated subtree of the selected custom domain, match publisher_alias_parent, and directly contain hostname. The deployment retains the scope until it is retired.
CertificateScope *string `json:"certificate_scope,omitempty"`
DomainId *DomainID `json:"domain_id,omitempty"`
// Ephemeral Remove this service after its publication stops rather than retaining it for a later run.
Ephemeral *bool `json:"ephemeral,omitempty"`
// Hostname Exact authorized service hostname, not an HTTPS origin. Does not enable public endpoint access.
Hostname *string `json:"hostname,omitempty"`
// Http HTTP visitor access and request limits, independent of public endpoint access. Visitor access defaults to restricted; anonymous access does not enable a public endpoint or grant connector access. Project-local readiness, path mounts, and browser opening stay with the publisher and are not saved in control.
Http *ProjectServiceHTTP `json:"http,omitempty"`
Name *string `json:"name,omitempty"`
Protocol *ServiceProtocol `json:"protocol,omitempty"`
// Public Public endpoint access for this service binding, independent of visitor authorization. Local bindings allocate only when realized by an authorized worktree. Omission or false keeps connector access only.
Public *bool `json:"public,omitempty"`
// PublisherAliasParent Give each publisher a stable HTTP hostname for this service beneath this authorized DNS parent. Empty disables aliases without changing target trust or stopping connector sessions.
PublisherAliasParent *string `json:"publisher_alias_parent,omitempty"`
// RequirePostQuantum Require hybrid post-quantum key agreement for visitor TLS, independently of target TLS.
RequirePostQuantum *bool `json:"require_post_quantum,omitempty"`
// Target Saved service and remote deployment targets normalize to host:port with separate target_tls trust. Local project bindings use app for every protocol and keep listener and container selection local. Remote app descriptors defer HTTP listeners to their application owners. integration:oauth and integration:webhooks explicitly select a non-ephemeral, in-process HTTP handler and require explicit anonymous HTTP access; they are not app listeners or separate resources. Control does not discover local targets.
Target string `json:"target"`
// TargetDiscovery Exact provider selector resolved by the assigned publisher with its own AWS credentials. Control does not discover targets or credentials. EKS requires kubernetes; RDS requires postgres or mysql, verified against provider metadata.
TargetDiscovery *ProjectTargetDiscovery `json:"target_discovery,omitempty"`
// TargetTls Publisher-to-target TLS trust, separate from visitor TLS. ca_pem adds CA certificates to the publisher's system roots. Control computes digest from the exact hostname and CA bytes. Omit it when changing trust settings; a supplied digest must match.
TargetTls *ProjectTargetTLS `json:"target_tls,omitempty"`
// Traffic Explicit encrypted public endpoint traffic limits, resolved once against operator defaults and ceilings when the service run is prepared. Omitted values use operator defaults. Zero totals mean unlimited.
Traffic *TrafficSelection `json:"traffic,omitempty"`
}
ProjectServiceConfiguration defines model for ProjectServiceConfiguration.
type ProjectServiceDeclarations ¶
type ProjectServiceDeclarations map[string]ServiceProtocol
ProjectServiceDeclarations defines model for ProjectServiceDeclarations.
type ProjectServiceHTTP ¶
type ProjectServiceHTTP struct {
Access *ProjectHTTPAccess `json:"access,omitempty"`
Limits *ProjectHTTPApplicationLimits `json:"limits,omitempty"`
Open *bool `json:"open,omitempty"`
Paths *map[string]struct {
Service string `json:"service"`
StripPrefix *bool `json:"strip_prefix,omitempty"`
} `json:"paths,omitempty"`
Readiness *struct {
Path string `json:"path"`
} `json:"readiness,omitempty"`
// RequestBodyIdleTimeout Positive Go duration while awaiting incoming request body bytes. Defaults to 30s; explicit zero, negative, and overflowing durations are invalid. Body progress resets the timer. Target backpressure does not spend it; completion removes it without limiting responses or WebSockets.
RequestBodyIdleTimeout *string `json:"request_body_idle_timeout,omitempty"`
}
ProjectServiceHTTP HTTP visitor access and request limits, independent of public endpoint access. Visitor access defaults to restricted; anonymous access does not enable a public endpoint or grant connector access. Project-local readiness, path mounts, and browser opening stay with the publisher and are not saved in control.
type ProjectSourceIdentity ¶
type ProjectSourceIdentity struct {
ProjectKey string `json:"project_key"`
ProjectLabel string `json:"project_label"`
SourceFingerprint string `json:"source_fingerprint"`
}
ProjectSourceIdentity Server-derived source identity. Use project_key to read or apply configuration; callers do not need to compute the fingerprint.
type ProjectStatus ¶
type ProjectStatus struct {
NextCursor *string `json:"next_cursor,omitempty"`
ObservedAt time.Time `json:"observed_at"`
ProjectKey string `json:"project_key"`
ProjectLabel string `json:"project_label"`
Publications []ProjectPublicationStatus `json:"publications"`
RetiredAt *time.Time `json:"retired_at,omitempty"`
Revision int64 `json:"revision,string"`
TeamId string `json:"team_id"`
}
ProjectStatus defines model for ProjectStatus.
type ProjectSummary ¶
type ProjectSummary struct {
ProjectKey string `json:"project_key"`
ProjectLabel string `json:"project_label"`
Revision int64 `json:"revision,string"`
TeamId string `json:"team_id"`
UpdatedAt time.Time `json:"updated_at"`
}
ProjectSummary Saved project identity and configuration revision. Fetch configuration separately to read or edit its declarations.
type ProjectTargetDiscovery ¶
type ProjectTargetDiscovery struct {
Cluster *string `json:"cluster,omitempty"`
Endpoint *ProjectTargetDiscoveryEndpoint `json:"endpoint,omitempty"`
Instance *string `json:"instance,omitempty"`
Region string `json:"region"`
Type ProjectTargetDiscoveryType `json:"type"`
}
ProjectTargetDiscovery Exact provider selector resolved by the assigned publisher with its own AWS credentials. Control does not discover targets or credentials. EKS requires kubernetes; RDS requires postgres or mysql, verified against provider metadata.
type ProjectTargetDiscoveryEndpoint ¶
type ProjectTargetDiscoveryEndpoint string
ProjectTargetDiscoveryEndpoint defines model for ProjectTargetDiscovery.Endpoint.
const ( Reader ProjectTargetDiscoveryEndpoint = "reader" Writer ProjectTargetDiscoveryEndpoint = "writer" )
Defines values for ProjectTargetDiscoveryEndpoint.
func (ProjectTargetDiscoveryEndpoint) Valid ¶
func (e ProjectTargetDiscoveryEndpoint) Valid() bool
Valid indicates whether the value is a known member of the ProjectTargetDiscoveryEndpoint enum.
type ProjectTargetDiscoveryType ¶
type ProjectTargetDiscoveryType string
ProjectTargetDiscoveryType defines model for ProjectTargetDiscovery.Type.
const ( Eks ProjectTargetDiscoveryType = "eks" Rds ProjectTargetDiscoveryType = "rds" )
Defines values for ProjectTargetDiscoveryType.
func (ProjectTargetDiscoveryType) Valid ¶
func (e ProjectTargetDiscoveryType) Valid() bool
Valid indicates whether the value is a known member of the ProjectTargetDiscoveryType enum.
type ProjectTargetTLS ¶
type ProjectTargetTLS struct {
// CaPem CA certificates in PEM format, not a file path or URL. Do not include private keys.
CaPem *string `json:"ca_pem,omitempty"`
// Digest Computed by control and included in resolved configuration. Callers may omit it.
Digest string `json:"digest,omitempty"`
Hostname string `json:"hostname"`
// HostnameFromTarget System trust captured without a hostname override. Target updates follow the replacement origin's hostname. Omitted or false pins hostname, even when it equals the current target. Not allowed with ca_pem; for an address target, hostname must match its host.
HostnameFromTarget bool `json:"hostname_from_target,omitempty"`
}
ProjectTargetTLS Publisher-to-target TLS trust, separate from visitor TLS. ca_pem adds CA certificates to the publisher's system roots. Control computes digest from the exact hostname and CA bytes. Omit it when changing trust settings; a supplied digest must match.
type ProjectWebhook ¶
type ProjectWebhook struct {
Delivery *string `json:"delivery,omitempty"`
Methods *[]string `json:"methods,omitempty"`
Path string `json:"path"`
Provider WebhookProvider `json:"provider"`
Service string `json:"service"`
// SourceIps Explicit replacement for this endpoint's provider-managed sender ranges, not an additional union. No provider fetch is needed for this endpoint. Other endpoints retain their own source checks; applications still verify webhook signatures.
SourceIps *[]string `json:"source_ips,omitempty"`
}
ProjectWebhook defines model for ProjectWebhook.
type ProjectWorkload ¶
type ProjectWorkload struct {
Deployment string `json:"deployment"`
// Github Immutable repository metadata verified during trusted manager apply; job assertions never establish this binding. Unchanged applies reuse the saved binding.
Github *ProjectWorkloadGitHub `json:"github,omitempty"`
Gitlab *ProjectWorkloadGitLab `json:"gitlab,omitempty"`
// Google Service account selector retained by trusted apply. The verified numeric identity is the trust sub claim; this selector is setup metadata, not an assertion claim.
Google *ProjectWorkloadGoogle `json:"google,omitempty"`
// Kubernetes Trusted setup selectors retained for unchanged applies. The trust sub and service_account_uid claims define the approved service account identity; runtime never reads these setup selectors as credentials.
Kubernetes *ProjectWorkloadKubernetes `json:"kubernetes,omitempty"`
// MaxDurationSeconds Optional absolute session limit in seconds. Zero means no hard limit; permission leases and verified platform-proof expiry still apply.
MaxDurationSeconds int `json:"max_duration_seconds"`
Provider WorkloadProvider `json:"provider"`
Services []string `json:"services"`
Trust WorkloadTrust `json:"trust"`
}
ProjectWorkload defines model for ProjectWorkload.
type ProjectWorkloadGitHub ¶
type ProjectWorkloadGitHub struct {
// DefaultBranch Repository default branch resolved during trusted apply; reused when the declaration omits branch and tag.
DefaultBranch *string `json:"default_branch,omitempty"`
Environment *string `json:"environment,omitempty"`
Events []string `json:"events"`
JobWorkflowRef *string `json:"job_workflow_ref,omitempty"`
Ref string `json:"ref"`
Repository string `json:"repository"`
RepositoryId string `json:"repository_id"`
RepositoryOwnerId string `json:"repository_owner_id"`
WorkflowRef string `json:"workflow_ref"`
}
ProjectWorkloadGitHub Immutable repository metadata verified during trusted manager apply; job assertions never establish this binding. Unchanged applies reuse the saved binding.
type ProjectWorkloadGitLab ¶
type ProjectWorkloadGitLab struct {
DefaultBranch *string `json:"default_branch,omitempty"`
NamespaceId string `json:"namespace_id"`
Project string `json:"project"`
ProjectId string `json:"project_id"`
Server string `json:"server"`
}
ProjectWorkloadGitLab defines model for ProjectWorkloadGitLab.
type ProjectWorkloadGoogle ¶
type ProjectWorkloadGoogle struct {
ServiceAccount string `json:"service_account"`
}
ProjectWorkloadGoogle Service account selector retained by trusted apply. The verified numeric identity is the trust sub claim; this selector is setup metadata, not an assertion claim.
type ProjectWorkloadKubernetes ¶
type ProjectWorkloadKubernetes struct {
ClusterServer string `json:"cluster_server"`
Context string `json:"context"`
Namespace string `json:"namespace"`
ServiceAccount string `json:"service_account"`
}
ProjectWorkloadKubernetes Trusted setup selectors retained for unchanged applies. The trust sub and service_account_uid claims define the approved service account identity; runtime never reads these setup selectors as credentials.
type PublisherConnectionID ¶
type PublisherConnectionID = ResourceID
PublisherConnectionID defines model for PublisherConnectionID.
type PublisherConnectionState ¶
type PublisherConnectionState string
PublisherConnectionState defines model for PublisherConnectionState.
const ( PublisherConnectionStateAssigned PublisherConnectionState = "assigned" PublisherConnectionStateConnected PublisherConnectionState = "connected" PublisherConnectionStateReady PublisherConnectionState = "ready" PublisherConnectionStateReplacing PublisherConnectionState = "replacing" )
Defines values for PublisherConnectionState.
func (PublisherConnectionState) Valid ¶
func (e PublisherConnectionState) Valid() bool
Valid indicates whether the value is a known member of the PublisherConnectionState enum.
type PublisherDeploymentObservation ¶
type PublisherDeploymentObservation struct {
DeploymentId string `json:"deployment_id"`
Evidence PublisherDeploymentObservationEvidence `json:"evidence"`
FirstObservedAt time.Time `json:"first_observed_at"`
ObservedAt time.Time `json:"observed_at"`
// Report Deployment metadata reported by a deployment publisher and covered by its signed runtime assertion. It is not cloud attestation or permission. Values cannot change within a process run; deployment, provider, replica, and instance remain bound to the publisher identity across restarts.
Report PublisherDeploymentReport `json:"report"`
}
PublisherDeploymentObservation An accepted publisher deployment report, with control receipt times and a control-derived deployment_id. It does not prove cloud state, image identity, or target health. The deployment/deployment/replica combination belongs to this publisher identity.
type PublisherDeploymentObservationEvidence ¶
type PublisherDeploymentObservationEvidence string
PublisherDeploymentObservationEvidence defines model for PublisherDeploymentObservation.Evidence.
const (
PublisherReported PublisherDeploymentObservationEvidence = "publisher_reported"
)
Defines values for PublisherDeploymentObservationEvidence.
func (PublisherDeploymentObservationEvidence) Valid ¶
func (e PublisherDeploymentObservationEvidence) Valid() bool
Valid indicates whether the value is a known member of the PublisherDeploymentObservationEvidence enum.
type PublisherDeploymentReport ¶
type PublisherDeploymentReport struct {
DeploymentId string `json:"deployment_id"`
// Image Reported digest-pinned image reference, without a tag, scheme or credentials. Control does not inspect the running image.
Image string `json:"image"`
Instance string `json:"instance"`
Provider PublisherDeploymentReportProvider `json:"provider"`
ReplicaKey string `json:"replica_key"`
SoftwareVersion string `json:"software_version"`
TemplateSha256 string `json:"template_sha256"`
TemplateVersion string `json:"template_version"`
}
PublisherDeploymentReport Deployment metadata reported by a deployment publisher and covered by its signed runtime assertion. It is not cloud attestation or permission. Values cannot change within a process run; deployment, provider, replica, and instance remain bound to the publisher identity across restarts.
type PublisherDeploymentReportProvider ¶
type PublisherDeploymentReportProvider string
PublisherDeploymentReportProvider defines model for PublisherDeploymentReport.Provider.
const (
Aws PublisherDeploymentReportProvider = "aws"
)
Defines values for PublisherDeploymentReportProvider.
func (PublisherDeploymentReportProvider) Valid ¶
func (e PublisherDeploymentReportProvider) Valid() bool
Valid indicates whether the value is a known member of the PublisherDeploymentReportProvider enum.
type PublisherEnrollment ¶
type PublisherEnrollment struct {
DomainId *DomainID `json:"domain_id,omitempty"`
EnrollmentKey string `json:"enrollment_key"`
ExpiresAt time.Time `json:"expires_at"`
Id ResourceID `json:"id"`
Kind PublisherEnrollmentKind `json:"kind"`
Namespace *string `json:"namespace,omitempty"`
// Protocols Immutable protocols authorized for one actual exact service grant. The current service protocol must be included before the grant can authorize publication. Service edits, token exchange, key rotation, and retries never widen this set. This is independent of public reachability and visitor permission.
Protocols *PublisherServiceProtocols `json:"protocols,omitempty"`
ServiceId *ServiceID `json:"service_id,omitempty"`
TeamId TeamID `json:"team_id"`
}
PublisherEnrollment defines model for PublisherEnrollment.
type PublisherEnrollmentKind ¶
type PublisherEnrollmentKind string
PublisherEnrollmentKind defines model for PublisherEnrollment.Kind.
const ( PublisherEnrollmentKindNamespace PublisherEnrollmentKind = "namespace" PublisherEnrollmentKindService PublisherEnrollmentKind = "service" )
Defines values for PublisherEnrollmentKind.
func (PublisherEnrollmentKind) Valid ¶
func (e PublisherEnrollmentKind) Valid() bool
Valid indicates whether the value is a known member of the PublisherEnrollmentKind enum.
type PublisherEnrollmentResult ¶
type PublisherEnrollmentResult struct {
ClientId string `json:"client_id"`
DomainId *string `json:"domain_id,omitempty"`
ExpiresAt *time.Time `json:"expires_at,omitempty"`
GrantId string `json:"grant_id"`
GuestId GuestID `json:"guest_id,omitempty"`
KeyId string `json:"key_id"`
Kind PublisherEnrollmentResultKind `json:"kind"`
Namespace *string `json:"namespace,omitempty"`
ServiceId *ServiceID `json:"service_id,omitempty"`
TeamId string `json:"team_id,omitempty"`
}
PublisherEnrollmentResult Enrolled publisher key and its exact grant. Exactly one of team_id or guest_id identifies its owner. A guest receives only an exact service grant, bounded by the trial's fixed expiry; enrollment grants no service management or connector permission.
type PublisherEnrollmentResultKind ¶
type PublisherEnrollmentResultKind string
PublisherEnrollmentResultKind defines model for PublisherEnrollmentResult.Kind.
const ( PublisherEnrollmentResultKindNamespace PublisherEnrollmentResultKind = "namespace" PublisherEnrollmentResultKindService PublisherEnrollmentResultKind = "service" )
Defines values for PublisherEnrollmentResultKind.
func (PublisherEnrollmentResultKind) Valid ¶
func (e PublisherEnrollmentResultKind) Valid() bool
Valid indicates whether the value is a known member of the PublisherEnrollmentResultKind enum.
type PublisherGrant ¶
type PublisherGrant struct {
CreatedAt time.Time `json:"created_at"`
DomainId *DomainID `json:"domain_id,omitempty"`
ExpiresAt *time.Time `json:"expires_at,omitempty"`
GuestId GuestID `json:"guest_id,omitempty"`
Id ResourceID `json:"id"`
Kind PublisherGrantKind `json:"kind"`
Namespace *string `json:"namespace,omitempty"`
// Protocols Immutable protocols authorized for one actual exact service grant. The current service protocol must be included before the grant can authorize publication. Service edits, token exchange, key rotation, and retries never widen this set. This is independent of public reachability and visitor permission.
Protocols *PublisherServiceProtocols `json:"protocols,omitempty"`
RevokedAt *time.Time `json:"revoked_at,omitempty"`
ServiceId *ServiceID `json:"service_id,omitempty"`
TeamId TeamID `json:"team_id,omitempty"`
}
PublisherGrant Stored publisher grant with its actual team or trial owner. Guest publication is restricted to the exact service and fixed trial expiry; it grants no management, sharing, or connector access.
type PublisherGrantKind ¶
type PublisherGrantKind string
PublisherGrantKind defines model for PublisherGrant.Kind.
const ( PublisherGrantKindDeploymentCredential PublisherGrantKind = "deployment_credential" PublisherGrantKindNamespace PublisherGrantKind = "namespace" PublisherGrantKindService PublisherGrantKind = "service" )
Defines values for PublisherGrantKind.
func (PublisherGrantKind) Valid ¶
func (e PublisherGrantKind) Valid() bool
Valid indicates whether the value is a known member of the PublisherGrantKind enum.
type PublisherIdentity ¶
type PublisherIdentity struct {
CreatedAt time.Time `json:"created_at"`
Grants []PublisherGrant `json:"grants"`
GuestId GuestID `json:"guest_id,omitempty"`
Id ResourceID `json:"id"`
Kind PublisherIdentityKind `json:"kind"`
Name string `json:"name"`
OwnerMembershipId *MembershipID `json:"owner_membership_id,omitempty"`
Ownership PublisherIdentityOwnership `json:"ownership"`
RevokedAt *time.Time `json:"revoked_at,omitempty"`
// Runtime Last explicitly started runtime for this publisher identity, retained after stop or lease expiry. Active means its lease is live, not that the target is reachable or its egress IP is fixed. The source address seen by control can differ from the address used to reach targets and grants no access.
Runtime *PublisherRuntimeStatus `json:"runtime,omitempty"`
TeamId TeamID `json:"team_id,omitempty"`
}
PublisherIdentity defines model for PublisherIdentity.
type PublisherIdentityID ¶
type PublisherIdentityID = ResourceID
PublisherIdentityID defines model for PublisherIdentityID.
type PublisherIdentityKind ¶
type PublisherIdentityKind string
PublisherIdentityKind defines model for PublisherIdentity.Kind.
const ( PublisherIdentityKindAutomation PublisherIdentityKind = "automation" PublisherIdentityKindGuest PublisherIdentityKind = "guest" PublisherIdentityKindInstalled PublisherIdentityKind = "installed" PublisherIdentityKindRun PublisherIdentityKind = "run" )
Defines values for PublisherIdentityKind.
func (PublisherIdentityKind) Valid ¶
func (e PublisherIdentityKind) Valid() bool
Valid indicates whether the value is a known member of the PublisherIdentityKind enum.
type PublisherIdentityOwnership ¶
type PublisherIdentityOwnership string
PublisherIdentityOwnership defines model for PublisherIdentity.Ownership.
const ( PublisherOwnerGuest PublisherIdentityOwnership = "guest" PublisherOwnerMember PublisherIdentityOwnership = "member" PublisherOwnerTeam PublisherIdentityOwnership = "team" )
Defines values for PublisherIdentityOwnership.
func (PublisherIdentityOwnership) Valid ¶
func (e PublisherIdentityOwnership) Valid() bool
Valid indicates whether the value is a known member of the PublisherIdentityOwnership enum.
type PublisherIdentityPage ¶
type PublisherIdentityPage struct {
Identities []PublisherIdentity `json:"identities"`
NextCursor *ResourceID `json:"next_cursor,omitempty"`
}
PublisherIdentityPage defines model for PublisherIdentityPage.
type PublisherPolicyConfirmation ¶
type PublisherPolicyConfirmation struct {
ConfirmationKey string `json:"confirmation_key"`
Hostname string `json:"hostname"`
ObservedAt time.Time `json:"observed_at"`
ValidUntil time.Time `json:"valid_until"`
}
PublisherPolicyConfirmation defines model for PublisherPolicyConfirmation.
type PublisherRuntimeRequest ¶
type PublisherRuntimeRequest struct {
Action PublisherRuntimeRequestAction `json:"action"`
Assertion string `json:"assertion"`
// Deployment Deployment metadata reported by a deployment publisher and covered by its signed runtime assertion. It is not cloud attestation or permission. Values cannot change within a process run; deployment, provider, replica, and instance remain bound to the publisher identity across restarts.
Deployment *PublisherDeploymentReport `json:"deployment,omitempty"`
ExpectedEpoch int64 `json:"expected_epoch,string"`
ProcessRunId string `json:"process_run_id"`
PublisherIdentityId string `json:"publisher_identity_id"`
// ScopeId Immutable deployment ID for a deployment replica, or an exact live grant ID for an installed publisher.
ScopeId string `json:"scope_id"`
}
PublisherRuntimeRequest Signed runtime command. The publisher identity and action must match the endpoint; the one-use proof binds both, the remaining fields, and the full endpoint audience.
type PublisherRuntimeRequestAction ¶
type PublisherRuntimeRequestAction string
PublisherRuntimeRequestAction defines model for PublisherRuntimeRequest.Action.
const ( RuntimeInspect PublisherRuntimeRequestAction = "inspect" RuntimeRenew PublisherRuntimeRequestAction = "renew" RuntimeStart PublisherRuntimeRequestAction = "start" RuntimeStop PublisherRuntimeRequestAction = "stop" )
Defines values for PublisherRuntimeRequestAction.
func (PublisherRuntimeRequestAction) Valid ¶
func (e PublisherRuntimeRequestAction) Valid() bool
Valid indicates whether the value is a known member of the PublisherRuntimeRequestAction enum.
type PublisherRuntimeResponse ¶
type PublisherRuntimeResponse struct {
DeploymentLease *DeploymentPublisherLease `json:"deployment_lease,omitempty"`
Epoch int64 `json:"epoch,string"`
LeaseExpiresAt *time.Time `json:"lease_expires_at,omitempty"`
}
PublisherRuntimeResponse defines model for PublisherRuntimeResponse.
type PublisherRuntimeStatus ¶
type PublisherRuntimeStatus struct {
Active bool `json:"active"`
AddressFamily PublisherRuntimeStatusAddressFamily `json:"address_family"`
// Deployment An accepted publisher deployment report, with control receipt times and a control-derived deployment_id. It does not prove cloud state, image identity, or target health. The deployment/deployment/replica combination belongs to this publisher identity.
Deployment *PublisherDeploymentObservation `json:"deployment,omitempty"`
Epoch int64 `json:"epoch,string"`
Evidence PublisherRuntimeStatusEvidence `json:"evidence"`
LastSeenAt time.Time `json:"last_seen_at"`
LeaseExpiresAt time.Time `json:"lease_expires_at"`
ObservedAt time.Time `json:"observed_at"`
ProcessRunId string `json:"process_run_id"`
PublisherIdentityId string `json:"publisher_identity_id"`
StartedAt time.Time `json:"started_at"`
StoppedAt *time.Time `json:"stopped_at,omitempty"`
TeamId string `json:"team_id"`
}
PublisherRuntimeStatus Last explicitly started runtime for this publisher identity, retained after stop or lease expiry. Active means its lease is live, not that the target is reachable or its egress IP is fixed. The source address seen by control can differ from the address used to reach targets and grants no access.
type PublisherRuntimeStatusAddressFamily ¶
type PublisherRuntimeStatusAddressFamily string
PublisherRuntimeStatusAddressFamily defines model for PublisherRuntimeStatus.AddressFamily.
const ( PublisherRuntimeStatusAddressFamilyIpv4 PublisherRuntimeStatusAddressFamily = "ipv4" PublisherRuntimeStatusAddressFamilyIpv6 PublisherRuntimeStatusAddressFamily = "ipv6" PublisherRuntimeStatusAddressFamilyUnknown PublisherRuntimeStatusAddressFamily = "unknown" )
Defines values for PublisherRuntimeStatusAddressFamily.
func (PublisherRuntimeStatusAddressFamily) Valid ¶
func (e PublisherRuntimeStatusAddressFamily) Valid() bool
Valid indicates whether the value is a known member of the PublisherRuntimeStatusAddressFamily enum.
type PublisherRuntimeStatusEvidence ¶
type PublisherRuntimeStatusEvidence string
PublisherRuntimeStatusEvidence defines model for PublisherRuntimeStatus.Evidence.
const (
ControlObserved PublisherRuntimeStatusEvidence = "control_observed"
)
Defines values for PublisherRuntimeStatusEvidence.
func (PublisherRuntimeStatusEvidence) Valid ¶
func (e PublisherRuntimeStatusEvidence) Valid() bool
Valid indicates whether the value is a known member of the PublisherRuntimeStatusEvidence enum.
type PublisherServiceProtocols ¶
type PublisherServiceProtocols = []ServiceProtocol
PublisherServiceProtocols Immutable protocols authorized for one actual exact service grant. The current service protocol must be included before the grant can authorize publication. Service edits, token exchange, key rotation, and retries never widen this set. This is independent of public reachability and visitor permission.
type PublisherVisitorPolicyRequest ¶
type PublisherVisitorPolicyRequest struct {
AfterRevision int64 `json:"after_revision,string"`
// Hostname Select the run's canonical or currently authorized exact-run HTTP hostname. Omission selects the captured canonical identity.
Hostname string `json:"hostname,omitempty"`
// Resource An exact service authorization scope.
Resource VisitorResourceScope `json:"resource"`
RunId string `json:"run_id"`
RunNumber int64 `json:"run_number,string"`
}
PublisherVisitorPolicyRequest defines model for PublisherVisitorPolicyRequest.
type PublisherWatchChange ¶
type PublisherWatchChange struct {
// ConnectorRevision Current connector revision, or -1 if the scope is unavailable. Never confirms access or retirement.
ConnectorRevision int64 `json:"connector_revision,string"`
// PolicyBookmark An opaque change hint, empty for an unavailable scope. It never confirms access or renews a lease.
PolicyBookmark string `json:"policy_bookmark"`
ServiceRunId ServiceRunID `json:"service_run_id"`
}
PublisherWatchChange defines model for PublisherWatchChange.
type PublisherWatchRequest ¶
type PublisherWatchRequest struct {
Runs []PublisherWatchRun `json:"runs"`
}
PublisherWatchRequest defines model for PublisherWatchRequest.
type PublisherWatchResponse ¶
type PublisherWatchResponse struct {
Changes []PublisherWatchChange `json:"changes"`
}
PublisherWatchResponse defines model for PublisherWatchResponse.
type PublisherWatchRun ¶
type PublisherWatchRun struct {
// ConnectorRevision Last applied revision. Omit it to request an initial reconciliation.
ConnectorRevision *int64 `json:"connector_revision,string,omitempty"`
// PolicyBookmark Last applied policy change hint. Omit to reconcile initially.
PolicyBookmark *string `json:"policy_bookmark,omitempty"`
RunNumber int64 `json:"run_number,string"`
RunToken string `json:"run_token"`
ServiceId ServiceID `json:"service_id"`
ServiceRunId ServiceRunID `json:"service_run_id"`
}
PublisherWatchRun defines model for PublisherWatchRun.
type ReadPublisherVisitorPolicyJSONRequestBody ¶
type ReadPublisherVisitorPolicyJSONRequestBody = PublisherVisitorPolicyRequest
ReadPublisherVisitorPolicyJSONRequestBody defines body for ReadPublisherVisitorPolicy for application/json ContentType.
type ReadPublisherVisitorPolicyResponse ¶
type ReadPublisherVisitorPolicyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *VisitorPolicyUpdate
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseReadPublisherVisitorPolicyResponse ¶
func ParseReadPublisherVisitorPolicyResponse(rsp *http.Response) (*ReadPublisherVisitorPolicyResponse, error)
ParseReadPublisherVisitorPolicyResponse parses an HTTP response from a ReadPublisherVisitorPolicyWithResponse call
func (ReadPublisherVisitorPolicyResponse) ContentType ¶
func (r ReadPublisherVisitorPolicyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ReadPublisherVisitorPolicyResponse) GetApplicationproblemJSONDefault ¶
func (r ReadPublisherVisitorPolicyResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ReadPublisherVisitorPolicyResponse) GetBody ¶
func (r ReadPublisherVisitorPolicyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ReadPublisherVisitorPolicyResponse) GetJSON200 ¶
func (r ReadPublisherVisitorPolicyResponse) GetJSON200() *VisitorPolicyUpdate
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ReadPublisherVisitorPolicyResponse) Status ¶
func (r ReadPublisherVisitorPolicyResponse) Status() string
Status returns HTTPResponse.Status
func (ReadPublisherVisitorPolicyResponse) StatusCode ¶
func (r ReadPublisherVisitorPolicyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReadinessResponse ¶
type ReadinessResponse struct {
Checks struct {
// Control Control listeners and public control certificate are ready.
Control ReadinessResponseChecksControl `json:"control"`
Database ReadinessResponseChecksDatabase `json:"database"`
// Ingress Present in standalone; checks the ingress lease, routing table, and listener.
Ingress *ReadinessResponseChecksIngress `json:"ingress,omitempty"`
// Relay Present in standalone; checks both relay services and their listeners.
Relay *ReadinessResponseChecksRelay `json:"relay,omitempty"`
// Route53Credentials Present when control uses Route 53; checks that its AWS credentials can be obtained.
Route53Credentials *ReadinessResponseChecksRoute53Credentials `json:"route53_credentials,omitempty"`
} `json:"checks"`
Status ReadinessResponseStatus `json:"status"`
}
ReadinessResponse defines model for ReadinessResponse.
type ReadinessResponseChecksControl ¶
type ReadinessResponseChecksControl string
ReadinessResponseChecksControl Control listeners and public control certificate are ready.
const ( ReadinessResponseChecksControlFailed ReadinessResponseChecksControl = "failed" ReadinessResponseChecksControlOk ReadinessResponseChecksControl = "ok" )
Defines values for ReadinessResponseChecksControl.
func (ReadinessResponseChecksControl) Valid ¶
func (e ReadinessResponseChecksControl) Valid() bool
Valid indicates whether the value is a known member of the ReadinessResponseChecksControl enum.
type ReadinessResponseChecksDatabase ¶
type ReadinessResponseChecksDatabase string
ReadinessResponseChecksDatabase defines model for ReadinessResponse.Checks.Database.
const ( ReadinessResponseChecksDatabaseFailed ReadinessResponseChecksDatabase = "failed" ReadinessResponseChecksDatabaseOk ReadinessResponseChecksDatabase = "ok" )
Defines values for ReadinessResponseChecksDatabase.
func (ReadinessResponseChecksDatabase) Valid ¶
func (e ReadinessResponseChecksDatabase) Valid() bool
Valid indicates whether the value is a known member of the ReadinessResponseChecksDatabase enum.
type ReadinessResponseChecksIngress ¶
type ReadinessResponseChecksIngress string
ReadinessResponseChecksIngress Present in standalone; checks the ingress lease, routing table, and listener.
const ( ReadinessResponseChecksIngressFailed ReadinessResponseChecksIngress = "failed" ReadinessResponseChecksIngressOk ReadinessResponseChecksIngress = "ok" )
Defines values for ReadinessResponseChecksIngress.
func (ReadinessResponseChecksIngress) Valid ¶
func (e ReadinessResponseChecksIngress) Valid() bool
Valid indicates whether the value is a known member of the ReadinessResponseChecksIngress enum.
type ReadinessResponseChecksRelay ¶
type ReadinessResponseChecksRelay string
ReadinessResponseChecksRelay Present in standalone; checks both relay services and their listeners.
const ( ReadinessResponseChecksRelayFailed ReadinessResponseChecksRelay = "failed" ReadinessResponseChecksRelayOk ReadinessResponseChecksRelay = "ok" )
Defines values for ReadinessResponseChecksRelay.
func (ReadinessResponseChecksRelay) Valid ¶
func (e ReadinessResponseChecksRelay) Valid() bool
Valid indicates whether the value is a known member of the ReadinessResponseChecksRelay enum.
type ReadinessResponseChecksRoute53Credentials ¶
type ReadinessResponseChecksRoute53Credentials string
ReadinessResponseChecksRoute53Credentials Present when control uses Route 53; checks that its AWS credentials can be obtained.
const ( ReadinessResponseChecksRoute53CredentialsFailed ReadinessResponseChecksRoute53Credentials = "failed" ReadinessResponseChecksRoute53CredentialsOk ReadinessResponseChecksRoute53Credentials = "ok" )
Defines values for ReadinessResponseChecksRoute53Credentials.
func (ReadinessResponseChecksRoute53Credentials) Valid ¶
func (e ReadinessResponseChecksRoute53Credentials) Valid() bool
Valid indicates whether the value is a known member of the ReadinessResponseChecksRoute53Credentials enum.
type ReadinessResponseStatus ¶
type ReadinessResponseStatus string
ReadinessResponseStatus defines model for ReadinessResponse.Status.
const ( ReadinessResponseStatusNotReady ReadinessResponseStatus = "not_ready" ReadinessResponseStatusReady ReadinessResponseStatus = "ready" )
Defines values for ReadinessResponseStatus.
func (ReadinessResponseStatus) Valid ¶
func (e ReadinessResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the ReadinessResponseStatus enum.
type RealizeLocalProjectServiceJSONRequestBody ¶
type RealizeLocalProjectServiceJSONRequestBody = RealizeLocalProjectServiceRequest
RealizeLocalProjectServiceJSONRequestBody defines body for RealizeLocalProjectService for application/json ContentType.
type RealizeLocalProjectServiceRequest ¶
type RealizeLocalProjectServiceRequest struct {
Configuration ProjectServiceConfiguration `json:"configuration"`
PreviewPublisherId *ResourceID `json:"preview_publisher_id,omitempty"`
SourceFingerprint string `json:"source_fingerprint"`
TeamId string `json:"team_id"`
WorktreeKey string `json:"worktree_key"`
WorktreeLabel *string `json:"worktree_label,omitempty"`
}
RealizeLocalProjectServiceRequest Shared service policy for one local worktree. Native clients send persistent random source/worktree IDs and an app target; directory mappings, listener selection, readiness, and mounts stay local.
type RealizeLocalProjectServiceResponse ¶
type RealizeLocalProjectServiceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LocalProjectService
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseRealizeLocalProjectServiceResponse ¶
func ParseRealizeLocalProjectServiceResponse(rsp *http.Response) (*RealizeLocalProjectServiceResponse, error)
ParseRealizeLocalProjectServiceResponse parses an HTTP response from a RealizeLocalProjectServiceWithResponse call
func (RealizeLocalProjectServiceResponse) ContentType ¶
func (r RealizeLocalProjectServiceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RealizeLocalProjectServiceResponse) GetApplicationproblemJSONDefault ¶
func (r RealizeLocalProjectServiceResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (RealizeLocalProjectServiceResponse) GetBody ¶
func (r RealizeLocalProjectServiceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RealizeLocalProjectServiceResponse) GetJSON200 ¶
func (r RealizeLocalProjectServiceResponse) GetJSON200() *LocalProjectService
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RealizeLocalProjectServiceResponse) Status ¶
func (r RealizeLocalProjectServiceResponse) Status() string
Status returns HTTPResponse.Status
func (RealizeLocalProjectServiceResponse) StatusCode ¶
func (r RealizeLocalProjectServiceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RebindConnectorPeerPairJSONRequestBody ¶
type RebindConnectorPeerPairJSONRequestBody = ConnectorPeerPairRebindRequest
RebindConnectorPeerPairJSONRequestBody defines body for RebindConnectorPeerPair for application/json ContentType.
type RebindConnectorPeerPairResponse ¶
type RebindConnectorPeerPairResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ConnectorPeerPairRebindState
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseRebindConnectorPeerPairResponse ¶
func ParseRebindConnectorPeerPairResponse(rsp *http.Response) (*RebindConnectorPeerPairResponse, error)
ParseRebindConnectorPeerPairResponse parses an HTTP response from a RebindConnectorPeerPairWithResponse call
func (RebindConnectorPeerPairResponse) ContentType ¶
func (r RebindConnectorPeerPairResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RebindConnectorPeerPairResponse) GetApplicationproblemJSONDefault ¶
func (r RebindConnectorPeerPairResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (RebindConnectorPeerPairResponse) GetBody ¶
func (r RebindConnectorPeerPairResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RebindConnectorPeerPairResponse) GetJSON200 ¶
func (r RebindConnectorPeerPairResponse) GetJSON200() *ConnectorPeerPairRebindState
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RebindConnectorPeerPairResponse) Status ¶
func (r RebindConnectorPeerPairResponse) Status() string
Status returns HTTPResponse.Status
func (RebindConnectorPeerPairResponse) StatusCode ¶
func (r RebindConnectorPeerPairResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RedeemDeploymentPublisherEnrollmentJSONRequestBody ¶
type RedeemDeploymentPublisherEnrollmentJSONRequestBody = RedeemDeploymentPublisherEnrollmentRequest
RedeemDeploymentPublisherEnrollmentJSONRequestBody defines body for RedeemDeploymentPublisherEnrollment for application/json ContentType.
type RedeemDeploymentPublisherEnrollmentRequest ¶
type RedeemDeploymentPublisherEnrollmentRequest struct {
// DeploymentId If supplied, redeem only for this immutable deployment ID.
DeploymentId *string `json:"deployment_id,omitempty"`
EnrollmentKey string `json:"enrollment_key"`
// ProjectKey If supplied, redeem only for this project key.
ProjectKey *string `json:"project_key,omitempty"`
PublicKey string `json:"public_key"`
}
RedeemDeploymentPublisherEnrollmentRequest defines model for RedeemDeploymentPublisherEnrollmentRequest.
type RedeemDeploymentPublisherEnrollmentResponse ¶
type RedeemDeploymentPublisherEnrollmentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DeploymentPublisherIdentity
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseRedeemDeploymentPublisherEnrollmentResponse ¶
func ParseRedeemDeploymentPublisherEnrollmentResponse(rsp *http.Response) (*RedeemDeploymentPublisherEnrollmentResponse, error)
ParseRedeemDeploymentPublisherEnrollmentResponse parses an HTTP response from a RedeemDeploymentPublisherEnrollmentWithResponse call
func (RedeemDeploymentPublisherEnrollmentResponse) ContentType ¶
func (r RedeemDeploymentPublisherEnrollmentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RedeemDeploymentPublisherEnrollmentResponse) GetApplicationproblemJSONDefault ¶
func (r RedeemDeploymentPublisherEnrollmentResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (RedeemDeploymentPublisherEnrollmentResponse) GetBody ¶
func (r RedeemDeploymentPublisherEnrollmentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RedeemDeploymentPublisherEnrollmentResponse) GetJSON200 ¶
func (r RedeemDeploymentPublisherEnrollmentResponse) GetJSON200() *DeploymentPublisherIdentity
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RedeemDeploymentPublisherEnrollmentResponse) Status ¶
func (r RedeemDeploymentPublisherEnrollmentResponse) Status() string
Status returns HTTPResponse.Status
func (RedeemDeploymentPublisherEnrollmentResponse) StatusCode ¶
func (r RedeemDeploymentPublisherEnrollmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RedeemServiceBrowserHandoffJSONRequestBody ¶
type RedeemServiceBrowserHandoffJSONRequestBody = ServiceBrowserRequest
RedeemServiceBrowserHandoffJSONRequestBody defines body for RedeemServiceBrowserHandoff for application/json ContentType.
type RedeemServiceBrowserHandoffResponse ¶
type RedeemServiceBrowserHandoffResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BrowserHandoffResponse
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseRedeemServiceBrowserHandoffResponse ¶
func ParseRedeemServiceBrowserHandoffResponse(rsp *http.Response) (*RedeemServiceBrowserHandoffResponse, error)
ParseRedeemServiceBrowserHandoffResponse parses an HTTP response from a RedeemServiceBrowserHandoffWithResponse call
func (RedeemServiceBrowserHandoffResponse) ContentType ¶
func (r RedeemServiceBrowserHandoffResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RedeemServiceBrowserHandoffResponse) GetApplicationproblemJSONDefault ¶
func (r RedeemServiceBrowserHandoffResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (RedeemServiceBrowserHandoffResponse) GetBody ¶
func (r RedeemServiceBrowserHandoffResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RedeemServiceBrowserHandoffResponse) GetJSON200 ¶
func (r RedeemServiceBrowserHandoffResponse) GetJSON200() *BrowserHandoffResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RedeemServiceBrowserHandoffResponse) Status ¶
func (r RedeemServiceBrowserHandoffResponse) Status() string
Status returns HTTPResponse.Status
func (RedeemServiceBrowserHandoffResponse) StatusCode ¶
func (r RedeemServiceBrowserHandoffResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RedeemServiceShareJSONRequestBody ¶
type RedeemServiceShareJSONRequestBody = RedeemServiceShareRequest
RedeemServiceShareJSONRequestBody defines body for RedeemServiceShare for application/json ContentType.
type RedeemServiceShareRequest ¶
type RedeemServiceShareRequest struct {
// Hostname Exact HTTP hostname receiving the share cookie. Omission selects the canonical service hostname.
}
RedeemServiceShareRequest Supply either a share ID and secret, or a one-use handoff token. The exact publisher service run token authenticates this operation separately.
type RedeemServiceShareResponse ¶
type RedeemServiceShareResponse struct {
JSON200 *ShareRedemption
ApplicationproblemJSONDefault *Problem
}
func ParseRedeemServiceShareResponse ¶
func ParseRedeemServiceShareResponse(rsp *http.Response) (*RedeemServiceShareResponse, error)
ParseRedeemServiceShareResponse parses an HTTP response from a RedeemServiceShareWithResponse call
func (RedeemServiceShareResponse) ContentType ¶
func (r RedeemServiceShareResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RedeemServiceShareResponse) GetApplicationproblemJSONDefault ¶
func (r RedeemServiceShareResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (RedeemServiceShareResponse) GetBody ¶
func (r RedeemServiceShareResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RedeemServiceShareResponse) GetJSON200 ¶
func (r RedeemServiceShareResponse) GetJSON200() *ShareRedemption
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RedeemServiceShareResponse) Status ¶
func (r RedeemServiceShareResponse) Status() string
Status returns HTTPResponse.Status
func (RedeemServiceShareResponse) StatusCode ¶
func (r RedeemServiceShareResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RegisterDeploymentCredentialJSONRequestBody ¶
type RegisterDeploymentCredentialJSONRequestBody = RegisterDeploymentCredentialRequest
RegisterDeploymentCredentialJSONRequestBody defines body for RegisterDeploymentCredential for application/json ContentType.
type RegisterDeploymentCredentialParams ¶
type RegisterDeploymentCredentialParams struct {
TeamId TeamIDQuery `form:"team_id" json:"team_id"`
IdempotencyKey string `json:"Idempotency-Key"`
}
RegisterDeploymentCredentialParams defines parameters for RegisterDeploymentCredential.
type RegisterDeploymentCredentialRequest ¶
type RegisterDeploymentCredentialRequest struct {
// AllDeployments Explicitly approve all current and future deployments in this project. Required for runtime deployment creation. Does not approve future service names.
AllDeployments *RegisterDeploymentCredentialRequestAllDeployments `json:"all_deployments,omitempty"`
// DeploymentIds Exact existing deployment IDs, never names. Select this or all_deployments, not both.
DeploymentIds *[]string `json:"deployment_ids,omitempty"`
// ExpiresIn Fixed lifetime in seconds
ExpiresIn int `json:"expires_in"`
Name string `json:"name"`
// Permissions Independent fixed service allowlists. Management never implies connection or publication. Control captures existing protocols; removal or protocol changes permanently retire approval, even after rollback.
Permissions struct {
Connect *DeploymentCredentialServiceSelection `json:"connect,omitempty"`
Manage *DeploymentCredentialServiceSelection `json:"manage,omitempty"`
// Publish Independently approve named saved HTTP URLs, temporary allocation, or both. Named approval does not imply temporary allocation or permit editing saved visitor policy. No service declarations are needed for temporary-only approval.
Publish *DeploymentPublishSelection `json:"publish,omitempty"`
} `json:"permissions"`
// PublicKey Unpadded base64url Ed25519 public key. The caller keeps the private key.
PublicKey string `json:"public_key"`
// contains filtered or unexported fields
}
RegisterDeploymentCredentialRequest defines model for RegisterDeploymentCredentialRequest.
func (RegisterDeploymentCredentialRequest) AsRegisterDeploymentCredentialRequest0 ¶
func (t RegisterDeploymentCredentialRequest) AsRegisterDeploymentCredentialRequest0() (RegisterDeploymentCredentialRequest0, error)
AsRegisterDeploymentCredentialRequest0 returns the union data inside the RegisterDeploymentCredentialRequest as a RegisterDeploymentCredentialRequest0
func (RegisterDeploymentCredentialRequest) AsRegisterDeploymentCredentialRequest1 ¶
func (t RegisterDeploymentCredentialRequest) AsRegisterDeploymentCredentialRequest1() (RegisterDeploymentCredentialRequest1, error)
AsRegisterDeploymentCredentialRequest1 returns the union data inside the RegisterDeploymentCredentialRequest as a RegisterDeploymentCredentialRequest1
func (*RegisterDeploymentCredentialRequest) FromRegisterDeploymentCredentialRequest0 ¶
func (t *RegisterDeploymentCredentialRequest) FromRegisterDeploymentCredentialRequest0(v RegisterDeploymentCredentialRequest0) error
FromRegisterDeploymentCredentialRequest0 overwrites any union data inside the RegisterDeploymentCredentialRequest as the provided RegisterDeploymentCredentialRequest0
func (*RegisterDeploymentCredentialRequest) FromRegisterDeploymentCredentialRequest1 ¶
func (t *RegisterDeploymentCredentialRequest) FromRegisterDeploymentCredentialRequest1(v RegisterDeploymentCredentialRequest1) error
FromRegisterDeploymentCredentialRequest1 overwrites any union data inside the RegisterDeploymentCredentialRequest as the provided RegisterDeploymentCredentialRequest1
func (RegisterDeploymentCredentialRequest) MarshalJSON ¶
func (t RegisterDeploymentCredentialRequest) MarshalJSON() ([]byte, error)
func (*RegisterDeploymentCredentialRequest) MergeRegisterDeploymentCredentialRequest0 ¶
func (t *RegisterDeploymentCredentialRequest) MergeRegisterDeploymentCredentialRequest0(v RegisterDeploymentCredentialRequest0) error
MergeRegisterDeploymentCredentialRequest0 performs a merge with any union data inside the RegisterDeploymentCredentialRequest, using the provided RegisterDeploymentCredentialRequest0
func (*RegisterDeploymentCredentialRequest) MergeRegisterDeploymentCredentialRequest1 ¶
func (t *RegisterDeploymentCredentialRequest) MergeRegisterDeploymentCredentialRequest1(v RegisterDeploymentCredentialRequest1) error
MergeRegisterDeploymentCredentialRequest1 performs a merge with any union data inside the RegisterDeploymentCredentialRequest, using the provided RegisterDeploymentCredentialRequest1
func (*RegisterDeploymentCredentialRequest) UnmarshalJSON ¶
func (t *RegisterDeploymentCredentialRequest) UnmarshalJSON(b []byte) error
type RegisterDeploymentCredentialRequest0 ¶
type RegisterDeploymentCredentialRequest0 = interface{}
RegisterDeploymentCredentialRequest0 defines model for RegisterDeploymentCredentialRequest.0.
type RegisterDeploymentCredentialRequest1 ¶
type RegisterDeploymentCredentialRequest1 = interface{}
RegisterDeploymentCredentialRequest1 defines model for RegisterDeploymentCredentialRequest.1.
type RegisterDeploymentCredentialRequestAllDeployments ¶
type RegisterDeploymentCredentialRequestAllDeployments bool
RegisterDeploymentCredentialRequestAllDeployments Explicitly approve all current and future deployments in this project. Required for runtime deployment creation. Does not approve future service names.
const (
RegisterDeploymentCredentialRequestAllDeploymentsTrue RegisterDeploymentCredentialRequestAllDeployments = true
)
Defines values for RegisterDeploymentCredentialRequestAllDeployments.
func (RegisterDeploymentCredentialRequestAllDeployments) Valid ¶
func (e RegisterDeploymentCredentialRequestAllDeployments) Valid() bool
Valid indicates whether the value is a known member of the RegisterDeploymentCredentialRequestAllDeployments enum.
type RegisterDeploymentCredentialResponse ¶
type RegisterDeploymentCredentialResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *DeploymentCredential
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseRegisterDeploymentCredentialResponse ¶
func ParseRegisterDeploymentCredentialResponse(rsp *http.Response) (*RegisterDeploymentCredentialResponse, error)
ParseRegisterDeploymentCredentialResponse parses an HTTP response from a RegisterDeploymentCredentialWithResponse call
func (RegisterDeploymentCredentialResponse) ContentType ¶
func (r RegisterDeploymentCredentialResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RegisterDeploymentCredentialResponse) GetApplicationproblemJSONDefault ¶
func (r RegisterDeploymentCredentialResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (RegisterDeploymentCredentialResponse) GetBody ¶
func (r RegisterDeploymentCredentialResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RegisterDeploymentCredentialResponse) GetJSON201 ¶
func (r RegisterDeploymentCredentialResponse) GetJSON201() *DeploymentCredential
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (RegisterDeploymentCredentialResponse) Status ¶
func (r RegisterDeploymentCredentialResponse) Status() string
Status returns HTTPResponse.Status
func (RegisterDeploymentCredentialResponse) StatusCode ¶
func (r RegisterDeploymentCredentialResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RelayServiceID ¶
type RelayServiceID = ResourceID
RelayServiceID defines model for RelayServiceID.
type ReleaseServiceEndpointJSONRequestBody ¶
type ReleaseServiceEndpointJSONRequestBody = ReleaseServiceEndpointRequest
ReleaseServiceEndpointJSONRequestBody defines body for ReleaseServiceEndpoint for application/json ContentType.
type ReleaseServiceEndpointRequest ¶
type ReleaseServiceEndpointRequest struct {
ExpectedEndpointRevision int64 `json:"expected_endpoint_revision,string"`
ExpectedPort int `json:"expected_port"`
}
ReleaseServiceEndpointRequest defines model for ReleaseServiceEndpointRequest.
type ReleaseServiceEndpointResponse ¶
type ReleaseServiceEndpointResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Service
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseReleaseServiceEndpointResponse ¶
func ParseReleaseServiceEndpointResponse(rsp *http.Response) (*ReleaseServiceEndpointResponse, error)
ParseReleaseServiceEndpointResponse parses an HTTP response from a ReleaseServiceEndpointWithResponse call
func (ReleaseServiceEndpointResponse) ContentType ¶
func (r ReleaseServiceEndpointResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ReleaseServiceEndpointResponse) GetApplicationproblemJSONDefault ¶
func (r ReleaseServiceEndpointResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ReleaseServiceEndpointResponse) GetBody ¶
func (r ReleaseServiceEndpointResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ReleaseServiceEndpointResponse) GetJSON200 ¶
func (r ReleaseServiceEndpointResponse) GetJSON200() *Service
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ReleaseServiceEndpointResponse) Status ¶
func (r ReleaseServiceEndpointResponse) Status() string
Status returns HTTPResponse.Status
func (ReleaseServiceEndpointResponse) StatusCode ¶
func (r ReleaseServiceEndpointResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RenameDeploymentJSONRequestBody ¶
type RenameDeploymentJSONRequestBody = RenameDeploymentRequest
RenameDeploymentJSONRequestBody defines body for RenameDeployment for application/json ContentType.
type RenameDeploymentNamespaceJSONRequestBody ¶
type RenameDeploymentNamespaceJSONRequestBody = RenameDeploymentNamespaceRequest
RenameDeploymentNamespaceJSONRequestBody defines body for RenameDeploymentNamespace for application/json ContentType.
type RenameDeploymentNamespaceRequest ¶
type RenameDeploymentNamespaceRequest struct {
ExpectedRevision int64 `json:"expected_revision,string"`
IdempotencyKey string `json:"idempotency_key"`
NamespaceLabel string `json:"namespace_label"`
TeamId string `json:"team_id"`
}
RenameDeploymentNamespaceRequest defines model for RenameDeploymentNamespaceRequest.
type RenameDeploymentNamespaceResponse ¶
type RenameDeploymentNamespaceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AppliedProjectConfiguration
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseRenameDeploymentNamespaceResponse ¶
func ParseRenameDeploymentNamespaceResponse(rsp *http.Response) (*RenameDeploymentNamespaceResponse, error)
ParseRenameDeploymentNamespaceResponse parses an HTTP response from a RenameDeploymentNamespaceWithResponse call
func (RenameDeploymentNamespaceResponse) ContentType ¶
func (r RenameDeploymentNamespaceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RenameDeploymentNamespaceResponse) GetApplicationproblemJSONDefault ¶
func (r RenameDeploymentNamespaceResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (RenameDeploymentNamespaceResponse) GetBody ¶
func (r RenameDeploymentNamespaceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RenameDeploymentNamespaceResponse) GetJSON200 ¶
func (r RenameDeploymentNamespaceResponse) GetJSON200() *AppliedProjectConfiguration
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RenameDeploymentNamespaceResponse) Status ¶
func (r RenameDeploymentNamespaceResponse) Status() string
Status returns HTTPResponse.Status
func (RenameDeploymentNamespaceResponse) StatusCode ¶
func (r RenameDeploymentNamespaceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RenameDeploymentRequest ¶
type RenameDeploymentRequest struct {
ExpectedRevision int64 `json:"expected_revision,string"`
Name string `json:"name"`
TeamId string `json:"team_id"`
}
RenameDeploymentRequest defines model for RenameDeploymentRequest.
type RenameDeploymentResponse ¶
type RenameDeploymentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AppliedProjectConfiguration
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseRenameDeploymentResponse ¶
func ParseRenameDeploymentResponse(rsp *http.Response) (*RenameDeploymentResponse, error)
ParseRenameDeploymentResponse parses an HTTP response from a RenameDeploymentWithResponse call
func (RenameDeploymentResponse) ContentType ¶
func (r RenameDeploymentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RenameDeploymentResponse) GetApplicationproblemJSONDefault ¶
func (r RenameDeploymentResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (RenameDeploymentResponse) GetBody ¶
func (r RenameDeploymentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RenameDeploymentResponse) GetJSON200 ¶
func (r RenameDeploymentResponse) GetJSON200() *AppliedProjectConfiguration
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RenameDeploymentResponse) Status ¶
func (r RenameDeploymentResponse) Status() string
Status returns HTTPResponse.Status
func (RenameDeploymentResponse) StatusCode ¶
func (r RenameDeploymentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RenewConnectorPeerPairJSONRequestBody ¶
type RenewConnectorPeerPairJSONRequestBody = ConnectorPeerPairRequest
RenewConnectorPeerPairJSONRequestBody defines body for RenewConnectorPeerPair for application/json ContentType.
type RenewConnectorPeerPairResponse ¶
type RenewConnectorPeerPairResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ConnectorPeerPairRenewal
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseRenewConnectorPeerPairResponse ¶
func ParseRenewConnectorPeerPairResponse(rsp *http.Response) (*RenewConnectorPeerPairResponse, error)
ParseRenewConnectorPeerPairResponse parses an HTTP response from a RenewConnectorPeerPairWithResponse call
func (RenewConnectorPeerPairResponse) ContentType ¶
func (r RenewConnectorPeerPairResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RenewConnectorPeerPairResponse) GetApplicationproblemJSONDefault ¶
func (r RenewConnectorPeerPairResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (RenewConnectorPeerPairResponse) GetBody ¶
func (r RenewConnectorPeerPairResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RenewConnectorPeerPairResponse) GetJSON200 ¶
func (r RenewConnectorPeerPairResponse) GetJSON200() *ConnectorPeerPairRenewal
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RenewConnectorPeerPairResponse) Status ¶
func (r RenewConnectorPeerPairResponse) Status() string
Status returns HTTPResponse.Status
func (RenewConnectorPeerPairResponse) StatusCode ¶
func (r RenewConnectorPeerPairResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RenewPublisherRuntimeJSONRequestBody ¶
type RenewPublisherRuntimeJSONRequestBody = PublisherRuntimeRequest
RenewPublisherRuntimeJSONRequestBody defines body for RenewPublisherRuntime for application/json ContentType.
type RenewPublisherRuntimeResponse ¶
type RenewPublisherRuntimeResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublisherRuntimeResponse
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseRenewPublisherRuntimeResponse ¶
func ParseRenewPublisherRuntimeResponse(rsp *http.Response) (*RenewPublisherRuntimeResponse, error)
ParseRenewPublisherRuntimeResponse parses an HTTP response from a RenewPublisherRuntimeWithResponse call
func (RenewPublisherRuntimeResponse) ContentType ¶
func (r RenewPublisherRuntimeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RenewPublisherRuntimeResponse) GetApplicationproblemJSONDefault ¶
func (r RenewPublisherRuntimeResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (RenewPublisherRuntimeResponse) GetBody ¶
func (r RenewPublisherRuntimeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RenewPublisherRuntimeResponse) GetJSON200 ¶
func (r RenewPublisherRuntimeResponse) GetJSON200() *PublisherRuntimeResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RenewPublisherRuntimeResponse) Status ¶
func (r RenewPublisherRuntimeResponse) Status() string
Status returns HTTPResponse.Status
func (RenewPublisherRuntimeResponse) StatusCode ¶
func (r RenewPublisherRuntimeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RenewServiceRunJSONRequestBody ¶
type RenewServiceRunJSONRequestBody = ServiceRunHeartbeat
RenewServiceRunJSONRequestBody defines body for RenewServiceRun for application/json ContentType.
type RenewServiceRunResponse ¶
type RenewServiceRunResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ServiceRunState
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseRenewServiceRunResponse ¶
func ParseRenewServiceRunResponse(rsp *http.Response) (*RenewServiceRunResponse, error)
ParseRenewServiceRunResponse parses an HTTP response from a RenewServiceRunWithResponse call
func (RenewServiceRunResponse) ContentType ¶
func (r RenewServiceRunResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RenewServiceRunResponse) GetApplicationproblemJSONDefault ¶
func (r RenewServiceRunResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (RenewServiceRunResponse) GetBody ¶
func (r RenewServiceRunResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RenewServiceRunResponse) GetJSON200 ¶
func (r RenewServiceRunResponse) GetJSON200() *ServiceRunState
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RenewServiceRunResponse) Status ¶
func (r RenewServiceRunResponse) Status() string
Status returns HTTPResponse.Status
func (RenewServiceRunResponse) StatusCode ¶
func (r RenewServiceRunResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReportServiceRunObservationsJSONRequestBody ¶
type ReportServiceRunObservationsJSONRequestBody = ServiceRunObservations
ReportServiceRunObservationsJSONRequestBody defines body for ReportServiceRunObservations for application/json ContentType.
type ReportServiceRunObservationsResponse ¶
type ReportServiceRunObservationsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ServiceObservationResult
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseReportServiceRunObservationsResponse ¶
func ParseReportServiceRunObservationsResponse(rsp *http.Response) (*ReportServiceRunObservationsResponse, error)
ParseReportServiceRunObservationsResponse parses an HTTP response from a ReportServiceRunObservationsWithResponse call
func (ReportServiceRunObservationsResponse) ContentType ¶
func (r ReportServiceRunObservationsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ReportServiceRunObservationsResponse) GetApplicationproblemJSONDefault ¶
func (r ReportServiceRunObservationsResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ReportServiceRunObservationsResponse) GetBody ¶
func (r ReportServiceRunObservationsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ReportServiceRunObservationsResponse) GetJSON200 ¶
func (r ReportServiceRunObservationsResponse) GetJSON200() *ServiceObservationResult
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ReportServiceRunObservationsResponse) Status ¶
func (r ReportServiceRunObservationsResponse) Status() string
Status returns HTTPResponse.Status
func (ReportServiceRunObservationsResponse) StatusCode ¶
func (r ReportServiceRunObservationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type RequiredHeaderError ¶
func (*RequiredHeaderError) Error ¶
func (e *RequiredHeaderError) Error() string
func (*RequiredHeaderError) Unwrap ¶
func (e *RequiredHeaderError) Unwrap() error
type RequiredParamError ¶
type RequiredParamError struct {
ParamName string
}
func (*RequiredParamError) Error ¶
func (e *RequiredParamError) Error() string
type ResolveProjectSourceJSONRequestBody ¶
type ResolveProjectSourceJSONRequestBody = GitProjectSource
ResolveProjectSourceJSONRequestBody defines body for ResolveProjectSource for application/json ContentType.
type ResolveProjectSourceResponse ¶
type ResolveProjectSourceResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ProjectSourceIdentity
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseResolveProjectSourceResponse ¶
func ParseResolveProjectSourceResponse(rsp *http.Response) (*ResolveProjectSourceResponse, error)
ParseResolveProjectSourceResponse parses an HTTP response from a ResolveProjectSourceWithResponse call
func (ResolveProjectSourceResponse) ContentType ¶
func (r ResolveProjectSourceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ResolveProjectSourceResponse) GetApplicationproblemJSONDefault ¶
func (r ResolveProjectSourceResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ResolveProjectSourceResponse) GetBody ¶
func (r ResolveProjectSourceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ResolveProjectSourceResponse) GetJSON200 ¶
func (r ResolveProjectSourceResponse) GetJSON200() *ProjectSourceIdentity
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ResolveProjectSourceResponse) Status ¶
func (r ResolveProjectSourceResponse) Status() string
Status returns HTTPResponse.Status
func (ResolveProjectSourceResponse) StatusCode ¶
func (r ResolveProjectSourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RetireConnectorPeerPairJSONRequestBody ¶
type RetireConnectorPeerPairJSONRequestBody = ConnectorPeerPairRetireRequest
RetireConnectorPeerPairJSONRequestBody defines body for RetireConnectorPeerPair for application/json ContentType.
type RetireConnectorPeerPairResponse ¶
type RetireConnectorPeerPairResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ConnectorPeerPairRetirement
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *Problem
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *Problem
// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
ApplicationproblemJSON409 *Problem
// ApplicationproblemJSON503 the response for an HTTP 503 `application/problem+json` response
ApplicationproblemJSON503 *Problem
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *RetireConnectorPeerPairResponse200Headers
}
func ParseRetireConnectorPeerPairResponse ¶
func ParseRetireConnectorPeerPairResponse(rsp *http.Response) (*RetireConnectorPeerPairResponse, error)
ParseRetireConnectorPeerPairResponse parses an HTTP response from a RetireConnectorPeerPairWithResponse call
func (RetireConnectorPeerPairResponse) ContentType ¶
func (r RetireConnectorPeerPairResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RetireConnectorPeerPairResponse) GetApplicationproblemJSON400 ¶
func (r RetireConnectorPeerPairResponse) GetApplicationproblemJSON400() *Problem
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (RetireConnectorPeerPairResponse) GetApplicationproblemJSON403 ¶
func (r RetireConnectorPeerPairResponse) GetApplicationproblemJSON403() *Problem
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (RetireConnectorPeerPairResponse) GetApplicationproblemJSON409 ¶
func (r RetireConnectorPeerPairResponse) GetApplicationproblemJSON409() *Problem
GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response
func (RetireConnectorPeerPairResponse) GetApplicationproblemJSON503 ¶
func (r RetireConnectorPeerPairResponse) GetApplicationproblemJSON503() *Problem
GetApplicationproblemJSON503 returns the response for an HTTP 503 `application/problem+json` response
func (RetireConnectorPeerPairResponse) GetApplicationproblemJSONDefault ¶
func (r RetireConnectorPeerPairResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (RetireConnectorPeerPairResponse) GetBody ¶
func (r RetireConnectorPeerPairResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RetireConnectorPeerPairResponse) GetJSON200 ¶
func (r RetireConnectorPeerPairResponse) GetJSON200() *ConnectorPeerPairRetirement
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RetireConnectorPeerPairResponse) Status ¶
func (r RetireConnectorPeerPairResponse) Status() string
Status returns HTTPResponse.Status
func (RetireConnectorPeerPairResponse) StatusCode ¶
func (r RetireConnectorPeerPairResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RetireConnectorPeerPairResponse200Headers ¶
type RetireConnectorPeerPairResponse200Headers struct {
CacheControl *string
}
RetireConnectorPeerPairResponse200Headers the declared response headers of an HTTP 200 response for RetireConnectorPeerPair
type RetireProjectJSONBody ¶
type RetireProjectJSONBody struct {
ExpectedRevision int64 `json:"expected_revision,string"`
TeamId string `json:"team_id"`
}
RetireProjectJSONBody defines parameters for RetireProject.
type RetireProjectJSONRequestBody ¶
type RetireProjectJSONRequestBody RetireProjectJSONBody
RetireProjectJSONRequestBody defines body for RetireProject for application/json ContentType.
type RetireProjectResponse ¶
type RetireProjectResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AppliedProjectConfiguration
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseRetireProjectResponse ¶
func ParseRetireProjectResponse(rsp *http.Response) (*RetireProjectResponse, error)
ParseRetireProjectResponse parses an HTTP response from a RetireProjectWithResponse call
func (RetireProjectResponse) ContentType ¶
func (r RetireProjectResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RetireProjectResponse) GetApplicationproblemJSONDefault ¶
func (r RetireProjectResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (RetireProjectResponse) GetBody ¶
func (r RetireProjectResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RetireProjectResponse) GetJSON200 ¶
func (r RetireProjectResponse) GetJSON200() *AppliedProjectConfiguration
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RetireProjectResponse) Status ¶
func (r RetireProjectResponse) Status() string
Status returns HTTPResponse.Status
func (RetireProjectResponse) StatusCode ¶
func (r RetireProjectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReviewSchemaVersion ¶
type ReviewSchemaVersion = int
ReviewSchemaVersion Review data format version; writers currently emit 1. Separate from revisions and service run numbers.
type ReviewerFeedbackEventInputType ¶
type ReviewerFeedbackEventInputType string
ReviewerFeedbackEventInputType defines model for ReviewerFeedbackEventInputType.
const ( ReviewerFeedbackInputReopened ReviewerFeedbackEventInputType = "thread.reopened" ReviewerFeedbackInputReply ReviewerFeedbackEventInputType = "reply" ReviewerFeedbackInputResolved ReviewerFeedbackEventInputType = "thread.resolved" )
Defines values for ReviewerFeedbackEventInputType.
func (ReviewerFeedbackEventInputType) Valid ¶
func (e ReviewerFeedbackEventInputType) Valid() bool
Valid indicates whether the value is a known member of the ReviewerFeedbackEventInputType enum.
type ReviewerFeedbackReadRequest ¶
type ReviewerFeedbackReadRequest struct {
// Access Browser identity and visitor access are independent. Feedback writes require a current browser_cookie_secret for verified authorship, including guest previews. Control also rechecks current preview permission and team feedback restrictions; visit_allowed is an observation, not authority. Share, bearer, and connector proofs supply visit permission only.
Access FeedbackReviewerAccess `json:"access"`
AfterCursor *int64 `json:"after_cursor,omitempty,string"`
PreviewId PreviewID `json:"preview_id"`
RunNumber int64 `json:"run_number,string"`
}
ReviewerFeedbackReadRequest defines model for ReviewerFeedbackReadRequest.
type RevisionList ¶
type RevisionList []int64
RevisionList keeps revisions numeric in Go and exact decimal strings in JSON. encoding/json's string field option does not apply to slice elements.
func (RevisionList) MarshalJSON ¶
func (revisions RevisionList) MarshalJSON() ([]byte, error)
func (*RevisionList) UnmarshalJSON ¶
func (revisions *RevisionList) UnmarshalJSON(data []byte) error
type RevokeDeploymentPublisherParams ¶
type RevokeDeploymentPublisherParams struct {
TeamId TeamIDQuery `form:"team_id" json:"team_id"`
}
RevokeDeploymentPublisherParams defines parameters for RevokeDeploymentPublisher.
type RevokeDeploymentPublisherResponse ¶
type RevokeDeploymentPublisherResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseRevokeDeploymentPublisherResponse ¶
func ParseRevokeDeploymentPublisherResponse(rsp *http.Response) (*RevokeDeploymentPublisherResponse, error)
ParseRevokeDeploymentPublisherResponse parses an HTTP response from a RevokeDeploymentPublisherWithResponse call
func (RevokeDeploymentPublisherResponse) ContentType ¶
func (r RevokeDeploymentPublisherResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RevokeDeploymentPublisherResponse) GetApplicationproblemJSONDefault ¶
func (r RevokeDeploymentPublisherResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (RevokeDeploymentPublisherResponse) GetBody ¶
func (r RevokeDeploymentPublisherResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RevokeDeploymentPublisherResponse) Status ¶
func (r RevokeDeploymentPublisherResponse) Status() string
Status returns HTTPResponse.Status
func (RevokeDeploymentPublisherResponse) StatusCode ¶
func (r RevokeDeploymentPublisherResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RevokePublisherGrantParams ¶
type RevokePublisherGrantParams struct {
TeamId TeamIDQuery `form:"team_id" json:"team_id"`
}
RevokePublisherGrantParams defines parameters for RevokePublisherGrant.
type RevokePublisherGrantResponse ¶
type RevokePublisherGrantResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseRevokePublisherGrantResponse ¶
func ParseRevokePublisherGrantResponse(rsp *http.Response) (*RevokePublisherGrantResponse, error)
ParseRevokePublisherGrantResponse parses an HTTP response from a RevokePublisherGrantWithResponse call
func (RevokePublisherGrantResponse) ContentType ¶
func (r RevokePublisherGrantResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RevokePublisherGrantResponse) GetApplicationproblemJSONDefault ¶
func (r RevokePublisherGrantResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (RevokePublisherGrantResponse) GetBody ¶
func (r RevokePublisherGrantResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RevokePublisherGrantResponse) Status ¶
func (r RevokePublisherGrantResponse) Status() string
Status returns HTTPResponse.Status
func (RevokePublisherGrantResponse) StatusCode ¶
func (r RevokePublisherGrantResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RevokePublisherIdentityParams ¶
type RevokePublisherIdentityParams struct {
TeamId TeamIDQuery `form:"team_id" json:"team_id"`
}
RevokePublisherIdentityParams defines parameters for RevokePublisherIdentity.
type RevokePublisherIdentityResponse ¶
type RevokePublisherIdentityResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseRevokePublisherIdentityResponse ¶
func ParseRevokePublisherIdentityResponse(rsp *http.Response) (*RevokePublisherIdentityResponse, error)
ParseRevokePublisherIdentityResponse parses an HTTP response from a RevokePublisherIdentityWithResponse call
func (RevokePublisherIdentityResponse) ContentType ¶
func (r RevokePublisherIdentityResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RevokePublisherIdentityResponse) GetApplicationproblemJSONDefault ¶
func (r RevokePublisherIdentityResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (RevokePublisherIdentityResponse) GetBody ¶
func (r RevokePublisherIdentityResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RevokePublisherIdentityResponse) Status ¶
func (r RevokePublisherIdentityResponse) Status() string
Status returns HTTPResponse.Status
func (RevokePublisherIdentityResponse) StatusCode ¶
func (r RevokePublisherIdentityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RevokeServiceBrowserSessionJSONRequestBody ¶
type RevokeServiceBrowserSessionJSONRequestBody = ServiceBrowserRequest
RevokeServiceBrowserSessionJSONRequestBody defines body for RevokeServiceBrowserSession for application/json ContentType.
type RevokeServiceBrowserSessionResponse ¶
type RevokeServiceBrowserSessionResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseRevokeServiceBrowserSessionResponse ¶
func ParseRevokeServiceBrowserSessionResponse(rsp *http.Response) (*RevokeServiceBrowserSessionResponse, error)
ParseRevokeServiceBrowserSessionResponse parses an HTTP response from a RevokeServiceBrowserSessionWithResponse call
func (RevokeServiceBrowserSessionResponse) ContentType ¶
func (r RevokeServiceBrowserSessionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RevokeServiceBrowserSessionResponse) GetApplicationproblemJSONDefault ¶
func (r RevokeServiceBrowserSessionResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (RevokeServiceBrowserSessionResponse) GetBody ¶
func (r RevokeServiceBrowserSessionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RevokeServiceBrowserSessionResponse) Status ¶
func (r RevokeServiceBrowserSessionResponse) Status() string
Status returns HTTPResponse.Status
func (RevokeServiceBrowserSessionResponse) StatusCode ¶
func (r RevokeServiceBrowserSessionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RevokeServiceGrantResponse ¶
type RevokeServiceGrantResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseRevokeServiceGrantResponse ¶
func ParseRevokeServiceGrantResponse(rsp *http.Response) (*RevokeServiceGrantResponse, error)
ParseRevokeServiceGrantResponse parses an HTTP response from a RevokeServiceGrantWithResponse call
func (RevokeServiceGrantResponse) ContentType ¶
func (r RevokeServiceGrantResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RevokeServiceGrantResponse) GetApplicationproblemJSONDefault ¶
func (r RevokeServiceGrantResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (RevokeServiceGrantResponse) GetBody ¶
func (r RevokeServiceGrantResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RevokeServiceGrantResponse) Status ¶
func (r RevokeServiceGrantResponse) Status() string
Status returns HTTPResponse.Status
func (RevokeServiceGrantResponse) StatusCode ¶
func (r RevokeServiceGrantResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RevokeServiceHTTPGrantResponse ¶
type RevokeServiceHTTPGrantResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseRevokeServiceHTTPGrantResponse ¶
func ParseRevokeServiceHTTPGrantResponse(rsp *http.Response) (*RevokeServiceHTTPGrantResponse, error)
ParseRevokeServiceHTTPGrantResponse parses an HTTP response from a RevokeServiceHTTPGrantWithResponse call
func (RevokeServiceHTTPGrantResponse) ContentType ¶
func (r RevokeServiceHTTPGrantResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RevokeServiceHTTPGrantResponse) GetApplicationproblemJSONDefault ¶
func (r RevokeServiceHTTPGrantResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (RevokeServiceHTTPGrantResponse) GetBody ¶
func (r RevokeServiceHTTPGrantResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RevokeServiceHTTPGrantResponse) Status ¶
func (r RevokeServiceHTTPGrantResponse) Status() string
Status returns HTTPResponse.Status
func (RevokeServiceHTTPGrantResponse) StatusCode ¶
func (r RevokeServiceHTTPGrantResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RevokeServiceInvitationResponse ¶
type RevokeServiceInvitationResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseRevokeServiceInvitationResponse ¶
func ParseRevokeServiceInvitationResponse(rsp *http.Response) (*RevokeServiceInvitationResponse, error)
ParseRevokeServiceInvitationResponse parses an HTTP response from a RevokeServiceInvitationWithResponse call
func (RevokeServiceInvitationResponse) ContentType ¶
func (r RevokeServiceInvitationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RevokeServiceInvitationResponse) GetApplicationproblemJSONDefault ¶
func (r RevokeServiceInvitationResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (RevokeServiceInvitationResponse) GetBody ¶
func (r RevokeServiceInvitationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RevokeServiceInvitationResponse) Status ¶
func (r RevokeServiceInvitationResponse) Status() string
Status returns HTTPResponse.Status
func (RevokeServiceInvitationResponse) StatusCode ¶
func (r RevokeServiceInvitationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RevokeShareResponse ¶
func ParseRevokeShareResponse ¶
func ParseRevokeShareResponse(rsp *http.Response) (*RevokeShareResponse, error)
ParseRevokeShareResponse parses an HTTP response from a RevokeShareWithResponse call
func (RevokeShareResponse) ContentType ¶
func (r RevokeShareResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RevokeShareResponse) GetApplicationproblemJSONDefault ¶
func (r RevokeShareResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (RevokeShareResponse) GetBody ¶
func (r RevokeShareResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RevokeShareResponse) GetJSON200 ¶
func (r RevokeShareResponse) GetJSON200() *Share
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RevokeShareResponse) Status ¶
func (r RevokeShareResponse) Status() string
Status returns HTTPResponse.Status
func (RevokeShareResponse) StatusCode ¶
func (r RevokeShareResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RevokeVisitorDeviceResponse ¶
type RevokeVisitorDeviceResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseRevokeVisitorDeviceResponse ¶
func ParseRevokeVisitorDeviceResponse(rsp *http.Response) (*RevokeVisitorDeviceResponse, error)
ParseRevokeVisitorDeviceResponse parses an HTTP response from a RevokeVisitorDeviceWithResponse call
func (RevokeVisitorDeviceResponse) ContentType ¶
func (r RevokeVisitorDeviceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RevokeVisitorDeviceResponse) GetApplicationproblemJSONDefault ¶
func (r RevokeVisitorDeviceResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (RevokeVisitorDeviceResponse) GetBody ¶
func (r RevokeVisitorDeviceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RevokeVisitorDeviceResponse) Status ¶
func (r RevokeVisitorDeviceResponse) Status() string
Status returns HTTPResponse.Status
func (RevokeVisitorDeviceResponse) StatusCode ¶
func (r RevokeVisitorDeviceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SelectDeploymentServiceRunJSONBody ¶
type SelectDeploymentServiceRunJSONBody struct {
Source VisitorTokenSource `json:"source"`
}
SelectDeploymentServiceRunJSONBody defines parameters for SelectDeploymentServiceRun.
type SelectDeploymentServiceRunJSONRequestBody ¶
type SelectDeploymentServiceRunJSONRequestBody SelectDeploymentServiceRunJSONBody
SelectDeploymentServiceRunJSONRequestBody defines body for SelectDeploymentServiceRun for application/json ContentType.
type SelectDeploymentServiceRunParams ¶
type SelectDeploymentServiceRunParams struct {
TeamId TeamIDQuery `form:"team_id" json:"team_id"`
}
SelectDeploymentServiceRunParams defines parameters for SelectDeploymentServiceRun.
type SelectDeploymentServiceRunResponse ¶
type SelectDeploymentServiceRunResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ServiceSelection
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseSelectDeploymentServiceRunResponse ¶
func ParseSelectDeploymentServiceRunResponse(rsp *http.Response) (*SelectDeploymentServiceRunResponse, error)
ParseSelectDeploymentServiceRunResponse parses an HTTP response from a SelectDeploymentServiceRunWithResponse call
func (SelectDeploymentServiceRunResponse) ContentType ¶
func (r SelectDeploymentServiceRunResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SelectDeploymentServiceRunResponse) GetApplicationproblemJSONDefault ¶
func (r SelectDeploymentServiceRunResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (SelectDeploymentServiceRunResponse) GetBody ¶
func (r SelectDeploymentServiceRunResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SelectDeploymentServiceRunResponse) GetJSON200 ¶
func (r SelectDeploymentServiceRunResponse) GetJSON200() *ServiceSelection
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SelectDeploymentServiceRunResponse) Status ¶
func (r SelectDeploymentServiceRunResponse) Status() string
Status returns HTTPResponse.Status
func (SelectDeploymentServiceRunResponse) StatusCode ¶
func (r SelectDeploymentServiceRunResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SelectServiceRunJSONBody ¶
type SelectServiceRunJSONBody struct {
DeviceId string `json:"device_id"`
}
SelectServiceRunJSONBody defines parameters for SelectServiceRun.
type SelectServiceRunJSONRequestBody ¶
type SelectServiceRunJSONRequestBody SelectServiceRunJSONBody
SelectServiceRunJSONRequestBody defines body for SelectServiceRun for application/json ContentType.
type SelectServiceRunResponse ¶
type SelectServiceRunResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ServiceSelection
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseSelectServiceRunResponse ¶
func ParseSelectServiceRunResponse(rsp *http.Response) (*SelectServiceRunResponse, error)
ParseSelectServiceRunResponse parses an HTTP response from a SelectServiceRunWithResponse call
func (SelectServiceRunResponse) ContentType ¶
func (r SelectServiceRunResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SelectServiceRunResponse) GetApplicationproblemJSONDefault ¶
func (r SelectServiceRunResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (SelectServiceRunResponse) GetBody ¶
func (r SelectServiceRunResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SelectServiceRunResponse) GetJSON201 ¶
func (r SelectServiceRunResponse) GetJSON201() *ServiceSelection
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (SelectServiceRunResponse) Status ¶
func (r SelectServiceRunResponse) Status() string
Status returns HTTPResponse.Status
func (SelectServiceRunResponse) StatusCode ¶
func (r SelectServiceRunResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SelectWorkloadServiceRunResponse ¶
type SelectWorkloadServiceRunResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ServiceSelection
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseSelectWorkloadServiceRunResponse ¶
func ParseSelectWorkloadServiceRunResponse(rsp *http.Response) (*SelectWorkloadServiceRunResponse, error)
ParseSelectWorkloadServiceRunResponse parses an HTTP response from a SelectWorkloadServiceRunWithResponse call
func (SelectWorkloadServiceRunResponse) ContentType ¶
func (r SelectWorkloadServiceRunResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SelectWorkloadServiceRunResponse) GetApplicationproblemJSONDefault ¶
func (r SelectWorkloadServiceRunResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (SelectWorkloadServiceRunResponse) GetBody ¶
func (r SelectWorkloadServiceRunResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SelectWorkloadServiceRunResponse) GetJSON200 ¶
func (r SelectWorkloadServiceRunResponse) GetJSON200() *ServiceSelection
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SelectWorkloadServiceRunResponse) Status ¶
func (r SelectWorkloadServiceRunResponse) Status() string
Status returns HTTPResponse.Status
func (SelectWorkloadServiceRunResponse) StatusCode ¶
func (r SelectWorkloadServiceRunResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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 {
// ListMaintenanceControls List maintenance controls
// (GET /v1/admin/maintenance-controls)
ListMaintenanceControls(w http.ResponseWriter, r *http.Request)
// SetMaintenanceControl Set one maintenance control
// (PUT /v1/admin/maintenance-controls/{control_name})
SetMaintenanceControl(w http.ResponseWriter, r *http.Request, controlName MaintenanceControlName)
// ListAdminRelays List relay leases
// (GET /v1/admin/relays)
ListAdminRelays(w http.ResponseWriter, r *http.Request, params ListAdminRelaysParams)
// DrainAdminRelay Remove a matching relay lease from placement and begin draining
// (POST /v1/admin/relays/{relay_id}/drain)
DrainAdminRelay(w http.ResponseWriter, r *http.Request, relayId RelayID)
// GetAdminServerStatus Read control, ingress, and relay status
// (GET /v1/admin/status)
GetAdminServerStatus(w http.ResponseWriter, r *http.Request)
// CompletePreviewBrowserLogin Return a signed-in visitor to the preview
// (GET /v1/browser/callback)
CompletePreviewBrowserLogin(w http.ResponseWriter, r *http.Request, params CompletePreviewBrowserLoginParams)
// BeginServiceBrowserLogin Start browser sign-in for one HTTP service
// (GET /v1/browser/service-login)
BeginServiceBrowserLogin(w http.ResponseWriter, r *http.Request, params BeginServiceBrowserLoginParams)
// GetClientIP Return the requesting client's public IP address
// (GET /v1/client-ip)
GetClientIP(w http.ResponseWriter, r *http.Request)
// GetControlDiscovery Describe control and its authentication methods
// (GET /v1/discovery)
GetControlDiscovery(w http.ResponseWriter, r *http.Request)
// AuthorizeImplementerFeedback Check current management access for one local feedback operation
// (POST /v1/feedback/authorization)
AuthorizeImplementerFeedback(w http.ResponseWriter, r *http.Request)
// CreateGuestDemo Create a restricted guest credential for the built-in demo
// (POST /v1/guest-demo)
CreateGuestDemo(w http.ResponseWriter, r *http.Request)
// EnrollGuestPublisher Enroll a publisher key for this trial's exact demo service
// (POST /v1/guest-demo/publisher)
EnrollGuestPublisher(w http.ResponseWriter, r *http.Request)
// AllocateGuestDemoService Allocate or recover this trial's exact demo service
// (POST /v1/guest-demo/services)
AllocateGuestDemoService(w http.ResponseWriter, r *http.Request, params AllocateGuestDemoServiceParams)
// GetHealth Confirm that the control HTTP server is serving
// (GET /v1/health)
GetHealth(w http.ResponseWriter, r *http.Request)
// ListPreviews List the caller's previews
// (GET /v1/previews)
ListPreviews(w http.ResponseWriter, r *http.Request, params ListPreviewsParams)
// CreatePreview Create or reuse a preview for one team
// (POST /v1/previews)
CreatePreview(w http.ResponseWriter, r *http.Request, params CreatePreviewParams)
// GetPreview Read a preview and its services
// (GET /v1/previews/{preview_id})
GetPreview(w http.ResponseWriter, r *http.Request, previewId PreviewID)
// AddPreviewService Add an authorized service to a preview
// (POST /v1/previews/{preview_id}/services)
AddPreviewService(w http.ResponseWriter, r *http.Request, previewId PreviewID)
// (GET /v1/previews/{preview_id}/shares)
ListShares(w http.ResponseWriter, r *http.Request, previewId PreviewID, params ListSharesParams)
// (POST /v1/previews/{preview_id}/shares)
CreateShare(w http.ResponseWriter, r *http.Request, previewId PreviewID, params CreateShareParams)
// SetPreviewTeamAccess Enable or disable team visitor access for this preview
// (PUT /v1/previews/{preview_id}/team-access)
SetPreviewTeamAccess(w http.ResponseWriter, r *http.Request, previewId PreviewID)
// ListProjects List applied projects
// (GET /v1/projects)
ListProjects(w http.ResponseWriter, r *http.Request, params ListProjectsParams)
// ResolveProjectSource Resolve a project's portable source selector
// (POST /v1/projects/resolve-source)
ResolveProjectSource(w http.ResponseWriter, r *http.Request)
// GetProjectConfiguration Read a project's applied configuration and publisher status
// (GET /v1/projects/{project_key}/configuration)
GetProjectConfiguration(w http.ResponseWriter, r *http.Request, projectKey string, params GetProjectConfigurationParams)
// ApplyProjectConfiguration Apply a project's desired services and deployments
// (PUT /v1/projects/{project_key}/configuration)
ApplyProjectConfiguration(w http.ResponseWriter, r *http.Request, projectKey string)
// RegisterDeploymentCredential Register scoped deployment permissions
// (POST /v1/projects/{project_key}/deployment-credentials)
RegisterDeploymentCredential(w http.ResponseWriter, r *http.Request, projectKey string, params RegisterDeploymentCredentialParams)
// ListDeployments List authorized deployments
// (GET /v1/projects/{project_key}/deployments)
ListDeployments(w http.ResponseWriter, r *http.Request, projectKey string, params ListDeploymentsParams)
// CreateDeployment Create a saved deployment
// (POST /v1/projects/{project_key}/deployments)
CreateDeployment(w http.ResponseWriter, r *http.Request, projectKey string, params CreateDeploymentParams)
// DeleteDeployment Retire a deployment
// (DELETE /v1/projects/{project_key}/deployments/{deployment})
DeleteDeployment(w http.ResponseWriter, r *http.Request, projectKey string, deployment string, params DeleteDeploymentParams)
// GetDeployment Read one deployment
// (GET /v1/projects/{project_key}/deployments/{deployment})
GetDeployment(w http.ResponseWriter, r *http.Request, projectKey string, deployment string, params GetDeploymentParams)
// UpdateDeployment Update selected deployment targets
// (PATCH /v1/projects/{project_key}/deployments/{deployment})
UpdateDeployment(w http.ResponseWriter, r *http.Request, projectKey string, deployment string, params UpdateDeploymentParams)
// RenameDeploymentNamespace Replace a deployment's DNS namespace label
// (POST /v1/projects/{project_key}/deployments/{deployment}/namespace/rename)
RenameDeploymentNamespace(w http.ResponseWriter, r *http.Request, projectKey string, deployment string)
// CreateDeploymentPublisherEnrollment Approve scoped publisher enrollment
// (POST /v1/projects/{project_key}/deployments/{deployment}/publisher-enrollments)
CreateDeploymentPublisherEnrollment(w http.ResponseWriter, r *http.Request, projectKey string, deployment string, params CreateDeploymentPublisherEnrollmentParams)
// ListDeploymentPublishers List a deployment's publishers
// (GET /v1/projects/{project_key}/deployments/{deployment}/publishers)
ListDeploymentPublishers(w http.ResponseWriter, r *http.Request, projectKey string, deployment string, params ListDeploymentPublishersParams)
// RevokeDeploymentPublisher Revoke one deployment publisher
// (DELETE /v1/projects/{project_key}/deployments/{deployment}/publishers/{publisher})
RevokeDeploymentPublisher(w http.ResponseWriter, r *http.Request, projectKey string, deployment string, publisher string, params RevokeDeploymentPublisherParams)
// GetDeploymentPublisher Read one deployment publisher
// (GET /v1/projects/{project_key}/deployments/{deployment}/publishers/{publisher})
GetDeploymentPublisher(w http.ResponseWriter, r *http.Request, projectKey string, deployment string, publisher string, params GetDeploymentPublisherParams)
// RenameDeployment Rename a deployment's configuration selector without changing endpoints
// (POST /v1/projects/{project_key}/deployments/{deployment}/rename)
RenameDeployment(w http.ResponseWriter, r *http.Request, projectKey string, deployment string)
// AllocateDeploymentPublication Allocate an approved temporary HTTP service
// (POST /v1/projects/{project_key}/deployments/{deployment}/services)
AllocateDeploymentPublication(w http.ResponseWriter, r *http.Request, projectKey string, deployment string, params AllocateDeploymentPublicationParams)
// GetDeploymentPublication Resolve an approved HTTP service for publication
// (GET /v1/projects/{project_key}/deployments/{deployment}/services/{service}/publication)
GetDeploymentPublication(w http.ResponseWriter, r *http.Request, projectKey string, deployment string, service string, params GetDeploymentPublicationParams)
// SelectDeploymentServiceRun Select an authorized deployment service run
// (POST /v1/projects/{project_key}/deployments/{deployment}/services/{service}/select)
SelectDeploymentServiceRun(w http.ResponseWriter, r *http.Request, projectKey string, deployment string, service string, params SelectDeploymentServiceRunParams)
// GetLocalProjectService Resolve one existing source-bound worktree service
// (GET /v1/projects/{project_key}/local-services/{service})
GetLocalProjectService(w http.ResponseWriter, r *http.Request, projectKey string, service string, params GetLocalProjectServiceParams)
// RealizeLocalProjectService Realize one declared local service for a worktree
// (PUT /v1/projects/{project_key}/local-services/{service})
RealizeLocalProjectService(w http.ResponseWriter, r *http.Request, projectKey string, service string)
// GetProjectPublicMetadata Read visitor-safe project service identities and hostnames
// (GET /v1/projects/{project_key}/public-metadata)
GetProjectPublicMetadata(w http.ResponseWriter, r *http.Request, projectKey string, params GetProjectPublicMetadataParams)
// RetireProject Retire an applied project and its configuration-owned resources
// (POST /v1/projects/{project_key}/retire)
RetireProject(w http.ResponseWriter, r *http.Request, projectKey string)
// GetProjectService Resolve an applied service by project source and key
// (GET /v1/projects/{project_key}/services/{service})
GetProjectService(w http.ResponseWriter, r *http.Request, projectKey string, service ServiceName, params GetProjectServiceParams)
// GetProjectStatus Inspect project publications across worktrees and deployments
// (GET /v1/projects/{project_key}/status)
GetProjectStatus(w http.ResponseWriter, r *http.Request, projectKey string, params GetProjectStatusParams)
// CreatePublisherEnrollment Issue an expiring one-use publisher enrollment
// (POST /v1/publisher-enrollments)
CreatePublisherEnrollment(w http.ResponseWriter, r *http.Request)
// ListPublisherIdentities List publisher identities and grants without secrets
// (GET /v1/publisher-identities)
ListPublisherIdentities(w http.ResponseWriter, r *http.Request, params ListPublisherIdentitiesParams)
// RevokePublisherIdentity Revoke an identity independently of its grants
// (DELETE /v1/publisher-identities/{publisher_identity_id})
RevokePublisherIdentity(w http.ResponseWriter, r *http.Request, publisherIdentityId PublisherIdentityID, params RevokePublisherIdentityParams)
// CreatePublisherGrant Add one authorized scope to a publisher identity
// (POST /v1/publisher-identities/{publisher_identity_id}/grants)
CreatePublisherGrant(w http.ResponseWriter, r *http.Request, publisherIdentityId PublisherIdentityID)
// RevokePublisherGrant Revoke one publisher grant without revoking the identity
// (DELETE /v1/publisher-identities/{publisher_identity_id}/grants/{grant_id})
RevokePublisherGrant(w http.ResponseWriter, r *http.Request, publisherIdentityId PublisherIdentityID, grantId ResourceID, params RevokePublisherGrantParams)
// GetDeploymentPublisherAssignments Read services and grants assigned to one leased deployment replica
// (GET /v1/publisher/deployments/assignments)
GetDeploymentPublisherAssignments(w http.ResponseWriter, r *http.Request, params GetDeploymentPublisherAssignmentsParams)
// AcknowledgeDeploymentPublisherConfiguration Acknowledge the exact configuration installed by a deployment replica
// (POST /v1/publisher/deployments/configuration-acknowledgements)
AcknowledgeDeploymentPublisherConfiguration(w http.ResponseWriter, r *http.Request)
// RedeemDeploymentPublisherEnrollment Enroll a replica's signing key with a deployment enrollment secret
// (POST /v1/publisher/deployments/enroll)
RedeemDeploymentPublisherEnrollment(w http.ResponseWriter, r *http.Request)
// AcquireDeploymentPublisherLease Exchange a signed replica assertion for a deployment lease
// (POST /v1/publisher/deployments/lease)
AcquireDeploymentPublisherLease(w http.ResponseWriter, r *http.Request)
// VerifyDeploymentIdentity Verify a replica's deployment membership without acquiring a lease
// (POST /v1/publisher/deployments/verify)
VerifyDeploymentIdentity(w http.ResponseWriter, r *http.Request)
// InspectPublisherRuntime Inspect a publisher runtime
// (POST /v1/publisher/runtimes/{publisher_identity_id}/inspect)
InspectPublisherRuntime(w http.ResponseWriter, r *http.Request, publisherIdentityId PublisherIdentityID)
// RenewPublisherRuntime Renew a publisher runtime
// (POST /v1/publisher/runtimes/{publisher_identity_id}/renew)
RenewPublisherRuntime(w http.ResponseWriter, r *http.Request, publisherIdentityId PublisherIdentityID)
// StartPublisherRuntime Start a publisher runtime
// (POST /v1/publisher/runtimes/{publisher_identity_id}/start)
StartPublisherRuntime(w http.ResponseWriter, r *http.Request, publisherIdentityId PublisherIdentityID)
// StopPublisherRuntime Stop a publisher runtime
// (POST /v1/publisher/runtimes/{publisher_identity_id}/stop)
StopPublisherRuntime(w http.ResponseWriter, r *http.Request, publisherIdentityId PublisherIdentityID)
// AllocatePublisherService Allocate a temporary HTTP service
// (POST /v1/publisher/services)
AllocatePublisherService(w http.ResponseWriter, r *http.Request)
// DeletePublisherService Delete this credential's exact temporary service allocation
// (DELETE /v1/publisher/services/{service_id})
DeletePublisherService(w http.ResponseWriter, r *http.Request, serviceId ServiceID)
// GetPublisherService Read one service covered by the current publisher grant
// (GET /v1/publisher/services/{service_id})
GetPublisherService(w http.ResponseWriter, r *http.Request, serviceId ServiceID)
// WatchPublisherRuns Wait for changes to exact, authenticated service runs
// (POST /v1/publisher/watch)
WatchPublisherRuns(w http.ResponseWriter, r *http.Request)
// GetReadiness Confirm that the tnld role is ready to serve
// (GET /v1/ready)
GetReadiness(w http.ResponseWriter, r *http.Request)
// GetServiceByHostname Read one saved service by its exact hostname
// (GET /v1/service-addresses/{hostname})
GetServiceByHostname(w http.ResponseWriter, r *http.Request, hostname string, params GetServiceByHostnameParams)
// AcceptServiceInvitation Accept an invitation for the signed-in verified email identity
// (POST /v1/service-invitations/accept)
AcceptServiceInvitation(w http.ResponseWriter, r *http.Request)
// ListServices List manageable saved services in one team
// (GET /v1/services)
ListServices(w http.ResponseWriter, r *http.Request, params ListServicesParams)
// CreateService Create one saved service with approved protocol and placement
// (POST /v1/services)
CreateService(w http.ResponseWriter, r *http.Request, params CreateServiceParams)
// DeleteService Delete a saved service and revoke its active publication
// (DELETE /v1/services/{service_id})
DeleteService(w http.ResponseWriter, r *http.Request, serviceId ServiceID, params DeleteServiceParams)
// GetService Read one saved service for management
// (GET /v1/services/{service_id})
GetService(w http.ResponseWriter, r *http.Request, serviceId ServiceID)
// ConfigureService Replace a service's approved settings and standalone declaration
// (PUT /v1/services/{service_id})
ConfigureService(w http.ResponseWriter, r *http.Request, serviceId ServiceID)
// IssueServiceClientCertificate Issue a service-scoped client certificate for an enrolled device
// (POST /v1/services/{service_id}/client-certificates)
IssueServiceClientCertificate(w http.ResponseWriter, r *http.Request, serviceId ServiceID)
// GetServiceConfiguration Read one service's protected saved declaration
// (GET /v1/services/{service_id}/configuration)
GetServiceConfiguration(w http.ResponseWriter, r *http.Request, serviceId ServiceID)
// PrepareConnectorPeerPair Prepare a signed connector pair for an exact ready service run
// (POST /v1/services/{service_id}/connector-peer-pairs)
PrepareConnectorPeerPair(w http.ResponseWriter, r *http.Request, serviceId ServiceID)
// RebindConnectorPeerPair Inspect or change a retained connector pair's network binding
// (POST /v1/services/{service_id}/connector-peer-pairs/{pair_id}/rebind)
RebindConnectorPeerPair(w http.ResponseWriter, r *http.Request, serviceId ServiceID, pairId string)
// RenewConnectorPeerPair Renew an exact signed connector pair and visitor permission
// (POST /v1/services/{service_id}/connector-peer-pairs/{pair_id}/renew)
RenewConnectorPeerPair(w http.ResponseWriter, r *http.Request, serviceId ServiceID, pairId string)
// RetireConnectorPeerPair Retire one exact connector pair without renewing serving authority
// (POST /v1/services/{service_id}/connector-peer-pairs/{pair_id}/retire)
RetireConnectorPeerPair(w http.ResponseWriter, r *http.Request, serviceId ServiceID, pairId string)
// SetServiceEnabled Suspend or enable a saved service
// (PUT /v1/services/{service_id}/enabled)
SetServiceEnabled(w http.ResponseWriter, r *http.Request, serviceId ServiceID)
// ReleaseServiceEndpoint Retire a disabled service's public port reservation
// (POST /v1/services/{service_id}/endpoint/release)
ReleaseServiceEndpoint(w http.ResponseWriter, r *http.Request, serviceId ServiceID)
// ListServiceGrants List a service's visitor grants and retained history
// (GET /v1/services/{service_id}/grants)
ListServiceGrants(w http.ResponseWriter, r *http.Request, serviceId ServiceID, params ListServiceGrantsParams)
// CreateServiceGrant Grant a team or identity access to one service
// (POST /v1/services/{service_id}/grants)
CreateServiceGrant(w http.ResponseWriter, r *http.Request, serviceId ServiceID, params CreateServiceGrantParams)
// RevokeServiceGrant Revoke one service visitor grant
// (DELETE /v1/services/{service_id}/grants/{grant_id})
RevokeServiceGrant(w http.ResponseWriter, r *http.Request, serviceId ServiceID, grantId ServiceGrantID)
// ListServiceHTTPGrants List an HTTP service's visitor credentials without secrets
// (GET /v1/services/{service_id}/http-grants)
ListServiceHTTPGrants(w http.ResponseWriter, r *http.Request, serviceId ServiceID)
// CreateServiceHTTPGrant Create a service-scoped HTTP visitor token
// (POST /v1/services/{service_id}/http-grants)
CreateServiceHTTPGrant(w http.ResponseWriter, r *http.Request, serviceId ServiceID)
// RevokeServiceHTTPGrant Revoke one service-scoped HTTP visitor credential
// (DELETE /v1/services/{service_id}/http-grants/{grant_id})
RevokeServiceHTTPGrant(w http.ResponseWriter, r *http.Request, serviceId ServiceID, grantId string)
// ListServiceInvitations List a service's visitor invitations without secrets
// (GET /v1/services/{service_id}/invitations)
ListServiceInvitations(w http.ResponseWriter, r *http.Request, serviceId ServiceID, params ListServiceInvitationsParams)
// InviteServiceVisitor Invite a verified email identity to one service
// (POST /v1/services/{service_id}/invitations)
InviteServiceVisitor(w http.ResponseWriter, r *http.Request, serviceId ServiceID, params InviteServiceVisitorParams)
// RevokeServiceInvitation Revoke a service invitation and its accepted grant
// (DELETE /v1/services/{service_id}/invitations/{invitation_id})
RevokeServiceInvitation(w http.ResponseWriter, r *http.Request, serviceId ServiceID, invitationId ServiceInvitationID)
// PrepareServiceRun Reserve a service run and its approved certificate plan
// (POST /v1/services/{service_id}/runs)
PrepareServiceRun(w http.ResponseWriter, r *http.Request, serviceId ServiceID, params PrepareServiceRunParams)
// CloseServiceRun Close one exact service run using its run token
// (DELETE /v1/services/{service_id}/runs/{service_run_id})
CloseServiceRun(w http.ResponseWriter, r *http.Request, serviceId ServiceID, serviceRunId ServiceRunID)
// AuthorizeServiceClientCertificate Check a public endpoint visitor's client certificate and admission
// (POST /v1/services/{service_id}/runs/{service_run_id}/authorize-client-certificate)
AuthorizeServiceClientCertificate(w http.ResponseWriter, r *http.Request, serviceId ServiceID, serviceRunId ServiceRunID)
// RedeemServiceBrowserHandoff Exchange a service browser handoff through its publisher run
// (POST /v1/services/{service_id}/runs/{service_run_id}/browser/handoff)
RedeemServiceBrowserHandoff(w http.ResponseWriter, r *http.Request, serviceId ServiceID, serviceRunId ServiceRunID)
// RevokeServiceBrowserSession Revoke a browser session through its service publisher run
// (DELETE /v1/services/{service_id}/runs/{service_run_id}/browser/session)
RevokeServiceBrowserSession(w http.ResponseWriter, r *http.Request, serviceId ServiceID, serviceRunId ServiceRunID)
// CheckServiceBrowserSession Check a browser session through its service publisher run
// (POST /v1/services/{service_id}/runs/{service_run_id}/browser/session)
CheckServiceBrowserSession(w http.ResponseWriter, r *http.Request, serviceId ServiceID, serviceRunId ServiceRunID)
// MarkServiceCertificateInstalled Acknowledge the certificate installed for one service run
// (POST /v1/services/{service_id}/runs/{service_run_id}/certificate-installed)
MarkServiceCertificateInstalled(w http.ResponseWriter, r *http.Request, serviceId ServiceID, serviceRunId ServiceRunID)
// CreateServiceCertificateIssuance Begin certificate issuance for one started service run
// (POST /v1/services/{service_id}/runs/{service_run_id}/certificate-issuances)
CreateServiceCertificateIssuance(w http.ResponseWriter, r *http.Request, serviceId ServiceID, serviceRunId ServiceRunID, params CreateServiceCertificateIssuanceParams)
// GetServiceCertificateIssuance Read a service run's current certificate issuance
// (GET /v1/services/{service_id}/runs/{service_run_id}/certificate-issuances/{issuance_id})
GetServiceCertificateIssuance(w http.ResponseWriter, r *http.Request, serviceId ServiceID, serviceRunId ServiceRunID, issuanceId IssuanceID)
// ListConnectorPeerPairs Reconcile candidates and explicit retirements for an exact service run
// (GET /v1/services/{service_id}/runs/{service_run_id}/connector-peer-pairs)
ListConnectorPeerPairs(w http.ResponseWriter, r *http.Request, serviceId ServiceID, serviceRunId ServiceRunID, params ListConnectorPeerPairsParams)
// DeliverConnectorPeerPair Deliver an existing connector pair to its current publisher run
// (POST /v1/services/{service_id}/runs/{service_run_id}/connector-peer-pairs/{pair_id}/delivery)
DeliverConnectorPeerPair(w http.ResponseWriter, r *http.Request, serviceId ServiceID, serviceRunId ServiceRunID, pairId string)
// ConfirmConnectorPeerPairPrepared Confirm an exact connector binding installed by the publisher
// (POST /v1/services/{service_id}/runs/{service_run_id}/connector-peer-pairs/{pair_id}/prepared)
ConfirmConnectorPeerPairPrepared(w http.ResponseWriter, r *http.Request, serviceId ServiceID, serviceRunId ServiceRunID, pairId string)
// AuthorizeReviewerFeedback Check current visitor access and feedback author policy
// (POST /v1/services/{service_id}/runs/{service_run_id}/feedback/authorization)
AuthorizeReviewerFeedback(w http.ResponseWriter, r *http.Request, serviceId ServiceID, serviceRunId ServiceRunID)
// CreateServiceRunPreview Create feedback context for one ephemeral service run
// (POST /v1/services/{service_id}/runs/{service_run_id}/preview)
CreateServiceRunPreview(w http.ResponseWriter, r *http.Request, serviceId ServiceID, serviceRunId ServiceRunID)
// RenewServiceRun Renew a service run and report publisher health and capacity
// (POST /v1/services/{service_id}/runs/{service_run_id}/renew)
RenewServiceRun(w http.ResponseWriter, r *http.Request, serviceId ServiceID, serviceRunId ServiceRunID)
// ReportServiceRunObservations Report HTTP decisions or connector connections for a service run
// (POST /v1/services/{service_id}/runs/{service_run_id}/service-observations)
ReportServiceRunObservations(w http.ResponseWriter, r *http.Request, serviceId ServiceID, serviceRunId ServiceRunID)
// (POST /v1/services/{service_id}/runs/{service_run_id}/share-redemptions)
RedeemServiceShare(w http.ResponseWriter, r *http.Request, serviceId ServiceID, serviceRunId ServiceRunID)
// StartServiceRun Start one prepared service run with its publisher grant
// (POST /v1/services/{service_id}/runs/{service_run_id}/start)
StartServiceRun(w http.ResponseWriter, r *http.Request, serviceId ServiceID, serviceRunId ServiceRunID)
// MarkSuppliedServiceCertificateInstalled Acknowledge a supplied visitor certificate for one exact run
// (POST /v1/services/{service_id}/runs/{service_run_id}/supplied-certificate-installed)
MarkSuppliedServiceCertificateInstalled(w http.ResponseWriter, r *http.Request, serviceId ServiceID, serviceRunId ServiceRunID)
// SelectServiceRun Select a ready service run for an enrolled visitor device
// (POST /v1/services/{service_id}/select-run)
SelectServiceRun(w http.ResponseWriter, r *http.Request, serviceId ServiceID)
// (GET /v1/shares)
ListTeamShares(w http.ResponseWriter, r *http.Request, params ListTeamSharesParams)
// (POST /v1/shares)
CreateServiceShare(w http.ResponseWriter, r *http.Request, params CreateServiceShareParams)
// (GET /v1/shares/{share_id})
GetShare(w http.ResponseWriter, r *http.Request, shareId ShareID)
// (POST /v1/shares/{share_id}/revoke)
RevokeShare(w http.ResponseWriter, r *http.Request, shareId ShareID)
// ListServiceAudit Read a team's service audit history
// (GET /v1/teams/{team_id}/service-audit)
ListServiceAudit(w http.ResponseWriter, r *http.Request, teamId string, params ListServiceAuditParams)
// EnrollVisitorDevice Enroll an Ed25519 visitor device for the signed-in identity
// (POST /v1/visitor-devices)
EnrollVisitorDevice(w http.ResponseWriter, r *http.Request)
// RevokeVisitorDevice Revoke a visitor device and its connector peer pairs
// (DELETE /v1/visitor-devices/{device_id})
RevokeVisitorDevice(w http.ResponseWriter, r *http.Request, deviceId string)
// ReadPublisherVisitorPolicy Refresh the current run's visitor policy and verification keys
// (POST /v1/visitor-policy)
ReadPublisherVisitorPolicy(w http.ResponseWriter, r *http.Request)
// IssueVisitorToken Prepare or renew an exact-resource visitor permission
// (POST /v1/visitor-tokens)
IssueVisitorToken(w http.ResponseWriter, r *http.Request)
// ListAvailableServices List services available to the signed-in visitor
// (GET /v1/visitor/services)
ListAvailableServices(w http.ResponseWriter, r *http.Request, params ListAvailableServicesParams)
// GetWebhookProviderSource Read one webhook provider source policy
// (GET /v1/webhook-providers/{provider}/source)
GetWebhookProviderSource(w http.ResponseWriter, r *http.Request, provider WebhookProvider)
// ListWorkloadServices List only the workload session's currently authorized saved services
// (GET /v1/workload/services)
ListWorkloadServices(w http.ResponseWriter, r *http.Request)
// CheckWorkloadService Check a workload session's current permission for one service
// (POST /v1/workload/services/{service_id}/authorization)
CheckWorkloadService(w http.ResponseWriter, r *http.Request, serviceId string)
// IssueWorkloadServiceClientCertificate Issue a service client certificate for a workload's existing key
// (POST /v1/workload/services/{service_id}/client-certificate)
IssueWorkloadServiceClientCertificate(w http.ResponseWriter, r *http.Request, serviceId string)
// SelectWorkloadServiceRun Select a ready service run for an authenticated workload
// (POST /v1/workload/services/{service_id}/run)
SelectWorkloadServiceRun(w http.ResponseWriter, r *http.Request, serviceId ServiceID)
}
ServerInterface represents all server handlers.
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) AcceptServiceInvitation ¶
func (siw *ServerInterfaceWrapper) AcceptServiceInvitation(w http.ResponseWriter, r *http.Request)
AcceptServiceInvitation operation middleware
func (*ServerInterfaceWrapper) AcknowledgeDeploymentPublisherConfiguration ¶
func (siw *ServerInterfaceWrapper) AcknowledgeDeploymentPublisherConfiguration(w http.ResponseWriter, r *http.Request)
AcknowledgeDeploymentPublisherConfiguration operation middleware
func (*ServerInterfaceWrapper) AcquireDeploymentPublisherLease ¶
func (siw *ServerInterfaceWrapper) AcquireDeploymentPublisherLease(w http.ResponseWriter, r *http.Request)
AcquireDeploymentPublisherLease operation middleware
func (*ServerInterfaceWrapper) AddPreviewService ¶
func (siw *ServerInterfaceWrapper) AddPreviewService(w http.ResponseWriter, r *http.Request)
AddPreviewService operation middleware
func (*ServerInterfaceWrapper) AllocateDeploymentPublication ¶
func (siw *ServerInterfaceWrapper) AllocateDeploymentPublication(w http.ResponseWriter, r *http.Request)
AllocateDeploymentPublication operation middleware
func (*ServerInterfaceWrapper) AllocateGuestDemoService ¶
func (siw *ServerInterfaceWrapper) AllocateGuestDemoService(w http.ResponseWriter, r *http.Request)
AllocateGuestDemoService operation middleware
func (*ServerInterfaceWrapper) AllocatePublisherService ¶
func (siw *ServerInterfaceWrapper) AllocatePublisherService(w http.ResponseWriter, r *http.Request)
AllocatePublisherService operation middleware
func (*ServerInterfaceWrapper) ApplyProjectConfiguration ¶
func (siw *ServerInterfaceWrapper) ApplyProjectConfiguration(w http.ResponseWriter, r *http.Request)
ApplyProjectConfiguration operation middleware
func (*ServerInterfaceWrapper) AuthorizeImplementerFeedback ¶
func (siw *ServerInterfaceWrapper) AuthorizeImplementerFeedback(w http.ResponseWriter, r *http.Request)
AuthorizeImplementerFeedback operation middleware
func (*ServerInterfaceWrapper) AuthorizeReviewerFeedback ¶
func (siw *ServerInterfaceWrapper) AuthorizeReviewerFeedback(w http.ResponseWriter, r *http.Request)
AuthorizeReviewerFeedback operation middleware
func (*ServerInterfaceWrapper) AuthorizeServiceClientCertificate ¶
func (siw *ServerInterfaceWrapper) AuthorizeServiceClientCertificate(w http.ResponseWriter, r *http.Request)
AuthorizeServiceClientCertificate operation middleware
func (*ServerInterfaceWrapper) BeginServiceBrowserLogin ¶
func (siw *ServerInterfaceWrapper) BeginServiceBrowserLogin(w http.ResponseWriter, r *http.Request)
BeginServiceBrowserLogin operation middleware
func (*ServerInterfaceWrapper) CheckServiceBrowserSession ¶
func (siw *ServerInterfaceWrapper) CheckServiceBrowserSession(w http.ResponseWriter, r *http.Request)
CheckServiceBrowserSession operation middleware
func (*ServerInterfaceWrapper) CheckWorkloadService ¶
func (siw *ServerInterfaceWrapper) CheckWorkloadService(w http.ResponseWriter, r *http.Request)
CheckWorkloadService operation middleware
func (*ServerInterfaceWrapper) CloseServiceRun ¶
func (siw *ServerInterfaceWrapper) CloseServiceRun(w http.ResponseWriter, r *http.Request)
CloseServiceRun operation middleware
func (*ServerInterfaceWrapper) CompletePreviewBrowserLogin ¶
func (siw *ServerInterfaceWrapper) CompletePreviewBrowserLogin(w http.ResponseWriter, r *http.Request)
CompletePreviewBrowserLogin operation middleware
func (*ServerInterfaceWrapper) ConfigureService ¶
func (siw *ServerInterfaceWrapper) ConfigureService(w http.ResponseWriter, r *http.Request)
ConfigureService operation middleware
func (*ServerInterfaceWrapper) ConfirmConnectorPeerPairPrepared ¶
func (siw *ServerInterfaceWrapper) ConfirmConnectorPeerPairPrepared(w http.ResponseWriter, r *http.Request)
ConfirmConnectorPeerPairPrepared operation middleware
func (*ServerInterfaceWrapper) CreateDeployment ¶
func (siw *ServerInterfaceWrapper) CreateDeployment(w http.ResponseWriter, r *http.Request)
CreateDeployment operation middleware
func (*ServerInterfaceWrapper) CreateDeploymentPublisherEnrollment ¶
func (siw *ServerInterfaceWrapper) CreateDeploymentPublisherEnrollment(w http.ResponseWriter, r *http.Request)
CreateDeploymentPublisherEnrollment operation middleware
func (*ServerInterfaceWrapper) CreateGuestDemo ¶
func (siw *ServerInterfaceWrapper) CreateGuestDemo(w http.ResponseWriter, r *http.Request)
CreateGuestDemo operation middleware
func (*ServerInterfaceWrapper) CreatePreview ¶
func (siw *ServerInterfaceWrapper) CreatePreview(w http.ResponseWriter, r *http.Request)
CreatePreview operation middleware
func (*ServerInterfaceWrapper) CreatePublisherEnrollment ¶
func (siw *ServerInterfaceWrapper) CreatePublisherEnrollment(w http.ResponseWriter, r *http.Request)
CreatePublisherEnrollment operation middleware
func (*ServerInterfaceWrapper) CreatePublisherGrant ¶
func (siw *ServerInterfaceWrapper) CreatePublisherGrant(w http.ResponseWriter, r *http.Request)
CreatePublisherGrant operation middleware
func (*ServerInterfaceWrapper) CreateService ¶
func (siw *ServerInterfaceWrapper) CreateService(w http.ResponseWriter, r *http.Request)
CreateService operation middleware
func (*ServerInterfaceWrapper) CreateServiceCertificateIssuance ¶
func (siw *ServerInterfaceWrapper) CreateServiceCertificateIssuance(w http.ResponseWriter, r *http.Request)
CreateServiceCertificateIssuance operation middleware
func (*ServerInterfaceWrapper) CreateServiceGrant ¶
func (siw *ServerInterfaceWrapper) CreateServiceGrant(w http.ResponseWriter, r *http.Request)
CreateServiceGrant operation middleware
func (*ServerInterfaceWrapper) CreateServiceHTTPGrant ¶
func (siw *ServerInterfaceWrapper) CreateServiceHTTPGrant(w http.ResponseWriter, r *http.Request)
CreateServiceHTTPGrant operation middleware
func (*ServerInterfaceWrapper) CreateServiceRunPreview ¶
func (siw *ServerInterfaceWrapper) CreateServiceRunPreview(w http.ResponseWriter, r *http.Request)
CreateServiceRunPreview operation middleware
func (*ServerInterfaceWrapper) CreateServiceShare ¶
func (siw *ServerInterfaceWrapper) CreateServiceShare(w http.ResponseWriter, r *http.Request)
CreateServiceShare operation middleware
func (*ServerInterfaceWrapper) CreateShare ¶
func (siw *ServerInterfaceWrapper) CreateShare(w http.ResponseWriter, r *http.Request)
CreateShare operation middleware
func (*ServerInterfaceWrapper) DeleteDeployment ¶
func (siw *ServerInterfaceWrapper) DeleteDeployment(w http.ResponseWriter, r *http.Request)
DeleteDeployment operation middleware
func (*ServerInterfaceWrapper) DeletePublisherService ¶
func (siw *ServerInterfaceWrapper) DeletePublisherService(w http.ResponseWriter, r *http.Request)
DeletePublisherService operation middleware
func (*ServerInterfaceWrapper) DeleteService ¶
func (siw *ServerInterfaceWrapper) DeleteService(w http.ResponseWriter, r *http.Request)
DeleteService operation middleware
func (*ServerInterfaceWrapper) DeliverConnectorPeerPair ¶
func (siw *ServerInterfaceWrapper) DeliverConnectorPeerPair(w http.ResponseWriter, r *http.Request)
DeliverConnectorPeerPair operation middleware
func (*ServerInterfaceWrapper) DrainAdminRelay ¶
func (siw *ServerInterfaceWrapper) DrainAdminRelay(w http.ResponseWriter, r *http.Request)
DrainAdminRelay operation middleware
func (*ServerInterfaceWrapper) EnrollGuestPublisher ¶
func (siw *ServerInterfaceWrapper) EnrollGuestPublisher(w http.ResponseWriter, r *http.Request)
EnrollGuestPublisher operation middleware
func (*ServerInterfaceWrapper) EnrollVisitorDevice ¶
func (siw *ServerInterfaceWrapper) EnrollVisitorDevice(w http.ResponseWriter, r *http.Request)
EnrollVisitorDevice operation middleware
func (*ServerInterfaceWrapper) GetAdminServerStatus ¶
func (siw *ServerInterfaceWrapper) GetAdminServerStatus(w http.ResponseWriter, r *http.Request)
GetAdminServerStatus operation middleware
func (*ServerInterfaceWrapper) GetClientIP ¶
func (siw *ServerInterfaceWrapper) GetClientIP(w http.ResponseWriter, r *http.Request)
GetClientIP operation middleware
func (*ServerInterfaceWrapper) GetControlDiscovery ¶
func (siw *ServerInterfaceWrapper) GetControlDiscovery(w http.ResponseWriter, r *http.Request)
GetControlDiscovery operation middleware
func (*ServerInterfaceWrapper) GetDeployment ¶
func (siw *ServerInterfaceWrapper) GetDeployment(w http.ResponseWriter, r *http.Request)
GetDeployment operation middleware
func (*ServerInterfaceWrapper) GetDeploymentPublication ¶
func (siw *ServerInterfaceWrapper) GetDeploymentPublication(w http.ResponseWriter, r *http.Request)
GetDeploymentPublication operation middleware
func (*ServerInterfaceWrapper) GetDeploymentPublisher ¶
func (siw *ServerInterfaceWrapper) GetDeploymentPublisher(w http.ResponseWriter, r *http.Request)
GetDeploymentPublisher operation middleware
func (*ServerInterfaceWrapper) GetDeploymentPublisherAssignments ¶
func (siw *ServerInterfaceWrapper) GetDeploymentPublisherAssignments(w http.ResponseWriter, r *http.Request)
GetDeploymentPublisherAssignments operation middleware
func (*ServerInterfaceWrapper) GetHealth ¶
func (siw *ServerInterfaceWrapper) GetHealth(w http.ResponseWriter, r *http.Request)
GetHealth operation middleware
func (*ServerInterfaceWrapper) GetLocalProjectService ¶
func (siw *ServerInterfaceWrapper) GetLocalProjectService(w http.ResponseWriter, r *http.Request)
GetLocalProjectService operation middleware
func (*ServerInterfaceWrapper) GetPreview ¶
func (siw *ServerInterfaceWrapper) GetPreview(w http.ResponseWriter, r *http.Request)
GetPreview operation middleware
func (*ServerInterfaceWrapper) GetProjectConfiguration ¶
func (siw *ServerInterfaceWrapper) GetProjectConfiguration(w http.ResponseWriter, r *http.Request)
GetProjectConfiguration operation middleware
func (*ServerInterfaceWrapper) GetProjectPublicMetadata ¶
func (siw *ServerInterfaceWrapper) GetProjectPublicMetadata(w http.ResponseWriter, r *http.Request)
GetProjectPublicMetadata operation middleware
func (*ServerInterfaceWrapper) GetProjectService ¶
func (siw *ServerInterfaceWrapper) GetProjectService(w http.ResponseWriter, r *http.Request)
GetProjectService operation middleware
func (*ServerInterfaceWrapper) GetProjectStatus ¶
func (siw *ServerInterfaceWrapper) GetProjectStatus(w http.ResponseWriter, r *http.Request)
GetProjectStatus operation middleware
func (*ServerInterfaceWrapper) GetPublisherService ¶
func (siw *ServerInterfaceWrapper) GetPublisherService(w http.ResponseWriter, r *http.Request)
GetPublisherService operation middleware
func (*ServerInterfaceWrapper) GetReadiness ¶
func (siw *ServerInterfaceWrapper) GetReadiness(w http.ResponseWriter, r *http.Request)
GetReadiness operation middleware
func (*ServerInterfaceWrapper) GetService ¶
func (siw *ServerInterfaceWrapper) GetService(w http.ResponseWriter, r *http.Request)
GetService operation middleware
func (*ServerInterfaceWrapper) GetServiceByHostname ¶
func (siw *ServerInterfaceWrapper) GetServiceByHostname(w http.ResponseWriter, r *http.Request)
GetServiceByHostname operation middleware
func (*ServerInterfaceWrapper) GetServiceCertificateIssuance ¶
func (siw *ServerInterfaceWrapper) GetServiceCertificateIssuance(w http.ResponseWriter, r *http.Request)
GetServiceCertificateIssuance operation middleware
func (*ServerInterfaceWrapper) GetServiceConfiguration ¶
func (siw *ServerInterfaceWrapper) GetServiceConfiguration(w http.ResponseWriter, r *http.Request)
GetServiceConfiguration operation middleware
func (*ServerInterfaceWrapper) GetShare ¶
func (siw *ServerInterfaceWrapper) GetShare(w http.ResponseWriter, r *http.Request)
GetShare operation middleware
func (*ServerInterfaceWrapper) GetWebhookProviderSource ¶
func (siw *ServerInterfaceWrapper) GetWebhookProviderSource(w http.ResponseWriter, r *http.Request)
GetWebhookProviderSource operation middleware
func (*ServerInterfaceWrapper) InspectPublisherRuntime ¶
func (siw *ServerInterfaceWrapper) InspectPublisherRuntime(w http.ResponseWriter, r *http.Request)
InspectPublisherRuntime operation middleware
func (*ServerInterfaceWrapper) InviteServiceVisitor ¶
func (siw *ServerInterfaceWrapper) InviteServiceVisitor(w http.ResponseWriter, r *http.Request)
InviteServiceVisitor operation middleware
func (*ServerInterfaceWrapper) IssueServiceClientCertificate ¶
func (siw *ServerInterfaceWrapper) IssueServiceClientCertificate(w http.ResponseWriter, r *http.Request)
IssueServiceClientCertificate operation middleware
func (*ServerInterfaceWrapper) IssueVisitorToken ¶
func (siw *ServerInterfaceWrapper) IssueVisitorToken(w http.ResponseWriter, r *http.Request)
IssueVisitorToken operation middleware
func (*ServerInterfaceWrapper) IssueWorkloadServiceClientCertificate ¶
func (siw *ServerInterfaceWrapper) IssueWorkloadServiceClientCertificate(w http.ResponseWriter, r *http.Request)
IssueWorkloadServiceClientCertificate operation middleware
func (*ServerInterfaceWrapper) ListAdminRelays ¶
func (siw *ServerInterfaceWrapper) ListAdminRelays(w http.ResponseWriter, r *http.Request)
ListAdminRelays operation middleware
func (*ServerInterfaceWrapper) ListAvailableServices ¶
func (siw *ServerInterfaceWrapper) ListAvailableServices(w http.ResponseWriter, r *http.Request)
ListAvailableServices operation middleware
func (*ServerInterfaceWrapper) ListConnectorPeerPairs ¶
func (siw *ServerInterfaceWrapper) ListConnectorPeerPairs(w http.ResponseWriter, r *http.Request)
ListConnectorPeerPairs operation middleware
func (*ServerInterfaceWrapper) ListDeploymentPublishers ¶
func (siw *ServerInterfaceWrapper) ListDeploymentPublishers(w http.ResponseWriter, r *http.Request)
ListDeploymentPublishers operation middleware
func (*ServerInterfaceWrapper) ListDeployments ¶
func (siw *ServerInterfaceWrapper) ListDeployments(w http.ResponseWriter, r *http.Request)
ListDeployments operation middleware
func (*ServerInterfaceWrapper) ListMaintenanceControls ¶
func (siw *ServerInterfaceWrapper) ListMaintenanceControls(w http.ResponseWriter, r *http.Request)
ListMaintenanceControls operation middleware
func (*ServerInterfaceWrapper) ListPreviews ¶
func (siw *ServerInterfaceWrapper) ListPreviews(w http.ResponseWriter, r *http.Request)
ListPreviews operation middleware
func (*ServerInterfaceWrapper) ListProjects ¶
func (siw *ServerInterfaceWrapper) ListProjects(w http.ResponseWriter, r *http.Request)
ListProjects operation middleware
func (*ServerInterfaceWrapper) ListPublisherIdentities ¶
func (siw *ServerInterfaceWrapper) ListPublisherIdentities(w http.ResponseWriter, r *http.Request)
ListPublisherIdentities operation middleware
func (*ServerInterfaceWrapper) ListServiceAudit ¶
func (siw *ServerInterfaceWrapper) ListServiceAudit(w http.ResponseWriter, r *http.Request)
ListServiceAudit operation middleware
func (*ServerInterfaceWrapper) ListServiceGrants ¶
func (siw *ServerInterfaceWrapper) ListServiceGrants(w http.ResponseWriter, r *http.Request)
ListServiceGrants operation middleware
func (*ServerInterfaceWrapper) ListServiceHTTPGrants ¶
func (siw *ServerInterfaceWrapper) ListServiceHTTPGrants(w http.ResponseWriter, r *http.Request)
ListServiceHTTPGrants operation middleware
func (*ServerInterfaceWrapper) ListServiceInvitations ¶
func (siw *ServerInterfaceWrapper) ListServiceInvitations(w http.ResponseWriter, r *http.Request)
ListServiceInvitations operation middleware
func (*ServerInterfaceWrapper) ListServices ¶
func (siw *ServerInterfaceWrapper) ListServices(w http.ResponseWriter, r *http.Request)
ListServices operation middleware
func (*ServerInterfaceWrapper) ListShares ¶
func (siw *ServerInterfaceWrapper) ListShares(w http.ResponseWriter, r *http.Request)
ListShares operation middleware
func (*ServerInterfaceWrapper) ListTeamShares ¶
func (siw *ServerInterfaceWrapper) ListTeamShares(w http.ResponseWriter, r *http.Request)
ListTeamShares operation middleware
func (*ServerInterfaceWrapper) ListWorkloadServices ¶
func (siw *ServerInterfaceWrapper) ListWorkloadServices(w http.ResponseWriter, r *http.Request)
ListWorkloadServices operation middleware
func (*ServerInterfaceWrapper) MarkServiceCertificateInstalled ¶
func (siw *ServerInterfaceWrapper) MarkServiceCertificateInstalled(w http.ResponseWriter, r *http.Request)
MarkServiceCertificateInstalled operation middleware
func (*ServerInterfaceWrapper) MarkSuppliedServiceCertificateInstalled ¶
func (siw *ServerInterfaceWrapper) MarkSuppliedServiceCertificateInstalled(w http.ResponseWriter, r *http.Request)
MarkSuppliedServiceCertificateInstalled operation middleware
func (*ServerInterfaceWrapper) PrepareConnectorPeerPair ¶
func (siw *ServerInterfaceWrapper) PrepareConnectorPeerPair(w http.ResponseWriter, r *http.Request)
PrepareConnectorPeerPair operation middleware
func (*ServerInterfaceWrapper) PrepareServiceRun ¶
func (siw *ServerInterfaceWrapper) PrepareServiceRun(w http.ResponseWriter, r *http.Request)
PrepareServiceRun operation middleware
func (*ServerInterfaceWrapper) ReadPublisherVisitorPolicy ¶
func (siw *ServerInterfaceWrapper) ReadPublisherVisitorPolicy(w http.ResponseWriter, r *http.Request)
ReadPublisherVisitorPolicy operation middleware
func (*ServerInterfaceWrapper) RealizeLocalProjectService ¶
func (siw *ServerInterfaceWrapper) RealizeLocalProjectService(w http.ResponseWriter, r *http.Request)
RealizeLocalProjectService operation middleware
func (*ServerInterfaceWrapper) RebindConnectorPeerPair ¶
func (siw *ServerInterfaceWrapper) RebindConnectorPeerPair(w http.ResponseWriter, r *http.Request)
RebindConnectorPeerPair operation middleware
func (*ServerInterfaceWrapper) RedeemDeploymentPublisherEnrollment ¶
func (siw *ServerInterfaceWrapper) RedeemDeploymentPublisherEnrollment(w http.ResponseWriter, r *http.Request)
RedeemDeploymentPublisherEnrollment operation middleware
func (*ServerInterfaceWrapper) RedeemServiceBrowserHandoff ¶
func (siw *ServerInterfaceWrapper) RedeemServiceBrowserHandoff(w http.ResponseWriter, r *http.Request)
RedeemServiceBrowserHandoff operation middleware
func (*ServerInterfaceWrapper) RedeemServiceShare ¶
func (siw *ServerInterfaceWrapper) RedeemServiceShare(w http.ResponseWriter, r *http.Request)
RedeemServiceShare operation middleware
func (*ServerInterfaceWrapper) RegisterDeploymentCredential ¶
func (siw *ServerInterfaceWrapper) RegisterDeploymentCredential(w http.ResponseWriter, r *http.Request)
RegisterDeploymentCredential operation middleware
func (*ServerInterfaceWrapper) ReleaseServiceEndpoint ¶
func (siw *ServerInterfaceWrapper) ReleaseServiceEndpoint(w http.ResponseWriter, r *http.Request)
ReleaseServiceEndpoint operation middleware
func (*ServerInterfaceWrapper) RenameDeployment ¶
func (siw *ServerInterfaceWrapper) RenameDeployment(w http.ResponseWriter, r *http.Request)
RenameDeployment operation middleware
func (*ServerInterfaceWrapper) RenameDeploymentNamespace ¶
func (siw *ServerInterfaceWrapper) RenameDeploymentNamespace(w http.ResponseWriter, r *http.Request)
RenameDeploymentNamespace operation middleware
func (*ServerInterfaceWrapper) RenewConnectorPeerPair ¶
func (siw *ServerInterfaceWrapper) RenewConnectorPeerPair(w http.ResponseWriter, r *http.Request)
RenewConnectorPeerPair operation middleware
func (*ServerInterfaceWrapper) RenewPublisherRuntime ¶
func (siw *ServerInterfaceWrapper) RenewPublisherRuntime(w http.ResponseWriter, r *http.Request)
RenewPublisherRuntime operation middleware
func (*ServerInterfaceWrapper) RenewServiceRun ¶
func (siw *ServerInterfaceWrapper) RenewServiceRun(w http.ResponseWriter, r *http.Request)
RenewServiceRun operation middleware
func (*ServerInterfaceWrapper) ReportServiceRunObservations ¶
func (siw *ServerInterfaceWrapper) ReportServiceRunObservations(w http.ResponseWriter, r *http.Request)
ReportServiceRunObservations operation middleware
func (*ServerInterfaceWrapper) ResolveProjectSource ¶
func (siw *ServerInterfaceWrapper) ResolveProjectSource(w http.ResponseWriter, r *http.Request)
ResolveProjectSource operation middleware
func (*ServerInterfaceWrapper) RetireConnectorPeerPair ¶
func (siw *ServerInterfaceWrapper) RetireConnectorPeerPair(w http.ResponseWriter, r *http.Request)
RetireConnectorPeerPair operation middleware
func (*ServerInterfaceWrapper) RetireProject ¶
func (siw *ServerInterfaceWrapper) RetireProject(w http.ResponseWriter, r *http.Request)
RetireProject operation middleware
func (*ServerInterfaceWrapper) RevokeDeploymentPublisher ¶
func (siw *ServerInterfaceWrapper) RevokeDeploymentPublisher(w http.ResponseWriter, r *http.Request)
RevokeDeploymentPublisher operation middleware
func (*ServerInterfaceWrapper) RevokePublisherGrant ¶
func (siw *ServerInterfaceWrapper) RevokePublisherGrant(w http.ResponseWriter, r *http.Request)
RevokePublisherGrant operation middleware
func (*ServerInterfaceWrapper) RevokePublisherIdentity ¶
func (siw *ServerInterfaceWrapper) RevokePublisherIdentity(w http.ResponseWriter, r *http.Request)
RevokePublisherIdentity operation middleware
func (*ServerInterfaceWrapper) RevokeServiceBrowserSession ¶
func (siw *ServerInterfaceWrapper) RevokeServiceBrowserSession(w http.ResponseWriter, r *http.Request)
RevokeServiceBrowserSession operation middleware
func (*ServerInterfaceWrapper) RevokeServiceGrant ¶
func (siw *ServerInterfaceWrapper) RevokeServiceGrant(w http.ResponseWriter, r *http.Request)
RevokeServiceGrant operation middleware
func (*ServerInterfaceWrapper) RevokeServiceHTTPGrant ¶
func (siw *ServerInterfaceWrapper) RevokeServiceHTTPGrant(w http.ResponseWriter, r *http.Request)
RevokeServiceHTTPGrant operation middleware
func (*ServerInterfaceWrapper) RevokeServiceInvitation ¶
func (siw *ServerInterfaceWrapper) RevokeServiceInvitation(w http.ResponseWriter, r *http.Request)
RevokeServiceInvitation operation middleware
func (*ServerInterfaceWrapper) RevokeShare ¶
func (siw *ServerInterfaceWrapper) RevokeShare(w http.ResponseWriter, r *http.Request)
RevokeShare operation middleware
func (*ServerInterfaceWrapper) RevokeVisitorDevice ¶
func (siw *ServerInterfaceWrapper) RevokeVisitorDevice(w http.ResponseWriter, r *http.Request)
RevokeVisitorDevice operation middleware
func (*ServerInterfaceWrapper) SelectDeploymentServiceRun ¶
func (siw *ServerInterfaceWrapper) SelectDeploymentServiceRun(w http.ResponseWriter, r *http.Request)
SelectDeploymentServiceRun operation middleware
func (*ServerInterfaceWrapper) SelectServiceRun ¶
func (siw *ServerInterfaceWrapper) SelectServiceRun(w http.ResponseWriter, r *http.Request)
SelectServiceRun operation middleware
func (*ServerInterfaceWrapper) SelectWorkloadServiceRun ¶
func (siw *ServerInterfaceWrapper) SelectWorkloadServiceRun(w http.ResponseWriter, r *http.Request)
SelectWorkloadServiceRun operation middleware
func (*ServerInterfaceWrapper) SetMaintenanceControl ¶
func (siw *ServerInterfaceWrapper) SetMaintenanceControl(w http.ResponseWriter, r *http.Request)
SetMaintenanceControl operation middleware
func (*ServerInterfaceWrapper) SetPreviewTeamAccess ¶
func (siw *ServerInterfaceWrapper) SetPreviewTeamAccess(w http.ResponseWriter, r *http.Request)
SetPreviewTeamAccess operation middleware
func (*ServerInterfaceWrapper) SetServiceEnabled ¶
func (siw *ServerInterfaceWrapper) SetServiceEnabled(w http.ResponseWriter, r *http.Request)
SetServiceEnabled operation middleware
func (*ServerInterfaceWrapper) StartPublisherRuntime ¶
func (siw *ServerInterfaceWrapper) StartPublisherRuntime(w http.ResponseWriter, r *http.Request)
StartPublisherRuntime operation middleware
func (*ServerInterfaceWrapper) StartServiceRun ¶
func (siw *ServerInterfaceWrapper) StartServiceRun(w http.ResponseWriter, r *http.Request)
StartServiceRun operation middleware
func (*ServerInterfaceWrapper) StopPublisherRuntime ¶
func (siw *ServerInterfaceWrapper) StopPublisherRuntime(w http.ResponseWriter, r *http.Request)
StopPublisherRuntime operation middleware
func (*ServerInterfaceWrapper) UpdateDeployment ¶
func (siw *ServerInterfaceWrapper) UpdateDeployment(w http.ResponseWriter, r *http.Request)
UpdateDeployment operation middleware
func (*ServerInterfaceWrapper) VerifyDeploymentIdentity ¶
func (siw *ServerInterfaceWrapper) VerifyDeploymentIdentity(w http.ResponseWriter, r *http.Request)
VerifyDeploymentIdentity operation middleware
func (*ServerInterfaceWrapper) WatchPublisherRuns ¶
func (siw *ServerInterfaceWrapper) WatchPublisherRuns(w http.ResponseWriter, r *http.Request)
WatchPublisherRuns operation middleware
type Service ¶
type Service struct {
CreatedAt time.Time `json:"created_at"`
DomainId *DomainID `json:"domain_id,omitempty"`
Enabled bool `json:"enabled"`
// Endpoint Control-owned service TLS identity. HTTP uses shared port 443 without an exclusive ingress reservation, including when public access is disabled. Other protocols use zero when no public ingress port is reserved; an allocated port remains reserved during temporary disablement. Only public enables ingress access. This port is never a machine-local connector port. Target trust is a separate publisher-side boundary.
Endpoint *ServiceEndpoint `json:"endpoint,omitempty"`
// EndpointRevision Revision of the hostname, domain, ingress pool, and port reservation. Independent of target trust and connector permission.
EndpointRevision int64 `json:"endpoint_revision,string"`
Ephemeral bool `json:"ephemeral"`
// ExpiresAt Fixed service expiration. Publisher renewal cannot extend it.
ExpiresAt *time.Time `json:"expires_at,omitempty"`
GuestId GuestID `json:"guest_id,omitempty"`
// HttpLimits Approved run-local HTTP request limits returned to the scoped publisher. Applies after visitor authorization on public and connector admissions.
HttpLimits *ProjectHTTPApplicationLimits `json:"http_limits,omitempty"`
// HttpRequestBodyIdleTimeout Approved request-body idle timeout returned only to the scoped HTTP publisher. Omission uses 30s; a configured value is a positive Go duration. Counts active incoming body reads, not target backpressure, responses, or upgrades.
HttpRequestBodyIdleTimeout *string `json:"http_request_body_idle_timeout,omitempty"`
Id ServiceID `json:"id"`
// KubernetesAuth Approved nonsecret native client authentication hint. Contains no publisher target address, CA, or credentials.
KubernetesAuth *KubernetesAuth `json:"kubernetes_auth,omitempty"`
Name ServiceName `json:"name"`
Placement *ServicePlacement `json:"placement,omitempty"`
Protocol ServiceProtocol `json:"protocol"`
PublisherPool bool `json:"publisher_pool"`
RequirePostQuantum bool `json:"require_post_quantum"`
// RunNumber Present only alongside service_run_id.
RunNumber *int64 `json:"run_number,omitempty,string"`
// ServiceRevision Current saved-service settings revision. Advances for metadata, configuration, enablement, endpoint, and service visitor-grant changes, not run preparation or heartbeat churn. Use as expected_service_revision for ordinary deletion; a configuration digest or trust revision is not a substitute.
ServiceRevision int64 `json:"service_revision,string"`
// ServiceRunId Present for a ready run with a live publisher grant and at least one live ready publisher connection; first readiness requires two.
ServiceRunId *ServiceRunID `json:"service_run_id,omitempty"`
Source *LocalServiceSource `json:"source,omitempty"`
// TargetTls Approved publisher-to-target trust. This never selects or disables visitor TLS.
TargetTls *ServiceTargetTLS `json:"target_tls,omitempty"`
TeamId TeamID `json:"team_id,omitempty"`
TrustRevision int64 `json:"trust_revision,string"`
}
Service Saved service and its approved protocol/TLS trust. service_run_id and run_number are an optional ready-publisher hint; select a run before each new connection.
type ServiceAccessPath ¶
type ServiceAccessPath string
ServiceAccessPath defines model for ServiceAccessPath.
const ( ServiceAccessPathConnector ServiceAccessPath = "connector" ServiceAccessPathPublicEndpoint ServiceAccessPath = "public_endpoint" )
Defines values for ServiceAccessPath.
func (ServiceAccessPath) Valid ¶
func (e ServiceAccessPath) Valid() bool
Valid indicates whether the value is a known member of the ServiceAccessPath enum.
type ServiceAuditEvent ¶
type ServiceAuditEvent struct {
ActorIdentityId *string `json:"actor_identity_id,omitempty"`
ConfigurationRevision *int64 `json:"configuration_revision,omitempty,string"`
Cursor string `json:"cursor"`
DeviceId *string `json:"device_id,omitempty"`
EventType string `json:"event_type"`
Id string `json:"id"`
OccurredAt time.Time `json:"occurred_at"`
Outcome *string `json:"outcome,omitempty"`
PublisherIdentityId *string `json:"publisher_identity_id,omitempty"`
Reason *string `json:"reason,omitempty"`
RunId *string `json:"run_id,omitempty"`
ServiceId string `json:"service_id"`
ServiceKind ServiceAuditEventServiceKind `json:"service_kind"`
SourceDigest *string `json:"source_digest,omitempty"`
TeamId string `json:"team_id"`
VisitorConnectionId *string `json:"visitor_connection_id,omitempty"`
}
ServiceAuditEvent defines model for ServiceAuditEvent.
type ServiceAuditEventServiceKind ¶
type ServiceAuditEventServiceKind string
ServiceAuditEventServiceKind defines model for ServiceAuditEvent.ServiceKind.
const (
ServiceAuditEventServiceKindService ServiceAuditEventServiceKind = "service"
)
Defines values for ServiceAuditEventServiceKind.
func (ServiceAuditEventServiceKind) Valid ¶
func (e ServiceAuditEventServiceKind) Valid() bool
Valid indicates whether the value is a known member of the ServiceAuditEventServiceKind enum.
type ServiceAuditPage ¶
type ServiceAuditPage struct {
Events []ServiceAuditEvent `json:"events"`
NextCursor *string `json:"next_cursor,omitempty"`
}
ServiceAuditPage defines model for ServiceAuditPage.
type ServiceBrowserRequest ¶
type ServiceBrowserRequest struct {
// Hostname Exact HTTP hostname receiving this browser credential. Omission selects the canonical service hostname.
Hostname string `json:"hostname,omitempty"`
RunNumber int64 `json:"run_number,string"`
Secret string `json:"secret"`
}
ServiceBrowserRequest The secret is a handoff ticket or browser session cookie. Optional share_id and share_cookie_secret must be supplied together; they prove visitor permission independently of browser identity.
type ServiceCertificateInstalledRequest ¶
type ServiceCertificateInstalledRequest struct {
IssuanceId IssuanceID `json:"issuance_id"`
NotAfter time.Time `json:"not_after"`
RunNumber int64 `json:"run_number,string"`
}
ServiceCertificateInstalledRequest defines model for ServiceCertificateInstalledRequest.
type ServiceCertificateIssuance ¶
type ServiceCertificateIssuance struct {
CertificatePem *string `json:"certificate_pem,omitempty"`
CertificatePlan CertificatePlan `json:"certificate_plan"`
Id IssuanceID `json:"id"`
NotAfter *time.Time `json:"not_after,omitempty"`
NotBefore *time.Time `json:"not_before,omitempty"`
PublisherIdentityId string `json:"publisher_identity_id"`
// RetryAt Do not poll this pending issuance before this time. Usable certificate material can be installed and acknowledged immediately while DNS challenge cleanup continues.
RetryAt *time.Time `json:"retry_at,omitempty"`
RunNumber int64 `json:"run_number,string"`
ServiceId ServiceID `json:"service_id"`
ServiceRunId ServiceRunID `json:"service_run_id"`
State CertificateIssuanceState `json:"state"`
}
ServiceCertificateIssuance defines model for ServiceCertificateIssuance.
type ServiceClientCertificate ¶
type ServiceClientCertificate struct {
CertificatePem string `json:"certificate_pem"`
ExpiresAt time.Time `json:"expires_at"`
IssuerPem string `json:"issuer_pem"`
ServiceId ServiceID `json:"service_id"`
}
ServiceClientCertificate defines model for ServiceClientCertificate.
type ServiceClientCertificateDecision ¶
type ServiceClientCertificateDecision struct {
// Admitted Ingress has reserved ordinary capacity. The publisher must wait for this before sending application bytes to the target.
Admitted bool `json:"admitted"`
Allowed bool `json:"allowed"`
ValidUntil time.Time `json:"valid_until"`
}
ServiceClientCertificateDecision defines model for ServiceClientCertificateDecision.
type ServiceEndpoint ¶
type ServiceEndpoint struct {
Hostname string `json:"hostname"`
Port int `json:"port"`
Public bool `json:"public"`
}
ServiceEndpoint Control-owned service TLS identity. HTTP uses shared port 443 without an exclusive ingress reservation, including when public access is disabled. Other protocols use zero when no public ingress port is reserved; an allocated port remains reserved during temporary disablement. Only public enables ingress access. This port is never a machine-local connector port. Target trust is a separate publisher-side boundary.
type ServiceGrant ¶
type ServiceGrant struct {
CreatedAt time.Time `json:"created_at"`
ExpiresAt *time.Time `json:"expires_at,omitempty"`
Id ServiceGrantID `json:"id"`
IdentityId *IdentityID `json:"identity_id,omitempty"`
InvitationId *ServiceInvitationID `json:"invitation_id,omitempty"`
Kind ServiceGrantKind `json:"kind"`
RevokedAt *time.Time `json:"revoked_at,omitempty"`
ServiceId ServiceID `json:"service_id"`
}
ServiceGrant defines model for ServiceGrant.
type ServiceGrantKind ¶
type ServiceGrantKind string
ServiceGrantKind defines model for ServiceGrant.Kind.
const ( ServiceGrantKindIdentity ServiceGrantKind = "identity" ServiceGrantKindTeam ServiceGrantKind = "team" )
Defines values for ServiceGrantKind.
func (ServiceGrantKind) Valid ¶
func (e ServiceGrantKind) Valid() bool
Valid indicates whether the value is a known member of the ServiceGrantKind enum.
type ServiceGrantPage ¶
type ServiceGrantPage struct {
Grants []ServiceGrant `json:"grants"`
NextCursor *ServiceGrantID `json:"next_cursor,omitempty"`
}
ServiceGrantPage defines model for ServiceGrantPage.
type ServiceHTTPGrantSummary ¶
type ServiceHTTPGrantSummary struct {
ExpiresAt time.Time `json:"expires_at"`
Id string `json:"id"`
Kind ServiceHTTPGrantSummaryKind `json:"kind"`
RevokedAt *time.Time `json:"revoked_at,omitempty"`
// Subject An exact service authorization scope.
Subject VisitorResourceScope `json:"subject"`
}
ServiceHTTPGrantSummary defines model for ServiceHTTPGrantSummary.
type ServiceHTTPGrantSummaryKind ¶
type ServiceHTTPGrantSummaryKind string
ServiceHTTPGrantSummaryKind defines model for ServiceHTTPGrantSummary.Kind.
const (
ServiceHTTPGrantSummaryKindToken ServiceHTTPGrantSummaryKind = "token"
)
Defines values for ServiceHTTPGrantSummaryKind.
func (ServiceHTTPGrantSummaryKind) Valid ¶
func (e ServiceHTTPGrantSummaryKind) Valid() bool
Valid indicates whether the value is a known member of the ServiceHTTPGrantSummaryKind enum.
type ServiceInvitation ¶
type ServiceInvitation struct {
AcceptedAt *time.Time `json:"accepted_at,omitempty"`
Email openapi_types.Email `json:"email"`
ExpiresAt time.Time `json:"expires_at"`
Id ServiceInvitationID `json:"id"`
RevokedAt *time.Time `json:"revoked_at,omitempty"`
ServiceId ServiceID `json:"service_id"`
}
ServiceInvitation defines model for ServiceInvitation.
type ServiceInvitationCreation ¶
type ServiceInvitationCreation struct {
Credential string `json:"credential"`
Invitation ServiceInvitation `json:"invitation"`
}
ServiceInvitationCreation Creation-only invitation metadata and credential. After signing in with the invited verified email, the recipient sends {secret: credential} to /v1/service-invitations/accept. Credentials cannot be recovered; an exact creation retry returns credential_delivery_unavailable with the invitation ID so you can revoke and reissue it.
type ServiceInvitationCredential ¶
type ServiceInvitationCredential struct {
Secret string `json:"secret"`
}
ServiceInvitationCredential defines model for ServiceInvitationCredential.
type ServiceInvitationID ¶
type ServiceInvitationID = string
ServiceInvitationID defines model for ServiceInvitationID.
type ServiceInvitationPage ¶
type ServiceInvitationPage struct {
Invitations []ServiceInvitation `json:"invitations"`
NextCursor *ServiceInvitationID `json:"next_cursor,omitempty"`
}
ServiceInvitationPage defines model for ServiceInvitationPage.
type ServiceMetadata ¶
type ServiceMetadata struct {
// Endpoint Control-owned service TLS identity. HTTP uses shared port 443 without an exclusive ingress reservation, including when public access is disabled. Other protocols use zero when no public ingress port is reserved; an allocated port remains reserved during temporary disablement. Only public enables ingress access. This port is never a machine-local connector port. Target trust is a separate publisher-side boundary.
Endpoint *ServiceEndpoint `json:"endpoint,omitempty"`
Protocol ServiceProtocol `json:"protocol"`
PublisherPool bool `json:"publisher_pool"`
// TargetTls Approved publisher-to-target trust. This never selects or disables visitor TLS.
TargetTls *ServiceTargetTLS `json:"target_tls,omitempty"`
TrustRevision int64 `json:"trust_revision,string"`
}
ServiceMetadata defines model for ServiceMetadata.
type ServiceObservation ¶
type ServiceObservation struct {
DeliveryGeneration int64 `json:"delivery_generation,omitempty,string"`
EventId string `json:"event_id"`
EventType ServiceObservationEventType `json:"event_type"`
OccurredAt time.Time `json:"occurred_at"`
Outcome ServiceObservationOutcome `json:"outcome"`
PairId *string `json:"pair_id,omitempty"`
Reason *ServiceObservationReason `json:"reason,omitempty"`
// RoutingAuthority Signed routing authority for an ingress HTTP selection denial; verified during ingestion and not saved in service history.
RoutingAuthority []byte `json:"routing_authority,omitempty"`
RunId string `json:"run_id"`
RunNumber int64 `json:"run_number,string"`
ServiceId string `json:"service_id"`
ServiceKind ServiceObservationServiceKind `json:"service_kind"`
SourceIp *string `json:"source_ip,omitempty"`
VisitorConnectionId string `json:"visitor_connection_id"`
}
ServiceObservation defines model for ServiceObservation.
type ServiceObservationEventType ¶
type ServiceObservationEventType string
ServiceObservationEventType defines model for ServiceObservation.EventType.
const ( ObservationConnectionClose ServiceObservationEventType = "connection.close" ObservationConnectionOpen ServiceObservationEventType = "connection.open" ObservationHTTPDecision ServiceObservationEventType = "http.decision" )
Defines values for ServiceObservationEventType.
func (ServiceObservationEventType) Valid ¶
func (e ServiceObservationEventType) Valid() bool
Valid indicates whether the value is a known member of the ServiceObservationEventType enum.
type ServiceObservationOutcome ¶
type ServiceObservationOutcome string
ServiceObservationOutcome defines model for ServiceObservation.Outcome.
const ( ObservationAllowed ServiceObservationOutcome = "allowed" ObservationClosed ServiceObservationOutcome = "closed" ObservationDenied ServiceObservationOutcome = "denied" ObservationFailed ServiceObservationOutcome = "failed" ObservationForwarded ServiceObservationOutcome = "forwarded" )
Defines values for ServiceObservationOutcome.
func (ServiceObservationOutcome) Valid ¶
func (e ServiceObservationOutcome) Valid() bool
Valid indicates whether the value is a known member of the ServiceObservationOutcome enum.
type ServiceObservationReason ¶
type ServiceObservationReason string
ServiceObservationReason defines model for ServiceObservation.Reason.
const ( ObservationAuthorization ServiceObservationReason = "authorization" ObservationCancelled ServiceObservationReason = "cancelled" ObservationCapacity ServiceObservationReason = "capacity" ObservationDraining ServiceObservationReason = "draining" ObservationExpired ServiceObservationReason = "expired" ObservationForwarding ServiceObservationReason = "forwarding" ObservationIPPolicy ServiceObservationReason = "ip_policy" ObservationInvalidRequest ServiceObservationReason = "invalid_request" ObservationReasonClosed ServiceObservationReason = "closed" ObservationRevoked ServiceObservationReason = "revoked" )
Defines values for ServiceObservationReason.
func (ServiceObservationReason) Valid ¶
func (e ServiceObservationReason) Valid() bool
Valid indicates whether the value is a known member of the ServiceObservationReason enum.
type ServiceObservationResult ¶
type ServiceObservationResult struct {
Accepted int `json:"accepted"`
Duplicates int `json:"duplicates"`
}
ServiceObservationResult defines model for ServiceObservationResult.
type ServiceObservationServiceKind ¶
type ServiceObservationServiceKind string
ServiceObservationServiceKind defines model for ServiceObservation.ServiceKind.
const (
ServiceObservationServiceKindService ServiceObservationServiceKind = "service"
)
Defines values for ServiceObservationServiceKind.
func (ServiceObservationServiceKind) Valid ¶
func (e ServiceObservationServiceKind) Valid() bool
Valid indicates whether the value is a known member of the ServiceObservationServiceKind enum.
type ServicePage ¶
type ServicePage struct {
NextCursor *ServiceID `json:"next_cursor,omitempty"`
Services []ServiceSummary `json:"services"`
}
ServicePage At most 100 service summaries. Inventory preserves identity, placement, source and selection hints but never includes publisher-only target_tls or http_limits. Fetch an exact service for its approved publisher trust and limits.
type ServicePlacement ¶
type ServicePlacement struct {
DomainId *DomainID `json:"domain_id,omitempty"`
Hostname *string `json:"hostname,omitempty"`
PreviewPublisherId *ResourceID `json:"preview_publisher_id,omitempty"`
// UseSavedAddress On a named reservation, keep the saved address even if the team default has changed.
UseSavedAddress *bool `json:"use_saved_address,omitempty"`
WorktreeKey *string `json:"worktree_key,omitempty"`
WorktreeLabel *string `json:"worktree_label,omitempty"`
}
ServicePlacement defines model for ServicePlacement.
type ServiceProtocol ¶
type ServiceProtocol string
ServiceProtocol defines model for ServiceProtocol.
const ( Kubernetes ServiceProtocol = "kubernetes" Mysql ServiceProtocol = "mysql" Postgres ServiceProtocol = "postgres" ServiceProtocolHTTP ServiceProtocol = "http" Tcp ServiceProtocol = "tcp" )
Defines values for ServiceProtocol.
func (ServiceProtocol) Valid ¶
func (e ServiceProtocol) Valid() bool
Valid indicates whether the value is a known member of the ServiceProtocol enum.
type ServiceRunDeclaration ¶
type ServiceRunDeclaration struct {
// PreferredRegions Ordered provider-qualified preferences, not hard placement constraints. Control uses nearby eligible capacity when preferred regions are unavailable. Omission preserves load-based placement.
PreferredRegions *[]string `json:"preferred_regions,omitempty"`
Protocol ServiceProtocol `json:"protocol"`
// TargetTls Approved publisher-to-target trust. This never selects or disables visitor TLS.
TargetTls *ServiceTargetTLS `json:"target_tls,omitempty"`
// Traffic Explicit encrypted public endpoint traffic limits, resolved once against operator defaults and ceilings when the service run is prepared. Omitted values use operator defaults. Zero totals mean unlimited.
Traffic *TrafficSelection `json:"traffic,omitempty"`
TrustRevision int64 `json:"trust_revision,string"`
}
ServiceRunDeclaration defines model for ServiceRunDeclaration.
type ServiceRunHeartbeat ¶
type ServiceRunHeartbeat struct {
ActiveStreams int32 `json:"active_streams"`
Healthy bool `json:"healthy"`
StreamCapacity int32 `json:"stream_capacity"`
}
ServiceRunHeartbeat defines model for ServiceRunHeartbeat.
type ServiceRunObservations ¶
type ServiceRunObservations struct {
Events []ServiceObservation `json:"events"`
RunNumber int64 `json:"run_number,string"`
}
ServiceRunObservations defines model for ServiceRunObservations.
type ServiceRunPreparation ¶
type ServiceRunPreparation struct {
CertificatePlan *CertificatePlan `json:"certificate_plan,omitempty"`
DomainId DomainID `json:"domain_id"`
ExpiresAt time.Time `json:"expires_at"`
GuestId GuestID `json:"guest_id,omitempty"`
Hostname string `json:"hostname"`
IdempotencyKey IdempotencyKey `json:"idempotency_key"`
PublisherGrantId ResourceID `json:"publisher_grant_id"`
PublisherIdentityId ResourceID `json:"publisher_identity_id"`
PublisherKeyId ResourceID `json:"publisher_key_id"`
RequirePostQuantum bool `json:"require_post_quantum"`
// RunHostname Reserved exact-run HTTP hostname. It becomes usable only after public endpoint and alias readiness.
RunHostname *string `json:"run_hostname,omitempty"`
RunNumber int64 `json:"run_number,string"`
// RunToken Stable exact-run credential. Before Start, this credential permits only closing the preparation; it grants no serving authority.
RunToken string `json:"run_token"`
ServiceId ServiceID `json:"service_id"`
ServiceRunId ServiceRunID `json:"service_run_id"`
TeamId TeamID `json:"team_id,omitempty"`
// Traffic Immutable public endpoint traffic approval for one exact service run, enforced independently on each ingress process. Omitted totals are unlimited. Connector capacity is independent.
Traffic TrafficLimits `json:"traffic"`
}
ServiceRunPreparation defines model for ServiceRunPreparation.
type ServiceRunPreviewRequest ¶
type ServiceRunPreviewRequest struct {
RunNumber int64 `json:"run_number,string"`
}
ServiceRunPreviewRequest defines model for ServiceRunPreviewRequest.
type ServiceRunSetup ¶
type ServiceRunSetup struct {
PublisherConnections []ConnectionAssignment `json:"publisher_connections"`
RunNumber int64 `json:"run_number,string"`
RunToken string `json:"run_token"`
ServiceId ServiceID `json:"service_id"`
ServiceRunId ServiceRunID `json:"service_run_id"`
// VisitorSourceKey Purpose-separated key for checking ingress source proofs for this run.
VisitorSourceKey []byte `json:"visitor_source_key"`
}
ServiceRunSetup defines model for ServiceRunSetup.
type ServiceRunState ¶
type ServiceRunState struct {
ActiveStreams *int32 `json:"active_streams,omitempty"`
// AliasPolicyConfirmation A separate observation for the exact run_hostname, returned to publishers requesting alias policy confirmation.
AliasPolicyConfirmation *PublisherPolicyConfirmation `json:"alias_policy_confirmation,omitempty"`
EndpointRevision int64 `json:"endpoint_revision"`
Healthy *bool `json:"healthy,omitempty"`
// ObservedAt Control observation used with publisher_expires_at to derive the local serving deadline from the request start.
ObservedAt time.Time `json:"observed_at"`
// PolicyConfirmation A fresh visitor-policy observation for a matching complete snapshot. The publisher lease and the watch do not confer this authority.
PolicyConfirmation *PublisherPolicyConfirmation `json:"policy_confirmation,omitempty"`
// PublicEndpointReady The current public endpoint has compatible ingress and published or explicitly unmanaged DNS for this run. This fact does not grant access, extend authority, or affect connector readiness.
PublicEndpointReady bool `json:"public_endpoint_ready"`
PublisherConnections []ConnectionAssignment `json:"publisher_connections"`
PublisherExpiresAt time.Time `json:"publisher_expires_at"`
// RenewAfterMs Delay from the start of this heartbeat until the next routine renewal. This scheduling hint does not grant serving authority.
RenewAfterMs int64 `json:"renew_after_ms"`
// RunAliasReady Both the canonical endpoint and this run's exact alias have current public DNS and ingress readiness.
RunAliasReady *bool `json:"run_alias_ready,omitempty"`
// RunHostname The immutable hostname reserved for this run, when aliases were enabled at preparation.
RunHostname *string `json:"run_hostname,omitempty"`
RunNumber int64 `json:"run_number,string"`
ServiceId ServiceID `json:"service_id"`
ServiceRunId ServiceRunID `json:"service_run_id"`
State ServiceRunStateState `json:"state"`
StreamCapacity *int32 `json:"stream_capacity,omitempty"`
}
ServiceRunState defines model for ServiceRunState.
type ServiceRunStateState ¶
type ServiceRunStateState string
ServiceRunStateState defines model for ServiceRunState.State.
const ( ServiceRunStateStateClosed ServiceRunStateState = "closed" ServiceRunStateStateReady ServiceRunStateState = "ready" ServiceRunStateStateStarting ServiceRunStateState = "starting" )
Defines values for ServiceRunStateState.
func (ServiceRunStateState) Valid ¶
func (e ServiceRunStateState) Valid() bool
Valid indicates whether the value is a known member of the ServiceRunStateState enum.
type ServiceSelection ¶
type ServiceSelection struct {
// Endpoint Control-owned service TLS identity. HTTP uses shared port 443 without an exclusive ingress reservation, including when public access is disabled. Other protocols use zero when no public ingress port is reserved; an allocated port remains reserved during temporary disablement. Only public enables ingress access. This port is never a machine-local connector port. Target trust is a separate publisher-side boundary.
Endpoint *ServiceEndpoint `json:"endpoint,omitempty"`
ExpiresAt time.Time `json:"expires_at"`
// KubernetesAuth Approved nonsecret native client authentication hint. Contains no publisher target address, CA, or credentials.
KubernetesAuth *KubernetesAuth `json:"kubernetes_auth,omitempty"`
// PairReady A short-lived, credential-free snapshot for signing an exact pair request. It never grants a relay claim.
PairReady *ConnectorPeerPairReady `json:"pair_ready,omitempty"`
Protocol ServiceProtocol `json:"protocol"`
RunNumber int64 `json:"run_number,string"`
ServiceId ServiceID `json:"service_id"`
ServiceRunId ServiceRunID `json:"service_run_id"`
// Subject Exactly identity_id and device_id for human_device; workload_session_id for workload_session; grant_id and key_id for registered_key. A machine never borrows a human device or provider identity.
Subject VisitorSubject `json:"subject"`
TrustRevision int64 `json:"trust_revision,string"`
}
ServiceSelection defines model for ServiceSelection.
type ServiceSummary ¶
type ServiceSummary struct {
CreatedAt time.Time `json:"created_at"`
DomainId *DomainID `json:"domain_id,omitempty"`
Enabled bool `json:"enabled"`
// Endpoint Control-owned service TLS identity. HTTP uses shared port 443 without an exclusive ingress reservation, including when public access is disabled. Other protocols use zero when no public ingress port is reserved; an allocated port remains reserved during temporary disablement. Only public enables ingress access. This port is never a machine-local connector port. Target trust is a separate publisher-side boundary.
Endpoint *ServiceEndpoint `json:"endpoint,omitempty"`
GuestId GuestID `json:"guest_id,omitempty"`
Id ServiceID `json:"id"`
// KubernetesAuth Approved nonsecret native client authentication hint. Contains no publisher target address, CA, or credentials.
KubernetesAuth *KubernetesAuth `json:"kubernetes_auth,omitempty"`
Name ServiceName `json:"name"`
Placement *ServicePlacement `json:"placement,omitempty"`
Protocol ServiceProtocol `json:"protocol"`
PublisherPool bool `json:"publisher_pool"`
RequirePostQuantum bool `json:"require_post_quantum"`
RunNumber *int64 `json:"run_number,omitempty,string"`
ServiceRunId *ServiceRunID `json:"service_run_id,omitempty"`
Source *LocalServiceSource `json:"source,omitempty"`
TeamId TeamID `json:"team_id,omitempty"`
// TeamName Actual stored team name. Present in signed-in visitor inventory; omitted in management inventory.
TeamName string `json:"team_name,omitempty"`
TrustRevision int64 `json:"trust_revision,string"`
// VisitorAccess Current identity permission reason for the requested access path. Present in visitor inventory only; listing is not traffic authorization.
VisitorAccess ServiceSummaryVisitorAccess `json:"visitor_access,omitempty"`
}
ServiceSummary Service identity, placement, and an optional run. Omits target trust, target addresses, credentials, and publisher HTTP limits.
type ServiceSummaryVisitorAccess ¶
type ServiceSummaryVisitorAccess string
ServiceSummaryVisitorAccess Current identity permission reason for the requested access path. Present in visitor inventory only; listing is not traffic authorization.
const ( IdentityGrant ServiceSummaryVisitorAccess = "identity_grant" Owner ServiceSummaryVisitorAccess = "owner" PreviewTeam ServiceSummaryVisitorAccess = "preview_team" TeamGrant ServiceSummaryVisitorAccess = "team_grant" )
Defines values for ServiceSummaryVisitorAccess.
func (ServiceSummaryVisitorAccess) Valid ¶
func (e ServiceSummaryVisitorAccess) Valid() bool
Valid indicates whether the value is a known member of the ServiceSummaryVisitorAccess enum.
type ServiceTargetTLS ¶
type ServiceTargetTLS struct {
Digest string `json:"digest"`
Hostname string `json:"hostname"`
Pem *string `json:"pem,omitempty"`
System bool `json:"system"`
}
ServiceTargetTLS Approved publisher-to-target trust. This never selects or disables visitor TLS.
type SetMaintenanceControlJSONRequestBody ¶
type SetMaintenanceControlJSONRequestBody = SetMaintenanceControlRequest
SetMaintenanceControlJSONRequestBody defines body for SetMaintenanceControl for application/json ContentType.
type SetMaintenanceControlRequest ¶
type SetMaintenanceControlRequest struct {
Allowed bool `json:"allowed"`
}
SetMaintenanceControlRequest defines model for SetMaintenanceControlRequest.
type SetMaintenanceControlResponse ¶
type SetMaintenanceControlResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MaintenanceControl
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseSetMaintenanceControlResponse ¶
func ParseSetMaintenanceControlResponse(rsp *http.Response) (*SetMaintenanceControlResponse, error)
ParseSetMaintenanceControlResponse parses an HTTP response from a SetMaintenanceControlWithResponse call
func (SetMaintenanceControlResponse) ContentType ¶
func (r SetMaintenanceControlResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetMaintenanceControlResponse) GetApplicationproblemJSONDefault ¶
func (r SetMaintenanceControlResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (SetMaintenanceControlResponse) GetBody ¶
func (r SetMaintenanceControlResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetMaintenanceControlResponse) GetJSON200 ¶
func (r SetMaintenanceControlResponse) GetJSON200() *MaintenanceControl
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SetMaintenanceControlResponse) Status ¶
func (r SetMaintenanceControlResponse) Status() string
Status returns HTTPResponse.Status
func (SetMaintenanceControlResponse) StatusCode ¶
func (r SetMaintenanceControlResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetPreviewTeamAccessJSONRequestBody ¶
type SetPreviewTeamAccessJSONRequestBody = SetPreviewTeamAccessRequest
SetPreviewTeamAccessJSONRequestBody defines body for SetPreviewTeamAccess for application/json ContentType.
type SetPreviewTeamAccessRequest ¶
type SetPreviewTeamAccessRequest struct {
Enabled bool `json:"enabled"`
}
SetPreviewTeamAccessRequest defines model for SetPreviewTeamAccessRequest.
type SetPreviewTeamAccessResponse ¶
type SetPreviewTeamAccessResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Preview
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseSetPreviewTeamAccessResponse ¶
func ParseSetPreviewTeamAccessResponse(rsp *http.Response) (*SetPreviewTeamAccessResponse, error)
ParseSetPreviewTeamAccessResponse parses an HTTP response from a SetPreviewTeamAccessWithResponse call
func (SetPreviewTeamAccessResponse) ContentType ¶
func (r SetPreviewTeamAccessResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetPreviewTeamAccessResponse) GetApplicationproblemJSONDefault ¶
func (r SetPreviewTeamAccessResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (SetPreviewTeamAccessResponse) GetBody ¶
func (r SetPreviewTeamAccessResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetPreviewTeamAccessResponse) GetJSON200 ¶
func (r SetPreviewTeamAccessResponse) GetJSON200() *Preview
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SetPreviewTeamAccessResponse) Status ¶
func (r SetPreviewTeamAccessResponse) Status() string
Status returns HTTPResponse.Status
func (SetPreviewTeamAccessResponse) StatusCode ¶
func (r SetPreviewTeamAccessResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetServiceEnabledJSONRequestBody ¶
type SetServiceEnabledJSONRequestBody = SetServiceEnabledRequest
SetServiceEnabledJSONRequestBody defines body for SetServiceEnabled for application/json ContentType.
type SetServiceEnabledRequest ¶
type SetServiceEnabledRequest struct {
// Enabled False suspends publication; true allows new runs after current authorization checks.
Enabled *bool `json:"enabled"`
}
SetServiceEnabledRequest defines model for SetServiceEnabledRequest.
type SetServiceEnabledResponse ¶
type SetServiceEnabledResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Service
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseSetServiceEnabledResponse ¶
func ParseSetServiceEnabledResponse(rsp *http.Response) (*SetServiceEnabledResponse, error)
ParseSetServiceEnabledResponse parses an HTTP response from a SetServiceEnabledWithResponse call
func (SetServiceEnabledResponse) ContentType ¶
func (r SetServiceEnabledResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetServiceEnabledResponse) GetApplicationproblemJSONDefault ¶
func (r SetServiceEnabledResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (SetServiceEnabledResponse) GetBody ¶
func (r SetServiceEnabledResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SetServiceEnabledResponse) GetJSON200 ¶
func (r SetServiceEnabledResponse) GetJSON200() *Service
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SetServiceEnabledResponse) Status ¶
func (r SetServiceEnabledResponse) Status() string
Status returns HTTPResponse.Status
func (SetServiceEnabledResponse) StatusCode ¶
func (r SetServiceEnabledResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Share ¶
type Share struct {
// SchemaVersion Review data format version; writers currently emit 1. Separate from revisions and service run numbers.
}
Share defines model for Share.
type ShareCreation ¶
type ShareCreation struct {
}
ShareCreation The share, a link for reviewers, and a token source for visitor-token requests. Keep these values: lists and detail reads do not return secrets. An identical retry returns credential_delivery_unavailable with the existing share ID.
type SharePage ¶
type SharePage struct {
// SchemaVersion Review data format version; writers currently emit 1. Separate from revisions and service run numbers.
}
SharePage defines model for SharePage.
type ShareRedemption ¶
type ShareRedemption struct {
// SchemaVersion Review data format version; writers currently emit 1. Separate from revisions and service run numbers.
}
ShareRedemption defines model for ShareRedemption.
type ShareScope ¶
type ShareScope string
ShareScope defines model for Share.Scope.
const ( )
Defines values for ShareScope.
func (ShareScope) Valid ¶
func (e ShareScope) Valid() bool
Valid indicates whether the value is a known member of the ShareScope enum.
type SourceFileState ¶
type SourceFileState struct {
// BlobId Git blob ID from git hash-object --no-filters; absent for deleted or unreadable files
BlobId *string `json:"blob_id,omitempty"`
// Mode Git file mode; absent for deleted or unsupported files
Mode *string `json:"mode,omitempty"`
// Path Path relative to the selected project directory
Path string `json:"path"`
// Status Working-tree change from HEAD; staging does not affect this value
Status SourceFileStateStatus `json:"status"`
}
SourceFileState defines model for SourceFileState.
type SourceFileStateStatus ¶
type SourceFileStateStatus string
SourceFileStateStatus Working-tree change from HEAD; staging does not affect this value
const ( Added SourceFileStateStatus = "added" Deleted SourceFileStateStatus = "deleted" Modified SourceFileStateStatus = "modified" )
Defines values for SourceFileStateStatus.
func (SourceFileStateStatus) Valid ¶
func (e SourceFileStateStatus) Valid() bool
Valid indicates whether the value is a known member of the SourceFileStateStatus enum.
type SourceState ¶
type SourceState struct {
// Branch Informational branch name; empty for detached HEAD or when unavailable
Branch string `json:"branch"`
// ChangedFiles Unique project-relative paths sorted lexically; renames are a deletion and an addition
ChangedFiles []SourceFileState `json:"changed_files"`
// Complete All supported Git-visible project changes were captured within the bounds
Complete bool `json:"complete"`
// HeadCommit Full Git HEAD commit ID; empty when unavailable
HeadCommit string `json:"head_commit"`
// ProjectPath Selected project's path relative to the repository root; empty at the root
ProjectPath string `json:"project_path"`
// SchemaVersion Review data format version; writers currently emit 1. Separate from revisions and service run numbers.
SchemaVersion ReviewSchemaVersion `json:"schema_version"`
}
SourceState Git identifiers captured for one project directory. Compare HEAD, project_path, and changed_files only when both captures are complete. Branch names, staging, and ignored files do not affect matching. File contents and absolute paths are not stored; truncated or unsupported captures are incomplete.
type StartPublisherRuntimeJSONRequestBody ¶
type StartPublisherRuntimeJSONRequestBody = PublisherRuntimeRequest
StartPublisherRuntimeJSONRequestBody defines body for StartPublisherRuntime for application/json ContentType.
type StartPublisherRuntimeResponse ¶
type StartPublisherRuntimeResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublisherRuntimeResponse
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseStartPublisherRuntimeResponse ¶
func ParseStartPublisherRuntimeResponse(rsp *http.Response) (*StartPublisherRuntimeResponse, error)
ParseStartPublisherRuntimeResponse parses an HTTP response from a StartPublisherRuntimeWithResponse call
func (StartPublisherRuntimeResponse) ContentType ¶
func (r StartPublisherRuntimeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (StartPublisherRuntimeResponse) GetApplicationproblemJSONDefault ¶
func (r StartPublisherRuntimeResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (StartPublisherRuntimeResponse) GetBody ¶
func (r StartPublisherRuntimeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (StartPublisherRuntimeResponse) GetJSON200 ¶
func (r StartPublisherRuntimeResponse) GetJSON200() *PublisherRuntimeResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (StartPublisherRuntimeResponse) Status ¶
func (r StartPublisherRuntimeResponse) Status() string
Status returns HTTPResponse.Status
func (StartPublisherRuntimeResponse) StatusCode ¶
func (r StartPublisherRuntimeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StartServiceRunJSONBody ¶
type StartServiceRunJSONBody struct {
RunNumber int64 `json:"run_number,string"`
}
StartServiceRunJSONBody defines parameters for StartServiceRun.
type StartServiceRunJSONRequestBody ¶
type StartServiceRunJSONRequestBody StartServiceRunJSONBody
StartServiceRunJSONRequestBody defines body for StartServiceRun for application/json ContentType.
type StartServiceRunResponse ¶
type StartServiceRunResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ServiceRunSetup
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseStartServiceRunResponse ¶
func ParseStartServiceRunResponse(rsp *http.Response) (*StartServiceRunResponse, error)
ParseStartServiceRunResponse parses an HTTP response from a StartServiceRunWithResponse call
func (StartServiceRunResponse) ContentType ¶
func (r StartServiceRunResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (StartServiceRunResponse) GetApplicationproblemJSONDefault ¶
func (r StartServiceRunResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (StartServiceRunResponse) GetBody ¶
func (r StartServiceRunResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (StartServiceRunResponse) GetJSON200 ¶
func (r StartServiceRunResponse) GetJSON200() *ServiceRunSetup
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (StartServiceRunResponse) Status ¶
func (r StartServiceRunResponse) Status() string
Status returns HTTPResponse.Status
func (StartServiceRunResponse) StatusCode ¶
func (r StartServiceRunResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StdHTTPServerOptions ¶
type StdHTTPServerOptions struct {
BaseURL string
BaseRouter ServeMux
Middlewares []MiddlewareFunc
ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
type StopPublisherRuntimeJSONRequestBody ¶
type StopPublisherRuntimeJSONRequestBody = PublisherRuntimeRequest
StopPublisherRuntimeJSONRequestBody defines body for StopPublisherRuntime for application/json ContentType.
type StopPublisherRuntimeResponse ¶
type StopPublisherRuntimeResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublisherRuntimeResponse
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseStopPublisherRuntimeResponse ¶
func ParseStopPublisherRuntimeResponse(rsp *http.Response) (*StopPublisherRuntimeResponse, error)
ParseStopPublisherRuntimeResponse parses an HTTP response from a StopPublisherRuntimeWithResponse call
func (StopPublisherRuntimeResponse) ContentType ¶
func (r StopPublisherRuntimeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (StopPublisherRuntimeResponse) GetApplicationproblemJSONDefault ¶
func (r StopPublisherRuntimeResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (StopPublisherRuntimeResponse) GetBody ¶
func (r StopPublisherRuntimeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (StopPublisherRuntimeResponse) GetJSON200 ¶
func (r StopPublisherRuntimeResponse) GetJSON200() *PublisherRuntimeResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (StopPublisherRuntimeResponse) Status ¶
func (r StopPublisherRuntimeResponse) Status() string
Status returns HTTPResponse.Status
func (StopPublisherRuntimeResponse) StatusCode ¶
func (r StopPublisherRuntimeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SuppliedServiceCertificateInstallation ¶
type SuppliedServiceCertificateInstallation struct {
CertificateSha256 string `json:"certificate_sha256"`
ExpiresAt time.Time `json:"expires_at"`
}
SuppliedServiceCertificateInstallation defines model for SuppliedServiceCertificateInstallation.
type SuppliedServiceCertificateInstalledRequest ¶
type SuppliedServiceCertificateInstalledRequest struct {
CertificatePem string `json:"certificate_pem"`
// PreviousCertificateSha256 Empty for the first install; otherwise the fingerprint of the previous acknowledged leaf. A retry of the currently installed leaf is idempotent.
PreviousCertificateSha256 string `json:"previous_certificate_sha256"`
RunNumber int64 `json:"run_number,string"`
}
SuppliedServiceCertificateInstalledRequest defines model for SuppliedServiceCertificateInstalledRequest.
type TooManyValuesForParamError ¶
func (*TooManyValuesForParamError) Error ¶
func (e *TooManyValuesForParamError) Error() string
type TrafficLimits ¶
type TrafficLimits struct {
Burst int `json:"burst"`
Connections int `json:"connections"`
DownloadBytes int64 `json:"download_bytes"`
Rate int `json:"rate"`
RatePerNs int64 `json:"rate_per_ns"`
TotalConnections *int64 `json:"total_connections,omitempty"`
TotalDownloadBytes *int64 `json:"total_download_bytes,omitempty"`
TotalUploadBytes *int64 `json:"total_upload_bytes,omitempty"`
UploadBytes int64 `json:"upload_bytes"`
}
TrafficLimits Immutable public endpoint traffic approval for one exact service run, enforced independently on each ingress process. Omitted totals are unlimited. Connector capacity is independent.
type TrafficSelection ¶
type TrafficSelection struct {
Burst *int `json:"burst,omitempty"`
Connections *int `json:"connections,omitempty"`
// DownloadBytes Encrypted download bytes per second.
DownloadBytes *int64 `json:"download_bytes,omitempty"`
Rate *int `json:"rate,omitempty"`
// RatePer Go duration between 1ms and 24h, such as 1s or 500ms.
RatePer *string `json:"rate_per,omitempty"`
TotalConnections *int64 `json:"total_connections,omitempty"`
TotalDownloadBytes *int64 `json:"total_download_bytes,omitempty"`
TotalUploadBytes *int64 `json:"total_upload_bytes,omitempty"`
// UploadBytes Encrypted upload bytes per second.
UploadBytes *int64 `json:"upload_bytes,omitempty"`
}
TrafficSelection Explicit encrypted public endpoint traffic limits, resolved once against operator defaults and ceilings when the service run is prepared. Omitted values use operator defaults. Zero totals mean unlimited.
type UnescapedCookieParamError ¶
func (*UnescapedCookieParamError) Error ¶
func (e *UnescapedCookieParamError) Error() string
func (*UnescapedCookieParamError) Unwrap ¶
func (e *UnescapedCookieParamError) Unwrap() error
type UnmarshalingParamError ¶
func (*UnmarshalingParamError) Error ¶
func (e *UnmarshalingParamError) Error() string
func (*UnmarshalingParamError) Unwrap ¶
func (e *UnmarshalingParamError) Unwrap() error
type UpdateDeploymentJSONRequestBody ¶
type UpdateDeploymentJSONRequestBody = UpdateDeploymentRequest
UpdateDeploymentJSONRequestBody defines body for UpdateDeployment for application/json ContentType.
type UpdateDeploymentParams ¶
type UpdateDeploymentParams struct {
TeamId TeamIDQuery `form:"team_id" json:"team_id"`
// IfMatch Required by the operation; omission returns 428.
IfMatch *string `json:"If-Match,omitempty"`
}
UpdateDeploymentParams defines parameters for UpdateDeployment.
type UpdateDeploymentRequest ¶
type UpdateDeploymentRequest struct {
Targets DeploymentTargets `json:"targets"`
}
UpdateDeploymentRequest Update addresses and TLS for selected existing bindings. Omitted services, visitor policy, hostname ownership, service names/protocols, and publisher authority remain unchanged. Does not add or remove bindings.
type UpdateDeploymentResponse ¶
type UpdateDeploymentResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Deployment
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *UpdateDeploymentResponse200Headers
}
func ParseUpdateDeploymentResponse ¶
func ParseUpdateDeploymentResponse(rsp *http.Response) (*UpdateDeploymentResponse, error)
ParseUpdateDeploymentResponse parses an HTTP response from a UpdateDeploymentWithResponse call
func (UpdateDeploymentResponse) ContentType ¶
func (r UpdateDeploymentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateDeploymentResponse) GetApplicationproblemJSONDefault ¶
func (r UpdateDeploymentResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (UpdateDeploymentResponse) GetBody ¶
func (r UpdateDeploymentResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateDeploymentResponse) GetJSON200 ¶
func (r UpdateDeploymentResponse) GetJSON200() *Deployment
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateDeploymentResponse) Status ¶
func (r UpdateDeploymentResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateDeploymentResponse) StatusCode ¶
func (r UpdateDeploymentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateDeploymentResponse200Headers ¶
type UpdateDeploymentResponse200Headers struct {
ETag *string
}
UpdateDeploymentResponse200Headers the declared response headers of an HTTP 200 response for UpdateDeployment
type UpdateServiceRequest ¶
type UpdateServiceRequest struct {
Configuration *ProjectServiceConfiguration `json:"configuration,omitempty"`
// ExpectedConfigurationDigest Observed full configuration fingerprint, without ETag quotes. Required for configuration replacement unless unconditional_configuration is true; the two are mutually exclusive. Also covers the absence of a saved declaration.
ExpectedConfigurationDigest *string `json:"expected_configuration_digest,omitempty"`
// ExpectedPublisherPool Observed publisher_pool value, not the desired setting. A mismatch with the locked service conflicts independently of trust and declaration conditions. Omit for an unconditional pool replacement; null is invalid.
ExpectedPublisherPool *bool `json:"expected_publisher_pool,omitempty"`
ExpectedTrustRevision int64 `json:"expected_trust_revision,string"`
Protocol ServiceProtocol `json:"protocol"`
PublisherPool bool `json:"publisher_pool"`
// TargetTls Approved publisher-to-target trust. This never selects or disables visitor TLS.
TargetTls *ServiceTargetTLS `json:"target_tls,omitempty"`
// UnconditionalConfiguration Explicitly replace configuration without checking its current fingerprint. Requires configuration and excludes expected_configuration_digest. Does not bypass trust revision, publisher-pool conditions, authorization, or validation.
UnconditionalConfiguration *bool `json:"unconditional_configuration,omitempty"`
}
UpdateServiceRequest Replacement service settings. Copy trust_revision into expected_trust_revision; a stale revision is rejected independently of the full configuration fingerprint and pool condition. Supplied configuration replaces a standalone service's entire declaration on the same service ID; omitted settings return to defaults, including restricted HTTP access and no IP filter or request-limit overrides. Protocol and target_tls must agree with it. Every configuration replacement requires the unquoted ETag token from getServiceConfiguration as expected_configuration_digest, or an explicit unconditional_configuration: true instead. A stale digest conflicts before any service write, even when trust_revision has not changed. To protect a read publisher_pool value, send it as expected_publisher_pool. Conditions describe observed state, not desired settings. Omitting configuration is a distinct metadata-only update that retains the saved declaration, which must still agree with the metadata. Allocated and project-managed declarations cannot be changed here.
type VerifyDeploymentIdentityJSONRequestBody ¶
type VerifyDeploymentIdentityJSONRequestBody = DeploymentPublisherLeaseRequest
VerifyDeploymentIdentityJSONRequestBody defines body for VerifyDeploymentIdentity for application/json ContentType.
type VerifyDeploymentIdentityResponse ¶
type VerifyDeploymentIdentityResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DeploymentPublisherVerification
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseVerifyDeploymentIdentityResponse ¶
func ParseVerifyDeploymentIdentityResponse(rsp *http.Response) (*VerifyDeploymentIdentityResponse, error)
ParseVerifyDeploymentIdentityResponse parses an HTTP response from a VerifyDeploymentIdentityWithResponse call
func (VerifyDeploymentIdentityResponse) ContentType ¶
func (r VerifyDeploymentIdentityResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (VerifyDeploymentIdentityResponse) GetApplicationproblemJSONDefault ¶
func (r VerifyDeploymentIdentityResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (VerifyDeploymentIdentityResponse) GetBody ¶
func (r VerifyDeploymentIdentityResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (VerifyDeploymentIdentityResponse) GetJSON200 ¶
func (r VerifyDeploymentIdentityResponse) GetJSON200() *DeploymentPublisherVerification
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (VerifyDeploymentIdentityResponse) Status ¶
func (r VerifyDeploymentIdentityResponse) Status() string
Status returns HTTPResponse.Status
func (VerifyDeploymentIdentityResponse) StatusCode ¶
func (r VerifyDeploymentIdentityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VisitorAccessMode ¶
type VisitorAccessMode string
VisitorAccessMode defines model for VisitorAccessMode.
const ( Anonymous VisitorAccessMode = "anonymous" Restricted VisitorAccessMode = "restricted" )
Defines values for VisitorAccessMode.
func (VisitorAccessMode) Valid ¶
func (e VisitorAccessMode) Valid() bool
Valid indicates whether the value is a known member of the VisitorAccessMode enum.
type VisitorConnectionID ¶
type VisitorConnectionID = string
VisitorConnectionID defines model for VisitorConnectionID.
type VisitorCredential ¶
type VisitorCredential struct {
ExpiresAt time.Time `json:"expires_at"`
GrantId string `json:"grant_id"`
Kind VisitorCredentialKind `json:"kind"`
Permission VisitorTokenResponse `json:"permission"`
RefreshCredential string `json:"refresh_credential"`
}
VisitorCredential defines model for VisitorCredential.
type VisitorCredentialKind ¶
type VisitorCredentialKind string
VisitorCredentialKind defines model for VisitorCredential.Kind.
const (
VisitorCredentialKindToken VisitorCredentialKind = "token"
)
Defines values for VisitorCredentialKind.
func (VisitorCredentialKind) Valid ¶
func (e VisitorCredentialKind) Valid() bool
Valid indicates whether the value is a known member of the VisitorCredentialKind enum.
type VisitorDevice ¶
type VisitorDevice struct {
CreatedAt time.Time `json:"created_at"`
Id string `json:"id"`
IdentityId IdentityID `json:"identity_id"`
PublicKey string `json:"public_key"`
RevokedAt *time.Time `json:"revoked_at,omitempty"`
}
VisitorDevice defines model for VisitorDevice.
type VisitorPolicyIP ¶
type VisitorPolicyIP struct {
Key []byte `json:"key"`
Prefixes []HashedIPPrefix `json:"prefixes"`
}
VisitorPolicyIP defines model for VisitorPolicyIP.
type VisitorPolicySnapshot ¶
type VisitorPolicySnapshot struct {
Anonymous bool `json:"anonymous"`
// ConnectionDeadline Latest allowed lifetime for guest visitor connections, including idle connections. Ingress forwards visitors only after the run is ready; ingress and publisher keep connections within this deadline. An enabled policy's valid_until cannot exceed it. Installing preparation policy does not grant visitor access.
ConnectionDeadline *time.Time `json:"connection_deadline,omitempty"`
Enabled bool `json:"enabled"`
Hostname string `json:"hostname"`
Ip *VisitorPolicyIP `json:"ip,omitempty"`
Issuer string `json:"issuer"`
KeyRevision int64 `json:"key_revision,string"`
// MetadataRevision current service trust revision; zero for public URLs.
MetadataRevision int64 `json:"metadata_revision,string"`
ObservedAt time.Time `json:"observed_at"`
// Port Exact resource port binding. Zero is permitted only for a service without a public reservation and is never a wildcard.
Port int `json:"port"`
// PublicEndpoint Current public endpoint only. Its removal does not revoke connector access or change the run's captured TLS hostname.
PublicEndpoint *VisitorPublicEndpoint `json:"public_endpoint,omitempty"`
RegisteredKeyLeases []VisitorRegisteredKeyLease `json:"registered_key_leases"`
// Resource An exact service authorization scope.
Resource VisitorResourceScope `json:"resource"`
ValidUntil time.Time `json:"valid_until"`
VerificationKeys []VisitorVerificationKey `json:"verification_keys"`
VisitorPolicyRevision int64 `json:"visitor_policy_revision,string"`
WorkloadLeases []VisitorWorkloadLease `json:"workload_leases"`
}
VisitorPolicySnapshot defines model for VisitorPolicySnapshot.
type VisitorPolicyUpdate ¶
type VisitorPolicyUpdate struct {
AfterRevision int64 `json:"after_revision,string"`
// ConfirmationKey Binds this full snapshot to later exact-run policy confirmations. Absent when fresh parent or hostname facts are required.
ConfirmationKey *string `json:"confirmation_key,omitempty"`
Policy VisitorPolicySnapshot `json:"policy"`
Revisions RevisionList `json:"revisions"`
SnapshotRequired bool `json:"snapshot_required"`
}
VisitorPolicyUpdate defines model for VisitorPolicyUpdate.
type VisitorPublicEndpoint ¶
type VisitorPublicEndpoint struct {
EndpointRevision int64 `json:"endpoint_revision"`
Hostname string `json:"hostname"`
Port int `json:"port"`
}
VisitorPublicEndpoint defines model for VisitorPublicEndpoint.
type VisitorRegisteredKeyLease ¶
type VisitorRegisteredKeyLease struct {
ExpiresAt time.Time `json:"expires_at"`
GrantId string `json:"grant_id"`
KeyId string `json:"key_id"`
KeySha256 string `json:"key_sha256"`
}
VisitorRegisteredKeyLease defines model for VisitorRegisteredKeyLease.
type VisitorResourceScope ¶
type VisitorResourceScope struct {
Id string `json:"id"`
Kind VisitorResourceScopeKind `json:"kind"`
}
VisitorResourceScope An exact service authorization scope.
type VisitorResourceScopeKind ¶
type VisitorResourceScopeKind string
VisitorResourceScopeKind defines model for VisitorResourceScope.Kind.
const (
VisitorResourceScopeKindService VisitorResourceScopeKind = "service"
)
Defines values for VisitorResourceScopeKind.
func (VisitorResourceScopeKind) Valid ¶
func (e VisitorResourceScopeKind) Valid() bool
Valid indicates whether the value is a known member of the VisitorResourceScopeKind enum.
type VisitorSubject ¶
type VisitorSubject struct {
DeviceId *string `json:"device_id,omitempty"`
GrantId *string `json:"grant_id,omitempty"`
IdentityId *string `json:"identity_id,omitempty"`
KeyId *string `json:"key_id,omitempty"`
Kind VisitorSubjectKind `json:"kind"`
WorkloadSessionId *string `json:"workload_session_id,omitempty"`
}
VisitorSubject Exactly identity_id and device_id for human_device; workload_session_id for workload_session; grant_id and key_id for registered_key. A machine never borrows a human device or provider identity.
type VisitorSubjectKind ¶
type VisitorSubjectKind string
VisitorSubjectKind defines model for VisitorSubject.Kind.
const ( HumanDevice VisitorSubjectKind = "human_device" RegisteredKey VisitorSubjectKind = "registered_key" WorkloadSession VisitorSubjectKind = "workload_session" )
Defines values for VisitorSubjectKind.
func (VisitorSubjectKind) Valid ¶
func (e VisitorSubjectKind) Valid() bool
Valid indicates whether the value is a known member of the VisitorSubjectKind enum.
type VisitorTokenBrowserSessionSource ¶
type VisitorTokenBrowserSessionSource struct {
Kind VisitorTokenBrowserSessionSourceKind `json:"kind"`
Secret string `json:"secret"`
}
VisitorTokenBrowserSessionSource defines model for VisitorTokenBrowserSessionSource.
type VisitorTokenBrowserSessionSourceKind ¶
type VisitorTokenBrowserSessionSourceKind string
VisitorTokenBrowserSessionSourceKind defines model for VisitorTokenBrowserSessionSource.Kind.
const (
VisitorTokenBrowserSession VisitorTokenBrowserSessionSourceKind = "browser_session"
)
Defines values for VisitorTokenBrowserSessionSourceKind.
func (VisitorTokenBrowserSessionSourceKind) Valid ¶
func (e VisitorTokenBrowserSessionSourceKind) Valid() bool
Valid indicates whether the value is a known member of the VisitorTokenBrowserSessionSourceKind enum.
type VisitorTokenControlSessionSource ¶
type VisitorTokenControlSessionSource struct {
Kind VisitorTokenControlSessionSourceKind `json:"kind"`
PreviewId *PreviewID `json:"preview_id,omitempty"`
}
VisitorTokenControlSessionSource defines model for VisitorTokenControlSessionSource.
type VisitorTokenControlSessionSourceKind ¶
type VisitorTokenControlSessionSourceKind string
VisitorTokenControlSessionSourceKind defines model for VisitorTokenControlSessionSource.Kind.
const (
VisitorTokenControlSession VisitorTokenControlSessionSourceKind = "control_session"
)
Defines values for VisitorTokenControlSessionSourceKind.
func (VisitorTokenControlSessionSourceKind) Valid ¶
func (e VisitorTokenControlSessionSourceKind) Valid() bool
Valid indicates whether the value is a known member of the VisitorTokenControlSessionSourceKind enum.
type VisitorTokenDeviceSource ¶
type VisitorTokenDeviceSource struct {
DeviceId string `json:"device_id"`
Kind VisitorTokenDeviceSourceKind `json:"kind"`
}
VisitorTokenDeviceSource defines model for VisitorTokenDeviceSource.
type VisitorTokenDeviceSourceKind ¶
type VisitorTokenDeviceSourceKind string
VisitorTokenDeviceSourceKind defines model for VisitorTokenDeviceSource.Kind.
const (
VisitorTokenDevice VisitorTokenDeviceSourceKind = "device"
)
Defines values for VisitorTokenDeviceSourceKind.
func (VisitorTokenDeviceSourceKind) Valid ¶
func (e VisitorTokenDeviceSourceKind) Valid() bool
Valid indicates whether the value is a known member of the VisitorTokenDeviceSourceKind enum.
type VisitorTokenGrantSource ¶
type VisitorTokenGrantSource struct {
Credential string `json:"credential"`
Kind VisitorTokenGrantSourceKind `json:"kind"`
}
VisitorTokenGrantSource defines model for VisitorTokenGrantSource.
type VisitorTokenGrantSourceKind ¶
type VisitorTokenGrantSourceKind string
VisitorTokenGrantSourceKind defines model for VisitorTokenGrantSource.Kind.
const (
VisitorTokenGrant VisitorTokenGrantSourceKind = "grant"
)
Defines values for VisitorTokenGrantSourceKind.
func (VisitorTokenGrantSourceKind) Valid ¶
func (e VisitorTokenGrantSourceKind) Valid() bool
Valid indicates whether the value is a known member of the VisitorTokenGrantSourceKind enum.
type VisitorTokenRegisteredKeySource ¶
type VisitorTokenRegisteredKeySource struct {
Credential string `json:"credential"`
Kind VisitorTokenRegisteredKeySourceKind `json:"kind"`
}
VisitorTokenRegisteredKeySource Access token from the existing signed publisher-token exchange. A connect approval and proof of its exact signing key are required for connector ownership.
type VisitorTokenRegisteredKeySourceKind ¶
type VisitorTokenRegisteredKeySourceKind string
VisitorTokenRegisteredKeySourceKind defines model for VisitorTokenRegisteredKeySource.Kind.
const (
VisitorTokenRegisteredKey VisitorTokenRegisteredKeySourceKind = "registered_key"
)
Defines values for VisitorTokenRegisteredKeySourceKind.
func (VisitorTokenRegisteredKeySourceKind) Valid ¶
func (e VisitorTokenRegisteredKeySourceKind) Valid() bool
Valid indicates whether the value is a known member of the VisitorTokenRegisteredKeySourceKind enum.
type VisitorTokenRequest ¶
type VisitorTokenRequest struct {
// Hostname Select the canonical or a current exact-run HTTP hostname. Only browser, share, and HTTP grant sources support this selection; connector sources remain canonical.
Hostname string `json:"hostname,omitempty"`
// Resource An exact service authorization scope.
Resource VisitorResourceScope `json:"resource"`
Source VisitorTokenSource `json:"source"`
}
VisitorTokenRequest defines model for VisitorTokenRequest.
type VisitorTokenResponse ¶
type VisitorTokenResponse struct {
ExpiresAt time.Time `json:"expires_at"`
Hostname string `json:"hostname"`
// Port Exact signed resource port binding. Zero is permitted only for a service without a public reservation and is never a wildcard.
Port int `json:"port"`
// Resource An exact service authorization scope.
Resource VisitorResourceScope `json:"resource"`
// ServiceTrustRevision Current service metadata revision, present only for service permissions.
ServiceTrustRevision *int64 `json:"service_trust_revision,omitempty,string"`
VisitorPolicyRevision int64 `json:"visitor_policy_revision,string"`
VisitorToken string `json:"visitor_token"`
}
VisitorTokenResponse defines model for VisitorTokenResponse.
type VisitorTokenShareSessionSource ¶
type VisitorTokenShareSessionSource struct {
}
VisitorTokenShareSessionSource defines model for VisitorTokenShareSessionSource.
type VisitorTokenShareSessionSourceKind ¶
type VisitorTokenShareSessionSourceKind string
VisitorTokenShareSessionSourceKind defines model for VisitorTokenShareSessionSource.Kind.
const (
)
Defines values for VisitorTokenShareSessionSourceKind.
func (VisitorTokenShareSessionSourceKind) Valid ¶
func (e VisitorTokenShareSessionSourceKind) Valid() bool
Valid indicates whether the value is a known member of the VisitorTokenShareSessionSourceKind enum.
type VisitorTokenShareSource ¶
type VisitorTokenShareSource struct {
}
VisitorTokenShareSource defines model for VisitorTokenShareSource.
type VisitorTokenShareSourceKind ¶
type VisitorTokenShareSourceKind string
VisitorTokenShareSourceKind defines model for VisitorTokenShareSource.Kind.
const (
)
Defines values for VisitorTokenShareSourceKind.
func (VisitorTokenShareSourceKind) Valid ¶
func (e VisitorTokenShareSourceKind) Valid() bool
Valid indicates whether the value is a known member of the VisitorTokenShareSourceKind enum.
type VisitorTokenSource ¶
type VisitorTokenSource = json.RawMessage
VisitorTokenSource defines model for VisitorTokenSource.
type VisitorTokenWorkloadSource ¶
type VisitorTokenWorkloadSource struct {
Credential string `json:"credential"`
Kind VisitorTokenWorkloadSourceKind `json:"kind"`
}
VisitorTokenWorkloadSource defines model for VisitorTokenWorkloadSource.
type VisitorTokenWorkloadSourceKind ¶
type VisitorTokenWorkloadSourceKind string
VisitorTokenWorkloadSourceKind defines model for VisitorTokenWorkloadSource.Kind.
const (
VisitorTokenWorkload VisitorTokenWorkloadSourceKind = "workload"
)
Defines values for VisitorTokenWorkloadSourceKind.
func (VisitorTokenWorkloadSourceKind) Valid ¶
func (e VisitorTokenWorkloadSourceKind) Valid() bool
Valid indicates whether the value is a known member of the VisitorTokenWorkloadSourceKind enum.
type VisitorVerificationKey ¶
VisitorVerificationKey defines model for VisitorVerificationKey.
type VisitorWorkloadLease ¶
type VisitorWorkloadLease struct {
ExpiresAt time.Time `json:"expires_at"`
KeySha256 string `json:"key_sha256"`
SessionId string `json:"session_id"`
}
VisitorWorkloadLease defines model for VisitorWorkloadLease.
type WatchPublisherRunsJSONRequestBody ¶
type WatchPublisherRunsJSONRequestBody = PublisherWatchRequest
WatchPublisherRunsJSONRequestBody defines body for WatchPublisherRuns for application/json ContentType.
type WatchPublisherRunsResponse ¶
type WatchPublisherRunsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublisherWatchResponse
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *Problem
}
func ParseWatchPublisherRunsResponse ¶
func ParseWatchPublisherRunsResponse(rsp *http.Response) (*WatchPublisherRunsResponse, error)
ParseWatchPublisherRunsResponse parses an HTTP response from a WatchPublisherRunsWithResponse call
func (WatchPublisherRunsResponse) ContentType ¶
func (r WatchPublisherRunsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WatchPublisherRunsResponse) GetApplicationproblemJSONDefault ¶
func (r WatchPublisherRunsResponse) GetApplicationproblemJSONDefault() *Problem
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (WatchPublisherRunsResponse) GetBody ¶
func (r WatchPublisherRunsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WatchPublisherRunsResponse) GetJSON200 ¶
func (r WatchPublisherRunsResponse) GetJSON200() *PublisherWatchResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WatchPublisherRunsResponse) Status ¶
func (r WatchPublisherRunsResponse) Status() string
Status returns HTTPResponse.Status
func (WatchPublisherRunsResponse) StatusCode ¶
func (r WatchPublisherRunsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WebhookProvider ¶
type WebhookProvider string
WebhookProvider defines model for WebhookProvider.
const ( AmazonSns WebhookProvider = "amazon-sns" Auth0 WebhookProvider = "auth0" Clerk WebhookProvider = "clerk" Custom WebhookProvider = "custom" Discord WebhookProvider = "discord" Github WebhookProvider = "github" Gitlab WebhookProvider = "gitlab" IncidentIo WebhookProvider = "incident-io" LemonSqueezy WebhookProvider = "lemon-squeezy" Linear WebhookProvider = "linear" Loops WebhookProvider = "loops" Paddle WebhookProvider = "paddle" Postmark WebhookProvider = "postmark" Resend WebhookProvider = "resend" Sendgrid WebhookProvider = "sendgrid" Shopify WebhookProvider = "shopify" Slack WebhookProvider = "slack" Stripe WebhookProvider = "stripe" Supabase WebhookProvider = "supabase" Telegram WebhookProvider = "telegram" Twilio WebhookProvider = "twilio" Vercel WebhookProvider = "vercel" Workos WebhookProvider = "workos" )
Defines values for WebhookProvider.
func (WebhookProvider) Valid ¶
func (e WebhookProvider) Valid() bool
Valid indicates whether the value is a known member of the WebhookProvider enum.
type WebhookProviderSourceResponse ¶
type WebhookProviderSourceResponse struct {
Source WebhookProviderSourceResponse_Source `json:"source"`
}
WebhookProviderSourceResponse defines model for WebhookProviderSourceResponse.
type WebhookProviderSourceResponseSource0 ¶
type WebhookProviderSourceResponseSource0 struct {
Kind WebhookProviderSourceResponseSource0Kind `json:"kind"`
Ranges []string `json:"ranges"`
}
WebhookProviderSourceResponseSource0 defines model for WebhookProviderSourceResponse.Source.0.
type WebhookProviderSourceResponseSource0Kind ¶
type WebhookProviderSourceResponseSource0Kind string
WebhookProviderSourceResponseSource0Kind defines model for WebhookProviderSourceResponse.Source.0.Kind.
const (
IpRanges WebhookProviderSourceResponseSource0Kind = "ip_ranges"
)
Defines values for WebhookProviderSourceResponseSource0Kind.
func (WebhookProviderSourceResponseSource0Kind) Valid ¶
func (e WebhookProviderSourceResponseSource0Kind) Valid() bool
Valid indicates whether the value is a known member of the WebhookProviderSourceResponseSource0Kind enum.
type WebhookProviderSourceResponseSource1 ¶
type WebhookProviderSourceResponseSource1 struct {
Kind WebhookProviderSourceResponseSource1Kind `json:"kind"`
}
WebhookProviderSourceResponseSource1 defines model for WebhookProviderSourceResponse.Source.1.
type WebhookProviderSourceResponseSource1Kind ¶
type WebhookProviderSourceResponseSource1Kind string
WebhookProviderSourceResponseSource1Kind defines model for WebhookProviderSourceResponse.Source.1.Kind.
const (
Asterisk WebhookProviderSourceResponseSource1Kind = "*"
)
Defines values for WebhookProviderSourceResponseSource1Kind.
func (WebhookProviderSourceResponseSource1Kind) Valid ¶
func (e WebhookProviderSourceResponseSource1Kind) Valid() bool
Valid indicates whether the value is a known member of the WebhookProviderSourceResponseSource1Kind enum.
type WebhookProviderSourceResponse_Source ¶
type WebhookProviderSourceResponse_Source struct {
// contains filtered or unexported fields
}
WebhookProviderSourceResponse_Source defines model for WebhookProviderSourceResponse.Source.
func (WebhookProviderSourceResponse_Source) AsWebhookProviderSourceResponseSource0 ¶
func (t WebhookProviderSourceResponse_Source) AsWebhookProviderSourceResponseSource0() (WebhookProviderSourceResponseSource0, error)
AsWebhookProviderSourceResponseSource0 returns the union data inside the WebhookProviderSourceResponse_Source as a WebhookProviderSourceResponseSource0
func (WebhookProviderSourceResponse_Source) AsWebhookProviderSourceResponseSource1 ¶
func (t WebhookProviderSourceResponse_Source) AsWebhookProviderSourceResponseSource1() (WebhookProviderSourceResponseSource1, error)
AsWebhookProviderSourceResponseSource1 returns the union data inside the WebhookProviderSourceResponse_Source as a WebhookProviderSourceResponseSource1
func (*WebhookProviderSourceResponse_Source) FromWebhookProviderSourceResponseSource0 ¶
func (t *WebhookProviderSourceResponse_Source) FromWebhookProviderSourceResponseSource0(v WebhookProviderSourceResponseSource0) error
FromWebhookProviderSourceResponseSource0 overwrites any union data inside the WebhookProviderSourceResponse_Source as the provided WebhookProviderSourceResponseSource0
func (*WebhookProviderSourceResponse_Source) FromWebhookProviderSourceResponseSource1 ¶
func (t *WebhookProviderSourceResponse_Source) FromWebhookProviderSourceResponseSource1(v WebhookProviderSourceResponseSource1) error
FromWebhookProviderSourceResponseSource1 overwrites any union data inside the WebhookProviderSourceResponse_Source as the provided WebhookProviderSourceResponseSource1
func (WebhookProviderSourceResponse_Source) MarshalJSON ¶
func (t WebhookProviderSourceResponse_Source) MarshalJSON() ([]byte, error)
func (*WebhookProviderSourceResponse_Source) MergeWebhookProviderSourceResponseSource0 ¶
func (t *WebhookProviderSourceResponse_Source) MergeWebhookProviderSourceResponseSource0(v WebhookProviderSourceResponseSource0) error
MergeWebhookProviderSourceResponseSource0 performs a merge with any union data inside the WebhookProviderSourceResponse_Source, using the provided WebhookProviderSourceResponseSource0
func (*WebhookProviderSourceResponse_Source) MergeWebhookProviderSourceResponseSource1 ¶
func (t *WebhookProviderSourceResponse_Source) MergeWebhookProviderSourceResponseSource1(v WebhookProviderSourceResponseSource1) error
MergeWebhookProviderSourceResponseSource1 performs a merge with any union data inside the WebhookProviderSourceResponse_Source, using the provided WebhookProviderSourceResponseSource1
func (*WebhookProviderSourceResponse_Source) UnmarshalJSON ¶
func (t *WebhookProviderSourceResponse_Source) UnmarshalJSON(b []byte) error
type WorkloadProvider ¶
type WorkloadProvider string
WorkloadProvider defines model for WorkloadProvider.
const ( WorkloadFly WorkloadProvider = "fly" WorkloadGitHub WorkloadProvider = "github" WorkloadGitLab WorkloadProvider = "gitlab" WorkloadGoogle WorkloadProvider = "google" WorkloadKubernetes WorkloadProvider = "kubernetes" WorkloadOIDC WorkloadProvider = "oidc" WorkloadVercel WorkloadProvider = "vercel" )
Defines values for WorkloadProvider.
func (WorkloadProvider) Valid ¶
func (e WorkloadProvider) Valid() bool
Valid indicates whether the value is a known member of the WorkloadProvider enum.
type WorkloadServiceAuthorization ¶
type WorkloadServiceAuthorization struct {
PolicyRevision int64 `json:"policy_revision,string"`
ServiceId string `json:"service_id"`
// Subject Exactly identity_id and device_id for human_device; workload_session_id for workload_session; grant_id and key_id for registered_key. A machine never borrows a human device or provider identity.
Subject VisitorSubject `json:"subject"`
ValidUntil time.Time `json:"valid_until"`
}
WorkloadServiceAuthorization defines model for WorkloadServiceAuthorization.
type WorkloadServices ¶
type WorkloadServices struct {
Services []struct {
// Endpoint Control-owned service TLS identity. HTTP uses shared port 443 without an exclusive ingress reservation, including when public access is disabled. Other protocols use zero when no public ingress port is reserved; an allocated port remains reserved during temporary disablement. Only public enables ingress access. This port is never a machine-local connector port. Target trust is a separate publisher-side boundary.
Endpoint ServiceEndpoint `json:"endpoint"`
Id string `json:"id"`
// KubernetesAuth Approved nonsecret native client authentication hint. Contains no publisher target address, CA, or credentials.
KubernetesAuth *KubernetesAuth `json:"kubernetes_auth,omitempty"`
Protocol ServiceProtocol `json:"protocol"`
Service string `json:"service"`
} `json:"services"`
}
WorkloadServices defines model for WorkloadServices.
type WorkloadTrust ¶
type WorkloadTrust struct {
Audience string `json:"audience"`
Claims map[string]string `json:"claims"`
Issuer string `json:"issuer"`
JwksUrl string `json:"jwks_url"`
Provider WorkloadProvider `json:"provider"`
}
WorkloadTrust defines model for WorkloadTrust.