mocks

package
v0.0.0-...-5840427 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockContainer

type MockContainer struct {
	mock.Mock
}

MockContainer is an autogenerated mock type for the Container type

func NewMockContainer

func NewMockContainer(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockContainer

NewMockContainer creates a new instance of MockContainer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockContainer) ContainerInfo

func (_mock *MockContainer) ContainerInfo() *container.InspectResponse

ContainerInfo provides a mock function for the type MockContainer

func (*MockContainer) EXPECT

func (_m *MockContainer) EXPECT() *MockContainer_Expecter

func (*MockContainer) Enabled

func (_mock *MockContainer) Enabled() (bool, bool)

Enabled provides a mock function for the type MockContainer

func (*MockContainer) GetContainerChain

func (_mock *MockContainer) GetContainerChain() (string, bool)

GetContainerChain provides a mock function for the type MockContainer

func (*MockContainer) GetCreateConfig

func (_mock *MockContainer) GetCreateConfig() *container.Config

GetCreateConfig provides a mock function for the type MockContainer

func (*MockContainer) GetCreateHostConfig

func (_mock *MockContainer) GetCreateHostConfig() *container.HostConfig

GetCreateHostConfig provides a mock function for the type MockContainer

func (*MockContainer) GetLifecycleGID

func (_mock *MockContainer) GetLifecycleGID() (int, bool)

GetLifecycleGID provides a mock function for the type MockContainer

func (*MockContainer) GetLifecyclePostCheckCommand

func (_mock *MockContainer) GetLifecyclePostCheckCommand() string

GetLifecyclePostCheckCommand provides a mock function for the type MockContainer

func (*MockContainer) GetLifecyclePostUpdateCommand

func (_mock *MockContainer) GetLifecyclePostUpdateCommand() string

GetLifecyclePostUpdateCommand provides a mock function for the type MockContainer

func (*MockContainer) GetLifecyclePreCheckCommand

func (_mock *MockContainer) GetLifecyclePreCheckCommand() string

GetLifecyclePreCheckCommand provides a mock function for the type MockContainer

func (*MockContainer) GetLifecyclePreUpdateCommand

func (_mock *MockContainer) GetLifecyclePreUpdateCommand() string

GetLifecyclePreUpdateCommand provides a mock function for the type MockContainer

func (*MockContainer) GetLifecycleUID

func (_mock *MockContainer) GetLifecycleUID() (int, bool)

GetLifecycleUID provides a mock function for the type MockContainer

func (*MockContainer) HasImageInfo

func (_mock *MockContainer) HasImageInfo() bool

HasImageInfo provides a mock function for the type MockContainer

func (*MockContainer) ID

func (_mock *MockContainer) ID() types.ContainerID

ID provides a mock function for the type MockContainer

func (*MockContainer) ImageID

func (_mock *MockContainer) ImageID() types.ImageID

ImageID provides a mock function for the type MockContainer

func (*MockContainer) ImageInfo

func (_mock *MockContainer) ImageInfo() *image.InspectResponse

ImageInfo provides a mock function for the type MockContainer

func (*MockContainer) ImageName

func (_mock *MockContainer) ImageName() string

ImageName provides a mock function for the type MockContainer

func (*MockContainer) IsLinkedToRestarting

func (_mock *MockContainer) IsLinkedToRestarting() bool

IsLinkedToRestarting provides a mock function for the type MockContainer

func (*MockContainer) IsMonitorOnly

func (_mock *MockContainer) IsMonitorOnly(params types.UpdateParams) bool

IsMonitorOnly provides a mock function for the type MockContainer

func (*MockContainer) IsNoPull

func (_mock *MockContainer) IsNoPull(params types.UpdateParams) bool

IsNoPull provides a mock function for the type MockContainer

func (*MockContainer) IsRestarting

func (_mock *MockContainer) IsRestarting() bool

IsRestarting provides a mock function for the type MockContainer

func (*MockContainer) IsRunning

func (_mock *MockContainer) IsRunning() bool

IsRunning provides a mock function for the type MockContainer

func (*MockContainer) IsStale

func (_mock *MockContainer) IsStale() bool

IsStale provides a mock function for the type MockContainer

func (*MockContainer) IsWatchtower

func (_mock *MockContainer) IsWatchtower() bool

IsWatchtower provides a mock function for the type MockContainer

func (_mock *MockContainer) Links() []string

Links provides a mock function for the type MockContainer

func (*MockContainer) Name

func (_mock *MockContainer) Name() string

Name provides a mock function for the type MockContainer

func (*MockContainer) PostUpdateTimeout

func (_mock *MockContainer) PostUpdateTimeout() int

PostUpdateTimeout provides a mock function for the type MockContainer

func (*MockContainer) PreUpdateTimeout

func (_mock *MockContainer) PreUpdateTimeout() int

PreUpdateTimeout provides a mock function for the type MockContainer

func (*MockContainer) Scope

func (_mock *MockContainer) Scope() (string, bool)

Scope provides a mock function for the type MockContainer

func (*MockContainer) SetLinkedToRestarting

func (_mock *MockContainer) SetLinkedToRestarting(status bool)

SetLinkedToRestarting provides a mock function for the type MockContainer

func (*MockContainer) SetStale

func (_mock *MockContainer) SetStale(status bool)

SetStale provides a mock function for the type MockContainer

func (*MockContainer) StopSignal

func (_mock *MockContainer) StopSignal() string

StopSignal provides a mock function for the type MockContainer

func (*MockContainer) StopTimeout

func (_mock *MockContainer) StopTimeout() *int

StopTimeout provides a mock function for the type MockContainer

func (*MockContainer) ToRestart

func (_mock *MockContainer) ToRestart() bool

ToRestart provides a mock function for the type MockContainer

func (*MockContainer) VerifyConfiguration

func (_mock *MockContainer) VerifyConfiguration() error

VerifyConfiguration provides a mock function for the type MockContainer

type MockContainerReport

type MockContainerReport struct {
	mock.Mock
}

MockContainerReport is an autogenerated mock type for the ContainerReport type

func NewMockContainerReport

func NewMockContainerReport(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockContainerReport

NewMockContainerReport creates a new instance of MockContainerReport. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockContainerReport) CurrentImageID

func (_mock *MockContainerReport) CurrentImageID() types.ImageID

CurrentImageID provides a mock function for the type MockContainerReport

func (*MockContainerReport) EXPECT

func (*MockContainerReport) Error

func (_mock *MockContainerReport) Error() string

Error provides a mock function for the type MockContainerReport

func (*MockContainerReport) ID

ID provides a mock function for the type MockContainerReport

