mockschema

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 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.

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.

Jump to

Keyboard shortcuts

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