apimock

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package apimock is a generated GoMock package.

Package apimock is a generated GoMock package.

Package apimock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockColumn

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

MockColumn is a mock of Column interface.

func NewMockColumn

func NewMockColumn(ctrl *gomock.Controller) *MockColumn

NewMockColumn creates a new mock instance.

func (*MockColumn) Accept

func (m *MockColumn) Accept(v api.Visitor)

Accept mocks base method.

func (*MockColumn) DataType

func (m *MockColumn) DataType() api.DataType

DataType mocks base method.

func (*MockColumn) EXPECT

func (m *MockColumn) EXPECT() *MockColumnMockRecorder

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

func (*MockColumn) MetadataName

func (m *MockColumn) MetadataName() string

MetadataName mocks base method.

type MockColumnMockRecorder

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

MockColumnMockRecorder is the mock recorder for MockColumn.

func (*MockColumnMockRecorder) Accept

func (mr *MockColumnMockRecorder) Accept(v any) *gomock.Call

Accept indicates an expected call of Accept.

func (*MockColumnMockRecorder) DataType

func (mr *MockColumnMockRecorder) DataType() *gomock.Call

DataType indicates an expected call of DataType.

func (*MockColumnMockRecorder) MetadataName

func (mr *MockColumnMockRecorder) MetadataName() *gomock.Call

MetadataName indicates an expected call of MetadataName.

type MockIndex

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

MockIndex is a mock of Index interface.

func NewMockIndex

func NewMockIndex(ctrl *gomock.Controller) *MockIndex

NewMockIndex creates a new mock instance.

func (*MockIndex) Accept

func (m *MockIndex) Accept(v api.Visitor)

Accept mocks base method.

func (*MockIndex) EXPECT

func (m *MockIndex) EXPECT() *MockIndexMockRecorder

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

func (*MockIndex) IndexType

func (m *MockIndex) IndexType() string

IndexType mocks base method.

func (*MockIndex) IsSparse

func (m *MockIndex) IsSparse() bool

IsSparse mocks base method.

func (*MockIndex) IsUnique

func (m *MockIndex) IsUnique() bool

IsUnique mocks base method.

func (*MockIndex) MetadataName

func (m *MockIndex) MetadataName() string

MetadataName mocks base method.

func (*MockIndex) TableName

func (m *MockIndex) TableName() string

TableName mocks base method.

type MockIndexMockRecorder

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

MockIndexMockRecorder is the mock recorder for MockIndex.

func (*MockIndexMockRecorder) Accept

func (mr *MockIndexMockRecorder) Accept(v any) *gomock.Call

Accept indicates an expected call of Accept.

func (*MockIndexMockRecorder) IndexType

func (mr *MockIndexMockRecorder) IndexType() *gomock.Call

IndexType indicates an expected call of IndexType.

func (*MockIndexMockRecorder) IsSparse

func (mr *MockIndexMockRecorder) IsSparse() *gomock.Call

IsSparse indicates an expected call of IsSparse.

func (*MockIndexMockRecorder) IsUnique

func (mr *MockIndexMockRecorder) IsUnique() *gomock.Call

IsUnique indicates an expected call of IsUnique.

func (*MockIndexMockRecorder) MetadataName

func (mr *MockIndexMockRecorder) MetadataName() *gomock.Call

MetadataName indicates an expected call of MetadataName.

func (*MockIndexMockRecorder) TableName

func (mr *MockIndexMockRecorder) TableName() *gomock.Call

TableName indicates an expected call of TableName.

type MockInvokedRoutine

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

MockInvokedRoutine is a mock of InvokedRoutine interface.

func NewMockInvokedRoutine

func NewMockInvokedRoutine(ctrl *gomock.Controller) *MockInvokedRoutine

NewMockInvokedRoutine creates a new mock instance.

func (*MockInvokedRoutine) Accept

func (m *MockInvokedRoutine) Accept(v api.Visitor)

Accept mocks base method.

func (*MockInvokedRoutine) Description

func (m *MockInvokedRoutine) Description() string

Description mocks base method.

func (*MockInvokedRoutine) EXPECT

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

func (*MockInvokedRoutine) IsTemporary

func (m *MockInvokedRoutine) IsTemporary() bool

IsTemporary mocks base method.

func (*MockInvokedRoutine) MetadataName

func (m *MockInvokedRoutine) MetadataName() string

MetadataName mocks base method.

func (*MockInvokedRoutine) NormalizedDescription

func (m *MockInvokedRoutine) NormalizedDescription() string