func (*MockContainerReport) ImageName

func (_mock *MockContainerReport) ImageName() string

ImageName provides a mock function for the type MockContainerReport

func (*MockContainerReport) IsMonitorOnly

func (_mock *MockContainerReport) IsMonitorOnly() bool

IsMonitorOnly provides a mock function for the type MockContainerReport

func (*MockContainerReport) LatestImageID

func (_mock *MockContainerReport) LatestImageID() types.ImageID

LatestImageID provides a mock function for the type MockContainerReport

func (*MockContainerReport) Name

func (_mock *MockContainerReport) Name() string

Name provides a mock function for the type MockContainerReport

func (*MockContainerReport) NewContainerID

func (_mock *MockContainerReport) NewContainerID() types.ContainerID

NewContainerID provides a mock function for the type MockContainerReport

func (*MockContainerReport) State

func (_mock *MockContainerReport) State() string

State provides a mock function for the type MockContainerReport

type MockContainerReport_CurrentImageID_Call

type MockContainerReport_CurrentImageID_Call struct {
	*mock.Call
}

MockContainerReport_CurrentImageID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurrentImageID'

func (*MockContainerReport_CurrentImageID_Call) Return

func (*MockContainerReport_CurrentImageID_Call) Run

func (*MockContainerReport_CurrentImageID_Call) RunAndReturn

type MockContainerReport_Error_Call

type MockContainerReport_Error_Call struct {
	*mock.Call
}

MockContainerReport_Error_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Error'

func (*MockContainerReport_Error_Call) Return

func (*MockContainerReport_Error_Call) Run

func (*MockContainerReport_Error_Call) RunAndReturn

type MockContainerReport_Expecter

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

func (*MockContainerReport_Expecter) CurrentImageID

CurrentImageID is a helper method to define mock.On call

func (*MockContainerReport_Expecter) Error

Error is a helper method to define mock.On call

func (*MockContainerReport_Expecter) ID

ID is a helper method to define mock.On call

func (*MockContainerReport_Expecter) ImageName

ImageName is a helper method to define mock.On call

func (*MockContainerReport_Expecter) IsMonitorOnly

IsMonitorOnly is a helper method to define mock.On call

func (*MockContainerReport_Expecter) LatestImageID

LatestImageID is a helper method to define mock.On call

func (*MockContainerReport_Expecter) Name

Name is a helper method to define mock.On call

func (*MockContainerReport_Expecter) NewContainerID

NewContainerID is a helper method to define mock.On call

func (*MockContainerReport_Expecter) State

State is a helper method to define mock.On call

type MockContainerReport_ID_Call

type MockContainerReport_ID_Call struct {
	*mock.Call
}

MockContainerReport_ID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ID'

func (*MockContainerReport_ID_Call) Return

func (*MockContainerReport_ID_Call) Run

func (*MockContainerReport_ID_Call) RunAndReturn

type MockContainerReport_ImageName_Call

type MockContainerReport_ImageName_Call struct {
	*mock.Call
}

MockContainerReport_ImageName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ImageName'

func (*MockContainerReport_ImageName_Call) Return

func (*MockContainerReport_ImageName_Call) Run

func (*MockContainerReport_ImageName_Call) RunAndReturn

type MockContainerReport_IsMonitorOnly_Call

type MockContainerReport_IsMonitorOnly_Call struct {
	*mock.Call
}

MockContainerReport_IsMonitorOnly_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsMonitorOnly'

func (*MockContainerReport_IsMonitorOnly_Call) Return

func (*MockContainerReport_IsMonitorOnly_Call) Run

func (*MockContainerReport_IsMonitorOnly_Call) RunAndReturn

type MockContainerReport_LatestImageID_Call

type MockContainerReport_LatestImageID_Call struct {
	*mock.Call
}

MockContainerReport_LatestImageID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestImageID'

func (*MockContainerReport_LatestImageID_Call) Return

func (*MockContainerReport_LatestImageID_Call) Run

func (*MockContainerReport_LatestImageID_Call) RunAndReturn

type MockContainerReport_Name_Call

type MockContainerReport_Name_Call struct {
	*mock.Call
}

MockContainerReport_Name_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Name'

func (*MockContainerReport_Name_Call) Return

func (*MockContainerReport_Name_Call) Run

func (*MockContainerReport_Name_Call) RunAndReturn

type MockContainerReport_NewContainerID_Call

type MockContainerReport_NewContainerID_Call struct {
	*mock.Call
}

MockContainerReport_NewContainerID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewContainerID'

func (*MockContainerReport_NewContainerID_Call) Return

func (*MockContainerReport_NewContainerID_Call) Run

func (*MockContainerReport_NewContainerID_Call) RunAndReturn

type MockContainerReport_State_Call

type MockContainerReport_State_Call struct {
	*mock.Call
}

MockContainerReport_State_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'State'

func (*MockContainerReport_State_Call) Return

func (*MockContainerReport_State_Call) Run

func (*MockContainerReport_State_Call) RunAndReturn

type MockContainer_ContainerInfo_Call

type MockContainer_ContainerInfo_Call struct {
	*mock.Call
}

MockContainer_ContainerInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerInfo'

func (*MockContainer_ContainerInfo_Call) Return

func (*MockContainer_ContainerInfo_Call) Run

func (*MockContainer_ContainerInfo_Call) RunAndReturn

type MockContainer_Enabled_Call

type MockContainer_Enabled_Call struct {
	*mock.Call
}

MockContainer_Enabled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Enabled'

func (*MockContainer_Enabled_Call) Return

func (*MockContainer_Enabled_Call) Run

func (*MockContainer_Enabled_Call) RunAndReturn

func (_c *MockContainer_Enabled_Call) RunAndReturn(run func() (bool, bool)) *MockContainer_Enabled_Call

type MockContainer_Expecter

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

func (*MockContainer_Expecter) ContainerInfo

ContainerInfo is a helper method to define mock.On call

func (*MockContainer_Expecter) Enabled

Enabled is a helper method to define mock.On call

func (*MockContainer_Expecter) GetContainerChain

GetContainerChain is a helper method to define mock.On call

func (*MockContainer_Expecter) GetCreateConfig

GetCreateConfig is a helper method to define mock.On call

func (*MockContainer_Expecter) GetCreateHostConfig

GetCreateHostConfig is a helper method to define mock.On call

func (*MockContainer_Expecter) GetLifecycleGID

GetLifecycleGID is a helper method to define mock.On call

func (*MockContainer_Expecter) GetLifecyclePostCheckCommand

