mocks

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Migrator

type Migrator struct {
	MigrationNeededStub func(v1.Object) bool

	SetChaincodeLauncherResourceOnCRStub func(v1.Object) error

	UpdateConfigStub func(v1.Object, string) error

	UpgradeDBsStub func(v1.Object, operatorconfig.DBMigrationTimeouts) error
	// contains filtered or unexported fields
}

func (*Migrator) Invocations

func (fake *Migrator) Invocations() map[string][][]interface{}

func (*Migrator) MigrationNeeded

func (fake *Migrator) MigrationNeeded(arg1 v1.Object) bool

func (*Migrator) MigrationNeededArgsForCall

func (fake *Migrator) MigrationNeededArgsForCall(i int) v1.Object

func (*Migrator) MigrationNeededCallCount

func (fake *Migrator) MigrationNeededCallCount() int

func (*Migrator) MigrationNeededCalls

func (fake *Migrator) MigrationNeededCalls(stub func(v1.Object) bool)

func (*Migrator) MigrationNeededReturns

func (fake *Migrator) MigrationNeededReturns(result1 bool)

func (*Migrator) MigrationNeededReturnsOnCall

func (fake *Migrator) MigrationNeededReturnsOnCall(i int, result1 bool)

func (*Migrator) SetChaincodeLauncherResourceOnCR

func (fake *Migrator) SetChaincodeLauncherResourceOnCR(arg1 v1.Object) error

func (*Migrator) SetChaincodeLauncherResourceOnCRArgsForCall

func (fake *Migrator) SetChaincodeLauncherResourceOnCRArgsForCall(i int) v1.Object

func (*Migrator) SetChaincodeLauncherResourceOnCRCallCount

func (fake *Migrator) SetChaincodeLauncherResourceOnCRCallCount() int

func (*Migrator) SetChaincodeLauncherResourceOnCRCalls

func (fake *Migrator) SetChaincodeLauncherResourceOnCRCalls(stub func(v1.Object) error)

func (*Migrator) SetChaincodeLauncherResourceOnCRReturns

func (fake *Migrator) SetChaincodeLauncherResourceOnCRReturns(result1 error)

func (*Migrator) SetChaincodeLauncherResourceOnCRReturnsOnCall

func (fake *Migrator) SetChaincodeLauncherResourceOnCRReturnsOnCall(i int, result1 error)

func (*Migrator) UpdateConfig

func (fake *Migrator) UpdateConfig(arg1 v1.Object, arg2 string) error

func (*Migrator) UpdateConfigArgsForCall

func (fake *Migrator) UpdateConfigArgsForCall(i int) (v1.Object, string)

func (*Migrator) UpdateConfigCallCount

func (fake *Migrator) UpdateConfigCallCount() int

func (*Migrator) UpdateConfigCalls

func (fake *Migrator) UpdateConfigCalls(stub func(v1.Object, string) error)

func (*Migrator) UpdateConfigReturns

func (fake *Migrator) UpdateConfigReturns(result1 error)

func (*Migrator) UpdateConfigReturnsOnCall

func (fake *Migrator) UpdateConfigReturnsOnCall(i int, result1 error)

func (*Migrator) UpgradeDBs

func (fake *Migrator) UpgradeDBs(arg1 v1.Object, arg2 operatorconfig.DBMigrationTimeouts) error

func (*Migrator) UpgradeDBsArgsForCall

func (fake *Migrator) UpgradeDBsArgsForCall(i int) (v1.Object, operatorconfig.DBMigrationTimeouts)

func (*Migrator) UpgradeDBsCallCount

func (fake *Migrator) UpgradeDBsCallCount() int

func (*Migrator) UpgradeDBsCalls

func (fake *Migrator) UpgradeDBsCalls(stub func(v1.Object, operatorconfig.DBMigrationTimeouts) error)

func (*Migrator) UpgradeDBsReturns

func (fake *Migrator) UpgradeDBsReturns(result1 error)

func (*Migrator) UpgradeDBsReturnsOnCall

func (fake *Migrator) UpgradeDBsReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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