Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeMigrator
- func (fake *FakeMigrator) CurrentVersion(arg1 lager.Logger, arg2 *sql.DB) (int, error)
- func (fake *FakeMigrator) CurrentVersionArgsForCall(i int) (lager.Logger, *sql.DB)
- func (fake *FakeMigrator) CurrentVersionCallCount() int
- func (fake *FakeMigrator) CurrentVersionCalls(stub func(lager.Logger, *sql.DB) (int, error))
- func (fake *FakeMigrator) CurrentVersionReturns(result1 int, result2 error)
- func (fake *FakeMigrator) CurrentVersionReturnsOnCall(i int, result1 int, result2 error)
- func (fake *FakeMigrator) Invocations() map[string][][]interface{}
- func (fake *FakeMigrator) Migrate(arg1 lager.Logger, arg2 *sql.DB, arg3 int) error
- func (fake *FakeMigrator) MigrateArgsForCall(i int) (lager.Logger, *sql.DB, int)
- func (fake *FakeMigrator) MigrateCallCount() int
- func (fake *FakeMigrator) MigrateCalls(stub func(lager.Logger, *sql.DB, int) error)
- func (fake *FakeMigrator) MigrateReturns(result1 error)
- func (fake *FakeMigrator) MigrateReturnsOnCall(i int, result1 error)
- func (fake *FakeMigrator) SupportedVersion(arg1 lager.Logger) (int, error)
- func (fake *FakeMigrator) SupportedVersionArgsForCall(i int) lager.Logger
- func (fake *FakeMigrator) SupportedVersionCallCount() int
- func (fake *FakeMigrator) SupportedVersionCalls(stub func(lager.Logger) (int, error))
- func (fake *FakeMigrator) SupportedVersionReturns(result1 int, result2 error)
- func (fake *FakeMigrator) SupportedVersionReturnsOnCall(i int, result1 int, result2 error)
- func (fake *FakeMigrator) Up(arg1 lager.Logger, arg2 *sql.DB) error
- func (fake *FakeMigrator) UpArgsForCall(i int) (lager.Logger, *sql.DB)
- func (fake *FakeMigrator) UpCallCount() int
- func (fake *FakeMigrator) UpCalls(stub func(lager.Logger, *sql.DB) error)
- func (fake *FakeMigrator) UpReturns(result1 error)
- func (fake *FakeMigrator) UpReturnsOnCall(i int, result1 error)
- type FakeParser
- func (fake *FakeParser) Invocations() map[string][][]interface{}
- func (fake *FakeParser) ParseFileToMigration(arg1 lager.Logger, arg2 string) (voyager.Migration, error)
- func (fake *FakeParser) ParseFileToMigrationArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeParser) ParseFileToMigrationCallCount() int
- func (fake *FakeParser) ParseFileToMigrationCalls(stub func(lager.Logger, string) (voyager.Migration, error))
- func (fake *FakeParser) ParseFileToMigrationReturns(result1 voyager.Migration, result2 error)
- func (fake *FakeParser) ParseFileToMigrationReturnsOnCall(i int, result1 voyager.Migration, result2 error)
- func (fake *FakeParser) ParseMigrationFilename(arg1 lager.Logger, arg2 string) (voyager.Migration, error)
- func (fake *FakeParser) ParseMigrationFilenameArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeParser) ParseMigrationFilenameCallCount() int
- func (fake *FakeParser) ParseMigrationFilenameCalls(stub func(lager.Logger, string) (voyager.Migration, error))
- func (fake *FakeParser) ParseMigrationFilenameReturns(result1 voyager.Migration, result2 error)
- func (fake *FakeParser) ParseMigrationFilenameReturnsOnCall(i int, result1 voyager.Migration, result2 error)
- type FakeSchemaAdapter
- func (fake *FakeSchemaAdapter) CurrentVersion(arg1 *sql.DB) (int, error)
- func (fake *FakeSchemaAdapter) CurrentVersionArgsForCall(i int) *sql.DB
- func (fake *FakeSchemaAdapter) CurrentVersionCallCount() int
- func (fake *FakeSchemaAdapter) CurrentVersionCalls(stub func(*sql.DB) (int, error))
- func (fake *FakeSchemaAdapter) CurrentVersionReturns(result1 int, result2 error)
- func (fake *FakeSchemaAdapter) CurrentVersionReturnsOnCall(i int, result1 int, result2 error)
- func (fake *FakeSchemaAdapter) Invocations() map[string][][]interface{}
- func (fake *FakeSchemaAdapter) MigrateFromOldSchema(arg1 *sql.DB, arg2 int) (int, error)
- func (fake *FakeSchemaAdapter) MigrateFromOldSchemaArgsForCall(i int) (*sql.DB, int)
- func (fake *FakeSchemaAdapter) MigrateFromOldSchemaCallCount() int
- func (fake *FakeSchemaAdapter) MigrateFromOldSchemaCalls(stub func(*sql.DB, int) (int, error))
- func (fake *FakeSchemaAdapter) MigrateFromOldSchemaReturns(result1 int, result2 error)
- func (fake *FakeSchemaAdapter) MigrateFromOldSchemaReturnsOnCall(i int, result1 int, result2 error)
- func (fake *FakeSchemaAdapter) MigrateToOldSchema(arg1 *sql.DB, arg2 int) error
- func (fake *FakeSchemaAdapter) MigrateToOldSchemaArgsForCall(i int) (*sql.DB, int)
- func (fake *FakeSchemaAdapter) MigrateToOldSchemaCallCount() int
- func (fake *FakeSchemaAdapter) MigrateToOldSchemaCalls(stub func(*sql.DB, int) error)
- func (fake *FakeSchemaAdapter) MigrateToOldSchemaReturns(result1 error)
- func (fake *FakeSchemaAdapter) MigrateToOldSchemaReturnsOnCall(i int, result1 error)
- type FakeSource
- func (fake *FakeSource) Asset(arg1 string) ([]byte, error)
- func (fake *FakeSource) AssetArgsForCall(i int) string
- func (fake *FakeSource) AssetCallCount() int
- func (fake *FakeSource) AssetCalls(stub func(string) ([]byte, error))
- func (fake *FakeSource) AssetNames() []string
- func (fake *FakeSource) AssetNamesCallCount() int
- func (fake *FakeSource) AssetNamesCalls(stub func() []string)
- func (fake *FakeSource) AssetNamesReturns(result1 []string)
- func (fake *FakeSource) AssetNamesReturnsOnCall(i int, result1 []string)
- func (fake *FakeSource) AssetReturns(result1 []byte, result2 error)
- func (fake *FakeSource) AssetReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeSource) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeMigrator ¶
type FakeMigrator struct { CurrentVersionStub func(lager.Logger, *sql.DB) (int, error) MigrateStub func(lager.Logger, *sql.DB, int) error SupportedVersionStub func(lager.Logger) (int, error) UpStub func(lager.Logger, *sql.DB) error // contains filtered or unexported fields }
func (*FakeMigrator) CurrentVersion ¶
func (*FakeMigrator) CurrentVersionArgsForCall ¶
func (*FakeMigrator) CurrentVersionCallCount ¶
func (fake *FakeMigrator) CurrentVersionCallCount() int
func (*FakeMigrator) CurrentVersionCalls ¶
func (*FakeMigrator) CurrentVersionReturns ¶
func (fake *FakeMigrator) CurrentVersionReturns(result1 int, result2 error)
func (*FakeMigrator) CurrentVersionReturnsOnCall ¶
func (fake *FakeMigrator) CurrentVersionReturnsOnCall(i int, result1 int, result2 error)
func (*FakeMigrator) Invocations ¶
func (fake *FakeMigrator) Invocations() map[string][][]interface{}
func (*FakeMigrator) MigrateArgsForCall ¶
func (*FakeMigrator) MigrateCallCount ¶
func (fake *FakeMigrator) MigrateCallCount() int
func (*FakeMigrator) MigrateCalls ¶
func (*FakeMigrator) MigrateReturns ¶
func (fake *FakeMigrator) MigrateReturns(result1 error)
func (*FakeMigrator) MigrateReturnsOnCall ¶
func (fake *FakeMigrator) MigrateReturnsOnCall(i int, result1 error)
func (*FakeMigrator) SupportedVersion ¶
func (fake *FakeMigrator) SupportedVersion(arg1 lager.Logger) (int, error)
func (*FakeMigrator) SupportedVersionArgsForCall ¶
func (fake *FakeMigrator) SupportedVersionArgsForCall(i int) lager.Logger
func (*FakeMigrator) SupportedVersionCallCount ¶
func (fake *FakeMigrator) SupportedVersionCallCount() int
func (*FakeMigrator) SupportedVersionCalls ¶
func (fake *FakeMigrator) SupportedVersionCalls(stub func(lager.Logger) (int, error))
func (*FakeMigrator) SupportedVersionReturns ¶
func (fake *FakeMigrator) SupportedVersionReturns(result1 int, result2 error)
func (*FakeMigrator) SupportedVersionReturnsOnCall ¶
func (fake *FakeMigrator) SupportedVersionReturnsOnCall(i int, result1 int, result2 error)
func (*FakeMigrator) UpArgsForCall ¶
func (*FakeMigrator) UpCallCount ¶
func (fake *FakeMigrator) UpCallCount() int
func (*FakeMigrator) UpReturns ¶
func (fake *FakeMigrator) UpReturns(result1 error)
func (*FakeMigrator) UpReturnsOnCall ¶
func (fake *FakeMigrator) UpReturnsOnCall(i int, result1 error)
type FakeParser ¶
type FakeParser struct { ParseFileToMigrationStub func(lager.Logger, string) (voyager.Migration, error) ParseMigrationFilenameStub func(lager.Logger, string) (voyager.Migration, error) // contains filtered or unexported fields }
func (*FakeParser) Invocations ¶
func (fake *FakeParser) Invocations() map[string][][]interface{}
func (*FakeParser) ParseFileToMigration ¶
func (*FakeParser) ParseFileToMigrationArgsForCall ¶
func (fake *FakeParser) ParseFileToMigrationArgsForCall(i int) (lager.Logger, string)
func (*FakeParser) ParseFileToMigrationCallCount ¶
func (fake *FakeParser) ParseFileToMigrationCallCount() int
func (*FakeParser) ParseFileToMigrationCalls ¶
func (*FakeParser) ParseFileToMigrationReturns ¶
func (fake *FakeParser) ParseFileToMigrationReturns(result1 voyager.Migration, result2 error)
func (*FakeParser) ParseFileToMigrationReturnsOnCall ¶
func (fake *FakeParser) ParseFileToMigrationReturnsOnCall(i int, result1 voyager.Migration, result2 error)
func (*FakeParser) ParseMigrationFilename ¶
func (*FakeParser) ParseMigrationFilenameArgsForCall ¶
func (fake *FakeParser) ParseMigrationFilenameArgsForCall(i int) (lager.Logger, string)
func (*FakeParser) ParseMigrationFilenameCallCount ¶
func (fake *FakeParser) ParseMigrationFilenameCallCount() int
func (*FakeParser) ParseMigrationFilenameCalls ¶
func (*FakeParser) ParseMigrationFilenameReturns ¶
func (fake *FakeParser) ParseMigrationFilenameReturns(result1 voyager.Migration, result2 error)
func (*FakeParser) ParseMigrationFilenameReturnsOnCall ¶
func (fake *FakeParser) ParseMigrationFilenameReturnsOnCall(i int, result1 voyager.Migration, result2 error)
type FakeSchemaAdapter ¶
type FakeSchemaAdapter struct { CurrentVersionStub func(*sql.DB) (int, error) MigrateFromOldSchemaStub func(*sql.DB, int) (int, error) MigrateToOldSchemaStub func(*sql.DB, int) error // contains filtered or unexported fields }
func (*FakeSchemaAdapter) CurrentVersion ¶
func (fake *FakeSchemaAdapter) CurrentVersion(arg1 *sql.DB) (int, error)
func (*FakeSchemaAdapter) CurrentVersionArgsForCall ¶
func (fake *FakeSchemaAdapter) CurrentVersionArgsForCall(i int) *sql.DB
func (*FakeSchemaAdapter) CurrentVersionCallCount ¶
func (fake *FakeSchemaAdapter) CurrentVersionCallCount() int
func (*FakeSchemaAdapter) CurrentVersionCalls ¶
func (fake *FakeSchemaAdapter) CurrentVersionCalls(stub func(*sql.DB) (int, error))
func (*FakeSchemaAdapter) CurrentVersionReturns ¶
func (fake *FakeSchemaAdapter) CurrentVersionReturns(result1 int, result2 error)
func (*FakeSchemaAdapter) CurrentVersionReturnsOnCall ¶
func (fake *FakeSchemaAdapter) CurrentVersionReturnsOnCall(i int, result1 int, result2 error)
func (*FakeSchemaAdapter) Invocations ¶
func (fake *FakeSchemaAdapter) Invocations() map[string][][]interface{}
func (*FakeSchemaAdapter) MigrateFromOldSchema ¶
func (*FakeSchemaAdapter) MigrateFromOldSchemaArgsForCall ¶
func (fake *FakeSchemaAdapter) MigrateFromOldSchemaArgsForCall(i int) (*sql.DB, int)
func (*FakeSchemaAdapter) MigrateFromOldSchemaCallCount ¶
func (fake *FakeSchemaAdapter) MigrateFromOldSchemaCallCount() int
func (*FakeSchemaAdapter) MigrateFromOldSchemaCalls ¶
func (*FakeSchemaAdapter) MigrateFromOldSchemaReturns ¶
func (fake *FakeSchemaAdapter) MigrateFromOldSchemaReturns(result1 int, result2 error)
func (*FakeSchemaAdapter) MigrateFromOldSchemaReturnsOnCall ¶
func (fake *FakeSchemaAdapter) MigrateFromOldSchemaReturnsOnCall(i int, result1 int, result2 error)
func (*FakeSchemaAdapter) MigrateToOldSchema ¶
func (fake *FakeSchemaAdapter) MigrateToOldSchema(arg1 *sql.DB, arg2 int) error
func (*FakeSchemaAdapter) MigrateToOldSchemaArgsForCall ¶
func (fake *FakeSchemaAdapter) MigrateToOldSchemaArgsForCall(i int) (*sql.DB, int)
func (*FakeSchemaAdapter) MigrateToOldSchemaCallCount ¶
func (fake *FakeSchemaAdapter) MigrateToOldSchemaCallCount() int
func (*FakeSchemaAdapter) MigrateToOldSchemaCalls ¶
func (fake *FakeSchemaAdapter) MigrateToOldSchemaCalls(stub func(*sql.DB, int) error)
func (*FakeSchemaAdapter) MigrateToOldSchemaReturns ¶
func (fake *FakeSchemaAdapter) MigrateToOldSchemaReturns(result1 error)
func (*FakeSchemaAdapter) MigrateToOldSchemaReturnsOnCall ¶
func (fake *FakeSchemaAdapter) MigrateToOldSchemaReturnsOnCall(i int, result1 error)
type FakeSource ¶
type FakeSource struct { AssetStub func(string) ([]byte, error) AssetNamesStub func() []string // contains filtered or unexported fields }
func (*FakeSource) AssetArgsForCall ¶
func (fake *FakeSource) AssetArgsForCall(i int) string
func (*FakeSource) AssetCallCount ¶
func (fake *FakeSource) AssetCallCount() int
func (*FakeSource) AssetCalls ¶
func (fake *FakeSource) AssetCalls(stub func(string) ([]byte, error))
func (*FakeSource) AssetNames ¶
func (fake *FakeSource) AssetNames() []string
func (*FakeSource) AssetNamesCallCount ¶
func (fake *FakeSource) AssetNamesCallCount() int
func (*FakeSource) AssetNamesCalls ¶
func (fake *FakeSource) AssetNamesCalls(stub func() []string)
func (*FakeSource) AssetNamesReturns ¶
func (fake *FakeSource) AssetNamesReturns(result1 []string)
func (*FakeSource) AssetNamesReturnsOnCall ¶
func (fake *FakeSource) AssetNamesReturnsOnCall(i int, result1 []string)
func (*FakeSource) AssetReturns ¶
func (fake *FakeSource) AssetReturns(result1 []byte, result2 error)
func (*FakeSource) AssetReturnsOnCall ¶
func (fake *FakeSource) AssetReturnsOnCall(i int, result1 []byte, result2 error)
func (*FakeSource) Invocations ¶
func (fake *FakeSource) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.