func (_e *MockContainer_Expecter) GetLifecyclePostCheckCommand() *MockContainer_GetLifecyclePostCheckCommand_Call

GetLifecyclePostCheckCommand is a helper method to define mock.On call

func (*MockContainer_Expecter) GetLifecyclePostUpdateCommand

func (_e *MockContainer_Expecter) GetLifecyclePostUpdateCommand() *MockContainer_GetLifecyclePostUpdateCommand_Call

GetLifecyclePostUpdateCommand is a helper method to define mock.On call

func (*MockContainer_Expecter) GetLifecyclePreCheckCommand

GetLifecyclePreCheckCommand is a helper method to define mock.On call

func (*MockContainer_Expecter) GetLifecyclePreUpdateCommand

func (_e *MockContainer_Expecter) GetLifecyclePreUpdateCommand() *MockContainer_GetLifecyclePreUpdateCommand_Call

GetLifecyclePreUpdateCommand is a helper method to define mock.On call

func (*MockContainer_Expecter) GetLifecycleUID

GetLifecycleUID is a helper method to define mock.On call

func (*MockContainer_Expecter) HasImageInfo

HasImageInfo is a helper method to define mock.On call

func (*MockContainer_Expecter) ID

ID is a helper method to define mock.On call

func (*MockContainer_Expecter) ImageID

ImageID is a helper method to define mock.On call

func (*MockContainer_Expecter) ImageInfo

ImageInfo is a helper method to define mock.On call

func (*MockContainer_Expecter) ImageName

ImageName is a helper method to define mock.On call

func (*MockContainer_Expecter) IsLinkedToRestarting

IsLinkedToRestarting is a helper method to define mock.On call

func (*MockContainer_Expecter) IsMonitorOnly

func (_e *MockContainer_Expecter) IsMonitorOnly(params interface{}) *MockContainer_IsMonitorOnly_Call

IsMonitorOnly is a helper method to define mock.On call

  • params types.UpdateParams

func (*MockContainer_Expecter) IsNoPull

func (_e *MockContainer_Expecter) IsNoPull(params interface{}) *MockContainer_IsNoPull_Call

IsNoPull is a helper method to define mock.On call

  • params types.UpdateParams

func (*MockContainer_Expecter) IsRestarting

IsRestarting is a helper method to define mock.On call

func (*MockContainer_Expecter) IsRunning

IsRunning is a helper method to define mock.On call

func (*MockContainer_Expecter) IsStale

IsStale is a helper method to define mock.On call

func (*MockContainer_Expecter) IsWatchtower

IsWatchtower is a helper method to define mock.On call

Links is a helper method to define mock.On call

func (*MockContainer_Expecter) Name

Name is a helper method to define mock.On call

func (*MockContainer_Expecter) PostUpdateTimeout

PostUpdateTimeout is a helper method to define mock.On call

func (*MockContainer_Expecter) PreUpdateTimeout

PreUpdateTimeout is a helper method to define mock.On call

func (*MockContainer_Expecter) Scope

Scope is a helper method to define mock.On call

func (*MockContainer_Expecter) SetLinkedToRestarting

func (_e *MockContainer_Expecter) SetLinkedToRestarting(status interface{}) *MockContainer_SetLinkedToRestarting_Call

SetLinkedToRestarting is a helper method to define mock.On call

  • status bool

func (*MockContainer_Expecter) SetStale

func (_e *MockContainer_Expecter) SetStale(status interface{}) *MockContainer_SetStale_Call

SetStale is a helper method to define mock.On call

  • status bool

func (*MockContainer_Expecter) StopSignal

StopSignal is a helper method to define mock.On call

func (*MockContainer_Expecter) StopTimeout

StopTimeout is a helper method to define mock.On call

func (*MockContainer_Expecter) ToRestart

ToRestart is a helper method to define mock.On call

func (*MockContainer_Expecter) VerifyConfiguration

VerifyConfiguration is a helper method to define mock.On call

type MockContainer_GetContainerChain_Call

type MockContainer_GetContainerChain_Call struct {
	*mock.Call
}

MockContainer_GetContainerChain_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetContainerChain'

func (*MockContainer_GetContainerChain_Call) Return

func (*MockContainer_GetContainerChain_Call) Run

func (*MockContainer_GetContainerChain_Call) RunAndReturn

type MockContainer_GetCreateConfig_Call

type MockContainer_GetCreateConfig_Call struct {
	*mock.Call
}

MockContainer_GetCreateConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCreateConfig'

func (*MockContainer_GetCreateConfig_Call) Return

func (*MockContainer_GetCreateConfig_Call) Run

func (*MockContainer_GetCreateConfig_Call) RunAndReturn

type MockContainer_GetCreateHostConfig_Call

type MockContainer_GetCreateHostConfig_Call struct {
	*mock.Call
}

MockContainer_GetCreateHostConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCreateHostConfig'

func (*MockContainer_GetCreateHostConfig_Call) Return

func (*MockContainer_GetCreateHostConfig_Call) Run

func (*MockContainer_GetCreateHostConfig_Call) RunAndReturn

type MockContainer_GetLifecycleGID_Call

type MockContainer_GetLifecycleGID_Call struct {
	*mock.Call
}

MockContainer_GetLifecycleGID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLifecycleGID'

func (*MockContainer_GetLifecycleGID_Call) Return

func (*MockContainer_GetLifecycleGID_Call) Run

func (*MockContainer_GetLifecycleGID_Call) RunAndReturn

type MockContainer_GetLifecyclePostCheckCommand_Call

type MockContainer_GetLifecyclePostCheckCommand_Call struct {
	*mock.Call
}

MockContainer_GetLifecyclePostCheckCommand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLifecyclePostCheckCommand'

func (*MockContainer_GetLifecyclePostCheckCommand_Call) Return

func (*MockContainer_GetLifecyclePostCheckCommand_Call) Run

func (*MockContainer_GetLifecyclePostCheckCommand_Call) RunAndReturn

type MockContainer_GetLifecyclePostUpdateCommand_Call

type MockContainer_GetLifecyclePostUpdateCommand_Call struct {
	*mock.Call
}

MockContainer_GetLifecyclePostUpdateCommand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLifecyclePostUpdateCommand'

func (*MockContainer_GetLifecyclePostUpdateCommand_Call) Return

func (*MockContainer_GetLifecyclePostUpdateCommand_Call) Run

func (*MockContainer_GetLifecyclePostUpdateCommand_Call) RunAndReturn

type MockContainer_GetLifecyclePreCheckCommand_Call

type MockContainer_GetLifecyclePreCheckCommand_Call struct {
	*mock.Call
}

