Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: /home/j/code/antinvestor/apis/partition/v1/partition_grpc.pb.go
Generated by this command:
mockgen -source=/home/j/code/antinvestor/apis/partition/v1/partition_grpc.pb.go -self_package=github.com/antinvestor/apis/partition/v1 -package=partitionv1 -destination=/home/j/code/antinvestor/apis/partition/v1/partition_grpc_mock.go
Package partitionv1 is a generated GoMock package.
Index ¶
- Constants
- Variables
- 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 (m *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 (m *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) (PartitionService_ListAccessRoleClient, error)
- func (m *MockPartitionServiceClient) ListPartition(ctx context.Context, in *ListPartitionRequest, opts ...grpc.CallOption) (PartitionService_ListPartitionClient, error)
- func (m *MockPartitionServiceClient) ListPartitionRole(ctx context.Context, in *ListPartitionRoleRequest, opts ...grpc.CallOption) (PartitionService_ListPartitionRoleClient, error)
- func (m *MockPartitionServiceClient) ListTenant(ctx context.Context, in *ListTenantRequest, opts ...grpc.CallOption) (PartitionService_ListTenantClient, 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, arg1 PartitionService_ListAccessRoleServer) error
- func (m *MockPartitionServiceServer) ListPartition(arg0 *ListPartitionRequest, arg1 PartitionService_ListPartitionServer) error
- func (m *MockPartitionServiceServer) ListPartitionRole(arg0 *ListPartitionRoleRequest, arg1 PartitionService_ListPartitionRoleServer) error
- func (m *MockPartitionServiceServer) ListTenant(arg0 *ListTenantRequest, arg1 PartitionService_ListTenantServer) 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 MockPartitionService_ListAccessRoleClient
- func (m *MockPartitionService_ListAccessRoleClient) CloseSend() error
- func (m *MockPartitionService_ListAccessRoleClient) Context() context.Context
- func (m *MockPartitionService_ListAccessRoleClient) EXPECT() *MockPartitionService_ListAccessRoleClientMockRecorder
- func (m *MockPartitionService_ListAccessRoleClient) Header() (metadata.MD, error)
- func (m *MockPartitionService_ListAccessRoleClient) Recv() (*ListAccessRoleResponse, error)
- func (m_2 *MockPartitionService_ListAccessRoleClient) RecvMsg(m any) error
- func (m_2 *MockPartitionService_ListAccessRoleClient) SendMsg(m any) error
- func (m *MockPartitionService_ListAccessRoleClient) Trailer() metadata.MD
- type MockPartitionService_ListAccessRoleClientMockRecorder
- func (mr *MockPartitionService_ListAccessRoleClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockPartitionService_ListAccessRoleClientMockRecorder) Context() *gomock.Call
- func (mr *MockPartitionService_ListAccessRoleClientMockRecorder) Header() *gomock.Call
- func (mr *MockPartitionService_ListAccessRoleClientMockRecorder) Recv() *gomock.Call
- func (mr *MockPartitionService_ListAccessRoleClientMockRecorder) RecvMsg(m any) *gomock.Call
- func (mr *MockPartitionService_ListAccessRoleClientMockRecorder) SendMsg(m any) *gomock.Call
- func (mr *MockPartitionService_ListAccessRoleClientMockRecorder) Trailer() *gomock.Call
- type MockPartitionService_ListAccessRoleServer
- func (m *MockPartitionService_ListAccessRoleServer) Context() context.Context
- func (m *MockPartitionService_ListAccessRoleServer) EXPECT() *MockPartitionService_ListAccessRoleServerMockRecorder
- func (m_2 *MockPartitionService_ListAccessRoleServer) RecvMsg(m any) error
- func (m *MockPartitionService_ListAccessRoleServer) Send(arg0 *ListAccessRoleResponse) error
- func (m *MockPartitionService_ListAccessRoleServer) SendHeader(arg0 metadata.MD) error
- func (m_2 *MockPartitionService_ListAccessRoleServer) SendMsg(m any) error
- func (m *MockPartitionService_ListAccessRoleServer) SetHeader(arg0 metadata.MD) error
- func (m *MockPartitionService_ListAccessRoleServer) SetTrailer(arg0 metadata.MD)
- type MockPartitionService_ListAccessRoleServerMockRecorder
- func (mr *MockPartitionService_ListAccessRoleServerMockRecorder) Context() *gomock.Call
- func (mr *MockPartitionService_ListAccessRoleServerMockRecorder) RecvMsg(m any) *gomock.Call
- func (mr *MockPartitionService_ListAccessRoleServerMockRecorder) Send(arg0 any) *gomock.Call
- func (mr *MockPartitionService_ListAccessRoleServerMockRecorder) SendHeader(arg0 any) *gomock.Call
- func (mr *MockPartitionService_ListAccessRoleServerMockRecorder) SendMsg(m any) *gomock.Call
- func (mr *MockPartitionService_ListAccessRoleServerMockRecorder) SetHeader(arg0 any) *gomock.Call
- func (mr *MockPartitionService_ListAccessRoleServerMockRecorder) SetTrailer(arg0 any) *gomock.Call
- type MockPartitionService_ListPartitionClient
- func (m *MockPartitionService_ListPartitionClient) CloseSend() error
- func (m *MockPartitionService_ListPartitionClient) Context() context.Context
- func (m *MockPartitionService_ListPartitionClient) EXPECT() *MockPartitionService_ListPartitionClientMockRecorder
- func (m *MockPartitionService_ListPartitionClient) Header() (metadata.MD, error)
- func (m *MockPartitionService_ListPartitionClient) Recv() (*ListPartitionResponse, error)
- func (m_2 *MockPartitionService_ListPartitionClient) RecvMsg(m any) error
- func (m_2 *MockPartitionService_ListPartitionClient) SendMsg(m any) error
- func (m *MockPartitionService_ListPartitionClient) Trailer() metadata.MD
- type MockPartitionService_ListPartitionClientMockRecorder
- func (mr *MockPartitionService_ListPartitionClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockPartitionService_ListPartitionClientMockRecorder) Context() *gomock.Call
- func (mr *MockPartitionService_ListPartitionClientMockRecorder) Header() *gomock.Call
- func (mr *MockPartitionService_ListPartitionClientMockRecorder) Recv() *gomock.Call
- func (mr *MockPartitionService_ListPartitionClientMockRecorder) RecvMsg(m any) *gomock.Call
- func (mr *MockPartitionService_ListPartitionClientMockRecorder) SendMsg(m any) *gomock.Call
- func (mr *MockPartitionService_ListPartitionClientMockRecorder) Trailer() *gomock.Call
- type MockPartitionService_ListPartitionRoleClient
- func (m *MockPartitionService_ListPartitionRoleClient) CloseSend() error
- func (m *MockPartitionService_ListPartitionRoleClient) Context() context.Context
- func (m *MockPartitionService_ListPartitionRoleClient) EXPECT() *MockPartitionService_ListPartitionRoleClientMockRecorder
- func (m *MockPartitionService_ListPartitionRoleClient) Header() (metadata.MD, error)
- func (m *MockPartitionService_ListPartitionRoleClient) Recv() (*ListPartitionRoleResponse, error)
- func (m_2 *MockPartitionService_ListPartitionRoleClient) RecvMsg(m any) error
- func (m_2 *MockPartitionService_ListPartitionRoleClient) SendMsg(m any) error
- func (m *MockPartitionService_ListPartitionRoleClient) Trailer() metadata.MD
- type MockPartitionService_ListPartitionRoleClientMockRecorder
- func (mr *MockPartitionService_ListPartitionRoleClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockPartitionService_ListPartitionRoleClientMockRecorder) Context() *gomock.Call
- func (mr *MockPartitionService_ListPartitionRoleClientMockRecorder) Header() *gomock.Call
- func (mr *MockPartitionService_ListPartitionRoleClientMockRecorder) Recv() *gomock.Call
- func (mr *MockPartitionService_ListPartitionRoleClientMockRecorder) RecvMsg(m any) *gomock.Call
- func (mr *MockPartitionService_ListPartitionRoleClientMockRecorder) SendMsg(m any) *gomock.Call
- func (mr *MockPartitionService_ListPartitionRoleClientMockRecorder) Trailer() *gomock.Call
- type MockPartitionService_ListPartitionRoleServer
- func (m *MockPartitionService_ListPartitionRoleServer) Context() context.Context
- func (m *MockPartitionService_ListPartitionRoleServer) EXPECT() *MockPartitionService_ListPartitionRoleServerMockRecorder
- func (m_2 *MockPartitionService_ListPartitionRoleServer) RecvMsg(m any) error
- func (m *MockPartitionService_ListPartitionRoleServer) Send(arg0 *ListPartitionRoleResponse) error
- func (m *MockPartitionService_ListPartitionRoleServer) SendHeader(arg0 metadata.MD) error
- func (m_2 *MockPartitionService_ListPartitionRoleServer) SendMsg(m any) error
- func (m *MockPartitionService_ListPartitionRoleServer) SetHeader(arg0 metadata.MD) error
- func (m *MockPartitionService_ListPartitionRoleServer) SetTrailer(arg0 metadata.MD)
- type MockPartitionService_ListPartitionRoleServerMockRecorder
- func (mr *MockPartitionService_ListPartitionRoleServerMockRecorder) Context() *gomock.Call
- func (mr *MockPartitionService_ListPartitionRoleServerMockRecorder) RecvMsg(m any) *gomock.Call
- func (mr *MockPartitionService_ListPartitionRoleServerMockRecorder) Send(arg0 any) *gomock.Call
- func (mr *MockPartitionService_ListPartitionRoleServerMockRecorder) SendHeader(arg0 any) *gomock.Call
- func (mr *MockPartitionService_ListPartitionRoleServerMockRecorder) SendMsg(m any) *gomock.Call
- func (mr *MockPartitionService_ListPartitionRoleServerMockRecorder) SetHeader(arg0 any) *gomock.Call
- func (mr *MockPartitionService_ListPartitionRoleServerMockRecorder) SetTrailer(arg0 any) *gomock.Call
- type MockPartitionService_ListPartitionServer
- func (m *MockPartitionService_ListPartitionServer) Context() context.Context
- func (m *MockPartitionService_ListPartitionServer) EXPECT() *MockPartitionService_ListPartitionServerMockRecorder
- func (m_2 *MockPartitionService_ListPartitionServer) RecvMsg(m any) error
- func (m *MockPartitionService_ListPartitionServer) Send(arg0 *ListPartitionResponse) error
- func (m *MockPartitionService_ListPartitionServer) SendHeader(arg0 metadata.MD) error
- func (m_2 *MockPartitionService_ListPartitionServer) SendMsg(m any) error
- func (m *MockPartitionService_ListPartitionServer) SetHeader(arg0 metadata.MD) error
- func (m *MockPartitionService_ListPartitionServer) SetTrailer(arg0 metadata.MD)
- type MockPartitionService_ListPartitionServerMockRecorder
- func (mr *MockPartitionService_ListPartitionServerMockRecorder) Context() *gomock.Call
- func (mr *MockPartitionService_ListPartitionServerMockRecorder) RecvMsg(m any) *gomock.Call
- func (mr *MockPartitionService_ListPartitionServerMockRecorder) Send(arg0 any) *gomock.Call
- func (mr *MockPartitionService_ListPartitionServerMockRecorder) SendHeader(arg0 any) *gomock.Call
- func (mr *MockPartitionService_ListPartitionServerMockRecorder) SendMsg(m any) *gomock.Call
- func (mr *MockPartitionService_ListPartitionServerMockRecorder) SetHeader(arg0 any) *gomock.Call
- func (mr *MockPartitionService_ListPartitionServerMockRecorder) SetTrailer(arg0 any) *gomock.Call
- type MockPartitionService_ListTenantClient
- func (m *MockPartitionService_ListTenantClient) CloseSend() error
- func (m *MockPartitionService_ListTenantClient) Context() context.Context
- func (m *MockPartitionService_ListTenantClient) EXPECT() *MockPartitionService_ListTenantClientMockRecorder
- func (m *MockPartitionService_ListTenantClient) Header() (metadata.MD, error)
- func (m *MockPartitionService_ListTenantClient) Recv() (*ListTenantResponse, error)
- func (m_2 *MockPartitionService_ListTenantClient) RecvMsg(m any) error
- func (m_2 *MockPartitionService_ListTenantClient) SendMsg(m any) error
- func (m *MockPartitionService_ListTenantClient) Trailer() metadata.MD
- type MockPartitionService_ListTenantClientMockRecorder
- func (mr *MockPartitionService_ListTenantClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockPartitionService_ListTenantClientMockRecorder) Context() *gomock.Call
- func (mr *MockPartitionService_ListTenantClientMockRecorder) Header() *gomock.Call
- func (mr *MockPartitionService_ListTenantClientMockRecorder) Recv() *gomock.Call
- func (mr *MockPartitionService_ListTenantClientMockRecorder) RecvMsg(m any) *gomock.Call
- func (mr *MockPartitionService_ListTenantClientMockRecorder) SendMsg(m any) *gomock.Call
- func (mr *MockPartitionService_ListTenantClientMockRecorder) Trailer() *gomock.Call
- type MockPartitionService_ListTenantServer
- func (m *MockPartitionService_ListTenantServer) Context() context.Context
- func (m *MockPartitionService_ListTenantServer) EXPECT() *MockPartitionService_ListTenantServerMockRecorder
- func (m_2 *MockPartitionService_ListTenantServer) RecvMsg(m any) error
- func (m *MockPartitionService_ListTenantServer) Send(arg0 *ListTenantResponse) error
- func (m *MockPartitionService_ListTenantServer) SendHeader(arg0 metadata.MD) error
- func (m_2 *MockPartitionService_ListTenantServer) SendMsg(m any) error
- func (m *MockPartitionService_ListTenantServer) SetHeader(arg0 metadata.MD) error
- func (m *MockPartitionService_ListTenantServer) SetTrailer(arg0 metadata.MD)
- type MockPartitionService_ListTenantServerMockRecorder
- func (mr *MockPartitionService_ListTenantServerMockRecorder) Context() *gomock.Call
- func (mr *MockPartitionService_ListTenantServerMockRecorder) RecvMsg(m any) *gomock.Call
- func (mr *MockPartitionService_ListTenantServerMockRecorder) Send(arg0 any) *gomock.Call
- func (mr *MockPartitionService_ListTenantServerMockRecorder) SendHeader(arg0 any) *gomock.Call
- func (mr *MockPartitionService_ListTenantServerMockRecorder) SendMsg(m any) *gomock.Call
- func (mr *MockPartitionService_ListTenantServerMockRecorder) SetHeader(arg0 any) *gomock.Call
- func (mr *MockPartitionService_ListTenantServerMockRecorder) SetTrailer(arg0 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) Close() error
- 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) ListAccess(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) GetAccessId() 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) GetAccessRoleId() 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) GetPartitionRoleId() 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, PartitionService_ListAccessRoleServer) error
- func (UnimplementedPartitionServiceServer) ListPartition(*ListPartitionRequest, PartitionService_ListPartitionServer) error
- func (UnimplementedPartitionServiceServer) ListPartitionRole(*ListPartitionRoleRequest, PartitionService_ListPartitionRoleServer) error
- func (UnimplementedPartitionServiceServer) ListTenant(*ListTenantRequest, PartitionService_ListTenantServer) 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) GetName() string
- func (x *UpdatePartitionRequest) GetPartitionId() 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 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 assignable 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 ¶ added in v1.4.8
func (x *CreateAccessRequest) GetClientId() string
func (*CreateAccessRequest) GetPartition ¶ added in v1.4.8
func (m *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 ¶ added in v1.4.8
type CreateAccessRequest_ClientId struct {
ClientId string `protobuf:"bytes,3,opt,name=client_id,json=clientId,proto3,oneof"`
}
type CreateAccessRequest_PartitionId ¶ added in v1.4.8
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 `` /* 161-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 `` /* 161-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 `` /* 161-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 assignable 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 ¶ added in v1.4.7
func (x *GetAccessRequest) GetClientId() string
func (*GetAccessRequest) GetPartition ¶ added in v1.4.7
func (m *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 ¶ added in v1.4.7
type GetAccessRequest_ClientId struct {
ClientId string `protobuf:"bytes,3,opt,name=client_id,json=clientId,proto3,oneof"`
}
type GetAccessRequest_PartitionId ¶ added in v1.4.7
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 `` /* 153-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 `` /* 153-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) (PartitionService_ListAccessRoleClient, error)
ListAccessRole mocks base method.
func (*MockPartitionServiceClient) ListPartition ¶
func (m *MockPartitionServiceClient) ListPartition(ctx context.Context, in *ListPartitionRequest, opts ...grpc.CallOption) (PartitionService_ListPartitionClient, error)
ListPartition mocks base method.
func (*MockPartitionServiceClient) ListPartitionRole ¶
func (m *MockPartitionServiceClient) ListPartitionRole(ctx context.Context, in *ListPartitionRoleRequest, opts ...grpc.CallOption) (PartitionService_ListPartitionRoleClient, error)
ListPartitionRole mocks base method.
func (*MockPartitionServiceClient) ListTenant ¶
func (m *MockPartitionServiceClient) ListTenant(ctx context.Context, in *ListTenantRequest, opts ...grpc.CallOption) (PartitionService_ListTenantClient, 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 PartitionService_ListAccessRoleServer) error
ListAccessRole mocks base method.
func (*MockPartitionServiceServer) ListPartition ¶
func (m *MockPartitionServiceServer) ListPartition(arg0 *ListPartitionRequest, arg1 PartitionService_ListPartitionServer) error
ListPartition mocks base method.
func (*MockPartitionServiceServer) ListPartitionRole ¶
func (m *MockPartitionServiceServer) ListPartitionRole(arg0 *ListPartitionRoleRequest, arg1 PartitionService_ListPartitionRoleServer) error
ListPartitionRole mocks base method.
func (*MockPartitionServiceServer) ListTenant ¶
func (m *MockPartitionServiceServer) ListTenant(arg0 *ListTenantRequest, arg1 PartitionService_ListTenantServer) 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 MockPartitionService_ListAccessRoleClient ¶
type MockPartitionService_ListAccessRoleClient struct {
// contains filtered or unexported fields
}
MockPartitionService_ListAccessRoleClient is a mock of PartitionService_ListAccessRoleClient interface.
func NewMockPartitionService_ListAccessRoleClient ¶
func NewMockPartitionService_ListAccessRoleClient(ctrl *gomock.Controller) *MockPartitionService_ListAccessRoleClient
NewMockPartitionService_ListAccessRoleClient creates a new mock instance.
func (*MockPartitionService_ListAccessRoleClient) CloseSend ¶
func (m *MockPartitionService_ListAccessRoleClient) CloseSend() error
CloseSend mocks base method.
func (*MockPartitionService_ListAccessRoleClient) Context ¶
func (m *MockPartitionService_ListAccessRoleClient) Context() context.Context
Context mocks base method.
func (*MockPartitionService_ListAccessRoleClient) EXPECT ¶
func (m *MockPartitionService_ListAccessRoleClient) EXPECT() *MockPartitionService_ListAccessRoleClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPartitionService_ListAccessRoleClient) Header ¶
func (m *MockPartitionService_ListAccessRoleClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockPartitionService_ListAccessRoleClient) Recv ¶
func (m *MockPartitionService_ListAccessRoleClient) Recv() (*ListAccessRoleResponse, error)
Recv mocks base method.
func (*MockPartitionService_ListAccessRoleClient) RecvMsg ¶
func (m_2 *MockPartitionService_ListAccessRoleClient) RecvMsg(m any) error
RecvMsg mocks base method.
func (*MockPartitionService_ListAccessRoleClient) SendMsg ¶
func (m_2 *MockPartitionService_ListAccessRoleClient) SendMsg(m any) error
SendMsg mocks base method.
func (*MockPartitionService_ListAccessRoleClient) Trailer ¶
func (m *MockPartitionService_ListAccessRoleClient) Trailer() metadata.MD
Trailer mocks base method.
type MockPartitionService_ListAccessRoleClientMockRecorder ¶
type MockPartitionService_ListAccessRoleClientMockRecorder struct {
// contains filtered or unexported fields
}
MockPartitionService_ListAccessRoleClientMockRecorder is the mock recorder for MockPartitionService_ListAccessRoleClient.
func (*MockPartitionService_ListAccessRoleClientMockRecorder) CloseSend ¶
func (mr *MockPartitionService_ListAccessRoleClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockPartitionService_ListAccessRoleClientMockRecorder) Context ¶
func (mr *MockPartitionService_ListAccessRoleClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockPartitionService_ListAccessRoleClientMockRecorder) Header ¶
func (mr *MockPartitionService_ListAccessRoleClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockPartitionService_ListAccessRoleClientMockRecorder) Recv ¶
func (mr *MockPartitionService_ListAccessRoleClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockPartitionService_ListAccessRoleClientMockRecorder) RecvMsg ¶
func (mr *MockPartitionService_ListAccessRoleClientMockRecorder) RecvMsg(m any) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockPartitionService_ListAccessRoleClientMockRecorder) SendMsg ¶
func (mr *MockPartitionService_ListAccessRoleClientMockRecorder) SendMsg(m any) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockPartitionService_ListAccessRoleClientMockRecorder) Trailer ¶
func (mr *MockPartitionService_ListAccessRoleClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer.
type MockPartitionService_ListAccessRoleServer ¶
type MockPartitionService_ListAccessRoleServer struct {
// contains filtered or unexported fields
}
MockPartitionService_ListAccessRoleServer is a mock of PartitionService_ListAccessRoleServer interface.
func NewMockPartitionService_ListAccessRoleServer ¶
func NewMockPartitionService_ListAccessRoleServer(ctrl *gomock.Controller) *MockPartitionService_ListAccessRoleServer
NewMockPartitionService_ListAccessRoleServer creates a new mock instance.
func (*MockPartitionService_ListAccessRoleServer) Context ¶
func (m *MockPartitionService_ListAccessRoleServer) Context() context.Context
Context mocks base method.
func (*MockPartitionService_ListAccessRoleServer) EXPECT ¶
func (m *MockPartitionService_ListAccessRoleServer) EXPECT() *MockPartitionService_ListAccessRoleServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPartitionService_ListAccessRoleServer) RecvMsg ¶
func (m_2 *MockPartitionService_ListAccessRoleServer) RecvMsg(m any) error
RecvMsg mocks base method.
func (*MockPartitionService_ListAccessRoleServer) Send ¶
func (m *MockPartitionService_ListAccessRoleServer) Send(arg0 *ListAccessRoleResponse) error
Send mocks base method.
func (*MockPartitionService_ListAccessRoleServer) SendHeader ¶
func (m *MockPartitionService_ListAccessRoleServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method.
func (*MockPartitionService_ListAccessRoleServer) SendMsg ¶
func (m_2 *MockPartitionService_ListAccessRoleServer) SendMsg(m any) error
SendMsg mocks base method.
func (*MockPartitionService_ListAccessRoleServer) SetHeader ¶
func (m *MockPartitionService_ListAccessRoleServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method.
func (*MockPartitionService_ListAccessRoleServer) SetTrailer ¶
func (m *MockPartitionService_ListAccessRoleServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method.
type MockPartitionService_ListAccessRoleServerMockRecorder ¶
type MockPartitionService_ListAccessRoleServerMockRecorder struct {
// contains filtered or unexported fields
}
MockPartitionService_ListAccessRoleServerMockRecorder is the mock recorder for MockPartitionService_ListAccessRoleServer.
func (*MockPartitionService_ListAccessRoleServerMockRecorder) Context ¶
func (mr *MockPartitionService_ListAccessRoleServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockPartitionService_ListAccessRoleServerMockRecorder) RecvMsg ¶
func (mr *MockPartitionService_ListAccessRoleServerMockRecorder) RecvMsg(m any) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockPartitionService_ListAccessRoleServerMockRecorder) Send ¶
func (mr *MockPartitionService_ListAccessRoleServerMockRecorder) Send(arg0 any) *gomock.Call
Send indicates an expected call of Send.
func (*MockPartitionService_ListAccessRoleServerMockRecorder) SendHeader ¶
func (mr *MockPartitionService_ListAccessRoleServerMockRecorder) SendHeader(arg0 any) *gomock.Call
SendHeader indicates an expected call of SendHeader.
func (*MockPartitionService_ListAccessRoleServerMockRecorder) SendMsg ¶
func (mr *MockPartitionService_ListAccessRoleServerMockRecorder) SendMsg(m any) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockPartitionService_ListAccessRoleServerMockRecorder) SetHeader ¶
func (mr *MockPartitionService_ListAccessRoleServerMockRecorder) SetHeader(arg0 any) *gomock.Call
SetHeader indicates an expected call of SetHeader.
func (*MockPartitionService_ListAccessRoleServerMockRecorder) SetTrailer ¶
func (mr *MockPartitionService_ListAccessRoleServerMockRecorder) SetTrailer(arg0 any) *gomock.Call
SetTrailer indicates an expected call of SetTrailer.
type MockPartitionService_ListPartitionClient ¶
type MockPartitionService_ListPartitionClient struct {
// contains filtered or unexported fields
}
MockPartitionService_ListPartitionClient is a mock of PartitionService_ListPartitionClient interface.
func NewMockPartitionService_ListPartitionClient ¶
func NewMockPartitionService_ListPartitionClient(ctrl *gomock.Controller) *MockPartitionService_ListPartitionClient
NewMockPartitionService_ListPartitionClient creates a new mock instance.
func (*MockPartitionService_ListPartitionClient) CloseSend ¶
func (m *MockPartitionService_ListPartitionClient) CloseSend() error
CloseSend mocks base method.
func (*MockPartitionService_ListPartitionClient) Context ¶
func (m *MockPartitionService_ListPartitionClient) Context() context.Context
Context mocks base method.
func (*MockPartitionService_ListPartitionClient) EXPECT ¶
func (m *MockPartitionService_ListPartitionClient) EXPECT() *MockPartitionService_ListPartitionClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPartitionService_ListPartitionClient) Header ¶
func (m *MockPartitionService_ListPartitionClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockPartitionService_ListPartitionClient) Recv ¶
func (m *MockPartitionService_ListPartitionClient) Recv() (*ListPartitionResponse, error)
Recv mocks base method.
func (*MockPartitionService_ListPartitionClient) RecvMsg ¶
func (m_2 *MockPartitionService_ListPartitionClient) RecvMsg(m any) error
RecvMsg mocks base method.
func (*MockPartitionService_ListPartitionClient) SendMsg ¶
func (m_2 *MockPartitionService_ListPartitionClient) SendMsg(m any) error
SendMsg mocks base method.
func (*MockPartitionService_ListPartitionClient) Trailer ¶
func (m *MockPartitionService_ListPartitionClient) Trailer() metadata.MD
Trailer mocks base method.
type MockPartitionService_ListPartitionClientMockRecorder ¶
type MockPartitionService_ListPartitionClientMockRecorder struct {
// contains filtered or unexported fields
}
MockPartitionService_ListPartitionClientMockRecorder is the mock recorder for MockPartitionService_ListPartitionClient.
func (*MockPartitionService_ListPartitionClientMockRecorder) CloseSend ¶
func (mr *MockPartitionService_ListPartitionClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockPartitionService_ListPartitionClientMockRecorder) Context ¶
func (mr *MockPartitionService_ListPartitionClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockPartitionService_ListPartitionClientMockRecorder) Header ¶
func (mr *MockPartitionService_ListPartitionClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockPartitionService_ListPartitionClientMockRecorder) Recv ¶
func (mr *MockPartitionService_ListPartitionClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockPartitionService_ListPartitionClientMockRecorder) RecvMsg ¶
func (mr *MockPartitionService_ListPartitionClientMockRecorder) RecvMsg(m any) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockPartitionService_ListPartitionClientMockRecorder) SendMsg ¶
func (mr *MockPartitionService_ListPartitionClientMockRecorder) SendMsg(m any) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockPartitionService_ListPartitionClientMockRecorder) Trailer ¶
func (mr *MockPartitionService_ListPartitionClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer.
type MockPartitionService_ListPartitionRoleClient ¶
type MockPartitionService_ListPartitionRoleClient struct {
// contains filtered or unexported fields
}
MockPartitionService_ListPartitionRoleClient is a mock of PartitionService_ListPartitionRoleClient interface.
func NewMockPartitionService_ListPartitionRoleClient ¶
func NewMockPartitionService_ListPartitionRoleClient(ctrl *gomock.Controller) *MockPartitionService_ListPartitionRoleClient
NewMockPartitionService_ListPartitionRoleClient creates a new mock instance.
func (*MockPartitionService_ListPartitionRoleClient) CloseSend ¶
func (m *MockPartitionService_ListPartitionRoleClient) CloseSend() error
CloseSend mocks base method.
func (*MockPartitionService_ListPartitionRoleClient) Context ¶
func (m *MockPartitionService_ListPartitionRoleClient) Context() context.Context
Context mocks base method.
func (*MockPartitionService_ListPartitionRoleClient) EXPECT ¶
func (m *MockPartitionService_ListPartitionRoleClient) EXPECT() *MockPartitionService_ListPartitionRoleClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPartitionService_ListPartitionRoleClient) Header ¶
func (m *MockPartitionService_ListPartitionRoleClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockPartitionService_ListPartitionRoleClient) Recv ¶
func (m *MockPartitionService_ListPartitionRoleClient) Recv() (*ListPartitionRoleResponse, error)
Recv mocks base method.
func (*MockPartitionService_ListPartitionRoleClient) RecvMsg ¶
func (m_2 *MockPartitionService_ListPartitionRoleClient) RecvMsg(m any) error
RecvMsg mocks base method.
func (*MockPartitionService_ListPartitionRoleClient) SendMsg ¶
func (m_2 *MockPartitionService_ListPartitionRoleClient) SendMsg(m any) error
SendMsg mocks base method.
func (*MockPartitionService_ListPartitionRoleClient) Trailer ¶
func (m *MockPartitionService_ListPartitionRoleClient) Trailer() metadata.MD
Trailer mocks base method.
type MockPartitionService_ListPartitionRoleClientMockRecorder ¶
type MockPartitionService_ListPartitionRoleClientMockRecorder struct {
// contains filtered or unexported fields
}
MockPartitionService_ListPartitionRoleClientMockRecorder is the mock recorder for MockPartitionService_ListPartitionRoleClient.
func (*MockPartitionService_ListPartitionRoleClientMockRecorder) CloseSend ¶
func (mr *MockPartitionService_ListPartitionRoleClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockPartitionService_ListPartitionRoleClientMockRecorder) Context ¶
func (mr *MockPartitionService_ListPartitionRoleClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockPartitionService_ListPartitionRoleClientMockRecorder) Header ¶
func (mr *MockPartitionService_ListPartitionRoleClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockPartitionService_ListPartitionRoleClientMockRecorder) Recv ¶
func (mr *MockPartitionService_ListPartitionRoleClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockPartitionService_ListPartitionRoleClientMockRecorder) RecvMsg ¶
func (mr *MockPartitionService_ListPartitionRoleClientMockRecorder) RecvMsg(m any) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockPartitionService_ListPartitionRoleClientMockRecorder) SendMsg ¶
func (mr *MockPartitionService_ListPartitionRoleClientMockRecorder) SendMsg(m any) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockPartitionService_ListPartitionRoleClientMockRecorder) Trailer ¶
func (mr *MockPartitionService_ListPartitionRoleClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer.
type MockPartitionService_ListPartitionRoleServer ¶
type MockPartitionService_ListPartitionRoleServer struct {
// contains filtered or unexported fields
}
MockPartitionService_ListPartitionRoleServer is a mock of PartitionService_ListPartitionRoleServer interface.
func NewMockPartitionService_ListPartitionRoleServer ¶
func NewMockPartitionService_ListPartitionRoleServer(ctrl *gomock.Controller) *MockPartitionService_ListPartitionRoleServer
NewMockPartitionService_ListPartitionRoleServer creates a new mock instance.
func (*MockPartitionService_ListPartitionRoleServer) Context ¶
func (m *MockPartitionService_ListPartitionRoleServer) Context() context.Context
Context mocks base method.
func (*MockPartitionService_ListPartitionRoleServer) EXPECT ¶
func (m *MockPartitionService_ListPartitionRoleServer) EXPECT() *MockPartitionService_ListPartitionRoleServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPartitionService_ListPartitionRoleServer) RecvMsg ¶
func (m_2 *MockPartitionService_ListPartitionRoleServer) RecvMsg(m any) error
RecvMsg mocks base method.
func (*MockPartitionService_ListPartitionRoleServer) Send ¶
func (m *MockPartitionService_ListPartitionRoleServer) Send(arg0 *ListPartitionRoleResponse) error
Send mocks base method.
func (*MockPartitionService_ListPartitionRoleServer) SendHeader ¶
func (m *MockPartitionService_ListPartitionRoleServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method.
func (*MockPartitionService_ListPartitionRoleServer) SendMsg ¶
func (m_2 *MockPartitionService_ListPartitionRoleServer) SendMsg(m any) error
SendMsg mocks base method.
func (*MockPartitionService_ListPartitionRoleServer) SetHeader ¶
func (m *MockPartitionService_ListPartitionRoleServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method.
func (*MockPartitionService_ListPartitionRoleServer) SetTrailer ¶
func (m *MockPartitionService_ListPartitionRoleServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method.
type MockPartitionService_ListPartitionRoleServerMockRecorder ¶
type MockPartitionService_ListPartitionRoleServerMockRecorder struct {
// contains filtered or unexported fields
}
MockPartitionService_ListPartitionRoleServerMockRecorder is the mock recorder for MockPartitionService_ListPartitionRoleServer.
func (*MockPartitionService_ListPartitionRoleServerMockRecorder) Context ¶
func (mr *MockPartitionService_ListPartitionRoleServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockPartitionService_ListPartitionRoleServerMockRecorder) RecvMsg ¶
func (mr *MockPartitionService_ListPartitionRoleServerMockRecorder) RecvMsg(m any) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockPartitionService_ListPartitionRoleServerMockRecorder) Send ¶
func (mr *MockPartitionService_ListPartitionRoleServerMockRecorder) Send(arg0 any) *gomock.Call
Send indicates an expected call of Send.
func (*MockPartitionService_ListPartitionRoleServerMockRecorder) SendHeader ¶
func (mr *MockPartitionService_ListPartitionRoleServerMockRecorder) SendHeader(arg0 any) *gomock.Call
SendHeader indicates an expected call of SendHeader.
func (*MockPartitionService_ListPartitionRoleServerMockRecorder) SendMsg ¶
func (mr *MockPartitionService_ListPartitionRoleServerMockRecorder) SendMsg(m any) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockPartitionService_ListPartitionRoleServerMockRecorder) SetHeader ¶
func (mr *MockPartitionService_ListPartitionRoleServerMockRecorder) SetHeader(arg0 any) *gomock.Call
SetHeader indicates an expected call of SetHeader.
func (*MockPartitionService_ListPartitionRoleServerMockRecorder) SetTrailer ¶
func (mr *MockPartitionService_ListPartitionRoleServerMockRecorder) SetTrailer(arg0 any) *gomock.Call
SetTrailer indicates an expected call of SetTrailer.
type MockPartitionService_ListPartitionServer ¶
type MockPartitionService_ListPartitionServer struct {
// contains filtered or unexported fields
}
MockPartitionService_ListPartitionServer is a mock of PartitionService_ListPartitionServer interface.
func NewMockPartitionService_ListPartitionServer ¶
func NewMockPartitionService_ListPartitionServer(ctrl *gomock.Controller) *MockPartitionService_ListPartitionServer
NewMockPartitionService_ListPartitionServer creates a new mock instance.
func (*MockPartitionService_ListPartitionServer) Context ¶
func (m *MockPartitionService_ListPartitionServer) Context() context.Context
Context mocks base method.
func (*MockPartitionService_ListPartitionServer) EXPECT ¶
func (m *MockPartitionService_ListPartitionServer) EXPECT() *MockPartitionService_ListPartitionServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPartitionService_ListPartitionServer) RecvMsg ¶
func (m_2 *MockPartitionService_ListPartitionServer) RecvMsg(m any) error
RecvMsg mocks base method.
func (*MockPartitionService_ListPartitionServer) Send ¶
func (m *MockPartitionService_ListPartitionServer) Send(arg0 *ListPartitionResponse) error
Send mocks base method.
func (*MockPartitionService_ListPartitionServer) SendHeader ¶
func (m *MockPartitionService_ListPartitionServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method.
func (*MockPartitionService_ListPartitionServer) SendMsg ¶
func (m_2 *MockPartitionService_ListPartitionServer) SendMsg(m any) error
SendMsg mocks base method.
func (*MockPartitionService_ListPartitionServer) SetHeader ¶
func (m *MockPartitionService_ListPartitionServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method.
func (*MockPartitionService_ListPartitionServer) SetTrailer ¶
func (m *MockPartitionService_ListPartitionServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method.
type MockPartitionService_ListPartitionServerMockRecorder ¶
type MockPartitionService_ListPartitionServerMockRecorder struct {
// contains filtered or unexported fields
}
MockPartitionService_ListPartitionServerMockRecorder is the mock recorder for MockPartitionService_ListPartitionServer.
func (*MockPartitionService_ListPartitionServerMockRecorder) Context ¶
func (mr *MockPartitionService_ListPartitionServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockPartitionService_ListPartitionServerMockRecorder) RecvMsg ¶
func (mr *MockPartitionService_ListPartitionServerMockRecorder) RecvMsg(m any) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockPartitionService_ListPartitionServerMockRecorder) Send ¶
func (mr *MockPartitionService_ListPartitionServerMockRecorder) Send(arg0 any) *gomock.Call
Send indicates an expected call of Send.
func (*MockPartitionService_ListPartitionServerMockRecorder) SendHeader ¶
func (mr *MockPartitionService_ListPartitionServerMockRecorder) SendHeader(arg0 any) *gomock.Call
SendHeader indicates an expected call of SendHeader.
func (*MockPartitionService_ListPartitionServerMockRecorder) SendMsg ¶
func (mr *MockPartitionService_ListPartitionServerMockRecorder) SendMsg(m any) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockPartitionService_ListPartitionServerMockRecorder) SetHeader ¶
func (mr *MockPartitionService_ListPartitionServerMockRecorder) SetHeader(arg0 any) *gomock.Call
SetHeader indicates an expected call of SetHeader.
func (*MockPartitionService_ListPartitionServerMockRecorder) SetTrailer ¶
func (mr *MockPartitionService_ListPartitionServerMockRecorder) SetTrailer(arg0 any) *gomock.Call
SetTrailer indicates an expected call of SetTrailer.
type MockPartitionService_ListTenantClient ¶
type MockPartitionService_ListTenantClient struct {
// contains filtered or unexported fields
}
MockPartitionService_ListTenantClient is a mock of PartitionService_ListTenantClient interface.
func NewMockPartitionService_ListTenantClient ¶
func NewMockPartitionService_ListTenantClient(ctrl *gomock.Controller) *MockPartitionService_ListTenantClient
NewMockPartitionService_ListTenantClient creates a new mock instance.
func (*MockPartitionService_ListTenantClient) CloseSend ¶
func (m *MockPartitionService_ListTenantClient) CloseSend() error
CloseSend mocks base method.
func (*MockPartitionService_ListTenantClient) Context ¶
func (m *MockPartitionService_ListTenantClient) Context() context.Context
Context mocks base method.
func (*MockPartitionService_ListTenantClient) EXPECT ¶
func (m *MockPartitionService_ListTenantClient) EXPECT() *MockPartitionService_ListTenantClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPartitionService_ListTenantClient) Header ¶
func (m *MockPartitionService_ListTenantClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockPartitionService_ListTenantClient) Recv ¶
func (m *MockPartitionService_ListTenantClient) Recv() (*ListTenantResponse, error)
Recv mocks base method.
func (*MockPartitionService_ListTenantClient) RecvMsg ¶
func (m_2 *MockPartitionService_ListTenantClient) RecvMsg(m any) error
RecvMsg mocks base method.
func (*MockPartitionService_ListTenantClient) SendMsg ¶
func (m_2 *MockPartitionService_ListTenantClient) SendMsg(m any) error
SendMsg mocks base method.
func (*MockPartitionService_ListTenantClient) Trailer ¶
func (m *MockPartitionService_ListTenantClient) Trailer() metadata.MD
Trailer mocks base method.
type MockPartitionService_ListTenantClientMockRecorder ¶
type MockPartitionService_ListTenantClientMockRecorder struct {
// contains filtered or unexported fields
}
MockPartitionService_ListTenantClientMockRecorder is the mock recorder for MockPartitionService_ListTenantClient.
func (*MockPartitionService_ListTenantClientMockRecorder) CloseSend ¶
func (mr *MockPartitionService_ListTenantClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockPartitionService_ListTenantClientMockRecorder) Context ¶
func (mr *MockPartitionService_ListTenantClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockPartitionService_ListTenantClientMockRecorder) Header ¶
func (mr *MockPartitionService_ListTenantClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockPartitionService_ListTenantClientMockRecorder) Recv ¶
func (mr *MockPartitionService_ListTenantClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockPartitionService_ListTenantClientMockRecorder) RecvMsg ¶
func (mr *MockPartitionService_ListTenantClientMockRecorder) RecvMsg(m any) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockPartitionService_ListTenantClientMockRecorder) SendMsg ¶
func (mr *MockPartitionService_ListTenantClientMockRecorder) SendMsg(m any) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockPartitionService_ListTenantClientMockRecorder) Trailer ¶
func (mr *MockPartitionService_ListTenantClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer.
type MockPartitionService_ListTenantServer ¶
type MockPartitionService_ListTenantServer struct {
// contains filtered or unexported fields
}
MockPartitionService_ListTenantServer is a mock of PartitionService_ListTenantServer interface.
func NewMockPartitionService_ListTenantServer ¶
func NewMockPartitionService_ListTenantServer(ctrl *gomock.Controller) *MockPartitionService_ListTenantServer
NewMockPartitionService_ListTenantServer creates a new mock instance.
func (*MockPartitionService_ListTenantServer) Context ¶
func (m *MockPartitionService_ListTenantServer) Context() context.Context
Context mocks base method.
func (*MockPartitionService_ListTenantServer) EXPECT ¶
func (m *MockPartitionService_ListTenantServer) EXPECT() *MockPartitionService_ListTenantServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPartitionService_ListTenantServer) RecvMsg ¶
func (m_2 *MockPartitionService_ListTenantServer) RecvMsg(m any) error
RecvMsg mocks base method.
func (*MockPartitionService_ListTenantServer) Send ¶
func (m *MockPartitionService_ListTenantServer) Send(arg0 *ListTenantResponse) error
Send mocks base method.
func (*MockPartitionService_ListTenantServer) SendHeader ¶
func (m *MockPartitionService_ListTenantServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method.
func (*MockPartitionService_ListTenantServer) SendMsg ¶
func (m_2 *MockPartitionService_ListTenantServer) SendMsg(m any) error
SendMsg mocks base method.
func (*MockPartitionService_ListTenantServer) SetHeader ¶
func (m *MockPartitionService_ListTenantServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method.
func (*MockPartitionService_ListTenantServer) SetTrailer ¶
func (m *MockPartitionService_ListTenantServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method.
type MockPartitionService_ListTenantServerMockRecorder ¶
type MockPartitionService_ListTenantServerMockRecorder struct {
// contains filtered or unexported fields
}
MockPartitionService_ListTenantServerMockRecorder is the mock recorder for MockPartitionService_ListTenantServer.
func (*MockPartitionService_ListTenantServerMockRecorder) Context ¶
func (mr *MockPartitionService_ListTenantServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockPartitionService_ListTenantServerMockRecorder) RecvMsg ¶
func (mr *MockPartitionService_ListTenantServerMockRecorder) RecvMsg(m any) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockPartitionService_ListTenantServerMockRecorder) Send ¶
func (mr *MockPartitionService_ListTenantServerMockRecorder) Send(arg0 any) *gomock.Call
Send indicates an expected call of Send.
func (*MockPartitionService_ListTenantServerMockRecorder) SendHeader ¶
func (mr *MockPartitionService_ListTenantServerMockRecorder) SendHeader(arg0 any) *gomock.Call
SendHeader indicates an expected call of SendHeader.
func (*MockPartitionService_ListTenantServerMockRecorder) SendMsg ¶
func (mr *MockPartitionService_ListTenantServerMockRecorder) SendMsg(m any) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockPartitionService_ListTenantServerMockRecorder) SetHeader ¶
func (mr *MockPartitionService_ListTenantServerMockRecorder) SetHeader(arg0 any) *gomock.Call
SetHeader indicates an expected call of SetHeader.
func (*MockPartitionService_ListTenantServerMockRecorder) SetTrailer ¶
func (mr *MockPartitionService_ListTenantServerMockRecorder) SetTrailer(arg0 any) *gomock.Call
SetTrailer indicates an expected call of SetTrailer.
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 {
// contains filtered or unexported fields
}
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 InstantiatePartitionsClient ¶
func InstantiatePartitionsClient( clientConnection *grpc.ClientConn, partitionServiceClient PartitionServiceClient) *PartitionClient
InstantiatePartitionsClient creates a new partitions client based on supplied connection
func NewPartitionsClient ¶
func NewPartitionsClient(ctx context.Context, opts ...apic.ClientOption) (*PartitionClient, error)
NewPartitionsClient creates a new partitions client. / The service that an application uses to access and manipulate partition information
func (*PartitionClient) Close ¶
func (partCl *PartitionClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*PartitionClient) CreateAccessByClientID ¶ added in v1.4.8
func (partCl *PartitionClient) CreateAccessByClientID( ctx context.Context, clientId string, profileId string) (*AccessObject, error)
func (*PartitionClient) CreateAccessByPartitionID ¶ added in v1.4.8
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 ¶ added in v1.4.7
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 ¶ added in v1.4.7
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) ListAccess ¶
func (partCl *PartitionClient) ListAccess(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 `` /* 161-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 `` /* 161-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 `` /* 161-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) (PartitionService_ListTenantClient, 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) (PartitionService_ListPartitionClient, 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) (PartitionService_ListPartitionRoleClient, 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) (PartitionService_ListAccessRoleClient, 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, PartitionService_ListTenantServer) 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, PartitionService_ListPartitionServer) 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, PartitionService_ListPartitionRoleServer) 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, PartitionService_ListAccessRoleServer) 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 interface { Recv() (*ListAccessRoleResponse, error) grpc.ClientStream }
type PartitionService_ListAccessRoleServer ¶
type PartitionService_ListAccessRoleServer interface { Send(*ListAccessRoleResponse) error grpc.ServerStream }
type PartitionService_ListPartitionClient ¶
type PartitionService_ListPartitionClient interface { Recv() (*ListPartitionResponse, error) grpc.ClientStream }
type PartitionService_ListPartitionRoleClient ¶
type PartitionService_ListPartitionRoleClient interface { Recv() (*ListPartitionRoleResponse, error) grpc.ClientStream }
type PartitionService_ListPartitionRoleServer ¶
type PartitionService_ListPartitionRoleServer interface { Send(*ListPartitionRoleResponse) error grpc.ServerStream }
type PartitionService_ListPartitionServer ¶
type PartitionService_ListPartitionServer interface { Send(*ListPartitionResponse) error grpc.ServerStream }
type PartitionService_ListTenantClient ¶
type PartitionService_ListTenantClient interface { Recv() (*ListTenantResponse, error) grpc.ClientStream }
type PartitionService_ListTenantServer ¶
type PartitionService_ListTenantServer interface { Send(*ListTenantResponse) error grpc.ServerStream }
type RemoveAccessRequest ¶
type RemoveAccessRequest struct { AccessId string `protobuf:"bytes,1,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"` // contains filtered or unexported fields }
func (*RemoveAccessRequest) Descriptor
deprecated
func (*RemoveAccessRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveAccessRequest.ProtoReflect.Descriptor instead.
func (*RemoveAccessRequest) GetAccessId ¶
func (x *RemoveAccessRequest) GetAccessId() 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 { AccessRoleId string `protobuf:"bytes,1,opt,name=access_role_id,json=accessRoleId,proto3" json:"access_role_id,omitempty"` // contains filtered or unexported fields }
func (*RemoveAccessRoleRequest) Descriptor
deprecated
func (*RemoveAccessRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveAccessRoleRequest.ProtoReflect.Descriptor instead.
func (*RemoveAccessRoleRequest) GetAccessRoleId ¶
func (x *RemoveAccessRoleRequest) GetAccessRoleId() 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 { PageId string `protobuf:"bytes,1,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"` // contains filtered or unexported fields }
func (*RemovePageRequest) Descriptor
deprecated
func (*RemovePageRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemovePageRequest.ProtoReflect.Descriptor instead.
func (*RemovePageRequest) GetPageId ¶
func (x *RemovePageRequest) GetPageId() 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 { PartitionRoleId string `protobuf:"bytes,1,opt,name=partition_role_id,json=partitionRoleId,proto3" json:"partition_role_id,omitempty"` // contains filtered or unexported fields }
func (*RemovePartitionRoleRequest) Descriptor
deprecated
func (*RemovePartitionRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemovePartitionRoleRequest.ProtoReflect.Descriptor instead.
func (*RemovePartitionRoleRequest) GetPartitionRoleId ¶
func (x *RemovePartitionRoleRequest) GetPartitionRoleId() 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 `` /* 161-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.
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, PartitionService_ListAccessRoleServer) error
func (UnimplementedPartitionServiceServer) ListPartition ¶
func (UnimplementedPartitionServiceServer) ListPartition(*ListPartitionRequest, PartitionService_ListPartitionServer) error
func (UnimplementedPartitionServiceServer) ListPartitionRole ¶
func (UnimplementedPartitionServiceServer) ListPartitionRole(*ListPartitionRoleRequest, PartitionService_ListPartitionRoleServer) error
func (UnimplementedPartitionServiceServer) ListTenant ¶
func (UnimplementedPartitionServiceServer) ListTenant(*ListTenantRequest, PartitionService_ListTenantServer) 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 { 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"` 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 `` /* 161-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) GetName ¶
func (x *UpdatePartitionRequest) GetName() string
func (*UpdatePartitionRequest) GetPartitionId ¶
func (x *UpdatePartitionRequest) GetPartitionId() 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