Documentation ¶
Overview ¶
Package apimock is a generated GoMock package.
Index ¶
- type MockRequestServiceClient
- func (m *MockRequestServiceClient) EXPECT() *MockRequestServiceClientMockRecorder
- func (m *MockRequestServiceClient) GetRequestStatus(ctx context.Context, in *requestservice.GetRequestStatusRequest, ...) (*requestservice.GetRequestStatusResponse, error)
- func (m *MockRequestServiceClient) GetRequestStatuses(ctx context.Context, in *requestservice.GetRequestStatusesRequest, ...) (*requestservice.GetRequestStatusesResponse, error)
- func (m *MockRequestServiceClient) GetRequestStatusesForNamespace(ctx context.Context, in *requestservice.GetRequestStatusesForNamespaceRequest, ...) (*requestservice.GetRequestStatusesForNamespaceResponse, error)
- func (m *MockRequestServiceClient) GetRequestStatusesForUser(ctx context.Context, in *requestservice.GetRequestStatusesForUserRequest, ...) (*requestservice.GetRequestStatusesForUserResponse, error)
- type MockRequestServiceClientMockRecorder
- func (mr *MockRequestServiceClientMockRecorder) GetRequestStatus(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRequestServiceClientMockRecorder) GetRequestStatuses(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRequestServiceClientMockRecorder) GetRequestStatusesForNamespace(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRequestServiceClientMockRecorder) GetRequestStatusesForUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockRequestServiceServer
- func (m *MockRequestServiceServer) EXPECT() *MockRequestServiceServerMockRecorder
- func (m *MockRequestServiceServer) GetRequestStatus(arg0 context.Context, arg1 *requestservice.GetRequestStatusRequest) (*requestservice.GetRequestStatusResponse, error)
- func (m *MockRequestServiceServer) GetRequestStatuses(arg0 context.Context, arg1 *requestservice.GetRequestStatusesRequest) (*requestservice.GetRequestStatusesResponse, error)
- func (m *MockRequestServiceServer) GetRequestStatusesForNamespace(arg0 context.Context, ...) (*requestservice.GetRequestStatusesForNamespaceResponse, error)
- func (m *MockRequestServiceServer) GetRequestStatusesForUser(arg0 context.Context, arg1 *requestservice.GetRequestStatusesForUserRequest) (*requestservice.GetRequestStatusesForUserResponse, error)
- type MockRequestServiceServerMockRecorder
- func (mr *MockRequestServiceServerMockRecorder) GetRequestStatus(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRequestServiceServerMockRecorder) GetRequestStatuses(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRequestServiceServerMockRecorder) GetRequestStatusesForNamespace(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRequestServiceServerMockRecorder) GetRequestStatusesForUser(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRequestServiceClient ¶
type MockRequestServiceClient struct {
// contains filtered or unexported fields
}
MockRequestServiceClient is a mock of RequestServiceClient interface.
func NewMockRequestServiceClient ¶
func NewMockRequestServiceClient(ctrl *gomock.Controller) *MockRequestServiceClient
NewMockRequestServiceClient creates a new mock instance.
func (*MockRequestServiceClient) EXPECT ¶
func (m *MockRequestServiceClient) EXPECT() *MockRequestServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRequestServiceClient) GetRequestStatus ¶
func (m *MockRequestServiceClient) GetRequestStatus(ctx context.Context, in *requestservice.GetRequestStatusRequest, opts ...grpc.CallOption) (*requestservice.GetRequestStatusResponse, error)
GetRequestStatus mocks base method.
func (*MockRequestServiceClient) GetRequestStatuses ¶ added in v0.11.0
func (m *MockRequestServiceClient) GetRequestStatuses(ctx context.Context, in *requestservice.GetRequestStatusesRequest, opts ...grpc.CallOption) (*requestservice.GetRequestStatusesResponse, error)
GetRequestStatuses mocks base method.
func (*MockRequestServiceClient) GetRequestStatusesForNamespace ¶ added in v0.11.0
func (m *MockRequestServiceClient) GetRequestStatusesForNamespace(ctx context.Context, in *requestservice.GetRequestStatusesForNamespaceRequest, opts ...grpc.CallOption) (*requestservice.GetRequestStatusesForNamespaceResponse, error)
GetRequestStatusesForNamespace mocks base method.
func (*MockRequestServiceClient) GetRequestStatusesForUser ¶ added in v0.11.0
func (m *MockRequestServiceClient) GetRequestStatusesForUser(ctx context.Context, in *requestservice.GetRequestStatusesForUserRequest, opts ...grpc.CallOption) (*requestservice.GetRequestStatusesForUserResponse, error)
GetRequestStatusesForUser mocks base method.
type MockRequestServiceClientMockRecorder ¶
type MockRequestServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockRequestServiceClientMockRecorder is the mock recorder for MockRequestServiceClient.
func (*MockRequestServiceClientMockRecorder) GetRequestStatus ¶
func (mr *MockRequestServiceClientMockRecorder) GetRequestStatus(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetRequestStatus indicates an expected call of GetRequestStatus.
func (*MockRequestServiceClientMockRecorder) GetRequestStatuses ¶ added in v0.11.0
func (mr *MockRequestServiceClientMockRecorder) GetRequestStatuses(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetRequestStatuses indicates an expected call of GetRequestStatuses.
func (*MockRequestServiceClientMockRecorder) GetRequestStatusesForNamespace ¶ added in v0.11.0
func (mr *MockRequestServiceClientMockRecorder) GetRequestStatusesForNamespace(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetRequestStatusesForNamespace indicates an expected call of GetRequestStatusesForNamespace.
func (*MockRequestServiceClientMockRecorder) GetRequestStatusesForUser ¶ added in v0.11.0
func (mr *MockRequestServiceClientMockRecorder) GetRequestStatusesForUser(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetRequestStatusesForUser indicates an expected call of GetRequestStatusesForUser.
type MockRequestServiceServer ¶
type MockRequestServiceServer struct {
// contains filtered or unexported fields
}
MockRequestServiceServer is a mock of RequestServiceServer interface.
func NewMockRequestServiceServer ¶
func NewMockRequestServiceServer(ctrl *gomock.Controller) *MockRequestServiceServer
NewMockRequestServiceServer creates a new mock instance.
func (*MockRequestServiceServer) EXPECT ¶
func (m *MockRequestServiceServer) EXPECT() *MockRequestServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRequestServiceServer) GetRequestStatus ¶
func (m *MockRequestServiceServer) GetRequestStatus(arg0 context.Context, arg1 *requestservice.GetRequestStatusRequest) (*requestservice.GetRequestStatusResponse, error)
GetRequestStatus mocks base method.
func (*MockRequestServiceServer) GetRequestStatuses ¶ added in v0.11.0
func (m *MockRequestServiceServer) GetRequestStatuses(arg0 context.Context, arg1 *requestservice.GetRequestStatusesRequest) (*requestservice.GetRequestStatusesResponse, error)
GetRequestStatuses mocks base method.
func (*MockRequestServiceServer) GetRequestStatusesForNamespace ¶ added in v0.11.0
func (m *MockRequestServiceServer) GetRequestStatusesForNamespace(arg0 context.Context, arg1 *requestservice.GetRequestStatusesForNamespaceRequest) (*requestservice.GetRequestStatusesForNamespaceResponse, error)
GetRequestStatusesForNamespace mocks base method.
func (*MockRequestServiceServer) GetRequestStatusesForUser ¶ added in v0.11.0
func (m *MockRequestServiceServer) GetRequestStatusesForUser(arg0 context.Context, arg1 *requestservice.GetRequestStatusesForUserRequest) (*requestservice.GetRequestStatusesForUserResponse, error)
GetRequestStatusesForUser mocks base method.
type MockRequestServiceServerMockRecorder ¶
type MockRequestServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockRequestServiceServerMockRecorder is the mock recorder for MockRequestServiceServer.
func (*MockRequestServiceServerMockRecorder) GetRequestStatus ¶
func (mr *MockRequestServiceServerMockRecorder) GetRequestStatus(arg0, arg1 interface{}) *gomock.Call
GetRequestStatus indicates an expected call of GetRequestStatus.
func (*MockRequestServiceServerMockRecorder) GetRequestStatuses ¶ added in v0.11.0
func (mr *MockRequestServiceServerMockRecorder) GetRequestStatuses(arg0, arg1 interface{}) *gomock.Call
GetRequestStatuses indicates an expected call of GetRequestStatuses.
func (*MockRequestServiceServerMockRecorder) GetRequestStatusesForNamespace ¶ added in v0.11.0
func (mr *MockRequestServiceServerMockRecorder) GetRequestStatusesForNamespace(arg0, arg1 interface{}) *gomock.Call
GetRequestStatusesForNamespace indicates an expected call of GetRequestStatusesForNamespace.
func (*MockRequestServiceServerMockRecorder) GetRequestStatusesForUser ¶ added in v0.11.0
func (mr *MockRequestServiceServerMockRecorder) GetRequestStatusesForUser(arg0, arg1 interface{}) *gomock.Call
GetRequestStatusesForUser indicates an expected call of GetRequestStatusesForUser.