Versions in this module Expand all Collapse all v0 v0.35.0 Aug 22, 2025 v0.34.1 Aug 18, 2025 v0.33.0 Aug 13, 2025 v0.32.0 Aug 6, 2025 v0.31.0 Jul 31, 2025 v0.30.0 Jul 14, 2025 v0.29.0 Jun 30, 2025 v0.28.0 Jun 25, 2025 v0.27.0 May 28, 2025 v0.26.0 May 20, 2025 v0.25.0 Apr 23, 2025 v0.24.0 Apr 11, 2025 v0.23.0 Apr 3, 2025 v0.22.0 Jan 23, 2025 Changes in this version + const EndpointActionAccept + const EndpointActionReject + const EndpointStatusAcceptPending + const EndpointStatusActive + const EndpointStatusDeleted + const EndpointStatusFailed + const EndpointStatusInitialized + const EndpointStatusPending + const EndpointStatusProcessing + const EndpointStatusRejectPending + const EndpointStatusRejected + const ServiceStatusActive + const ServiceStatusCreatePending + const ServiceStatusCreateQueued + const ServiceStatusDeletePending + const ServiceStatusDeleteQueued + const ServiceStatusDeleted + const ServiceStatusFailed + const ServiceStatusInitialized + const ServiceStatusProvisionFailed + type API struct + func NewAPI(client HttpClient, taskWaiter TaskWaiter, logger Log) *API + func (a *API) CreateActiveActiveEndpoint(ctx context.Context, subscription int, regionId int, pscServiceId int, ...) (int, error) + func (a *API) CreateActiveActiveService(ctx context.Context, subscription int, regionId int) (int, error) + func (a *API) CreateEndpoint(ctx context.Context, subscription int, pscServiceId int, ...) (int, error) + func (a *API) CreateService(ctx context.Context, subscription int) (int, error) + func (a *API) DeleteActiveActiveEndpoint(ctx context.Context, subscription int, regionId int, pscServiceId int, ...) error + func (a *API) DeleteActiveActiveService(ctx context.Context, subscription int, regionId int) error + func (a *API) DeleteEndpoint(ctx context.Context, subscription int, pscServiceId int, endpointId int) error + func (a *API) DeleteService(ctx context.Context, subscription int) error + func (a *API) GetActiveActiveEndpointCreationScripts(ctx context.Context, subscription int, regionId int, pscServiceId int, ...) (*CreationScript, error) + func (a *API) GetActiveActiveEndpointDeletionScripts(ctx context.Context, subscription int, regionId int, pscServiceId int, ...) (*DeletionScript, error) + func (a *API) GetActiveActiveEndpoints(ctx context.Context, subscription int, regionId int, pscServiceId int) (*PrivateServiceConnectEndpoints, error) + func (a *API) GetActiveActiveService(ctx context.Context, subscription int, regionId int) (*PrivateServiceConnectService, error) + func (a *API) GetEndpointCreationScripts(ctx context.Context, subscription int, pscServiceId int, endpointId int, ...) (*CreationScript, error) + func (a *API) GetEndpointDeletionScripts(ctx context.Context, subscription int, pscServiceId int, endpointId int) (*DeletionScript, error) + func (a *API) GetEndpoints(ctx context.Context, subscription int, pscServiceId int) (*PrivateServiceConnectEndpoints, error) + func (a *API) GetService(ctx context.Context, subscription int) (*PrivateServiceConnectService, error) + func (a *API) UpdateActiveActiveEndpoint(ctx context.Context, subscription int, regionId int, pscServiceId int, ...) error + func (a *API) UpdateEndpoint(ctx context.Context, subscription int, pscServiceId int, endpointId int, ...) error + type CreatePrivateServiceConnectEndpoint struct + EndpointConnectionName *string + GCPProjectID *string + GCPVPCName *string + GCPVPCSubnetName *string + type CreationScript struct + Script *GCPCreationScript + type DeletionScript struct + Script *GCPDeletionScript + type GCPCreationScript struct + Bash *string + Powershell *string + TerraformGcp *TerraformGCP + type GCPDeletionScript struct + Bash *string + Powershell *string + type HttpClient interface + Delete func(ctx context.Context, name, path string, responseBody interface{}) error + Get func(ctx context.Context, name, path string, responseBody interface{}) error + GetWithQuery func(ctx context.Context, name, path string, query url.Values, ...) error + Post func(ctx context.Context, name, path string, requestBody interface{}, ...) error + Put func(ctx context.Context, name, path string, requestBody interface{}, ...) error + type Log interface + Printf func(format string, args ...interface{}) + type NotFound struct + func (f *NotFound) Error() string + type NotFoundActiveActive struct + func (f *NotFoundActiveActive) Error() string + type PrivateServiceConnectEndpoint struct + EndpointConnectionName *string + GCPProjectID *string + GCPVPCName *string + GCPVPCSubnetName *string + ID *int + Status *string + type PrivateServiceConnectEndpoints struct + Endpoints []*PrivateServiceConnectEndpoint + PSCServiceID *int + type PrivateServiceConnectService struct + ConnectionHostName *string + ID *int + ServiceAttachmentName *string + Status *string + type TaskWaiter interface + Wait func(ctx context.Context, id string) error + WaitForResource func(ctx context.Context, id string, resource interface{}) error + WaitForResourceId func(ctx context.Context, id string) (int, error) + type TerraformGCP struct + ServiceAttachments []TerraformGCPServiceAttachment + type TerraformGCPServiceAttachment struct + DNSRecord *string + ForwardingRuleName *string + IPAddressName *string + Name *string + type UpdatePrivateServiceConnectEndpoint struct + Action *string + EndpointConnectionName *string + GCPProjectID *string + GCPVPCName *string + GCPVPCSubnetName *string