NormalizedDescription mocks base method.

type MockInvokedRoutineMockRecorder

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

MockInvokedRoutineMockRecorder is the mock recorder for MockInvokedRoutine.

func (*MockInvokedRoutineMockRecorder) Accept

Accept indicates an expected call of Accept.

func (*MockInvokedRoutineMockRecorder) Description

func (mr *MockInvokedRoutineMockRecorder) Description() *gomock.Call

Description indicates an expected call of Description.

func (*MockInvokedRoutineMockRecorder) IsTemporary

func (mr *MockInvokedRoutineMockRecorder) IsTemporary() *gomock.Call

IsTemporary indicates an expected call of IsTemporary.

func (*MockInvokedRoutineMockRecorder) MetadataName

func (mr *MockInvokedRoutineMockRecorder) MetadataName() *gomock.Call

MetadataName indicates an expected call of MetadataName.

func (*MockInvokedRoutineMockRecorder) NormalizedDescription

func (mr *MockInvokedRoutineMockRecorder) NormalizedDescription() *gomock.Call

NormalizedDescription indicates an expected call of NormalizedDescription.

type MockMetadata

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

MockMetadata is a mock of Metadata interface.

func NewMockMetadata

func NewMockMetadata(ctrl *gomock.Controller) *MockMetadata

NewMockMetadata creates a new mock instance.

func (*MockMetadata) Accept

func (m *MockMetadata) Accept(v api.Visitor)

Accept mocks base method.

func (*MockMetadata) EXPECT

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

func (*MockMetadata) MetadataName

func (m *MockMetadata) MetadataName() string

MetadataName mocks base method.

type MockMetadataMockRecorder

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

MockMetadataMockRecorder is the mock recorder for MockMetadata.

func (*MockMetadataMockRecorder) Accept

func (mr *MockMetadataMockRecorder) Accept(v any) *gomock.Call

Accept indicates an expected call of Accept.

func (*MockMetadataMockRecorder) MetadataName

func (mr *MockMetadataMockRecorder) MetadataName() *gomock.Call

MetadataName indicates an expected call of MetadataName.

type MockResultSet

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

MockResultSet is a mock of ResultSet interface.

func NewMockResultSet

func NewMockResultSet(ctrl *gomock.Controller) *MockResultSet

NewMockResultSet creates a new mock instance.

func (*MockResultSet) Boolean

func (m *MockResultSet) Boolean(columnIndex int) (bool, error)

Boolean mocks base method.

func (*MockResultSet) BooleanByName

func (m *MockResultSet) BooleanByName(columnName string) (bool, error)

BooleanByName mocks base method.

func (*MockResultSet) Bytes

func (m *MockResultSet) Bytes(columnIndex int) ([]byte, error)

Bytes mocks base method.

func (*MockResultSet) BytesByName

func (m *MockResultSet) BytesByName(columnName string) ([]byte, error)

BytesByName mocks base method.

func (*MockResultSet) Close

func (m *MockResultSet) Close() error

Close mocks base method.

func (*MockResultSet) Continuation

func (m *MockResultSet) Continuation() (api.Continuation, error)

Continuation mocks base method.

func (*MockResultSet) Double

func (m *MockResultSet) Double(columnIndex int) (float64, error)

Double mocks base method.

func (*MockResultSet) EXPECT

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

func (*MockResultSet) Err

func (m *MockResultSet) Err() error

Err mocks base method.

func (*MockResultSet) Float

func (m *MockResultSet) Float(columnIndex int) (float32, error)

Float mocks base method.

func (*MockResultSet) Long

func (m *MockResultSet) Long(columnIndex int) (int64, error)

Long mocks base method.

func (*MockResultSet) LongByName

func (m *MockResultSet) LongByName(columnName string) (int64, error)

LongByName mocks base method.

func (*MockResultSet) MetaData

func (m *MockResultSet) MetaData() api.ResultSetMetaData

MetaData mocks base method.

func (*MockResultSet) Next

func (m *MockResultSet) Next() bool

Next mocks base method.

func (*MockResultSet) Object

func (m *MockResultSet) Object(columnIndex int) (any, error)

Object mocks base method.

func (*MockResultSet) ObjectByName

func (m *MockResultSet) ObjectByName(columnName string) (any, error)

ObjectByName mocks base method.

func (*MockResultSet) String

func (m *MockResultSet) String(columnIndex int) (string, error)

String mocks base method.

func (*MockResultSet) StringByName

func (m *MockResultSet) StringByName(columnName string) (string, error)

StringByName mocks base method.

func (*MockResultSet) WasNull

func (m *MockResultSet) WasNull() bool

WasNull mocks base method.

type MockResultSetMetaData

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

MockResultSetMetaData is a mock of ResultSetMetaData interface.

func NewMockResultSetMetaData

func NewMockResultSetMetaData(ctrl *gomock.Controller) *MockResultSetMetaData

NewMockResultSetMetaData creates a new mock instance.

func (*MockResultSetMetaData) ColumnCount

func (m *MockResultSetMetaData) ColumnCount() int

ColumnCount mocks base method.

func (*MockResultSetMetaData) ColumnDataType

func (m *MockResultSetMetaData) ColumnDataType(columnIndex int) (api.DataType, error)

ColumnDataType mocks base method.

func (*MockResultSetMetaData) ColumnLabel

func (m *MockResultSetMetaData) ColumnLabel(columnIndex int) (string, error)

ColumnLabel mocks base method.

func (*MockResultSetMetaData) ColumnName

func (m *MockResultSetMetaData) ColumnName(columnIndex int) (string, error)

ColumnName mocks base method.

func (*MockResultSetMetaData) ColumnNullable

func (m *MockResultSetMetaData) ColumnNullable(columnIndex int) (int, error)

ColumnNullable mocks base method.

func (*MockResultSetMetaData) ColumnType

func (m *MockResultSetMetaData) ColumnType(columnIndex int) (int, error)

ColumnType mocks base method.

func (*MockResultSetMetaData) ColumnTypeName

func (m *MockResultSetMetaData) ColumnTypeName(columnIndex int) (string, error)

ColumnTypeName mocks base method.

func (*MockResultSetMetaData) EXPECT

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

type MockResultSetMetaDataMockRecorder

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

MockResultSetMetaDataMockRecorder is the mock recorder for MockResultSetMetaData.

func (*MockResultSetMetaDataMockRecorder) ColumnCount

func (mr *MockResultSetMetaDataMockRecorder) ColumnCount() *gomock.Call

ColumnCount indicates an expected call of ColumnCount.

func (*MockResultSetMetaDataMockRecorder) ColumnDataType

func (mr *MockResultSetMetaDataMockRecorder) ColumnDataType(columnIndex any) *gomock.Call

ColumnDataType indicates an expected call of ColumnDataType.

func (*MockResultSetMetaDataMockRecorder) ColumnLabel

func (mr *MockResultSetMetaDataMockRecorder) ColumnLabel(columnIndex any) *gomock.Call

ColumnLabel indicates an expected call of ColumnLabel.

func (*MockResultSetMetaDataMockRecorder) ColumnName

func (mr *MockResultSetMetaDataMockRecorder) ColumnName(columnIndex any) *gomock.Call

ColumnName indicates an expected call of ColumnName.

func (*MockResultSetMetaDataMockRecorder) ColumnNullable

func (mr *MockResultSetMetaDataMockRecorder) ColumnNullable(columnIndex any) *gomock.Call

ColumnNullable indicates an expected call of ColumnNullable.

func (*MockResultSetMetaDataMockRecorder) ColumnType

func (mr *MockResultSetMetaDataMockRecorder) ColumnType(columnIndex any) *gomock.Call

ColumnType indicates an expected call of ColumnType.

func (*MockResultSetMetaDataMockRecorder) ColumnTypeName

func (mr *MockResultSetMetaDataMockRecorder) ColumnTypeName(columnIndex any) *gomock.Call

ColumnTypeName indicates an expected call of ColumnTypeName.

type MockResultSetMockRecorder

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

MockResultSetMockRecorder is the mock recorder for MockResultSet.

func (*MockResultSetMockRecorder) Boolean

func (mr *MockResultSetMockRecorder) Boolean(columnIndex any) *gomock.Call

Boolean indicates an expected call of Boolean.

func (*MockResultSetMockRecorder) BooleanByName

func (mr *MockResultSetMockRecorder) BooleanByName(columnName any) *gomock.Call

BooleanByName indicates an expected call of BooleanByName.

func (*MockResultSetMockRecorder) Bytes

func (mr *MockResultSetMockRecorder) Bytes(columnIndex any) *gomock.Call

Bytes indicates an expected call of Bytes.

func (*MockResultSetMockRecorder) BytesByName

func (mr *MockResultSetMockRecorder) BytesByName(columnName any) *gomock.Call

BytesByName indicates an expected call of BytesByName.

func (*MockResultSetMockRecorder) Close

func (mr *MockResultSetMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockResultSetMockRecorder) Continuation

func (mr *MockResultSetMockRecorder) Continuation() *gomock.Call

Continuation indicates an expected call of Continuation.

func (*MockResultSetMockRecorder) Double

func (mr *MockResultSetMockRecorder) Double(columnIndex any) *gomock.Call

Double indicates an expected call of Double.

func (*MockResultSetMockRecorder) Err

Err indicates an expected call of Err.

func (*MockResultSetMockRecorder) Float

func (mr *MockResultSetMockRecorder) Float(columnIndex any) *gomock.Call

Float indicates an expected call of Float.

func (*MockResultSetMockRecorder) Long

func (mr *MockResultSetMockRecorder) Long(columnIndex any) *gomock.Call

Long indicates an expected call of Long.

func (*MockResultSetMockRecorder) LongByName

func (mr *MockResultSetMockRecorder) LongByName(columnName any) *gomock.Call

LongByName indicates an expected call of LongByName.

func (*MockResultSetMockRecorder) MetaData

func (mr *MockResultSetMockRecorder) MetaData() *gomock.Call

MetaData indicates an expected call of MetaData.

func (*MockResultSetMockRecorder) Next

Next indicates an expected call of Next.

func (*MockResultSetMockRecorder) Object

func (mr *MockResultSetMockRecorder) Object(columnIndex any) *gomock.Call

Object indicates an expected call of Object.

func (*MockResultSetMockRecorder) ObjectByName

func (mr *MockResultSetMockRecorder) ObjectByName(columnName any) *gomock.Call

ObjectByName indicates an expected call of ObjectByName.

func (*MockResultSetMockRecorder) String

func (mr *MockResultSetMockRecorder) String(columnIndex any) *gomock.Call

String indicates an expected call of String.

func (*MockResultSetMockRecorder) StringByName

func (mr *MockResultSetMockRecorder) StringByName(columnName any) *gomock.Call

StringByName indicates an expected call of StringByName.

func (*MockResultSetMockRecorder) WasNull

func (mr *MockResultSetMockRecorder) WasNull() *gomock.Call

WasNull indicates an expected call of WasNull.

type MockSchema

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

MockSchema is a mock of Schema interface.

func NewMockSchema

func NewMockSchema(ctrl *gomock.Controller) *MockSchema

NewMockSchema creates a new mock instance.

func (*MockSchema) Accept

func (m *MockSchema) Accept(v api.Visitor)

Accept mocks base method.

func (*MockSchema) DatabaseName

func (m *MockSchema) DatabaseName() string

DatabaseName mocks base method.

func (*MockSchema) EXPECT

func (m *MockSchema) EXPECT() *MockSchemaMockRecorder

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

func (*MockSchema) Indexes

func (m *MockSchema) Indexes() (map[string][]string, error)

Indexes mocks base method.

func (*MockSchema) InvokedRoutines

func (m *MockSchema) InvokedRoutines() ([]api.InvokedRoutine, error)

InvokedRoutines mocks base method.

func (*MockSchema) MetadataName

func (m *MockSchema) MetadataName() string

MetadataName mocks base method.

func (*MockSchema) SchemaTemplate

func (m *MockSchema) SchemaTemplate() api.SchemaTemplate

SchemaTemplate mocks base method.

func (*MockSchema) Tables

func (m *MockSchema) Tables() ([]api.Table, error)

Tables mocks base method.

func (*MockSchema) Views

func (m *MockSchema) Views() ([]api.View, error)

Views mocks base method.

type MockSchemaMockRecorder

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

MockSchemaMockRecorder is the mock recorder for MockSchema.

func (*MockSchemaMockRecorder) Accept

func (mr *MockSchemaMockRecorder) Accept(v any) *gomock.Call

Accept indicates an expected call of Accept.

func (*MockSchemaMockRecorder) DatabaseName

func (mr *MockSchemaMockRecorder) DatabaseName() *gomock.Call

DatabaseName indicates an expected call of DatabaseName.

func (*MockSchemaMockRecorder) Indexes

func (mr *MockSchemaMockRecorder) Indexes() *gomock.Call

Indexes indicates an expected call of Indexes.

func (*MockSchemaMockRecorder) InvokedRoutines

func (mr *MockSchemaMockRecorder) InvokedRoutines() *gomock.Call

InvokedRoutines indicates an expected call of InvokedRoutines.

func (*MockSchemaMockRecorder) MetadataName

func (mr *MockSchemaMockRecorder) MetadataName() *gomock.Call

MetadataName indicates an expected call of MetadataName.

func (*MockSchemaMockRecorder) SchemaTemplate

func (mr *MockSchemaMockRecorder) SchemaTemplate() *gomock.Call

SchemaTemplate indicates an expected call of SchemaTemplate.

func (*MockSchemaMockRecorder) Tables

func (mr *MockSchemaMockRecorder) Tables() *gomock.Call

Tables indicates an expected call of Tables.

func (*MockSchemaMockRecorder) Views

func (mr *MockSchemaMockRecorder) Views() *gomock.Call

Views indicates an expected call of Views.

type MockSchemaTemplate

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

MockSchemaTemplate is a mock of SchemaTemplate interface.

func NewMockSchemaTemplate

func NewMockSchemaTemplate(ctrl *gomock.Controller) *MockSchemaTemplate

NewMockSchemaTemplate creates a new mock instance.

func (*MockSchemaTemplate) Accept

func (m *MockSchemaTemplate) Accept(v api.Visitor)

Accept mocks base method.

func (*MockSchemaTemplate) EXPECT

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

func (*MockSchemaTemplate) EnableLongRows

func (m *MockSchemaTemplate) EnableLongRows() bool

EnableLongRows mocks base method.

func (*MockSchemaTemplate) FindInvokedRoutine

func (m *MockSchemaTemplate) FindInvokedRoutine(name string) (api.InvokedRoutine, error)

FindInvokedRoutine mocks base method.

func (*MockSchemaTemplate) FindTable

func (m *MockSchemaTemplate) FindTable(name string) (api.Table, error)

FindTable mocks base method.

func (*MockSchemaTemplate) FindView

func (m *MockSchemaTemplate) FindView(name string) (api.View, error)

FindView mocks base method.

func (*MockSchemaTemplate) GenerateSchema

func (m *MockSchemaTemplate) GenerateSchema(databaseID, schemaName string) api.Schema

GenerateSchema mocks base method.

func (*MockSchemaTemplate) Indexes

func (m *MockSchemaTemplate) Indexes() ([]string, error)

Indexes mocks base method.

func (*MockSchemaTemplate) IntermingleTables

func (m *MockSchemaTemplate) IntermingleTables() bool

IntermingleTables mocks base method.

func (*MockSchemaTemplate) InvokedRoutines

func (m *MockSchemaTemplate) InvokedRoutines() ([]api.InvokedRoutine, error)

InvokedRoutines mocks base method.

func (*MockSchemaTemplate) MetadataName

func (m *MockSchemaTemplate) MetadataName() string

MetadataName mocks base method.

func (*MockSchemaTemplate) StoreRowVersions

func (m *MockSchemaTemplate) StoreRowVersions() bool

StoreRowVersions mocks base method.

func (*MockSchemaTemplate) StoredQueries

func (m *MockSchemaTemplate) StoredQueries() (map[string]api.StoredQuery, error)

StoredQueries mocks base method.

func (*MockSchemaTemplate) TableIndexMapping

func (m *MockSchemaTemplate) TableIndexMapping() (map[string][]string, error)

TableIndexMapping mocks base method.

func (*MockSchemaTemplate) Tables

func (m *MockSchemaTemplate) Tables() ([]api.Table, error)

Tables mocks base method.

func (*MockSchemaTemplate) TemporaryInvokedRoutines

func (m *MockSchemaTemplate) TemporaryInvokedRoutines() ([]api.InvokedRoutine, error)

TemporaryInvokedRoutines mocks base method.

func (*MockSchemaTemplate) TransactionBoundMetadataAsString

func (m *MockSchemaTemplate) TransactionBoundMetadataAsString() (string, error)

TransactionBoundMetadataAsString mocks base method.

func (*MockSchemaTemplate) Version

func (m *MockSchemaTemplate) Version() int

Version mocks base method.

func (*MockSchemaTemplate) Views

func (m *MockSchemaTemplate) Views() ([]api.View, error)

Views mocks base method.

type MockSchemaTemplateMockRecorder

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

MockSchemaTemplateMockRecorder is the mock recorder for MockSchemaTemplate.

func (*MockSchemaTemplateMockRecorder) Accept

Accept indicates an expected call of Accept.

func (*MockSchemaTemplateMockRecorder) EnableLongRows

func (mr *MockSchemaTemplateMockRecorder) EnableLongRows() *gomock.Call

EnableLongRows indicates an expected call of EnableLongRows.

func (*MockSchemaTemplateMockRecorder) FindInvokedRoutine

func (mr *MockSchemaTemplateMockRecorder) FindInvokedRoutine(name any) *gomock.Call

FindInvokedRoutine indicates an expected call of FindInvokedRoutine.

func (*MockSchemaTemplateMockRecorder) FindTable

func (mr *MockSchemaTemplateMockRecorder) FindTable(name any) *gomock.Call

FindTable indicates an expected call of FindTable.

func (*MockSchemaTemplateMockRecorder) FindView

func (mr *MockSchemaTemplateMockRecorder) FindView(name any) *gomock.Call

FindView indicates an expected call of FindView.

func (*MockSchemaTemplateMockRecorder) GenerateSchema

func (mr *MockSchemaTemplateMockRecorder) GenerateSchema(databaseID, schemaName any) *gomock.Call

GenerateSchema indicates an expected call of GenerateSchema.

func (*MockSchemaTemplateMockRecorder) Indexes

Indexes indicates an expected call of Indexes.

func (*MockSchemaTemplateMockRecorder) IntermingleTables

func (mr *MockSchemaTemplateMockRecorder) IntermingleTables() *gomock.Call

IntermingleTables indicates an expected call of IntermingleTables.

func (*MockSchemaTemplateMockRecorder) InvokedRoutines

func (mr *MockSchemaTemplateMockRecorder) InvokedRoutines() *gomock.Call

InvokedRoutines indicates an expected call of InvokedRoutines.

func (*MockSchemaTemplateMockRecorder) MetadataName

func (mr *MockSchemaTemplateMockRecorder) MetadataName() *gomock.Call

MetadataName indicates an expected call of MetadataName.

func (*MockSchemaTemplateMockRecorder) StoreRowVersions

func (mr *MockSchemaTemplateMockRecorder) StoreRowVersions() *gomock.Call

StoreRowVersions indicates an expected call of StoreRowVersions.

func (*MockSchemaTemplateMockRecorder) StoredQueries

func (mr *MockSchemaTemplateMockRecorder) StoredQueries() *gomock.Call

StoredQueries indicates an expected call of StoredQueries.

func (*MockSchemaTemplateMockRecorder) TableIndexMapping

func (mr *MockSchemaTemplateMockRecorder) TableIndexMapping() *gomock.Call

TableIndexMapping indicates an expected call of TableIndexMapping.

func (*MockSchemaTemplateMockRecorder) Tables

Tables indicates an expected call of Tables.

func (*MockSchemaTemplateMockRecorder) TemporaryInvokedRoutines

func (mr *MockSchemaTemplateMockRecorder) TemporaryInvokedRoutines() *gomock.Call

TemporaryInvokedRoutines indicates an expected call of TemporaryInvokedRoutines.

func (*MockSchemaTemplateMockRecorder) TransactionBoundMetadataAsString

func (mr *MockSchemaTemplateMockRecorder) TransactionBoundMetadataAsString() *gomock.Call

TransactionBoundMetadataAsString indicates an expected call of TransactionBoundMetadataAsString.

func (*MockSchemaTemplateMockRecorder) Version

Version indicates an expected call of Version.

func (*MockSchemaTemplateMockRecorder) Views

Views indicates an expected call of Views.

type MockTable

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

MockTable is a mock of Table interface.

func NewMockTable

func NewMockTable(ctrl *gomock.Controller) *MockTable

NewMockTable creates a new mock instance.

func (*MockTable) Accept

func (m *MockTable) Accept(v api.Visitor)

Accept mocks base method.

func (*MockTable) Columns

func (m *MockTable) Columns() []api.Column

Columns mocks base method.

func (*MockTable) EXPECT

func (m *MockTable) EXPECT() *MockTableMockRecorder

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

func (*MockTable) Indexes

func (m *MockTable) Indexes() []api.Index

Indexes mocks base method.

func (*MockTable) MetadataName

func (m *MockTable) MetadataName() string

MetadataName mocks base method.

func (*MockTable) StructDataType

func (m *MockTable) StructDataType() *api.StructType

StructDataType mocks base method.

type MockTableMockRecorder

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

MockTableMockRecorder is the mock recorder for MockTable.

func (*MockTableMockRecorder) Accept

func (mr *MockTableMockRecorder) Accept(v any) *gomock.Call

Accept indicates an expected call of Accept.

func (*MockTableMockRecorder) Columns

func (mr *MockTableMockRecorder) Columns() *gomock.Call

Columns indicates an expected call of Columns.

func (*MockTableMockRecorder) Indexes

func (mr *MockTableMockRecorder) Indexes() *gomock.Call

Indexes indicates an expected call of Indexes.

func (*MockTableMockRecorder) MetadataName

func (mr *MockTableMockRecorder) MetadataName() *gomock.Call

MetadataName indicates an expected call of MetadataName.

func (*MockTableMockRecorder) StructDataType

func (mr *MockTableMockRecorder) StructDataType() *gomock.Call

StructDataType indicates an expected call of StructDataType.

type MockTransaction

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

MockTransaction is a mock of Transaction interface.

func NewMockTransaction

func NewMockTransaction(ctrl *gomock.Controller) *MockTransaction

NewMockTransaction creates a new mock instance.

func (*MockTransaction) Abort

func (m *MockTransaction) Abort() error

Abort mocks base method.

func (*MockTransaction) BoundSchemaTemplate

func (m *MockTransaction) BoundSchemaTemplate() api.SchemaTemplate

BoundSchemaTemplate mocks base method.

func (*MockTransaction) Close

func (m *MockTransaction) Close() error

Close mocks base method.

func (*MockTransaction) Commit

func (m *MockTransaction) Commit() error

Commit mocks base method.

func (*MockTransaction) EXPECT

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

func (*MockTransaction) IsClosed

func (m *MockTransaction) IsClosed() bool

IsClosed mocks base method.

func (*MockTransaction) SetBoundSchemaTemplate

func (m *MockTransaction) SetBoundSchemaTemplate(template api.SchemaTemplate)

SetBoundSchemaTemplate mocks base method.

func (*MockTransaction) UnsetBoundSchemaTemplate

func (m *MockTransaction) UnsetBoundSchemaTemplate()

UnsetBoundSchemaTemplate mocks base method.

func (*MockTransaction) Unwrap

func (m *MockTransaction) Unwrap() any

Unwrap mocks base method.

type MockTransactionMockRecorder

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

MockTransactionMockRecorder is the mock recorder for MockTransaction.

func (*MockTransactionMockRecorder) Abort

Abort indicates an expected call of Abort.

func (*MockTransactionMockRecorder) BoundSchemaTemplate

func (mr *MockTransactionMockRecorder) BoundSchemaTemplate() *gomock.Call

BoundSchemaTemplate indicates an expected call of BoundSchemaTemplate.

func (*MockTransactionMockRecorder) Close

Close indicates an expected call of Close.

func (*MockTransactionMockRecorder) Commit

func (mr *MockTransactionMockRecorder) Commit() *gomock.Call

Commit indicates an expected call of Commit.

func (*MockTransactionMockRecorder) IsClosed

func (mr *MockTransactionMockRecorder) IsClosed() *gomock.Call

IsClosed indicates an expected call of IsClosed.

func (*MockTransactionMockRecorder) SetBoundSchemaTemplate

func (mr *MockTransactionMockRecorder) SetBoundSchemaTemplate(template any) *gomock.Call

SetBoundSchemaTemplate indicates an expected call of SetBoundSchemaTemplate.

func (*MockTransactionMockRecorder) UnsetBoundSchemaTemplate

func (mr *MockTransactionMockRecorder) UnsetBoundSchemaTemplate() *gomock.Call

UnsetBoundSchemaTemplate indicates an expected call of UnsetBoundSchemaTemplate.

func (*MockTransactionMockRecorder) Unwrap

func (mr *MockTransactionMockRecorder) Unwrap() *gomock.Call

Unwrap indicates an expected call of Unwrap.

type MockView

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

MockView is a mock of View interface.

func NewMockView

func NewMockView(ctrl *gomock.Controller) *MockView

NewMockView creates a new mock instance.

func (*MockView) Accept

func (m *MockView) Accept(v api.Visitor)

Accept mocks base method.

func (*MockView) Description

func (m *MockView) Description() string

Description mocks base method.

func (*MockView) EXPECT

func (m *MockView) EXPECT() *MockViewMockRecorder

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

func (*MockView) IsTemporary

func (m *MockView) IsTemporary() bool

IsTemporary mocks base method.

func (*MockView) MetadataName

func (m *MockView) MetadataName() string

MetadataName mocks base method.

type MockViewMockRecorder

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

MockViewMockRecorder is the mock recorder for MockView.

func (*MockViewMockRecorder) Accept

func (mr *MockViewMockRecorder) Accept(v any) *gomock.Call

Accept indicates an expected call of Accept.

func (*MockViewMockRecorder) Description

func (mr *MockViewMockRecorder) Description() *gomock.Call

Description indicates an expected call of Description.

func (*MockViewMockRecorder) IsTemporary

func (mr *MockViewMockRecorder) IsTemporary() *gomock.Call

IsTemporary indicates an expected call of IsTemporary.

func (*MockViewMockRecorder) MetadataName

func (mr *MockViewMockRecorder) MetadataName() *gomock.Call

MetadataName indicates an expected call of MetadataName.

type MockVisitor

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

MockVisitor is a mock of Visitor interface.

func NewMockVisitor

func NewMockVisitor(ctrl *gomock.Controller) *MockVisitor

NewMockVisitor creates a new mock instance.

func (*MockVisitor) EXPECT

func (m *MockVisitor) EXPECT() *MockVisitorMockRecorder

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

func (*MockVisitor) FinishVisitSchemaTemplate

func (m *MockVisitor) FinishVisitSchemaTemplate(s api.SchemaTemplate)

FinishVisitSchemaTemplate mocks base method.

func (*MockVisitor) StartVisitSchemaTemplate

func (m *MockVisitor) StartVisitSchemaTemplate(s api.SchemaTemplate)

StartVisitSchemaTemplate mocks base method.

func (*MockVisitor) VisitColumn

func (m *MockVisitor) VisitColumn(c api.Column)

VisitColumn mocks base method.

func (*MockVisitor) VisitIndex

func (m *MockVisitor) VisitIndex(i api.Index)

VisitIndex mocks base method.

func (*MockVisitor) VisitInvokedRoutine

func (m *MockVisitor) VisitInvokedRoutine(r api.InvokedRoutine)

VisitInvokedRoutine mocks base method.

func (*MockVisitor) VisitSchema

func (m *MockVisitor) VisitSchema(s api.Schema)

VisitSchema mocks base method.

func (*MockVisitor) VisitSchemaTemplate

func (m *MockVisitor) VisitSchemaTemplate(s api.SchemaTemplate)

VisitSchemaTemplate mocks base method.

func (*MockVisitor) VisitTable

func (m *MockVisitor) VisitTable(t api.Table)

VisitTable mocks base method.

func (*MockVisitor) VisitView

func (m *MockVisitor) VisitView(v api.View)

VisitView mocks base method.

type MockVisitorMockRecorder

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

MockVisitorMockRecorder is the mock recorder for MockVisitor.

func (*MockVisitorMockRecorder) FinishVisitSchemaTemplate

func (mr *MockVisitorMockRecorder) FinishVisitSchemaTemplate(s any) *gomock.Call

FinishVisitSchemaTemplate indicates an expected call of FinishVisitSchemaTemplate.

func (*MockVisitorMockRecorder) StartVisitSchemaTemplate

func (mr *MockVisitorMockRecorder) StartVisitSchemaTemplate(s any) *gomock.Call

StartVisitSchemaTemplate indicates an expected call of StartVisitSchemaTemplate.

func (*MockVisitorMockRecorder) VisitColumn

func (mr *MockVisitorMockRecorder) VisitColumn(c any) *gomock.Call

VisitColumn indicates an expected call of VisitColumn.

func (*MockVisitorMockRecorder) VisitIndex

func (mr *MockVisitorMockRecorder) VisitIndex(i any) *gomock.Call

VisitIndex indicates an expected call of VisitIndex.

func (*MockVisitorMockRecorder) VisitInvokedRoutine

func (mr *MockVisitorMockRecorder) VisitInvokedRoutine(r any) *gomock.Call

VisitInvokedRoutine indicates an expected call of VisitInvokedRoutine.

func (*MockVisitorMockRecorder) VisitSchema

func (mr *MockVisitorMockRecorder) VisitSchema(s any) *gomock.Call

VisitSchema indicates an expected call of VisitSchema.

func (*MockVisitorMockRecorder) VisitSchemaTemplate

func (mr *MockVisitorMockRecorder) VisitSchemaTemplate(s any) *gomock.Call

VisitSchemaTemplate indicates an expected call of VisitSchemaTemplate.

func (*MockVisitorMockRecorder) VisitTable

func (mr *MockVisitorMockRecorder) VisitTable(t any) *gomock.Call

VisitTable indicates an expected call of VisitTable.

func (*MockVisitorMockRecorder) VisitView

func (mr *MockVisitorMockRecorder) VisitView(v any) *gomock.Call

VisitView indicates an expected call of VisitView.

Jump to

Keyboard shortcuts

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