Documentation ¶
Overview ¶
Package partitionv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package partitionv1 is a generated GoMock package.
Index ¶
- Constants
- Variables
- func CreateProxyHandler(ctx context.Context, proxyOptions common.ProxyOptions) (*http.ServeMux, error)
- func RegisterPartitionServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterPartitionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PartitionServiceClient) error
- func RegisterPartitionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterPartitionServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PartitionServiceServer) error
- func RegisterPartitionServiceServer(s grpc.ServiceRegistrar, srv PartitionServiceServer)
- func ToContext(ctx context.Context, partitionsClient *PartitionClient) context.Context
- type AccessObject
- func (*AccessObject) Descriptor() ([]byte, []int)deprecated
- func (x *AccessObject) GetAccessId() string
- func (x *AccessObject) GetPartition() *PartitionObject
- func (x *AccessObject) GetProfileId() string
- func (x *AccessObject) GetState() v1.STATE
- func (*AccessObject) ProtoMessage()
- func (x *AccessObject) ProtoReflect() protoreflect.Message
- func (x *AccessObject) Reset()
- func (x *AccessObject) String() string
- type AccessRoleObject
- func (*AccessRoleObject) Descriptor() ([]byte, []int)deprecated
- func (x *AccessRoleObject) GetAccessId() string
- func (x *AccessRoleObject) GetAccessRoleId() string
- func (x *AccessRoleObject) GetRole() *PartitionRoleObject
- func (*AccessRoleObject) ProtoMessage()
- func (x *AccessRoleObject) ProtoReflect() protoreflect.Message
- func (x *AccessRoleObject) Reset()
- func (x *AccessRoleObject) String() string
- type CreateAccessRequest
- func (*CreateAccessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccessRequest) GetClientId() string
- func (x *CreateAccessRequest) GetPartition() isCreateAccessRequest_Partition
- func (x *CreateAccessRequest) GetPartitionId() string
- func (x *CreateAccessRequest) GetProfileId() string
- func (*CreateAccessRequest) ProtoMessage()
- func (x *CreateAccessRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAccessRequest) Reset()
- func (x *CreateAccessRequest) String() string
- type CreateAccessRequest_ClientId
- type CreateAccessRequest_PartitionId
- type CreateAccessResponse
- func (*CreateAccessResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccessResponse) GetData() *AccessObject
- func (*CreateAccessResponse) ProtoMessage()
- func (x *CreateAccessResponse) ProtoReflect() protoreflect.Message
- func (x *CreateAccessResponse) Reset()
- func (x *CreateAccessResponse) String() string
- type CreateAccessRoleRequest
- func (*CreateAccessRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccessRoleRequest) GetAccessId() string
- func (x *CreateAccessRoleRequest) GetPartitionRoleId() string
- func (*CreateAccessRoleRequest) ProtoMessage()
- func (x *CreateAccessRoleRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAccessRoleRequest) Reset()
- func (x *CreateAccessRoleRequest) String() string
- type CreateAccessRoleResponse
- func (*CreateAccessRoleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccessRoleResponse) GetData() *AccessRoleObject
- func (*CreateAccessRoleResponse) ProtoMessage()
- func (x *CreateAccessRoleResponse) ProtoReflect() protoreflect.Message
- func (x *CreateAccessRoleResponse) Reset()
- func (x *CreateAccessRoleResponse) String() string
- type CreatePageRequest
- func (*CreatePageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePageRequest) GetHtml() string
- func (x *CreatePageRequest) GetName() string
- func (x *CreatePageRequest) GetPartitionId() string
- func (*CreatePageRequest) ProtoMessage()
- func (x *CreatePageRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePageRequest) Reset()
- func (x *CreatePageRequest) String() string
- type CreatePageResponse
- func (*CreatePageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePageResponse) GetData() *PageObject
- func (*CreatePageResponse) ProtoMessage()
- func (x *CreatePageResponse) ProtoReflect() protoreflect.Message
- func (x *CreatePageResponse) Reset()
- func (x *CreatePageResponse) String() string
- type CreatePartitionRequest
- func (*CreatePartitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePartitionRequest) GetDescription() string
- func (x *CreatePartitionRequest) GetName() string
- func (x *CreatePartitionRequest) GetParentId() string
- func (x *CreatePartitionRequest) GetProperties() map[string]string
- func (x *CreatePartitionRequest) GetTenantId() string
- func (*CreatePartitionRequest) ProtoMessage()
- func (x *CreatePartitionRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePartitionRequest) Reset()
- func (x *CreatePartitionRequest) String() string
- type CreatePartitionResponse
- func (*CreatePartitionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePartitionResponse) GetData() *PartitionObject
- func (*CreatePartitionResponse) ProtoMessage()
- func (x *CreatePartitionResponse) ProtoReflect() protoreflect.Message
- func (x *CreatePartitionResponse) Reset()
- func (x *CreatePartitionResponse) String() string
- type CreatePartitionRoleRequest
- func (*CreatePartitionRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePartitionRoleRequest) GetName() string
- func (x *CreatePartitionRoleRequest) GetPartitionId() string
- func (x *CreatePartitionRoleRequest) GetProperties() map[string]string
- func (*CreatePartitionRoleRequest) ProtoMessage()
- func (x *CreatePartitionRoleRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePartitionRoleRequest) Reset()
- func (x *CreatePartitionRoleRequest) String() string
- type CreatePartitionRoleResponse
- func (*CreatePartitionRoleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePartitionRoleResponse) GetData() *PartitionRoleObject
- func (*CreatePartitionRoleResponse) ProtoMessage()
- func (x *CreatePartitionRoleResponse) ProtoReflect() protoreflect.Message
- func (x *CreatePartitionRoleResponse) Reset()
- func (x *CreatePartitionRoleResponse) String() string
- type CreateTenantRequest
- func (*CreateTenantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTenantRequest) GetDescription() string
- func (x *CreateTenantRequest) GetName() string
- func (x *CreateTenantRequest) GetProperties() map[string]string
- func (*CreateTenantRequest) ProtoMessage()
- func (x *CreateTenantRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTenantRequest) Reset()
- func (x *CreateTenantRequest) String() string
- type CreateTenantResponse
- func (*CreateTenantResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTenantResponse) GetData() *TenantObject
- func (*CreateTenantResponse) ProtoMessage()
- func (x *CreateTenantResponse) ProtoReflect() protoreflect.Message
- func (x *CreateTenantResponse) Reset()
- func (x *CreateTenantResponse) String() string
- type GetAccessRequest
- func (*GetAccessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccessRequest) GetAccessId() string
- func (x *GetAccessRequest) GetClientId() string
- func (x *GetAccessRequest) GetPartition() isGetAccessRequest_Partition
- func (x *GetAccessRequest) GetPartitionId() string
- func (x *GetAccessRequest) GetProfileId() string
- func (*GetAccessRequest) ProtoMessage()
- func (x *GetAccessRequest) ProtoReflect() protoreflect.Message
- func (x *GetAccessRequest) Reset()
- func (x *GetAccessRequest) String() string
- type GetAccessRequest_ClientId
- type GetAccessRequest_PartitionId
- type GetAccessResponse
- func (*GetAccessResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccessResponse) GetData() *AccessObject
- func (*GetAccessResponse) ProtoMessage()
- func (x *GetAccessResponse) ProtoReflect() protoreflect.Message
- func (x *GetAccessResponse) Reset()
- func (x *GetAccessResponse) String() string
- type GetPageRequest
- func (*GetPageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPageRequest) GetName() string
- func (x *GetPageRequest) GetPageId() string
- func (x *GetPageRequest) GetPartitionId() string
- func (*GetPageRequest) ProtoMessage()
- func (x *GetPageRequest) ProtoReflect() protoreflect.Message
- func (x *GetPageRequest) Reset()
- func (x *GetPageRequest) String() string
- type GetPageResponse
- type GetPartitionRequest
- func (*GetPartitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPartitionRequest) GetId() string
- func (*GetPartitionRequest) ProtoMessage()
- func (x *GetPartitionRequest) ProtoReflect() protoreflect.Message
- func (x *GetPartitionRequest) Reset()
- func (x *GetPartitionRequest) String() string
- type GetPartitionResponse
- func (*GetPartitionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPartitionResponse) GetData() *PartitionObject
- func (*GetPartitionResponse) ProtoMessage()
- func (x *GetPartitionResponse) ProtoReflect() protoreflect.Message
- func (x *GetPartitionResponse) Reset()
- func (x *GetPartitionResponse) String() string
- type GetTenantRequest
- type GetTenantResponse
- func (*GetTenantResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTenantResponse) GetData() *TenantObject
- func (*GetTenantResponse) ProtoMessage()
- func (x *GetTenantResponse) ProtoReflect() protoreflect.Message
- func (x *GetTenantResponse) Reset()
- func (x *GetTenantResponse) String() string
- type ListAccessRoleRequest
- func (*ListAccessRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccessRoleRequest) GetAccessId() string
- func (*ListAccessRoleRequest) ProtoMessage()
- func (x *ListAccessRoleRequest) ProtoReflect() protoreflect.Message
- func (x *ListAccessRoleRequest) Reset()
- func (x *ListAccessRoleRequest) String() string
- type ListAccessRoleResponse
- func (*ListAccessRoleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccessRoleResponse) GetRole() []*AccessRoleObject
- func (*ListAccessRoleResponse) ProtoMessage()
- func (x *ListAccessRoleResponse) ProtoReflect() protoreflect.Message
- func (x *ListAccessRoleResponse) Reset()
- func (x *ListAccessRoleResponse) String() string
- type ListPartitionRequest
- func (*ListPartitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPartitionRequest) GetCount() int32
- func (x *ListPartitionRequest) GetEndDate() string
- func (x *ListPartitionRequest) GetExtras() map[string]string
- func (x *ListPartitionRequest) GetPage() int64
- func (x *ListPartitionRequest) GetProperties() []string
- func (x *ListPartitionRequest) GetQuery() string
- func (x *ListPartitionRequest) GetStartDate() string
- func (*ListPartitionRequest) ProtoMessage()
- func (x *ListPartitionRequest) ProtoReflect() protoreflect.Message
- func (x *ListPartitionRequest) Reset()
- func (x *ListPartitionRequest) String() string
- type ListPartitionResponse
- func (*ListPartitionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPartitionResponse) GetData() []*PartitionObject
- func (*ListPartitionResponse) ProtoMessage()
- func (x *ListPartitionResponse) ProtoReflect() protoreflect.Message
- func (x *ListPartitionResponse) Reset()
- func (x *ListPartitionResponse) String() string
- type ListPartitionRoleRequest
- func (*ListPartitionRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPartitionRoleRequest) GetPartitionId() string
- func (*ListPartitionRoleRequest) ProtoMessage()
- func (x *ListPartitionRoleRequest) ProtoReflect() protoreflect.Message
- func (x *ListPartitionRoleRequest) Reset()
- func (x *ListPartitionRoleRequest) String() string
- type ListPartitionRoleResponse
- func (*ListPartitionRoleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPartitionRoleResponse) GetRole() []*PartitionRoleObject
- func (*ListPartitionRoleResponse) ProtoMessage()
- func (x *ListPartitionRoleResponse) ProtoReflect() protoreflect.Message
- func (x *ListPartitionRoleResponse) Reset()
- func (x *ListPartitionRoleResponse) String() string
- type ListTenantRequest
- func (*ListTenantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTenantRequest) GetCount() int32
- func (x *ListTenantRequest) GetEndDate() string
- func (x *ListTenantRequest) GetExtras() map[string]string
- func (x *ListTenantRequest) GetPage() int64
- func (x *ListTenantRequest) GetProperties() []string
- func (x *ListTenantRequest) GetQuery() string
- func (x *ListTenantRequest) GetStartDate() string
- func (*ListTenantRequest) ProtoMessage()
- func (x *ListTenantRequest) ProtoReflect() protoreflect.Message
- func (x *ListTenantRequest) Reset()
- func (x *ListTenantRequest) String() string
- type ListTenantResponse
- func (*ListTenantResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTenantResponse) GetData() []*TenantObject
- func (*ListTenantResponse) ProtoMessage()
- func (x *ListTenantResponse) ProtoReflect() protoreflect.Message
- func (x *ListTenantResponse) Reset()
- func (x *ListTenantResponse) String() string
- type MockPartitionServiceClient
- func (m *MockPartitionServiceClient) CreateAccess(ctx context.Context, in *CreateAccessRequest, opts ...grpc.CallOption) (*CreateAccessResponse, error)
- func (m *MockPartitionServiceClient) CreateAccessRole(ctx context.Context, in *CreateAccessRoleRequest, opts ...grpc.CallOption) (*CreateAccessRoleResponse, error)
- func (m *MockPartitionServiceClient) CreatePage(ctx context.Context, in *CreatePageRequest, opts ...grpc.CallOption) (*CreatePageResponse, error)
- func (m *MockPartitionServiceClient) CreatePartition(ctx context.Context, in *CreatePartitionRequest, opts ...grpc.CallOption) (*CreatePartitionResponse, error)
- func (m *MockPartitionServiceClient) CreatePartitionRole(ctx context.Context, in *CreatePartitionRoleRequest, opts ...grpc.CallOption) (*CreatePartitionRoleResponse, error)
- func (m *MockPartitionServiceClient) CreateTenant(ctx context.Context, in *CreateTenantRequest, opts ...grpc.CallOption) (*CreateTenantResponse, error)
- func (m *MockPartitionServiceClient) EXPECT() *MockPartitionServiceClientMockRecorder
- func (m *MockPartitionServiceClient) GetAccess(ctx context.Context, in *GetAccessRequest, opts ...grpc.CallOption) (*GetAccessResponse, error)
- func (m *MockPartitionServiceClient) GetPage(ctx context.Context, in *GetPageRequest, opts ...grpc.CallOption) (*GetPageResponse, error)
- func (m *MockPartitionServiceClient) GetPartition(ctx context.Context, in *GetPartitionRequest, opts ...grpc.CallOption) (*GetPartitionResponse, error)
- func (m *MockPartitionServiceClient) GetTenant(ctx context.Context, in *GetTenantRequest, opts ...grpc.CallOption) (*GetTenantResponse, error)
- func (m *MockPartitionServiceClient) ListAccessRole(ctx context.Context, in *ListAccessRoleRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ListAccessRoleResponse], error)
- func (m *MockPartitionServiceClient) ListPartition(ctx context.Context, in *ListPartitionRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ListPartitionResponse], error)
- func (m *MockPartitionServiceClient) ListPartitionRole(ctx context.Context, in *ListPartitionRoleRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ListPartitionRoleResponse], error)
- func (m *MockPartitionServiceClient) ListTenant(ctx context.Context, in *ListTenantRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ListTenantResponse], error)
- func (m *MockPartitionServiceClient) RemoveAccess(ctx context.Context, in *RemoveAccessRequest, opts ...grpc.CallOption) (*RemoveAccessResponse, error)
- func (m *MockPartitionServiceClient) RemoveAccessRole(ctx context.Context, in *RemoveAccessRoleRequest, opts ...grpc.CallOption) (*RemoveAccessRoleResponse, error)
- func (m *MockPartitionServiceClient) RemovePage(ctx context.Context, in *RemovePageRequest, opts ...grpc.CallOption) (*RemovePageResponse, error)
- func (m *MockPartitionServiceClient) RemovePartitionRole(ctx context.Context, in *RemovePartitionRoleRequest, opts ...grpc.CallOption) (*RemovePartitionRoleResponse, error)
- func (m *MockPartitionServiceClient) UpdatePartition(ctx context.Context, in *UpdatePartitionRequest, opts ...grpc.CallOption) (*UpdatePartitionResponse, error)
- type MockPartitionServiceClientMockRecorder
- func (mr *MockPartitionServiceClientMockRecorder) CreateAccess(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockPartitionServiceClientMockRecorder) CreateAccessRole(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockPartitionServiceClientMockRecorder) CreatePage(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockPartitionServiceClientMockRecorder) CreatePartition(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockPartitionServiceClientMockRecorder) CreatePartitionRole(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockPartitionServiceClientMockRecorder) CreateTenant(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockPartitionServiceClientMockRecorder) GetAccess(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockPartitionServiceClientMockRecorder) GetPage(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockPartitionServiceClientMockRecorder) GetPartition(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockPartitionServiceClientMockRecorder) GetTenant(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockPartitionServiceClientMockRecorder) ListAccessRole(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockPartitionServiceClientMockRecorder) ListPartition(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockPartitionServiceClientMockRecorder) ListPartitionRole(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockPartitionServiceClientMockRecorder) ListTenant(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockPartitionServiceClientMockRecorder) RemoveAccess(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockPartitionServiceClientMockRecorder) RemoveAccessRole(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockPartitionServiceClientMockRecorder) RemovePage(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockPartitionServiceClientMockRecorder) RemovePartitionRole(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockPartitionServiceClientMockRecorder) UpdatePartition(ctx, in any, opts ...any) *gomock.Call
- type MockPartitionServiceServer
- func (m *MockPartitionServiceServer) CreateAccess(arg0 context.Context, arg1 *CreateAccessRequest) (*CreateAccessResponse, error)
- func (m *MockPartitionServiceServer) CreateAccessRole(arg0 context.Context, arg1 *CreateAccessRoleRequest) (*CreateAccessRoleResponse, error)
- func (m *MockPartitionServiceServer) CreatePage(arg0 context.Context, arg1 *CreatePageRequest) (*CreatePageResponse, error)
- func (m *MockPartitionServiceServer) CreatePartition(arg0 context.Context, arg1 *CreatePartitionRequest) (*CreatePartitionResponse, error)
- func (m *MockPartitionServiceServer) CreatePartitionRole(arg0 context.Context, arg1 *CreatePartitionRoleRequest) (*CreatePartitionRoleResponse, error)
- func (m *MockPartitionServiceServer) CreateTenant(arg0 context.Context, arg1 *CreateTenantRequest) (*CreateTenantResponse, error)
- func (m *MockPartitionServiceServer) EXPECT() *MockPartitionServiceServerMockRecorder
- func (m *MockPartitionServiceServer) GetAccess(arg0 context.Context, arg1 *GetAccessRequest) (*GetAccessResponse, error)
- func (m *MockPartitionServiceServer) GetPage(arg0 context.Context, arg1 *GetPageRequest) (*GetPageResponse, error)
- func (m *MockPartitionServiceServer) GetPartition(arg0 context.Context, arg1 *GetPartitionRequest) (*GetPartitionResponse, error)
- func (m *MockPartitionServiceServer) GetTenant(arg0 context.Context, arg1 *GetTenantRequest) (*GetTenantResponse, error)
- func (m *MockPartitionServiceServer) ListAccessRole(arg0 *ListAccessRoleRequest, ...) error
- func (m *MockPartitionServiceServer) ListPartition(arg0 *ListPartitionRequest, ...) error
- func (m *MockPartitionServiceServer) ListPartitionRole(arg0 *ListPartitionRoleRequest, ...) error
- func (m *MockPartitionServiceServer) ListTenant(arg0 *ListTenantRequest, arg1 grpc.ServerStreamingServer[ListTenantResponse]) error
- func (m *MockPartitionServiceServer) RemoveAccess(arg0 context.Context, arg1 *RemoveAccessRequest) (*RemoveAccessResponse, error)
- func (m *MockPartitionServiceServer) RemoveAccessRole(arg0 context.Context, arg1 *RemoveAccessRoleRequest) (*RemoveAccessRoleResponse, error)
- func (m *MockPartitionServiceServer) RemovePage(arg0 context.Context, arg1 *RemovePageRequest) (*RemovePageResponse, error)
- func (m *MockPartitionServiceServer) RemovePartitionRole(arg0 context.Context, arg1 *RemovePartitionRoleRequest) (*RemovePartitionRoleResponse, error)
- func (m *MockPartitionServiceServer) UpdatePartition(arg0 context.Context, arg1 *UpdatePartitionRequest) (*UpdatePartitionResponse, error)
- type MockPartitionServiceServerMockRecorder
- func (mr *MockPartitionServiceServerMockRecorder) CreateAccess(arg0, arg1 any) *gomock.Call
- func (mr *MockPartitionServiceServerMockRecorder) CreateAccessRole(arg0, arg1 any) *gomock.Call
- func (mr *MockPartitionServiceServerMockRecorder) CreatePage(arg0, arg1 any) *gomock.Call
- func (mr *MockPartitionServiceServerMockRecorder) CreatePartition(arg0, arg1 any) *gomock.Call
- func (mr *MockPartitionServiceServerMockRecorder) CreatePartitionRole(arg0, arg1 any) *gomock.Call
- func (mr *MockPartitionServiceServerMockRecorder) CreateTenant(arg0, arg1 any) *gomock.Call
- func (mr *MockPartitionServiceServerMockRecorder) GetAccess(arg0, arg1 any) *gomock.Call
- func (mr *MockPartitionServiceServerMockRecorder) GetPage(arg0, arg1 any) *gomock.Call
- func (mr *MockPartitionServiceServerMockRecorder) GetPartition(arg0, arg1 any) *gomock.Call
- func (mr *MockPartitionServiceServerMockRecorder) GetTenant(arg0, arg1 any) *gomock.Call
- func (mr *MockPartitionServiceServerMockRecorder) ListAccessRole(arg0, arg1 any) *gomock.Call
- func (mr *MockPartitionServiceServerMockRecorder) ListPartition(arg0, arg1 any) *gomock.Call
- func (mr *MockPartitionServiceServerMockRecorder) ListPartitionRole(arg0, arg1 any) *gomock.Call
- func (mr *MockPartitionServiceServerMockRecorder) ListTenant(arg0, arg1 any) *gomock.Call
- func (mr *MockPartitionServiceServerMockRecorder) RemoveAccess(arg0, arg1 any) *gomock.Call
- func (mr *MockPartitionServiceServerMockRecorder) RemoveAccessRole(arg0, arg1 any) *gomock.Call
- func (mr *MockPartitionServiceServerMockRecorder) RemovePage(arg0, arg1 any) *gomock.Call
- func (mr *MockPartitionServiceServerMockRecorder) RemovePartitionRole(arg0, arg1 any) *gomock.Call
- func (mr *MockPartitionServiceServerMockRecorder) UpdatePartition(arg0, arg1 any) *gomock.Call
- type MockUnsafePartitionServiceServer
- type MockUnsafePartitionServiceServerMockRecorder
- type PageObject
- func (*PageObject) Descriptor() ([]byte, []int)deprecated
- func (x *PageObject) GetHtml() string
- func (x *PageObject) GetName() string
- func (x *PageObject) GetPageId() string
- func (x *PageObject) GetState() v1.STATE
- func (*PageObject) ProtoMessage()
- func (x *PageObject) ProtoReflect() protoreflect.Message
- func (x *PageObject) Reset()
- func (x *PageObject) String() string
- type PartitionClient
- func (partCl *PartitionClient) CreateAccessByClientID(ctx context.Context, clientId string, profileId string) (*AccessObject, error)
- func (partCl *PartitionClient) CreateAccessByPartitionID(ctx context.Context, partitionId string, profileId string) (*AccessObject, error)
- func (partCl *PartitionClient) CreateAccessRole(ctx context.Context, accessId string, partitionRoleId string) (*AccessRoleObject, error)
- func (partCl *PartitionClient) CreatePartitionRole(ctx context.Context, partitionId string, name string, props map[string]string) (*PartitionRoleObject, error)
- func (partCl *PartitionClient) GetAccessByClientIdProfileId(ctx context.Context, clientId string, profileId string) (*AccessObject, error)
- func (partCl *PartitionClient) GetAccessById(ctx context.Context, accessId string) (*AccessObject, error)
- func (partCl *PartitionClient) GetAccessByPartitionIdProfileId(ctx context.Context, partitionId string, profileId string) (*AccessObject, error)
- func (partCl *PartitionClient) GetPage(ctx context.Context, partitionId string, name string) (*PageObject, error)
- func (partCl *PartitionClient) GetPartition(ctx context.Context, partitionId string) (*PartitionObject, error)
- func (partCl *PartitionClient) GetTenant(ctx context.Context, tenantId string) (*TenantObject, error)
- func (partCl *PartitionClient) ListAccessRole(ctx context.Context, accessId string) (<-chan *AccessRoleObject, error)
- func (partCl *PartitionClient) ListPartitionRoles(ctx context.Context, partitionId string) (<-chan *PartitionRoleObject, error)
- func (partCl *PartitionClient) ListPartitions(ctx context.Context, query string, count uint, page uint) (<-chan *PartitionObject, error)
- func (partCl *PartitionClient) ListTenants(ctx context.Context, query string, count uint, page uint) (<-chan *TenantObject, error)
- func (partCl *PartitionClient) NewChildPartition(ctx context.Context, tenantId string, parentId string, name string, ...) (*PartitionObject, error)
- func (partCl *PartitionClient) NewPage(ctx context.Context, partitionId string, name string, html string) (*PageObject, error)
- func (partCl *PartitionClient) NewPartition(ctx context.Context, tenantId string, name string, description string, ...) (*PartitionObject, error)
- func (partCl *PartitionClient) NewTenant(ctx context.Context, name string, description string, props map[string]string) (*TenantObject, error)
- func (partCl *PartitionClient) RemoveAccess(ctx context.Context, accessId string) (*RemoveAccessResponse, error)
- func (partCl *PartitionClient) RemoveAccessRole(ctx context.Context, accessRoleId string) (*RemoveAccessRoleResponse, error)
- func (partCl *PartitionClient) RemovePartitionRole(ctx context.Context, partitionRoleId string) (*RemovePartitionRoleResponse, error)
- func (partCl *PartitionClient) UpdatePartition(ctx context.Context, partitionId string, name string, description string, ...) (*PartitionObject, error)
- type PartitionCreateRequest
- func (*PartitionCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PartitionCreateRequest) GetDescription() string
- func (x *PartitionCreateRequest) GetName() string
- func (x *PartitionCreateRequest) GetParentId() string
- func (x *PartitionCreateRequest) GetProperties() map[string]string
- func (x *PartitionCreateRequest) GetTenantId() string
- func (*PartitionCreateRequest) ProtoMessage()
- func (x *PartitionCreateRequest) ProtoReflect() protoreflect.Message
- func (x *PartitionCreateRequest) Reset()
- func (x *PartitionCreateRequest) String() string
- type PartitionObject
- func (*PartitionObject) Descriptor() ([]byte, []int)deprecated
- func (x *PartitionObject) GetDescription() string
- func (x *PartitionObject) GetId() string
- func (x *PartitionObject) GetName() string
- func (x *PartitionObject) GetParentId() string
- func (x *PartitionObject) GetProperties() map[string]string
- func (x *PartitionObject) GetState() v1.STATE
- func (x *PartitionObject) GetTenantId() string
- func (*PartitionObject) ProtoMessage()
- func (x *PartitionObject) ProtoReflect() protoreflect.Message
- func (x *PartitionObject) Reset()
- func (x *PartitionObject) String() string
- type PartitionRoleObject
- func (*PartitionRoleObject) Descriptor() ([]byte, []int)deprecated
- func (x *PartitionRoleObject) GetName() string
- func (x *PartitionRoleObject) GetPartitionId() string
- func (x *PartitionRoleObject) GetPartitionRoleId() string
- func (x *PartitionRoleObject) GetProperties() map[string]string
- func (*PartitionRoleObject) ProtoMessage()
- func (x *PartitionRoleObject) ProtoReflect() protoreflect.Message
- func (x *PartitionRoleObject) Reset()
- func (x *PartitionRoleObject) String() string
- type PartitionServiceClient
- type PartitionServiceServer
- type PartitionService_ListAccessRoleClient
- type PartitionService_ListAccessRoleServer
- type PartitionService_ListPartitionClient
- type PartitionService_ListPartitionRoleClient
- type PartitionService_ListPartitionRoleServer
- type PartitionService_ListPartitionServer
- type PartitionService_ListTenantClient
- type PartitionService_ListTenantServer
- type RemoveAccessRequest
- func (*RemoveAccessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveAccessRequest) GetId() string
- func (*RemoveAccessRequest) ProtoMessage()
- func (x *RemoveAccessRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveAccessRequest) Reset()
- func (x *RemoveAccessRequest) String() string
- type RemoveAccessResponse
- func (*RemoveAccessResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveAccessResponse) GetSucceeded() bool
- func (*RemoveAccessResponse) ProtoMessage()
- func (x *RemoveAccessResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveAccessResponse) Reset()
- func (x *RemoveAccessResponse) String() string
- type RemoveAccessRoleRequest
- func (*RemoveAccessRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveAccessRoleRequest) GetId() string
- func (*RemoveAccessRoleRequest) ProtoMessage()
- func (x *RemoveAccessRoleRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveAccessRoleRequest) Reset()
- func (x *RemoveAccessRoleRequest) String() string
- type RemoveAccessRoleResponse
- func (*RemoveAccessRoleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveAccessRoleResponse) GetSucceeded() bool
- func (*RemoveAccessRoleResponse) ProtoMessage()
- func (x *RemoveAccessRoleResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveAccessRoleResponse) Reset()
- func (x *RemoveAccessRoleResponse) String() string
- type RemovePageRequest
- type RemovePageResponse
- func (*RemovePageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemovePageResponse) GetSucceeded() bool
- func (*RemovePageResponse) ProtoMessage()
- func (x *RemovePageResponse) ProtoReflect() protoreflect.Message
- func (x *RemovePageResponse) Reset()
- func (x *RemovePageResponse) String() string
- type RemovePartitionRoleRequest
- func (*RemovePartitionRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemovePartitionRoleRequest) GetId() string
- func (*RemovePartitionRoleRequest) ProtoMessage()
- func (x *RemovePartitionRoleRequest) ProtoReflect() protoreflect.Message
- func (x *RemovePartitionRoleRequest) Reset()
- func (x *RemovePartitionRoleRequest) String() string
- type RemovePartitionRoleResponse
- func (*RemovePartitionRoleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemovePartitionRoleResponse) GetSucceeded() bool
- func (*RemovePartitionRoleResponse) ProtoMessage()
- func (x *RemovePartitionRoleResponse) ProtoReflect() protoreflect.Message
- func (x *RemovePartitionRoleResponse) Reset()
- func (x *RemovePartitionRoleResponse) String() string
- type TenantObject
- func (*TenantObject) Descriptor() ([]byte, []int)deprecated
- func (x *TenantObject) GetDescription() string
- func (x *TenantObject) GetId() string
- func (x *TenantObject) GetProperties() map[string]string
- func (*TenantObject) ProtoMessage()
- func (x *TenantObject) ProtoReflect() protoreflect.Message
- func (x *TenantObject) Reset()
- func (x *TenantObject) String() string
- type UnimplementedPartitionServiceServer
- func (UnimplementedPartitionServiceServer) CreateAccess(context.Context, *CreateAccessRequest) (*CreateAccessResponse, error)
- func (UnimplementedPartitionServiceServer) CreateAccessRole(context.Context, *CreateAccessRoleRequest) (*CreateAccessRoleResponse, error)
- func (UnimplementedPartitionServiceServer) CreatePage(context.Context, *CreatePageRequest) (*CreatePageResponse, error)
- func (UnimplementedPartitionServiceServer) CreatePartition(context.Context, *CreatePartitionRequest) (*CreatePartitionResponse, error)
- func (UnimplementedPartitionServiceServer) CreatePartitionRole(context.Context, *CreatePartitionRoleRequest) (*CreatePartitionRoleResponse, error)
- func (UnimplementedPartitionServiceServer) CreateTenant(context.Context, *CreateTenantRequest) (*CreateTenantResponse, error)
- func (UnimplementedPartitionServiceServer) GetAccess(context.Context, *GetAccessRequest) (*GetAccessResponse, error)
- func (UnimplementedPartitionServiceServer) GetPage(context.Context, *GetPageRequest) (*GetPageResponse, error)
- func (UnimplementedPartitionServiceServer) GetPartition(context.Context, *GetPartitionRequest) (*GetPartitionResponse, error)
- func (UnimplementedPartitionServiceServer) GetTenant(context.Context, *GetTenantRequest) (*GetTenantResponse, error)
- func (UnimplementedPartitionServiceServer) ListAccessRole(*ListAccessRoleRequest, grpc.ServerStreamingServer[ListAccessRoleResponse]) error
- func (UnimplementedPartitionServiceServer) ListPartition(*ListPartitionRequest, grpc.ServerStreamingServer[ListPartitionResponse]) error
- func (UnimplementedPartitionServiceServer) ListPartitionRole(*ListPartitionRoleRequest, ...) error
- func (UnimplementedPartitionServiceServer) ListTenant(*ListTenantRequest, grpc.ServerStreamingServer[ListTenantResponse]) error
- func (UnimplementedPartitionServiceServer) RemoveAccess(context.Context, *RemoveAccessRequest) (*RemoveAccessResponse, error)
- func (UnimplementedPartitionServiceServer) RemoveAccessRole(context.Context, *RemoveAccessRoleRequest) (*RemoveAccessRoleResponse, error)
- func (UnimplementedPartitionServiceServer) RemovePage(context.Context, *RemovePageRequest) (*RemovePageResponse, error)
- func (UnimplementedPartitionServiceServer) RemovePartitionRole(context.Context, *RemovePartitionRoleRequest) (*RemovePartitionRoleResponse, error)
- func (UnimplementedPartitionServiceServer) UpdatePartition(context.Context, *UpdatePartitionRequest) (*UpdatePartitionResponse, error)
- type UnsafePartitionServiceServer
- type UpdatePartitionRequest
- func (*UpdatePartitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePartitionRequest) GetDescription() string
- func (x *UpdatePartitionRequest) GetId() string
- func (x *UpdatePartitionRequest) GetName() string
- func (x *UpdatePartitionRequest) GetProperties() map[string]string
- func (x *UpdatePartitionRequest) GetState() v1.STATE
- func (*UpdatePartitionRequest) ProtoMessage()
- func (x *UpdatePartitionRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePartitionRequest) Reset()
- func (x *UpdatePartitionRequest) String() string
- type UpdatePartitionResponse
- func (*UpdatePartitionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePartitionResponse) GetData() *PartitionObject
- func (*UpdatePartitionResponse) ProtoMessage()
- func (x *UpdatePartitionResponse) ProtoReflect() protoreflect.Message
- func (x *UpdatePartitionResponse) Reset()
- func (x *UpdatePartitionResponse) String() string
Constants ¶
const ( PartitionService_GetTenant_FullMethodName = "/partition.v1.PartitionService/GetTenant" PartitionService_ListTenant_FullMethodName = "/partition.v1.PartitionService/ListTenant" PartitionService_CreateTenant_FullMethodName = "/partition.v1.PartitionService/CreateTenant" PartitionService_ListPartition_FullMethodName = "/partition.v1.PartitionService/ListPartition" PartitionService_CreatePartition_FullMethodName = "/partition.v1.PartitionService/CreatePartition" PartitionService_GetPartition_FullMethodName = "/partition.v1.PartitionService/GetPartition" PartitionService_UpdatePartition_FullMethodName = "/partition.v1.PartitionService/UpdatePartition" PartitionService_CreatePartitionRole_FullMethodName = "/partition.v1.PartitionService/CreatePartitionRole" PartitionService_ListPartitionRole_FullMethodName = "/partition.v1.PartitionService/ListPartitionRole" PartitionService_RemovePartitionRole_FullMethodName = "/partition.v1.PartitionService/RemovePartitionRole" PartitionService_CreatePage_FullMethodName = "/partition.v1.PartitionService/CreatePage" PartitionService_GetPage_FullMethodName = "/partition.v1.PartitionService/GetPage" PartitionService_RemovePage_FullMethodName = "/partition.v1.PartitionService/RemovePage" PartitionService_CreateAccess_FullMethodName = "/partition.v1.PartitionService/CreateAccess" PartitionService_GetAccess_FullMethodName = "/partition.v1.PartitionService/GetAccess" PartitionService_RemoveAccess_FullMethodName = "/partition.v1.PartitionService/RemoveAccess" PartitionService_CreateAccessRole_FullMethodName = "/partition.v1.PartitionService/CreateAccessRole" PartitionService_ListAccessRole_FullMethodName = "/partition.v1.PartitionService/ListAccessRole" PartitionService_RemoveAccessRole_FullMethodName = "/partition.v1.PartitionService/RemoveAccessRole" )
Variables ¶
var File_partition_v1_partition_proto protoreflect.FileDescriptor
var PartitionService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "partition.v1.PartitionService", HandlerType: (*PartitionServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetTenant", Handler: _PartitionService_GetTenant_Handler, }, { MethodName: "CreateTenant", Handler: _PartitionService_CreateTenant_Handler, }, { MethodName: "CreatePartition", Handler: _PartitionService_CreatePartition_Handler, }, { MethodName: "GetPartition", Handler: _PartitionService_GetPartition_Handler, }, { MethodName: "UpdatePartition", Handler: _PartitionService_UpdatePartition_Handler, }, { MethodName: "CreatePartitionRole", Handler: _PartitionService_CreatePartitionRole_Handler, }, { MethodName: "RemovePartitionRole", Handler: _PartitionService_RemovePartitionRole_Handler, }, { MethodName: "CreatePage", Handler: _PartitionService_CreatePage_Handler, }, { MethodName: "GetPage", Handler: _PartitionService_GetPage_Handler, }, { MethodName: "RemovePage", Handler: _PartitionService_RemovePage_Handler, }, { MethodName: "CreateAccess", Handler: _PartitionService_CreateAccess_Handler, }, { MethodName: "GetAccess", Handler: _PartitionService_GetAccess_Handler, }, { MethodName: "RemoveAccess", Handler: _PartitionService_RemoveAccess_Handler, }, { MethodName: "CreateAccessRole", Handler: _PartitionService_CreateAccessRole_Handler, }, { MethodName: "RemoveAccessRole", Handler: _PartitionService_RemoveAccessRole_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "ListTenant", Handler: _PartitionService_ListTenant_Handler, ServerStreams: true, }, { StreamName: "ListPartition", Handler: _PartitionService_ListPartition_Handler, ServerStreams: true, }, { StreamName: "ListPartitionRole", Handler: _PartitionService_ListPartitionRole_Handler, ServerStreams: true, }, { StreamName: "ListAccessRole", Handler: _PartitionService_ListAccessRole_Handler, ServerStreams: true, }, }, Metadata: "partition/v1/partition.proto", }
PartitionService_ServiceDesc is the grpc.ServiceDesc for PartitionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func CreateProxyHandler ¶ added in v1.28.4
func RegisterPartitionServiceHandler ¶ added in v1.28.0
func RegisterPartitionServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterPartitionServiceHandler registers the http handlers for service PartitionService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterPartitionServiceHandlerClient ¶ added in v1.28.0
func RegisterPartitionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PartitionServiceClient) error
RegisterPartitionServiceHandlerClient registers the http handlers for service PartitionService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "PartitionServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "PartitionServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "PartitionServiceClient" to call the correct interceptors. This client ignores the HTTP middlewares.
func RegisterPartitionServiceHandlerFromEndpoint ¶ added in v1.28.0
func RegisterPartitionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterPartitionServiceHandlerFromEndpoint is same as RegisterPartitionServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterPartitionServiceHandlerServer ¶ added in v1.28.0
func RegisterPartitionServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PartitionServiceServer) error
RegisterPartitionServiceHandlerServer registers the http handlers for service PartitionService to "mux". UnaryRPC :call PartitionServiceServer 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 RegisterPartitionServiceHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.
func RegisterPartitionServiceServer ¶
func RegisterPartitionServiceServer(s grpc.ServiceRegistrar, srv PartitionServiceServer)
Types ¶
type AccessObject ¶
type AccessObject struct { AccessId string `protobuf:"bytes,1,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"` ProfileId string `protobuf:"bytes,2,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"` Partition *PartitionObject `protobuf:"bytes,3,opt,name=partition,proto3" json:"partition,omitempty"` State v1.STATE `protobuf:"varint,4,opt,name=state,proto3,enum=common.v1.STATE" json:"state,omitempty"` // contains filtered or unexported fields }
func (*AccessObject) Descriptor
deprecated
func (*AccessObject) Descriptor() ([]byte, []int)
Deprecated: Use AccessObject.ProtoReflect.Descriptor instead.
func (*AccessObject) GetAccessId ¶
func (x *AccessObject) GetAccessId() string
func (*AccessObject) GetPartition ¶
func (x *AccessObject) GetPartition() *PartitionObject
func (*AccessObject) GetProfileId ¶
func (x *AccessObject) GetProfileId() string
func (*AccessObject) GetState ¶
func (x *AccessObject) GetState() v1.STATE
func (*AccessObject) ProtoMessage ¶
func (*AccessObject) ProtoMessage()
func (*AccessObject) ProtoReflect ¶
func (x *AccessObject) ProtoReflect() protoreflect.Message
func (*AccessObject) Reset ¶
func (x *AccessObject) Reset()
func (*AccessObject) String ¶
func (x *AccessObject) String() string
type AccessRoleObject ¶
type AccessRoleObject struct { AccessRoleId string `protobuf:"bytes,1,opt,name=access_role_id,json=accessRoleId,proto3" json:"access_role_id,omitempty"` AccessId string `protobuf:"bytes,2,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"` Role *PartitionRoleObject `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*AccessRoleObject) Descriptor
deprecated
func (*AccessRoleObject) Descriptor() ([]byte, []int)
Deprecated: Use AccessRoleObject.ProtoReflect.Descriptor instead.
func (*AccessRoleObject) GetAccessId ¶
func (x *AccessRoleObject) GetAccessId() string
func (*AccessRoleObject) GetAccessRoleId ¶
func (x *AccessRoleObject) GetAccessRoleId() string
func (*AccessRoleObject) GetRole ¶
func (x *AccessRoleObject) GetRole() *PartitionRoleObject
func (*AccessRoleObject) ProtoMessage ¶
func (*AccessRoleObject) ProtoMessage()
func (*AccessRoleObject) ProtoReflect ¶
func (x *AccessRoleObject) ProtoReflect() protoreflect.Message
func (*AccessRoleObject) Reset ¶
func (x *AccessRoleObject) Reset()
func (*AccessRoleObject) String ¶
func (x *AccessRoleObject) String() string
type CreateAccessRequest ¶
type CreateAccessRequest struct { // Types that are valid to be assigned to Partition: // // *CreateAccessRequest_PartitionId // *CreateAccessRequest_ClientId Partition isCreateAccessRequest_Partition `protobuf_oneof:"partition"` ProfileId string `protobuf:"bytes,2,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"` // contains filtered or unexported fields }
func (*CreateAccessRequest) Descriptor
deprecated
func (*CreateAccessRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccessRequest.ProtoReflect.Descriptor instead.
func (*CreateAccessRequest) GetClientId ¶
func (x *CreateAccessRequest) GetClientId() string
func (*CreateAccessRequest) GetPartition ¶
func (x *CreateAccessRequest) GetPartition() isCreateAccessRequest_Partition
func (*CreateAccessRequest) GetPartitionId ¶
func (x *CreateAccessRequest) GetPartitionId() string
func (*CreateAccessRequest) GetProfileId ¶
func (x *CreateAccessRequest) GetProfileId() string
func (*CreateAccessRequest) ProtoMessage ¶
func (*CreateAccessRequest) ProtoMessage()
func (*CreateAccessRequest) ProtoReflect ¶
func (x *CreateAccessRequest) ProtoReflect() protoreflect.Message
func (*CreateAccessRequest) Reset ¶
func (x *CreateAccessRequest) Reset()
func (*CreateAccessRequest) String ¶
func (x *CreateAccessRequest) String() string
type CreateAccessRequest_ClientId ¶
type CreateAccessRequest_ClientId struct {
ClientId string `protobuf:"bytes,3,opt,name=client_id,json=clientId,proto3,oneof"`
}
type CreateAccessRequest_PartitionId ¶
type CreateAccessRequest_PartitionId struct {
PartitionId string `protobuf:"bytes,1,opt,name=partition_id,json=partitionId,proto3,oneof"`
}
type CreateAccessResponse ¶
type CreateAccessResponse struct { Data *AccessObject `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CreateAccessResponse) Descriptor
deprecated
func (*CreateAccessResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccessResponse.ProtoReflect.Descriptor instead.
func (*CreateAccessResponse) GetData ¶
func (x *CreateAccessResponse) GetData() *AccessObject
func (*CreateAccessResponse) ProtoMessage ¶
func (*CreateAccessResponse) ProtoMessage()
func (*CreateAccessResponse) ProtoReflect ¶
func (x *CreateAccessResponse) ProtoReflect() protoreflect.Message
func (*CreateAccessResponse) Reset ¶
func (x *CreateAccessResponse) Reset()
func (*CreateAccessResponse) String ¶
func (x *CreateAccessResponse) String() string
type CreateAccessRoleRequest ¶
type CreateAccessRoleRequest struct { AccessId string `protobuf:"bytes,1,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"` PartitionRoleId string `protobuf:"bytes,2,opt,name=partition_role_id,json=partitionRoleId,proto3" json:"partition_role_id,omitempty"` // contains filtered or unexported fields }
Access Roles
func (*CreateAccessRoleRequest) Descriptor
deprecated
func (*CreateAccessRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccessRoleRequest.ProtoReflect.Descriptor instead.
func (*CreateAccessRoleRequest) GetAccessId ¶
func (x *CreateAccessRoleRequest) GetAccessId() string
func (*CreateAccessRoleRequest) GetPartitionRoleId ¶
func (x *CreateAccessRoleRequest) GetPartitionRoleId() string
func (*CreateAccessRoleRequest) ProtoMessage ¶
func (*CreateAccessRoleRequest) ProtoMessage()
func (*CreateAccessRoleRequest) ProtoReflect ¶
func (x *CreateAccessRoleRequest) ProtoReflect() protoreflect.Message
func (*CreateAccessRoleRequest) Reset ¶
func (x *CreateAccessRoleRequest) Reset()
func (*CreateAccessRoleRequest) String ¶
func (x *CreateAccessRoleRequest) String() string
type CreateAccessRoleResponse ¶
type CreateAccessRoleResponse struct { Data *AccessRoleObject `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CreateAccessRoleResponse) Descriptor
deprecated
func (*CreateAccessRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccessRoleResponse.ProtoReflect.Descriptor instead.
func (*CreateAccessRoleResponse) GetData ¶
func (x *CreateAccessRoleResponse) GetData() *AccessRoleObject
func (*CreateAccessRoleResponse) ProtoMessage ¶
func (*CreateAccessRoleResponse) ProtoMessage()
func (*CreateAccessRoleResponse) ProtoReflect ¶
func (x *CreateAccessRoleResponse) ProtoReflect() protoreflect.Message
func (*CreateAccessRoleResponse) Reset ¶
func (x *CreateAccessRoleResponse) Reset()
func (*CreateAccessRoleResponse) String ¶
func (x *CreateAccessRoleResponse) String() string
type CreatePageRequest ¶
type CreatePageRequest struct { PartitionId string `protobuf:"bytes,1,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Html string `protobuf:"bytes,3,opt,name=html,proto3" json:"html,omitempty"` // contains filtered or unexported fields }
func (*CreatePageRequest) Descriptor
deprecated
func (*CreatePageRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePageRequest.ProtoReflect.Descriptor instead.
func (*CreatePageRequest) GetHtml ¶
func (x *CreatePageRequest) GetHtml() string
func (*CreatePageRequest) GetName ¶
func (x *CreatePageRequest) GetName() string
func (*CreatePageRequest) GetPartitionId ¶
func (x *CreatePageRequest) GetPartitionId() string
func (*CreatePageRequest) ProtoMessage ¶
func (*CreatePageRequest) ProtoMessage()
func (*CreatePageRequest) ProtoReflect ¶
func (x *CreatePageRequest) ProtoReflect() protoreflect.Message
func (*CreatePageRequest) Reset ¶
func (x *CreatePageRequest) Reset()
func (*CreatePageRequest) String ¶
func (x *CreatePageRequest) String() string
type CreatePageResponse ¶
type CreatePageResponse struct { Data *PageObject `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CreatePageResponse) Descriptor
deprecated
func (*CreatePageResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreatePageResponse.ProtoReflect.Descriptor instead.
func (*CreatePageResponse) GetData ¶
func (x *CreatePageResponse) GetData() *PageObject
func (*CreatePageResponse) ProtoMessage ¶
func (*CreatePageResponse) ProtoMessage()
func (*CreatePageResponse) ProtoReflect ¶
func (x *CreatePageResponse) ProtoReflect() protoreflect.Message
func (*CreatePageResponse) Reset ¶
func (x *CreatePageResponse) Reset()
func (*CreatePageResponse) String ¶
func (x *CreatePageResponse) String() string
type CreatePartitionRequest ¶
type CreatePartitionRequest struct { TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` ParentId string `protobuf:"bytes,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` Properties map[string]string `` /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
Request to create new partition
func (*CreatePartitionRequest) Descriptor
deprecated
func (*CreatePartitionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePartitionRequest.ProtoReflect.Descriptor instead.
func (*CreatePartitionRequest) GetDescription ¶
func (x *CreatePartitionRequest) GetDescription() string
func (*CreatePartitionRequest) GetName ¶
func (x *CreatePartitionRequest) GetName() string
func (*CreatePartitionRequest) GetParentId ¶
func (x *CreatePartitionRequest) GetParentId() string
func (*CreatePartitionRequest) GetProperties ¶
func (x *CreatePartitionRequest) GetProperties() map[string]string
func (*CreatePartitionRequest) GetTenantId ¶
func (x *CreatePartitionRequest) GetTenantId() string
func (*CreatePartitionRequest) ProtoMessage ¶
func (*CreatePartitionRequest) ProtoMessage()
func (*CreatePartitionRequest) ProtoReflect ¶
func (x *CreatePartitionRequest) ProtoReflect() protoreflect.Message
func (*CreatePartitionRequest) Reset ¶
func (x *CreatePartitionRequest) Reset()
func (*CreatePartitionRequest) String ¶
func (x *CreatePartitionRequest) String() string
type CreatePartitionResponse ¶
type CreatePartitionResponse struct { Data *PartitionObject `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CreatePartitionResponse) Descriptor
deprecated
func (*CreatePartitionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreatePartitionResponse.ProtoReflect.Descriptor instead.
func (*CreatePartitionResponse) GetData ¶
func (x *CreatePartitionResponse) GetData() *PartitionObject
func (*CreatePartitionResponse) ProtoMessage ¶
func (*CreatePartitionResponse) ProtoMessage()
func (*CreatePartitionResponse) ProtoReflect ¶
func (x *CreatePartitionResponse) ProtoReflect() protoreflect.Message
func (*CreatePartitionResponse) Reset ¶
func (x *CreatePartitionResponse) Reset()
func (*CreatePartitionResponse) String ¶
func (x *CreatePartitionResponse) String() string
type CreatePartitionRoleRequest ¶
type CreatePartitionRoleRequest struct { PartitionId string `protobuf:"bytes,1,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Properties map[string]string `` /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
Partition Roles
func (*CreatePartitionRoleRequest) Descriptor
deprecated
func (*CreatePartitionRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePartitionRoleRequest.ProtoReflect.Descriptor instead.
func (*CreatePartitionRoleRequest) GetName ¶
func (x *CreatePartitionRoleRequest) GetName() string
func (*CreatePartitionRoleRequest) GetPartitionId ¶
func (x *CreatePartitionRoleRequest) GetPartitionId() string
func (*CreatePartitionRoleRequest) GetProperties ¶
func (x *CreatePartitionRoleRequest) GetProperties() map[string]string
func (*CreatePartitionRoleRequest) ProtoMessage ¶
func (*CreatePartitionRoleRequest) ProtoMessage()
func (*CreatePartitionRoleRequest) ProtoReflect ¶
func (x *CreatePartitionRoleRequest) ProtoReflect() protoreflect.Message
func (*CreatePartitionRoleRequest) Reset ¶
func (x *CreatePartitionRoleRequest) Reset()
func (*CreatePartitionRoleRequest) String ¶
func (x *CreatePartitionRoleRequest) String() string
type CreatePartitionRoleResponse ¶
type CreatePartitionRoleResponse struct { Data *PartitionRoleObject `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CreatePartitionRoleResponse) Descriptor
deprecated
func (*CreatePartitionRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreatePartitionRoleResponse.ProtoReflect.Descriptor instead.
func (*CreatePartitionRoleResponse) GetData ¶
func (x *CreatePartitionRoleResponse) GetData() *PartitionRoleObject
func (*CreatePartitionRoleResponse) ProtoMessage ¶
func (*CreatePartitionRoleResponse) ProtoMessage()
func (*CreatePartitionRoleResponse) ProtoReflect ¶
func (x *CreatePartitionRoleResponse) ProtoReflect() protoreflect.Message
func (*CreatePartitionRoleResponse) Reset ¶
func (x *CreatePartitionRoleResponse) Reset()
func (*CreatePartitionRoleResponse) String ¶
func (x *CreatePartitionRoleResponse) String() string
type CreateTenantRequest ¶
type CreateTenantRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Properties map[string]string `` /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
Request to create new tenancy
func (*CreateTenantRequest) Descriptor
deprecated
func (*CreateTenantRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTenantRequest.ProtoReflect.Descriptor instead.
func (*CreateTenantRequest) GetDescription ¶
func (x *CreateTenantRequest) GetDescription() string
func (*CreateTenantRequest) GetName ¶
func (x *CreateTenantRequest) GetName() string
func (*CreateTenantRequest) GetProperties ¶
func (x *CreateTenantRequest) GetProperties() map[string]string
func (*CreateTenantRequest) ProtoMessage ¶
func (*CreateTenantRequest) ProtoMessage()
func (*CreateTenantRequest) ProtoReflect ¶
func (x *CreateTenantRequest) ProtoReflect() protoreflect.Message
func (*CreateTenantRequest) Reset ¶
func (x *CreateTenantRequest) Reset()
func (*CreateTenantRequest) String ¶
func (x *CreateTenantRequest) String() string
type CreateTenantResponse ¶
type CreateTenantResponse struct { Data *TenantObject `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CreateTenantResponse) Descriptor
deprecated
func (*CreateTenantResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateTenantResponse.ProtoReflect.Descriptor instead.
func (*CreateTenantResponse) GetData ¶
func (x *CreateTenantResponse) GetData() *TenantObject
func (*CreateTenantResponse) ProtoMessage ¶
func (*CreateTenantResponse) ProtoMessage()
func (*CreateTenantResponse) ProtoReflect ¶
func (x *CreateTenantResponse) ProtoReflect() protoreflect.Message
func (*CreateTenantResponse) Reset ¶
func (x *CreateTenantResponse) Reset()
func (*CreateTenantResponse) String ¶
func (x *CreateTenantResponse) String() string
type GetAccessRequest ¶
type GetAccessRequest struct { AccessId string `protobuf:"bytes,1,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"` // Types that are valid to be assigned to Partition: // // *GetAccessRequest_PartitionId // *GetAccessRequest_ClientId Partition isGetAccessRequest_Partition `protobuf_oneof:"partition"` ProfileId string `protobuf:"bytes,4,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"` // contains filtered or unexported fields }
func (*GetAccessRequest) Descriptor
deprecated
func (*GetAccessRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccessRequest.ProtoReflect.Descriptor instead.
func (*GetAccessRequest) GetAccessId ¶
func (x *GetAccessRequest) GetAccessId() string
func (*GetAccessRequest) GetClientId ¶
func (x *GetAccessRequest) GetClientId() string
func (*GetAccessRequest) GetPartition ¶
func (x *GetAccessRequest) GetPartition() isGetAccessRequest_Partition
func (*GetAccessRequest) GetPartitionId ¶
func (x *GetAccessRequest) GetPartitionId() string
func (*GetAccessRequest) GetProfileId ¶
func (x *GetAccessRequest) GetProfileId() string
func (*GetAccessRequest) ProtoMessage ¶
func (*GetAccessRequest) ProtoMessage()
func (*GetAccessRequest) ProtoReflect ¶
func (x *GetAccessRequest) ProtoReflect() protoreflect.Message
func (*GetAccessRequest) Reset ¶
func (x *GetAccessRequest) Reset()
func (*GetAccessRequest) String ¶
func (x *GetAccessRequest) String() string
type GetAccessRequest_ClientId ¶
type GetAccessRequest_ClientId struct {
ClientId string `protobuf:"bytes,3,opt,name=client_id,json=clientId,proto3,oneof"`
}
type GetAccessRequest_PartitionId ¶
type GetAccessRequest_PartitionId struct {
PartitionId string `protobuf:"bytes,2,opt,name=partition_id,json=partitionId,proto3,oneof"`
}
type GetAccessResponse ¶
type GetAccessResponse struct { Data *AccessObject `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetAccessResponse) Descriptor
deprecated
func (*GetAccessResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAccessResponse.ProtoReflect.Descriptor instead.
func (*GetAccessResponse) GetData ¶
func (x *GetAccessResponse) GetData() *AccessObject
func (*GetAccessResponse) ProtoMessage ¶
func (*GetAccessResponse) ProtoMessage()
func (*GetAccessResponse) ProtoReflect ¶
func (x *GetAccessResponse) ProtoReflect() protoreflect.Message
func (*GetAccessResponse) Reset ¶
func (x *GetAccessResponse) Reset()
func (*GetAccessResponse) String ¶
func (x *GetAccessResponse) String() string
type GetPageRequest ¶
type GetPageRequest struct { PageId string `protobuf:"bytes,1,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"` PartitionId string `protobuf:"bytes,2,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetPageRequest) Descriptor
deprecated
func (*GetPageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPageRequest.ProtoReflect.Descriptor instead.
func (*GetPageRequest) GetName ¶
func (x *GetPageRequest) GetName() string
func (*GetPageRequest) GetPageId ¶
func (x *GetPageRequest) GetPageId() string
func (*GetPageRequest) GetPartitionId ¶
func (x *GetPageRequest) GetPartitionId() string
func (*GetPageRequest) ProtoMessage ¶
func (*GetPageRequest) ProtoMessage()
func (*GetPageRequest) ProtoReflect ¶
func (x *GetPageRequest) ProtoReflect() protoreflect.Message
func (*GetPageRequest) Reset ¶
func (x *GetPageRequest) Reset()
func (*GetPageRequest) String ¶
func (x *GetPageRequest) String() string
type GetPageResponse ¶
type GetPageResponse struct { Data *PageObject `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetPageResponse) Descriptor
deprecated
func (*GetPageResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPageResponse.ProtoReflect.Descriptor instead.
func (*GetPageResponse) GetData ¶
func (x *GetPageResponse) GetData() *PageObject
func (*GetPageResponse) ProtoMessage ¶
func (*GetPageResponse) ProtoMessage()
func (*GetPageResponse) ProtoReflect ¶
func (x *GetPageResponse) ProtoReflect() protoreflect.Message
func (*GetPageResponse) Reset ¶
func (x *GetPageResponse) Reset()
func (*GetPageResponse) String ¶
func (x *GetPageResponse) String() string
type GetPartitionRequest ¶
type GetPartitionRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetPartitionRequest) Descriptor
deprecated
func (*GetPartitionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPartitionRequest.ProtoReflect.Descriptor instead.
func (*GetPartitionRequest) GetId ¶
func (x *GetPartitionRequest) GetId() string
func (*GetPartitionRequest) ProtoMessage ¶
func (*GetPartitionRequest) ProtoMessage()
func (*GetPartitionRequest) ProtoReflect ¶
func (x *GetPartitionRequest) ProtoReflect() protoreflect.Message
func (*GetPartitionRequest) Reset ¶
func (x *GetPartitionRequest) Reset()
func (*GetPartitionRequest) String ¶
func (x *GetPartitionRequest) String() string
type GetPartitionResponse ¶
type GetPartitionResponse struct { Data *PartitionObject `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetPartitionResponse) Descriptor
deprecated
func (*GetPartitionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPartitionResponse.ProtoReflect.Descriptor instead.
func (*GetPartitionResponse) GetData ¶
func (x *GetPartitionResponse) GetData() *PartitionObject
func (*GetPartitionResponse) ProtoMessage ¶
func (*GetPartitionResponse) ProtoMessage()
func (*GetPartitionResponse) ProtoReflect ¶
func (x *GetPartitionResponse) ProtoReflect() protoreflect.Message
func (*GetPartitionResponse) Reset ¶
func (x *GetPartitionResponse) Reset()
func (*GetPartitionResponse) String ¶
func (x *GetPartitionResponse) String() string
type GetTenantRequest ¶
type GetTenantRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetTenantRequest) Descriptor
deprecated
func (*GetTenantRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTenantRequest.ProtoReflect.Descriptor instead.
func (*GetTenantRequest) GetId ¶
func (x *GetTenantRequest) GetId() string
func (*GetTenantRequest) ProtoMessage ¶
func (*GetTenantRequest) ProtoMessage()
func (*GetTenantRequest) ProtoReflect ¶
func (x *GetTenantRequest) ProtoReflect() protoreflect.Message
func (*GetTenantRequest) Reset ¶
func (x *GetTenantRequest) Reset()
func (*GetTenantRequest) String ¶
func (x *GetTenantRequest) String() string
type GetTenantResponse ¶
type GetTenantResponse struct { Data *TenantObject `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetTenantResponse) Descriptor
deprecated
func (*GetTenantResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTenantResponse.ProtoReflect.Descriptor instead.
func (*GetTenantResponse) GetData ¶
func (x *GetTenantResponse) GetData() *TenantObject
func (*GetTenantResponse) ProtoMessage ¶
func (*GetTenantResponse) ProtoMessage()
func (*GetTenantResponse) ProtoReflect ¶
func (x *GetTenantResponse) ProtoReflect() protoreflect.Message
func (*GetTenantResponse) Reset ¶
func (x *GetTenantResponse) Reset()
func (*GetTenantResponse) String ¶
func (x *GetTenantResponse) String() string
type ListAccessRoleRequest ¶
type ListAccessRoleRequest struct { AccessId string `protobuf:"bytes,1,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"` // contains filtered or unexported fields }
func (*ListAccessRoleRequest) Descriptor
deprecated
func (*ListAccessRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAccessRoleRequest.ProtoReflect.Descriptor instead.
func (*ListAccessRoleRequest) GetAccessId ¶
func (x *ListAccessRoleRequest) GetAccessId() string
func (*ListAccessRoleRequest) ProtoMessage ¶
func (*ListAccessRoleRequest) ProtoMessage()
func (*ListAccessRoleRequest) ProtoReflect ¶
func (x *ListAccessRoleRequest) ProtoReflect() protoreflect.Message
func (*ListAccessRoleRequest) Reset ¶
func (x *ListAccessRoleRequest) Reset()
func (*ListAccessRoleRequest) String ¶
func (x *ListAccessRoleRequest) String() string
type ListAccessRoleResponse ¶
type ListAccessRoleResponse struct { Role []*AccessRoleObject `protobuf:"bytes,1,rep,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*ListAccessRoleResponse) Descriptor
deprecated
func (*ListAccessRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAccessRoleResponse.ProtoReflect.Descriptor instead.
func (*ListAccessRoleResponse) GetRole ¶
func (x *ListAccessRoleResponse) GetRole() []*AccessRoleObject
func (*ListAccessRoleResponse) ProtoMessage ¶
func (*ListAccessRoleResponse) ProtoMessage()
func (*ListAccessRoleResponse) ProtoReflect ¶
func (x *ListAccessRoleResponse) ProtoReflect() protoreflect.Message
func (*ListAccessRoleResponse) Reset ¶
func (x *ListAccessRoleResponse) Reset()
func (*ListAccessRoleResponse) String ¶
func (x *ListAccessRoleResponse) String() string
type ListPartitionRequest ¶
type ListPartitionRequest struct { Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` StartDate string `protobuf:"bytes,4,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` EndDate string `protobuf:"bytes,5,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` Properties []string `protobuf:"bytes,6,rep,name=properties,proto3" json:"properties,omitempty"` Extras map[string]string `` /* 139-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ListPartitionRequest) Descriptor
deprecated
func (*ListPartitionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPartitionRequest.ProtoReflect.Descriptor instead.
func (*ListPartitionRequest) GetCount ¶
func (x *ListPartitionRequest) GetCount() int32
func (*ListPartitionRequest) GetEndDate ¶
func (x *ListPartitionRequest) GetEndDate() string
func (*ListPartitionRequest) GetExtras ¶
func (x *ListPartitionRequest) GetExtras() map[string]string
func (*ListPartitionRequest) GetPage ¶
func (x *ListPartitionRequest) GetPage() int64
func (*ListPartitionRequest) GetProperties ¶
func (x *ListPartitionRequest) GetProperties() []string
func (*ListPartitionRequest) GetQuery ¶
func (x *ListPartitionRequest) GetQuery() string
func (*ListPartitionRequest) GetStartDate ¶
func (x *ListPartitionRequest) GetStartDate() string
func (*ListPartitionRequest) ProtoMessage ¶
func (*ListPartitionRequest) ProtoMessage()
func (*ListPartitionRequest) ProtoReflect ¶
func (x *ListPartitionRequest) ProtoReflect() protoreflect.Message
func (*ListPartitionRequest) Reset ¶
func (x *ListPartitionRequest) Reset()
func (*ListPartitionRequest) String ¶
func (x *ListPartitionRequest) String() string
type ListPartitionResponse ¶
type ListPartitionResponse struct { Data []*PartitionObject `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ListPartitionResponse) Descriptor
deprecated
func (*ListPartitionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPartitionResponse.ProtoReflect.Descriptor instead.
func (*ListPartitionResponse) GetData ¶
func (x *ListPartitionResponse) GetData() []*PartitionObject
func (*ListPartitionResponse) ProtoMessage ¶
func (*ListPartitionResponse) ProtoMessage()
func (*ListPartitionResponse) ProtoReflect ¶
func (x *ListPartitionResponse) ProtoReflect() protoreflect.Message
func (*ListPartitionResponse) Reset ¶
func (x *ListPartitionResponse) Reset()
func (*ListPartitionResponse) String ¶
func (x *ListPartitionResponse) String() string
type ListPartitionRoleRequest ¶
type ListPartitionRoleRequest struct { PartitionId string `protobuf:"bytes,1,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"` // contains filtered or unexported fields }
func (*ListPartitionRoleRequest) Descriptor
deprecated
func (*ListPartitionRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPartitionRoleRequest.ProtoReflect.Descriptor instead.
func (*ListPartitionRoleRequest) GetPartitionId ¶
func (x *ListPartitionRoleRequest) GetPartitionId() string
func (*ListPartitionRoleRequest) ProtoMessage ¶
func (*ListPartitionRoleRequest) ProtoMessage()
func (*ListPartitionRoleRequest) ProtoReflect ¶
func (x *ListPartitionRoleRequest) ProtoReflect() protoreflect.Message
func (*ListPartitionRoleRequest) Reset ¶
func (x *ListPartitionRoleRequest) Reset()
func (*ListPartitionRoleRequest) String ¶
func (x *ListPartitionRoleRequest) String() string
type ListPartitionRoleResponse ¶
type ListPartitionRoleResponse struct { Role []*PartitionRoleObject `protobuf:"bytes,1,rep,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*ListPartitionRoleResponse) Descriptor
deprecated
func (*ListPartitionRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPartitionRoleResponse.ProtoReflect.Descriptor instead.
func (*ListPartitionRoleResponse) GetRole ¶
func (x *ListPartitionRoleResponse) GetRole() []*PartitionRoleObject
func (*ListPartitionRoleResponse) ProtoMessage ¶
func (*ListPartitionRoleResponse) ProtoMessage()
func (*ListPartitionRoleResponse) ProtoReflect ¶
func (x *ListPartitionRoleResponse) ProtoReflect() protoreflect.Message
func (*ListPartitionRoleResponse) Reset ¶
func (x *ListPartitionRoleResponse) Reset()
func (*ListPartitionRoleResponse) String ¶
func (x *ListPartitionRoleResponse) String() string
type ListTenantRequest ¶
type ListTenantRequest struct { Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` StartDate string `protobuf:"bytes,4,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` EndDate string `protobuf:"bytes,5,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` Properties []string `protobuf:"bytes,6,rep,name=properties,proto3" json:"properties,omitempty"` Extras map[string]string `` /* 139-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ListTenantRequest) Descriptor
deprecated
func (*ListTenantRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTenantRequest.ProtoReflect.Descriptor instead.
func (*ListTenantRequest) GetCount ¶
func (x *ListTenantRequest) GetCount() int32
func (*ListTenantRequest) GetEndDate ¶
func (x *ListTenantRequest) GetEndDate() string
func (*ListTenantRequest) GetExtras ¶
func (x *ListTenantRequest) GetExtras() map[string]string
func (*ListTenantRequest) GetPage ¶
func (x *ListTenantRequest) GetPage() int64
func (*ListTenantRequest) GetProperties ¶
func (x *ListTenantRequest) GetProperties() []string
func (*ListTenantRequest) GetQuery ¶
func (x *ListTenantRequest) GetQuery() string
func (*ListTenantRequest) GetStartDate ¶
func (x *ListTenantRequest) GetStartDate() string
func (*ListTenantRequest) ProtoMessage ¶
func (*ListTenantRequest) ProtoMessage()
func (*ListTenantRequest) ProtoReflect ¶
func (x *ListTenantRequest) ProtoReflect() protoreflect.Message
func (*ListTenantRequest) Reset ¶
func (x *ListTenantRequest) Reset()
func (*ListTenantRequest) String ¶
func (x *ListTenantRequest) String() string
type ListTenantResponse ¶
type ListTenantResponse struct { Data []*TenantObject `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ListTenantResponse) Descriptor
deprecated
func (*ListTenantResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTenantResponse.ProtoReflect.Descriptor instead.
func (*ListTenantResponse) GetData ¶
func (x *ListTenantResponse) GetData() []*TenantObject
func (*ListTenantResponse) ProtoMessage ¶
func (*ListTenantResponse) ProtoMessage()
func (*ListTenantResponse) ProtoReflect ¶
func (x *ListTenantResponse) ProtoReflect() protoreflect.Message
func (*ListTenantResponse) Reset ¶
func (x *ListTenantResponse) Reset()
func (*ListTenantResponse) String ¶
func (x *ListTenantResponse) String() string
type MockPartitionServiceClient ¶
type MockPartitionServiceClient struct {
// contains filtered or unexported fields
}
MockPartitionServiceClient is a mock of PartitionServiceClient interface.
func NewMockPartitionServiceClient ¶
func NewMockPartitionServiceClient(ctrl *gomock.Controller) *MockPartitionServiceClient
NewMockPartitionServiceClient creates a new mock instance.
func (*MockPartitionServiceClient) CreateAccess ¶
func (m *MockPartitionServiceClient) CreateAccess(ctx context.Context, in *CreateAccessRequest, opts ...grpc.CallOption) (*CreateAccessResponse, error)
CreateAccess mocks base method.
func (*MockPartitionServiceClient) CreateAccessRole ¶
func (m *MockPartitionServiceClient) CreateAccessRole(ctx context.Context, in *CreateAccessRoleRequest, opts ...grpc.CallOption) (*CreateAccessRoleResponse, error)
CreateAccessRole mocks base method.
func (*MockPartitionServiceClient) CreatePage ¶
func (m *MockPartitionServiceClient) CreatePage(ctx context.Context, in *CreatePageRequest, opts ...grpc.CallOption) (*CreatePageResponse, error)
CreatePage mocks base method.
func (*MockPartitionServiceClient) CreatePartition ¶
func (m *MockPartitionServiceClient) CreatePartition(ctx context.Context, in *CreatePartitionRequest, opts ...grpc.CallOption) (*CreatePartitionResponse, error)
CreatePartition mocks base method.
func (*MockPartitionServiceClient) CreatePartitionRole ¶
func (m *MockPartitionServiceClient) CreatePartitionRole(ctx context.Context, in *CreatePartitionRoleRequest, opts ...grpc.CallOption) (*CreatePartitionRoleResponse, error)
CreatePartitionRole mocks base method.
func (*MockPartitionServiceClient) CreateTenant ¶
func (m *MockPartitionServiceClient) CreateTenant(ctx context.Context, in *CreateTenantRequest, opts ...grpc.CallOption) (*CreateTenantResponse, error)
CreateTenant mocks base method.
func (*MockPartitionServiceClient) EXPECT ¶
func (m *MockPartitionServiceClient) EXPECT() *MockPartitionServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPartitionServiceClient) GetAccess ¶
func (m *MockPartitionServiceClient) GetAccess(ctx context.Context, in *GetAccessRequest, opts ...grpc.CallOption) (*GetAccessResponse, error)
GetAccess mocks base method.
func (*MockPartitionServiceClient) GetPage ¶
func (m *MockPartitionServiceClient) GetPage(ctx context.Context, in *GetPageRequest, opts ...grpc.CallOption) (*GetPageResponse, error)
GetPage mocks base method.
func (*MockPartitionServiceClient) GetPartition ¶
func (m *MockPartitionServiceClient) GetPartition(ctx context.Context, in *GetPartitionRequest, opts ...grpc.CallOption) (*GetPartitionResponse, error)
GetPartition mocks base method.
func (*MockPartitionServiceClient) GetTenant ¶
func (m *MockPartitionServiceClient) GetTenant(ctx context.Context, in *GetTenantRequest, opts ...grpc.CallOption) (*GetTenantResponse, error)
GetTenant mocks base method.
func (*MockPartitionServiceClient) ListAccessRole ¶
func (m *MockPartitionServiceClient) ListAccessRole(ctx context.Context, in *ListAccessRoleRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ListAccessRoleResponse], error)
ListAccessRole mocks base method.
func (*MockPartitionServiceClient) ListPartition ¶
func (m *MockPartitionServiceClient) ListPartition(ctx context.Context, in *ListPartitionRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ListPartitionResponse], error)
ListPartition mocks base method.
func (*MockPartitionServiceClient) ListPartitionRole ¶
func (m *MockPartitionServiceClient) ListPartitionRole(ctx context.Context, in *ListPartitionRoleRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ListPartitionRoleResponse], error)
ListPartitionRole mocks base method.
func (*MockPartitionServiceClient) ListTenant ¶
func (m *MockPartitionServiceClient) ListTenant(ctx context.Context, in *ListTenantRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ListTenantResponse], error)
ListTenant mocks base method.
func (*MockPartitionServiceClient) RemoveAccess ¶
func (m *MockPartitionServiceClient) RemoveAccess(ctx context.Context, in *RemoveAccessRequest, opts ...grpc.CallOption) (*RemoveAccessResponse, error)
RemoveAccess mocks base method.
func (*MockPartitionServiceClient) RemoveAccessRole ¶
func (m *MockPartitionServiceClient) RemoveAccessRole(ctx context.Context, in *RemoveAccessRoleRequest, opts ...grpc.CallOption) (*RemoveAccessRoleResponse, error)
RemoveAccessRole mocks base method.
func (*MockPartitionServiceClient) RemovePage ¶
func (m *MockPartitionServiceClient) RemovePage(ctx context.Context, in *RemovePageRequest, opts ...grpc.CallOption) (*RemovePageResponse, error)
RemovePage mocks base method.
func (*MockPartitionServiceClient) RemovePartitionRole ¶
func (m *MockPartitionServiceClient) RemovePartitionRole(ctx context.Context, in *RemovePartitionRoleRequest, opts ...grpc.CallOption) (*RemovePartitionRoleResponse, error)
RemovePartitionRole mocks base method.
func (*MockPartitionServiceClient) UpdatePartition ¶
func (m *MockPartitionServiceClient) UpdatePartition(ctx context.Context, in *UpdatePartitionRequest, opts ...grpc.CallOption) (*UpdatePartitionResponse, error)
UpdatePartition mocks base method.
type MockPartitionServiceClientMockRecorder ¶
type MockPartitionServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockPartitionServiceClientMockRecorder is the mock recorder for MockPartitionServiceClient.
func (*MockPartitionServiceClientMockRecorder) CreateAccess ¶
func (mr *MockPartitionServiceClientMockRecorder) CreateAccess(ctx, in any, opts ...any) *gomock.Call
CreateAccess indicates an expected call of CreateAccess.
func (*MockPartitionServiceClientMockRecorder) CreateAccessRole ¶
func (mr *MockPartitionServiceClientMockRecorder) CreateAccessRole(ctx, in any, opts ...any) *gomock.Call
CreateAccessRole indicates an expected call of CreateAccessRole.
func (*MockPartitionServiceClientMockRecorder) CreatePage ¶
func (mr *MockPartitionServiceClientMockRecorder) CreatePage(ctx, in any, opts ...any) *gomock.Call
CreatePage indicates an expected call of CreatePage.
func (*MockPartitionServiceClientMockRecorder) CreatePartition ¶
func (mr *MockPartitionServiceClientMockRecorder) CreatePartition(ctx, in any, opts ...any) *gomock.Call
CreatePartition indicates an expected call of CreatePartition.
func (*MockPartitionServiceClientMockRecorder) CreatePartitionRole ¶
func (mr *MockPartitionServiceClientMockRecorder) CreatePartitionRole(ctx, in any, opts ...any) *gomock.Call
CreatePartitionRole indicates an expected call of CreatePartitionRole.
func (*MockPartitionServiceClientMockRecorder) CreateTenant ¶
func (mr *MockPartitionServiceClientMockRecorder) CreateTenant(ctx, in any, opts ...any) *gomock.Call
CreateTenant indicates an expected call of CreateTenant.
func (*MockPartitionServiceClientMockRecorder) GetAccess ¶
func (mr *MockPartitionServiceClientMockRecorder) GetAccess(ctx, in any, opts ...any) *gomock.Call
GetAccess indicates an expected call of GetAccess.
func (*MockPartitionServiceClientMockRecorder) GetPage ¶
func (mr *MockPartitionServiceClientMockRecorder) GetPage(ctx, in any, opts ...any) *gomock.Call
GetPage indicates an expected call of GetPage.
func (*MockPartitionServiceClientMockRecorder) GetPartition ¶
func (mr *MockPartitionServiceClientMockRecorder) GetPartition(ctx, in any, opts ...any) *gomock.Call
GetPartition indicates an expected call of GetPartition.
func (*MockPartitionServiceClientMockRecorder) GetTenant ¶
func (mr *MockPartitionServiceClientMockRecorder) GetTenant(ctx, in any, opts ...any) *gomock.Call
GetTenant indicates an expected call of GetTenant.
func (*MockPartitionServiceClientMockRecorder) ListAccessRole ¶
func (mr *MockPartitionServiceClientMockRecorder) ListAccessRole(ctx, in any, opts ...any) *gomock.Call
ListAccessRole indicates an expected call of ListAccessRole.
func (*MockPartitionServiceClientMockRecorder) ListPartition ¶
func (mr *MockPartitionServiceClientMockRecorder) ListPartition(ctx, in any, opts ...any) *gomock.Call
ListPartition indicates an expected call of ListPartition.
func (*MockPartitionServiceClientMockRecorder) ListPartitionRole ¶
func (mr *MockPartitionServiceClientMockRecorder) ListPartitionRole(ctx, in any, opts ...any) *gomock.Call
ListPartitionRole indicates an expected call of ListPartitionRole.
func (*MockPartitionServiceClientMockRecorder) ListTenant ¶
func (mr *MockPartitionServiceClientMockRecorder) ListTenant(ctx, in any, opts ...any) *gomock.Call
ListTenant indicates an expected call of ListTenant.
func (*MockPartitionServiceClientMockRecorder) RemoveAccess ¶
func (mr *MockPartitionServiceClientMockRecorder) RemoveAccess(ctx, in any, opts ...any) *gomock.Call
RemoveAccess indicates an expected call of RemoveAccess.
func (*MockPartitionServiceClientMockRecorder) RemoveAccessRole ¶
func (mr *MockPartitionServiceClientMockRecorder) RemoveAccessRole(ctx, in any, opts ...any) *gomock.Call
RemoveAccessRole indicates an expected call of RemoveAccessRole.
func (*MockPartitionServiceClientMockRecorder) RemovePage ¶
func (mr *MockPartitionServiceClientMockRecorder) RemovePage(ctx, in any, opts ...any) *gomock.Call
RemovePage indicates an expected call of RemovePage.
func (*MockPartitionServiceClientMockRecorder) RemovePartitionRole ¶
func (mr *MockPartitionServiceClientMockRecorder) RemovePartitionRole(ctx, in any, opts ...any) *gomock.Call
RemovePartitionRole indicates an expected call of RemovePartitionRole.
func (*MockPartitionServiceClientMockRecorder) UpdatePartition ¶
func (mr *MockPartitionServiceClientMockRecorder) UpdatePartition(ctx, in any, opts ...any) *gomock.Call
UpdatePartition indicates an expected call of UpdatePartition.
type MockPartitionServiceServer ¶
type MockPartitionServiceServer struct {
// contains filtered or unexported fields
}
MockPartitionServiceServer is a mock of PartitionServiceServer interface.
func NewMockPartitionServiceServer ¶
func NewMockPartitionServiceServer(ctrl *gomock.Controller) *MockPartitionServiceServer
NewMockPartitionServiceServer creates a new mock instance.
func (*MockPartitionServiceServer) CreateAccess ¶
func (m *MockPartitionServiceServer) CreateAccess(arg0 context.Context, arg1 *CreateAccessRequest) (*CreateAccessResponse, error)
CreateAccess mocks base method.
func (*MockPartitionServiceServer) CreateAccessRole ¶
func (m *MockPartitionServiceServer) CreateAccessRole(arg0 context.Context, arg1 *CreateAccessRoleRequest) (*CreateAccessRoleResponse, error)
CreateAccessRole mocks base method.
func (*MockPartitionServiceServer) CreatePage ¶
func (m *MockPartitionServiceServer) CreatePage(arg0 context.Context, arg1 *CreatePageRequest) (*CreatePageResponse, error)
CreatePage mocks base method.
func (*MockPartitionServiceServer) CreatePartition ¶
func (m *MockPartitionServiceServer) CreatePartition(arg0 context.Context, arg1 *CreatePartitionRequest) (*CreatePartitionResponse, error)
CreatePartition mocks base method.
func (*MockPartitionServiceServer) CreatePartitionRole ¶
func (m *MockPartitionServiceServer) CreatePartitionRole(arg0 context.Context, arg1 *CreatePartitionRoleRequest) (*CreatePartitionRoleResponse, error)
CreatePartitionRole mocks base method.
func (*MockPartitionServiceServer) CreateTenant ¶
func (m *MockPartitionServiceServer) CreateTenant(arg0 context.Context, arg1 *CreateTenantRequest) (*CreateTenantResponse, error)
CreateTenant mocks base method.
func (*MockPartitionServiceServer) EXPECT ¶
func (m *MockPartitionServiceServer) EXPECT() *MockPartitionServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPartitionServiceServer) GetAccess ¶
func (m *MockPartitionServiceServer) GetAccess(arg0 context.Context, arg1 *GetAccessRequest) (*GetAccessResponse, error)
GetAccess mocks base method.
func (*MockPartitionServiceServer) GetPage ¶
func (m *MockPartitionServiceServer) GetPage(arg0 context.Context, arg1 *GetPageRequest) (*GetPageResponse, error)
GetPage mocks base method.
func (*MockPartitionServiceServer) GetPartition ¶
func (m *MockPartitionServiceServer) GetPartition(arg0 context.Context, arg1 *GetPartitionRequest) (*GetPartitionResponse, error)
GetPartition mocks base method.
func (*MockPartitionServiceServer) GetTenant ¶
func (m *MockPartitionServiceServer) GetTenant(arg0 context.Context, arg1 *GetTenantRequest) (*GetTenantResponse, error)
GetTenant mocks base method.
func (*MockPartitionServiceServer) ListAccessRole ¶
func (m *MockPartitionServiceServer) ListAccessRole(arg0 *ListAccessRoleRequest, arg1 grpc.ServerStreamingServer[ListAccessRoleResponse]) error
ListAccessRole mocks base method.
func (*MockPartitionServiceServer) ListPartition ¶
func (m *MockPartitionServiceServer) ListPartition(arg0 *ListPartitionRequest, arg1 grpc.ServerStreamingServer[ListPartitionResponse]) error
ListPartition mocks base method.
func (*MockPartitionServiceServer) ListPartitionRole ¶
func (m *MockPartitionServiceServer) ListPartitionRole(arg0 *ListPartitionRoleRequest, arg1 grpc.ServerStreamingServer[ListPartitionRoleResponse]) error
ListPartitionRole mocks base method.
func (*MockPartitionServiceServer) ListTenant ¶
func (m *MockPartitionServiceServer) ListTenant(arg0 *ListTenantRequest, arg1 grpc.ServerStreamingServer[ListTenantResponse]) error
ListTenant mocks base method.
func (*MockPartitionServiceServer) RemoveAccess ¶
func (m *MockPartitionServiceServer) RemoveAccess(arg0 context.Context, arg1 *RemoveAccessRequest) (*RemoveAccessResponse, error)
RemoveAccess mocks base method.
func (*MockPartitionServiceServer) RemoveAccessRole ¶
func (m *MockPartitionServiceServer) RemoveAccessRole(arg0 context.Context, arg1 *RemoveAccessRoleRequest) (*RemoveAccessRoleResponse, error)
RemoveAccessRole mocks base method.
func (*MockPartitionServiceServer) RemovePage ¶
func (m *MockPartitionServiceServer) RemovePage(arg0 context.Context, arg1 *RemovePageRequest) (*RemovePageResponse, error)
RemovePage mocks base method.
func (*MockPartitionServiceServer) RemovePartitionRole ¶
func (m *MockPartitionServiceServer) RemovePartitionRole(arg0 context.Context, arg1 *RemovePartitionRoleRequest) (*RemovePartitionRoleResponse, error)
RemovePartitionRole mocks base method.
func (*MockPartitionServiceServer) UpdatePartition ¶
func (m *MockPartitionServiceServer) UpdatePartition(arg0 context.Context, arg1 *UpdatePartitionRequest) (*UpdatePartitionResponse, error)
UpdatePartition mocks base method.
type MockPartitionServiceServerMockRecorder ¶
type MockPartitionServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockPartitionServiceServerMockRecorder is the mock recorder for MockPartitionServiceServer.
func (*MockPartitionServiceServerMockRecorder) CreateAccess ¶
func (mr *MockPartitionServiceServerMockRecorder) CreateAccess(arg0, arg1 any) *gomock.Call
CreateAccess indicates an expected call of CreateAccess.
func (*MockPartitionServiceServerMockRecorder) CreateAccessRole ¶
func (mr *MockPartitionServiceServerMockRecorder) CreateAccessRole(arg0, arg1 any) *gomock.Call
CreateAccessRole indicates an expected call of CreateAccessRole.
func (*MockPartitionServiceServerMockRecorder) CreatePage ¶
func (mr *MockPartitionServiceServerMockRecorder) CreatePage(arg0, arg1 any) *gomock.Call
CreatePage indicates an expected call of CreatePage.
func (*MockPartitionServiceServerMockRecorder) CreatePartition ¶
func (mr *MockPartitionServiceServerMockRecorder) CreatePartition(arg0, arg1 any) *gomock.Call
CreatePartition indicates an expected call of CreatePartition.
func (*MockPartitionServiceServerMockRecorder) CreatePartitionRole ¶
func (mr *MockPartitionServiceServerMockRecorder) CreatePartitionRole(arg0, arg1 any) *gomock.Call
CreatePartitionRole indicates an expected call of CreatePartitionRole.
func (*MockPartitionServiceServerMockRecorder) CreateTenant ¶
func (mr *MockPartitionServiceServerMockRecorder) CreateTenant(arg0, arg1 any) *gomock.Call
CreateTenant indicates an expected call of CreateTenant.
func (*MockPartitionServiceServerMockRecorder) GetAccess ¶
func (mr *MockPartitionServiceServerMockRecorder) GetAccess(arg0, arg1 any) *gomock.Call
GetAccess indicates an expected call of GetAccess.
func (*MockPartitionServiceServerMockRecorder) GetPage ¶
func (mr *MockPartitionServiceServerMockRecorder) GetPage(arg0, arg1 any) *gomock.Call
GetPage indicates an expected call of GetPage.
func (*MockPartitionServiceServerMockRecorder) GetPartition ¶
func (mr *MockPartitionServiceServerMockRecorder) GetPartition(arg0, arg1 any) *gomock.Call
GetPartition indicates an expected call of GetPartition.
func (*MockPartitionServiceServerMockRecorder) GetTenant ¶
func (mr *MockPartitionServiceServerMockRecorder) GetTenant(arg0, arg1 any) *gomock.Call
GetTenant indicates an expected call of GetTenant.
func (*MockPartitionServiceServerMockRecorder) ListAccessRole ¶
func (mr *MockPartitionServiceServerMockRecorder) ListAccessRole(arg0, arg1 any) *gomock.Call
ListAccessRole indicates an expected call of ListAccessRole.
func (*MockPartitionServiceServerMockRecorder) ListPartition ¶
func (mr *MockPartitionServiceServerMockRecorder) ListPartition(arg0, arg1 any) *gomock.Call
ListPartition indicates an expected call of ListPartition.
func (*MockPartitionServiceServerMockRecorder) ListPartitionRole ¶
func (mr *MockPartitionServiceServerMockRecorder) ListPartitionRole(arg0, arg1 any) *gomock.Call
ListPartitionRole indicates an expected call of ListPartitionRole.
func (*MockPartitionServiceServerMockRecorder) ListTenant ¶
func (mr *MockPartitionServiceServerMockRecorder) ListTenant(arg0, arg1 any) *gomock.Call
ListTenant indicates an expected call of ListTenant.
func (*MockPartitionServiceServerMockRecorder) RemoveAccess ¶
func (mr *MockPartitionServiceServerMockRecorder) RemoveAccess(arg0, arg1 any) *gomock.Call
RemoveAccess indicates an expected call of RemoveAccess.
func (*MockPartitionServiceServerMockRecorder) RemoveAccessRole ¶
func (mr *MockPartitionServiceServerMockRecorder) RemoveAccessRole(arg0, arg1 any) *gomock.Call
RemoveAccessRole indicates an expected call of RemoveAccessRole.
func (*MockPartitionServiceServerMockRecorder) RemovePage ¶
func (mr *MockPartitionServiceServerMockRecorder) RemovePage(arg0, arg1 any) *gomock.Call
RemovePage indicates an expected call of RemovePage.
func (*MockPartitionServiceServerMockRecorder) RemovePartitionRole ¶
func (mr *MockPartitionServiceServerMockRecorder) RemovePartitionRole(arg0, arg1 any) *gomock.Call
RemovePartitionRole indicates an expected call of RemovePartitionRole.
func (*MockPartitionServiceServerMockRecorder) UpdatePartition ¶
func (mr *MockPartitionServiceServerMockRecorder) UpdatePartition(arg0, arg1 any) *gomock.Call
UpdatePartition indicates an expected call of UpdatePartition.
type MockUnsafePartitionServiceServer ¶
type MockUnsafePartitionServiceServer struct {
// contains filtered or unexported fields
}
MockUnsafePartitionServiceServer is a mock of UnsafePartitionServiceServer interface.
func NewMockUnsafePartitionServiceServer ¶
func NewMockUnsafePartitionServiceServer(ctrl *gomock.Controller) *MockUnsafePartitionServiceServer
NewMockUnsafePartitionServiceServer creates a new mock instance.
func (*MockUnsafePartitionServiceServer) EXPECT ¶
func (m *MockUnsafePartitionServiceServer) EXPECT() *MockUnsafePartitionServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafePartitionServiceServerMockRecorder ¶
type MockUnsafePartitionServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafePartitionServiceServerMockRecorder is the mock recorder for MockUnsafePartitionServiceServer.
type PageObject ¶
type PageObject struct { PageId string `protobuf:"bytes,1,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Html string `protobuf:"bytes,3,opt,name=html,proto3" json:"html,omitempty"` State v1.STATE `protobuf:"varint,4,opt,name=state,proto3,enum=common.v1.STATE" json:"state,omitempty"` // contains filtered or unexported fields }
func (*PageObject) Descriptor
deprecated
func (*PageObject) Descriptor() ([]byte, []int)
Deprecated: Use PageObject.ProtoReflect.Descriptor instead.
func (*PageObject) GetHtml ¶
func (x *PageObject) GetHtml() string
func (*PageObject) GetName ¶
func (x *PageObject) GetName() string
func (*PageObject) GetPageId ¶
func (x *PageObject) GetPageId() string
func (*PageObject) GetState ¶
func (x *PageObject) GetState() v1.STATE
func (*PageObject) ProtoMessage ¶
func (*PageObject) ProtoMessage()
func (*PageObject) ProtoReflect ¶
func (x *PageObject) ProtoReflect() protoreflect.Message
func (*PageObject) Reset ¶
func (x *PageObject) Reset()
func (*PageObject) String ¶
func (x *PageObject) String() string
type PartitionClient ¶
type PartitionClient struct { *common.GrpcClientBase // The gRPC API Client. Client PartitionServiceClient }
PartitionClient is a Client for interacting with the partitions service API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
func FromContext ¶
func FromContext(ctx context.Context) *PartitionClient
func Init ¶ added in v1.9.1
func Init(cBase *common.GrpcClientBase, service PartitionServiceClient) *PartitionClient
func NewPartitionsClient ¶
func NewPartitionsClient(ctx context.Context, opts ...common.ClientOption) (*PartitionClient, error)
NewPartitionsClient creates a new partitions Client. / The service that an application uses to access and manipulate partition information
func (*PartitionClient) CreateAccessByClientID ¶
func (partCl *PartitionClient) CreateAccessByClientID( ctx context.Context, clientId string, profileId string) (*AccessObject, error)
func (*PartitionClient) CreateAccessByPartitionID ¶
func (partCl *PartitionClient) CreateAccessByPartitionID( ctx context.Context, partitionId string, profileId string) (*AccessObject, error)
func (*PartitionClient) CreateAccessRole ¶
func (partCl *PartitionClient) CreateAccessRole( ctx context.Context, accessId string, partitionRoleId string) (*AccessRoleObject, error)
func (*PartitionClient) CreatePartitionRole ¶
func (partCl *PartitionClient) CreatePartitionRole(ctx context.Context, partitionId string, name string, props map[string]string) (*PartitionRoleObject, error)
func (*PartitionClient) GetAccessByClientIdProfileId ¶
func (partCl *PartitionClient) GetAccessByClientIdProfileId( ctx context.Context, clientId string, profileId string) (*AccessObject, error)
func (*PartitionClient) GetAccessById ¶
func (partCl *PartitionClient) GetAccessById(ctx context.Context, accessId string) (*AccessObject, error)
func (*PartitionClient) GetAccessByPartitionIdProfileId ¶
func (partCl *PartitionClient) GetAccessByPartitionIdProfileId( ctx context.Context, partitionId string, profileId string) (*AccessObject, error)
func (*PartitionClient) GetPage ¶
func (partCl *PartitionClient) GetPage(ctx context.Context, partitionId string, name string) (*PageObject, error)
GetPage simple way to quickly pull custom pages accessed by clients of a partition
func (*PartitionClient) GetPartition ¶
func (partCl *PartitionClient) GetPartition(ctx context.Context, partitionId string) (*PartitionObject, error)
GetPartition Obtains the partition by the id supplied.
func (*PartitionClient) GetTenant ¶
func (partCl *PartitionClient) GetTenant(ctx context.Context, tenantId string) (*TenantObject, error)
GetTenant Obtains the tenant by the id supplied.
func (*PartitionClient) ListAccessRole ¶ added in v1.30.5
func (partCl *PartitionClient) ListAccessRole(ctx context.Context, accessId string) (<-chan *AccessRoleObject, error)
func (*PartitionClient) ListPartitionRoles ¶
func (partCl *PartitionClient) ListPartitionRoles( ctx context.Context, partitionId string) (<-chan *PartitionRoleObject, error)
func (*PartitionClient) ListPartitions ¶
func (partCl *PartitionClient) ListPartitions( ctx context.Context, query string, count uint, page uint) (<-chan *PartitionObject, error)
ListPartitions obtains partitions tied to the query parameter
func (*PartitionClient) ListTenants ¶
func (partCl *PartitionClient) ListTenants( ctx context.Context, query string, count uint, page uint) (<-chan *TenantObject, error)
ListTenants gets a list of all the tenants with query filtering against id and properties
func (*PartitionClient) NewChildPartition ¶
func (partCl *PartitionClient) NewChildPartition(ctx context.Context, tenantId string, parentId string, name string, description string, props map[string]string) (*PartitionObject, error)
NewChildPartition partitions can have children, for example a bank can have multiple branches
func (*PartitionClient) NewPage ¶
func (partCl *PartitionClient) NewPage(ctx context.Context, partitionId string, name string, html string) (*PageObject, error)
NewPage a partition has a provision to store custom pages that can be shown to users later. These pages can include signup or customer specified customized pictures
func (*PartitionClient) NewPartition ¶
func (partCl *PartitionClient) NewPartition(ctx context.Context, tenantId string, name string, description string, props map[string]string) (*PartitionObject, error)
NewPartition Creates a further logical multitenant environment at a softer level. This separation at the partition level is enforced at the application level that is consuming the api.
func (*PartitionClient) NewTenant ¶
func (partCl *PartitionClient) NewTenant( ctx context.Context, name string, description string, props map[string]string) (*TenantObject, error)
NewTenant used to create a new tenant instance. This is a fairly static and infrequently used option that creates an almost physical data separation To allow the use of same databases in a multitentant fashion.
func (*PartitionClient) RemoveAccess ¶
func (partCl *PartitionClient) RemoveAccess(ctx context.Context, accessId string) (*RemoveAccessResponse, error)
func (*PartitionClient) RemoveAccessRole ¶
func (partCl *PartitionClient) RemoveAccessRole(ctx context.Context, accessRoleId string) (*RemoveAccessRoleResponse, error)
func (*PartitionClient) RemovePartitionRole ¶
func (partCl *PartitionClient) RemovePartitionRole(ctx context.Context, partitionRoleId string) (*RemovePartitionRoleResponse, error)
func (*PartitionClient) UpdatePartition ¶
func (partCl *PartitionClient) UpdatePartition(ctx context.Context, partitionId string, name string, description string, props map[string]string) (*PartitionObject, error)
type PartitionCreateRequest ¶
type PartitionCreateRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` TenantId string `protobuf:"bytes,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` ParentId string `protobuf:"bytes,3,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` Properties map[string]string `` /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
Request to create a new partition
func (*PartitionCreateRequest) Descriptor
deprecated
func (*PartitionCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use PartitionCreateRequest.ProtoReflect.Descriptor instead.
func (*PartitionCreateRequest) GetDescription ¶
func (x *PartitionCreateRequest) GetDescription() string
func (*PartitionCreateRequest) GetName ¶
func (x *PartitionCreateRequest) GetName() string
func (*PartitionCreateRequest) GetParentId ¶
func (x *PartitionCreateRequest) GetParentId() string
func (*PartitionCreateRequest) GetProperties ¶
func (x *PartitionCreateRequest) GetProperties() map[string]string
func (*PartitionCreateRequest) GetTenantId ¶
func (x *PartitionCreateRequest) GetTenantId() string
func (*PartitionCreateRequest) ProtoMessage ¶
func (*PartitionCreateRequest) ProtoMessage()
func (*PartitionCreateRequest) ProtoReflect ¶
func (x *PartitionCreateRequest) ProtoReflect() protoreflect.Message
func (*PartitionCreateRequest) Reset ¶
func (x *PartitionCreateRequest) Reset()
func (*PartitionCreateRequest) String ¶
func (x *PartitionCreateRequest) String() string
type PartitionObject ¶
type PartitionObject struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` TenantId string `protobuf:"bytes,3,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` ParentId string `protobuf:"bytes,4,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` State v1.STATE `protobuf:"varint,6,opt,name=state,proto3,enum=common.v1.STATE" json:"state,omitempty"` Properties map[string]string `` /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PartitionObject) Descriptor
deprecated
func (*PartitionObject) Descriptor() ([]byte, []int)
Deprecated: Use PartitionObject.ProtoReflect.Descriptor instead.
func (*PartitionObject) GetDescription ¶
func (x *PartitionObject) GetDescription() string
func (*PartitionObject) GetId ¶
func (x *PartitionObject) GetId() string
func (*PartitionObject) GetName ¶
func (x *PartitionObject) GetName() string
func (*PartitionObject) GetParentId ¶
func (x *PartitionObject) GetParentId() string
func (*PartitionObject) GetProperties ¶
func (x *PartitionObject) GetProperties() map[string]string
func (*PartitionObject) GetState ¶
func (x *PartitionObject) GetState() v1.STATE
func (*PartitionObject) GetTenantId ¶
func (x *PartitionObject) GetTenantId() string
func (*PartitionObject) ProtoMessage ¶
func (*PartitionObject) ProtoMessage()
func (*PartitionObject) ProtoReflect ¶
func (x *PartitionObject) ProtoReflect() protoreflect.Message
func (*PartitionObject) Reset ¶
func (x *PartitionObject) Reset()
func (*PartitionObject) String ¶
func (x *PartitionObject) String() string
type PartitionRoleObject ¶
type PartitionRoleObject struct { PartitionRoleId string `protobuf:"bytes,1,opt,name=partition_role_id,json=partitionRoleId,proto3" json:"partition_role_id,omitempty"` PartitionId string `protobuf:"bytes,2,opt,name=partition_id,json=partitionId,proto3" json:"partition_id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Properties map[string]string `` /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PartitionRoleObject) Descriptor
deprecated
func (*PartitionRoleObject) Descriptor() ([]byte, []int)
Deprecated: Use PartitionRoleObject.ProtoReflect.Descriptor instead.
func (*PartitionRoleObject) GetName ¶
func (x *PartitionRoleObject) GetName() string
func (*PartitionRoleObject) GetPartitionId ¶
func (x *PartitionRoleObject) GetPartitionId() string
func (*PartitionRoleObject) GetPartitionRoleId ¶
func (x *PartitionRoleObject) GetPartitionRoleId() string
func (*PartitionRoleObject) GetProperties ¶
func (x *PartitionRoleObject) GetProperties() map[string]string
func (*PartitionRoleObject) ProtoMessage ¶
func (*PartitionRoleObject) ProtoMessage()
func (*PartitionRoleObject) ProtoReflect ¶
func (x *PartitionRoleObject) ProtoReflect() protoreflect.Message
func (*PartitionRoleObject) Reset ¶
func (x *PartitionRoleObject) Reset()
func (*PartitionRoleObject) String ¶
func (x *PartitionRoleObject) String() string
type PartitionServiceClient ¶
type PartitionServiceClient interface { // Get a tenant in the system matching the id GetTenant(ctx context.Context, in *GetTenantRequest, opts ...grpc.CallOption) (*GetTenantResponse, error) // List all tenants in the system matching the query in some way ListTenant(ctx context.Context, in *ListTenantRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ListTenantResponse], error) // Log a new tenant request CreateTenant(ctx context.Context, in *CreateTenantRequest, opts ...grpc.CallOption) (*CreateTenantResponse, error) // List all partitions in the system matching the query in some way ListPartition(ctx context.Context, in *ListPartitionRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ListPartitionResponse], error) // Log a new partition request CreatePartition(ctx context.Context, in *CreatePartitionRequest, opts ...grpc.CallOption) (*CreatePartitionResponse, error) // Get an existing partition object GetPartition(ctx context.Context, in *GetPartitionRequest, opts ...grpc.CallOption) (*GetPartitionResponse, error) // Update an existing partition object UpdatePartition(ctx context.Context, in *UpdatePartitionRequest, opts ...grpc.CallOption) (*UpdatePartitionResponse, error) // Create a partition Role for a particular partition CreatePartitionRole(ctx context.Context, in *CreatePartitionRoleRequest, opts ...grpc.CallOption) (*CreatePartitionRoleResponse, error) // List partition roles available for this particular partition ListPartitionRole(ctx context.Context, in *ListPartitionRoleRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ListPartitionRoleResponse], error) // Remove a partition role that is not required RemovePartitionRole(ctx context.Context, in *RemovePartitionRoleRequest, opts ...grpc.CallOption) (*RemovePartitionRoleResponse, error) // Creates a new page for access or customization of how a partition looks like CreatePage(ctx context.Context, in *CreatePageRequest, opts ...grpc.CallOption) (*CreatePageResponse, error) // Obtains a new page specific to a partition GetPage(ctx context.Context, in *GetPageRequest, opts ...grpc.CallOption) (*GetPageResponse, error) // Removes a page from being accessible for a partition RemovePage(ctx context.Context, in *RemovePageRequest, opts ...grpc.CallOption) (*RemovePageResponse, error) // Creates a users ability to access a partition CreateAccess(ctx context.Context, in *CreateAccessRequest, opts ...grpc.CallOption) (*CreateAccessResponse, error) // Obtains a users access to a partition by access id or partition and profile id GetAccess(ctx context.Context, in *GetAccessRequest, opts ...grpc.CallOption) (*GetAccessResponse, error) // Removes a user's ability to access a partition RemoveAccess(ctx context.Context, in *RemoveAccessRequest, opts ...grpc.CallOption) (*RemoveAccessResponse, error) // Create an access Role for a particular access CreateAccessRole(ctx context.Context, in *CreateAccessRoleRequest, opts ...grpc.CallOption) (*CreateAccessRoleResponse, error) // List access roles available for this particular access ListAccessRole(ctx context.Context, in *ListAccessRoleRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ListAccessRoleResponse], error) // Remove an access role that is not required RemoveAccessRole(ctx context.Context, in *RemoveAccessRoleRequest, opts ...grpc.CallOption) (*RemoveAccessRoleResponse, error) }
PartitionServiceClient is the client API for PartitionService 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 NewPartitionServiceClient ¶
func NewPartitionServiceClient(cc grpc.ClientConnInterface) PartitionServiceClient
type PartitionServiceServer ¶
type PartitionServiceServer interface { // Get a tenant in the system matching the id GetTenant(context.Context, *GetTenantRequest) (*GetTenantResponse, error) // List all tenants in the system matching the query in some way ListTenant(*ListTenantRequest, grpc.ServerStreamingServer[ListTenantResponse]) error // Log a new tenant request CreateTenant(context.Context, *CreateTenantRequest) (*CreateTenantResponse, error) // List all partitions in the system matching the query in some way ListPartition(*ListPartitionRequest, grpc.ServerStreamingServer[ListPartitionResponse]) error // Log a new partition request CreatePartition(context.Context, *CreatePartitionRequest) (*CreatePartitionResponse, error) // Get an existing partition object GetPartition(context.Context, *GetPartitionRequest) (*GetPartitionResponse, error) // Update an existing partition object UpdatePartition(context.Context, *UpdatePartitionRequest) (*UpdatePartitionResponse, error) // Create a partition Role for a particular partition CreatePartitionRole(context.Context, *CreatePartitionRoleRequest) (*CreatePartitionRoleResponse, error) // List partition roles available for this particular partition ListPartitionRole(*ListPartitionRoleRequest, grpc.ServerStreamingServer[ListPartitionRoleResponse]) error // Remove a partition role that is not required RemovePartitionRole(context.Context, *RemovePartitionRoleRequest) (*RemovePartitionRoleResponse, error) // Creates a new page for access or customization of how a partition looks like CreatePage(context.Context, *CreatePageRequest) (*CreatePageResponse, error) // Obtains a new page specific to a partition GetPage(context.Context, *GetPageRequest) (*GetPageResponse, error) // Removes a page from being accessible for a partition RemovePage(context.Context, *RemovePageRequest) (*RemovePageResponse, error) // Creates a users ability to access a partition CreateAccess(context.Context, *CreateAccessRequest) (*CreateAccessResponse, error) // Obtains a users access to a partition by access id or partition and profile id GetAccess(context.Context, *GetAccessRequest) (*GetAccessResponse, error) // Removes a user's ability to access a partition RemoveAccess(context.Context, *RemoveAccessRequest) (*RemoveAccessResponse, error) // Create an access Role for a particular access CreateAccessRole(context.Context, *CreateAccessRoleRequest) (*CreateAccessRoleResponse, error) // List access roles available for this particular access ListAccessRole(*ListAccessRoleRequest, grpc.ServerStreamingServer[ListAccessRoleResponse]) error // Remove an access role that is not required RemoveAccessRole(context.Context, *RemoveAccessRoleRequest) (*RemoveAccessRoleResponse, error) // contains filtered or unexported methods }
PartitionServiceServer is the server API for PartitionService service. All implementations must embed UnimplementedPartitionServiceServer for forward compatibility.
type PartitionService_ListAccessRoleClient ¶
type PartitionService_ListAccessRoleClient = grpc.ServerStreamingClient[ListAccessRoleResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type PartitionService_ListAccessRoleServer ¶
type PartitionService_ListAccessRoleServer = grpc.ServerStreamingServer[ListAccessRoleResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type PartitionService_ListPartitionClient ¶
type PartitionService_ListPartitionClient = grpc.ServerStreamingClient[ListPartitionResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type PartitionService_ListPartitionRoleClient ¶
type PartitionService_ListPartitionRoleClient = grpc.ServerStreamingClient[ListPartitionRoleResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type PartitionService_ListPartitionRoleServer ¶
type PartitionService_ListPartitionRoleServer = grpc.ServerStreamingServer[ListPartitionRoleResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type PartitionService_ListPartitionServer ¶
type PartitionService_ListPartitionServer = grpc.ServerStreamingServer[ListPartitionResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type PartitionService_ListTenantClient ¶
type PartitionService_ListTenantClient = grpc.ServerStreamingClient[ListTenantResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type PartitionService_ListTenantServer ¶
type PartitionService_ListTenantServer = grpc.ServerStreamingServer[ListTenantResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type RemoveAccessRequest ¶
type RemoveAccessRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*RemoveAccessRequest) Descriptor
deprecated
func (*RemoveAccessRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveAccessRequest.ProtoReflect.Descriptor instead.
func (*RemoveAccessRequest) GetId ¶ added in v1.28.0
func (x *RemoveAccessRequest) GetId() string
func (*RemoveAccessRequest) ProtoMessage ¶
func (*RemoveAccessRequest) ProtoMessage()
func (*RemoveAccessRequest) ProtoReflect ¶
func (x *RemoveAccessRequest) ProtoReflect() protoreflect.Message
func (*RemoveAccessRequest) Reset ¶
func (x *RemoveAccessRequest) Reset()
func (*RemoveAccessRequest) String ¶
func (x *RemoveAccessRequest) String() string
type RemoveAccessResponse ¶
type RemoveAccessResponse struct { Succeeded bool `protobuf:"varint,1,opt,name=succeeded,proto3" json:"succeeded,omitempty"` // contains filtered or unexported fields }
func (*RemoveAccessResponse) Descriptor
deprecated
func (*RemoveAccessResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveAccessResponse.ProtoReflect.Descriptor instead.
func (*RemoveAccessResponse) GetSucceeded ¶
func (x *RemoveAccessResponse) GetSucceeded() bool
func (*RemoveAccessResponse) ProtoMessage ¶
func (*RemoveAccessResponse) ProtoMessage()
func (*RemoveAccessResponse) ProtoReflect ¶
func (x *RemoveAccessResponse) ProtoReflect() protoreflect.Message
func (*RemoveAccessResponse) Reset ¶
func (x *RemoveAccessResponse) Reset()
func (*RemoveAccessResponse) String ¶
func (x *RemoveAccessResponse) String() string
type RemoveAccessRoleRequest ¶
type RemoveAccessRoleRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*RemoveAccessRoleRequest) Descriptor
deprecated
func (*RemoveAccessRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveAccessRoleRequest.ProtoReflect.Descriptor instead.
func (*RemoveAccessRoleRequest) GetId ¶ added in v1.28.0
func (x *RemoveAccessRoleRequest) GetId() string
func (*RemoveAccessRoleRequest) ProtoMessage ¶
func (*RemoveAccessRoleRequest) ProtoMessage()
func (*RemoveAccessRoleRequest) ProtoReflect ¶
func (x *RemoveAccessRoleRequest) ProtoReflect() protoreflect.Message
func (*RemoveAccessRoleRequest) Reset ¶
func (x *RemoveAccessRoleRequest) Reset()
func (*RemoveAccessRoleRequest) String ¶
func (x *RemoveAccessRoleRequest) String() string
type RemoveAccessRoleResponse ¶
type RemoveAccessRoleResponse struct { Succeeded bool `protobuf:"varint,1,opt,name=succeeded,proto3" json:"succeeded,omitempty"` // contains filtered or unexported fields }
func (*RemoveAccessRoleResponse) Descriptor
deprecated
func (*RemoveAccessRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveAccessRoleResponse.ProtoReflect.Descriptor instead.
func (*RemoveAccessRoleResponse) GetSucceeded ¶
func (x *RemoveAccessRoleResponse) GetSucceeded() bool
func (*RemoveAccessRoleResponse) ProtoMessage ¶
func (*RemoveAccessRoleResponse) ProtoMessage()
func (*RemoveAccessRoleResponse) ProtoReflect ¶
func (x *RemoveAccessRoleResponse) ProtoReflect() protoreflect.Message
func (*RemoveAccessRoleResponse) Reset ¶
func (x *RemoveAccessRoleResponse) Reset()
func (*RemoveAccessRoleResponse) String ¶
func (x *RemoveAccessRoleResponse) String() string
type RemovePageRequest ¶
type RemovePageRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*RemovePageRequest) Descriptor
deprecated
func (*RemovePageRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemovePageRequest.ProtoReflect.Descriptor instead.
func (*RemovePageRequest) GetId ¶ added in v1.28.0
func (x *RemovePageRequest) GetId() string
func (*RemovePageRequest) ProtoMessage ¶
func (*RemovePageRequest) ProtoMessage()
func (*RemovePageRequest) ProtoReflect ¶
func (x *RemovePageRequest) ProtoReflect() protoreflect.Message
func (*RemovePageRequest) Reset ¶
func (x *RemovePageRequest) Reset()
func (*RemovePageRequest) String ¶
func (x *RemovePageRequest) String() string
type RemovePageResponse ¶
type RemovePageResponse struct { Succeeded bool `protobuf:"varint,1,opt,name=succeeded,proto3" json:"succeeded,omitempty"` // contains filtered or unexported fields }
func (*RemovePageResponse) Descriptor
deprecated
func (*RemovePageResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemovePageResponse.ProtoReflect.Descriptor instead.
func (*RemovePageResponse) GetSucceeded ¶
func (x *RemovePageResponse) GetSucceeded() bool
func (*RemovePageResponse) ProtoMessage ¶
func (*RemovePageResponse) ProtoMessage()
func (*RemovePageResponse) ProtoReflect ¶
func (x *RemovePageResponse) ProtoReflect() protoreflect.Message
func (*RemovePageResponse) Reset ¶
func (x *RemovePageResponse) Reset()
func (*RemovePageResponse) String ¶
func (x *RemovePageResponse) String() string
type RemovePartitionRoleRequest ¶
type RemovePartitionRoleRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*RemovePartitionRoleRequest) Descriptor
deprecated
func (*RemovePartitionRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemovePartitionRoleRequest.ProtoReflect.Descriptor instead.
func (*RemovePartitionRoleRequest) GetId ¶ added in v1.28.0
func (x *RemovePartitionRoleRequest) GetId() string
func (*RemovePartitionRoleRequest) ProtoMessage ¶
func (*RemovePartitionRoleRequest) ProtoMessage()
func (*RemovePartitionRoleRequest) ProtoReflect ¶
func (x *RemovePartitionRoleRequest) ProtoReflect() protoreflect.Message
func (*RemovePartitionRoleRequest) Reset ¶
func (x *RemovePartitionRoleRequest) Reset()
func (*RemovePartitionRoleRequest) String ¶
func (x *RemovePartitionRoleRequest) String() string
type RemovePartitionRoleResponse ¶
type RemovePartitionRoleResponse struct { Succeeded bool `protobuf:"varint,1,opt,name=succeeded,proto3" json:"succeeded,omitempty"` // contains filtered or unexported fields }
func (*RemovePartitionRoleResponse) Descriptor
deprecated
func (*RemovePartitionRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemovePartitionRoleResponse.ProtoReflect.Descriptor instead.
func (*RemovePartitionRoleResponse) GetSucceeded ¶
func (x *RemovePartitionRoleResponse) GetSucceeded() bool
func (*RemovePartitionRoleResponse) ProtoMessage ¶
func (*RemovePartitionRoleResponse) ProtoMessage()
func (*RemovePartitionRoleResponse) ProtoReflect ¶
func (x *RemovePartitionRoleResponse) ProtoReflect() protoreflect.Message
func (*RemovePartitionRoleResponse) Reset ¶
func (x *RemovePartitionRoleResponse) Reset()
func (*RemovePartitionRoleResponse) String ¶
func (x *RemovePartitionRoleResponse) String() string
type TenantObject ¶
type TenantObject struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Properties map[string]string `` /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TenantObject) Descriptor
deprecated
func (*TenantObject) Descriptor() ([]byte, []int)
Deprecated: Use TenantObject.ProtoReflect.Descriptor instead.
func (*TenantObject) GetDescription ¶
func (x *TenantObject) GetDescription() string
func (*TenantObject) GetId ¶
func (x *TenantObject) GetId() string
func (*TenantObject) GetProperties ¶
func (x *TenantObject) GetProperties() map[string]string
func (*TenantObject) ProtoMessage ¶
func (*TenantObject) ProtoMessage()
func (*TenantObject) ProtoReflect ¶
func (x *TenantObject) ProtoReflect() protoreflect.Message
func (*TenantObject) Reset ¶
func (x *TenantObject) Reset()
func (*TenantObject) String ¶
func (x *TenantObject) String() string
type UnimplementedPartitionServiceServer ¶
type UnimplementedPartitionServiceServer struct{}
UnimplementedPartitionServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedPartitionServiceServer) CreateAccess ¶
func (UnimplementedPartitionServiceServer) CreateAccess(context.Context, *CreateAccessRequest) (*CreateAccessResponse, error)
func (UnimplementedPartitionServiceServer) CreateAccessRole ¶
func (UnimplementedPartitionServiceServer) CreateAccessRole(context.Context, *CreateAccessRoleRequest) (*CreateAccessRoleResponse, error)
func (UnimplementedPartitionServiceServer) CreatePage ¶
func (UnimplementedPartitionServiceServer) CreatePage(context.Context, *CreatePageRequest) (*CreatePageResponse, error)
func (UnimplementedPartitionServiceServer) CreatePartition ¶
func (UnimplementedPartitionServiceServer) CreatePartition(context.Context, *CreatePartitionRequest) (*CreatePartitionResponse, error)
func (UnimplementedPartitionServiceServer) CreatePartitionRole ¶
func (UnimplementedPartitionServiceServer) CreatePartitionRole(context.Context, *CreatePartitionRoleRequest) (*CreatePartitionRoleResponse, error)
func (UnimplementedPartitionServiceServer) CreateTenant ¶
func (UnimplementedPartitionServiceServer) CreateTenant(context.Context, *CreateTenantRequest) (*CreateTenantResponse, error)
func (UnimplementedPartitionServiceServer) GetAccess ¶
func (UnimplementedPartitionServiceServer) GetAccess(context.Context, *GetAccessRequest) (*GetAccessResponse, error)
func (UnimplementedPartitionServiceServer) GetPage ¶
func (UnimplementedPartitionServiceServer) GetPage(context.Context, *GetPageRequest) (*GetPageResponse, error)
func (UnimplementedPartitionServiceServer) GetPartition ¶
func (UnimplementedPartitionServiceServer) GetPartition(context.Context, *GetPartitionRequest) (*GetPartitionResponse, error)
func (UnimplementedPartitionServiceServer) GetTenant ¶
func (UnimplementedPartitionServiceServer) GetTenant(context.Context, *GetTenantRequest) (*GetTenantResponse, error)
func (UnimplementedPartitionServiceServer) ListAccessRole ¶
func (UnimplementedPartitionServiceServer) ListAccessRole(*ListAccessRoleRequest, grpc.ServerStreamingServer[ListAccessRoleResponse]) error
func (UnimplementedPartitionServiceServer) ListPartition ¶
func (UnimplementedPartitionServiceServer) ListPartition(*ListPartitionRequest, grpc.ServerStreamingServer[ListPartitionResponse]) error
func (UnimplementedPartitionServiceServer) ListPartitionRole ¶
func (UnimplementedPartitionServiceServer) ListPartitionRole(*ListPartitionRoleRequest, grpc.ServerStreamingServer[ListPartitionRoleResponse]) error
func (UnimplementedPartitionServiceServer) ListTenant ¶
func (UnimplementedPartitionServiceServer) ListTenant(*ListTenantRequest, grpc.ServerStreamingServer[ListTenantResponse]) error
func (UnimplementedPartitionServiceServer) RemoveAccess ¶
func (UnimplementedPartitionServiceServer) RemoveAccess(context.Context, *RemoveAccessRequest) (*RemoveAccessResponse, error)
func (UnimplementedPartitionServiceServer) RemoveAccessRole ¶
func (UnimplementedPartitionServiceServer) RemoveAccessRole(context.Context, *RemoveAccessRoleRequest) (*RemoveAccessRoleResponse, error)
func (UnimplementedPartitionServiceServer) RemovePage ¶
func (UnimplementedPartitionServiceServer) RemovePage(context.Context, *RemovePageRequest) (*RemovePageResponse, error)
func (UnimplementedPartitionServiceServer) RemovePartitionRole ¶
func (UnimplementedPartitionServiceServer) RemovePartitionRole(context.Context, *RemovePartitionRoleRequest) (*RemovePartitionRoleResponse, error)
func (UnimplementedPartitionServiceServer) UpdatePartition ¶
func (UnimplementedPartitionServiceServer) UpdatePartition(context.Context, *UpdatePartitionRequest) (*UpdatePartitionResponse, error)
type UnsafePartitionServiceServer ¶
type UnsafePartitionServiceServer interface {
// contains filtered or unexported methods
}
UnsafePartitionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PartitionServiceServer will result in compilation errors.
type UpdatePartitionRequest ¶
type UpdatePartitionRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` State v1.STATE `protobuf:"varint,4,opt,name=state,proto3,enum=common.v1.STATE" json:"state,omitempty"` Properties map[string]string `` /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdatePartitionRequest) Descriptor
deprecated
func (*UpdatePartitionRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePartitionRequest.ProtoReflect.Descriptor instead.
func (*UpdatePartitionRequest) GetDescription ¶
func (x *UpdatePartitionRequest) GetDescription() string
func (*UpdatePartitionRequest) GetId ¶ added in v1.28.0
func (x *UpdatePartitionRequest) GetId() string
func (*UpdatePartitionRequest) GetName ¶
func (x *UpdatePartitionRequest) GetName() string
func (*UpdatePartitionRequest) GetProperties ¶
func (x *UpdatePartitionRequest) GetProperties() map[string]string
func (*UpdatePartitionRequest) GetState ¶
func (x *UpdatePartitionRequest) GetState() v1.STATE
func (*UpdatePartitionRequest) ProtoMessage ¶
func (*UpdatePartitionRequest) ProtoMessage()
func (*UpdatePartitionRequest) ProtoReflect ¶
func (x *UpdatePartitionRequest) ProtoReflect() protoreflect.Message
func (*UpdatePartitionRequest) Reset ¶
func (x *UpdatePartitionRequest) Reset()
func (*UpdatePartitionRequest) String ¶
func (x *UpdatePartitionRequest) String() string
type UpdatePartitionResponse ¶
type UpdatePartitionResponse struct { Data *PartitionObject `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*UpdatePartitionResponse) Descriptor
deprecated
func (*UpdatePartitionResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePartitionResponse.ProtoReflect.Descriptor instead.
func (*UpdatePartitionResponse) GetData ¶
func (x *UpdatePartitionResponse) GetData() *PartitionObject
func (*UpdatePartitionResponse) ProtoMessage ¶
func (*UpdatePartitionResponse) ProtoMessage()
func (*UpdatePartitionResponse) ProtoReflect ¶
func (x *UpdatePartitionResponse) ProtoReflect() protoreflect.Message
func (*UpdatePartitionResponse) Reset ¶
func (x *UpdatePartitionResponse) Reset()
func (*UpdatePartitionResponse) String ¶
func (x *UpdatePartitionResponse) String() string