Help us shape the future of Go! Take the 2026 Go Developer Survey

mockschema

package
v1.0.166 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mockschema is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHasTableInfo added in v0.24.126

type MockHasTableInfo struct {
	// contains filtered or unexported fields
}

MockHasTableInfo is a mock of HasTableInfo interface.

func NewMockHasTableInfo added in v0.24.126

func NewMockHasTableInfo(ctrl *gomock.Controller) *MockHasTableInfo

NewMockHasTableInfo creates a new mock instance.

func (*MockHasTableInfo) EXPECT added in v0.24.126

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockHasTableInfo) GetTableInfo added in v0.24.126

func (m *MockHasTableInfo) GetTableInfo() *schema.TableInfo

GetTableInfo mocks base method.

type MockHasTableInfoMockRecorder added in v0.24.126

type MockHasTableInfoMockRecorder struct {
	// contains filtered or unexported fields
}

MockHasTableInfoMockRecorder is the mock recorder for MockHasTableInfo.

func (*MockHasTableInfoMockRecorder) GetTableInfo added in v0.24.126

func (mr *MockHasTableInfoMockRecorder) GetTableInfo() *gomock.Call

GetTableInfo indicates an expected call of GetTableInfo.

type MockProvider

type MockProvider struct {
	// contains filtered or unexported fields
}

MockProvider is a mock of Provider interface.

func NewMockProvider

func NewMockProvider(ctrl *gomock.Controller) *MockProvider

NewMockProvider creates a new mock instance.

func (*MockProvider) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockProvider) ListForeignKeys

func (m *MockProvider) ListForeignKeys(ctx context.Context, schemaNames, tableNames []string) (schema.ForeignKeys, error)

ListForeignKeys mocks base method.

func (*MockProvider) ListTables

func (m *MockProvider) ListTables(ctx context.Context, schemaNames, tableNames []string, withDependencies bool) (schema.Tables, error)

ListTables mocks base method.

func (*MockProvider) ListViews added in v0.3.0

func (m *MockProvider) ListViews(ctx context.Context, schemaNames, tableNames []string) (schema.Tables, error)

ListViews mocks base method.

func (*MockProvider) Name added in v0.6.0

func (m *MockProvider) Name() string

Name mocks base method.

type MockProviderMockRecorder

type MockProviderMockRecorder struct {
	// contains filtered or unexported fields
}

MockProviderMockRecorder is the mock recorder for MockProvider.

func (*MockProviderMockRecorder) ListForeignKeys

func (mr *MockProviderMockRecorder) ListForeignKeys(ctx, schemaNames, tableNames any) *gomock.Call

ListForeignKeys indicates an expected call of ListForeignKeys.

func (*MockProviderMockRecorder) ListTables

func (mr *MockProviderMockRecorder) ListTables(ctx, schemaNames, tableNames, withDependencies any) *gomock.Call

ListTables indicates an expected call of ListTables.

func (*MockProviderMockRecorder) ListViews added in v0.3.0

func (mr *MockProviderMockRecorder) ListViews(ctx, schemaNames, tableNames any) *gomock.Call

ListViews indicates an expected call of ListViews.

func (*MockProviderMockRecorder) Name added in v0.6.0

func (mr *MockProviderMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL