Documentation ¶
Overview ¶
Package query is a generated GoMock package.
Package query is a generated GoMock package.
Index ¶
- func NewErrorEventErrorListIterator(list ...ErrorEvent) storekit.Iterator
- func NewErrorListIterator(list ...Error) storekit.Iterator
- type ErdaErrors
- type ErdaEvents
- type Error
- type ErrorEvent
- type ErrorEventListIterator
- func (it *ErrorEventListIterator) Close() error
- func (it *ErrorEventListIterator) Error() error
- func (it *ErrorEventListIterator) First() bool
- func (it *ErrorEventListIterator) Last() bool
- func (it *ErrorEventListIterator) Next() bool
- func (it *ErrorEventListIterator) Prev() bool
- func (it *ErrorEventListIterator) Value() ErrorEvent
- type ErrorListIterator
- type MockEntityServiceClient
- func (m *MockEntityServiceClient) EXPECT() *MockEntityServiceClientMockRecorder
- func (m *MockEntityServiceClient) GetEntity(ctx context.Context, in *pb.GetEntityRequest, opts ...grpc.CallOption) (*pb.GetEntityResponse, error)
- func (m *MockEntityServiceClient) ListEntities(ctx context.Context, in *pb.ListEntitiesRequest, opts ...grpc.CallOption) (*pb.ListEntitiesResponse, error)
- func (m *MockEntityServiceClient) RemoveEntity(ctx context.Context, in *pb.RemoveEntityRequest, opts ...grpc.CallOption) (*pb.RemoveEntityResponse, error)
- func (m *MockEntityServiceClient) SetEntity(ctx context.Context, in *pb.SetEntityRequest, opts ...grpc.CallOption) (*pb.SetEntityResponse, error)
- type MockEntityServiceClientMockRecorder
- func (mr *MockEntityServiceClientMockRecorder) GetEntity(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockEntityServiceClientMockRecorder) ListEntities(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockEntityServiceClientMockRecorder) RemoveEntity(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockEntityServiceClientMockRecorder) SetEntity(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockEntityServiceServer
- func (m *MockEntityServiceServer) EXPECT() *MockEntityServiceServerMockRecorder
- func (m *MockEntityServiceServer) GetEntity(arg0 context.Context, arg1 *pb.GetEntityRequest) (*pb.GetEntityResponse, error)
- func (m *MockEntityServiceServer) ListEntities(arg0 context.Context, arg1 *pb.ListEntitiesRequest) (*pb.ListEntitiesResponse, error)
- func (m *MockEntityServiceServer) RemoveEntity(arg0 context.Context, arg1 *pb.RemoveEntityRequest) (*pb.RemoveEntityResponse, error)
- func (m *MockEntityServiceServer) SetEntity(arg0 context.Context, arg1 *pb.SetEntityRequest) (*pb.SetEntityResponse, error)
- type MockEntityServiceServerMockRecorder
- func (mr *MockEntityServiceServerMockRecorder) GetEntity(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEntityServiceServerMockRecorder) ListEntities(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEntityServiceServerMockRecorder) RemoveEntity(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEntityServiceServerMockRecorder) SetEntity(arg0, arg1 interface{}) *gomock.Call
- type MockEventQueryServiceClient
- type MockEventQueryServiceClientMockRecorder
- type MockEventQueryServiceServer
- type MockEventQueryServiceServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewErrorEventErrorListIterator ¶
func NewErrorEventErrorListIterator(list ...ErrorEvent) storekit.Iterator
NewErrorEventErrorListIterator .
func NewErrorListIterator ¶
NewErrorListIterator .
Types ¶
type ErdaErrors ¶
type ErdaErrors []*exception.Erda_error
func (ErdaErrors) Len ¶
func (s ErdaErrors) Len() int
func (ErdaErrors) Less ¶
func (s ErdaErrors) Less(i, j int) bool
func (ErdaErrors) Swap ¶
func (s ErdaErrors) Swap(i, j int)
type ErdaEvents ¶
type ErdaEvents []*exception.Erda_event
func (ErdaEvents) Len ¶
func (s ErdaEvents) Len() int
func (ErdaEvents) Less ¶
func (s ErdaEvents) Less(i, j int) bool
func (ErdaEvents) Swap ¶
func (s ErdaEvents) Swap(i, j int)
type ErrorEventListIterator ¶
type ErrorEventListIterator struct {
// contains filtered or unexported fields
}
ErrorEventListIterator .
type ErrorListIterator ¶
type ErrorListIterator struct {
// contains filtered or unexported fields
}
ErrorListIterator .
type MockEntityServiceClient ¶
type MockEntityServiceClient struct {
// contains filtered or unexported fields
}
MockEntityServiceClient is a mock of EntityServiceClient interface.
func NewMockEntityServiceClient ¶
func NewMockEntityServiceClient(ctrl *gomock.Controller) *MockEntityServiceClient
NewMockEntityServiceClient creates a new mock instance.
func (*MockEntityServiceClient) EXPECT ¶
func (m *MockEntityServiceClient) EXPECT() *MockEntityServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEntityServiceClient) GetEntity ¶
func (m *MockEntityServiceClient) GetEntity(ctx context.Context, in *pb.GetEntityRequest, opts ...grpc.CallOption) (*pb.GetEntityResponse, error)
GetEntity mocks base method.
func (*MockEntityServiceClient) ListEntities ¶
func (m *MockEntityServiceClient) ListEntities(ctx context.Context, in *pb.ListEntitiesRequest, opts ...grpc.CallOption) (*pb.ListEntitiesResponse, error)
ListEntities mocks base method.
func (*MockEntityServiceClient) RemoveEntity ¶
func (m *MockEntityServiceClient) RemoveEntity(ctx context.Context, in *pb.RemoveEntityRequest, opts ...grpc.CallOption) (*pb.RemoveEntityResponse, error)
RemoveEntity mocks base method.
func (*MockEntityServiceClient) SetEntity ¶
func (m *MockEntityServiceClient) SetEntity(ctx context.Context, in *pb.SetEntityRequest, opts ...grpc.CallOption) (*pb.SetEntityResponse, error)
SetEntity mocks base method.
type MockEntityServiceClientMockRecorder ¶
type MockEntityServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockEntityServiceClientMockRecorder is the mock recorder for MockEntityServiceClient.
func (*MockEntityServiceClientMockRecorder) GetEntity ¶
func (mr *MockEntityServiceClientMockRecorder) GetEntity(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetEntity indicates an expected call of GetEntity.
func (*MockEntityServiceClientMockRecorder) ListEntities ¶
func (mr *MockEntityServiceClientMockRecorder) ListEntities(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListEntities indicates an expected call of ListEntities.
func (*MockEntityServiceClientMockRecorder) RemoveEntity ¶
func (mr *MockEntityServiceClientMockRecorder) RemoveEntity(ctx, in interface{}, opts ...interface{}) *gomock.Call
RemoveEntity indicates an expected call of RemoveEntity.
func (*MockEntityServiceClientMockRecorder) SetEntity ¶
func (mr *MockEntityServiceClientMockRecorder) SetEntity(ctx, in interface{}, opts ...interface{}) *gomock.Call
SetEntity indicates an expected call of SetEntity.
type MockEntityServiceServer ¶
type MockEntityServiceServer struct {
// contains filtered or unexported fields
}
MockEntityServiceServer is a mock of EntityServiceServer interface.
func NewMockEntityServiceServer ¶
func NewMockEntityServiceServer(ctrl *gomock.Controller) *MockEntityServiceServer
NewMockEntityServiceServer creates a new mock instance.
func (*MockEntityServiceServer) EXPECT ¶
func (m *MockEntityServiceServer) EXPECT() *MockEntityServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEntityServiceServer) GetEntity ¶
func (m *MockEntityServiceServer) GetEntity(arg0 context.Context, arg1 *pb.GetEntityRequest) (*pb.GetEntityResponse, error)
GetEntity mocks base method.
func (*MockEntityServiceServer) ListEntities ¶
func (m *MockEntityServiceServer) ListEntities(arg0 context.Context, arg1 *pb.ListEntitiesRequest) (*pb.ListEntitiesResponse, error)
ListEntities mocks base method.
func (*MockEntityServiceServer) RemoveEntity ¶
func (m *MockEntityServiceServer) RemoveEntity(arg0 context.Context, arg1 *pb.RemoveEntityRequest) (*pb.RemoveEntityResponse, error)
RemoveEntity mocks base method.
func (*MockEntityServiceServer) SetEntity ¶
func (m *MockEntityServiceServer) SetEntity(arg0 context.Context, arg1 *pb.SetEntityRequest) (*pb.SetEntityResponse, error)
SetEntity mocks base method.
type MockEntityServiceServerMockRecorder ¶
type MockEntityServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockEntityServiceServerMockRecorder is the mock recorder for MockEntityServiceServer.
func (*MockEntityServiceServerMockRecorder) GetEntity ¶
func (mr *MockEntityServiceServerMockRecorder) GetEntity(arg0, arg1 interface{}) *gomock.Call
GetEntity indicates an expected call of GetEntity.
func (*MockEntityServiceServerMockRecorder) ListEntities ¶
func (mr *MockEntityServiceServerMockRecorder) ListEntities(arg0, arg1 interface{}) *gomock.Call
ListEntities indicates an expected call of ListEntities.
func (*MockEntityServiceServerMockRecorder) RemoveEntity ¶
func (mr *MockEntityServiceServerMockRecorder) RemoveEntity(arg0, arg1 interface{}) *gomock.Call
RemoveEntity indicates an expected call of RemoveEntity.
func (*MockEntityServiceServerMockRecorder) SetEntity ¶
func (mr *MockEntityServiceServerMockRecorder) SetEntity(arg0, arg1 interface{}) *gomock.Call
SetEntity indicates an expected call of SetEntity.
type MockEventQueryServiceClient ¶
type MockEventQueryServiceClient struct {
// contains filtered or unexported fields
}
MockEventQueryServiceClient is a mock of EventQueryServiceClient interface.
func NewMockEventQueryServiceClient ¶
func NewMockEventQueryServiceClient(ctrl *gomock.Controller) *MockEventQueryServiceClient
NewMockEventQueryServiceClient creates a new mock instance.
func (*MockEventQueryServiceClient) EXPECT ¶
func (m *MockEventQueryServiceClient) EXPECT() *MockEventQueryServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEventQueryServiceClient) GetEvents ¶
func (m *MockEventQueryServiceClient) GetEvents(ctx context.Context, in *pb.GetEventsRequest, opts ...grpc.CallOption) (*pb.GetEventsResponse, error)
GetEvents mocks base method.
type MockEventQueryServiceClientMockRecorder ¶
type MockEventQueryServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockEventQueryServiceClientMockRecorder is the mock recorder for MockEventQueryServiceClient.
func (*MockEventQueryServiceClientMockRecorder) GetEvents ¶
func (mr *MockEventQueryServiceClientMockRecorder) GetEvents(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetEvents indicates an expected call of GetEvents.
type MockEventQueryServiceServer ¶
type MockEventQueryServiceServer struct {
// contains filtered or unexported fields
}
MockEventQueryServiceServer is a mock of EventQueryServiceServer interface.
func NewMockEventQueryServiceServer ¶
func NewMockEventQueryServiceServer(ctrl *gomock.Controller) *MockEventQueryServiceServer
NewMockEventQueryServiceServer creates a new mock instance.
func (*MockEventQueryServiceServer) EXPECT ¶
func (m *MockEventQueryServiceServer) EXPECT() *MockEventQueryServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEventQueryServiceServer) GetEvents ¶
func (m *MockEventQueryServiceServer) GetEvents(arg0 context.Context, arg1 *pb.GetEventsRequest) (*pb.GetEventsResponse, error)
GetEvents mocks base method.
type MockEventQueryServiceServerMockRecorder ¶
type MockEventQueryServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockEventQueryServiceServerMockRecorder is the mock recorder for MockEventQueryServiceServer.
func (*MockEventQueryServiceServerMockRecorder) GetEvents ¶
func (mr *MockEventQueryServiceServerMockRecorder) GetEvents(arg0, arg1 interface{}) *gomock.Call
GetEvents indicates an expected call of GetEvents.