Documentation ¶
Overview ¶
Package apimock is a generated GoMock package.
Index ¶
- type MockNamespaceServiceClient
- func (m *MockNamespaceServiceClient) CreateNamespace(ctx context.Context, in *namespaceservice.CreateNamespaceRequest, ...) (*namespaceservice.CreateNamespaceResponse, error)
- func (m *MockNamespaceServiceClient) EXPECT() *MockNamespaceServiceClientMockRecorder
- func (m *MockNamespaceServiceClient) GetNamespace(ctx context.Context, in *namespaceservice.GetNamespaceRequest, ...) (*namespaceservice.GetNamespaceResponse, error)
- func (m *MockNamespaceServiceClient) GetNamespaces(ctx context.Context, in *namespaceservice.GetNamespacesRequest, ...) (*namespaceservice.GetNamespacesResponse, error)
- func (m *MockNamespaceServiceClient) ListNamespaces(ctx context.Context, in *namespaceservice.ListNamespacesRequest, ...) (*namespaceservice.ListNamespacesResponse, error)
- func (m *MockNamespaceServiceClient) RenameCustomSearchAttribute(ctx context.Context, in *namespaceservice.RenameCustomSearchAttributeRequest, ...) (*namespaceservice.RenameCustomSearchAttributeResponse, error)
- func (m *MockNamespaceServiceClient) UpdateNamespace(ctx context.Context, in *namespaceservice.UpdateNamespaceRequest, ...) (*namespaceservice.UpdateNamespaceResponse, error)
- type MockNamespaceServiceClientMockRecorder
- func (mr *MockNamespaceServiceClientMockRecorder) CreateNamespace(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockNamespaceServiceClientMockRecorder) GetNamespace(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockNamespaceServiceClientMockRecorder) GetNamespaces(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockNamespaceServiceClientMockRecorder) ListNamespaces(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockNamespaceServiceClientMockRecorder) RenameCustomSearchAttribute(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockNamespaceServiceClientMockRecorder) UpdateNamespace(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockNamespaceServiceServer
- func (m *MockNamespaceServiceServer) CreateNamespace(arg0 context.Context, arg1 *namespaceservice.CreateNamespaceRequest) (*namespaceservice.CreateNamespaceResponse, error)
- func (m *MockNamespaceServiceServer) EXPECT() *MockNamespaceServiceServerMockRecorder
- func (m *MockNamespaceServiceServer) GetNamespace(arg0 context.Context, arg1 *namespaceservice.GetNamespaceRequest) (*namespaceservice.GetNamespaceResponse, error)
- func (m *MockNamespaceServiceServer) GetNamespaces(arg0 context.Context, arg1 *namespaceservice.GetNamespacesRequest) (*namespaceservice.GetNamespacesResponse, error)
- func (m *MockNamespaceServiceServer) ListNamespaces(arg0 context.Context, arg1 *namespaceservice.ListNamespacesRequest) (*namespaceservice.ListNamespacesResponse, error)
- func (m *MockNamespaceServiceServer) RenameCustomSearchAttribute(arg0 context.Context, ...) (*namespaceservice.RenameCustomSearchAttributeResponse, error)
- func (m *MockNamespaceServiceServer) UpdateNamespace(arg0 context.Context, arg1 *namespaceservice.UpdateNamespaceRequest) (*namespaceservice.UpdateNamespaceResponse, error)
- type MockNamespaceServiceServerMockRecorder
- func (mr *MockNamespaceServiceServerMockRecorder) CreateNamespace(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNamespaceServiceServerMockRecorder) GetNamespace(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNamespaceServiceServerMockRecorder) GetNamespaces(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNamespaceServiceServerMockRecorder) ListNamespaces(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNamespaceServiceServerMockRecorder) RenameCustomSearchAttribute(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNamespaceServiceServerMockRecorder) UpdateNamespace(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockNamespaceServiceClient ¶
type MockNamespaceServiceClient struct {
// contains filtered or unexported fields
}
MockNamespaceServiceClient is a mock of NamespaceServiceClient interface.
func NewMockNamespaceServiceClient ¶
func NewMockNamespaceServiceClient(ctrl *gomock.Controller) *MockNamespaceServiceClient
NewMockNamespaceServiceClient creates a new mock instance.
func (*MockNamespaceServiceClient) CreateNamespace ¶
func (m *MockNamespaceServiceClient) CreateNamespace(ctx context.Context, in *namespaceservice.CreateNamespaceRequest, opts ...grpc.CallOption) (*namespaceservice.CreateNamespaceResponse, error)
CreateNamespace mocks base method.
func (*MockNamespaceServiceClient) EXPECT ¶
func (m *MockNamespaceServiceClient) EXPECT() *MockNamespaceServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNamespaceServiceClient) GetNamespace ¶
func (m *MockNamespaceServiceClient) GetNamespace(ctx context.Context, in *namespaceservice.GetNamespaceRequest, opts ...grpc.CallOption) (*namespaceservice.GetNamespaceResponse, error)
GetNamespace mocks base method.
func (*MockNamespaceServiceClient) GetNamespaces ¶
func (m *MockNamespaceServiceClient) GetNamespaces(ctx context.Context, in *namespaceservice.GetNamespacesRequest, opts ...grpc.CallOption) (*namespaceservice.GetNamespacesResponse, error)
GetNamespaces mocks base method.
func (*MockNamespaceServiceClient) ListNamespaces ¶
func (m *MockNamespaceServiceClient) ListNamespaces(ctx context.Context, in *namespaceservice.ListNamespacesRequest, opts ...grpc.CallOption) (*namespaceservice.ListNamespacesResponse, error)
ListNamespaces mocks base method.
func (*MockNamespaceServiceClient) RenameCustomSearchAttribute ¶
func (m *MockNamespaceServiceClient) RenameCustomSearchAttribute(ctx context.Context, in *namespaceservice.RenameCustomSearchAttributeRequest, opts ...grpc.CallOption) (*namespaceservice.RenameCustomSearchAttributeResponse, error)
RenameCustomSearchAttribute mocks base method.
func (*MockNamespaceServiceClient) UpdateNamespace ¶
func (m *MockNamespaceServiceClient) UpdateNamespace(ctx context.Context, in *namespaceservice.UpdateNamespaceRequest, opts ...grpc.CallOption) (*namespaceservice.UpdateNamespaceResponse, error)
UpdateNamespace mocks base method.
type MockNamespaceServiceClientMockRecorder ¶
type MockNamespaceServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockNamespaceServiceClientMockRecorder is the mock recorder for MockNamespaceServiceClient.
func (*MockNamespaceServiceClientMockRecorder) CreateNamespace ¶
func (mr *MockNamespaceServiceClientMockRecorder) CreateNamespace(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateNamespace indicates an expected call of CreateNamespace.
func (*MockNamespaceServiceClientMockRecorder) GetNamespace ¶
func (mr *MockNamespaceServiceClientMockRecorder) GetNamespace(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetNamespace indicates an expected call of GetNamespace.
func (*MockNamespaceServiceClientMockRecorder) GetNamespaces ¶
func (mr *MockNamespaceServiceClientMockRecorder) GetNamespaces(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetNamespaces indicates an expected call of GetNamespaces.
func (*MockNamespaceServiceClientMockRecorder) ListNamespaces ¶
func (mr *MockNamespaceServiceClientMockRecorder) ListNamespaces(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListNamespaces indicates an expected call of ListNamespaces.
func (*MockNamespaceServiceClientMockRecorder) RenameCustomSearchAttribute ¶
func (mr *MockNamespaceServiceClientMockRecorder) RenameCustomSearchAttribute(ctx, in interface{}, opts ...interface{}) *gomock.Call
RenameCustomSearchAttribute indicates an expected call of RenameCustomSearchAttribute.
func (*MockNamespaceServiceClientMockRecorder) UpdateNamespace ¶
func (mr *MockNamespaceServiceClientMockRecorder) UpdateNamespace(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateNamespace indicates an expected call of UpdateNamespace.
type MockNamespaceServiceServer ¶
type MockNamespaceServiceServer struct {
// contains filtered or unexported fields
}
MockNamespaceServiceServer is a mock of NamespaceServiceServer interface.
func NewMockNamespaceServiceServer ¶
func NewMockNamespaceServiceServer(ctrl *gomock.Controller) *MockNamespaceServiceServer
NewMockNamespaceServiceServer creates a new mock instance.
func (*MockNamespaceServiceServer) CreateNamespace ¶
func (m *MockNamespaceServiceServer) CreateNamespace(arg0 context.Context, arg1 *namespaceservice.CreateNamespaceRequest) (*namespaceservice.CreateNamespaceResponse, error)
CreateNamespace mocks base method.
func (*MockNamespaceServiceServer) EXPECT ¶
func (m *MockNamespaceServiceServer) EXPECT() *MockNamespaceServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNamespaceServiceServer) GetNamespace ¶
func (m *MockNamespaceServiceServer) GetNamespace(arg0 context.Context, arg1 *namespaceservice.GetNamespaceRequest) (*namespaceservice.GetNamespaceResponse, error)
GetNamespace mocks base method.
func (*MockNamespaceServiceServer) GetNamespaces ¶
func (m *MockNamespaceServiceServer) GetNamespaces(arg0 context.Context, arg1 *namespaceservice.GetNamespacesRequest) (*namespaceservice.GetNamespacesResponse, error)
GetNamespaces mocks base method.
func (*MockNamespaceServiceServer) ListNamespaces ¶
func (m *MockNamespaceServiceServer) ListNamespaces(arg0 context.Context, arg1 *namespaceservice.ListNamespacesRequest) (*namespaceservice.ListNamespacesResponse, error)
ListNamespaces mocks base method.
func (*MockNamespaceServiceServer) RenameCustomSearchAttribute ¶
func (m *MockNamespaceServiceServer) RenameCustomSearchAttribute(arg0 context.Context, arg1 *namespaceservice.RenameCustomSearchAttributeRequest) (*namespaceservice.RenameCustomSearchAttributeResponse, error)
RenameCustomSearchAttribute mocks base method.
func (*MockNamespaceServiceServer) UpdateNamespace ¶
func (m *MockNamespaceServiceServer) UpdateNamespace(arg0 context.Context, arg1 *namespaceservice.UpdateNamespaceRequest) (*namespaceservice.UpdateNamespaceResponse, error)
UpdateNamespace mocks base method.
type MockNamespaceServiceServerMockRecorder ¶
type MockNamespaceServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockNamespaceServiceServerMockRecorder is the mock recorder for MockNamespaceServiceServer.
func (*MockNamespaceServiceServerMockRecorder) CreateNamespace ¶
func (mr *MockNamespaceServiceServerMockRecorder) CreateNamespace(arg0, arg1 interface{}) *gomock.Call
CreateNamespace indicates an expected call of CreateNamespace.
func (*MockNamespaceServiceServerMockRecorder) GetNamespace ¶
func (mr *MockNamespaceServiceServerMockRecorder) GetNamespace(arg0, arg1 interface{}) *gomock.Call
GetNamespace indicates an expected call of GetNamespace.
func (*MockNamespaceServiceServerMockRecorder) GetNamespaces ¶
func (mr *MockNamespaceServiceServerMockRecorder) GetNamespaces(arg0, arg1 interface{}) *gomock.Call
GetNamespaces indicates an expected call of GetNamespaces.
func (*MockNamespaceServiceServerMockRecorder) ListNamespaces ¶
func (mr *MockNamespaceServiceServerMockRecorder) ListNamespaces(arg0, arg1 interface{}) *gomock.Call
ListNamespaces indicates an expected call of ListNamespaces.
func (*MockNamespaceServiceServerMockRecorder) RenameCustomSearchAttribute ¶
func (mr *MockNamespaceServiceServerMockRecorder) RenameCustomSearchAttribute(arg0, arg1 interface{}) *gomock.Call
RenameCustomSearchAttribute indicates an expected call of RenameCustomSearchAttribute.
func (*MockNamespaceServiceServerMockRecorder) UpdateNamespace ¶
func (mr *MockNamespaceServiceServerMockRecorder) UpdateNamespace(arg0, arg1 interface{}) *gomock.Call
UpdateNamespace indicates an expected call of UpdateNamespace.