Documentation ¶
Index ¶
- Constants
- func NewAssetServiceHandler(svc AssetServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewClusterServiceHandler(svc ClusterServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewHealthServiceHandler(svc HealthServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewIPServiceHandler(svc IPServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewMethodServiceHandler(svc MethodServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewPaymentServiceHandler(svc PaymentServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewProjectServiceHandler(svc ProjectServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewSnapshotServiceHandler(svc SnapshotServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewTenantServiceHandler(svc TenantServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewTokenServiceHandler(svc TokenServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewUserServiceHandler(svc UserServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewVersionServiceHandler(svc VersionServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewVolumeServiceHandler(svc VolumeServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- type AssetServiceClient
- type AssetServiceHandler
- type ClusterServiceClient
- type ClusterServiceHandler
- type HealthServiceClient
- type HealthServiceHandler
- type IPServiceClient
- type IPServiceHandler
- type MethodServiceClient
- type MethodServiceHandler
- type PaymentServiceClient
- type PaymentServiceHandler
- type ProjectServiceClient
- type ProjectServiceHandler
- type SnapshotServiceClient
- type SnapshotServiceHandler
- type TenantServiceClient
- type TenantServiceHandler
- type TokenServiceClient
- type TokenServiceHandler
- type UnimplementedAssetServiceHandler
- type UnimplementedClusterServiceHandler
- func (UnimplementedClusterServiceHandler) Create(context.Context, *connect.Request[v1.ClusterServiceCreateRequest]) (*connect.Response[v1.ClusterServiceCreateResponse], error)
- func (UnimplementedClusterServiceHandler) Delete(context.Context, *connect.Request[v1.ClusterServiceDeleteRequest]) (*connect.Response[v1.ClusterServiceDeleteResponse], error)
- func (UnimplementedClusterServiceHandler) Get(context.Context, *connect.Request[v1.ClusterServiceGetRequest]) (*connect.Response[v1.ClusterServiceGetResponse], error)
- func (UnimplementedClusterServiceHandler) GetCredentials(context.Context, *connect.Request[v1.ClusterServiceGetCredentialsRequest]) (*connect.Response[v1.ClusterServiceGetCredentialsResponse], error)
- func (UnimplementedClusterServiceHandler) List(context.Context, *connect.Request[v1.ClusterServiceListRequest]) (*connect.Response[v1.ClusterServiceListResponse], error)
- func (UnimplementedClusterServiceHandler) Operate(context.Context, *connect.Request[v1.ClusterServiceOperateRequest]) (*connect.Response[v1.ClusterServiceOperateResponse], error)
- func (UnimplementedClusterServiceHandler) Update(context.Context, *connect.Request[v1.ClusterServiceUpdateRequest]) (*connect.Response[v1.ClusterServiceUpdateResponse], error)
- func (UnimplementedClusterServiceHandler) WatchStatus(context.Context, *connect.Request[v1.ClusterServiceWatchStatusRequest], ...) error
- type UnimplementedHealthServiceHandler
- type UnimplementedIPServiceHandler
- func (UnimplementedIPServiceHandler) Allocate(context.Context, *connect.Request[v1.IPServiceAllocateRequest]) (*connect.Response[v1.IPServiceAllocateResponse], error)
- func (UnimplementedIPServiceHandler) Delete(context.Context, *connect.Request[v1.IPServiceDeleteRequest]) (*connect.Response[v1.IPServiceDeleteResponse], error)
- func (UnimplementedIPServiceHandler) Get(context.Context, *connect.Request[v1.IPServiceGetRequest]) (*connect.Response[v1.IPServiceGetResponse], error)
- func (UnimplementedIPServiceHandler) List(context.Context, *connect.Request[v1.IPServiceListRequest]) (*connect.Response[v1.IPServiceListResponse], error)
- func (UnimplementedIPServiceHandler) Update(context.Context, *connect.Request[v1.IPServiceUpdateRequest]) (*connect.Response[v1.IPServiceUpdateResponse], error)
- type UnimplementedMethodServiceHandler
- func (UnimplementedMethodServiceHandler) List(context.Context, *connect.Request[v1.MethodServiceListRequest]) (*connect.Response[v1.MethodServiceListResponse], error)
- func (UnimplementedMethodServiceHandler) TokenScopedList(context.Context, *connect.Request[v1.MethodServiceTokenScopedListRequest]) (*connect.Response[v1.MethodServiceTokenScopedListResponse], error)
- type UnimplementedPaymentServiceHandler
- func (UnimplementedPaymentServiceHandler) CheckAdmitted(context.Context, *connect.Request[v1.PaymentServiceCheckAdmittedRequest]) (*connect.Response[v1.PaymentServiceCheckAdmittedResponse], error)
- func (UnimplementedPaymentServiceHandler) CheckIfCustomerExists(context.Context, ...) (*connect.Response[v1.PaymentServiceCheckIfCustomerExistsResponse], error)
- func (UnimplementedPaymentServiceHandler) CreateOrUpdateCustomer(context.Context, ...) (*connect.Response[v1.PaymentServiceCreateOrUpdateCustomerResponse], error)
- func (UnimplementedPaymentServiceHandler) DeletePaymentMethod(context.Context, *connect.Request[v1.PaymentServiceDeletePaymentMethodRequest]) (*connect.Response[v1.PaymentServiceDeletePaymentMethodResponse], error)
- func (UnimplementedPaymentServiceHandler) GetCustomer(context.Context, *connect.Request[v1.PaymentServiceGetCustomerRequest]) (*connect.Response[v1.PaymentServiceGetCustomerResponse], error)
- func (UnimplementedPaymentServiceHandler) GetCustomerWithLogin(context.Context, ...) (*connect.Response[v1.PaymentServiceGetCustomerWithLoginResponse], error)
- func (UnimplementedPaymentServiceHandler) GetDefaultPrices(context.Context, *connect.Request[v1.PaymentServiceGetDefaultPricesRequest]) (*connect.Response[v1.PaymentServiceGetDefaultPricesResponse], error)
- func (UnimplementedPaymentServiceHandler) GetInvoices(context.Context, *connect.Request[v1.PaymentServiceGetInvoicesRequest]) (*connect.Response[v1.PaymentServiceGetInvoicesResponse], error)
- func (UnimplementedPaymentServiceHandler) GetOnboarded(context.Context, *connect.Request[v1.PaymentServiceGetOnboardedRequest]) (*connect.Response[v1.PaymentServiceGetOnboardedResponse], error)
- func (UnimplementedPaymentServiceHandler) GetSubscriptionUsage(context.Context, ...) (*connect.Response[v1.PaymentServiceGetSubscriptionUsageResponse], error)
- func (UnimplementedPaymentServiceHandler) HasChargeableResources(context.Context, ...) (*connect.Response[v1.PaymentServiceHasChargeableResourcesResponse], error)
- func (UnimplementedPaymentServiceHandler) HasPaymentMethod(context.Context, *connect.Request[v1.PaymentServiceHasPaymentMethodRequest]) (*connect.Response[v1.PaymentServiceHasPaymentMethodResponse], error)
- func (UnimplementedPaymentServiceHandler) RequestAdmission(context.Context, *connect.Request[v1.PaymentServiceRequestAdmissionRequest]) (*connect.Response[v1.PaymentServiceRequestAdmissionResponse], error)
- func (UnimplementedPaymentServiceHandler) SetOnboarded(context.Context, *connect.Request[v1.PaymentServiceSetOnboardedRequest]) (*connect.Response[v1.PaymentServiceSetOnboardedResponse], error)
- type UnimplementedProjectServiceHandler
- func (UnimplementedProjectServiceHandler) Create(context.Context, *connect.Request[v1.ProjectServiceCreateRequest]) (*connect.Response[v1.ProjectServiceCreateResponse], error)
- func (UnimplementedProjectServiceHandler) Delete(context.Context, *connect.Request[v1.ProjectServiceDeleteRequest]) (*connect.Response[v1.ProjectServiceDeleteResponse], error)
- func (UnimplementedProjectServiceHandler) Get(context.Context, *connect.Request[v1.ProjectServiceGetRequest]) (*connect.Response[v1.ProjectServiceGetResponse], error)
- func (UnimplementedProjectServiceHandler) Invite(context.Context, *connect.Request[v1.ProjectServiceInviteRequest]) (*connect.Response[v1.ProjectServiceInviteResponse], error)
- func (UnimplementedProjectServiceHandler) InviteAccept(context.Context, *connect.Request[v1.ProjectServiceInviteAcceptRequest]) (*connect.Response[v1.ProjectServiceInviteAcceptResponse], error)
- func (UnimplementedProjectServiceHandler) InviteDelete(context.Context, *connect.Request[v1.ProjectServiceInviteDeleteRequest]) (*connect.Response[v1.ProjectServiceInviteDeleteResponse], error)
- func (UnimplementedProjectServiceHandler) InviteGet(context.Context, *connect.Request[v1.ProjectServiceInviteGetRequest]) (*connect.Response[v1.ProjectServiceInviteGetResponse], error)
- func (UnimplementedProjectServiceHandler) InvitesList(context.Context, *connect.Request[v1.ProjectServiceInvitesListRequest]) (*connect.Response[v1.ProjectServiceInvitesListResponse], error)
- func (UnimplementedProjectServiceHandler) List(context.Context, *connect.Request[v1.ProjectServiceListRequest]) (*connect.Response[v1.ProjectServiceListResponse], error)
- func (UnimplementedProjectServiceHandler) RemoveMember(context.Context, *connect.Request[v1.ProjectServiceRemoveMemberRequest]) (*connect.Response[v1.ProjectServiceRemoveMemberResponse], error)
- func (UnimplementedProjectServiceHandler) Update(context.Context, *connect.Request[v1.ProjectServiceUpdateRequest]) (*connect.Response[v1.ProjectServiceUpdateResponse], error)
- func (UnimplementedProjectServiceHandler) UpdateMember(context.Context, *connect.Request[v1.ProjectServiceUpdateMemberRequest]) (*connect.Response[v1.ProjectServiceUpdateMemberResponse], error)
- type UnimplementedSnapshotServiceHandler
- func (UnimplementedSnapshotServiceHandler) Delete(context.Context, *connect.Request[v1.SnapshotServiceDeleteRequest]) (*connect.Response[v1.SnapshotServiceDeleteResponse], error)
- func (UnimplementedSnapshotServiceHandler) Get(context.Context, *connect.Request[v1.SnapshotServiceGetRequest]) (*connect.Response[v1.SnapshotServiceGetResponse], error)
- func (UnimplementedSnapshotServiceHandler) List(context.Context, *connect.Request[v1.SnapshotServiceListRequest]) (*connect.Response[v1.SnapshotServiceListResponse], error)
- type UnimplementedTenantServiceHandler
- func (UnimplementedTenantServiceHandler) Create(context.Context, *connect.Request[v1.TenantServiceCreateRequest]) (*connect.Response[v1.TenantServiceCreateResponse], error)
- func (UnimplementedTenantServiceHandler) CreateOrUpdate(context.Context, *connect.Request[v1.TenantServiceCreateOrUpdateRequest]) (*connect.Response[v1.TenantServiceCreateOrUpdateResponse], error)
- func (UnimplementedTenantServiceHandler) Delete(context.Context, *connect.Request[v1.TenantServiceDeleteRequest]) (*connect.Response[v1.TenantServiceDeleteResponse], error)
- func (UnimplementedTenantServiceHandler) Get(context.Context, *connect.Request[v1.TenantServiceGetRequest]) (*connect.Response[v1.TenantServiceGetResponse], error)
- func (UnimplementedTenantServiceHandler) Invite(context.Context, *connect.Request[v1.TenantServiceInviteRequest]) (*connect.Response[v1.TenantServiceInviteResponse], error)
- func (UnimplementedTenantServiceHandler) InviteAccept(context.Context, *connect.Request[v1.TenantServiceInviteAcceptRequest]) (*connect.Response[v1.TenantServiceInviteAcceptResponse], error)
- func (UnimplementedTenantServiceHandler) InviteDelete(context.Context, *connect.Request[v1.TenantServiceInviteDeleteRequest]) (*connect.Response[v1.TenantServiceInviteDeleteResponse], error)
- func (UnimplementedTenantServiceHandler) InviteGet(context.Context, *connect.Request[v1.TenantServiceInviteGetRequest]) (*connect.Response[v1.TenantServiceInviteGetResponse], error)
- func (UnimplementedTenantServiceHandler) InvitesList(context.Context, *connect.Request[v1.TenantServiceInvitesListRequest]) (*connect.Response[v1.TenantServiceInvitesListResponse], error)
- func (UnimplementedTenantServiceHandler) List(context.Context, *connect.Request[v1.TenantServiceListRequest]) (*connect.Response[v1.TenantServiceListResponse], error)
- func (UnimplementedTenantServiceHandler) RemoveMember(context.Context, *connect.Request[v1.TenantServiceRemoveMemberRequest]) (*connect.Response[v1.TenantServiceRemoveMemberResponse], error)
- func (UnimplementedTenantServiceHandler) Update(context.Context, *connect.Request[v1.TenantServiceUpdateRequest]) (*connect.Response[v1.TenantServiceUpdateResponse], error)
- func (UnimplementedTenantServiceHandler) UpdateMember(context.Context, *connect.Request[v1.TenantServiceUpdateMemberRequest]) (*connect.Response[v1.TenantServiceUpdateMemberResponse], error)
- type UnimplementedTokenServiceHandler
- func (UnimplementedTokenServiceHandler) Create(context.Context, *connect.Request[v1.TokenServiceCreateRequest]) (*connect.Response[v1.TokenServiceCreateResponse], error)
- func (UnimplementedTokenServiceHandler) List(context.Context, *connect.Request[v1.TokenServiceListRequest]) (*connect.Response[v1.TokenServiceListResponse], error)
- func (UnimplementedTokenServiceHandler) Revoke(context.Context, *connect.Request[v1.TokenServiceRevokeRequest]) (*connect.Response[v1.TokenServiceRevokeResponse], error)
- type UnimplementedUserServiceHandler
- type UnimplementedVersionServiceHandler
- type UnimplementedVolumeServiceHandler
- func (UnimplementedVolumeServiceHandler) Delete(context.Context, *connect.Request[v1.VolumeServiceDeleteRequest]) (*connect.Response[v1.VolumeServiceDeleteResponse], error)
- func (UnimplementedVolumeServiceHandler) Get(context.Context, *connect.Request[v1.VolumeServiceGetRequest]) (*connect.Response[v1.VolumeServiceGetResponse], error)
- func (UnimplementedVolumeServiceHandler) List(context.Context, *connect.Request[v1.VolumeServiceListRequest]) (*connect.Response[v1.VolumeServiceListResponse], error)
- type UserServiceClient
- type UserServiceHandler
- type VersionServiceClient
- type VersionServiceHandler
- type VolumeServiceClient
- type VolumeServiceHandler
Constants ¶
const ( // ClusterServiceCreateProcedure is the fully-qualified name of the ClusterService's Create RPC. ClusterServiceCreateProcedure = "/api.v1.ClusterService/Create" // ClusterServiceGetProcedure is the fully-qualified name of the ClusterService's Get RPC. ClusterServiceGetProcedure = "/api.v1.ClusterService/Get" // ClusterServiceListProcedure is the fully-qualified name of the ClusterService's List RPC. ClusterServiceListProcedure = "/api.v1.ClusterService/List" // ClusterServiceWatchStatusProcedure is the fully-qualified name of the ClusterService's // WatchStatus RPC. ClusterServiceWatchStatusProcedure = "/api.v1.ClusterService/WatchStatus" // ClusterServiceDeleteProcedure is the fully-qualified name of the ClusterService's Delete RPC. ClusterServiceDeleteProcedure = "/api.v1.ClusterService/Delete" // ClusterServiceUpdateProcedure is the fully-qualified name of the ClusterService's Update RPC. ClusterServiceUpdateProcedure = "/api.v1.ClusterService/Update" // ClusterServiceGetCredentialsProcedure is the fully-qualified name of the ClusterService's // GetCredentials RPC. ClusterServiceGetCredentialsProcedure = "/api.v1.ClusterService/GetCredentials" // ClusterServiceOperateProcedure is the fully-qualified name of the ClusterService's Operate RPC. ClusterServiceOperateProcedure = "/api.v1.ClusterService/Operate" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const ( // IPServiceGetProcedure is the fully-qualified name of the IPService's Get RPC. IPServiceGetProcedure = "/api.v1.IPService/Get" // IPServiceAllocateProcedure is the fully-qualified name of the IPService's Allocate RPC. IPServiceAllocateProcedure = "/api.v1.IPService/Allocate" // IPServiceUpdateProcedure is the fully-qualified name of the IPService's Update RPC. IPServiceUpdateProcedure = "/api.v1.IPService/Update" // IPServiceListProcedure is the fully-qualified name of the IPService's List RPC. IPServiceListProcedure = "/api.v1.IPService/List" // IPServiceDeleteProcedure is the fully-qualified name of the IPService's Delete RPC. IPServiceDeleteProcedure = "/api.v1.IPService/Delete" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const ( // MethodServiceListProcedure is the fully-qualified name of the MethodService's List RPC. MethodServiceListProcedure = "/api.v1.MethodService/List" // MethodServiceTokenScopedListProcedure is the fully-qualified name of the MethodService's // TokenScopedList RPC. MethodServiceTokenScopedListProcedure = "/api.v1.MethodService/TokenScopedList" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const ( // PaymentServiceCreateOrUpdateCustomerProcedure is the fully-qualified name of the PaymentService's // CreateOrUpdateCustomer RPC. PaymentServiceCreateOrUpdateCustomerProcedure = "/api.v1.PaymentService/CreateOrUpdateCustomer" // PaymentServiceGetCustomerProcedure is the fully-qualified name of the PaymentService's // GetCustomer RPC. PaymentServiceGetCustomerProcedure = "/api.v1.PaymentService/GetCustomer" // PaymentServiceGetCustomerWithLoginProcedure is the fully-qualified name of the PaymentService's // GetCustomerWithLogin RPC. PaymentServiceGetCustomerWithLoginProcedure = "/api.v1.PaymentService/GetCustomerWithLogin" // PaymentServiceCheckIfCustomerExistsProcedure is the fully-qualified name of the PaymentService's // CheckIfCustomerExists RPC. PaymentServiceCheckIfCustomerExistsProcedure = "/api.v1.PaymentService/CheckIfCustomerExists" // PaymentServiceHasPaymentMethodProcedure is the fully-qualified name of the PaymentService's // HasPaymentMethod RPC. PaymentServiceHasPaymentMethodProcedure = "/api.v1.PaymentService/HasPaymentMethod" // PaymentServiceDeletePaymentMethodProcedure is the fully-qualified name of the PaymentService's // DeletePaymentMethod RPC. PaymentServiceDeletePaymentMethodProcedure = "/api.v1.PaymentService/DeletePaymentMethod" // PaymentServiceGetSubscriptionUsageProcedure is the fully-qualified name of the PaymentService's // GetSubscriptionUsage RPC. PaymentServiceGetSubscriptionUsageProcedure = "/api.v1.PaymentService/GetSubscriptionUsage" // PaymentServiceGetInvoicesProcedure is the fully-qualified name of the PaymentService's // GetInvoices RPC. PaymentServiceGetInvoicesProcedure = "/api.v1.PaymentService/GetInvoices" // PaymentServiceGetDefaultPricesProcedure is the fully-qualified name of the PaymentService's // GetDefaultPrices RPC. PaymentServiceGetDefaultPricesProcedure = "/api.v1.PaymentService/GetDefaultPrices" // PaymentServiceCheckAdmittedProcedure is the fully-qualified name of the PaymentService's // CheckAdmitted RPC. PaymentServiceCheckAdmittedProcedure = "/api.v1.PaymentService/CheckAdmitted" // PaymentServiceRequestAdmissionProcedure is the fully-qualified name of the PaymentService's // RequestAdmission RPC. PaymentServiceRequestAdmissionProcedure = "/api.v1.PaymentService/RequestAdmission" // PaymentServiceHasChargeableResourcesProcedure is the fully-qualified name of the PaymentService's // HasChargeableResources RPC. PaymentServiceHasChargeableResourcesProcedure = "/api.v1.PaymentService/HasChargeableResources" // PaymentServiceSetOnboardedProcedure is the fully-qualified name of the PaymentService's // SetOnboarded RPC. PaymentServiceSetOnboardedProcedure = "/api.v1.PaymentService/SetOnboarded" // PaymentServiceGetOnboardedProcedure is the fully-qualified name of the PaymentService's // GetOnboarded RPC. PaymentServiceGetOnboardedProcedure = "/api.v1.PaymentService/GetOnboarded" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const ( // ProjectServiceListProcedure is the fully-qualified name of the ProjectService's List RPC. ProjectServiceListProcedure = "/api.v1.ProjectService/List" // ProjectServiceGetProcedure is the fully-qualified name of the ProjectService's Get RPC. ProjectServiceGetProcedure = "/api.v1.ProjectService/Get" // ProjectServiceCreateProcedure is the fully-qualified name of the ProjectService's Create RPC. ProjectServiceCreateProcedure = "/api.v1.ProjectService/Create" // ProjectServiceDeleteProcedure is the fully-qualified name of the ProjectService's Delete RPC. ProjectServiceDeleteProcedure = "/api.v1.ProjectService/Delete" // ProjectServiceUpdateProcedure is the fully-qualified name of the ProjectService's Update RPC. ProjectServiceUpdateProcedure = "/api.v1.ProjectService/Update" // ProjectServiceRemoveMemberProcedure is the fully-qualified name of the ProjectService's // RemoveMember RPC. ProjectServiceRemoveMemberProcedure = "/api.v1.ProjectService/RemoveMember" // ProjectServiceUpdateMemberProcedure is the fully-qualified name of the ProjectService's // UpdateMember RPC. ProjectServiceUpdateMemberProcedure = "/api.v1.ProjectService/UpdateMember" // ProjectServiceInviteProcedure is the fully-qualified name of the ProjectService's Invite RPC. ProjectServiceInviteProcedure = "/api.v1.ProjectService/Invite" // ProjectServiceInviteAcceptProcedure is the fully-qualified name of the ProjectService's // InviteAccept RPC. ProjectServiceInviteAcceptProcedure = "/api.v1.ProjectService/InviteAccept" // ProjectServiceInviteDeleteProcedure is the fully-qualified name of the ProjectService's // InviteDelete RPC. ProjectServiceInviteDeleteProcedure = "/api.v1.ProjectService/InviteDelete" // ProjectServiceInvitesListProcedure is the fully-qualified name of the ProjectService's // InvitesList RPC. ProjectServiceInvitesListProcedure = "/api.v1.ProjectService/InvitesList" // ProjectServiceInviteGetProcedure is the fully-qualified name of the ProjectService's InviteGet // RPC. ProjectServiceInviteGetProcedure = "/api.v1.ProjectService/InviteGet" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const ( // TenantServiceCreateProcedure is the fully-qualified name of the TenantService's Create RPC. TenantServiceCreateProcedure = "/api.v1.TenantService/Create" // TenantServiceCreateOrUpdateProcedure is the fully-qualified name of the TenantService's // CreateOrUpdate RPC. TenantServiceCreateOrUpdateProcedure = "/api.v1.TenantService/CreateOrUpdate" // TenantServiceListProcedure is the fully-qualified name of the TenantService's List RPC. TenantServiceListProcedure = "/api.v1.TenantService/List" // TenantServiceGetProcedure is the fully-qualified name of the TenantService's Get RPC. TenantServiceGetProcedure = "/api.v1.TenantService/Get" // TenantServiceUpdateProcedure is the fully-qualified name of the TenantService's Update RPC. TenantServiceUpdateProcedure = "/api.v1.TenantService/Update" // TenantServiceDeleteProcedure is the fully-qualified name of the TenantService's Delete RPC. TenantServiceDeleteProcedure = "/api.v1.TenantService/Delete" // TenantServiceRemoveMemberProcedure is the fully-qualified name of the TenantService's // RemoveMember RPC. TenantServiceRemoveMemberProcedure = "/api.v1.TenantService/RemoveMember" // TenantServiceUpdateMemberProcedure is the fully-qualified name of the TenantService's // UpdateMember RPC. TenantServiceUpdateMemberProcedure = "/api.v1.TenantService/UpdateMember" // TenantServiceInviteProcedure is the fully-qualified name of the TenantService's Invite RPC. TenantServiceInviteProcedure = "/api.v1.TenantService/Invite" // TenantServiceInviteAcceptProcedure is the fully-qualified name of the TenantService's // InviteAccept RPC. TenantServiceInviteAcceptProcedure = "/api.v1.TenantService/InviteAccept" // TenantServiceInviteDeleteProcedure is the fully-qualified name of the TenantService's // InviteDelete RPC. TenantServiceInviteDeleteProcedure = "/api.v1.TenantService/InviteDelete" // TenantServiceInvitesListProcedure is the fully-qualified name of the TenantService's InvitesList // RPC. TenantServiceInvitesListProcedure = "/api.v1.TenantService/InvitesList" // TenantServiceInviteGetProcedure is the fully-qualified name of the TenantService's InviteGet RPC. TenantServiceInviteGetProcedure = "/api.v1.TenantService/InviteGet" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const ( // TokenServiceCreateProcedure is the fully-qualified name of the TokenService's Create RPC. TokenServiceCreateProcedure = "/api.v1.TokenService/Create" // TokenServiceListProcedure is the fully-qualified name of the TokenService's List RPC. TokenServiceListProcedure = "/api.v1.TokenService/List" // TokenServiceRevokeProcedure is the fully-qualified name of the TokenService's Revoke RPC. TokenServiceRevokeProcedure = "/api.v1.TokenService/Revoke" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const ( // VolumeServiceName is the fully-qualified name of the VolumeService service. VolumeServiceName = "api.v1.VolumeService" // SnapshotServiceName is the fully-qualified name of the SnapshotService service. SnapshotServiceName = "api.v1.SnapshotService" )
const ( // VolumeServiceGetProcedure is the fully-qualified name of the VolumeService's Get RPC. VolumeServiceGetProcedure = "/api.v1.VolumeService/Get" // VolumeServiceListProcedure is the fully-qualified name of the VolumeService's List RPC. VolumeServiceListProcedure = "/api.v1.VolumeService/List" // VolumeServiceDeleteProcedure is the fully-qualified name of the VolumeService's Delete RPC. VolumeServiceDeleteProcedure = "/api.v1.VolumeService/Delete" // SnapshotServiceGetProcedure is the fully-qualified name of the SnapshotService's Get RPC. SnapshotServiceGetProcedure = "/api.v1.SnapshotService/Get" // SnapshotServiceListProcedure is the fully-qualified name of the SnapshotService's List RPC. SnapshotServiceListProcedure = "/api.v1.SnapshotService/List" // SnapshotServiceDeleteProcedure is the fully-qualified name of the SnapshotService's Delete RPC. SnapshotServiceDeleteProcedure = "/api.v1.SnapshotService/Delete" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const (
// AssetServiceListProcedure is the fully-qualified name of the AssetService's List RPC.
AssetServiceListProcedure = "/api.v1.AssetService/List"
)
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const (
// AssetServiceName is the fully-qualified name of the AssetService service.
AssetServiceName = "api.v1.AssetService"
)
const (
// ClusterServiceName is the fully-qualified name of the ClusterService service.
ClusterServiceName = "api.v1.ClusterService"
)
const (
// HealthServiceGetProcedure is the fully-qualified name of the HealthService's Get RPC.
HealthServiceGetProcedure = "/api.v1.HealthService/Get"
)
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const (
// HealthServiceName is the fully-qualified name of the HealthService service.
HealthServiceName = "api.v1.HealthService"
)
const (
// IPServiceName is the fully-qualified name of the IPService service.
IPServiceName = "api.v1.IPService"
)
const (
// MethodServiceName is the fully-qualified name of the MethodService service.
MethodServiceName = "api.v1.MethodService"
)
const (
// PaymentServiceName is the fully-qualified name of the PaymentService service.
PaymentServiceName = "api.v1.PaymentService"
)
const (
// ProjectServiceName is the fully-qualified name of the ProjectService service.
ProjectServiceName = "api.v1.ProjectService"
)
const (
// TenantServiceName is the fully-qualified name of the TenantService service.
TenantServiceName = "api.v1.TenantService"
)
const (
// TokenServiceName is the fully-qualified name of the TokenService service.
TokenServiceName = "api.v1.TokenService"
)
const (
// UserServiceGetProcedure is the fully-qualified name of the UserService's Get RPC.
UserServiceGetProcedure = "/api.v1.UserService/Get"
)
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const (
// UserServiceName is the fully-qualified name of the UserService service.
UserServiceName = "api.v1.UserService"
)
const (
// VersionServiceGetProcedure is the fully-qualified name of the VersionService's Get RPC.
VersionServiceGetProcedure = "/api.v1.VersionService/Get"
)
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const (
// VersionServiceName is the fully-qualified name of the VersionService service.
VersionServiceName = "api.v1.VersionService"
)
Variables ¶
This section is empty.
Functions ¶
func NewAssetServiceHandler ¶
func NewAssetServiceHandler(svc AssetServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewAssetServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewClusterServiceHandler ¶
func NewClusterServiceHandler(svc ClusterServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewClusterServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewHealthServiceHandler ¶
func NewHealthServiceHandler(svc HealthServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewHealthServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewIPServiceHandler ¶
func NewIPServiceHandler(svc IPServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewIPServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewMethodServiceHandler ¶
func NewMethodServiceHandler(svc MethodServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewMethodServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewPaymentServiceHandler ¶
func NewPaymentServiceHandler(svc PaymentServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewPaymentServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewProjectServiceHandler ¶
func NewProjectServiceHandler(svc ProjectServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewProjectServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewSnapshotServiceHandler ¶
func NewSnapshotServiceHandler(svc SnapshotServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewSnapshotServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewTenantServiceHandler ¶
func NewTenantServiceHandler(svc TenantServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewTenantServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewTokenServiceHandler ¶
func NewTokenServiceHandler(svc TokenServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewTokenServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewUserServiceHandler ¶ added in v0.8.4
func NewUserServiceHandler(svc UserServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewUserServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewVersionServiceHandler ¶
func NewVersionServiceHandler(svc VersionServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewVersionServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewVolumeServiceHandler ¶
func NewVolumeServiceHandler(svc VolumeServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewVolumeServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
Types ¶
type AssetServiceClient ¶
type AssetServiceClient interface { // List available assets List(context.Context, *connect.Request[v1.AssetServiceListRequest]) (*connect.Response[v1.AssetServiceListResponse], error) }
AssetServiceClient is a client for the api.v1.AssetService service.
func NewAssetServiceClient ¶
func NewAssetServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) AssetServiceClient
NewAssetServiceClient constructs a client for the api.v1.AssetService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type AssetServiceHandler ¶
type AssetServiceHandler interface { // List available assets List(context.Context, *connect.Request[v1.AssetServiceListRequest]) (*connect.Response[v1.AssetServiceListResponse], error) }
AssetServiceHandler is an implementation of the api.v1.AssetService service.
type ClusterServiceClient ¶
type ClusterServiceClient interface { // Create a cluster Create(context.Context, *connect.Request[v1.ClusterServiceCreateRequest]) (*connect.Response[v1.ClusterServiceCreateResponse], error) // Get a cluster Get(context.Context, *connect.Request[v1.ClusterServiceGetRequest]) (*connect.Response[v1.ClusterServiceGetResponse], error) // List clusters List(context.Context, *connect.Request[v1.ClusterServiceListRequest]) (*connect.Response[v1.ClusterServiceListResponse], error) // WatchStatus of a cluster WatchStatus(context.Context, *connect.Request[v1.ClusterServiceWatchStatusRequest]) (*connect.ServerStreamForClient[v1.ClusterServiceWatchStatusResponse], error) // Delete a cluster Delete(context.Context, *connect.Request[v1.ClusterServiceDeleteRequest]) (*connect.Response[v1.ClusterServiceDeleteResponse], error) // Update a cluster Update(context.Context, *connect.Request[v1.ClusterServiceUpdateRequest]) (*connect.Response[v1.ClusterServiceUpdateResponse], error) // GetCredentials of a cluster GetCredentials(context.Context, *connect.Request[v1.ClusterServiceGetCredentialsRequest]) (*connect.Response[v1.ClusterServiceGetCredentialsResponse], error) // Operate on a cluster Operate(context.Context, *connect.Request[v1.ClusterServiceOperateRequest]) (*connect.Response[v1.ClusterServiceOperateResponse], error) }
ClusterServiceClient is a client for the api.v1.ClusterService service.
func NewClusterServiceClient ¶
func NewClusterServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) ClusterServiceClient
NewClusterServiceClient constructs a client for the api.v1.ClusterService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type ClusterServiceHandler ¶
type ClusterServiceHandler interface { // Create a cluster Create(context.Context, *connect.Request[v1.ClusterServiceCreateRequest]) (*connect.Response[v1.ClusterServiceCreateResponse], error) // Get a cluster Get(context.Context, *connect.Request[v1.ClusterServiceGetRequest]) (*connect.Response[v1.ClusterServiceGetResponse], error) // List clusters List(context.Context, *connect.Request[v1.ClusterServiceListRequest]) (*connect.Response[v1.ClusterServiceListResponse], error) // WatchStatus of a cluster WatchStatus(context.Context, *connect.Request[v1.ClusterServiceWatchStatusRequest], *connect.ServerStream[v1.ClusterServiceWatchStatusResponse]) error // Delete a cluster Delete(context.Context, *connect.Request[v1.ClusterServiceDeleteRequest]) (*connect.Response[v1.ClusterServiceDeleteResponse], error) // Update a cluster Update(context.Context, *connect.Request[v1.ClusterServiceUpdateRequest]) (*connect.Response[v1.ClusterServiceUpdateResponse], error) // GetCredentials of a cluster GetCredentials(context.Context, *connect.Request[v1.ClusterServiceGetCredentialsRequest]) (*connect.Response[v1.ClusterServiceGetCredentialsResponse], error) // Operate on a cluster Operate(context.Context, *connect.Request[v1.ClusterServiceOperateRequest]) (*connect.Response[v1.ClusterServiceOperateResponse], error) }
ClusterServiceHandler is an implementation of the api.v1.ClusterService service.
type HealthServiceClient ¶
type HealthServiceClient interface { // Get the health of the platform Get(context.Context, *connect.Request[v1.HealthServiceGetRequest]) (*connect.Response[v1.HealthServiceGetResponse], error) }
HealthServiceClient is a client for the api.v1.HealthService service.
func NewHealthServiceClient ¶
func NewHealthServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) HealthServiceClient
NewHealthServiceClient constructs a client for the api.v1.HealthService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type HealthServiceHandler ¶
type HealthServiceHandler interface { // Get the health of the platform Get(context.Context, *connect.Request[v1.HealthServiceGetRequest]) (*connect.Response[v1.HealthServiceGetResponse], error) }
HealthServiceHandler is an implementation of the api.v1.HealthService service.
type IPServiceClient ¶
type IPServiceClient interface { // Get a ip Get(context.Context, *connect.Request[v1.IPServiceGetRequest]) (*connect.Response[v1.IPServiceGetResponse], error) // Allocate a ip Allocate(context.Context, *connect.Request[v1.IPServiceAllocateRequest]) (*connect.Response[v1.IPServiceAllocateResponse], error) // Update a ip Update(context.Context, *connect.Request[v1.IPServiceUpdateRequest]) (*connect.Response[v1.IPServiceUpdateResponse], error) // List all ips List(context.Context, *connect.Request[v1.IPServiceListRequest]) (*connect.Response[v1.IPServiceListResponse], error) // Delete a ip Delete(context.Context, *connect.Request[v1.IPServiceDeleteRequest]) (*connect.Response[v1.IPServiceDeleteResponse], error) }
IPServiceClient is a client for the api.v1.IPService service.
func NewIPServiceClient ¶
func NewIPServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) IPServiceClient
NewIPServiceClient constructs a client for the api.v1.IPService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type IPServiceHandler ¶
type IPServiceHandler interface { // Get a ip Get(context.Context, *connect.Request[v1.IPServiceGetRequest]) (*connect.Response[v1.IPServiceGetResponse], error) // Allocate a ip Allocate(context.Context, *connect.Request[v1.IPServiceAllocateRequest]) (*connect.Response[v1.IPServiceAllocateResponse], error) // Update a ip Update(context.Context, *connect.Request[v1.IPServiceUpdateRequest]) (*connect.Response[v1.IPServiceUpdateResponse], error) // List all ips List(context.Context, *connect.Request[v1.IPServiceListRequest]) (*connect.Response[v1.IPServiceListResponse], error) // Delete a ip Delete(context.Context, *connect.Request[v1.IPServiceDeleteRequest]) (*connect.Response[v1.IPServiceDeleteResponse], error) }
IPServiceHandler is an implementation of the api.v1.IPService service.
type MethodServiceClient ¶
type MethodServiceClient interface { // List all public visible methods List(context.Context, *connect.Request[v1.MethodServiceListRequest]) (*connect.Response[v1.MethodServiceListResponse], error) // TokenScopedList all methods callable with the token present in the request TokenScopedList(context.Context, *connect.Request[v1.MethodServiceTokenScopedListRequest]) (*connect.Response[v1.MethodServiceTokenScopedListResponse], error) }
MethodServiceClient is a client for the api.v1.MethodService service.
func NewMethodServiceClient ¶
func NewMethodServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) MethodServiceClient
NewMethodServiceClient constructs a client for the api.v1.MethodService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type MethodServiceHandler ¶
type MethodServiceHandler interface { // List all public visible methods List(context.Context, *connect.Request[v1.MethodServiceListRequest]) (*connect.Response[v1.MethodServiceListResponse], error) // TokenScopedList all methods callable with the token present in the request TokenScopedList(context.Context, *connect.Request[v1.MethodServiceTokenScopedListRequest]) (*connect.Response[v1.MethodServiceTokenScopedListResponse], error) }
MethodServiceHandler is an implementation of the api.v1.MethodService service.
type PaymentServiceClient ¶
type PaymentServiceClient interface { // CreateOrUpdateCustomer the payment data on the payment processor CreateOrUpdateCustomer(context.Context, *connect.Request[v1.PaymentServiceCreateOrUpdateCustomerRequest]) (*connect.Response[v1.PaymentServiceCreateOrUpdateCustomerResponse], error) // GetCustomer from the payment processor GetCustomer(context.Context, *connect.Request[v1.PaymentServiceGetCustomerRequest]) (*connect.Response[v1.PaymentServiceGetCustomerResponse], error) // GetCustomerWithLogin from the payment processor GetCustomerWithLogin(context.Context, *connect.Request[v1.PaymentServiceGetCustomerWithLoginRequest]) (*connect.Response[v1.PaymentServiceGetCustomerWithLoginResponse], error) // CheckIfCustomerExists at the payment processor CheckIfCustomerExists(context.Context, *connect.Request[v1.PaymentServiceCheckIfCustomerExistsRequest]) (*connect.Response[v1.PaymentServiceCheckIfCustomerExistsResponse], error) // HasPaymentMethod check if the customer has a payment method provided HasPaymentMethod(context.Context, *connect.Request[v1.PaymentServiceHasPaymentMethodRequest]) (*connect.Response[v1.PaymentServiceHasPaymentMethodResponse], error) // DeletePaymentMethod of the customer DeletePaymentMethod(context.Context, *connect.Request[v1.PaymentServiceDeletePaymentMethodRequest]) (*connect.Response[v1.PaymentServiceDeletePaymentMethodResponse], error) // GetSubscriptionUsage of the customer GetSubscriptionUsage(context.Context, *connect.Request[v1.PaymentServiceGetSubscriptionUsageRequest]) (*connect.Response[v1.PaymentServiceGetSubscriptionUsageResponse], error) // GetInvoices of the customer GetInvoices(context.Context, *connect.Request[v1.PaymentServiceGetInvoicesRequest]) (*connect.Response[v1.PaymentServiceGetInvoicesResponse], error) // GetDefaultPrices of the products on the platform GetDefaultPrices(context.Context, *connect.Request[v1.PaymentServiceGetDefaultPricesRequest]) (*connect.Response[v1.PaymentServiceGetDefaultPricesResponse], error) // CheckAdmitted if the customer is allowed to use the service on the platform CheckAdmitted(context.Context, *connect.Request[v1.PaymentServiceCheckAdmittedRequest]) (*connect.Response[v1.PaymentServiceCheckAdmittedResponse], error) // RequestAdmission for a customer to get allowed to used the service RequestAdmission(context.Context, *connect.Request[v1.PaymentServiceRequestAdmissionRequest]) (*connect.Response[v1.PaymentServiceRequestAdmissionResponse], error) // HasChargeableResources checks if the customer has resources actually consumed which are chargeable HasChargeableResources(context.Context, *connect.Request[v1.PaymentServiceHasChargeableResourcesRequest]) (*connect.Response[v1.PaymentServiceHasChargeableResourcesResponse], error) // SetOnboarded set the onboarded status SetOnboarded(context.Context, *connect.Request[v1.PaymentServiceSetOnboardedRequest]) (*connect.Response[v1.PaymentServiceSetOnboardedResponse], error) // GetOnboarded get the onboarded status GetOnboarded(context.Context, *connect.Request[v1.PaymentServiceGetOnboardedRequest]) (*connect.Response[v1.PaymentServiceGetOnboardedResponse], error) }
PaymentServiceClient is a client for the api.v1.PaymentService service.
func NewPaymentServiceClient ¶
func NewPaymentServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) PaymentServiceClient
NewPaymentServiceClient constructs a client for the api.v1.PaymentService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type PaymentServiceHandler ¶
type PaymentServiceHandler interface { // CreateOrUpdateCustomer the payment data on the payment processor CreateOrUpdateCustomer(context.Context, *connect.Request[v1.PaymentServiceCreateOrUpdateCustomerRequest]) (*connect.Response[v1.PaymentServiceCreateOrUpdateCustomerResponse], error) // GetCustomer from the payment processor GetCustomer(context.Context, *connect.Request[v1.PaymentServiceGetCustomerRequest]) (*connect.Response[v1.PaymentServiceGetCustomerResponse], error) // GetCustomerWithLogin from the payment processor GetCustomerWithLogin(context.Context, *connect.Request[v1.PaymentServiceGetCustomerWithLoginRequest]) (*connect.Response[v1.PaymentServiceGetCustomerWithLoginResponse], error) // CheckIfCustomerExists at the payment processor CheckIfCustomerExists(context.Context, *connect.Request[v1.PaymentServiceCheckIfCustomerExistsRequest]) (*connect.Response[v1.PaymentServiceCheckIfCustomerExistsResponse], error) // HasPaymentMethod check if the customer has a payment method provided HasPaymentMethod(context.Context, *connect.Request[v1.PaymentServiceHasPaymentMethodRequest]) (*connect.Response[v1.PaymentServiceHasPaymentMethodResponse], error) // DeletePaymentMethod of the customer DeletePaymentMethod(context.Context, *connect.Request[v1.PaymentServiceDeletePaymentMethodRequest]) (*connect.Response[v1.PaymentServiceDeletePaymentMethodResponse], error) // GetSubscriptionUsage of the customer GetSubscriptionUsage(context.Context, *connect.Request[v1.PaymentServiceGetSubscriptionUsageRequest]) (*connect.Response[v1.PaymentServiceGetSubscriptionUsageResponse], error) // GetInvoices of the customer GetInvoices(context.Context, *connect.Request[v1.PaymentServiceGetInvoicesRequest]) (*connect.Response[v1.PaymentServiceGetInvoicesResponse], error) // GetDefaultPrices of the products on the platform GetDefaultPrices(context.Context, *connect.Request[v1.PaymentServiceGetDefaultPricesRequest]) (*connect.Response[v1.PaymentServiceGetDefaultPricesResponse], error) // CheckAdmitted if the customer is allowed to use the service on the platform CheckAdmitted(context.Context, *connect.Request[v1.PaymentServiceCheckAdmittedRequest]) (*connect.Response[v1.PaymentServiceCheckAdmittedResponse], error) // RequestAdmission for a customer to get allowed to used the service RequestAdmission(context.Context, *connect.Request[v1.PaymentServiceRequestAdmissionRequest]) (*connect.Response[v1.PaymentServiceRequestAdmissionResponse], error) // HasChargeableResources checks if the customer has resources actually consumed which are chargeable HasChargeableResources(context.Context, *connect.Request[v1.PaymentServiceHasChargeableResourcesRequest]) (*connect.Response[v1.PaymentServiceHasChargeableResourcesResponse], error) // SetOnboarded set the onboarded status SetOnboarded(context.Context, *connect.Request[v1.PaymentServiceSetOnboardedRequest]) (*connect.Response[v1.PaymentServiceSetOnboardedResponse], error) // GetOnboarded get the onboarded status GetOnboarded(context.Context, *connect.Request[v1.PaymentServiceGetOnboardedRequest]) (*connect.Response[v1.PaymentServiceGetOnboardedResponse], error) }
PaymentServiceHandler is an implementation of the api.v1.PaymentService service.
type ProjectServiceClient ¶
type ProjectServiceClient interface { // List all accessible projects List(context.Context, *connect.Request[v1.ProjectServiceListRequest]) (*connect.Response[v1.ProjectServiceListResponse], error) // Get a project Get(context.Context, *connect.Request[v1.ProjectServiceGetRequest]) (*connect.Response[v1.ProjectServiceGetResponse], error) // Create a project Create(context.Context, *connect.Request[v1.ProjectServiceCreateRequest]) (*connect.Response[v1.ProjectServiceCreateResponse], error) // Delete a project Delete(context.Context, *connect.Request[v1.ProjectServiceDeleteRequest]) (*connect.Response[v1.ProjectServiceDeleteResponse], error) // Update a project Update(context.Context, *connect.Request[v1.ProjectServiceUpdateRequest]) (*connect.Response[v1.ProjectServiceUpdateResponse], error) // RemoveMember remove a user from a project RemoveMember(context.Context, *connect.Request[v1.ProjectServiceRemoveMemberRequest]) (*connect.Response[v1.ProjectServiceRemoveMemberResponse], error) // UpdateMember update a user for a project UpdateMember(context.Context, *connect.Request[v1.ProjectServiceUpdateMemberRequest]) (*connect.Response[v1.ProjectServiceUpdateMemberResponse], error) // Invite a user to a project Invite(context.Context, *connect.Request[v1.ProjectServiceInviteRequest]) (*connect.Response[v1.ProjectServiceInviteResponse], error) // InviteAccept is called from a user to accept a invitation InviteAccept(context.Context, *connect.Request[v1.ProjectServiceInviteAcceptRequest]) (*connect.Response[v1.ProjectServiceInviteAcceptResponse], error) // InviteDelete deletes a pending invitation InviteDelete(context.Context, *connect.Request[v1.ProjectServiceInviteDeleteRequest]) (*connect.Response[v1.ProjectServiceInviteDeleteResponse], error) // InvitesList list all invites to a project InvitesList(context.Context, *connect.Request[v1.ProjectServiceInvitesListRequest]) (*connect.Response[v1.ProjectServiceInvitesListResponse], error) // InviteGet get an invite InviteGet(context.Context, *connect.Request[v1.ProjectServiceInviteGetRequest]) (*connect.Response[v1.ProjectServiceInviteGetResponse], error) }
ProjectServiceClient is a client for the api.v1.ProjectService service.
func NewProjectServiceClient ¶
func NewProjectServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) ProjectServiceClient
NewProjectServiceClient constructs a client for the api.v1.ProjectService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type ProjectServiceHandler ¶
type ProjectServiceHandler interface { // List all accessible projects List(context.Context, *connect.Request[v1.ProjectServiceListRequest]) (*connect.Response[v1.ProjectServiceListResponse], error) // Get a project Get(context.Context, *connect.Request[v1.ProjectServiceGetRequest]) (*connect.Response[v1.ProjectServiceGetResponse], error) // Create a project Create(context.Context, *connect.Request[v1.ProjectServiceCreateRequest]) (*connect.Response[v1.ProjectServiceCreateResponse], error) // Delete a project Delete(context.Context, *connect.Request[v1.ProjectServiceDeleteRequest]) (*connect.Response[v1.ProjectServiceDeleteResponse], error) // Update a project Update(context.Context, *connect.Request[v1.ProjectServiceUpdateRequest]) (*connect.Response[v1.ProjectServiceUpdateResponse], error) // RemoveMember remove a user from a project RemoveMember(context.Context, *connect.Request[v1.ProjectServiceRemoveMemberRequest]) (*connect.Response[v1.ProjectServiceRemoveMemberResponse], error) // UpdateMember update a user for a project UpdateMember(context.Context, *connect.Request[v1.ProjectServiceUpdateMemberRequest]) (*connect.Response[v1.ProjectServiceUpdateMemberResponse], error) // Invite a user to a project Invite(context.Context, *connect.Request[v1.ProjectServiceInviteRequest]) (*connect.Response[v1.ProjectServiceInviteResponse], error) // InviteAccept is called from a user to accept a invitation InviteAccept(context.Context, *connect.Request[v1.ProjectServiceInviteAcceptRequest]) (*connect.Response[v1.ProjectServiceInviteAcceptResponse], error) // InviteDelete deletes a pending invitation InviteDelete(context.Context, *connect.Request[v1.ProjectServiceInviteDeleteRequest]) (*connect.Response[v1.ProjectServiceInviteDeleteResponse], error) // InvitesList list all invites to a project InvitesList(context.Context, *connect.Request[v1.ProjectServiceInvitesListRequest]) (*connect.Response[v1.ProjectServiceInvitesListResponse], error) // InviteGet get an invite InviteGet(context.Context, *connect.Request[v1.ProjectServiceInviteGetRequest]) (*connect.Response[v1.ProjectServiceInviteGetResponse], error) }
ProjectServiceHandler is an implementation of the api.v1.ProjectService service.
type SnapshotServiceClient ¶
type SnapshotServiceClient interface { // Get a snapshot Get(context.Context, *connect.Request[v1.SnapshotServiceGetRequest]) (*connect.Response[v1.SnapshotServiceGetResponse], error) // List snapshots List(context.Context, *connect.Request[v1.SnapshotServiceListRequest]) (*connect.Response[v1.SnapshotServiceListResponse], error) // Delete a snapshot Delete(context.Context, *connect.Request[v1.SnapshotServiceDeleteRequest]) (*connect.Response[v1.SnapshotServiceDeleteResponse], error) }
SnapshotServiceClient is a client for the api.v1.SnapshotService service.
func NewSnapshotServiceClient ¶
func NewSnapshotServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) SnapshotServiceClient
NewSnapshotServiceClient constructs a client for the api.v1.SnapshotService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type SnapshotServiceHandler ¶
type SnapshotServiceHandler interface { // Get a snapshot Get(context.Context, *connect.Request[v1.SnapshotServiceGetRequest]) (*connect.Response[v1.SnapshotServiceGetResponse], error) // List snapshots List(context.Context, *connect.Request[v1.SnapshotServiceListRequest]) (*connect.Response[v1.SnapshotServiceListResponse], error) // Delete a snapshot Delete(context.Context, *connect.Request[v1.SnapshotServiceDeleteRequest]) (*connect.Response[v1.SnapshotServiceDeleteResponse], error) }
SnapshotServiceHandler is an implementation of the api.v1.SnapshotService service.
type TenantServiceClient ¶
type TenantServiceClient interface { // Create a tenant Create(context.Context, *connect.Request[v1.TenantServiceCreateRequest]) (*connect.Response[v1.TenantServiceCreateResponse], error) // CreateOrUpdate should only be used from within the application // will check if tenant already exists and updates if necessary, otherwise create a new tenant CreateOrUpdate(context.Context, *connect.Request[v1.TenantServiceCreateOrUpdateRequest]) (*connect.Response[v1.TenantServiceCreateOrUpdateResponse], error) // List tenants List(context.Context, *connect.Request[v1.TenantServiceListRequest]) (*connect.Response[v1.TenantServiceListResponse], error) // Get a tenant Get(context.Context, *connect.Request[v1.TenantServiceGetRequest]) (*connect.Response[v1.TenantServiceGetResponse], error) // Update a tenant Update(context.Context, *connect.Request[v1.TenantServiceUpdateRequest]) (*connect.Response[v1.TenantServiceUpdateResponse], error) // Delete a tenant Delete(context.Context, *connect.Request[v1.TenantServiceDeleteRequest]) (*connect.Response[v1.TenantServiceDeleteResponse], error) // RemoveMember remove a member of a tenant RemoveMember(context.Context, *connect.Request[v1.TenantServiceRemoveMemberRequest]) (*connect.Response[v1.TenantServiceRemoveMemberResponse], error) // UpdateMember update a member of a tenant UpdateMember(context.Context, *connect.Request[v1.TenantServiceUpdateMemberRequest]) (*connect.Response[v1.TenantServiceUpdateMemberResponse], error) // Invite a user to a tenant Invite(context.Context, *connect.Request[v1.TenantServiceInviteRequest]) (*connect.Response[v1.TenantServiceInviteResponse], error) // InviteAccept is called from a user to accept an invitation InviteAccept(context.Context, *connect.Request[v1.TenantServiceInviteAcceptRequest]) (*connect.Response[v1.TenantServiceInviteAcceptResponse], error) // InviteDelete deletes a pending invitation InviteDelete(context.Context, *connect.Request[v1.TenantServiceInviteDeleteRequest]) (*connect.Response[v1.TenantServiceInviteDeleteResponse], error) // InvitesList list all invites to a tenant InvitesList(context.Context, *connect.Request[v1.TenantServiceInvitesListRequest]) (*connect.Response[v1.TenantServiceInvitesListResponse], error) // InviteGet get an invite InviteGet(context.Context, *connect.Request[v1.TenantServiceInviteGetRequest]) (*connect.Response[v1.TenantServiceInviteGetResponse], error) }
TenantServiceClient is a client for the api.v1.TenantService service.
func NewTenantServiceClient ¶
func NewTenantServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) TenantServiceClient
NewTenantServiceClient constructs a client for the api.v1.TenantService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type TenantServiceHandler ¶
type TenantServiceHandler interface { // Create a tenant Create(context.Context, *connect.Request[v1.TenantServiceCreateRequest]) (*connect.Response[v1.TenantServiceCreateResponse], error) // CreateOrUpdate should only be used from within the application // will check if tenant already exists and updates if necessary, otherwise create a new tenant CreateOrUpdate(context.Context, *connect.Request[v1.TenantServiceCreateOrUpdateRequest]) (*connect.Response[v1.TenantServiceCreateOrUpdateResponse], error) // List tenants List(context.Context, *connect.Request[v1.TenantServiceListRequest]) (*connect.Response[v1.TenantServiceListResponse], error) // Get a tenant Get(context.Context, *connect.Request[v1.TenantServiceGetRequest]) (*connect.Response[v1.TenantServiceGetResponse], error) // Update a tenant Update(context.Context, *connect.Request[v1.TenantServiceUpdateRequest]) (*connect.Response[v1.TenantServiceUpdateResponse], error) // Delete a tenant Delete(context.Context, *connect.Request[v1.TenantServiceDeleteRequest]) (*connect.Response[v1.TenantServiceDeleteResponse], error) // RemoveMember remove a member of a tenant RemoveMember(context.Context, *connect.Request[v1.TenantServiceRemoveMemberRequest]) (*connect.Response[v1.TenantServiceRemoveMemberResponse], error) // UpdateMember update a member of a tenant UpdateMember(context.Context, *connect.Request[v1.TenantServiceUpdateMemberRequest]) (*connect.Response[v1.TenantServiceUpdateMemberResponse], error) // Invite a user to a tenant Invite(context.Context, *connect.Request[v1.TenantServiceInviteRequest]) (*connect.Response[v1.TenantServiceInviteResponse], error) // InviteAccept is called from a user to accept an invitation InviteAccept(context.Context, *connect.Request[v1.TenantServiceInviteAcceptRequest]) (*connect.Response[v1.TenantServiceInviteAcceptResponse], error) // InviteDelete deletes a pending invitation InviteDelete(context.Context, *connect.Request[v1.TenantServiceInviteDeleteRequest]) (*connect.Response[v1.TenantServiceInviteDeleteResponse], error) // InvitesList list all invites to a tenant InvitesList(context.Context, *connect.Request[v1.TenantServiceInvitesListRequest]) (*connect.Response[v1.TenantServiceInvitesListResponse], error) // InviteGet get an invite InviteGet(context.Context, *connect.Request[v1.TenantServiceInviteGetRequest]) (*connect.Response[v1.TenantServiceInviteGetResponse], error) }
TenantServiceHandler is an implementation of the api.v1.TenantService service.
type TokenServiceClient ¶
type TokenServiceClient interface { // Create a token to authenticate against the platform, the secret will be only visible in the response Create(context.Context, *connect.Request[v1.TokenServiceCreateRequest]) (*connect.Response[v1.TokenServiceCreateResponse], error) // List all your tokens List(context.Context, *connect.Request[v1.TokenServiceListRequest]) (*connect.Response[v1.TokenServiceListResponse], error) // Revoke a token, no further usage is possible afterwards Revoke(context.Context, *connect.Request[v1.TokenServiceRevokeRequest]) (*connect.Response[v1.TokenServiceRevokeResponse], error) }
TokenServiceClient is a client for the api.v1.TokenService service.
func NewTokenServiceClient ¶
func NewTokenServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) TokenServiceClient
NewTokenServiceClient constructs a client for the api.v1.TokenService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type TokenServiceHandler ¶
type TokenServiceHandler interface { // Create a token to authenticate against the platform, the secret will be only visible in the response Create(context.Context, *connect.Request[v1.TokenServiceCreateRequest]) (*connect.Response[v1.TokenServiceCreateResponse], error) // List all your tokens List(context.Context, *connect.Request[v1.TokenServiceListRequest]) (*connect.Response[v1.TokenServiceListResponse], error) // Revoke a token, no further usage is possible afterwards Revoke(context.Context, *connect.Request[v1.TokenServiceRevokeRequest]) (*connect.Response[v1.TokenServiceRevokeResponse], error) }
TokenServiceHandler is an implementation of the api.v1.TokenService service.
type UnimplementedAssetServiceHandler ¶
type UnimplementedAssetServiceHandler struct{}
UnimplementedAssetServiceHandler returns CodeUnimplemented from all methods.
type UnimplementedClusterServiceHandler ¶
type UnimplementedClusterServiceHandler struct{}
UnimplementedClusterServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedClusterServiceHandler) GetCredentials ¶
func (UnimplementedClusterServiceHandler) GetCredentials(context.Context, *connect.Request[v1.ClusterServiceGetCredentialsRequest]) (*connect.Response[v1.ClusterServiceGetCredentialsResponse], error)
func (UnimplementedClusterServiceHandler) WatchStatus ¶
type UnimplementedHealthServiceHandler ¶
type UnimplementedHealthServiceHandler struct{}
UnimplementedHealthServiceHandler returns CodeUnimplemented from all methods.
type UnimplementedIPServiceHandler ¶
type UnimplementedIPServiceHandler struct{}
UnimplementedIPServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedIPServiceHandler) Allocate ¶
func (UnimplementedIPServiceHandler) Allocate(context.Context, *connect.Request[v1.IPServiceAllocateRequest]) (*connect.Response[v1.IPServiceAllocateResponse], error)
func (UnimplementedIPServiceHandler) Delete ¶
func (UnimplementedIPServiceHandler) Delete(context.Context, *connect.Request[v1.IPServiceDeleteRequest]) (*connect.Response[v1.IPServiceDeleteResponse], error)
func (UnimplementedIPServiceHandler) Get ¶
func (UnimplementedIPServiceHandler) Get(context.Context, *connect.Request[v1.IPServiceGetRequest]) (*connect.Response[v1.IPServiceGetResponse], error)
func (UnimplementedIPServiceHandler) List ¶
func (UnimplementedIPServiceHandler) List(context.Context, *connect.Request[v1.IPServiceListRequest]) (*connect.Response[v1.IPServiceListResponse], error)
func (UnimplementedIPServiceHandler) Update ¶
func (UnimplementedIPServiceHandler) Update(context.Context, *connect.Request[v1.IPServiceUpdateRequest]) (*connect.Response[v1.IPServiceUpdateResponse], error)
type UnimplementedMethodServiceHandler ¶
type UnimplementedMethodServiceHandler struct{}
UnimplementedMethodServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedMethodServiceHandler) TokenScopedList ¶
func (UnimplementedMethodServiceHandler) TokenScopedList(context.Context, *connect.Request[v1.MethodServiceTokenScopedListRequest]) (*connect.Response[v1.MethodServiceTokenScopedListResponse], error)
type UnimplementedPaymentServiceHandler ¶
type UnimplementedPaymentServiceHandler struct{}
UnimplementedPaymentServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedPaymentServiceHandler) CheckAdmitted ¶
func (UnimplementedPaymentServiceHandler) CheckAdmitted(context.Context, *connect.Request[v1.PaymentServiceCheckAdmittedRequest]) (*connect.Response[v1.PaymentServiceCheckAdmittedResponse], error)
func (UnimplementedPaymentServiceHandler) CheckIfCustomerExists ¶
func (UnimplementedPaymentServiceHandler) CheckIfCustomerExists(context.Context, *connect.Request[v1.PaymentServiceCheckIfCustomerExistsRequest]) (*connect.Response[v1.PaymentServiceCheckIfCustomerExistsResponse], error)
func (UnimplementedPaymentServiceHandler) CreateOrUpdateCustomer ¶
func (UnimplementedPaymentServiceHandler) CreateOrUpdateCustomer(context.Context, *connect.Request[v1.PaymentServiceCreateOrUpdateCustomerRequest]) (*connect.Response[v1.PaymentServiceCreateOrUpdateCustomerResponse], error)
func (UnimplementedPaymentServiceHandler) DeletePaymentMethod ¶
func (UnimplementedPaymentServiceHandler) DeletePaymentMethod(context.Context, *connect.Request[v1.PaymentServiceDeletePaymentMethodRequest]) (*connect.Response[v1.PaymentServiceDeletePaymentMethodResponse], error)
func (UnimplementedPaymentServiceHandler) GetCustomer ¶
func (UnimplementedPaymentServiceHandler) GetCustomer(context.Context, *connect.Request[v1.PaymentServiceGetCustomerRequest]) (*connect.Response[v1.PaymentServiceGetCustomerResponse], error)
func (UnimplementedPaymentServiceHandler) GetCustomerWithLogin ¶
func (UnimplementedPaymentServiceHandler) GetCustomerWithLogin(context.Context, *connect.Request[v1.PaymentServiceGetCustomerWithLoginRequest]) (*connect.Response[v1.PaymentServiceGetCustomerWithLoginResponse], error)
func (UnimplementedPaymentServiceHandler) GetDefaultPrices ¶
func (UnimplementedPaymentServiceHandler) GetDefaultPrices(context.Context, *connect.Request[v1.PaymentServiceGetDefaultPricesRequest]) (*connect.Response[v1.PaymentServiceGetDefaultPricesResponse], error)
func (UnimplementedPaymentServiceHandler) GetInvoices ¶
func (UnimplementedPaymentServiceHandler) GetInvoices(context.Context, *connect.Request[v1.PaymentServiceGetInvoicesRequest]) (*connect.Response[v1.PaymentServiceGetInvoicesResponse], error)
func (UnimplementedPaymentServiceHandler) GetOnboarded ¶ added in v0.7.5
func (UnimplementedPaymentServiceHandler) GetOnboarded(context.Context, *connect.Request[v1.PaymentServiceGetOnboardedRequest]) (*connect.Response[v1.PaymentServiceGetOnboardedResponse], error)
func (UnimplementedPaymentServiceHandler) GetSubscriptionUsage ¶
func (UnimplementedPaymentServiceHandler) GetSubscriptionUsage(context.Context, *connect.Request[v1.PaymentServiceGetSubscriptionUsageRequest]) (*connect.Response[v1.PaymentServiceGetSubscriptionUsageResponse], error)
func (UnimplementedPaymentServiceHandler) HasChargeableResources ¶
func (UnimplementedPaymentServiceHandler) HasChargeableResources(context.Context, *connect.Request[v1.PaymentServiceHasChargeableResourcesRequest]) (*connect.Response[v1.PaymentServiceHasChargeableResourcesResponse], error)
func (UnimplementedPaymentServiceHandler) HasPaymentMethod ¶
func (UnimplementedPaymentServiceHandler) HasPaymentMethod(context.Context, *connect.Request[v1.PaymentServiceHasPaymentMethodRequest]) (*connect.Response[v1.PaymentServiceHasPaymentMethodResponse], error)
func (UnimplementedPaymentServiceHandler) RequestAdmission ¶
func (UnimplementedPaymentServiceHandler) RequestAdmission(context.Context, *connect.Request[v1.PaymentServiceRequestAdmissionRequest]) (*connect.Response[v1.PaymentServiceRequestAdmissionResponse], error)
func (UnimplementedPaymentServiceHandler) SetOnboarded ¶ added in v0.7.5
func (UnimplementedPaymentServiceHandler) SetOnboarded(context.Context, *connect.Request[v1.PaymentServiceSetOnboardedRequest]) (*connect.Response[v1.PaymentServiceSetOnboardedResponse], error)
type UnimplementedProjectServiceHandler ¶
type UnimplementedProjectServiceHandler struct{}
UnimplementedProjectServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedProjectServiceHandler) InviteAccept ¶ added in v0.8.0
func (UnimplementedProjectServiceHandler) InviteAccept(context.Context, *connect.Request[v1.ProjectServiceInviteAcceptRequest]) (*connect.Response[v1.ProjectServiceInviteAcceptResponse], error)
func (UnimplementedProjectServiceHandler) InviteDelete ¶ added in v0.8.0
func (UnimplementedProjectServiceHandler) InviteDelete(context.Context, *connect.Request[v1.ProjectServiceInviteDeleteRequest]) (*connect.Response[v1.ProjectServiceInviteDeleteResponse], error)
func (UnimplementedProjectServiceHandler) InviteGet ¶ added in v0.8.2
func (UnimplementedProjectServiceHandler) InviteGet(context.Context, *connect.Request[v1.ProjectServiceInviteGetRequest]) (*connect.Response[v1.ProjectServiceInviteGetResponse], error)
func (UnimplementedProjectServiceHandler) InvitesList ¶ added in v0.8.0
func (UnimplementedProjectServiceHandler) InvitesList(context.Context, *connect.Request[v1.ProjectServiceInvitesListRequest]) (*connect.Response[v1.ProjectServiceInvitesListResponse], error)
func (UnimplementedProjectServiceHandler) RemoveMember ¶ added in v0.8.0
func (UnimplementedProjectServiceHandler) RemoveMember(context.Context, *connect.Request[v1.ProjectServiceRemoveMemberRequest]) (*connect.Response[v1.ProjectServiceRemoveMemberResponse], error)
func (UnimplementedProjectServiceHandler) UpdateMember ¶ added in v0.8.2
func (UnimplementedProjectServiceHandler) UpdateMember(context.Context, *connect.Request[v1.ProjectServiceUpdateMemberRequest]) (*connect.Response[v1.ProjectServiceUpdateMemberResponse], error)
type UnimplementedSnapshotServiceHandler ¶
type UnimplementedSnapshotServiceHandler struct{}
UnimplementedSnapshotServiceHandler returns CodeUnimplemented from all methods.
type UnimplementedTenantServiceHandler ¶
type UnimplementedTenantServiceHandler struct{}
UnimplementedTenantServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedTenantServiceHandler) CreateOrUpdate ¶
func (UnimplementedTenantServiceHandler) CreateOrUpdate(context.Context, *connect.Request[v1.TenantServiceCreateOrUpdateRequest]) (*connect.Response[v1.TenantServiceCreateOrUpdateResponse], error)
func (UnimplementedTenantServiceHandler) InviteAccept ¶ added in v0.9.1
func (UnimplementedTenantServiceHandler) InviteAccept(context.Context, *connect.Request[v1.TenantServiceInviteAcceptRequest]) (*connect.Response[v1.TenantServiceInviteAcceptResponse], error)
func (UnimplementedTenantServiceHandler) InviteDelete ¶ added in v0.9.1
func (UnimplementedTenantServiceHandler) InviteDelete(context.Context, *connect.Request[v1.TenantServiceInviteDeleteRequest]) (*connect.Response[v1.TenantServiceInviteDeleteResponse], error)
func (UnimplementedTenantServiceHandler) InviteGet ¶ added in v0.9.1
func (UnimplementedTenantServiceHandler) InviteGet(context.Context, *connect.Request[v1.TenantServiceInviteGetRequest]) (*connect.Response[v1.TenantServiceInviteGetResponse], error)
func (UnimplementedTenantServiceHandler) InvitesList ¶ added in v0.9.1
func (UnimplementedTenantServiceHandler) InvitesList(context.Context, *connect.Request[v1.TenantServiceInvitesListRequest]) (*connect.Response[v1.TenantServiceInvitesListResponse], error)
func (UnimplementedTenantServiceHandler) RemoveMember ¶ added in v0.9.1
func (UnimplementedTenantServiceHandler) RemoveMember(context.Context, *connect.Request[v1.TenantServiceRemoveMemberRequest]) (*connect.Response[v1.TenantServiceRemoveMemberResponse], error)
func (UnimplementedTenantServiceHandler) UpdateMember ¶ added in v0.9.1
func (UnimplementedTenantServiceHandler) UpdateMember(context.Context, *connect.Request[v1.TenantServiceUpdateMemberRequest]) (*connect.Response[v1.TenantServiceUpdateMemberResponse], error)
type UnimplementedTokenServiceHandler ¶
type UnimplementedTokenServiceHandler struct{}
UnimplementedTokenServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedTokenServiceHandler) Create ¶
func (UnimplementedTokenServiceHandler) Create(context.Context, *connect.Request[v1.TokenServiceCreateRequest]) (*connect.Response[v1.TokenServiceCreateResponse], error)
func (UnimplementedTokenServiceHandler) Revoke ¶
func (UnimplementedTokenServiceHandler) Revoke(context.Context, *connect.Request[v1.TokenServiceRevokeRequest]) (*connect.Response[v1.TokenServiceRevokeResponse], error)
type UnimplementedUserServiceHandler ¶ added in v0.8.4
type UnimplementedUserServiceHandler struct{}
UnimplementedUserServiceHandler returns CodeUnimplemented from all methods.
type UnimplementedVersionServiceHandler ¶
type UnimplementedVersionServiceHandler struct{}
UnimplementedVersionServiceHandler returns CodeUnimplemented from all methods.
type UnimplementedVolumeServiceHandler ¶
type UnimplementedVolumeServiceHandler struct{}
UnimplementedVolumeServiceHandler returns CodeUnimplemented from all methods.
type UserServiceClient ¶ added in v0.8.4
type UserServiceClient interface { // Get a User Get(context.Context, *connect.Request[v1.UserServiceGetRequest]) (*connect.Response[v1.UserServiceGetResponse], error) }
UserServiceClient is a client for the api.v1.UserService service.
func NewUserServiceClient ¶ added in v0.8.4
func NewUserServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) UserServiceClient
NewUserServiceClient constructs a client for the api.v1.UserService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type UserServiceHandler ¶ added in v0.8.4
type UserServiceHandler interface { // Get a User Get(context.Context, *connect.Request[v1.UserServiceGetRequest]) (*connect.Response[v1.UserServiceGetResponse], error) }
UserServiceHandler is an implementation of the api.v1.UserService service.
type VersionServiceClient ¶
type VersionServiceClient interface { // Get the version Get(context.Context, *connect.Request[v1.VersionServiceGetRequest]) (*connect.Response[v1.VersionServiceGetResponse], error) }
VersionServiceClient is a client for the api.v1.VersionService service.
func NewVersionServiceClient ¶
func NewVersionServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) VersionServiceClient
NewVersionServiceClient constructs a client for the api.v1.VersionService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type VersionServiceHandler ¶
type VersionServiceHandler interface { // Get the version Get(context.Context, *connect.Request[v1.VersionServiceGetRequest]) (*connect.Response[v1.VersionServiceGetResponse], error) }
VersionServiceHandler is an implementation of the api.v1.VersionService service.
type VolumeServiceClient ¶
type VolumeServiceClient interface { // Get a volume Get(context.Context, *connect.Request[v1.VolumeServiceGetRequest]) (*connect.Response[v1.VolumeServiceGetResponse], error) // List the volumes List(context.Context, *connect.Request[v1.VolumeServiceListRequest]) (*connect.Response[v1.VolumeServiceListResponse], error) // Delete a volume Delete(context.Context, *connect.Request[v1.VolumeServiceDeleteRequest]) (*connect.Response[v1.VolumeServiceDeleteResponse], error) }
VolumeServiceClient is a client for the api.v1.VolumeService service.
func NewVolumeServiceClient ¶
func NewVolumeServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) VolumeServiceClient
NewVolumeServiceClient constructs a client for the api.v1.VolumeService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type VolumeServiceHandler ¶
type VolumeServiceHandler interface { // Get a volume Get(context.Context, *connect.Request[v1.VolumeServiceGetRequest]) (*connect.Response[v1.VolumeServiceGetResponse], error) // List the volumes List(context.Context, *connect.Request[v1.VolumeServiceListRequest]) (*connect.Response[v1.VolumeServiceListResponse], error) // Delete a volume Delete(context.Context, *connect.Request[v1.VolumeServiceDeleteRequest]) (*connect.Response[v1.VolumeServiceDeleteResponse], error) }
VolumeServiceHandler is an implementation of the api.v1.VolumeService service.