mocks

package
v1.0.9-3 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

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 RestartManager

type RestartManager struct {
	ForConfigMapUpdateStub func(v1.Object) error

	ForRestartActionStub func(v1.Object) error

	TriggerIfNeededStub func(restart.Instance) error
	// contains filtered or unexported fields
}

func (*RestartManager) ForConfigMapUpdate

func (fake *RestartManager) ForConfigMapUpdate(arg1 v1.Object) error

func (*RestartManager) ForConfigMapUpdateArgsForCall

func (fake *RestartManager) ForConfigMapUpdateArgsForCall(i int) v1.Object

func (*RestartManager) ForConfigMapUpdateCallCount

func (fake *RestartManager) ForConfigMapUpdateCallCount() int

func (*RestartManager) ForConfigMapUpdateCalls

func (fake *RestartManager) ForConfigMapUpdateCalls(stub func(v1.Object) error)

func (*RestartManager) ForConfigMapUpdateReturns

func (fake *RestartManager) ForConfigMapUpdateReturns(result1 error)

func (*RestartManager) ForConfigMapUpdateReturnsOnCall

func (fake *RestartManager) ForConfigMapUpdateReturnsOnCall(i int, result1 error)

func (*RestartManager) ForRestartAction

func (fake *RestartManager) ForRestartAction(arg1 v1.Object) error

func (*RestartManager) ForRestartActionArgsForCall

func (fake *RestartManager) ForRestartActionArgsForCall(i int) v1.Object

func (*RestartManager) ForRestartActionCallCount

func (fake *RestartManager) ForRestartActionCallCount() int

func (*RestartManager) ForRestartActionCalls

func (fake *RestartManager) ForRestartActionCalls(stub func(v1.Object) error)

func (*RestartManager) ForRestartActionReturns

func (fake *RestartManager) ForRestartActionReturns(result1 error)

func (*RestartManager) ForRestartActionReturnsOnCall

func (fake *RestartManager) ForRestartActionReturnsOnCall(i int, result1 error)

func (*RestartManager) Invocations

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

func (*RestartManager) TriggerIfNeeded

func (fake *RestartManager) TriggerIfNeeded(arg1 restart.Instance) error

func (*RestartManager) TriggerIfNeededArgsForCall

func (fake *RestartManager) TriggerIfNeededArgsForCall(i int) restart.Instance

func (*RestartManager) TriggerIfNeededCallCount

func (fake *RestartManager) TriggerIfNeededCallCount() int

func (*RestartManager) TriggerIfNeededCalls

func (fake *RestartManager) TriggerIfNeededCalls(stub func(restart.Instance) error)

func (*RestartManager) TriggerIfNeededReturns

func (fake *RestartManager) TriggerIfNeededReturns(result1 error)

func (*RestartManager) TriggerIfNeededReturnsOnCall

func (fake *RestartManager) TriggerIfNeededReturnsOnCall(i int, result1 error)

type Update

type Update struct {
	ConsoleCMUpdatedStub func() bool

	DeployerCMUpdatedStub func() bool

	EnvCMUpdatedStub func() bool

	RestartNeededStub func() bool

	SpecUpdatedStub func() bool
	// contains filtered or unexported fields
}

func (*Update) ConsoleCMUpdated

func (fake *Update) ConsoleCMUpdated() bool

func (*Update) ConsoleCMUpdatedCallCount

func (fake *Update) ConsoleCMUpdatedCallCount() int

func (*Update) ConsoleCMUpdatedCalls

func (fake *Update) ConsoleCMUpdatedCalls(stub func() bool)

func (*Update) ConsoleCMUpdatedReturns

func (fake *Update) ConsoleCMUpdatedReturns(result1 bool)

func (*Update) ConsoleCMUpdatedReturnsOnCall

func (fake *Update) ConsoleCMUpdatedReturnsOnCall(i int, result1 bool)

func (*Update) DeployerCMUpdated

func (fake *Update) DeployerCMUpdated() bool

func (*Update) DeployerCMUpdatedCallCount

func (fake *Update) DeployerCMUpdatedCallCount() int

func (*Update) DeployerCMUpdatedCalls

func (fake *Update) DeployerCMUpdatedCalls(stub func() bool)

func (*Update) DeployerCMUpdatedReturns

func (fake *Update) DeployerCMUpdatedReturns(result1 bool)

func (*Update) DeployerCMUpdatedReturnsOnCall

func (fake *Update) DeployerCMUpdatedReturnsOnCall(i int, result1 bool)

func (*Update) EnvCMUpdated

func (fake *Update) EnvCMUpdated() bool

func (*Update) EnvCMUpdatedCallCount

func (fake *Update) EnvCMUpdatedCallCount() int

func (*Update) EnvCMUpdatedCalls

func (fake *Update) EnvCMUpdatedCalls(stub func() bool)

func (*Update) EnvCMUpdatedReturns

func (fake *Update) EnvCMUpdatedReturns(result1 bool)

func (*Update) EnvCMUpdatedReturnsOnCall

func (fake *Update) EnvCMUpdatedReturnsOnCall(i int, result1 bool)

func (*Update) Invocations

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

func (*Update) RestartNeeded

func (fake *Update) RestartNeeded() bool

func (*Update) RestartNeededCallCount

func (fake *Update) RestartNeededCallCount() int

func (*Update) RestartNeededCalls

func (fake *Update) RestartNeededCalls(stub func() bool)

func (*Update) RestartNeededReturns

func (fake *Update) RestartNeededReturns(result1 bool)

func (*Update) RestartNeededReturnsOnCall

func (fake *Update) RestartNeededReturnsOnCall(i int, result1 bool)

func (*Update) SpecUpdated

func (fake *Update) SpecUpdated() bool

func (*Update) SpecUpdatedCallCount

func (fake *Update) SpecUpdatedCallCount() int

func (*Update) SpecUpdatedCalls

func (fake *Update) SpecUpdatedCalls(stub func() bool)

func (*Update) SpecUpdatedReturns

func (fake *Update) SpecUpdatedReturns(result1 bool)

func (*Update) SpecUpdatedReturnsOnCall

func (fake *Update) SpecUpdatedReturnsOnCall(i int, result1 bool)

Jump to

Keyboard shortcuts

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