MockContainer_GetLifecyclePreCheckCommand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLifecyclePreCheckCommand'

func (*MockContainer_GetLifecyclePreCheckCommand_Call) Return

func (*MockContainer_GetLifecyclePreCheckCommand_Call) Run

func (*MockContainer_GetLifecyclePreCheckCommand_Call) RunAndReturn

type MockContainer_GetLifecyclePreUpdateCommand_Call

type MockContainer_GetLifecyclePreUpdateCommand_Call struct {
	*mock.Call
}

MockContainer_GetLifecyclePreUpdateCommand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLifecyclePreUpdateCommand'

func (*MockContainer_GetLifecyclePreUpdateCommand_Call) Return

func (*MockContainer_GetLifecyclePreUpdateCommand_Call) Run

func (*MockContainer_GetLifecyclePreUpdateCommand_Call) RunAndReturn

type MockContainer_GetLifecycleUID_Call

type MockContainer_GetLifecycleUID_Call struct {
	*mock.Call
}

MockContainer_GetLifecycleUID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLifecycleUID'

func (*MockContainer_GetLifecycleUID_Call) Return

func (*MockContainer_GetLifecycleUID_Call) Run

func (*MockContainer_GetLifecycleUID_Call) RunAndReturn

type MockContainer_HasImageInfo_Call

type MockContainer_HasImageInfo_Call struct {
	*mock.Call
}

MockContainer_HasImageInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasImageInfo'

func (*MockContainer_HasImageInfo_Call) Return

func (*MockContainer_HasImageInfo_Call) Run

func (*MockContainer_HasImageInfo_Call) RunAndReturn

type MockContainer_ID_Call

type MockContainer_ID_Call struct {
	*mock.Call
}

MockContainer_ID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ID'

func (*MockContainer_ID_Call) Return

func (*MockContainer_ID_Call) Run

func (_c *MockContainer_ID_Call) Run(run func()) *MockContainer_ID_Call

func (*MockContainer_ID_Call) RunAndReturn

func (_c *MockContainer_ID_Call) RunAndReturn(run func() types.ContainerID) *MockContainer_ID_Call

type MockContainer_ImageID_Call

type MockContainer_ImageID_Call struct {
	*mock.Call
}

MockContainer_ImageID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ImageID'

func (*MockContainer_ImageID_Call) Return

func (*MockContainer_ImageID_Call) Run

func (*MockContainer_ImageID_Call) RunAndReturn

type MockContainer_ImageInfo_Call

type MockContainer_ImageInfo_Call struct {
	*mock.Call
}

MockContainer_ImageInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ImageInfo'

func (*MockContainer_ImageInfo_Call) Return

func (*MockContainer_ImageInfo_Call) Run

func (*MockContainer_ImageInfo_Call) RunAndReturn

type MockContainer_ImageName_Call

type MockContainer_ImageName_Call struct {
	*mock.Call
}

MockContainer_ImageName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ImageName'

func (*MockContainer_ImageName_Call) Return

func (*MockContainer_ImageName_Call) Run

func (*MockContainer_ImageName_Call) RunAndReturn

type MockContainer_IsLinkedToRestarting_Call

type MockContainer_IsLinkedToRestarting_Call struct {
	*mock.Call
}

MockContainer_IsLinkedToRestarting_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsLinkedToRestarting'

func (*MockContainer_IsLinkedToRestarting_Call) Return

func (*MockContainer_IsLinkedToRestarting_Call) Run

func (*MockContainer_IsLinkedToRestarting_Call) RunAndReturn

type MockContainer_IsMonitorOnly_Call

type MockContainer_IsMonitorOnly_Call struct {
	*mock.Call
}

MockContainer_IsMonitorOnly_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsMonitorOnly'

func (*MockContainer_IsMonitorOnly_Call) Return

func (*MockContainer_IsMonitorOnly_Call) Run

func (*MockContainer_IsMonitorOnly_Call) RunAndReturn

type MockContainer_IsNoPull_Call

type MockContainer_IsNoPull_Call struct {
	*mock.Call
}

MockContainer_IsNoPull_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsNoPull'

func (*MockContainer_IsNoPull_Call) Return

func (*MockContainer_IsNoPull_Call) Run

func (*MockContainer_IsNoPull_Call) RunAndReturn

type MockContainer_IsRestarting_Call

type MockContainer_IsRestarting_Call struct {
	*mock.Call
}

MockContainer_IsRestarting_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsRestarting'

func (*MockContainer_IsRestarting_Call) Return

func (*MockContainer_IsRestarting_Call) Run

func (*MockContainer_IsRestarting_Call) RunAndReturn

type MockContainer_IsRunning_Call

type MockContainer_IsRunning_Call struct {
	*mock.Call
}

MockContainer_IsRunning_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsRunning'

func (*MockContainer_IsRunning_Call) Return

func (*MockContainer_IsRunning_Call) Run

func (*MockContainer_IsRunning_Call) RunAndReturn

func (_c *MockContainer_IsRunning_Call) RunAndReturn(run func() bool) *MockContainer_IsRunning_Call

type MockContainer_IsStale_Call

type MockContainer_IsStale_Call struct {
	*mock.Call
}

MockContainer_IsStale_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsStale'

func (*MockContainer_IsStale_Call) Return

func (*MockContainer_IsStale_Call) Run

func (*MockContainer_IsStale_Call) RunAndReturn

func (_c *MockContainer_IsStale_Call) RunAndReturn(run func() bool) *MockContainer_IsStale_Call

type MockContainer_IsWatchtower_Call

type MockContainer_IsWatchtower_Call struct {
	*mock.Call
}

MockContainer_IsWatchtower_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsWatchtower'

func (*MockContainer_IsWatchtower_Call) Return

func (*MockContainer_IsWatchtower_Call) Run

func (*MockContainer_IsWatchtower_Call) RunAndReturn

type MockContainer_Links_Call struct {
	*mock.Call
}

MockContainer_Links_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Links'

func (_c *MockContainer_Links_Call) RunAndReturn(run func() []string) *MockContainer_Links_Call

type MockContainer_Name_Call

type MockContainer_Name_Call struct {
	*mock.Call
}

MockContainer_Name_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Name'

func (*MockContainer_Name_Call) Return

func (*MockContainer_Name_Call) Run

func (_c *MockContainer_Name_Call) Run(run func()) *MockContainer_Name_Call

func (*MockContainer_Name_Call) RunAndReturn

func (_c *MockContainer_Name_Call) RunAndReturn(run func() string) *MockContainer_Name_Call

type MockContainer_PostUpdateTimeout_Call

