mockschema

package
v0.13.158 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 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 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, schemaName string, tableNames []string) (schema.ForeignKeys, error)

ListForeignKeys mocks base method.

func (*MockProvider) ListTables

func (m *MockProvider) ListTables(ctx context.Context, schemaName string, 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, schemaName string, 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, schemaName, tableNames any) *gomock.Call

ListForeignKeys indicates an expected call of ListForeignKeys.

func (*MockProviderMockRecorder) ListTables

func (mr *MockProviderMockRecorder) ListTables(ctx, schemaName, 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, schemaName, 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