Documentation
¶
Overview ¶
Package mockschema is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) CreateSchema(ctx context.Context, in *schema_server.CreateSchemaRequest, ...) (*schema_server.CreateSchemaResponse, error)
- func (m *MockClient) DeleteSchema(ctx context.Context, in *schema_server.DeleteSchemaRequest, ...) (*schema_server.DeleteSchemaResponse, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) ExpandPath(ctx context.Context, in *schema_server.ExpandPathRequest, ...) (*schema_server.ExpandPathResponse, error)
- func (m *MockClient) GetSchema(ctx context.Context, in *schema_server.GetSchemaRequest, ...) (*schema_server.GetSchemaResponse, error)
- func (m *MockClient) GetSchemaDetails(ctx context.Context, in *schema_server.GetSchemaDetailsRequest, ...) (*schema_server.GetSchemaDetailsResponse, error)
- func (m *MockClient) GetSchemaElements(ctx context.Context, req *schema_server.GetSchemaRequest, ...) (chan *schema_server.SchemaElem, error)
- func (m *MockClient) ListSchema(ctx context.Context, in *schema_server.ListSchemaRequest, ...) (*schema_server.ListSchemaResponse, error)
- func (m *MockClient) ReloadSchema(ctx context.Context, in *schema_server.ReloadSchemaRequest, ...) (*schema_server.ReloadSchemaResponse, error)
- func (m *MockClient) ToPath(ctx context.Context, in *schema_server.ToPathRequest, opts ...grpc.CallOption) (*schema_server.ToPathResponse, error)
- func (m *MockClient) UploadSchema(ctx context.Context, opts ...grpc.CallOption) (schema_server.SchemaServer_UploadSchemaClient, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) CreateSchema(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteSchema(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) ExpandPath(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) GetSchema(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) GetSchemaDetails(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) GetSchemaElements(ctx, req any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) ListSchema(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) ReloadSchema(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) ToPath(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockClientMockRecorder) UploadSchema(ctx any, opts ...any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) CreateSchema ¶
func (m *MockClient) CreateSchema(ctx context.Context, in *schema_server.CreateSchemaRequest, opts ...grpc.CallOption) (*schema_server.CreateSchemaResponse, error)
CreateSchema mocks base method.
func (*MockClient) DeleteSchema ¶
func (m *MockClient) DeleteSchema(ctx context.Context, in *schema_server.DeleteSchemaRequest, opts ...grpc.CallOption) (*schema_server.DeleteSchemaResponse, error)
DeleteSchema mocks base method.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) ExpandPath ¶
func (m *MockClient) ExpandPath(ctx context.Context, in *schema_server.ExpandPathRequest, opts ...grpc.CallOption) (*schema_server.ExpandPathResponse, error)
ExpandPath mocks base method.
func (*MockClient) GetSchema ¶
func (m *MockClient) GetSchema(ctx context.Context, in *schema_server.GetSchemaRequest, opts ...grpc.CallOption) (*schema_server.GetSchemaResponse, error)
GetSchema mocks base method.
func (*MockClient) GetSchemaDetails ¶
func (m *MockClient) GetSchemaDetails(ctx context.Context, in *schema_server.GetSchemaDetailsRequest, opts ...grpc.CallOption) (*schema_server.GetSchemaDetailsResponse, error)
GetSchemaDetails mocks base method.
func (*MockClient) GetSchemaElements ¶
func (m *MockClient) GetSchemaElements(ctx context.Context, req *schema_server.GetSchemaRequest, opts ...grpc.CallOption) (chan *schema_server.SchemaElem, error)
GetSchemaElements mocks base method.
func (*MockClient) ListSchema ¶
func (m *MockClient) ListSchema(ctx context.Context, in *schema_server.ListSchemaRequest, opts ...grpc.CallOption) (*schema_server.ListSchemaResponse, error)
ListSchema mocks base method.
func (*MockClient) ReloadSchema ¶
func (m *MockClient) ReloadSchema(ctx context.Context, in *schema_server.ReloadSchemaRequest, opts ...grpc.CallOption) (*schema_server.ReloadSchemaResponse, error)
ReloadSchema mocks base method.
func (*MockClient) ToPath ¶
func (m *MockClient) ToPath(ctx context.Context, in *schema_server.ToPathRequest, opts ...grpc.CallOption) (*schema_server.ToPathResponse, error)
ToPath mocks base method.
func (*MockClient) UploadSchema ¶
func (m *MockClient) UploadSchema(ctx context.Context, opts ...grpc.CallOption) (schema_server.SchemaServer_UploadSchemaClient, error)
UploadSchema mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) CreateSchema ¶
func (mr *MockClientMockRecorder) CreateSchema(ctx, in any, opts ...any) *gomock.Call
CreateSchema indicates an expected call of CreateSchema.
func (*MockClientMockRecorder) DeleteSchema ¶
func (mr *MockClientMockRecorder) DeleteSchema(ctx, in any, opts ...any) *gomock.Call
DeleteSchema indicates an expected call of DeleteSchema.
func (*MockClientMockRecorder) ExpandPath ¶
func (mr *MockClientMockRecorder) ExpandPath(ctx, in any, opts ...any) *gomock.Call
ExpandPath indicates an expected call of ExpandPath.
func (*MockClientMockRecorder) GetSchema ¶
func (mr *MockClientMockRecorder) GetSchema(ctx, in any, opts ...any) *gomock.Call
GetSchema indicates an expected call of GetSchema.
func (*MockClientMockRecorder) GetSchemaDetails ¶
func (mr *MockClientMockRecorder) GetSchemaDetails(ctx, in any, opts ...any) *gomock.Call
GetSchemaDetails indicates an expected call of GetSchemaDetails.
func (*MockClientMockRecorder) GetSchemaElements ¶
func (mr *MockClientMockRecorder) GetSchemaElements(ctx, req any, opts ...any) *gomock.Call
GetSchemaElements indicates an expected call of GetSchemaElements.
func (*MockClientMockRecorder) ListSchema ¶
func (mr *MockClientMockRecorder) ListSchema(ctx, in any, opts ...any) *gomock.Call
ListSchema indicates an expected call of ListSchema.
func (*MockClientMockRecorder) ReloadSchema ¶
func (mr *MockClientMockRecorder) ReloadSchema(ctx, in any, opts ...any) *gomock.Call
ReloadSchema indicates an expected call of ReloadSchema.
func (*MockClientMockRecorder) ToPath ¶
func (mr *MockClientMockRecorder) ToPath(ctx, in any, opts ...any) *gomock.Call
ToPath indicates an expected call of ToPath.
func (*MockClientMockRecorder) UploadSchema ¶
func (mr *MockClientMockRecorder) UploadSchema(ctx any, opts ...any) *gomock.Call
UploadSchema indicates an expected call of UploadSchema.