type MockContainer_PostUpdateTimeout_Call struct {
	*mock.Call
}

MockContainer_PostUpdateTimeout_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PostUpdateTimeout'

func (*MockContainer_PostUpdateTimeout_Call) Return

func (*MockContainer_PostUpdateTimeout_Call) Run

func (*MockContainer_PostUpdateTimeout_Call) RunAndReturn

type MockContainer_PreUpdateTimeout_Call

type MockContainer_PreUpdateTimeout_Call struct {
	*mock.Call
}

MockContainer_PreUpdateTimeout_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PreUpdateTimeout'

func (*MockContainer_PreUpdateTimeout_Call) Return

func (*MockContainer_PreUpdateTimeout_Call) Run

func (*MockContainer_PreUpdateTimeout_Call) RunAndReturn

type MockContainer_Scope_Call

type MockContainer_Scope_Call struct {
	*mock.Call
}

MockContainer_Scope_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Scope'

func (*MockContainer_Scope_Call) Return

func (*MockContainer_Scope_Call) Run

func (*MockContainer_Scope_Call) RunAndReturn

func (_c *MockContainer_Scope_Call) RunAndReturn(run func() (string, bool)) *MockContainer_Scope_Call

type MockContainer_SetLinkedToRestarting_Call

type MockContainer_SetLinkedToRestarting_Call struct {
	*mock.Call
}

MockContainer_SetLinkedToRestarting_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetLinkedToRestarting'

func (*MockContainer_SetLinkedToRestarting_Call) Return

func (*MockContainer_SetLinkedToRestarting_Call) Run

func (*MockContainer_SetLinkedToRestarting_Call) RunAndReturn

type MockContainer_SetStale_Call

type MockContainer_SetStale_Call struct {
	*mock.Call
}

MockContainer_SetStale_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetStale'

func (*MockContainer_SetStale_Call) Return

func (*MockContainer_SetStale_Call) Run

func (*MockContainer_SetStale_Call) RunAndReturn

func (_c *MockContainer_SetStale_Call) RunAndReturn(run func(status bool)) *MockContainer_SetStale_Call

type MockContainer_StopSignal_Call

type MockContainer_StopSignal_Call struct {
	*mock.Call
}

MockContainer_StopSignal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopSignal'

func (*MockContainer_StopSignal_Call) Return

func (*MockContainer_StopSignal_Call) Run

func (*MockContainer_StopSignal_Call) RunAndReturn

type MockContainer_StopTimeout_Call

type MockContainer_StopTimeout_Call struct {
	*mock.Call
}

MockContainer_StopTimeout_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopTimeout'

func (*MockContainer_StopTimeout_Call) Return

func (*MockContainer_StopTimeout_Call) Run

func (*MockContainer_StopTimeout_Call) RunAndReturn

func (_c *MockContainer_StopTimeout_Call) RunAndReturn(run func() *int) *MockContainer_StopTimeout_Call

type MockContainer_ToRestart_Call

type MockContainer_ToRestart_Call struct {
	*mock.Call
}

MockContainer_ToRestart_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ToRestart'

func (*MockContainer_ToRestart_Call) Return

func (*MockContainer_ToRestart_Call) Run

func (*MockContainer_ToRestart_Call) RunAndReturn

func (_c *MockContainer_ToRestart_Call) RunAndReturn(run func() bool) *MockContainer_ToRestart_Call

type MockContainer_VerifyConfiguration_Call

type MockContainer_VerifyConfiguration_Call struct {
	*mock.Call
}

MockContainer_VerifyConfiguration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VerifyConfiguration'

func (*MockContainer_VerifyConfiguration_Call) Return

func (*MockContainer_VerifyConfiguration_Call) Run

func (*MockContainer_VerifyConfiguration_Call) RunAndReturn

type MockConvertibleNotifier

type MockConvertibleNotifier struct {
	mock.Mock
}

MockConvertibleNotifier is an autogenerated mock type for the ConvertibleNotifier type

func NewMockConvertibleNotifier

func NewMockConvertibleNotifier(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockConvertibleNotifier

NewMockConvertibleNotifier creates a new instance of MockConvertibleNotifier. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockConvertibleNotifier) EXPECT

func (*MockConvertibleNotifier) GetURL

func (_mock *MockConvertibleNotifier) GetURL(c *cobra.Command) (string, error)

GetURL provides a mock function for the type MockConvertibleNotifier

type MockConvertibleNotifier_Expecter

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

func (*MockConvertibleNotifier_Expecter) GetURL

GetURL is a helper method to define mock.On call

  • c *cobra.Command

type MockConvertibleNotifier_GetURL_Call

type MockConvertibleNotifier_GetURL_Call struct {
	*mock.Call
}

MockConvertibleNotifier_GetURL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetURL'

func (*MockConvertibleNotifier_GetURL_Call) Return

func (*MockConvertibleNotifier_GetURL_Call) Run

func (*MockConvertibleNotifier_GetURL_Call) RunAndReturn

type MockDelayNotifier

type MockDelayNotifier struct {
	mock.Mock
}

MockDelayNotifier is an autogenerated mock type for the DelayNotifier type

func NewMockDelayNotifier

func NewMockDelayNotifier(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockDelayNotifier

NewMockDelayNotifier creates a new instance of MockDelayNotifier. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockDelayNotifier) EXPECT

func (*MockDelayNotifier) GetDelay

func (_mock *MockDelayNotifier) GetDelay() time.Duration

GetDelay provides a mock function for the type MockDelayNotifier

type MockDelayNotifier_Expecter

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

func (*MockDelayNotifier_Expecter) GetDelay

GetDelay is a helper method to define mock.On call

type MockDelayNotifier_GetDelay_Call

type MockDelayNotifier_GetDelay_Call struct {
	*mock.Call
}

MockDelayNotifier_GetDelay_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDelay'

func (*MockDelayNotifier_GetDelay_Call) Return

func (*MockDelayNotifier_GetDelay_Call) Run

func (*MockDelayNotifier_GetDelay_Call) RunAndReturn

type MockFilter

type MockFilter struct {
	mock.Mock
}

MockFilter is an autogenerated mock type for the Filter type

func NewMockFilter

func NewMockFilter(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockFilter

NewMockFilter creates a new instance of MockFilter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockFilter) EXPECT

func (_m *MockFilter) EXPECT() *MockFilter_Expecter

func (*MockFilter) Execute

func (_m *MockFilter) Execute(_a0 types.FilterableContainer) bool

Execute provides a mock function with given fields: _a0

type MockFilter_Execute_Call

type MockFilter_Execute_Call struct {
	*mock.Call
}

