Documentation ¶
Index ¶
- Variables
- func ErrInvalidInput(err string) error
- func Register(s *grpc.Server, deps api.Deps, authConf authenticate.Config)
- type AuditService
- type AuthnService
- type BootstrapService
- type CascadeDeleter
- type CheckoutService
- type CreditService
- type CustomerService
- type DomainService
- type EntitlementService
- type GroupService
- type Handler
- func (h Handler) AcceptOrganizationInvitation(ctx context.Context, ...) (*frontierv1beta1.AcceptOrganizationInvitationResponse, error)
- func (h Handler) AddGroupUsers(ctx context.Context, request *frontierv1beta1.AddGroupUsersRequest) (*frontierv1beta1.AddGroupUsersResponse, error)
- func (h Handler) AddOrganizationUsers(ctx context.Context, request *frontierv1beta1.AddOrganizationUsersRequest) (*frontierv1beta1.AddOrganizationUsersResponse, error)
- func (h Handler) AddPlatformUser(ctx context.Context, req *frontierv1beta1.AddPlatformUserRequest) (*frontierv1beta1.AddPlatformUserResponse, error)
- func (h Handler) AuthCallback(ctx context.Context, request *frontierv1beta1.AuthCallbackRequest) (*frontierv1beta1.AuthCallbackResponse, error)
- func (h Handler) AuthLogout(ctx context.Context, request *frontierv1beta1.AuthLogoutRequest) (*frontierv1beta1.AuthLogoutResponse, error)
- func (h Handler) AuthToken(ctx context.Context, request *frontierv1beta1.AuthTokenRequest) (*frontierv1beta1.AuthTokenResponse, error)
- func (h Handler) Authenticate(ctx context.Context, request *frontierv1beta1.AuthenticateRequest) (*frontierv1beta1.AuthenticateResponse, error)
- func (h Handler) BatchCheckPermission(ctx context.Context, req *frontierv1beta1.BatchCheckPermissionRequest) (*frontierv1beta1.BatchCheckPermissionResponse, error)
- func (h Handler) CancelSubscription(ctx context.Context, request *frontierv1beta1.CancelSubscriptionRequest) (*frontierv1beta1.CancelSubscriptionResponse, error)
- func (h Handler) ChangeSubscription(ctx context.Context, request *frontierv1beta1.ChangeSubscriptionRequest) (*frontierv1beta1.ChangeSubscriptionResponse, error)
- func (h Handler) CheckFeatureEntitlement(ctx context.Context, request *frontierv1beta1.CheckFeatureEntitlementRequest) (*frontierv1beta1.CheckFeatureEntitlementResponse, error)
- func (h Handler) CheckFederatedResourcePermission(ctx context.Context, ...) (*frontierv1beta1.CheckFederatedResourcePermissionResponse, error)
- func (h Handler) CheckPlanEntitlement(ctx context.Context, obj relation.Object) error
- func (h Handler) CheckResourcePermission(ctx context.Context, req *frontierv1beta1.CheckResourcePermissionRequest) (*frontierv1beta1.CheckResourcePermissionResponse, error)
- func (h Handler) CreateBillingAccount(ctx context.Context, request *frontierv1beta1.CreateBillingAccountRequest) (*frontierv1beta1.CreateBillingAccountResponse, error)
- func (h Handler) CreateBillingUsage(ctx context.Context, request *frontierv1beta1.CreateBillingUsageRequest) (*frontierv1beta1.CreateBillingUsageResponse, error)
- func (h Handler) CreateCheckout(ctx context.Context, request *frontierv1beta1.CreateCheckoutRequest) (*frontierv1beta1.CreateCheckoutResponse, error)
- func (h Handler) CreateCurrentUserPreferences(ctx context.Context, ...) (*frontierv1beta1.CreateCurrentUserPreferencesResponse, error)
- func (h Handler) CreateFeature(ctx context.Context, request *frontierv1beta1.CreateFeatureRequest) (*frontierv1beta1.CreateFeatureResponse, error)
- func (h Handler) CreateGroup(ctx context.Context, request *frontierv1beta1.CreateGroupRequest) (*frontierv1beta1.CreateGroupResponse, error)
- func (h Handler) CreateGroupPreferences(ctx context.Context, request *frontierv1beta1.CreateGroupPreferencesRequest) (*frontierv1beta1.CreateGroupPreferencesResponse, error)
- func (h Handler) CreateMetaSchema(ctx context.Context, request *frontierv1beta1.CreateMetaSchemaRequest) (*frontierv1beta1.CreateMetaSchemaResponse, error)
- func (h Handler) CreateOrganization(ctx context.Context, request *frontierv1beta1.CreateOrganizationRequest) (*frontierv1beta1.CreateOrganizationResponse, error)
- func (h Handler) CreateOrganizationAuditLogs(ctx context.Context, ...) (*frontierv1beta1.CreateOrganizationAuditLogsResponse, error)
- func (h Handler) CreateOrganizationDomain(ctx context.Context, request *frontierv1beta1.CreateOrganizationDomainRequest) (*frontierv1beta1.CreateOrganizationDomainResponse, error)
- func (h Handler) CreateOrganizationInvitation(ctx context.Context, ...) (*frontierv1beta1.CreateOrganizationInvitationResponse, error)
- func (h Handler) CreateOrganizationPreferences(ctx context.Context, ...) (*frontierv1beta1.CreateOrganizationPreferencesResponse, error)
- func (h Handler) CreateOrganizationRole(ctx context.Context, request *frontierv1beta1.CreateOrganizationRoleRequest) (*frontierv1beta1.CreateOrganizationRoleResponse, error)
- func (h Handler) CreatePermission(ctx context.Context, request *frontierv1beta1.CreatePermissionRequest) (*frontierv1beta1.CreatePermissionResponse, error)
- func (h Handler) CreatePlan(ctx context.Context, request *frontierv1beta1.CreatePlanRequest) (*frontierv1beta1.CreatePlanResponse, error)
- func (h Handler) CreatePolicy(ctx context.Context, request *frontierv1beta1.CreatePolicyRequest) (*frontierv1beta1.CreatePolicyResponse, error)
- func (h Handler) CreatePreferences(ctx context.Context, request *frontierv1beta1.CreatePreferencesRequest) (*frontierv1beta1.CreatePreferencesResponse, error)
- func (h Handler) CreateProduct(ctx context.Context, request *frontierv1beta1.CreateProductRequest) (*frontierv1beta1.CreateProductResponse, error)
- func (h Handler) CreateProject(ctx context.Context, request *frontierv1beta1.CreateProjectRequest) (*frontierv1beta1.CreateProjectResponse, error)
- func (h Handler) CreateProjectPreferences(ctx context.Context, request *frontierv1beta1.CreateProjectPreferencesRequest) (*frontierv1beta1.CreateProjectPreferencesResponse, error)
- func (h Handler) CreateProjectResource(ctx context.Context, request *frontierv1beta1.CreateProjectResourceRequest) (*frontierv1beta1.CreateProjectResourceResponse, error)
- func (h Handler) CreateRelation(ctx context.Context, request *frontierv1beta1.CreateRelationRequest) (*frontierv1beta1.CreateRelationResponse, error)
- func (h Handler) CreateRole(ctx context.Context, request *frontierv1beta1.CreateRoleRequest) (*frontierv1beta1.CreateRoleResponse, error)
- func (h Handler) CreateServiceUser(ctx context.Context, request *frontierv1beta1.CreateServiceUserRequest) (*frontierv1beta1.CreateServiceUserResponse, error)
- func (h Handler) CreateServiceUserKey(ctx context.Context, request *frontierv1beta1.CreateServiceUserKeyRequest) (*frontierv1beta1.CreateServiceUserKeyResponse, error)
- func (h Handler) CreateServiceUserSecret(ctx context.Context, request *frontierv1beta1.CreateServiceUserSecretRequest) (*frontierv1beta1.CreateServiceUserSecretResponse, error)
- func (h Handler) CreateUser(ctx context.Context, request *frontierv1beta1.CreateUserRequest) (*frontierv1beta1.CreateUserResponse, error)
- func (h Handler) CreateUserPreferences(ctx context.Context, request *frontierv1beta1.CreateUserPreferencesRequest) (*frontierv1beta1.CreateUserPreferencesResponse, error)
- func (h Handler) DelegatedCheckout(ctx context.Context, request *frontierv1beta1.DelegatedCheckoutRequest) (*frontierv1beta1.DelegatedCheckoutResponse, error)
- func (h Handler) DeleteBillingAccount(ctx context.Context, request *frontierv1beta1.DeleteBillingAccountRequest) (*frontierv1beta1.DeleteBillingAccountResponse, error)
- func (h Handler) DeleteGroup(ctx context.Context, request *frontierv1beta1.DeleteGroupRequest) (*frontierv1beta1.DeleteGroupResponse, error)
- func (h Handler) DeleteMetaSchema(ctx context.Context, request *frontierv1beta1.DeleteMetaSchemaRequest) (*frontierv1beta1.DeleteMetaSchemaResponse, error)
- func (h Handler) DeleteOrganization(ctx context.Context, request *frontierv1beta1.DeleteOrganizationRequest) (*frontierv1beta1.DeleteOrganizationResponse, error)
- func (h Handler) DeleteOrganizationDomain(ctx context.Context, request *frontierv1beta1.DeleteOrganizationDomainRequest) (*frontierv1beta1.DeleteOrganizationDomainResponse, error)
- func (h Handler) DeleteOrganizationInvitation(ctx context.Context, ...) (*frontierv1beta1.DeleteOrganizationInvitationResponse, error)
- func (h Handler) DeleteOrganizationRole(ctx context.Context, request *frontierv1beta1.DeleteOrganizationRoleRequest) (*frontierv1beta1.DeleteOrganizationRoleResponse, error)
- func (h Handler) DeletePermission(ctx context.Context, in *frontierv1beta1.DeletePermissionRequest) (*frontierv1beta1.DeletePermissionResponse, error)
- func (h Handler) DeletePolicy(ctx context.Context, request *frontierv1beta1.DeletePolicyRequest) (*frontierv1beta1.DeletePolicyResponse, error)
- func (h Handler) DeleteProject(ctx context.Context, request *frontierv1beta1.DeleteProjectRequest) (*frontierv1beta1.DeleteProjectResponse, error)
- func (h Handler) DeleteProjectResource(ctx context.Context, request *frontierv1beta1.DeleteProjectResourceRequest) (*frontierv1beta1.DeleteProjectResourceResponse, error)
- func (h Handler) DeleteRelation(ctx context.Context, request *frontierv1beta1.DeleteRelationRequest) (*frontierv1beta1.DeleteRelationResponse, error)
- func (h Handler) DeleteRole(ctx context.Context, request *frontierv1beta1.DeleteRoleRequest) (*frontierv1beta1.DeleteRoleResponse, error)
- func (h Handler) DeleteServiceUser(ctx context.Context, request *frontierv1beta1.DeleteServiceUserRequest) (*frontierv1beta1.DeleteServiceUserResponse, error)
- func (h Handler) DeleteServiceUserKey(ctx context.Context, request *frontierv1beta1.DeleteServiceUserKeyRequest) (*frontierv1beta1.DeleteServiceUserKeyResponse, error)
- func (h Handler) DeleteServiceUserSecret(ctx context.Context, request *frontierv1beta1.DeleteServiceUserSecretRequest) (*frontierv1beta1.DeleteServiceUserSecretResponse, error)
- func (h Handler) DeleteUser(ctx context.Context, request *frontierv1beta1.DeleteUserRequest) (*frontierv1beta1.DeleteUserResponse, error)
- func (h Handler) DescribePreferences(ctx context.Context, request *frontierv1beta1.DescribePreferencesRequest) (*frontierv1beta1.DescribePreferencesResponse, error)
- func (h Handler) DisableGroup(ctx context.Context, request *frontierv1beta1.DisableGroupRequest) (*frontierv1beta1.DisableGroupResponse, error)
- func (h Handler) DisableOrganization(ctx context.Context, request *frontierv1beta1.DisableOrganizationRequest) (*frontierv1beta1.DisableOrganizationResponse, error)
- func (h Handler) DisableProject(ctx context.Context, request *frontierv1beta1.DisableProjectRequest) (*frontierv1beta1.DisableProjectResponse, error)
- func (h Handler) DisableUser(ctx context.Context, request *frontierv1beta1.DisableUserRequest) (*frontierv1beta1.DisableUserResponse, error)
- func (h Handler) EnableGroup(ctx context.Context, request *frontierv1beta1.EnableGroupRequest) (*frontierv1beta1.EnableGroupResponse, error)
- func (h Handler) EnableOrganization(ctx context.Context, request *frontierv1beta1.EnableOrganizationRequest) (*frontierv1beta1.EnableOrganizationResponse, error)
- func (h Handler) EnableProject(ctx context.Context, request *frontierv1beta1.EnableProjectRequest) (*frontierv1beta1.EnableProjectResponse, error)
- func (h Handler) EnableUser(ctx context.Context, request *frontierv1beta1.EnableUserRequest) (*frontierv1beta1.EnableUserResponse, error)
- func (h Handler) GetBillingAccount(ctx context.Context, request *frontierv1beta1.GetBillingAccountRequest) (*frontierv1beta1.GetBillingAccountResponse, error)
- func (h Handler) GetBillingBalance(ctx context.Context, request *frontierv1beta1.GetBillingBalanceRequest) (*frontierv1beta1.GetBillingBalanceResponse, error)
- func (h Handler) GetCurrentUser(ctx context.Context, request *frontierv1beta1.GetCurrentUserRequest) (*frontierv1beta1.GetCurrentUserResponse, error)
- func (h Handler) GetFeature(ctx context.Context, request *frontierv1beta1.GetFeatureRequest) (*frontierv1beta1.GetFeatureResponse, error)
- func (h Handler) GetGroup(ctx context.Context, request *frontierv1beta1.GetGroupRequest) (*frontierv1beta1.GetGroupResponse, error)
- func (h Handler) GetJWKs(ctx context.Context, request *frontierv1beta1.GetJWKsRequest) (*frontierv1beta1.GetJWKsResponse, error)
- func (h Handler) GetLoggedInPrincipal(ctx context.Context, via ...authenticate.ClientAssertion) (authenticate.Principal, error)
- func (h Handler) GetMetaSchema(ctx context.Context, request *frontierv1beta1.GetMetaSchemaRequest) (*frontierv1beta1.GetMetaSchemaResponse, error)
- func (h Handler) GetNamespace(ctx context.Context, request *frontierv1beta1.GetNamespaceRequest) (*frontierv1beta1.GetNamespaceResponse, error)
- func (h Handler) GetOrganization(ctx context.Context, request *frontierv1beta1.GetOrganizationRequest) (*frontierv1beta1.GetOrganizationResponse, error)
- func (h Handler) GetOrganizationAuditLog(ctx context.Context, request *frontierv1beta1.GetOrganizationAuditLogRequest) (*frontierv1beta1.GetOrganizationAuditLogResponse, error)
- func (h Handler) GetOrganizationDomain(ctx context.Context, request *frontierv1beta1.GetOrganizationDomainRequest) (*frontierv1beta1.GetOrganizationDomainResponse, error)
- func (h Handler) GetOrganizationInvitation(ctx context.Context, request *frontierv1beta1.GetOrganizationInvitationRequest) (*frontierv1beta1.GetOrganizationInvitationResponse, error)
- func (h Handler) GetOrganizationRole(ctx context.Context, request *frontierv1beta1.GetOrganizationRoleRequest) (*frontierv1beta1.GetOrganizationRoleResponse, error)
- func (h Handler) GetPermission(ctx context.Context, request *frontierv1beta1.GetPermissionRequest) (*frontierv1beta1.GetPermissionResponse, error)
- func (h Handler) GetPlan(ctx context.Context, request *frontierv1beta1.GetPlanRequest) (*frontierv1beta1.GetPlanResponse, error)
- func (h Handler) GetPolicy(ctx context.Context, request *frontierv1beta1.GetPolicyRequest) (*frontierv1beta1.GetPolicyResponse, error)
- func (h Handler) GetProduct(ctx context.Context, request *frontierv1beta1.GetProductRequest) (*frontierv1beta1.GetProductResponse, error)
- func (h Handler) GetProject(ctx context.Context, request *frontierv1beta1.GetProjectRequest) (*frontierv1beta1.GetProjectResponse, error)
- func (h Handler) GetProjectResource(ctx context.Context, request *frontierv1beta1.GetProjectResourceRequest) (*frontierv1beta1.GetProjectResourceResponse, error)
- func (h Handler) GetRelation(ctx context.Context, request *frontierv1beta1.GetRelationRequest) (*frontierv1beta1.GetRelationResponse, error)
- func (h Handler) GetRequestCustomerID(ctx context.Context, request any) (string, error)
- func (h Handler) GetServiceUser(ctx context.Context, request *frontierv1beta1.GetServiceUserRequest) (*frontierv1beta1.GetServiceUserResponse, error)
- func (h Handler) GetServiceUserKey(ctx context.Context, request *frontierv1beta1.GetServiceUserKeyRequest) (*frontierv1beta1.GetServiceUserKeyResponse, error)
- func (h Handler) GetSubscription(ctx context.Context, request *frontierv1beta1.GetSubscriptionRequest) (*frontierv1beta1.GetSubscriptionResponse, error)
- func (h Handler) GetUpcomingInvoice(ctx context.Context, request *frontierv1beta1.GetUpcomingInvoiceRequest) (*frontierv1beta1.GetUpcomingInvoiceResponse, error)
- func (h Handler) GetUser(ctx context.Context, request *frontierv1beta1.GetUserRequest) (*frontierv1beta1.GetUserResponse, error)
- func (h Handler) HasTrialed(ctx context.Context, request *frontierv1beta1.HasTrialedRequest) (*frontierv1beta1.HasTrialedResponse, error)
- func (h Handler) IsAuthorized(ctx context.Context, object relation.Object, permission string) error
- func (h Handler) IsSuperUser(ctx context.Context) error
- func (h Handler) JoinOrganization(ctx context.Context, request *frontierv1beta1.JoinOrganizationRequest) (*frontierv1beta1.JoinOrganizationResponse, error)
- func (h Handler) ListAllBillingAccounts(ctx context.Context, request *frontierv1beta1.ListAllBillingAccountsRequest) (*frontierv1beta1.ListAllBillingAccountsResponse, error)
- func (h Handler) ListAllInvoices(ctx context.Context, request *frontierv1beta1.ListAllInvoicesRequest) (*frontierv1beta1.ListAllInvoicesResponse, error)
- func (h Handler) ListAllOrganizations(ctx context.Context, request *frontierv1beta1.ListAllOrganizationsRequest) (*frontierv1beta1.ListAllOrganizationsResponse, error)
- func (h Handler) ListAllUsers(ctx context.Context, request *frontierv1beta1.ListAllUsersRequest) (*frontierv1beta1.ListAllUsersResponse, error)
- func (h Handler) ListAuthStrategies(ctx context.Context, request *frontierv1beta1.ListAuthStrategiesRequest) (*frontierv1beta1.ListAuthStrategiesResponse, error)
- func (h Handler) ListBillingAccounts(ctx context.Context, request *frontierv1beta1.ListBillingAccountsRequest) (*frontierv1beta1.ListBillingAccountsResponse, error)
- func (h Handler) ListBillingTransactions(ctx context.Context, request *frontierv1beta1.ListBillingTransactionsRequest) (*frontierv1beta1.ListBillingTransactionsResponse, error)
- func (h Handler) ListCheckouts(ctx context.Context, request *frontierv1beta1.ListCheckoutsRequest) (*frontierv1beta1.ListCheckoutsResponse, error)
- func (h Handler) ListCurrentUserGroups(ctx context.Context, request *frontierv1beta1.ListCurrentUserGroupsRequest) (*frontierv1beta1.ListCurrentUserGroupsResponse, error)
- func (h Handler) ListCurrentUserInvitations(ctx context.Context, ...) (*frontierv1beta1.ListCurrentUserInvitationsResponse, error)
- func (h Handler) ListCurrentUserPreferences(ctx context.Context, ...) (*frontierv1beta1.ListCurrentUserPreferencesResponse, error)
- func (h Handler) ListFeatures(ctx context.Context, request *frontierv1beta1.ListFeaturesRequest) (*frontierv1beta1.ListFeaturesResponse, error)
- func (h Handler) ListGroupPreferences(ctx context.Context, request *frontierv1beta1.ListGroupPreferencesRequest) (*frontierv1beta1.ListGroupPreferencesResponse, error)
- func (h Handler) ListGroupUsers(ctx context.Context, request *frontierv1beta1.ListGroupUsersRequest) (*frontierv1beta1.ListGroupUsersResponse, error)
- func (h Handler) ListGroups(ctx context.Context, request *frontierv1beta1.ListGroupsRequest) (*frontierv1beta1.ListGroupsResponse, error)
- func (h Handler) ListInvoices(ctx context.Context, request *frontierv1beta1.ListInvoicesRequest) (*frontierv1beta1.ListInvoicesResponse, error)
- func (h Handler) ListMetaSchemas(ctx context.Context, request *frontierv1beta1.ListMetaSchemasRequest) (*frontierv1beta1.ListMetaSchemasResponse, error)
- func (h Handler) ListNamespaces(ctx context.Context, request *frontierv1beta1.ListNamespacesRequest) (*frontierv1beta1.ListNamespacesResponse, error)
- func (h Handler) ListOrganizationAdmins(ctx context.Context, request *frontierv1beta1.ListOrganizationAdminsRequest) (*frontierv1beta1.ListOrganizationAdminsResponse, error)
- func (h Handler) ListOrganizationAuditLogs(ctx context.Context, request *frontierv1beta1.ListOrganizationAuditLogsRequest) (*frontierv1beta1.ListOrganizationAuditLogsResponse, error)
- func (h Handler) ListOrganizationDomains(ctx context.Context, request *frontierv1beta1.ListOrganizationDomainsRequest) (*frontierv1beta1.ListOrganizationDomainsResponse, error)
- func (h Handler) ListOrganizationGroups(ctx context.Context, request *frontierv1beta1.ListOrganizationGroupsRequest) (*frontierv1beta1.ListOrganizationGroupsResponse, error)
- func (h Handler) ListOrganizationInvitations(ctx context.Context, ...) (*frontierv1beta1.ListOrganizationInvitationsResponse, error)
- func (h Handler) ListOrganizationPreferences(ctx context.Context, ...) (*frontierv1beta1.ListOrganizationPreferencesResponse, error)
- func (h Handler) ListOrganizationProjects(ctx context.Context, request *frontierv1beta1.ListOrganizationProjectsRequest) (*frontierv1beta1.ListOrganizationProjectsResponse, error)
- func (h Handler) ListOrganizationRoles(ctx context.Context, request *frontierv1beta1.ListOrganizationRolesRequest) (*frontierv1beta1.ListOrganizationRolesResponse, error)
- func (h Handler) ListOrganizationServiceUsers(ctx context.Context, ...) (*frontierv1beta1.ListOrganizationServiceUsersResponse, error)
- func (h Handler) ListOrganizationUsers(ctx context.Context, request *frontierv1beta1.ListOrganizationUsersRequest) (*frontierv1beta1.ListOrganizationUsersResponse, error)
- func (h Handler) ListOrganizations(ctx context.Context, request *frontierv1beta1.ListOrganizationsRequest) (*frontierv1beta1.ListOrganizationsResponse, error)
- func (h Handler) ListOrganizationsByCurrentUser(ctx context.Context, ...) (*frontierv1beta1.ListOrganizationsByCurrentUserResponse, error)
- func (h Handler) ListOrganizationsByUser(ctx context.Context, request *frontierv1beta1.ListOrganizationsByUserRequest) (*frontierv1beta1.ListOrganizationsByUserResponse, error)
- func (h Handler) ListPermissions(ctx context.Context, request *frontierv1beta1.ListPermissionsRequest) (*frontierv1beta1.ListPermissionsResponse, error)
- func (h Handler) ListPlans(ctx context.Context, request *frontierv1beta1.ListPlansRequest) (*frontierv1beta1.ListPlansResponse, error)
- func (h Handler) ListPlatformPreferences(ctx context.Context) (map[string]string, error)
- func (h Handler) ListPlatformUsers(ctx context.Context, req *frontierv1beta1.ListPlatformUsersRequest) (*frontierv1beta1.ListPlatformUsersResponse, error)
- func (h Handler) ListPolicies(ctx context.Context, request *frontierv1beta1.ListPoliciesRequest) (*frontierv1beta1.ListPoliciesResponse, error)
- func (h Handler) ListPreferences(ctx context.Context, in *frontierv1beta1.ListPreferencesRequest) (*frontierv1beta1.ListPreferencesResponse, error)
- func (h Handler) ListProducts(ctx context.Context, request *frontierv1beta1.ListProductsRequest) (*frontierv1beta1.ListProductsResponse, error)
- func (h Handler) ListProjectAdmins(ctx context.Context, request *frontierv1beta1.ListProjectAdminsRequest) (*frontierv1beta1.ListProjectAdminsResponse, error)
- func (h Handler) ListProjectGroups(ctx context.Context, request *frontierv1beta1.ListProjectGroupsRequest) (*frontierv1beta1.ListProjectGroupsResponse, error)
- func (h Handler) ListProjectPreferences(ctx context.Context, request *frontierv1beta1.ListProjectPreferencesRequest) (*frontierv1beta1.ListProjectPreferencesResponse, error)
- func (h Handler) ListProjectResources(ctx context.Context, request *frontierv1beta1.ListProjectResourcesRequest) (*frontierv1beta1.ListProjectResourcesResponse, error)
- func (h Handler) ListProjectServiceUsers(ctx context.Context, request *frontierv1beta1.ListProjectServiceUsersRequest) (*frontierv1beta1.ListProjectServiceUsersResponse, error)
- func (h Handler) ListProjectUsers(ctx context.Context, request *frontierv1beta1.ListProjectUsersRequest) (*frontierv1beta1.ListProjectUsersResponse, error)
- func (h Handler) ListProjects(ctx context.Context, request *frontierv1beta1.ListProjectsRequest) (*frontierv1beta1.ListProjectsResponse, error)
- func (h Handler) ListProjectsByCurrentUser(ctx context.Context, request *frontierv1beta1.ListProjectsByCurrentUserRequest) (*frontierv1beta1.ListProjectsByCurrentUserResponse, error)
- func (h Handler) ListProjectsByUser(ctx context.Context, request *frontierv1beta1.ListProjectsByUserRequest) (*frontierv1beta1.ListProjectsByUserResponse, error)
- func (h Handler) ListRelations(ctx context.Context, request *frontierv1beta1.ListRelationsRequest) (*frontierv1beta1.ListRelationsResponse, error)
- func (h Handler) ListResources(ctx context.Context, request *frontierv1beta1.ListResourcesRequest) (*frontierv1beta1.ListResourcesResponse, error)
- func (h Handler) ListRoles(ctx context.Context, request *frontierv1beta1.ListRolesRequest) (*frontierv1beta1.ListRolesResponse, error)
- func (h Handler) ListServiceUserKeys(ctx context.Context, request *frontierv1beta1.ListServiceUserKeysRequest) (*frontierv1beta1.ListServiceUserKeysResponse, error)
- func (h Handler) ListServiceUserSecrets(ctx context.Context, request *frontierv1beta1.ListServiceUserSecretsRequest) (*frontierv1beta1.ListServiceUserSecretsResponse, error)
- func (h Handler) ListServiceUsers(ctx context.Context, request *frontierv1beta1.ListServiceUsersRequest) (*frontierv1beta1.ListServiceUsersResponse, error)
- func (h Handler) ListSubscriptions(ctx context.Context, request *frontierv1beta1.ListSubscriptionsRequest) (*frontierv1beta1.ListSubscriptionsResponse, error)
- func (h Handler) ListUserGroups(ctx context.Context, request *frontierv1beta1.ListUserGroupsRequest) (*frontierv1beta1.ListUserGroupsResponse, error)
- func (h Handler) ListUserInvitations(ctx context.Context, request *frontierv1beta1.ListUserInvitationsRequest) (*frontierv1beta1.ListUserInvitationsResponse, error)
- func (h Handler) ListUserPreferences(ctx context.Context, request *frontierv1beta1.ListUserPreferencesRequest) (*frontierv1beta1.ListUserPreferencesResponse, error)
- func (h Handler) ListUsers(ctx context.Context, request *frontierv1beta1.ListUsersRequest) (*frontierv1beta1.ListUsersResponse, error)
- func (h Handler) RemoveGroupUser(ctx context.Context, request *frontierv1beta1.RemoveGroupUserRequest) (*frontierv1beta1.RemoveGroupUserResponse, error)
- func (h Handler) RemoveOrganizationUser(ctx context.Context, request *frontierv1beta1.RemoveOrganizationUserRequest) (*frontierv1beta1.RemoveOrganizationUserResponse, error)
- func (h Handler) RevertBillingUsage(ctx context.Context, request *frontierv1beta1.RevertBillingUsageRequest) (*frontierv1beta1.RevertBillingUsageResponse, error)
- func (h Handler) UpdateBillingAccount(ctx context.Context, request *frontierv1beta1.UpdateBillingAccountRequest) (*frontierv1beta1.UpdateBillingAccountResponse, error)
- func (h Handler) UpdateCurrentUser(ctx context.Context, request *frontierv1beta1.UpdateCurrentUserRequest) (*frontierv1beta1.UpdateCurrentUserResponse, error)
- func (h Handler) UpdateFeature(ctx context.Context, request *frontierv1beta1.UpdateFeatureRequest) (*frontierv1beta1.UpdateFeatureResponse, error)
- func (h Handler) UpdateGroup(ctx context.Context, request *frontierv1beta1.UpdateGroupRequest) (*frontierv1beta1.UpdateGroupResponse, error)
- func (h Handler) UpdateMetaSchema(ctx context.Context, request *frontierv1beta1.UpdateMetaSchemaRequest) (*frontierv1beta1.UpdateMetaSchemaResponse, error)
- func (h Handler) UpdateOrganization(ctx context.Context, request *frontierv1beta1.UpdateOrganizationRequest) (*frontierv1beta1.UpdateOrganizationResponse, error)
- func (h Handler) UpdateOrganizationRole(ctx context.Context, request *frontierv1beta1.UpdateOrganizationRoleRequest) (*frontierv1beta1.UpdateOrganizationRoleResponse, error)
- func (h Handler) UpdatePermission(ctx context.Context, request *frontierv1beta1.UpdatePermissionRequest) (*frontierv1beta1.UpdatePermissionResponse, error)
- func (h Handler) UpdatePolicy(ctx context.Context, request *frontierv1beta1.UpdatePolicyRequest) (*frontierv1beta1.UpdatePolicyResponse, error)
- func (h Handler) UpdateProduct(ctx context.Context, request *frontierv1beta1.UpdateProductRequest) (*frontierv1beta1.UpdateProductResponse, error)
- func (h Handler) UpdateProject(ctx context.Context, request *frontierv1beta1.UpdateProjectRequest) (*frontierv1beta1.UpdateProjectResponse, error)
- func (h Handler) UpdateProjectResource(ctx context.Context, request *frontierv1beta1.UpdateProjectResourceRequest) (*frontierv1beta1.UpdateProjectResourceResponse, error)
- func (h Handler) UpdateRole(ctx context.Context, request *frontierv1beta1.UpdateRoleRequest) (*frontierv1beta1.UpdateRoleResponse, error)
- func (h Handler) UpdateUser(ctx context.Context, request *frontierv1beta1.UpdateUserRequest) (*frontierv1beta1.UpdateUserResponse, error)
- func (h Handler) VerifyOrganizationDomain(ctx context.Context, request *frontierv1beta1.VerifyOrganizationDomainRequest) (*frontierv1beta1.VerifyOrganizationDomainResponse, error)
- type InvitationService
- type InvoiceService
- type JsonWebKeySet
- type MetaSchemaService
- type NamespaceService
- type OrganizationService
- type PermissionService
- type PlanService
- type PolicyService
- type PreferenceService
- type ProductService
- type ProjectService
- type RelationService
- type ResourceService
- type RoleService
- type ServiceUserService
- type SessionService
- type SubscriptionService
- type UsageService
- type UserService
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInternalServer = errors.New("internal server error") ErrBadRequest = errors.New("invalid syntax in body") ErrInvalidMetadata = errors.New("metadata schema validation failed") ErrConflictRequest = errors.New("already exist") ErrRequestBodyValidation = errors.New("invalid format for field(s)") ErrEmptyEmailID = errors.New("email id is empty") ErrEmailConflict = errors.New("user email can't be updated") ErrOperationUnsupported = errors.New("operation not supported") )
HTTP Codes defined here: https://github.com/grpc-ecosystem/grpc-gateway/blob/master/runtime/errors.go#L36
View Source
var (
ErrNamespaceSplitNotation = errors.New("subject/object should be provided as 'namespace:uuid'")
)
Functions ¶
func ErrInvalidInput ¶ added in v0.8.36
Types ¶
type AuditService ¶
type AuthnService ¶
type AuthnService interface { StartFlow(ctx context.Context, request authenticate.RegistrationStartRequest) (*authenticate.RegistrationStartResponse, error) FinishFlow(ctx context.Context, request authenticate.RegistrationFinishRequest) (*authenticate.RegistrationFinishResponse, error) BuildToken(ctx context.Context, principalID string, metadata map[string]string) ([]byte, error) JWKs(ctx context.Context) jwk.Set GetPrincipal(ctx context.Context, via ...authenticate.ClientAssertion) (authenticate.Principal, error) SupportedStrategies() []string InitFlows(ctx context.Context) error SanitizeReturnToURL(url string) string SanitizeCallbackURL(url string) string }
type BootstrapService ¶
type BootstrapService interface {
AppendSchema(ctx context.Context, definition schema.ServiceDefinition) error
}
type CascadeDeleter ¶
type CheckoutService ¶ added in v0.8.0
type CheckoutService interface { Create(ctx context.Context, ch checkout.Checkout) (checkout.Checkout, error) List(ctx context.Context, filter checkout.Filter) ([]checkout.Checkout, error) Apply(ctx context.Context, ch checkout.Checkout) (*subscription.Subscription, *product.Product, error) CreateSessionForPaymentMethod(ctx context.Context, ch checkout.Checkout) (checkout.Checkout, error) }
type CreditService ¶ added in v0.8.0
type CustomerService ¶ added in v0.8.0
type CustomerService interface { GetByID(ctx context.Context, id string) (customer.Customer, error) Create(ctx context.Context, customer customer.Customer) (customer.Customer, error) List(ctx context.Context, filter customer.Filter) ([]customer.Customer, error) Delete(ctx context.Context, id string) error ListPaymentMethods(ctx context.Context, id string) ([]customer.PaymentMethod, error) Update(ctx context.Context, customer customer.Customer) (customer.Customer, error) }
type DomainService ¶ added in v0.7.2
type DomainService interface { Get(ctx context.Context, id string) (domain.Domain, error) List(ctx context.Context, flt domain.Filter) ([]domain.Domain, error) ListJoinableOrgsByDomain(ctx context.Context, email string) ([]string, error) Delete(ctx context.Context, id string) error Create(ctx context.Context, toCreate domain.Domain) (domain.Domain, error) VerifyDomain(ctx context.Context, id string) (domain.Domain, error) Join(ctx context.Context, orgID string, userID string) error }
type EntitlementService ¶ added in v0.8.0
type GroupService ¶
type GroupService interface { Create(ctx context.Context, grp group.Group) (group.Group, error) Get(ctx context.Context, id string) (group.Group, error) List(ctx context.Context, flt group.Filter) ([]group.Group, error) Update(ctx context.Context, grp group.Group) (group.Group, error) ListByUser(ctx context.Context, principalId, principalType string, flt group.Filter) ([]group.Group, error) AddUsers(ctx context.Context, groupID string, userID []string) error RemoveUsers(ctx context.Context, groupID string, userID []string) error Enable(ctx context.Context, id string) error Disable(ctx context.Context, id string) error Delete(ctx context.Context, id string) error }
type Handler ¶
type Handler struct { frontierv1beta1.UnimplementedFrontierServiceServer frontierv1beta1.UnimplementedAdminServiceServer // contains filtered or unexported fields }
func (Handler) AcceptOrganizationInvitation ¶
func (h Handler) AcceptOrganizationInvitation(ctx context.Context, request *frontierv1beta1.AcceptOrganizationInvitationRequest) (*frontierv1beta1.AcceptOrganizationInvitationResponse, error)
func (Handler) AddGroupUsers ¶
func (h Handler) AddGroupUsers(ctx context.Context, request *frontierv1beta1.AddGroupUsersRequest) (*frontierv1beta1.AddGroupUsersResponse, error)
func (Handler) AddOrganizationUsers ¶
func (h Handler) AddOrganizationUsers(ctx context.Context, request *frontierv1beta1.AddOrganizationUsersRequest) (*frontierv1beta1.AddOrganizationUsersResponse, error)
func (Handler) AddPlatformUser ¶ added in v0.8.0
func (h Handler) AddPlatformUser(ctx context.Context, req *frontierv1beta1.AddPlatformUserRequest) (*frontierv1beta1.AddPlatformUserResponse, error)
func (Handler) AuthCallback ¶
func (h Handler) AuthCallback(ctx context.Context, request *frontierv1beta1.AuthCallbackRequest) (*frontierv1beta1.AuthCallbackResponse, error)
func (Handler) AuthLogout ¶
func (h Handler) AuthLogout(ctx context.Context, request *frontierv1beta1.AuthLogoutRequest) (*frontierv1beta1.AuthLogoutResponse, error)
func (Handler) AuthToken ¶
func (h Handler) AuthToken(ctx context.Context, request *frontierv1beta1.AuthTokenRequest) (*frontierv1beta1.AuthTokenResponse, error)
func (Handler) Authenticate ¶
func (h Handler) Authenticate(ctx context.Context, request *frontierv1beta1.AuthenticateRequest) (*frontierv1beta1.AuthenticateResponse, error)
func (Handler) BatchCheckPermission ¶ added in v0.7.4
func (h Handler) BatchCheckPermission(ctx context.Context, req *frontierv1beta1.BatchCheckPermissionRequest) (*frontierv1beta1.BatchCheckPermissionResponse, error)
func (Handler) CancelSubscription ¶ added in v0.8.0
func (h Handler) CancelSubscription(ctx context.Context, request *frontierv1beta1.CancelSubscriptionRequest) (*frontierv1beta1.CancelSubscriptionResponse, error)
func (Handler) ChangeSubscription ¶ added in v0.8.19
func (h Handler) ChangeSubscription(ctx context.Context, request *frontierv1beta1.ChangeSubscriptionRequest) (*frontierv1beta1.ChangeSubscriptionResponse, error)
func (Handler) CheckFeatureEntitlement ¶ added in v0.8.0
func (h Handler) CheckFeatureEntitlement(ctx context.Context, request *frontierv1beta1.CheckFeatureEntitlementRequest) (*frontierv1beta1.CheckFeatureEntitlementResponse, error)
func (Handler) CheckFederatedResourcePermission ¶ added in v0.8.0
func (h Handler) CheckFederatedResourcePermission(ctx context.Context, req *frontierv1beta1.CheckFederatedResourcePermissionRequest) (*frontierv1beta1.CheckFederatedResourcePermissionResponse, error)
func (Handler) CheckPlanEntitlement ¶ added in v0.8.18
CheckPlanEntitlement is only currently used to restrict seat based plans
func (Handler) CheckResourcePermission ¶
func (h Handler) CheckResourcePermission(ctx context.Context, req *frontierv1beta1.CheckResourcePermissionRequest) (*frontierv1beta1.CheckResourcePermissionResponse, error)
func (Handler) CreateBillingAccount ¶ added in v0.8.0
func (h Handler) CreateBillingAccount(ctx context.Context, request *frontierv1beta1.CreateBillingAccountRequest) (*frontierv1beta1.CreateBillingAccountResponse, error)
func (Handler) CreateBillingUsage ¶ added in v0.8.0
func (h Handler) CreateBillingUsage(ctx context.Context, request *frontierv1beta1.CreateBillingUsageRequest) (*frontierv1beta1.CreateBillingUsageResponse, error)
func (Handler) CreateCheckout ¶ added in v0.8.0
func (h Handler) CreateCheckout(ctx context.Context, request *frontierv1beta1.CreateCheckoutRequest) (*frontierv1beta1.CreateCheckoutResponse, error)
func (Handler) CreateCurrentUserPreferences ¶ added in v0.7.3
func (h Handler) CreateCurrentUserPreferences(ctx context.Context, request *frontierv1beta1.CreateCurrentUserPreferencesRequest) (*frontierv1beta1.CreateCurrentUserPreferencesResponse, error)
func (Handler) CreateFeature ¶ added in v0.8.0
func (h Handler) CreateFeature(ctx context.Context, request *frontierv1beta1.CreateFeatureRequest) (*frontierv1beta1.CreateFeatureResponse, error)
func (Handler) CreateGroup ¶
func (h Handler) CreateGroup(ctx context.Context, request *frontierv1beta1.CreateGroupRequest) (*frontierv1beta1.CreateGroupResponse, error)
func (Handler) CreateGroupPreferences ¶ added in v0.7.3
func (h Handler) CreateGroupPreferences(ctx context.Context, request *frontierv1beta1.CreateGroupPreferencesRequest) (*frontierv1beta1.CreateGroupPreferencesResponse, error)
func (Handler) CreateMetaSchema ¶
func (h Handler) CreateMetaSchema(ctx context.Context, request *frontierv1beta1.CreateMetaSchemaRequest) (*frontierv1beta1.CreateMetaSchemaResponse, error)
func (Handler) CreateOrganization ¶
func (h Handler) CreateOrganization(ctx context.Context, request *frontierv1beta1.CreateOrganizationRequest) (*frontierv1beta1.CreateOrganizationResponse, error)
func (Handler) CreateOrganizationAuditLogs ¶
func (h Handler) CreateOrganizationAuditLogs(ctx context.Context, request *frontierv1beta1.CreateOrganizationAuditLogsRequest) (*frontierv1beta1.CreateOrganizationAuditLogsResponse, error)
func (Handler) CreateOrganizationDomain ¶ added in v0.7.2
func (h Handler) CreateOrganizationDomain(ctx context.Context, request *frontierv1beta1.CreateOrganizationDomainRequest) (*frontierv1beta1.CreateOrganizationDomainResponse, error)
func (Handler) CreateOrganizationInvitation ¶
func (h Handler) CreateOrganizationInvitation(ctx context.Context, request *frontierv1beta1.CreateOrganizationInvitationRequest) (*frontierv1beta1.CreateOrganizationInvitationResponse, error)
func (Handler) CreateOrganizationPreferences ¶ added in v0.7.3
func (h Handler) CreateOrganizationPreferences(ctx context.Context, request *frontierv1beta1.CreateOrganizationPreferencesRequest) (*frontierv1beta1.CreateOrganizationPreferencesResponse, error)
func (Handler) CreateOrganizationRole ¶
func (h Handler) CreateOrganizationRole(ctx context.Context, request *frontierv1beta1.CreateOrganizationRoleRequest) (*frontierv1beta1.CreateOrganizationRoleResponse, error)
func (Handler) CreatePermission ¶
func (h Handler) CreatePermission(ctx context.Context, request *frontierv1beta1.CreatePermissionRequest) (*frontierv1beta1.CreatePermissionResponse, error)
func (Handler) CreatePlan ¶ added in v0.8.0
func (h Handler) CreatePlan(ctx context.Context, request *frontierv1beta1.CreatePlanRequest) (*frontierv1beta1.CreatePlanResponse, error)
func (Handler) CreatePolicy ¶
func (h Handler) CreatePolicy(ctx context.Context, request *frontierv1beta1.CreatePolicyRequest) (*frontierv1beta1.CreatePolicyResponse, error)
func (Handler) CreatePreferences ¶ added in v0.7.3
func (h Handler) CreatePreferences(ctx context.Context, request *frontierv1beta1.CreatePreferencesRequest) (*frontierv1beta1.CreatePreferencesResponse, error)
func (Handler) CreateProduct ¶ added in v0.8.14
func (h Handler) CreateProduct(ctx context.Context, request *frontierv1beta1.CreateProductRequest) (*frontierv1beta1.CreateProductResponse, error)
func (Handler) CreateProject ¶
func (h Handler) CreateProject( ctx context.Context, request *frontierv1beta1.CreateProjectRequest, ) (*frontierv1beta1.CreateProjectResponse, error)
func (Handler) CreateProjectPreferences ¶ added in v0.7.3
func (h Handler) CreateProjectPreferences(ctx context.Context, request *frontierv1beta1.CreateProjectPreferencesRequest) (*frontierv1beta1.CreateProjectPreferencesResponse, error)
func (Handler) CreateProjectResource ¶
func (h Handler) CreateProjectResource(ctx context.Context, request *frontierv1beta1.CreateProjectResourceRequest) (*frontierv1beta1.CreateProjectResourceResponse, error)
func (Handler) CreateRelation ¶
func (h Handler) CreateRelation(ctx context.Context, request *frontierv1beta1.CreateRelationRequest) (*frontierv1beta1.CreateRelationResponse, error)
func (Handler) CreateRole ¶
func (h Handler) CreateRole(ctx context.Context, request *frontierv1beta1.CreateRoleRequest) (*frontierv1beta1.CreateRoleResponse, error)
func (Handler) CreateServiceUser ¶
func (h Handler) CreateServiceUser(ctx context.Context, request *frontierv1beta1.CreateServiceUserRequest) (*frontierv1beta1.CreateServiceUserResponse, error)
func (Handler) CreateServiceUserKey ¶
func (h Handler) CreateServiceUserKey(ctx context.Context, request *frontierv1beta1.CreateServiceUserKeyRequest) (*frontierv1beta1.CreateServiceUserKeyResponse, error)
func (Handler) CreateServiceUserSecret ¶
func (h Handler) CreateServiceUserSecret(ctx context.Context, request *frontierv1beta1.CreateServiceUserSecretRequest) (*frontierv1beta1.CreateServiceUserSecretResponse, error)
func (Handler) CreateUser ¶
func (h Handler) CreateUser(ctx context.Context, request *frontierv1beta1.CreateUserRequest) (*frontierv1beta1.CreateUserResponse, error)
func (Handler) CreateUserPreferences ¶ added in v0.7.3
func (h Handler) CreateUserPreferences(ctx context.Context, request *frontierv1beta1.CreateUserPreferencesRequest) (*frontierv1beta1.CreateUserPreferencesResponse, error)
func (Handler) DelegatedCheckout ¶ added in v0.8.16
func (h Handler) DelegatedCheckout(ctx context.Context, request *frontierv1beta1.DelegatedCheckoutRequest) (*frontierv1beta1.DelegatedCheckoutResponse, error)
func (Handler) DeleteBillingAccount ¶ added in v0.8.0
func (h Handler) DeleteBillingAccount(ctx context.Context, request *frontierv1beta1.DeleteBillingAccountRequest) (*frontierv1beta1.DeleteBillingAccountResponse, error)
func (Handler) DeleteGroup ¶
func (h Handler) DeleteGroup(ctx context.Context, request *frontierv1beta1.DeleteGroupRequest) (*frontierv1beta1.DeleteGroupResponse, error)
func (Handler) DeleteMetaSchema ¶
func (h Handler) DeleteMetaSchema(ctx context.Context, request *frontierv1beta1.DeleteMetaSchemaRequest) (*frontierv1beta1.DeleteMetaSchemaResponse, error)
func (Handler) DeleteOrganization ¶
func (h Handler) DeleteOrganization(ctx context.Context, request *frontierv1beta1.DeleteOrganizationRequest) (*frontierv1beta1.DeleteOrganizationResponse, error)
func (Handler) DeleteOrganizationDomain ¶ added in v0.7.2
func (h Handler) DeleteOrganizationDomain(ctx context.Context, request *frontierv1beta1.DeleteOrganizationDomainRequest) (*frontierv1beta1.DeleteOrganizationDomainResponse, error)
func (Handler) DeleteOrganizationInvitation ¶
func (h Handler) DeleteOrganizationInvitation(ctx context.Context, request *frontierv1beta1.DeleteOrganizationInvitationRequest) (*frontierv1beta1.DeleteOrganizationInvitationResponse, error)
func (Handler) DeleteOrganizationRole ¶
func (h Handler) DeleteOrganizationRole(ctx context.Context, request *frontierv1beta1.DeleteOrganizationRoleRequest) (*frontierv1beta1.DeleteOrganizationRoleResponse, error)
func (Handler) DeletePermission ¶ added in v0.7.3
func (h Handler) DeletePermission(ctx context.Context, in *frontierv1beta1.DeletePermissionRequest) (*frontierv1beta1.DeletePermissionResponse, error)
func (Handler) DeletePolicy ¶
func (h Handler) DeletePolicy(ctx context.Context, request *frontierv1beta1.DeletePolicyRequest) (*frontierv1beta1.DeletePolicyResponse, error)
func (Handler) DeleteProject ¶
func (h Handler) DeleteProject(ctx context.Context, request *frontierv1beta1.DeleteProjectRequest) (*frontierv1beta1.DeleteProjectResponse, error)
func (Handler) DeleteProjectResource ¶
func (h Handler) DeleteProjectResource(ctx context.Context, request *frontierv1beta1.DeleteProjectResourceRequest) (*frontierv1beta1.DeleteProjectResourceResponse, error)
func (Handler) DeleteRelation ¶
func (h Handler) DeleteRelation(ctx context.Context, request *frontierv1beta1.DeleteRelationRequest) (*frontierv1beta1.DeleteRelationResponse, error)
func (Handler) DeleteRole ¶
func (h Handler) DeleteRole(ctx context.Context, request *frontierv1beta1.DeleteRoleRequest) (*frontierv1beta1.DeleteRoleResponse, error)
func (Handler) DeleteServiceUser ¶
func (h Handler) DeleteServiceUser(ctx context.Context, request *frontierv1beta1.DeleteServiceUserRequest) (*frontierv1beta1.DeleteServiceUserResponse, error)
func (Handler) DeleteServiceUserKey ¶
func (h Handler) DeleteServiceUserKey(ctx context.Context, request *frontierv1beta1.DeleteServiceUserKeyRequest) (*frontierv1beta1.DeleteServiceUserKeyResponse, error)
func (Handler) DeleteServiceUserSecret ¶
func (h Handler) DeleteServiceUserSecret(ctx context.Context, request *frontierv1beta1.DeleteServiceUserSecretRequest) (*frontierv1beta1.DeleteServiceUserSecretResponse, error)
func (Handler) DeleteUser ¶
func (h Handler) DeleteUser(ctx context.Context, request *frontierv1beta1.DeleteUserRequest) (*frontierv1beta1.DeleteUserResponse, error)
func (Handler) DescribePreferences ¶ added in v0.7.3
func (h Handler) DescribePreferences(ctx context.Context, request *frontierv1beta1.DescribePreferencesRequest) (*frontierv1beta1.DescribePreferencesResponse, error)
func (Handler) DisableGroup ¶
func (h Handler) DisableGroup(ctx context.Context, request *frontierv1beta1.DisableGroupRequest) (*frontierv1beta1.DisableGroupResponse, error)
func (Handler) DisableOrganization ¶
func (h Handler) DisableOrganization(ctx context.Context, request *frontierv1beta1.DisableOrganizationRequest) (*frontierv1beta1.DisableOrganizationResponse, error)
func (Handler) DisableProject ¶
func (h Handler) DisableProject(ctx context.Context, request *frontierv1beta1.DisableProjectRequest) (*frontierv1beta1.DisableProjectResponse, error)
func (Handler) DisableUser ¶
func (h Handler) DisableUser(ctx context.Context, request *frontierv1beta1.DisableUserRequest) (*frontierv1beta1.DisableUserResponse, error)
func (Handler) EnableGroup ¶
func (h Handler) EnableGroup(ctx context.Context, request *frontierv1beta1.EnableGroupRequest) (*frontierv1beta1.EnableGroupResponse, error)
func (Handler) EnableOrganization ¶
func (h Handler) EnableOrganization(ctx context.Context, request *frontierv1beta1.EnableOrganizationRequest) (*frontierv1beta1.EnableOrganizationResponse, error)
func (Handler) EnableProject ¶
func (h Handler) EnableProject(ctx context.Context, request *frontierv1beta1.EnableProjectRequest) (*frontierv1beta1.EnableProjectResponse, error)
func (Handler) EnableUser ¶
func (h Handler) EnableUser(ctx context.Context, request *frontierv1beta1.EnableUserRequest) (*frontierv1beta1.EnableUserResponse, error)
func (Handler) GetBillingAccount ¶ added in v0.8.0
func (h Handler) GetBillingAccount(ctx context.Context, request *frontierv1beta1.GetBillingAccountRequest) (*frontierv1beta1.GetBillingAccountResponse, error)
func (Handler) GetBillingBalance ¶ added in v0.8.0
func (h Handler) GetBillingBalance(ctx context.Context, request *frontierv1beta1.GetBillingBalanceRequest) (*frontierv1beta1.GetBillingBalanceResponse, error)
func (Handler) GetCurrentUser ¶
func (h Handler) GetCurrentUser(ctx context.Context, request *frontierv1beta1.GetCurrentUserRequest) (*frontierv1beta1.GetCurrentUserResponse, error)
func (Handler) GetFeature ¶ added in v0.8.0
func (h Handler) GetFeature(ctx context.Context, request *frontierv1beta1.GetFeatureRequest) (*frontierv1beta1.GetFeatureResponse, error)
func (Handler) GetGroup ¶
func (h Handler) GetGroup(ctx context.Context, request *frontierv1beta1.GetGroupRequest) (*frontierv1beta1.GetGroupResponse, error)
func (Handler) GetJWKs ¶
func (h Handler) GetJWKs(ctx context.Context, request *frontierv1beta1.GetJWKsRequest) (*frontierv1beta1.GetJWKsResponse, error)
func (Handler) GetLoggedInPrincipal ¶
func (h Handler) GetLoggedInPrincipal(ctx context.Context, via ...authenticate.ClientAssertion) (authenticate.Principal, error)
func (Handler) GetMetaSchema ¶
func (h Handler) GetMetaSchema(ctx context.Context, request *frontierv1beta1.GetMetaSchemaRequest) (*frontierv1beta1.GetMetaSchemaResponse, error)
func (Handler) GetNamespace ¶
func (h Handler) GetNamespace(ctx context.Context, request *frontierv1beta1.GetNamespaceRequest) (*frontierv1beta1.GetNamespaceResponse, error)
func (Handler) GetOrganization ¶
func (h Handler) GetOrganization(ctx context.Context, request *frontierv1beta1.GetOrganizationRequest) (*frontierv1beta1.GetOrganizationResponse, error)
func (Handler) GetOrganizationAuditLog ¶
func (h Handler) GetOrganizationAuditLog(ctx context.Context, request *frontierv1beta1.GetOrganizationAuditLogRequest) (*frontierv1beta1.GetOrganizationAuditLogResponse, error)
func (Handler) GetOrganizationDomain ¶ added in v0.7.2
func (h Handler) GetOrganizationDomain(ctx context.Context, request *frontierv1beta1.GetOrganizationDomainRequest) (*frontierv1beta1.GetOrganizationDomainResponse, error)
func (Handler) GetOrganizationInvitation ¶
func (h Handler) GetOrganizationInvitation(ctx context.Context, request *frontierv1beta1.GetOrganizationInvitationRequest) (*frontierv1beta1.GetOrganizationInvitationResponse, error)
func (Handler) GetOrganizationRole ¶
func (h Handler) GetOrganizationRole(ctx context.Context, request *frontierv1beta1.GetOrganizationRoleRequest) (*frontierv1beta1.GetOrganizationRoleResponse, error)
func (Handler) GetPermission ¶
func (h Handler) GetPermission(ctx context.Context, request *frontierv1beta1.GetPermissionRequest) (*frontierv1beta1.GetPermissionResponse, error)
func (Handler) GetPlan ¶ added in v0.8.0
func (h Handler) GetPlan(ctx context.Context, request *frontierv1beta1.GetPlanRequest) (*frontierv1beta1.GetPlanResponse, error)
func (Handler) GetPolicy ¶
func (h Handler) GetPolicy(ctx context.Context, request *frontierv1beta1.GetPolicyRequest) (*frontierv1beta1.GetPolicyResponse, error)
func (Handler) GetProduct ¶ added in v0.8.14
func (h Handler) GetProduct(ctx context.Context, request *frontierv1beta1.GetProductRequest) (*frontierv1beta1.GetProductResponse, error)
func (Handler) GetProject ¶
func (h Handler) GetProject( ctx context.Context, request *frontierv1beta1.GetProjectRequest, ) (*frontierv1beta1.GetProjectResponse, error)
func (Handler) GetProjectResource ¶
func (h Handler) GetProjectResource(ctx context.Context, request *frontierv1beta1.GetProjectResourceRequest) (*frontierv1beta1.GetProjectResourceResponse, error)
func (Handler) GetRelation ¶
func (h Handler) GetRelation(ctx context.Context, request *frontierv1beta1.GetRelationRequest) (*frontierv1beta1.GetRelationResponse, error)
func (Handler) GetRequestCustomerID ¶ added in v0.8.36
GetRequestCustomerID returns the customer id from the request via reflection(billing_id/id) or defaults to first customer id present in the org
func (Handler) GetServiceUser ¶
func (h Handler) GetServiceUser(ctx context.Context, request *frontierv1beta1.GetServiceUserRequest) (*frontierv1beta1.GetServiceUserResponse, error)
func (Handler) GetServiceUserKey ¶
func (h Handler) GetServiceUserKey(ctx context.Context, request *frontierv1beta1.GetServiceUserKeyRequest) (*frontierv1beta1.GetServiceUserKeyResponse, error)
func (Handler) GetSubscription ¶ added in v0.8.0
func (h Handler) GetSubscription(ctx context.Context, request *frontierv1beta1.GetSubscriptionRequest) (*frontierv1beta1.GetSubscriptionResponse, error)
func (Handler) GetUpcomingInvoice ¶ added in v0.8.13
func (h Handler) GetUpcomingInvoice(ctx context.Context, request *frontierv1beta1.GetUpcomingInvoiceRequest) (*frontierv1beta1.GetUpcomingInvoiceResponse, error)
func (Handler) GetUser ¶
func (h Handler) GetUser(ctx context.Context, request *frontierv1beta1.GetUserRequest) (*frontierv1beta1.GetUserResponse, error)
func (Handler) HasTrialed ¶ added in v0.8.36
func (h Handler) HasTrialed(ctx context.Context, request *frontierv1beta1.HasTrialedRequest) (*frontierv1beta1.HasTrialedResponse, error)
func (Handler) IsAuthorized ¶
func (Handler) JoinOrganization ¶ added in v0.7.2
func (h Handler) JoinOrganization(ctx context.Context, request *frontierv1beta1.JoinOrganizationRequest) (*frontierv1beta1.JoinOrganizationResponse, error)
func (Handler) ListAllBillingAccounts ¶ added in v0.8.29
func (h Handler) ListAllBillingAccounts(ctx context.Context, request *frontierv1beta1.ListAllBillingAccountsRequest) (*frontierv1beta1.ListAllBillingAccountsResponse, error)
func (Handler) ListAllInvoices ¶ added in v0.8.26
func (h Handler) ListAllInvoices(ctx context.Context, request *frontierv1beta1.ListAllInvoicesRequest) (*frontierv1beta1.ListAllInvoicesResponse, error)
func (Handler) ListAllOrganizations ¶
func (h Handler) ListAllOrganizations(ctx context.Context, request *frontierv1beta1.ListAllOrganizationsRequest) (*frontierv1beta1.ListAllOrganizationsResponse, error)
func (Handler) ListAllUsers ¶
func (h Handler) ListAllUsers(ctx context.Context, request *frontierv1beta1.ListAllUsersRequest) (*frontierv1beta1.ListAllUsersResponse, error)
func (Handler) ListAuthStrategies ¶
func (h Handler) ListAuthStrategies(ctx context.Context, request *frontierv1beta1.ListAuthStrategiesRequest) (*frontierv1beta1.ListAuthStrategiesResponse, error)
func (Handler) ListBillingAccounts ¶ added in v0.8.0
func (h Handler) ListBillingAccounts(ctx context.Context, request *frontierv1beta1.ListBillingAccountsRequest) (*frontierv1beta1.ListBillingAccountsResponse, error)
func (Handler) ListBillingTransactions ¶ added in v0.8.0
func (h Handler) ListBillingTransactions(ctx context.Context, request *frontierv1beta1.ListBillingTransactionsRequest) (*frontierv1beta1.ListBillingTransactionsResponse, error)
func (Handler) ListCheckouts ¶ added in v0.8.0
func (h Handler) ListCheckouts(ctx context.Context, request *frontierv1beta1.ListCheckoutsRequest) (*frontierv1beta1.ListCheckoutsResponse, error)
func (Handler) ListCurrentUserGroups ¶
func (h Handler) ListCurrentUserGroups(ctx context.Context, request *frontierv1beta1.ListCurrentUserGroupsRequest) (*frontierv1beta1.ListCurrentUserGroupsResponse, error)
func (Handler) ListCurrentUserInvitations ¶ added in v0.7.6
func (h Handler) ListCurrentUserInvitations(ctx context.Context, request *frontierv1beta1.ListCurrentUserInvitationsRequest) (*frontierv1beta1.ListCurrentUserInvitationsResponse, error)
func (Handler) ListCurrentUserPreferences ¶ added in v0.7.3
func (h Handler) ListCurrentUserPreferences(ctx context.Context, request *frontierv1beta1.ListCurrentUserPreferencesRequest) (*frontierv1beta1.ListCurrentUserPreferencesResponse, error)
func (Handler) ListFeatures ¶ added in v0.8.0
func (h Handler) ListFeatures(ctx context.Context, request *frontierv1beta1.ListFeaturesRequest) (*frontierv1beta1.ListFeaturesResponse, error)
func (Handler) ListGroupPreferences ¶ added in v0.7.3
func (h Handler) ListGroupPreferences(ctx context.Context, request *frontierv1beta1.ListGroupPreferencesRequest) (*frontierv1beta1.ListGroupPreferencesResponse, error)
func (Handler) ListGroupUsers ¶
func (h Handler) ListGroupUsers(ctx context.Context, request *frontierv1beta1.ListGroupUsersRequest) (*frontierv1beta1.ListGroupUsersResponse, error)
func (Handler) ListGroups ¶
func (h Handler) ListGroups(ctx context.Context, request *frontierv1beta1.ListGroupsRequest) (*frontierv1beta1.ListGroupsResponse, error)
func (Handler) ListInvoices ¶ added in v0.8.13
func (h Handler) ListInvoices(ctx context.Context, request *frontierv1beta1.ListInvoicesRequest) (*frontierv1beta1.ListInvoicesResponse, error)
func (Handler) ListMetaSchemas ¶
func (h Handler) ListMetaSchemas(ctx context.Context, request *frontierv1beta1.ListMetaSchemasRequest) (*frontierv1beta1.ListMetaSchemasResponse, error)
func (Handler) ListNamespaces ¶
func (h Handler) ListNamespaces(ctx context.Context, request *frontierv1beta1.ListNamespacesRequest) (*frontierv1beta1.ListNamespacesResponse, error)
func (Handler) ListOrganizationAdmins ¶
func (h Handler) ListOrganizationAdmins(ctx context.Context, request *frontierv1beta1.ListOrganizationAdminsRequest) (*frontierv1beta1.ListOrganizationAdminsResponse, error)
func (Handler) ListOrganizationAuditLogs ¶
func (h Handler) ListOrganizationAuditLogs(ctx context.Context, request *frontierv1beta1.ListOrganizationAuditLogsRequest) (*frontierv1beta1.ListOrganizationAuditLogsResponse, error)
func (Handler) ListOrganizationDomains ¶ added in v0.7.2
func (h Handler) ListOrganizationDomains(ctx context.Context, request *frontierv1beta1.ListOrganizationDomainsRequest) (*frontierv1beta1.ListOrganizationDomainsResponse, error)
func (Handler) ListOrganizationGroups ¶
func (h Handler) ListOrganizationGroups(ctx context.Context, request *frontierv1beta1.ListOrganizationGroupsRequest) (*frontierv1beta1.ListOrganizationGroupsResponse, error)
func (Handler) ListOrganizationInvitations ¶
func (h Handler) ListOrganizationInvitations(ctx context.Context, request *frontierv1beta1.ListOrganizationInvitationsRequest) (*frontierv1beta1.ListOrganizationInvitationsResponse, error)
func (Handler) ListOrganizationPreferences ¶ added in v0.7.3
func (h Handler) ListOrganizationPreferences(ctx context.Context, request *frontierv1beta1.ListOrganizationPreferencesRequest) (*frontierv1beta1.ListOrganizationPreferencesResponse, error)
func (Handler) ListOrganizationProjects ¶
func (h Handler) ListOrganizationProjects(ctx context.Context, request *frontierv1beta1.ListOrganizationProjectsRequest) (*frontierv1beta1.ListOrganizationProjectsResponse, error)
func (Handler) ListOrganizationRoles ¶
func (h Handler) ListOrganizationRoles(ctx context.Context, request *frontierv1beta1.ListOrganizationRolesRequest) (*frontierv1beta1.ListOrganizationRolesResponse, error)
func (Handler) ListOrganizationServiceUsers ¶
func (h Handler) ListOrganizationServiceUsers(ctx context.Context, request *frontierv1beta1.ListOrganizationServiceUsersRequest) (*frontierv1beta1.ListOrganizationServiceUsersResponse, error)
func (Handler) ListOrganizationUsers ¶
func (h Handler) ListOrganizationUsers(ctx context.Context, request *frontierv1beta1.ListOrganizationUsersRequest) (*frontierv1beta1.ListOrganizationUsersResponse, error)
func (Handler) ListOrganizations ¶
func (h Handler) ListOrganizations(ctx context.Context, request *frontierv1beta1.ListOrganizationsRequest) (*frontierv1beta1.ListOrganizationsResponse, error)
func (Handler) ListOrganizationsByCurrentUser ¶ added in v0.7.5
func (h Handler) ListOrganizationsByCurrentUser(ctx context.Context, request *frontierv1beta1.ListOrganizationsByCurrentUserRequest) (*frontierv1beta1.ListOrganizationsByCurrentUserResponse, error)
func (Handler) ListOrganizationsByUser ¶ added in v0.7.5
func (h Handler) ListOrganizationsByUser(ctx context.Context, request *frontierv1beta1.ListOrganizationsByUserRequest) (*frontierv1beta1.ListOrganizationsByUserResponse, error)
func (Handler) ListPermissions ¶
func (h Handler) ListPermissions(ctx context.Context, request *frontierv1beta1.ListPermissionsRequest) (*frontierv1beta1.ListPermissionsResponse, error)
func (Handler) ListPlans ¶ added in v0.8.0
func (h Handler) ListPlans(ctx context.Context, request *frontierv1beta1.ListPlansRequest) (*frontierv1beta1.ListPlansResponse, error)
func (Handler) ListPlatformPreferences ¶ added in v0.7.13
func (Handler) ListPlatformUsers ¶ added in v0.8.8
func (h Handler) ListPlatformUsers(ctx context.Context, req *frontierv1beta1.ListPlatformUsersRequest) (*frontierv1beta1.ListPlatformUsersResponse, error)
func (Handler) ListPolicies ¶
func (h Handler) ListPolicies(ctx context.Context, request *frontierv1beta1.ListPoliciesRequest) (*frontierv1beta1.ListPoliciesResponse, error)
func (Handler) ListPreferences ¶ added in v0.7.3
func (h Handler) ListPreferences(ctx context.Context, in *frontierv1beta1.ListPreferencesRequest) (*frontierv1beta1.ListPreferencesResponse, error)
func (Handler) ListProducts ¶ added in v0.8.14
func (h Handler) ListProducts(ctx context.Context, request *frontierv1beta1.ListProductsRequest) (*frontierv1beta1.ListProductsResponse, error)
func (Handler) ListProjectAdmins ¶
func (h Handler) ListProjectAdmins( ctx context.Context, request *frontierv1beta1.ListProjectAdminsRequest, ) (*frontierv1beta1.ListProjectAdminsResponse, error)
func (Handler) ListProjectGroups ¶ added in v0.7.6
func (h Handler) ListProjectGroups(ctx context.Context, request *frontierv1beta1.ListProjectGroupsRequest) (*frontierv1beta1.ListProjectGroupsResponse, error)
func (Handler) ListProjectPreferences ¶ added in v0.7.3
func (h Handler) ListProjectPreferences(ctx context.Context, request *frontierv1beta1.ListProjectPreferencesRequest) (*frontierv1beta1.ListProjectPreferencesResponse, error)
func (Handler) ListProjectResources ¶
func (h Handler) ListProjectResources(ctx context.Context, request *frontierv1beta1.ListProjectResourcesRequest) (*frontierv1beta1.ListProjectResourcesResponse, error)
func (Handler) ListProjectServiceUsers ¶ added in v0.7.5
func (h Handler) ListProjectServiceUsers(ctx context.Context, request *frontierv1beta1.ListProjectServiceUsersRequest) (*frontierv1beta1.ListProjectServiceUsersResponse, error)
func (Handler) ListProjectUsers ¶
func (h Handler) ListProjectUsers( ctx context.Context, request *frontierv1beta1.ListProjectUsersRequest, ) (*frontierv1beta1.ListProjectUsersResponse, error)
func (Handler) ListProjects ¶
func (h Handler) ListProjects( ctx context.Context, request *frontierv1beta1.ListProjectsRequest, ) (*frontierv1beta1.ListProjectsResponse, error)
func (Handler) ListProjectsByCurrentUser ¶ added in v0.7.5
func (h Handler) ListProjectsByCurrentUser(ctx context.Context, request *frontierv1beta1.ListProjectsByCurrentUserRequest) (*frontierv1beta1.ListProjectsByCurrentUserResponse, error)
func (Handler) ListProjectsByUser ¶ added in v0.7.5
func (h Handler) ListProjectsByUser(ctx context.Context, request *frontierv1beta1.ListProjectsByUserRequest) (*frontierv1beta1.ListProjectsByUserResponse, error)
func (Handler) ListRelations ¶
func (h Handler) ListRelations(ctx context.Context, request *frontierv1beta1.ListRelationsRequest) (*frontierv1beta1.ListRelationsResponse, error)
func (Handler) ListResources ¶
func (h Handler) ListResources(ctx context.Context, request *frontierv1beta1.ListResourcesRequest) (*frontierv1beta1.ListResourcesResponse, error)
func (Handler) ListRoles ¶
func (h Handler) ListRoles(ctx context.Context, request *frontierv1beta1.ListRolesRequest) (*frontierv1beta1.ListRolesResponse, error)
func (Handler) ListServiceUserKeys ¶
func (h Handler) ListServiceUserKeys(ctx context.Context, request *frontierv1beta1.ListServiceUserKeysRequest) (*frontierv1beta1.ListServiceUserKeysResponse, error)
func (Handler) ListServiceUserSecrets ¶
func (h Handler) ListServiceUserSecrets(ctx context.Context, request *frontierv1beta1.ListServiceUserSecretsRequest) (*frontierv1beta1.ListServiceUserSecretsResponse, error)
func (Handler) ListServiceUsers ¶
func (h Handler) ListServiceUsers(ctx context.Context, request *frontierv1beta1.ListServiceUsersRequest) (*frontierv1beta1.ListServiceUsersResponse, error)
func (Handler) ListSubscriptions ¶ added in v0.8.0
func (h Handler) ListSubscriptions(ctx context.Context, request *frontierv1beta1.ListSubscriptionsRequest) (*frontierv1beta1.ListSubscriptionsResponse, error)
func (Handler) ListUserGroups ¶
func (h Handler) ListUserGroups(ctx context.Context, request *frontierv1beta1.ListUserGroupsRequest) (*frontierv1beta1.ListUserGroupsResponse, error)
func (Handler) ListUserInvitations ¶
func (h Handler) ListUserInvitations(ctx context.Context, request *frontierv1beta1.ListUserInvitationsRequest) (*frontierv1beta1.ListUserInvitationsResponse, error)
func (Handler) ListUserPreferences ¶ added in v0.7.3
func (h Handler) ListUserPreferences(ctx context.Context, request *frontierv1beta1.ListUserPreferencesRequest) (*frontierv1beta1.ListUserPreferencesResponse, error)
func (Handler) ListUsers ¶
func (h Handler) ListUsers(ctx context.Context, request *frontierv1beta1.ListUsersRequest) (*frontierv1beta1.ListUsersResponse, error)
func (Handler) RemoveGroupUser ¶
func (h Handler) RemoveGroupUser(ctx context.Context, request *frontierv1beta1.RemoveGroupUserRequest) (*frontierv1beta1.RemoveGroupUserResponse, error)
func (Handler) RemoveOrganizationUser ¶
func (h Handler) RemoveOrganizationUser(ctx context.Context, request *frontierv1beta1.RemoveOrganizationUserRequest) (*frontierv1beta1.RemoveOrganizationUserResponse, error)
func (Handler) RevertBillingUsage ¶ added in v0.8.37
func (h Handler) RevertBillingUsage(ctx context.Context, request *frontierv1beta1.RevertBillingUsageRequest) (*frontierv1beta1.RevertBillingUsageResponse, error)
func (Handler) UpdateBillingAccount ¶ added in v0.8.15
func (h Handler) UpdateBillingAccount(ctx context.Context, request *frontierv1beta1.UpdateBillingAccountRequest) (*frontierv1beta1.UpdateBillingAccountResponse, error)
func (Handler) UpdateCurrentUser ¶
func (h Handler) UpdateCurrentUser(ctx context.Context, request *frontierv1beta1.UpdateCurrentUserRequest) (*frontierv1beta1.UpdateCurrentUserResponse, error)
func (Handler) UpdateFeature ¶ added in v0.8.0
func (h Handler) UpdateFeature(ctx context.Context, request *frontierv1beta1.UpdateFeatureRequest) (*frontierv1beta1.UpdateFeatureResponse, error)
func (Handler) UpdateGroup ¶
func (h Handler) UpdateGroup(ctx context.Context, request *frontierv1beta1.UpdateGroupRequest) (*frontierv1beta1.UpdateGroupResponse, error)
func (Handler) UpdateMetaSchema ¶
func (h Handler) UpdateMetaSchema(ctx context.Context, request *frontierv1beta1.UpdateMetaSchemaRequest) (*frontierv1beta1.UpdateMetaSchemaResponse, error)
func (Handler) UpdateOrganization ¶
func (h Handler) UpdateOrganization(ctx context.Context, request *frontierv1beta1.UpdateOrganizationRequest) (*frontierv1beta1.UpdateOrganizationResponse, error)
func (Handler) UpdateOrganizationRole ¶
func (h Handler) UpdateOrganizationRole(ctx context.Context, request *frontierv1beta1.UpdateOrganizationRoleRequest) (*frontierv1beta1.UpdateOrganizationRoleResponse, error)
func (Handler) UpdatePermission ¶
func (h Handler) UpdatePermission(ctx context.Context, request *frontierv1beta1.UpdatePermissionRequest) (*frontierv1beta1.UpdatePermissionResponse, error)
UpdatePermission should only be used to update permission metadata at the moment
func (Handler) UpdatePolicy ¶
func (h Handler) UpdatePolicy(ctx context.Context, request *frontierv1beta1.UpdatePolicyRequest) (*frontierv1beta1.UpdatePolicyResponse, error)
func (Handler) UpdateProduct ¶ added in v0.8.14
func (h Handler) UpdateProduct(ctx context.Context, request *frontierv1beta1.UpdateProductRequest) (*frontierv1beta1.UpdateProductResponse, error)
func (Handler) UpdateProject ¶
func (h Handler) UpdateProject( ctx context.Context, request *frontierv1beta1.UpdateProjectRequest, ) (*frontierv1beta1.UpdateProjectResponse, error)
func (Handler) UpdateProjectResource ¶
func (h Handler) UpdateProjectResource(ctx context.Context, request *frontierv1beta1.UpdateProjectResourceRequest) (*frontierv1beta1.UpdateProjectResourceResponse, error)
func (Handler) UpdateRole ¶ added in v0.7.2
func (h Handler) UpdateRole(ctx context.Context, request *frontierv1beta1.UpdateRoleRequest) (*frontierv1beta1.UpdateRoleResponse, error)
func (Handler) UpdateUser ¶
func (h Handler) UpdateUser(ctx context.Context, request *frontierv1beta1.UpdateUserRequest) (*frontierv1beta1.UpdateUserResponse, error)
func (Handler) VerifyOrganizationDomain ¶ added in v0.7.2
func (h Handler) VerifyOrganizationDomain(ctx context.Context, request *frontierv1beta1.VerifyOrganizationDomainRequest) (*frontierv1beta1.VerifyOrganizationDomainResponse, error)
type InvitationService ¶
type InvitationService interface { Get(ctx context.Context, id uuid.UUID) (invitation.Invitation, error) List(ctx context.Context, filter invitation.Filter) ([]invitation.Invitation, error) ListByUser(ctx context.Context, userID string) ([]invitation.Invitation, error) Create(ctx context.Context, inv invitation.Invitation) (invitation.Invitation, error) Accept(ctx context.Context, id uuid.UUID) error Delete(ctx context.Context, id uuid.UUID) error }
type InvoiceService ¶ added in v0.8.13
type JsonWebKeySet ¶
type JsonWebKeySet struct {
Keys []*frontierv1beta1.JSONWebKey `json:"keys"`
}
type MetaSchemaService ¶
type MetaSchemaService interface { Get(ctx context.Context, id string) (metaschema.MetaSchema, error) Create(ctx context.Context, toCreate metaschema.MetaSchema) (metaschema.MetaSchema, error) List(ctx context.Context) ([]metaschema.MetaSchema, error) Update(ctx context.Context, id string, toUpdate metaschema.MetaSchema) (metaschema.MetaSchema, error) Delete(ctx context.Context, id string) error Validate(schema metadata.Metadata, data string) error }
type NamespaceService ¶
type NamespaceService interface { Get(ctx context.Context, id string) (namespace.Namespace, error) List(ctx context.Context) ([]namespace.Namespace, error) Upsert(ctx context.Context, ns namespace.Namespace) (namespace.Namespace, error) Update(ctx context.Context, ns namespace.Namespace) (namespace.Namespace, error) }
type OrganizationService ¶
type OrganizationService interface { Get(ctx context.Context, idOrSlug string) (organization.Organization, error) GetRaw(ctx context.Context, idOrSlug string) (organization.Organization, error) Create(ctx context.Context, org organization.Organization) (organization.Organization, error) List(ctx context.Context, f organization.Filter) ([]organization.Organization, error) Update(ctx context.Context, toUpdate organization.Organization) (organization.Organization, error) ListByUser(ctx context.Context, userID string, flt organization.Filter) ([]organization.Organization, error) AddUsers(ctx context.Context, orgID string, userID []string) error Enable(ctx context.Context, id string) error Disable(ctx context.Context, id string) error }
type PermissionService ¶
type PermissionService interface { Get(ctx context.Context, id string) (permission.Permission, error) List(ctx context.Context, filter permission.Filter) ([]permission.Permission, error) Upsert(ctx context.Context, perm permission.Permission) (permission.Permission, error) Update(ctx context.Context, perm permission.Permission) (permission.Permission, error) }
type PlanService ¶ added in v0.8.0
type PolicyService ¶
type PolicyService interface { Get(ctx context.Context, id string) (policy.Policy, error) List(ctx context.Context, f policy.Filter) ([]policy.Policy, error) Create(ctx context.Context, pol policy.Policy) (policy.Policy, error) Delete(ctx context.Context, id string) error ListRoles(ctx context.Context, principalType, principalID, objectNamespace, objectID string) ([]role.Role, error) }
type PreferenceService ¶ added in v0.7.3
type PreferenceService interface { Create(ctx context.Context, preference preference.Preference) (preference.Preference, error) Describe(ctx context.Context) []preference.Trait List(ctx context.Context, filter preference.Filter) ([]preference.Preference, error) LoadPlatformPreferences(ctx context.Context) (map[string]string, error) }
type ProductService ¶ added in v0.8.14
type ProductService interface { GetByID(ctx context.Context, id string) (product.Product, error) Create(ctx context.Context, product product.Product) (product.Product, error) Update(ctx context.Context, product product.Product) (product.Product, error) List(ctx context.Context, filter product.Filter) ([]product.Product, error) UpsertFeature(ctx context.Context, feature product.Feature) (product.Feature, error) GetFeatureByID(ctx context.Context, id string) (product.Feature, error) ListFeatures(ctx context.Context, filter product.Filter) ([]product.Feature, error) }
type ProjectService ¶
type ProjectService interface { Get(ctx context.Context, idOrName string) (project.Project, error) Create(ctx context.Context, prj project.Project) (project.Project, error) List(ctx context.Context, f project.Filter) ([]project.Project, error) ListByUser(ctx context.Context, principalID, principalType string, flt project.Filter) ([]project.Project, error) Update(ctx context.Context, toUpdate project.Project) (project.Project, error) ListUsers(ctx context.Context, id string, permissionFilter string) ([]user.User, error) ListServiceUsers(ctx context.Context, id string, permissionFilter string) ([]serviceuser.ServiceUser, error) ListGroups(ctx context.Context, id string) ([]group.Group, error) Enable(ctx context.Context, id string) error Disable(ctx context.Context, id string) error }
type RelationService ¶
type RelationService interface { Get(ctx context.Context, id string) (relation.Relation, error) Create(ctx context.Context, rel relation.Relation) (relation.Relation, error) List(ctx context.Context, f relation.Filter) ([]relation.Relation, error) Delete(ctx context.Context, rel relation.Relation) error }
type ResourceService ¶
type ResourceService interface { Get(ctx context.Context, id string) (resource.Resource, error) List(ctx context.Context, flt resource.Filter) ([]resource.Resource, error) Create(ctx context.Context, resource resource.Resource) (resource.Resource, error) Update(ctx context.Context, resource resource.Resource) (resource.Resource, error) Delete(ctx context.Context, namespace, id string) error CheckAuthz(ctx context.Context, check resource.Check) (bool, error) BatchCheck(ctx context.Context, checks []resource.Check) ([]relation.CheckPair, error) }
type RoleService ¶
type RoleService interface { Get(ctx context.Context, id string) (role.Role, error) Upsert(ctx context.Context, toCreate role.Role) (role.Role, error) List(ctx context.Context, f role.Filter) ([]role.Role, error) Update(ctx context.Context, toUpdate role.Role) (role.Role, error) Delete(ctx context.Context, id string) error }
type ServiceUserService ¶
type ServiceUserService interface { List(ctx context.Context, flt serviceuser.Filter) ([]serviceuser.ServiceUser, error) Create(ctx context.Context, serviceUser serviceuser.ServiceUser) (serviceuser.ServiceUser, error) Get(ctx context.Context, id string) (serviceuser.ServiceUser, error) Delete(ctx context.Context, id string) error ListKeys(ctx context.Context, serviceUserID string) ([]serviceuser.Credential, error) CreateKey(ctx context.Context, cred serviceuser.Credential) (serviceuser.Credential, error) GetKey(ctx context.Context, credID string) (serviceuser.Credential, error) DeleteKey(ctx context.Context, credID string) error CreateSecret(ctx context.Context, credential serviceuser.Credential) (serviceuser.Secret, error) ListSecret(ctx context.Context, serviceUserID string) ([]serviceuser.Credential, error) DeleteSecret(ctx context.Context, credID string) error ListByOrg(ctx context.Context, orgID string) ([]serviceuser.ServiceUser, error) IsSudo(ctx context.Context, id string, permissionName string) (bool, error) Sudo(ctx context.Context, id string, relationName string) error GetByIDs(ctx context.Context, ids []string) ([]serviceuser.ServiceUser, error) }
type SessionService ¶
type SubscriptionService ¶ added in v0.8.0
type SubscriptionService interface { GetByID(ctx context.Context, id string) (subscription.Subscription, error) List(ctx context.Context, filter subscription.Filter) ([]subscription.Subscription, error) Cancel(ctx context.Context, id string, immediate bool) (subscription.Subscription, error) ChangePlan(ctx context.Context, id string, change subscription.ChangeRequest) (subscription.Phase, error) HasUserSubscribedBefore(ctx context.Context, customerID string, planID string) (bool, error) }
type UsageService ¶ added in v0.8.0
type UserService ¶
type UserService interface { GetByID(ctx context.Context, id string) (user.User, error) GetByIDs(ctx context.Context, userIDs []string) ([]user.User, error) GetByEmail(ctx context.Context, email string) (user.User, error) Create(ctx context.Context, user user.User) (user.User, error) List(ctx context.Context, flt user.Filter) ([]user.User, error) ListByOrg(ctx context.Context, orgID string, roleFilter string) ([]user.User, error) ListByGroup(ctx context.Context, groupID string, roleFilter string) ([]user.User, error) Update(ctx context.Context, toUpdate user.User) (user.User, error) Enable(ctx context.Context, id string) error Disable(ctx context.Context, id string) error IsSudo(ctx context.Context, id string, permissionName string) (bool, error) Sudo(ctx context.Context, id string, relationName string) error }
Source Files ¶
- audit.go
- authenticate.go
- billing_check.go
- billing_checkout.go
- billing_customer.go
- billing_invoice.go
- billing_plan.go
- billing_product.go
- billing_subscription.go
- billing_usage.go
- deleter.go
- domain.go
- errors.go
- group.go
- invitations.go
- metaschema.go
- namespace.go
- org.go
- permission.go
- permission_check.go
- platform.go
- policy.go
- preferences.go
- project.go
- relation.go
- resource.go
- role.go
- serviceuser.go
- user.go
- v1beta1.go
Click to show internal directories.
Click to hide internal directories.