Documentation
¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterUsersInternalServiceServer(s grpc.ServiceRegistrar, srv UsersInternalServiceServer)
- func RegisterUsersServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterUsersServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UsersServiceClient) error
- func RegisterUsersServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterUsersServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UsersServiceServer) error
- func RegisterUsersServiceServer(s grpc.ServiceRegistrar, srv UsersServiceServer)
- type APIKey
- func (*APIKey) Descriptor() ([]byte, []int)deprecated
- func (x *APIKey) GetCreatedAt() int64
- func (x *APIKey) GetId() string
- func (x *APIKey) GetName() string
- func (x *APIKey) GetObject() string
- func (x *APIKey) GetOrganization() *Organization
- func (x *APIKey) GetProject() *Project
- func (x *APIKey) GetSecret() string
- func (x *APIKey) GetUser() *User
- func (*APIKey) ProtoMessage()
- func (x *APIKey) ProtoReflect() protoreflect.Message
- func (x *APIKey) Reset()
- func (x *APIKey) String() string
- type CreateAPIKeyRequest
- func (*CreateAPIKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAPIKeyRequest) GetName() string
- func (x *CreateAPIKeyRequest) GetOrganizationId() string
- func (x *CreateAPIKeyRequest) GetProjectId() string
- func (*CreateAPIKeyRequest) ProtoMessage()
- func (x *CreateAPIKeyRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAPIKeyRequest) Reset()
- func (x *CreateAPIKeyRequest) String() string
- type CreateOrganizationRequest
- func (*CreateOrganizationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrganizationRequest) GetTitle() string
- func (*CreateOrganizationRequest) ProtoMessage()
- func (x *CreateOrganizationRequest) ProtoReflect() protoreflect.Message
- func (x *CreateOrganizationRequest) Reset()
- func (x *CreateOrganizationRequest) String() string
- type CreateOrganizationUserRequest
- func (*CreateOrganizationUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrganizationUserRequest) GetOrganizationId() string
- func (x *CreateOrganizationUserRequest) GetRole() OrganizationRole
- func (x *CreateOrganizationUserRequest) GetUserId() string
- func (*CreateOrganizationUserRequest) ProtoMessage()
- func (x *CreateOrganizationUserRequest) ProtoReflect() protoreflect.Message
- func (x *CreateOrganizationUserRequest) Reset()
- func (x *CreateOrganizationUserRequest) String() string
- type CreateProjectRequest
- func (*CreateProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProjectRequest) GetKubernetesNamespace() string
- func (x *CreateProjectRequest) GetOrganizationId() string
- func (x *CreateProjectRequest) GetTitle() string
- func (*CreateProjectRequest) ProtoMessage()
- func (x *CreateProjectRequest) ProtoReflect() protoreflect.Message
- func (x *CreateProjectRequest) Reset()
- func (x *CreateProjectRequest) String() string
- type CreateProjectUserRequest
- func (*CreateProjectUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProjectUserRequest) GetOrganizationId() string
- func (x *CreateProjectUserRequest) GetProjectId() string
- func (x *CreateProjectUserRequest) GetRole() ProjectRole
- func (x *CreateProjectUserRequest) GetUserId() string
- func (*CreateProjectUserRequest) ProtoMessage()
- func (x *CreateProjectUserRequest) ProtoReflect() protoreflect.Message
- func (x *CreateProjectUserRequest) Reset()
- func (x *CreateProjectUserRequest) String() string
- type DeleteAPIKeyRequest
- func (*DeleteAPIKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAPIKeyRequest) GetId() string
- func (x *DeleteAPIKeyRequest) GetOrganizationId() string
- func (x *DeleteAPIKeyRequest) GetProjectId() string
- func (*DeleteAPIKeyRequest) ProtoMessage()
- func (x *DeleteAPIKeyRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAPIKeyRequest) Reset()
- func (x *DeleteAPIKeyRequest) String() string
- type DeleteAPIKeyResponse
- func (*DeleteAPIKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAPIKeyResponse) GetDeleted() bool
- func (x *DeleteAPIKeyResponse) GetId() string
- func (x *DeleteAPIKeyResponse) GetObject() string
- func (*DeleteAPIKeyResponse) ProtoMessage()
- func (x *DeleteAPIKeyResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteAPIKeyResponse) Reset()
- func (x *DeleteAPIKeyResponse) String() string
- type DeleteOrganizationRequest
- func (*DeleteOrganizationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteOrganizationRequest) GetId() string
- func (*DeleteOrganizationRequest) ProtoMessage()
- func (x *DeleteOrganizationRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteOrganizationRequest) Reset()
- func (x *DeleteOrganizationRequest) String() string
- type DeleteOrganizationResponse
- func (*DeleteOrganizationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteOrganizationResponse) GetDeleted() bool
- func (x *DeleteOrganizationResponse) GetId() string
- func (x *DeleteOrganizationResponse) GetObject() string
- func (*DeleteOrganizationResponse) ProtoMessage()
- func (x *DeleteOrganizationResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteOrganizationResponse) Reset()
- func (x *DeleteOrganizationResponse) String() string
- type DeleteOrganizationUserRequest
- func (*DeleteOrganizationUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteOrganizationUserRequest) GetOrganizationId() string
- func (x *DeleteOrganizationUserRequest) GetUserId() string
- func (*DeleteOrganizationUserRequest) ProtoMessage()
- func (x *DeleteOrganizationUserRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteOrganizationUserRequest) Reset()
- func (x *DeleteOrganizationUserRequest) String() string
- type DeleteOrganizationUserResponse
- func (*DeleteOrganizationUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteOrganizationUserResponse) GetDeleted() bool
- func (x *DeleteOrganizationUserResponse) GetId() string
- func (x *DeleteOrganizationUserResponse) GetObject() string
- func (*DeleteOrganizationUserResponse) ProtoMessage()
- func (x *DeleteOrganizationUserResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteOrganizationUserResponse) Reset()
- func (x *DeleteOrganizationUserResponse) String() string
- type DeleteProjectRequest
- func (*DeleteProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteProjectRequest) GetId() string
- func (x *DeleteProjectRequest) GetOrganizationId() string
- func (*DeleteProjectRequest) ProtoMessage()
- func (x *DeleteProjectRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteProjectRequest) Reset()
- func (x *DeleteProjectRequest) String() string
- type DeleteProjectResponse
- func (*DeleteProjectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteProjectResponse) GetDeleted() bool
- func (x *DeleteProjectResponse) GetId() string
- func (x *DeleteProjectResponse) GetObject() string
- func (*DeleteProjectResponse) ProtoMessage()
- func (x *DeleteProjectResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteProjectResponse) Reset()
- func (x *DeleteProjectResponse) String() string
- type DeleteProjectUserRequest
- func (*DeleteProjectUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteProjectUserRequest) GetOrganizationId() string
- func (x *DeleteProjectUserRequest) GetProjectId() string
- func (x *DeleteProjectUserRequest) GetUserId() string
- func (*DeleteProjectUserRequest) ProtoMessage()
- func (x *DeleteProjectUserRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteProjectUserRequest) Reset()
- func (x *DeleteProjectUserRequest) String() string
- type DeleteProjectUserResponse
- func (*DeleteProjectUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteProjectUserResponse) GetDeleted() bool
- func (x *DeleteProjectUserResponse) GetId() string
- func (x *DeleteProjectUserResponse) GetObject() string
- func (*DeleteProjectUserResponse) ProtoMessage()
- func (x *DeleteProjectUserResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteProjectUserResponse) Reset()
- func (x *DeleteProjectUserResponse) String() string
- type InternalAPIKey
- func (*InternalAPIKey) Descriptor() ([]byte, []int)deprecated
- func (x *InternalAPIKey) GetApiKey() *APIKey
- func (x *InternalAPIKey) GetTenantId() string
- func (*InternalAPIKey) ProtoMessage()
- func (x *InternalAPIKey) ProtoReflect() protoreflect.Message
- func (x *InternalAPIKey) Reset()
- func (x *InternalAPIKey) String() string
- type InternalOrganization
- func (*InternalOrganization) Descriptor() ([]byte, []int)deprecated
- func (x *InternalOrganization) GetOrganization() *Organization
- func (x *InternalOrganization) GetTenantId() string
- func (*InternalOrganization) ProtoMessage()
- func (x *InternalOrganization) ProtoReflect() protoreflect.Message
- func (x *InternalOrganization) Reset()
- func (x *InternalOrganization) String() string
- type ListAPIKeysRequest
- func (*ListAPIKeysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAPIKeysRequest) GetOrganizationId() string
- func (x *ListAPIKeysRequest) GetProjectId() string
- func (*ListAPIKeysRequest) ProtoMessage()
- func (x *ListAPIKeysRequest) ProtoReflect() protoreflect.Message
- func (x *ListAPIKeysRequest) Reset()
- func (x *ListAPIKeysRequest) String() string
- type ListAPIKeysResponse
- func (*ListAPIKeysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAPIKeysResponse) GetData() []*APIKey
- func (x *ListAPIKeysResponse) GetObject() string
- func (*ListAPIKeysResponse) ProtoMessage()
- func (x *ListAPIKeysResponse) ProtoReflect() protoreflect.Message
- func (x *ListAPIKeysResponse) Reset()
- func (x *ListAPIKeysResponse) String() string
- type ListInternalAPIKeysRequest
- type ListInternalAPIKeysResponse
- func (*ListInternalAPIKeysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListInternalAPIKeysResponse) GetApiKeys() []*InternalAPIKey
- func (*ListInternalAPIKeysResponse) ProtoMessage()
- func (x *ListInternalAPIKeysResponse) ProtoReflect() protoreflect.Message
- func (x *ListInternalAPIKeysResponse) Reset()
- func (x *ListInternalAPIKeysResponse) String() string
- type ListInternalOrganizationsRequest
- func (*ListInternalOrganizationsRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListInternalOrganizationsRequest) ProtoMessage()
- func (x *ListInternalOrganizationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListInternalOrganizationsRequest) Reset()
- func (x *ListInternalOrganizationsRequest) String() string
- type ListInternalOrganizationsResponse
- func (*ListInternalOrganizationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListInternalOrganizationsResponse) GetOrganizations() []*InternalOrganization
- func (*ListInternalOrganizationsResponse) ProtoMessage()
- func (x *ListInternalOrganizationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListInternalOrganizationsResponse) Reset()
- func (x *ListInternalOrganizationsResponse) String() string
- type ListOrganizationUsersRequest
- func (*ListOrganizationUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListOrganizationUsersRequest) GetOrganizationId() string
- func (*ListOrganizationUsersRequest) ProtoMessage()
- func (x *ListOrganizationUsersRequest) ProtoReflect() protoreflect.Message
- func (x *ListOrganizationUsersRequest) Reset()
- func (x *ListOrganizationUsersRequest) String() string
- type ListOrganizationUsersResponse
- func (*ListOrganizationUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListOrganizationUsersResponse) GetUsers() []*OrganizationUser
- func (*ListOrganizationUsersResponse) ProtoMessage()
- func (x *ListOrganizationUsersResponse) ProtoReflect() protoreflect.Message
- func (x *ListOrganizationUsersResponse) Reset()
- func (x *ListOrganizationUsersResponse) String() string
- type ListOrganizationsRequest
- type ListOrganizationsResponse
- func (*ListOrganizationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListOrganizationsResponse) GetOrganizations() []*Organization
- func (*ListOrganizationsResponse) ProtoMessage()
- func (x *ListOrganizationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListOrganizationsResponse) Reset()
- func (x *ListOrganizationsResponse) String() string
- type ListProjectUsersRequest
- func (*ListProjectUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListProjectUsersRequest) GetOrganizationId() string
- func (x *ListProjectUsersRequest) GetProjectId() string
- func (*ListProjectUsersRequest) ProtoMessage()
- func (x *ListProjectUsersRequest) ProtoReflect() protoreflect.Message
- func (x *ListProjectUsersRequest) Reset()
- func (x *ListProjectUsersRequest) String() string
- type ListProjectUsersResponse
- func (*ListProjectUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListProjectUsersResponse) GetUsers() []*ProjectUser
- func (*ListProjectUsersResponse) ProtoMessage()
- func (x *ListProjectUsersResponse) ProtoReflect() protoreflect.Message
- func (x *ListProjectUsersResponse) Reset()
- func (x *ListProjectUsersResponse) String() string
- type ListProjectsRequest
- func (*ListProjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListProjectsRequest) GetOrganizationId() string
- func (*ListProjectsRequest) ProtoMessage()
- func (x *ListProjectsRequest) ProtoReflect() protoreflect.Message
- func (x *ListProjectsRequest) Reset()
- func (x *ListProjectsRequest) String() string
- type ListProjectsResponse
- func (*ListProjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListProjectsResponse) GetProjects() []*Project
- func (*ListProjectsResponse) ProtoMessage()
- func (x *ListProjectsResponse) ProtoReflect() protoreflect.Message
- func (x *ListProjectsResponse) Reset()
- func (x *ListProjectsResponse) String() string
- type Organization
- func (*Organization) Descriptor() ([]byte, []int)deprecated
- func (x *Organization) GetCreatedAt() int64
- func (x *Organization) GetId() string
- func (x *Organization) GetTitle() string
- func (*Organization) ProtoMessage()
- func (x *Organization) ProtoReflect() protoreflect.Message
- func (x *Organization) Reset()
- func (x *Organization) String() string
- type OrganizationRole
- func (OrganizationRole) Descriptor() protoreflect.EnumDescriptor
- func (x OrganizationRole) Enum() *OrganizationRole
- func (OrganizationRole) EnumDescriptor() ([]byte, []int)deprecated
- func (x OrganizationRole) Number() protoreflect.EnumNumber
- func (x OrganizationRole) String() string
- func (OrganizationRole) Type() protoreflect.EnumType
- type OrganizationUser
- func (*OrganizationUser) Descriptor() ([]byte, []int)deprecated
- func (x *OrganizationUser) GetOrganizationId() string
- func (x *OrganizationUser) GetRole() OrganizationRole
- func (x *OrganizationUser) GetUserId() string
- func (*OrganizationUser) ProtoMessage()
- func (x *OrganizationUser) ProtoReflect() protoreflect.Message
- func (x *OrganizationUser) Reset()
- func (x *OrganizationUser) String() string
- type Project
- func (*Project) Descriptor() ([]byte, []int)deprecated
- func (x *Project) GetCreatedAt() int64
- func (x *Project) GetId() string
- func (x *Project) GetKubernetesNamespace() string
- func (x *Project) GetOrganizationId() string
- func (x *Project) GetTitle() string
- func (*Project) ProtoMessage()
- func (x *Project) ProtoReflect() protoreflect.Message
- func (x *Project) Reset()
- func (x *Project) String() string
- type ProjectRole
- func (ProjectRole) Descriptor() protoreflect.EnumDescriptor
- func (x ProjectRole) Enum() *ProjectRole
- func (ProjectRole) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProjectRole) Number() protoreflect.EnumNumber
- func (x ProjectRole) String() string
- func (ProjectRole) Type() protoreflect.EnumType
- type ProjectUser
- func (*ProjectUser) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectUser) GetOrganizationId() string
- func (x *ProjectUser) GetProjectId() string
- func (x *ProjectUser) GetRole() ProjectRole
- func (x *ProjectUser) GetUserId() string
- func (*ProjectUser) ProtoMessage()
- func (x *ProjectUser) ProtoReflect() protoreflect.Message
- func (x *ProjectUser) Reset()
- func (x *ProjectUser) String() string
- type UnimplementedUsersInternalServiceServer
- func (UnimplementedUsersInternalServiceServer) ListInternalAPIKeys(context.Context, *ListInternalAPIKeysRequest) (*ListInternalAPIKeysResponse, error)
- func (UnimplementedUsersInternalServiceServer) ListInternalOrganizations(context.Context, *ListInternalOrganizationsRequest) (*ListInternalOrganizationsResponse, error)
- func (UnimplementedUsersInternalServiceServer) ListOrganizationUsers(context.Context, *ListOrganizationUsersRequest) (*ListOrganizationUsersResponse, error)
- func (UnimplementedUsersInternalServiceServer) ListProjectUsers(context.Context, *ListProjectUsersRequest) (*ListProjectUsersResponse, error)
- func (UnimplementedUsersInternalServiceServer) ListProjects(context.Context, *ListProjectsRequest) (*ListProjectsResponse, error)
- type UnimplementedUsersServiceServer
- func (UnimplementedUsersServiceServer) CreateAPIKey(context.Context, *CreateAPIKeyRequest) (*APIKey, error)
- func (UnimplementedUsersServiceServer) CreateOrganization(context.Context, *CreateOrganizationRequest) (*Organization, error)
- func (UnimplementedUsersServiceServer) CreateOrganizationUser(context.Context, *CreateOrganizationUserRequest) (*OrganizationUser, error)
- func (UnimplementedUsersServiceServer) CreateProject(context.Context, *CreateProjectRequest) (*Project, error)
- func (UnimplementedUsersServiceServer) CreateProjectUser(context.Context, *CreateProjectUserRequest) (*ProjectUser, error)
- func (UnimplementedUsersServiceServer) DeleteAPIKey(context.Context, *DeleteAPIKeyRequest) (*DeleteAPIKeyResponse, error)
- func (UnimplementedUsersServiceServer) DeleteOrganization(context.Context, *DeleteOrganizationRequest) (*DeleteOrganizationResponse, error)
- func (UnimplementedUsersServiceServer) DeleteOrganizationUser(context.Context, *DeleteOrganizationUserRequest) (*emptypb.Empty, error)
- func (UnimplementedUsersServiceServer) DeleteProject(context.Context, *DeleteProjectRequest) (*DeleteProjectResponse, error)
- func (UnimplementedUsersServiceServer) DeleteProjectUser(context.Context, *DeleteProjectUserRequest) (*emptypb.Empty, error)
- func (UnimplementedUsersServiceServer) ListAPIKeys(context.Context, *ListAPIKeysRequest) (*ListAPIKeysResponse, error)
- func (UnimplementedUsersServiceServer) ListOrganizationUsers(context.Context, *ListOrganizationUsersRequest) (*ListOrganizationUsersResponse, error)
- func (UnimplementedUsersServiceServer) ListOrganizations(context.Context, *ListOrganizationsRequest) (*ListOrganizationsResponse, error)
- func (UnimplementedUsersServiceServer) ListProjectUsers(context.Context, *ListProjectUsersRequest) (*ListProjectUsersResponse, error)
- func (UnimplementedUsersServiceServer) ListProjects(context.Context, *ListProjectsRequest) (*ListProjectsResponse, error)
- type UnsafeUsersInternalServiceServer
- type UnsafeUsersServiceServer
- type User
- type UsersInternalServiceClient
- type UsersInternalServiceServer
- type UsersServiceClient
- type UsersServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( OrganizationRole_name = map[int32]string{ 0: "ORGANIZATION_ROLE_UNSPECIFIED", 1: "ORGANIZATION_ROLE_OWNER", 2: "ORGANIZATION_ROLE_READER", } OrganizationRole_value = map[string]int32{ "ORGANIZATION_ROLE_UNSPECIFIED": 0, "ORGANIZATION_ROLE_OWNER": 1, "ORGANIZATION_ROLE_READER": 2, } )
Enum value maps for OrganizationRole.
var ( ProjectRole_name = map[int32]string{ 0: "PROJECT_ROLE_UNSPECIFIED", 1: "PROJECT_ROLE_OWNER", 2: "PROJECT_ROLE_MEMBER", } ProjectRole_value = map[string]int32{ "PROJECT_ROLE_UNSPECIFIED": 0, "PROJECT_ROLE_OWNER": 1, "PROJECT_ROLE_MEMBER": 2, } )
Enum value maps for ProjectRole.
var File_api_v1_user_manager_service_proto protoreflect.FileDescriptor
var UsersInternalService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "llmoperator.users.server.v1.UsersInternalService", HandlerType: (*UsersInternalServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListInternalAPIKeys", Handler: _UsersInternalService_ListInternalAPIKeys_Handler, }, { MethodName: "ListInternalOrganizations", Handler: _UsersInternalService_ListInternalOrganizations_Handler, }, { MethodName: "ListOrganizationUsers", Handler: _UsersInternalService_ListOrganizationUsers_Handler, }, { MethodName: "ListProjects", Handler: _UsersInternalService_ListProjects_Handler, }, { MethodName: "ListProjectUsers", Handler: _UsersInternalService_ListProjectUsers_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v1/user_manager_service.proto", }
UsersInternalService_ServiceDesc is the grpc.ServiceDesc for UsersInternalService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var UsersService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "llmoperator.users.server.v1.UsersService", HandlerType: (*UsersServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateAPIKey", Handler: _UsersService_CreateAPIKey_Handler, }, { MethodName: "ListAPIKeys", Handler: _UsersService_ListAPIKeys_Handler, }, { MethodName: "DeleteAPIKey", Handler: _UsersService_DeleteAPIKey_Handler, }, { MethodName: "CreateOrganization", Handler: _UsersService_CreateOrganization_Handler, }, { MethodName: "ListOrganizations", Handler: _UsersService_ListOrganizations_Handler, }, { MethodName: "DeleteOrganization", Handler: _UsersService_DeleteOrganization_Handler, }, { MethodName: "CreateOrganizationUser", Handler: _UsersService_CreateOrganizationUser_Handler, }, { MethodName: "ListOrganizationUsers", Handler: _UsersService_ListOrganizationUsers_Handler, }, { MethodName: "DeleteOrganizationUser", Handler: _UsersService_DeleteOrganizationUser_Handler, }, { MethodName: "CreateProject", Handler: _UsersService_CreateProject_Handler, }, { MethodName: "ListProjects", Handler: _UsersService_ListProjects_Handler, }, { MethodName: "DeleteProject", Handler: _UsersService_DeleteProject_Handler, }, { MethodName: "CreateProjectUser", Handler: _UsersService_CreateProjectUser_Handler, }, { MethodName: "ListProjectUsers", Handler: _UsersService_ListProjectUsers_Handler, }, { MethodName: "DeleteProjectUser", Handler: _UsersService_DeleteProjectUser_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v1/user_manager_service.proto", }
UsersService_ServiceDesc is the grpc.ServiceDesc for UsersService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterUsersInternalServiceServer ¶
func RegisterUsersInternalServiceServer(s grpc.ServiceRegistrar, srv UsersInternalServiceServer)
func RegisterUsersServiceHandler ¶
func RegisterUsersServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterUsersServiceHandler registers the http handlers for service UsersService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterUsersServiceHandlerClient ¶
func RegisterUsersServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UsersServiceClient) error
RegisterUsersServiceHandlerClient registers the http handlers for service UsersService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "UsersServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "UsersServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "UsersServiceClient" to call the correct interceptors.
func RegisterUsersServiceHandlerFromEndpoint ¶
func RegisterUsersServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterUsersServiceHandlerFromEndpoint is same as RegisterUsersServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterUsersServiceHandlerServer ¶
func RegisterUsersServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UsersServiceServer) error
RegisterUsersServiceHandlerServer registers the http handlers for service UsersService to "mux". UnaryRPC :call UsersServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterUsersServiceHandlerFromEndpoint instead.
func RegisterUsersServiceServer ¶
func RegisterUsersServiceServer(s grpc.ServiceRegistrar, srv UsersServiceServer)
Types ¶
type APIKey ¶
type APIKey struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // secret is populated only when a new API key is created. Secret string `protobuf:"bytes,4,opt,name=secret,proto3" json:"secret,omitempty"` CreatedAt int64 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` User *User `protobuf:"bytes,6,opt,name=user,proto3" json:"user,omitempty"` Organization *Organization `protobuf:"bytes,7,opt,name=organization,proto3" json:"organization,omitempty"` Project *Project `protobuf:"bytes,8,opt,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
func (*APIKey) Descriptor
deprecated
func (*APIKey) GetCreatedAt ¶
func (*APIKey) GetOrganization ¶ added in v0.5.0
func (x *APIKey) GetOrganization() *Organization
func (*APIKey) GetProject ¶ added in v0.32.0
func (*APIKey) ProtoMessage ¶
func (*APIKey) ProtoMessage()
func (*APIKey) ProtoReflect ¶
func (x *APIKey) ProtoReflect() protoreflect.Message
type CreateAPIKeyRequest ¶
type CreateAPIKeyRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` OrganizationId string `protobuf:"bytes,3,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // contains filtered or unexported fields }
func (*CreateAPIKeyRequest) Descriptor
deprecated
func (*CreateAPIKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAPIKeyRequest.ProtoReflect.Descriptor instead.
func (*CreateAPIKeyRequest) GetName ¶
func (x *CreateAPIKeyRequest) GetName() string
func (*CreateAPIKeyRequest) GetOrganizationId ¶ added in v0.63.0
func (x *CreateAPIKeyRequest) GetOrganizationId() string
func (*CreateAPIKeyRequest) GetProjectId ¶ added in v0.63.0
func (x *CreateAPIKeyRequest) GetProjectId() string
func (*CreateAPIKeyRequest) ProtoMessage ¶
func (*CreateAPIKeyRequest) ProtoMessage()
func (*CreateAPIKeyRequest) ProtoReflect ¶
func (x *CreateAPIKeyRequest) ProtoReflect() protoreflect.Message
func (*CreateAPIKeyRequest) Reset ¶
func (x *CreateAPIKeyRequest) Reset()
func (*CreateAPIKeyRequest) String ¶
func (x *CreateAPIKeyRequest) String() string
type CreateOrganizationRequest ¶ added in v0.10.0
type CreateOrganizationRequest struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // contains filtered or unexported fields }
func (*CreateOrganizationRequest) Descriptor
deprecated
added in
v0.10.0
func (*CreateOrganizationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrganizationRequest.ProtoReflect.Descriptor instead.
func (*CreateOrganizationRequest) GetTitle ¶ added in v0.10.0
func (x *CreateOrganizationRequest) GetTitle() string
func (*CreateOrganizationRequest) ProtoMessage ¶ added in v0.10.0
func (*CreateOrganizationRequest) ProtoMessage()
func (*CreateOrganizationRequest) ProtoReflect ¶ added in v0.10.0
func (x *CreateOrganizationRequest) ProtoReflect() protoreflect.Message
func (*CreateOrganizationRequest) Reset ¶ added in v0.10.0
func (x *CreateOrganizationRequest) Reset()
func (*CreateOrganizationRequest) String ¶ added in v0.10.0
func (x *CreateOrganizationRequest) String() string
type CreateOrganizationUserRequest ¶ added in v0.20.0
type CreateOrganizationUserRequest struct { OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Role OrganizationRole `protobuf:"varint,3,opt,name=role,proto3,enum=llmoperator.users.server.v1.OrganizationRole" json:"role,omitempty"` // contains filtered or unexported fields }
func (*CreateOrganizationUserRequest) Descriptor
deprecated
added in
v0.20.0
func (*CreateOrganizationUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrganizationUserRequest.ProtoReflect.Descriptor instead.
func (*CreateOrganizationUserRequest) GetOrganizationId ¶ added in v0.20.0
func (x *CreateOrganizationUserRequest) GetOrganizationId() string
func (*CreateOrganizationUserRequest) GetRole ¶ added in v0.20.0
func (x *CreateOrganizationUserRequest) GetRole() OrganizationRole
func (*CreateOrganizationUserRequest) GetUserId ¶ added in v0.20.0
func (x *CreateOrganizationUserRequest) GetUserId() string
func (*CreateOrganizationUserRequest) ProtoMessage ¶ added in v0.20.0
func (*CreateOrganizationUserRequest) ProtoMessage()
func (*CreateOrganizationUserRequest) ProtoReflect ¶ added in v0.20.0
func (x *CreateOrganizationUserRequest) ProtoReflect() protoreflect.Message
func (*CreateOrganizationUserRequest) Reset ¶ added in v0.20.0
func (x *CreateOrganizationUserRequest) Reset()
func (*CreateOrganizationUserRequest) String ¶ added in v0.20.0
func (x *CreateOrganizationUserRequest) String() string
type CreateProjectRequest ¶ added in v0.32.0
type CreateProjectRequest struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` OrganizationId string `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` KubernetesNamespace string `protobuf:"bytes,3,opt,name=kubernetes_namespace,json=kubernetesNamespace,proto3" json:"kubernetes_namespace,omitempty"` // contains filtered or unexported fields }
func (*CreateProjectRequest) Descriptor
deprecated
added in
v0.32.0
func (*CreateProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateProjectRequest.ProtoReflect.Descriptor instead.
func (*CreateProjectRequest) GetKubernetesNamespace ¶ added in v0.32.0
func (x *CreateProjectRequest) GetKubernetesNamespace() string
func (*CreateProjectRequest) GetOrganizationId ¶ added in v0.32.0
func (x *CreateProjectRequest) GetOrganizationId() string
func (*CreateProjectRequest) GetTitle ¶ added in v0.34.0
func (x *CreateProjectRequest) GetTitle() string
func (*CreateProjectRequest) ProtoMessage ¶ added in v0.32.0
func (*CreateProjectRequest) ProtoMessage()
func (*CreateProjectRequest) ProtoReflect ¶ added in v0.32.0
func (x *CreateProjectRequest) ProtoReflect() protoreflect.Message
func (*CreateProjectRequest) Reset ¶ added in v0.32.0
func (x *CreateProjectRequest) Reset()
func (*CreateProjectRequest) String ¶ added in v0.32.0
func (x *CreateProjectRequest) String() string
type CreateProjectUserRequest ¶ added in v0.32.0
type CreateProjectUserRequest struct { OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Role ProjectRole `protobuf:"varint,4,opt,name=role,proto3,enum=llmoperator.users.server.v1.ProjectRole" json:"role,omitempty"` // contains filtered or unexported fields }
func (*CreateProjectUserRequest) Descriptor
deprecated
added in
v0.32.0
func (*CreateProjectUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateProjectUserRequest.ProtoReflect.Descriptor instead.
func (*CreateProjectUserRequest) GetOrganizationId ¶ added in v0.32.0
func (x *CreateProjectUserRequest) GetOrganizationId() string
func (*CreateProjectUserRequest) GetProjectId ¶ added in v0.32.0
func (x *CreateProjectUserRequest) GetProjectId() string
func (*CreateProjectUserRequest) GetRole ¶ added in v0.32.0
func (x *CreateProjectUserRequest) GetRole() ProjectRole
func (*CreateProjectUserRequest) GetUserId ¶ added in v0.32.0
func (x *CreateProjectUserRequest) GetUserId() string
func (*CreateProjectUserRequest) ProtoMessage ¶ added in v0.32.0
func (*CreateProjectUserRequest) ProtoMessage()
func (*CreateProjectUserRequest) ProtoReflect ¶ added in v0.32.0
func (x *CreateProjectUserRequest) ProtoReflect() protoreflect.Message
func (*CreateProjectUserRequest) Reset ¶ added in v0.32.0
func (x *CreateProjectUserRequest) Reset()
func (*CreateProjectUserRequest) String ¶ added in v0.32.0
func (x *CreateProjectUserRequest) String() string
type DeleteAPIKeyRequest ¶
type DeleteAPIKeyRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` OrganizationId string `protobuf:"bytes,3,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteAPIKeyRequest) Descriptor
deprecated
func (*DeleteAPIKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAPIKeyRequest.ProtoReflect.Descriptor instead.
func (*DeleteAPIKeyRequest) GetId ¶
func (x *DeleteAPIKeyRequest) GetId() string
func (*DeleteAPIKeyRequest) GetOrganizationId ¶ added in v0.63.0
func (x *DeleteAPIKeyRequest) GetOrganizationId() string
func (*DeleteAPIKeyRequest) GetProjectId ¶ added in v0.63.0
func (x *DeleteAPIKeyRequest) GetProjectId() string
func (*DeleteAPIKeyRequest) ProtoMessage ¶
func (*DeleteAPIKeyRequest) ProtoMessage()
func (*DeleteAPIKeyRequest) ProtoReflect ¶
func (x *DeleteAPIKeyRequest) ProtoReflect() protoreflect.Message
func (*DeleteAPIKeyRequest) Reset ¶
func (x *DeleteAPIKeyRequest) Reset()
func (*DeleteAPIKeyRequest) String ¶
func (x *DeleteAPIKeyRequest) String() string
type DeleteAPIKeyResponse ¶
type DeleteAPIKeyResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` Deleted bool `protobuf:"varint,3,opt,name=deleted,proto3" json:"deleted,omitempty"` // contains filtered or unexported fields }
func (*DeleteAPIKeyResponse) Descriptor
deprecated
func (*DeleteAPIKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAPIKeyResponse.ProtoReflect.Descriptor instead.
func (*DeleteAPIKeyResponse) GetDeleted ¶
func (x *DeleteAPIKeyResponse) GetDeleted() bool
func (*DeleteAPIKeyResponse) GetId ¶
func (x *DeleteAPIKeyResponse) GetId() string
func (*DeleteAPIKeyResponse) GetObject ¶
func (x *DeleteAPIKeyResponse) GetObject() string
func (*DeleteAPIKeyResponse) ProtoMessage ¶
func (*DeleteAPIKeyResponse) ProtoMessage()
func (*DeleteAPIKeyResponse) ProtoReflect ¶
func (x *DeleteAPIKeyResponse) ProtoReflect() protoreflect.Message
func (*DeleteAPIKeyResponse) Reset ¶
func (x *DeleteAPIKeyResponse) Reset()
func (*DeleteAPIKeyResponse) String ¶
func (x *DeleteAPIKeyResponse) String() string
type DeleteOrganizationRequest ¶ added in v0.10.0
type DeleteOrganizationRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteOrganizationRequest) Descriptor
deprecated
added in
v0.10.0
func (*DeleteOrganizationRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOrganizationRequest.ProtoReflect.Descriptor instead.
func (*DeleteOrganizationRequest) GetId ¶ added in v0.10.0
func (x *DeleteOrganizationRequest) GetId() string
func (*DeleteOrganizationRequest) ProtoMessage ¶ added in v0.10.0
func (*DeleteOrganizationRequest) ProtoMessage()
func (*DeleteOrganizationRequest) ProtoReflect ¶ added in v0.10.0
func (x *DeleteOrganizationRequest) ProtoReflect() protoreflect.Message
func (*DeleteOrganizationRequest) Reset ¶ added in v0.10.0
func (x *DeleteOrganizationRequest) Reset()
func (*DeleteOrganizationRequest) String ¶ added in v0.10.0
func (x *DeleteOrganizationRequest) String() string
type DeleteOrganizationResponse ¶ added in v0.10.0
type DeleteOrganizationResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` Deleted bool `protobuf:"varint,3,opt,name=deleted,proto3" json:"deleted,omitempty"` // contains filtered or unexported fields }
func (*DeleteOrganizationResponse) Descriptor
deprecated
added in
v0.10.0
func (*DeleteOrganizationResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOrganizationResponse.ProtoReflect.Descriptor instead.
func (*DeleteOrganizationResponse) GetDeleted ¶ added in v0.28.0
func (x *DeleteOrganizationResponse) GetDeleted() bool
func (*DeleteOrganizationResponse) GetId ¶ added in v0.28.0
func (x *DeleteOrganizationResponse) GetId() string
func (*DeleteOrganizationResponse) GetObject ¶ added in v0.28.0
func (x *DeleteOrganizationResponse) GetObject() string
func (*DeleteOrganizationResponse) ProtoMessage ¶ added in v0.10.0
func (*DeleteOrganizationResponse) ProtoMessage()
func (*DeleteOrganizationResponse) ProtoReflect ¶ added in v0.10.0
func (x *DeleteOrganizationResponse) ProtoReflect() protoreflect.Message
func (*DeleteOrganizationResponse) Reset ¶ added in v0.10.0
func (x *DeleteOrganizationResponse) Reset()
func (*DeleteOrganizationResponse) String ¶ added in v0.10.0
func (x *DeleteOrganizationResponse) String() string
type DeleteOrganizationUserRequest ¶ added in v0.22.0
type DeleteOrganizationUserRequest struct { OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteOrganizationUserRequest) Descriptor
deprecated
added in
v0.22.0
func (*DeleteOrganizationUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOrganizationUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteOrganizationUserRequest) GetOrganizationId ¶ added in v0.22.0
func (x *DeleteOrganizationUserRequest) GetOrganizationId() string
func (*DeleteOrganizationUserRequest) GetUserId ¶ added in v0.22.0
func (x *DeleteOrganizationUserRequest) GetUserId() string
func (*DeleteOrganizationUserRequest) ProtoMessage ¶ added in v0.22.0
func (*DeleteOrganizationUserRequest) ProtoMessage()
func (*DeleteOrganizationUserRequest) ProtoReflect ¶ added in v0.22.0
func (x *DeleteOrganizationUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteOrganizationUserRequest) Reset ¶ added in v0.22.0
func (x *DeleteOrganizationUserRequest) Reset()
func (*DeleteOrganizationUserRequest) String ¶ added in v0.22.0
func (x *DeleteOrganizationUserRequest) String() string
type DeleteOrganizationUserResponse ¶ added in v0.22.0
type DeleteOrganizationUserResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` Deleted bool `protobuf:"varint,3,opt,name=deleted,proto3" json:"deleted,omitempty"` // contains filtered or unexported fields }
func (*DeleteOrganizationUserResponse) Descriptor
deprecated
added in
v0.22.0
func (*DeleteOrganizationUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOrganizationUserResponse.ProtoReflect.Descriptor instead.
func (*DeleteOrganizationUserResponse) GetDeleted ¶ added in v0.22.0
func (x *DeleteOrganizationUserResponse) GetDeleted() bool
func (*DeleteOrganizationUserResponse) GetId ¶ added in v0.22.0
func (x *DeleteOrganizationUserResponse) GetId() string
func (*DeleteOrganizationUserResponse) GetObject ¶ added in v0.22.0
func (x *DeleteOrganizationUserResponse) GetObject() string
func (*DeleteOrganizationUserResponse) ProtoMessage ¶ added in v0.22.0
func (*DeleteOrganizationUserResponse) ProtoMessage()
func (*DeleteOrganizationUserResponse) ProtoReflect ¶ added in v0.22.0
func (x *DeleteOrganizationUserResponse) ProtoReflect() protoreflect.Message
func (*DeleteOrganizationUserResponse) Reset ¶ added in v0.22.0
func (x *DeleteOrganizationUserResponse) Reset()
func (*DeleteOrganizationUserResponse) String ¶ added in v0.22.0
func (x *DeleteOrganizationUserResponse) String() string
type DeleteProjectRequest ¶ added in v0.32.0
type DeleteProjectRequest struct { OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteProjectRequest) Descriptor
deprecated
added in
v0.32.0
func (*DeleteProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProjectRequest.ProtoReflect.Descriptor instead.
func (*DeleteProjectRequest) GetId ¶ added in v0.32.0
func (x *DeleteProjectRequest) GetId() string
func (*DeleteProjectRequest) GetOrganizationId ¶ added in v0.32.0
func (x *DeleteProjectRequest) GetOrganizationId() string
func (*DeleteProjectRequest) ProtoMessage ¶ added in v0.32.0
func (*DeleteProjectRequest) ProtoMessage()
func (*DeleteProjectRequest) ProtoReflect ¶ added in v0.32.0
func (x *DeleteProjectRequest) ProtoReflect() protoreflect.Message
func (*DeleteProjectRequest) Reset ¶ added in v0.32.0
func (x *DeleteProjectRequest) Reset()
func (*DeleteProjectRequest) String ¶ added in v0.32.0
func (x *DeleteProjectRequest) String() string
type DeleteProjectResponse ¶ added in v0.32.0
type DeleteProjectResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` Deleted bool `protobuf:"varint,3,opt,name=deleted,proto3" json:"deleted,omitempty"` // contains filtered or unexported fields }
func (*DeleteProjectResponse) Descriptor
deprecated
added in
v0.32.0
func (*DeleteProjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProjectResponse.ProtoReflect.Descriptor instead.
func (*DeleteProjectResponse) GetDeleted ¶ added in v0.32.0
func (x *DeleteProjectResponse) GetDeleted() bool
func (*DeleteProjectResponse) GetId ¶ added in v0.32.0
func (x *DeleteProjectResponse) GetId() string
func (*DeleteProjectResponse) GetObject ¶ added in v0.32.0
func (x *DeleteProjectResponse) GetObject() string
func (*DeleteProjectResponse) ProtoMessage ¶ added in v0.32.0
func (*DeleteProjectResponse) ProtoMessage()
func (*DeleteProjectResponse) ProtoReflect ¶ added in v0.32.0
func (x *DeleteProjectResponse) ProtoReflect() protoreflect.Message
func (*DeleteProjectResponse) Reset ¶ added in v0.32.0
func (x *DeleteProjectResponse) Reset()
func (*DeleteProjectResponse) String ¶ added in v0.32.0
func (x *DeleteProjectResponse) String() string
type DeleteProjectUserRequest ¶ added in v0.32.0
type DeleteProjectUserRequest struct { OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteProjectUserRequest) Descriptor
deprecated
added in
v0.32.0
func (*DeleteProjectUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProjectUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteProjectUserRequest) GetOrganizationId ¶ added in v0.32.0
func (x *DeleteProjectUserRequest) GetOrganizationId() string
func (*DeleteProjectUserRequest) GetProjectId ¶ added in v0.32.0
func (x *DeleteProjectUserRequest) GetProjectId() string
func (*DeleteProjectUserRequest) GetUserId ¶ added in v0.32.0
func (x *DeleteProjectUserRequest) GetUserId() string
func (*DeleteProjectUserRequest) ProtoMessage ¶ added in v0.32.0
func (*DeleteProjectUserRequest) ProtoMessage()
func (*DeleteProjectUserRequest) ProtoReflect ¶ added in v0.32.0
func (x *DeleteProjectUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteProjectUserRequest) Reset ¶ added in v0.32.0
func (x *DeleteProjectUserRequest) Reset()
func (*DeleteProjectUserRequest) String ¶ added in v0.32.0
func (x *DeleteProjectUserRequest) String() string
type DeleteProjectUserResponse ¶ added in v0.32.0
type DeleteProjectUserResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` Deleted bool `protobuf:"varint,3,opt,name=deleted,proto3" json:"deleted,omitempty"` // contains filtered or unexported fields }
func (*DeleteProjectUserResponse) Descriptor
deprecated
added in
v0.32.0
func (*DeleteProjectUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProjectUserResponse.ProtoReflect.Descriptor instead.
func (*DeleteProjectUserResponse) GetDeleted ¶ added in v0.32.0
func (x *DeleteProjectUserResponse) GetDeleted() bool
func (*DeleteProjectUserResponse) GetId ¶ added in v0.32.0
func (x *DeleteProjectUserResponse) GetId() string
func (*DeleteProjectUserResponse) GetObject ¶ added in v0.32.0
func (x *DeleteProjectUserResponse) GetObject() string
func (*DeleteProjectUserResponse) ProtoMessage ¶ added in v0.32.0
func (*DeleteProjectUserResponse) ProtoMessage()
func (*DeleteProjectUserResponse) ProtoReflect ¶ added in v0.32.0
func (x *DeleteProjectUserResponse) ProtoReflect() protoreflect.Message
func (*DeleteProjectUserResponse) Reset ¶ added in v0.32.0
func (x *DeleteProjectUserResponse) Reset()
func (*DeleteProjectUserResponse) String ¶ added in v0.32.0
func (x *DeleteProjectUserResponse) String() string
type InternalAPIKey ¶ added in v0.68.0
type InternalAPIKey struct { ApiKey *APIKey `protobuf:"bytes,1,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"` TenantId string `protobuf:"bytes,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` // contains filtered or unexported fields }
func (*InternalAPIKey) Descriptor
deprecated
added in
v0.68.0
func (*InternalAPIKey) Descriptor() ([]byte, []int)
Deprecated: Use InternalAPIKey.ProtoReflect.Descriptor instead.
func (*InternalAPIKey) GetApiKey ¶ added in v0.68.0
func (x *InternalAPIKey) GetApiKey() *APIKey
func (*InternalAPIKey) GetTenantId ¶ added in v0.68.0
func (x *InternalAPIKey) GetTenantId() string
func (*InternalAPIKey) ProtoMessage ¶ added in v0.68.0
func (*InternalAPIKey) ProtoMessage()
func (*InternalAPIKey) ProtoReflect ¶ added in v0.68.0
func (x *InternalAPIKey) ProtoReflect() protoreflect.Message
func (*InternalAPIKey) Reset ¶ added in v0.68.0
func (x *InternalAPIKey) Reset()
func (*InternalAPIKey) String ¶ added in v0.68.0
func (x *InternalAPIKey) String() string
type InternalOrganization ¶ added in v0.68.0
type InternalOrganization struct { Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"` TenantId string `protobuf:"bytes,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` // contains filtered or unexported fields }
func (*InternalOrganization) Descriptor
deprecated
added in
v0.68.0
func (*InternalOrganization) Descriptor() ([]byte, []int)
Deprecated: Use InternalOrganization.ProtoReflect.Descriptor instead.
func (*InternalOrganization) GetOrganization ¶ added in v0.68.0
func (x *InternalOrganization) GetOrganization() *Organization
func (*InternalOrganization) GetTenantId ¶ added in v0.68.0
func (x *InternalOrganization) GetTenantId() string
func (*InternalOrganization) ProtoMessage ¶ added in v0.68.0
func (*InternalOrganization) ProtoMessage()
func (*InternalOrganization) ProtoReflect ¶ added in v0.68.0
func (x *InternalOrganization) ProtoReflect() protoreflect.Message
func (*InternalOrganization) Reset ¶ added in v0.68.0
func (x *InternalOrganization) Reset()
func (*InternalOrganization) String ¶ added in v0.68.0
func (x *InternalOrganization) String() string
type ListAPIKeysRequest ¶
type ListAPIKeysRequest struct { ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` OrganizationId string `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // contains filtered or unexported fields }
func (*ListAPIKeysRequest) Descriptor
deprecated
func (*ListAPIKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAPIKeysRequest.ProtoReflect.Descriptor instead.
func (*ListAPIKeysRequest) GetOrganizationId ¶ added in v0.63.0
func (x *ListAPIKeysRequest) GetOrganizationId() string
func (*ListAPIKeysRequest) GetProjectId ¶ added in v0.63.0
func (x *ListAPIKeysRequest) GetProjectId() string
func (*ListAPIKeysRequest) ProtoMessage ¶
func (*ListAPIKeysRequest) ProtoMessage()
func (*ListAPIKeysRequest) ProtoReflect ¶
func (x *ListAPIKeysRequest) ProtoReflect() protoreflect.Message
func (*ListAPIKeysRequest) Reset ¶
func (x *ListAPIKeysRequest) Reset()
func (*ListAPIKeysRequest) String ¶
func (x *ListAPIKeysRequest) String() string
type ListAPIKeysResponse ¶
type ListAPIKeysResponse struct { Object string `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"` Data []*APIKey `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ListAPIKeysResponse) Descriptor
deprecated
func (*ListAPIKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAPIKeysResponse.ProtoReflect.Descriptor instead.
func (*ListAPIKeysResponse) GetData ¶
func (x *ListAPIKeysResponse) GetData() []*APIKey
func (*ListAPIKeysResponse) GetObject ¶
func (x *ListAPIKeysResponse) GetObject() string
func (*ListAPIKeysResponse) ProtoMessage ¶
func (*ListAPIKeysResponse) ProtoMessage()
func (*ListAPIKeysResponse) ProtoReflect ¶
func (x *ListAPIKeysResponse) ProtoReflect() protoreflect.Message
func (*ListAPIKeysResponse) Reset ¶
func (x *ListAPIKeysResponse) Reset()
func (*ListAPIKeysResponse) String ¶
func (x *ListAPIKeysResponse) String() string
type ListInternalAPIKeysRequest ¶ added in v0.68.0
type ListInternalAPIKeysRequest struct {
// contains filtered or unexported fields
}
func (*ListInternalAPIKeysRequest) Descriptor
deprecated
added in
v0.68.0
func (*ListInternalAPIKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListInternalAPIKeysRequest.ProtoReflect.Descriptor instead.
func (*ListInternalAPIKeysRequest) ProtoMessage ¶ added in v0.68.0
func (*ListInternalAPIKeysRequest) ProtoMessage()
func (*ListInternalAPIKeysRequest) ProtoReflect ¶ added in v0.68.0
func (x *ListInternalAPIKeysRequest) ProtoReflect() protoreflect.Message
func (*ListInternalAPIKeysRequest) Reset ¶ added in v0.68.0
func (x *ListInternalAPIKeysRequest) Reset()
func (*ListInternalAPIKeysRequest) String ¶ added in v0.68.0
func (x *ListInternalAPIKeysRequest) String() string
type ListInternalAPIKeysResponse ¶ added in v0.68.0
type ListInternalAPIKeysResponse struct { ApiKeys []*InternalAPIKey `protobuf:"bytes,1,rep,name=api_keys,json=apiKeys,proto3" json:"api_keys,omitempty"` // contains filtered or unexported fields }
func (*ListInternalAPIKeysResponse) Descriptor
deprecated
added in
v0.68.0
func (*ListInternalAPIKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListInternalAPIKeysResponse.ProtoReflect.Descriptor instead.
func (*ListInternalAPIKeysResponse) GetApiKeys ¶ added in v0.68.0
func (x *ListInternalAPIKeysResponse) GetApiKeys() []*InternalAPIKey
func (*ListInternalAPIKeysResponse) ProtoMessage ¶ added in v0.68.0
func (*ListInternalAPIKeysResponse) ProtoMessage()
func (*ListInternalAPIKeysResponse) ProtoReflect ¶ added in v0.68.0
func (x *ListInternalAPIKeysResponse) ProtoReflect() protoreflect.Message
func (*ListInternalAPIKeysResponse) Reset ¶ added in v0.68.0
func (x *ListInternalAPIKeysResponse) Reset()
func (*ListInternalAPIKeysResponse) String ¶ added in v0.68.0
func (x *ListInternalAPIKeysResponse) String() string
type ListInternalOrganizationsRequest ¶ added in v0.68.0
type ListInternalOrganizationsRequest struct {
// contains filtered or unexported fields
}
func (*ListInternalOrganizationsRequest) Descriptor
deprecated
added in
v0.68.0
func (*ListInternalOrganizationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListInternalOrganizationsRequest.ProtoReflect.Descriptor instead.
func (*ListInternalOrganizationsRequest) ProtoMessage ¶ added in v0.68.0
func (*ListInternalOrganizationsRequest) ProtoMessage()
func (*ListInternalOrganizationsRequest) ProtoReflect ¶ added in v0.68.0
func (x *ListInternalOrganizationsRequest) ProtoReflect() protoreflect.Message
func (*ListInternalOrganizationsRequest) Reset ¶ added in v0.68.0
func (x *ListInternalOrganizationsRequest) Reset()
func (*ListInternalOrganizationsRequest) String ¶ added in v0.68.0
func (x *ListInternalOrganizationsRequest) String() string
type ListInternalOrganizationsResponse ¶ added in v0.68.0
type ListInternalOrganizationsResponse struct { Organizations []*InternalOrganization `protobuf:"bytes,1,rep,name=organizations,proto3" json:"organizations,omitempty"` // contains filtered or unexported fields }
func (*ListInternalOrganizationsResponse) Descriptor
deprecated
added in
v0.68.0
func (*ListInternalOrganizationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListInternalOrganizationsResponse.ProtoReflect.Descriptor instead.
func (*ListInternalOrganizationsResponse) GetOrganizations ¶ added in v0.68.0
func (x *ListInternalOrganizationsResponse) GetOrganizations() []*InternalOrganization
func (*ListInternalOrganizationsResponse) ProtoMessage ¶ added in v0.68.0
func (*ListInternalOrganizationsResponse) ProtoMessage()
func (*ListInternalOrganizationsResponse) ProtoReflect ¶ added in v0.68.0
func (x *ListInternalOrganizationsResponse) ProtoReflect() protoreflect.Message
func (*ListInternalOrganizationsResponse) Reset ¶ added in v0.68.0
func (x *ListInternalOrganizationsResponse) Reset()
func (*ListInternalOrganizationsResponse) String ¶ added in v0.68.0
func (x *ListInternalOrganizationsResponse) String() string
type ListOrganizationUsersRequest ¶ added in v0.13.0
type ListOrganizationUsersRequest struct { // organization_id must be set for UsersService. It is no-op for UsersInternalService. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // contains filtered or unexported fields }
func (*ListOrganizationUsersRequest) Descriptor
deprecated
added in
v0.13.0
func (*ListOrganizationUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListOrganizationUsersRequest.ProtoReflect.Descriptor instead.
func (*ListOrganizationUsersRequest) GetOrganizationId ¶ added in v0.21.0
func (x *ListOrganizationUsersRequest) GetOrganizationId() string
func (*ListOrganizationUsersRequest) ProtoMessage ¶ added in v0.13.0
func (*ListOrganizationUsersRequest) ProtoMessage()
func (*ListOrganizationUsersRequest) ProtoReflect ¶ added in v0.13.0
func (x *ListOrganizationUsersRequest) ProtoReflect() protoreflect.Message
func (*ListOrganizationUsersRequest) Reset ¶ added in v0.13.0
func (x *ListOrganizationUsersRequest) Reset()
func (*ListOrganizationUsersRequest) String ¶ added in v0.13.0
func (x *ListOrganizationUsersRequest) String() string
type ListOrganizationUsersResponse ¶ added in v0.13.0
type ListOrganizationUsersResponse struct { Users []*OrganizationUser `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*ListOrganizationUsersResponse) Descriptor
deprecated
added in
v0.13.0
func (*ListOrganizationUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListOrganizationUsersResponse.ProtoReflect.Descriptor instead.
func (*ListOrganizationUsersResponse) GetUsers ¶ added in v0.13.0
func (x *ListOrganizationUsersResponse) GetUsers() []*OrganizationUser
func (*ListOrganizationUsersResponse) ProtoMessage ¶ added in v0.13.0
func (*ListOrganizationUsersResponse) ProtoMessage()
func (*ListOrganizationUsersResponse) ProtoReflect ¶ added in v0.13.0
func (x *ListOrganizationUsersResponse) ProtoReflect() protoreflect.Message
func (*ListOrganizationUsersResponse) Reset ¶ added in v0.13.0
func (x *ListOrganizationUsersResponse) Reset()
func (*ListOrganizationUsersResponse) String ¶ added in v0.13.0
func (x *ListOrganizationUsersResponse) String() string
type ListOrganizationsRequest ¶ added in v0.10.0
type ListOrganizationsRequest struct {
// contains filtered or unexported fields
}
func (*ListOrganizationsRequest) Descriptor
deprecated
added in
v0.10.0
func (*ListOrganizationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListOrganizationsRequest.ProtoReflect.Descriptor instead.
func (*ListOrganizationsRequest) ProtoMessage ¶ added in v0.10.0
func (*ListOrganizationsRequest) ProtoMessage()
func (*ListOrganizationsRequest) ProtoReflect ¶ added in v0.10.0
func (x *ListOrganizationsRequest) ProtoReflect() protoreflect.Message
func (*ListOrganizationsRequest) Reset ¶ added in v0.10.0
func (x *ListOrganizationsRequest) Reset()
func (*ListOrganizationsRequest) String ¶ added in v0.10.0
func (x *ListOrganizationsRequest) String() string
type ListOrganizationsResponse ¶ added in v0.10.0
type ListOrganizationsResponse struct { Organizations []*Organization `protobuf:"bytes,1,rep,name=organizations,proto3" json:"organizations,omitempty"` // contains filtered or unexported fields }
func (*ListOrganizationsResponse) Descriptor
deprecated
added in
v0.10.0
func (*ListOrganizationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListOrganizationsResponse.ProtoReflect.Descriptor instead.
func (*ListOrganizationsResponse) GetOrganizations ¶ added in v0.10.0
func (x *ListOrganizationsResponse) GetOrganizations() []*Organization
func (*ListOrganizationsResponse) ProtoMessage ¶ added in v0.10.0
func (*ListOrganizationsResponse) ProtoMessage()
func (*ListOrganizationsResponse) ProtoReflect ¶ added in v0.10.0
func (x *ListOrganizationsResponse) ProtoReflect() protoreflect.Message
func (*ListOrganizationsResponse) Reset ¶ added in v0.10.0
func (x *ListOrganizationsResponse) Reset()
func (*ListOrganizationsResponse) String ¶ added in v0.10.0
func (x *ListOrganizationsResponse) String() string
type ListProjectUsersRequest ¶ added in v0.32.0
type ListProjectUsersRequest struct { // organization_id and project_id must be set for UsersService. It is no-op for UsersInternalService. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
func (*ListProjectUsersRequest) Descriptor
deprecated
added in
v0.32.0
func (*ListProjectUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectUsersRequest.ProtoReflect.Descriptor instead.
func (*ListProjectUsersRequest) GetOrganizationId ¶ added in v0.32.0
func (x *ListProjectUsersRequest) GetOrganizationId() string
func (*ListProjectUsersRequest) GetProjectId ¶ added in v0.32.0
func (x *ListProjectUsersRequest) GetProjectId() string
func (*ListProjectUsersRequest) ProtoMessage ¶ added in v0.32.0
func (*ListProjectUsersRequest) ProtoMessage()
func (*ListProjectUsersRequest) ProtoReflect ¶ added in v0.32.0
func (x *ListProjectUsersRequest) ProtoReflect() protoreflect.Message
func (*ListProjectUsersRequest) Reset ¶ added in v0.32.0
func (x *ListProjectUsersRequest) Reset()
func (*ListProjectUsersRequest) String ¶ added in v0.32.0
func (x *ListProjectUsersRequest) String() string
type ListProjectUsersResponse ¶ added in v0.32.0
type ListProjectUsersResponse struct { Users []*ProjectUser `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*ListProjectUsersResponse) Descriptor
deprecated
added in
v0.32.0
func (*ListProjectUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectUsersResponse.ProtoReflect.Descriptor instead.
func (*ListProjectUsersResponse) GetUsers ¶ added in v0.32.0
func (x *ListProjectUsersResponse) GetUsers() []*ProjectUser
func (*ListProjectUsersResponse) ProtoMessage ¶ added in v0.32.0
func (*ListProjectUsersResponse) ProtoMessage()
func (*ListProjectUsersResponse) ProtoReflect ¶ added in v0.32.0
func (x *ListProjectUsersResponse) ProtoReflect() protoreflect.Message
func (*ListProjectUsersResponse) Reset ¶ added in v0.32.0
func (x *ListProjectUsersResponse) Reset()
func (*ListProjectUsersResponse) String ¶ added in v0.32.0
func (x *ListProjectUsersResponse) String() string
type ListProjectsRequest ¶ added in v0.32.0
type ListProjectsRequest struct { OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // contains filtered or unexported fields }
func (*ListProjectsRequest) Descriptor
deprecated
added in
v0.32.0
func (*ListProjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectsRequest.ProtoReflect.Descriptor instead.
func (*ListProjectsRequest) GetOrganizationId ¶ added in v0.32.0
func (x *ListProjectsRequest) GetOrganizationId() string
func (*ListProjectsRequest) ProtoMessage ¶ added in v0.32.0
func (*ListProjectsRequest) ProtoMessage()
func (*ListProjectsRequest) ProtoReflect ¶ added in v0.32.0
func (x *ListProjectsRequest) ProtoReflect() protoreflect.Message
func (*ListProjectsRequest) Reset ¶ added in v0.32.0
func (x *ListProjectsRequest) Reset()
func (*ListProjectsRequest) String ¶ added in v0.32.0
func (x *ListProjectsRequest) String() string
type ListProjectsResponse ¶ added in v0.32.0
type ListProjectsResponse struct { Projects []*Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"` // contains filtered or unexported fields }
func (*ListProjectsResponse) Descriptor
deprecated
added in
v0.32.0
func (*ListProjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectsResponse.ProtoReflect.Descriptor instead.
func (*ListProjectsResponse) GetProjects ¶ added in v0.32.0
func (x *ListProjectsResponse) GetProjects() []*Project
func (*ListProjectsResponse) ProtoMessage ¶ added in v0.32.0
func (*ListProjectsResponse) ProtoMessage()
func (*ListProjectsResponse) ProtoReflect ¶ added in v0.32.0
func (x *ListProjectsResponse) ProtoReflect() protoreflect.Message
func (*ListProjectsResponse) Reset ¶ added in v0.32.0
func (x *ListProjectsResponse) Reset()
func (*ListProjectsResponse) String ¶ added in v0.32.0
func (x *ListProjectsResponse) String() string
type Organization ¶ added in v0.5.0
type Organization struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` CreatedAt int64 `protobuf:"varint,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*Organization) Descriptor
deprecated
added in
v0.5.0
func (*Organization) Descriptor() ([]byte, []int)
Deprecated: Use Organization.ProtoReflect.Descriptor instead.
func (*Organization) GetCreatedAt ¶ added in v0.10.0
func (x *Organization) GetCreatedAt() int64
func (*Organization) GetId ¶ added in v0.5.0
func (x *Organization) GetId() string
func (*Organization) GetTitle ¶ added in v0.10.0
func (x *Organization) GetTitle() string
func (*Organization) ProtoMessage ¶ added in v0.5.0
func (*Organization) ProtoMessage()
func (*Organization) ProtoReflect ¶ added in v0.5.0
func (x *Organization) ProtoReflect() protoreflect.Message
func (*Organization) Reset ¶ added in v0.5.0
func (x *Organization) Reset()
func (*Organization) String ¶ added in v0.5.0
func (x *Organization) String() string
type OrganizationRole ¶ added in v0.30.0
type OrganizationRole int32
const ( OrganizationRole_ORGANIZATION_ROLE_UNSPECIFIED OrganizationRole = 0 OrganizationRole_ORGANIZATION_ROLE_OWNER OrganizationRole = 1 OrganizationRole_ORGANIZATION_ROLE_READER OrganizationRole = 2 )
func (OrganizationRole) Descriptor ¶ added in v0.30.0
func (OrganizationRole) Descriptor() protoreflect.EnumDescriptor
func (OrganizationRole) Enum ¶ added in v0.30.0
func (x OrganizationRole) Enum() *OrganizationRole
func (OrganizationRole) EnumDescriptor
deprecated
added in
v0.30.0
func (OrganizationRole) EnumDescriptor() ([]byte, []int)
Deprecated: Use OrganizationRole.Descriptor instead.
func (OrganizationRole) Number ¶ added in v0.30.0
func (x OrganizationRole) Number() protoreflect.EnumNumber
func (OrganizationRole) String ¶ added in v0.30.0
func (x OrganizationRole) String() string
func (OrganizationRole) Type ¶ added in v0.30.0
func (OrganizationRole) Type() protoreflect.EnumType
type OrganizationUser ¶ added in v0.13.0
type OrganizationUser struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` OrganizationId string `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` Role OrganizationRole `protobuf:"varint,3,opt,name=role,proto3,enum=llmoperator.users.server.v1.OrganizationRole" json:"role,omitempty"` // contains filtered or unexported fields }
func (*OrganizationUser) Descriptor
deprecated
added in
v0.13.0
func (*OrganizationUser) Descriptor() ([]byte, []int)
Deprecated: Use OrganizationUser.ProtoReflect.Descriptor instead.
func (*OrganizationUser) GetOrganizationId ¶ added in v0.13.0
func (x *OrganizationUser) GetOrganizationId() string
func (*OrganizationUser) GetRole ¶ added in v0.13.0
func (x *OrganizationUser) GetRole() OrganizationRole
func (*OrganizationUser) GetUserId ¶ added in v0.13.0
func (x *OrganizationUser) GetUserId() string
func (*OrganizationUser) ProtoMessage ¶ added in v0.13.0
func (*OrganizationUser) ProtoMessage()
func (*OrganizationUser) ProtoReflect ¶ added in v0.13.0
func (x *OrganizationUser) ProtoReflect() protoreflect.Message
func (*OrganizationUser) Reset ¶ added in v0.13.0
func (x *OrganizationUser) Reset()
func (*OrganizationUser) String ¶ added in v0.13.0
func (x *OrganizationUser) String() string
type Project ¶ added in v0.32.0
type Project struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // kubernetes_namespace is the namespace where the fine-tuning jobs for the project run. KubernetesNamespace string `protobuf:"bytes,3,opt,name=kubernetes_namespace,json=kubernetesNamespace,proto3" json:"kubernetes_namespace,omitempty"` OrganizationId string `protobuf:"bytes,4,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` CreatedAt int64 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*Project) Descriptor
deprecated
added in
v0.32.0
func (*Project) GetCreatedAt ¶ added in v0.32.0
func (*Project) GetKubernetesNamespace ¶ added in v0.32.0
func (*Project) GetOrganizationId ¶ added in v0.32.0
func (*Project) ProtoMessage ¶ added in v0.32.0
func (*Project) ProtoMessage()
func (*Project) ProtoReflect ¶ added in v0.32.0
func (x *Project) ProtoReflect() protoreflect.Message
type ProjectRole ¶ added in v0.32.0
type ProjectRole int32
const ( ProjectRole_PROJECT_ROLE_UNSPECIFIED ProjectRole = 0 ProjectRole_PROJECT_ROLE_OWNER ProjectRole = 1 ProjectRole_PROJECT_ROLE_MEMBER ProjectRole = 2 )
func (ProjectRole) Descriptor ¶ added in v0.32.0
func (ProjectRole) Descriptor() protoreflect.EnumDescriptor
func (ProjectRole) Enum ¶ added in v0.32.0
func (x ProjectRole) Enum() *ProjectRole
func (ProjectRole) EnumDescriptor
deprecated
added in
v0.32.0
func (ProjectRole) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProjectRole.Descriptor instead.
func (ProjectRole) Number ¶ added in v0.32.0
func (x ProjectRole) Number() protoreflect.EnumNumber
func (ProjectRole) String ¶ added in v0.32.0
func (x ProjectRole) String() string
func (ProjectRole) Type ¶ added in v0.32.0
func (ProjectRole) Type() protoreflect.EnumType
type ProjectUser ¶ added in v0.32.0
type ProjectUser struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` OrganizationId string `protobuf:"bytes,3,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` Role ProjectRole `protobuf:"varint,4,opt,name=role,proto3,enum=llmoperator.users.server.v1.ProjectRole" json:"role,omitempty"` // contains filtered or unexported fields }
func (*ProjectUser) Descriptor
deprecated
added in
v0.32.0
func (*ProjectUser) Descriptor() ([]byte, []int)
Deprecated: Use ProjectUser.ProtoReflect.Descriptor instead.
func (*ProjectUser) GetOrganizationId ¶ added in v0.32.0
func (x *ProjectUser) GetOrganizationId() string
func (*ProjectUser) GetProjectId ¶ added in v0.32.0
func (x *ProjectUser) GetProjectId() string
func (*ProjectUser) GetRole ¶ added in v0.32.0
func (x *ProjectUser) GetRole() ProjectRole
func (*ProjectUser) GetUserId ¶ added in v0.32.0
func (x *ProjectUser) GetUserId() string
func (*ProjectUser) ProtoMessage ¶ added in v0.32.0
func (*ProjectUser) ProtoMessage()
func (*ProjectUser) ProtoReflect ¶ added in v0.32.0
func (x *ProjectUser) ProtoReflect() protoreflect.Message
func (*ProjectUser) Reset ¶ added in v0.32.0
func (x *ProjectUser) Reset()
func (*ProjectUser) String ¶ added in v0.32.0
func (x *ProjectUser) String() string
type UnimplementedUsersInternalServiceServer ¶
type UnimplementedUsersInternalServiceServer struct { }
UnimplementedUsersInternalServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedUsersInternalServiceServer) ListInternalAPIKeys ¶ added in v0.68.0
func (UnimplementedUsersInternalServiceServer) ListInternalAPIKeys(context.Context, *ListInternalAPIKeysRequest) (*ListInternalAPIKeysResponse, error)
func (UnimplementedUsersInternalServiceServer) ListInternalOrganizations ¶ added in v0.68.0
func (UnimplementedUsersInternalServiceServer) ListInternalOrganizations(context.Context, *ListInternalOrganizationsRequest) (*ListInternalOrganizationsResponse, error)
func (UnimplementedUsersInternalServiceServer) ListOrganizationUsers ¶ added in v0.13.0
func (UnimplementedUsersInternalServiceServer) ListOrganizationUsers(context.Context, *ListOrganizationUsersRequest) (*ListOrganizationUsersResponse, error)
func (UnimplementedUsersInternalServiceServer) ListProjectUsers ¶ added in v0.32.0
func (UnimplementedUsersInternalServiceServer) ListProjectUsers(context.Context, *ListProjectUsersRequest) (*ListProjectUsersResponse, error)
func (UnimplementedUsersInternalServiceServer) ListProjects ¶ added in v0.32.0
func (UnimplementedUsersInternalServiceServer) ListProjects(context.Context, *ListProjectsRequest) (*ListProjectsResponse, error)
type UnimplementedUsersServiceServer ¶
type UnimplementedUsersServiceServer struct { }
UnimplementedUsersServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedUsersServiceServer) CreateAPIKey ¶
func (UnimplementedUsersServiceServer) CreateAPIKey(context.Context, *CreateAPIKeyRequest) (*APIKey, error)
func (UnimplementedUsersServiceServer) CreateOrganization ¶ added in v0.10.0
func (UnimplementedUsersServiceServer) CreateOrganization(context.Context, *CreateOrganizationRequest) (*Organization, error)
func (UnimplementedUsersServiceServer) CreateOrganizationUser ¶ added in v0.20.0
func (UnimplementedUsersServiceServer) CreateOrganizationUser(context.Context, *CreateOrganizationUserRequest) (*OrganizationUser, error)
func (UnimplementedUsersServiceServer) CreateProject ¶ added in v0.32.0
func (UnimplementedUsersServiceServer) CreateProject(context.Context, *CreateProjectRequest) (*Project, error)
func (UnimplementedUsersServiceServer) CreateProjectUser ¶ added in v0.32.0
func (UnimplementedUsersServiceServer) CreateProjectUser(context.Context, *CreateProjectUserRequest) (*ProjectUser, error)
func (UnimplementedUsersServiceServer) DeleteAPIKey ¶
func (UnimplementedUsersServiceServer) DeleteAPIKey(context.Context, *DeleteAPIKeyRequest) (*DeleteAPIKeyResponse, error)
func (UnimplementedUsersServiceServer) DeleteOrganization ¶ added in v0.10.0
func (UnimplementedUsersServiceServer) DeleteOrganization(context.Context, *DeleteOrganizationRequest) (*DeleteOrganizationResponse, error)
func (UnimplementedUsersServiceServer) DeleteOrganizationUser ¶ added in v0.22.0
func (UnimplementedUsersServiceServer) DeleteOrganizationUser(context.Context, *DeleteOrganizationUserRequest) (*emptypb.Empty, error)
func (UnimplementedUsersServiceServer) DeleteProject ¶ added in v0.32.0
func (UnimplementedUsersServiceServer) DeleteProject(context.Context, *DeleteProjectRequest) (*DeleteProjectResponse, error)
func (UnimplementedUsersServiceServer) DeleteProjectUser ¶ added in v0.32.0
func (UnimplementedUsersServiceServer) DeleteProjectUser(context.Context, *DeleteProjectUserRequest) (*emptypb.Empty, error)
func (UnimplementedUsersServiceServer) ListAPIKeys ¶
func (UnimplementedUsersServiceServer) ListAPIKeys(context.Context, *ListAPIKeysRequest) (*ListAPIKeysResponse, error)
func (UnimplementedUsersServiceServer) ListOrganizationUsers ¶ added in v0.21.0
func (UnimplementedUsersServiceServer) ListOrganizationUsers(context.Context, *ListOrganizationUsersRequest) (*ListOrganizationUsersResponse, error)
func (UnimplementedUsersServiceServer) ListOrganizations ¶ added in v0.10.0
func (UnimplementedUsersServiceServer) ListOrganizations(context.Context, *ListOrganizationsRequest) (*ListOrganizationsResponse, error)
func (UnimplementedUsersServiceServer) ListProjectUsers ¶ added in v0.32.0
func (UnimplementedUsersServiceServer) ListProjectUsers(context.Context, *ListProjectUsersRequest) (*ListProjectUsersResponse, error)
func (UnimplementedUsersServiceServer) ListProjects ¶ added in v0.32.0
func (UnimplementedUsersServiceServer) ListProjects(context.Context, *ListProjectsRequest) (*ListProjectsResponse, error)
type UnsafeUsersInternalServiceServer ¶
type UnsafeUsersInternalServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUsersInternalServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UsersInternalServiceServer will result in compilation errors.
type UnsafeUsersServiceServer ¶
type UnsafeUsersServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUsersServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UsersServiceServer will result in compilation errors.
type User ¶ added in v0.5.0
type User struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
added in
v0.5.0
func (*User) ProtoMessage ¶ added in v0.5.0
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶ added in v0.5.0
func (x *User) ProtoReflect() protoreflect.Message
type UsersInternalServiceClient ¶
type UsersInternalServiceClient interface { ListInternalAPIKeys(ctx context.Context, in *ListInternalAPIKeysRequest, opts ...grpc.CallOption) (*ListInternalAPIKeysResponse, error) ListInternalOrganizations(ctx context.Context, in *ListInternalOrganizationsRequest, opts ...grpc.CallOption) (*ListInternalOrganizationsResponse, error) ListOrganizationUsers(ctx context.Context, in *ListOrganizationUsersRequest, opts ...grpc.CallOption) (*ListOrganizationUsersResponse, error) ListProjects(ctx context.Context, in *ListProjectsRequest, opts ...grpc.CallOption) (*ListProjectsResponse, error) ListProjectUsers(ctx context.Context, in *ListProjectUsersRequest, opts ...grpc.CallOption) (*ListProjectUsersResponse, error) }
UsersInternalServiceClient is the client API for UsersInternalService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewUsersInternalServiceClient ¶
func NewUsersInternalServiceClient(cc grpc.ClientConnInterface) UsersInternalServiceClient
type UsersInternalServiceServer ¶
type UsersInternalServiceServer interface { ListInternalAPIKeys(context.Context, *ListInternalAPIKeysRequest) (*ListInternalAPIKeysResponse, error) ListInternalOrganizations(context.Context, *ListInternalOrganizationsRequest) (*ListInternalOrganizationsResponse, error) ListOrganizationUsers(context.Context, *ListOrganizationUsersRequest) (*ListOrganizationUsersResponse, error) ListProjects(context.Context, *ListProjectsRequest) (*ListProjectsResponse, error) ListProjectUsers(context.Context, *ListProjectUsersRequest) (*ListProjectUsersResponse, error) // contains filtered or unexported methods }
UsersInternalServiceServer is the server API for UsersInternalService service. All implementations must embed UnimplementedUsersInternalServiceServer for forward compatibility
type UsersServiceClient ¶
type UsersServiceClient interface { CreateAPIKey(ctx context.Context, in *CreateAPIKeyRequest, opts ...grpc.CallOption) (*APIKey, error) ListAPIKeys(ctx context.Context, in *ListAPIKeysRequest, opts ...grpc.CallOption) (*ListAPIKeysResponse, error) DeleteAPIKey(ctx context.Context, in *DeleteAPIKeyRequest, opts ...grpc.CallOption) (*DeleteAPIKeyResponse, error) CreateOrganization(ctx context.Context, in *CreateOrganizationRequest, opts ...grpc.CallOption) (*Organization, error) ListOrganizations(ctx context.Context, in *ListOrganizationsRequest, opts ...grpc.CallOption) (*ListOrganizationsResponse, error) DeleteOrganization(ctx context.Context, in *DeleteOrganizationRequest, opts ...grpc.CallOption) (*DeleteOrganizationResponse, error) CreateOrganizationUser(ctx context.Context, in *CreateOrganizationUserRequest, opts ...grpc.CallOption) (*OrganizationUser, error) ListOrganizationUsers(ctx context.Context, in *ListOrganizationUsersRequest, opts ...grpc.CallOption) (*ListOrganizationUsersResponse, error) DeleteOrganizationUser(ctx context.Context, in *DeleteOrganizationUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) CreateProject(ctx context.Context, in *CreateProjectRequest, opts ...grpc.CallOption) (*Project, error) ListProjects(ctx context.Context, in *ListProjectsRequest, opts ...grpc.CallOption) (*ListProjectsResponse, error) DeleteProject(ctx context.Context, in *DeleteProjectRequest, opts ...grpc.CallOption) (*DeleteProjectResponse, error) CreateProjectUser(ctx context.Context, in *CreateProjectUserRequest, opts ...grpc.CallOption) (*ProjectUser, error) ListProjectUsers(ctx context.Context, in *ListProjectUsersRequest, opts ...grpc.CallOption) (*ListProjectUsersResponse, error) DeleteProjectUser(ctx context.Context, in *DeleteProjectUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
UsersServiceClient is the client API for UsersService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewUsersServiceClient ¶
func NewUsersServiceClient(cc grpc.ClientConnInterface) UsersServiceClient
type UsersServiceServer ¶
type UsersServiceServer interface { CreateAPIKey(context.Context, *CreateAPIKeyRequest) (*APIKey, error) ListAPIKeys(context.Context, *ListAPIKeysRequest) (*ListAPIKeysResponse, error) DeleteAPIKey(context.Context, *DeleteAPIKeyRequest) (*DeleteAPIKeyResponse, error) CreateOrganization(context.Context, *CreateOrganizationRequest) (*Organization, error) ListOrganizations(context.Context, *ListOrganizationsRequest) (*ListOrganizationsResponse, error) DeleteOrganization(context.Context, *DeleteOrganizationRequest) (*DeleteOrganizationResponse, error) CreateOrganizationUser(context.Context, *CreateOrganizationUserRequest) (*OrganizationUser, error) ListOrganizationUsers(context.Context, *ListOrganizationUsersRequest) (*ListOrganizationUsersResponse, error) DeleteOrganizationUser(context.Context, *DeleteOrganizationUserRequest) (*emptypb.Empty, error) CreateProject(context.Context, *CreateProjectRequest) (*Project, error) ListProjects(context.Context, *ListProjectsRequest) (*ListProjectsResponse, error) DeleteProject(context.Context, *DeleteProjectRequest) (*DeleteProjectResponse, error) CreateProjectUser(context.Context, *CreateProjectUserRequest) (*ProjectUser, error) ListProjectUsers(context.Context, *ListProjectUsersRequest) (*ListProjectUsersResponse, error) DeleteProjectUser(context.Context, *DeleteProjectUserRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
UsersServiceServer is the server API for UsersService service. All implementations must embed UnimplementedUsersServiceServer for forward compatibility