MockFilter_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'

func (*MockFilter_Execute_Call) Return

func (*MockFilter_Execute_Call) Run

func (*MockFilter_Execute_Call) RunAndReturn

type MockFilter_Expecter

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

func (*MockFilter_Expecter) Execute

func (_e *MockFilter_Expecter) Execute(_a0 interface{}) *MockFilter_Execute_Call

Execute is a helper method to define mock.On call

  • _a0 types.FilterableContainer

type MockFilterableContainer

type MockFilterableContainer struct {
	mock.Mock
}

MockFilterableContainer is an autogenerated mock type for the FilterableContainer type

func NewMockFilterableContainer

func NewMockFilterableContainer(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockFilterableContainer

NewMockFilterableContainer creates a new instance of MockFilterableContainer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockFilterableContainer) EXPECT

func (*MockFilterableContainer) Enabled

func (_mock *MockFilterableContainer) Enabled() (bool, bool)

Enabled provides a mock function for the type MockFilterableContainer

func (*MockFilterableContainer) ImageName

func (_mock *MockFilterableContainer) ImageName() string

ImageName provides a mock function for the type MockFilterableContainer

func (*MockFilterableContainer) IsWatchtower

func (_mock *MockFilterableContainer) IsWatchtower() bool

IsWatchtower provides a mock function for the type MockFilterableContainer

func (*MockFilterableContainer) Name

func (_mock *MockFilterableContainer) Name() string

Name provides a mock function for the type MockFilterableContainer

func (*MockFilterableContainer) Scope

func (_mock *MockFilterableContainer) Scope() (string, bool)

Scope provides a mock function for the type MockFilterableContainer

type MockFilterableContainer_Enabled_Call

type MockFilterableContainer_Enabled_Call struct {
	*mock.Call
}

MockFilterableContainer_Enabled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Enabled'

func (*MockFilterableContainer_Enabled_Call) Return

func (*MockFilterableContainer_Enabled_Call) Run

func (*MockFilterableContainer_Enabled_Call) RunAndReturn

type MockFilterableContainer_Expecter

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

func (*MockFilterableContainer_Expecter) Enabled

Enabled is a helper method to define mock.On call

func (*MockFilterableContainer_Expecter) ImageName

ImageName is a helper method to define mock.On call

func (*MockFilterableContainer_Expecter) IsWatchtower

IsWatchtower is a helper method to define mock.On call

func (*MockFilterableContainer_Expecter) Name

Name is a helper method to define mock.On call

func (*MockFilterableContainer_Expecter) Scope

Scope is a helper method to define mock.On call

type MockFilterableContainer_ImageName_Call

type MockFilterableContainer_ImageName_Call struct {
	*mock.Call
}

MockFilterableContainer_ImageName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ImageName'

func (*MockFilterableContainer_ImageName_Call) Return

func (*MockFilterableContainer_ImageName_Call) Run

func (*MockFilterableContainer_ImageName_Call) RunAndReturn

type MockFilterableContainer_IsWatchtower_Call

type MockFilterableContainer_IsWatchtower_Call struct {
	*mock.Call
}

MockFilterableContainer_IsWatchtower_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsWatchtower'

func (*MockFilterableContainer_IsWatchtower_Call) Return

func (*MockFilterableContainer_IsWatchtower_Call) Run

func (*MockFilterableContainer_IsWatchtower_Call) RunAndReturn

type MockFilterableContainer_Name_Call

type MockFilterableContainer_Name_Call struct {
	*mock.Call
}

MockFilterableContainer_Name_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Name'

func (*MockFilterableContainer_Name_Call) Return

func (*MockFilterableContainer_Name_Call) Run

func (*MockFilterableContainer_Name_Call) RunAndReturn

type MockFilterableContainer_Scope_Call

type MockFilterableContainer_Scope_Call struct {
	*mock.Call
}

MockFilterableContainer_Scope_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Scope'

func (*MockFilterableContainer_Scope_Call) Return

func (*MockFilterableContainer_Scope_Call) Run

func (*MockFilterableContainer_Scope_Call) RunAndReturn

type MockImageInspector

type MockImageInspector struct {
	mock.Mock
}

MockImageInspector is an autogenerated mock type for the ImageInspector type

func NewMockImageInspector

func NewMockImageInspector(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockImageInspector

NewMockImageInspector creates a new instance of MockImageInspector. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockImageInspector) EXPECT

func (*MockImageInspector) ImageInspectWithRaw

func (_mock *MockImageInspector) ImageInspectWithRaw(ctx context.Context, image1 string) (image.InspectResponse, []byte, error)

ImageInspectWithRaw provides a mock function for the type MockImageInspector

type MockImageInspector_Expecter

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

func (*MockImageInspector_Expecter) ImageInspectWithRaw

func (_e *MockImageInspector_Expecter) ImageInspectWithRaw(ctx interface{}, image1 interface{}) *MockImageInspector_ImageInspectWithRaw_Call

ImageInspectWithRaw is a helper method to define mock.On call

  • ctx context.Context
  • image1 string

type MockImageInspector_ImageInspectWithRaw_Call

type MockImageInspector_ImageInspectWithRaw_Call struct {
	*mock.Call
}

MockImageInspector_ImageInspectWithRaw_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ImageInspectWithRaw'

func (*MockImageInspector_ImageInspectWithRaw_Call) Return

func (*MockImageInspector_ImageInspectWithRaw_Call) Run

func (*MockImageInspector_ImageInspectWithRaw_Call) RunAndReturn

type MockNotifier

type MockNotifier struct {
	mock.Mock
}

MockNotifier is an autogenerated mock type for the Notifier type

func NewMockNotifier

func NewMockNotifier(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockNotifier

NewMockNotifier creates a new instance of MockNotifier. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockNotifier) AddLogHook

func (_mock *MockNotifier) AddLogHook()

AddLogHook provides a mock function for the type MockNotifier

func (*MockNotifier) Close

func (_mock *MockNotifier) Close()

Close provides a mock function for the type MockNotifier

func (*MockNotifier) EXPECT

func (_m *MockNotifier) EXPECT() *MockNotifier_Expecter

func (*MockNotifier) GetEntries

func (_mock *MockNotifier) GetEntries() []*logrus.Entry

GetEntries provides a mock function for the type MockNotifier

func (*MockNotifier) GetNames

func (_mock *MockNotifier) GetNames() []string

GetNames provides a mock function for the type MockNotifier

func (*MockNotifier) GetURLs

func (_mock *MockNotifier) GetURLs() []string

GetURLs provides a mock function for the type MockNotifier

func (*MockNotifier) SendFilteredEntries

func (_mock *MockNotifier) SendFilteredEntries(entries []*logrus.Entry, report types.Report)

SendFilteredEntries provides a mock function for the type MockNotifier

func (*MockNotifier) SendNotification

func (_mock *MockNotifier) SendNotification(reportType types.Report)

SendNotification provides a mock function for the type MockNotifier

func (*MockNotifier) ShouldSendNotification

func (_mock *MockNotifier) ShouldSendNotification(report types.Report) bool

ShouldSendNotification provides a mock function for the type MockNotifier

func (*MockNotifier) StartNotification

func (_mock *MockNotifier) StartNotification(suppressSummary bool)

StartNotification provides a mock function for the type MockNotifier

type MockNotifier_AddLogHook_Call

type MockNotifier_AddLogHook_Call struct {
	*mock.Call
}

MockNotifier_AddLogHook_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddLogHook'

func (*MockNotifier_AddLogHook_Call) Return

func (*MockNotifier_AddLogHook_Call) Run

func (*MockNotifier_AddLogHook_Call) RunAndReturn

func (_c *MockNotifier_AddLogHook_Call) RunAndReturn(run func()) *MockNotifier_AddLogHook_Call

type MockNotifier_Close_Call

type MockNotifier_Close_Call struct {
	*mock.Call
}

MockNotifier_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'

func (*MockNotifier_Close_Call) Return

func (*MockNotifier_Close_Call) Run

func (_c *MockNotifier_Close_Call) Run(run func()) *MockNotifier_Close_Call

func (*MockNotifier_Close_Call) RunAndReturn

func (_c *MockNotifier_Close_Call) RunAndReturn(run func()) *MockNotifier_Close_Call

type MockNotifier_Expecter

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

func (*MockNotifier_Expecter) AddLogHook

AddLogHook is a helper method to define mock.On call

func (*MockNotifier_Expecter) Close

Close is a helper method to define mock.On call

func (*MockNotifier_Expecter) GetEntries

GetEntries is a helper method to define mock.On call

func (*MockNotifier_Expecter) GetNames

GetNames is a helper method to define mock.On call

func (*MockNotifier_Expecter) GetURLs

GetURLs is a helper method to define mock.On call

func (*MockNotifier_Expecter) SendFilteredEntries

func (_e *MockNotifier_Expecter) SendFilteredEntries(entries interface{}, report interface{}) *MockNotifier_SendFilteredEntries_Call

SendFilteredEntries is a helper method to define mock.On call

  • entries []*logrus.Entry
  • report types.Report

func (*MockNotifier_Expecter) SendNotification

func (_e *MockNotifier_Expecter) SendNotification(reportType interface{}) *MockNotifier_SendNotification_Call

SendNotification is a helper method to define mock.On call

  • reportType types.Report

func (*MockNotifier_Expecter) ShouldSendNotification

func (_e *MockNotifier_Expecter) ShouldSendNotification(report interface{}) *MockNotifier_ShouldSendNotification_Call

ShouldSendNotification is a helper method to define mock.On call

  • report types.Report

func (*MockNotifier_Expecter) StartNotification

func (_e *MockNotifier_Expecter) StartNotification(suppressSummary interface{}) *MockNotifier_StartNotification_Call

StartNotification is a helper method to define mock.On call

  • suppressSummary bool

type MockNotifier_GetEntries_Call

type MockNotifier_GetEntries_Call struct {
	*mock.Call
}

MockNotifier_GetEntries_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEntries'

func (*MockNotifier_GetEntries_Call) Return

func (*MockNotifier_GetEntries_Call) Run

func (*MockNotifier_GetEntries_Call) RunAndReturn

func (_c *MockNotifier_GetEntries_Call) RunAndReturn(run func() []*logrus.Entry) *MockNotifier_GetEntries_Call

type MockNotifier_GetNames_Call

type MockNotifier_GetNames_Call struct {
	*mock.Call
}

MockNotifier_GetNames_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNames'

func (*MockNotifier_GetNames_Call) Return

func (*MockNotifier_GetNames_Call) Run

func (*MockNotifier_GetNames_Call) RunAndReturn

func (_c *MockNotifier_GetNames_Call) RunAndReturn(run func() []string) *MockNotifier_GetNames_Call

type MockNotifier_GetURLs_Call

type MockNotifier_GetURLs_Call struct {
	*mock.Call
}

MockNotifier_GetURLs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetURLs'

func (*MockNotifier_GetURLs_Call) Return

func (*MockNotifier_GetURLs_Call) Run

func (*MockNotifier_GetURLs_Call) RunAndReturn

func (_c *MockNotifier_GetURLs_Call) RunAndReturn(run func() []string) *MockNotifier_GetURLs_Call

type MockNotifier_SendFilteredEntries_Call

type MockNotifier_SendFilteredEntries_Call struct {
	*mock.Call
}

MockNotifier_SendFilteredEntries_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendFilteredEntries'

func (*MockNotifier_SendFilteredEntries_Call) Return

func (*MockNotifier_SendFilteredEntries_Call) Run

func (*MockNotifier_SendFilteredEntries_Call) RunAndReturn

type MockNotifier_SendNotification_Call

type MockNotifier_SendNotification_Call struct {
	*mock.Call
}

MockNotifier_SendNotification_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendNotification'

func (*MockNotifier_SendNotification_Call) Return

func (*MockNotifier_SendNotification_Call) Run

func (*MockNotifier_SendNotification_Call) RunAndReturn

type MockNotifier_ShouldSendNotification_Call

type MockNotifier_ShouldSendNotification_Call struct {
	*mock.Call
}

MockNotifier_ShouldSendNotification_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShouldSendNotification'

func (*MockNotifier_ShouldSendNotification_Call) Return

func (*MockNotifier_ShouldSendNotification_Call) Run

func (*MockNotifier_ShouldSendNotification_Call) RunAndReturn

type MockNotifier_StartNotification_Call

type MockNotifier_StartNotification_Call struct {
	*mock.Call
}

MockNotifier_StartNotification_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartNotification'

func (*MockNotifier_StartNotification_Call) Return

func (*MockNotifier_StartNotification_Call) Run

func (*MockNotifier_StartNotification_Call) RunAndReturn

func (_c *MockNotifier_StartNotification_Call) RunAndReturn(run func(suppressSummary bool)) *MockNotifier_StartNotification_Call

type MockReport

type MockReport struct {
	mock.Mock
}

MockReport is an autogenerated mock type for the Report type

func NewMockReport

func NewMockReport(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockReport

NewMockReport creates a new instance of MockReport. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockReport) All

func (_mock *MockReport) All() []types.ContainerReport

All provides a mock function for the type MockReport

func (*MockReport) EXPECT

func (_m *MockReport) EXPECT() *MockReport_Expecter

func (*MockReport) Failed

func (_mock *MockReport) Failed() []types.ContainerReport

Failed provides a mock function for the type MockReport

func (*MockReport) Fresh

func (_mock *MockReport) Fresh() []types.ContainerReport

Fresh provides a mock function for the type MockReport

func (*MockReport) Restarted

func (_mock *MockReport) Restarted() []types.ContainerReport

Restarted provides a mock function for the type MockReport

func (*MockReport) Scanned

func (_mock *MockReport) Scanned() []types.ContainerReport

Scanned provides a mock function for the type MockReport

func (*MockReport) Skipped

func (_mock *MockReport) Skipped() []types.ContainerReport

Skipped provides a mock function for the type MockReport

func (*MockReport) Stale

func (_mock *MockReport) Stale() []types.ContainerReport

Stale provides a mock function for the type MockReport

func (*MockReport) Updated

func (_mock *MockReport) Updated() []types.ContainerReport

Updated provides a mock function for the type MockReport

type MockReport_All_Call

type MockReport_All_Call struct {
	*mock.Call
}

MockReport_All_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'All'

func (*MockReport_All_Call) Return

func (_c *MockReport_All_Call) Return(containerReports []types.ContainerReport) *MockReport_All_Call

func (*MockReport_All_Call) Run

func (_c *MockReport_All_Call) Run(run func()) *MockReport_All_Call

func (*MockReport_All_Call) RunAndReturn

func (_c *MockReport_All_Call) RunAndReturn(run func() []types.ContainerReport) *MockReport_All_Call

type MockReport_Expecter

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

func (*MockReport_Expecter) All

All is a helper method to define mock.On call

func (*MockReport_Expecter) Failed

Failed is a helper method to define mock.On call

func (*MockReport_Expecter) Fresh

Fresh is a helper method to define mock.On call

func (*MockReport_Expecter) Restarted

Restarted is a helper method to define mock.On call

func (*MockReport_Expecter) Scanned

Scanned is a helper method to define mock.On call

func (*MockReport_Expecter) Skipped

Skipped is a helper method to define mock.On call

func (*MockReport_Expecter) Stale

Stale is a helper method to define mock.On call

func (*MockReport_Expecter) Updated

Updated is a helper method to define mock.On call

type MockReport_Failed_Call

type MockReport_Failed_Call struct {
	*mock.Call
}

MockReport_Failed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Failed'

func (*MockReport_Failed_Call) Return

func (_c *MockReport_Failed_Call) Return(containerReports []types.ContainerReport) *MockReport_Failed_Call

func (*MockReport_Failed_Call) Run

func (_c *MockReport_Failed_Call) Run(run func()) *MockReport_Failed_Call

func (*MockReport_Failed_Call) RunAndReturn

func (_c *MockReport_Failed_Call) RunAndReturn(run func() []types.ContainerReport) *MockReport_Failed_Call

type MockReport_Fresh_Call

type MockReport_Fresh_Call struct {
	*mock.Call
}

MockReport_Fresh_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Fresh'

func (*MockReport_Fresh_Call) Return

func (_c *MockReport_Fresh_Call) Return(containerReports []types.ContainerReport) *MockReport_Fresh_Call

func (*MockReport_Fresh_Call) Run

func (_c *MockReport_Fresh_Call) Run(run func()) *MockReport_Fresh_Call

func (*MockReport_Fresh_Call) RunAndReturn

func (_c *MockReport_Fresh_Call) RunAndReturn(run func() []types.ContainerReport) *MockReport_Fresh_Call

type MockReport_Restarted_Call

type MockReport_Restarted_Call struct {
	*mock.Call
}

MockReport_Restarted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Restarted'

func (*MockReport_Restarted_Call) Return

func (*MockReport_Restarted_Call) Run

func (*MockReport_Restarted_Call) RunAndReturn

type MockReport_Scanned_Call

type MockReport_Scanned_Call struct {
	*mock.Call
}

MockReport_Scanned_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Scanned'

func (*MockReport_Scanned_Call) Return

func (_c *MockReport_Scanned_Call) Return(containerReports []types.ContainerReport) *MockReport_Scanned_Call

func (*MockReport_Scanned_Call) Run

func (_c *MockReport_Scanned_Call) Run(run func()) *MockReport_Scanned_Call

func (*MockReport_Scanned_Call) RunAndReturn

func (_c *MockReport_Scanned_Call) RunAndReturn(run func() []types.ContainerReport) *MockReport_Scanned_Call

type MockReport_Skipped_Call

type MockReport_Skipped_Call struct {
	*mock.Call
}

MockReport_Skipped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Skipped'

func (*MockReport_Skipped_Call) Return

func (_c *MockReport_Skipped_Call) Return(containerReports []types.ContainerReport) *MockReport_Skipped_Call

func (*MockReport_Skipped_Call) Run

func (_c *MockReport_Skipped_Call) Run(run func()) *MockReport_Skipped_Call

func (*MockReport_Skipped_Call) RunAndReturn

func (_c *MockReport_Skipped_Call) RunAndReturn(run func() []types.ContainerReport) *MockReport_Skipped_Call

type MockReport_Stale_Call

type MockReport_Stale_Call struct {
	*mock.Call
}

MockReport_Stale_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stale'

func (*MockReport_Stale_Call) Return

func (_c *MockReport_Stale_Call) Return(containerReports []types.ContainerReport) *MockReport_Stale_Call

func (*MockReport_Stale_Call) Run

func (_c *MockReport_Stale_Call) Run(run func()) *MockReport_Stale_Call

func (*MockReport_Stale_Call) RunAndReturn

func (_c *MockReport_Stale_Call) RunAndReturn(run func() []types.ContainerReport) *MockReport_Stale_Call

type MockReport_Updated_Call

type MockReport_Updated_Call struct {
	*mock.Call
}

MockReport_Updated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Updated'

func (*MockReport_Updated_Call) Return

func (_c *MockReport_Updated_Call) Return(containerReports []types.ContainerReport) *MockReport_Updated_Call

func (*MockReport_Updated_Call) Run

func (_c *MockReport_Updated_Call) Run(run func()) *MockReport_Updated_Call

func (*MockReport_Updated_Call) RunAndReturn

func (_c *MockReport_Updated_Call) RunAndReturn(run func() []types.ContainerReport) *MockReport_Updated_Call

Jump to

Keyboard shortcuts

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