Documentation
¶
Index ¶
- type MockContainer
- func (_mock *MockContainer) ContainerInfo() *container.InspectResponse
- func (_m *MockContainer) EXPECT() *MockContainer_Expecter
- func (_mock *MockContainer) Enabled() (bool, bool)
- func (_mock *MockContainer) GetContainerChain() (string, bool)
- func (_mock *MockContainer) GetCreateConfig() *container.Config
- func (_mock *MockContainer) GetCreateHostConfig() *container.HostConfig
- func (_mock *MockContainer) GetLifecycleGID() (int, bool)
- func (_mock *MockContainer) GetLifecyclePostCheckCommand() string
- func (_mock *MockContainer) GetLifecyclePostUpdateCommand() string
- func (_mock *MockContainer) GetLifecyclePreCheckCommand() string
- func (_mock *MockContainer) GetLifecyclePreUpdateCommand() string
- func (_mock *MockContainer) GetLifecycleUID() (int, bool)
- func (_mock *MockContainer) HasImageInfo() bool
- func (_mock *MockContainer) ID() types.ContainerID
- func (_mock *MockContainer) ImageID() types.ImageID
- func (_mock *MockContainer) ImageInfo() *image.InspectResponse
- func (_mock *MockContainer) ImageName() string
- func (_mock *MockContainer) IsLinkedToRestarting() bool
- func (_mock *MockContainer) IsMonitorOnly(params types.UpdateParams) bool
- func (_mock *MockContainer) IsNoPull(params types.UpdateParams) bool
- func (_mock *MockContainer) IsRestarting() bool
- func (_mock *MockContainer) IsRunning() bool
- func (_mock *MockContainer) IsStale() bool
- func (_mock *MockContainer) IsWatchtower() bool
- func (_mock *MockContainer) Links() []string
- func (_mock *MockContainer) Name() string
- func (_mock *MockContainer) PostUpdateTimeout() int
- func (_mock *MockContainer) PreUpdateTimeout() int
- func (_mock *MockContainer) Scope() (string, bool)
- func (_mock *MockContainer) SetLinkedToRestarting(status bool)
- func (_mock *MockContainer) SetStale(status bool)
- func (_mock *MockContainer) StopSignal() string
- func (_mock *MockContainer) StopTimeout() *int
- func (_mock *MockContainer) ToRestart() bool
- func (_mock *MockContainer) VerifyConfiguration() error
- type MockContainerReport
- func (_mock *MockContainerReport) CurrentImageID() types.ImageID
- func (_m *MockContainerReport) EXPECT() *MockContainerReport_Expecter
- func (_mock *MockContainerReport) Error() string
- func (_mock *MockContainerReport) ID() types.ContainerID
- func (_mock *MockContainerReport) ImageName() string
- func (_mock *MockContainerReport) IsMonitorOnly() bool
- func (_mock *MockContainerReport) LatestImageID() types.ImageID
- func (_mock *MockContainerReport) Name() string
- func (_mock *MockContainerReport) NewContainerID() types.ContainerID
- func (_mock *MockContainerReport) State() string
- type MockContainerReport_CurrentImageID_Call
- func (_c *MockContainerReport_CurrentImageID_Call) Return(imageID types.ImageID) *MockContainerReport_CurrentImageID_Call
- func (_c *MockContainerReport_CurrentImageID_Call) Run(run func()) *MockContainerReport_CurrentImageID_Call
- func (_c *MockContainerReport_CurrentImageID_Call) RunAndReturn(run func() types.ImageID) *MockContainerReport_CurrentImageID_Call
- type MockContainerReport_Error_Call
- type MockContainerReport_Expecter
- func (_e *MockContainerReport_Expecter) CurrentImageID() *MockContainerReport_CurrentImageID_Call
- func (_e *MockContainerReport_Expecter) Error() *MockContainerReport_Error_Call
- func (_e *MockContainerReport_Expecter) ID() *MockContainerReport_ID_Call
- func (_e *MockContainerReport_Expecter) ImageName() *MockContainerReport_ImageName_Call
- func (_e *MockContainerReport_Expecter) IsMonitorOnly() *MockContainerReport_IsMonitorOnly_Call
- func (_e *MockContainerReport_Expecter) LatestImageID() *MockContainerReport_LatestImageID_Call
- func (_e *MockContainerReport_Expecter) Name() *MockContainerReport_Name_Call
- func (_e *MockContainerReport_Expecter) NewContainerID() *MockContainerReport_NewContainerID_Call
- func (_e *MockContainerReport_Expecter) State() *MockContainerReport_State_Call
- type MockContainerReport_ID_Call
- func (_c *MockContainerReport_ID_Call) Return(containerID types.ContainerID) *MockContainerReport_ID_Call
- func (_c *MockContainerReport_ID_Call) Run(run func()) *MockContainerReport_ID_Call
- func (_c *MockContainerReport_ID_Call) RunAndReturn(run func() types.ContainerID) *MockContainerReport_ID_Call
- type MockContainerReport_ImageName_Call
- func (_c *MockContainerReport_ImageName_Call) Return(s string) *MockContainerReport_ImageName_Call
- func (_c *MockContainerReport_ImageName_Call) Run(run func()) *MockContainerReport_ImageName_Call
- func (_c *MockContainerReport_ImageName_Call) RunAndReturn(run func() string) *MockContainerReport_ImageName_Call
- type MockContainerReport_IsMonitorOnly_Call
- func (_c *MockContainerReport_IsMonitorOnly_Call) Return(b bool) *MockContainerReport_IsMonitorOnly_Call
- func (_c *MockContainerReport_IsMonitorOnly_Call) Run(run func()) *MockContainerReport_IsMonitorOnly_Call
- func (_c *MockContainerReport_IsMonitorOnly_Call) RunAndReturn(run func() bool) *MockContainerReport_IsMonitorOnly_Call
- type MockContainerReport_LatestImageID_Call
- func (_c *MockContainerReport_LatestImageID_Call) Return(imageID types.ImageID) *MockContainerReport_LatestImageID_Call
- func (_c *MockContainerReport_LatestImageID_Call) Run(run func()) *MockContainerReport_LatestImageID_Call
- func (_c *MockContainerReport_LatestImageID_Call) RunAndReturn(run func() types.ImageID) *MockContainerReport_LatestImageID_Call
- type MockContainerReport_Name_Call
- type MockContainerReport_NewContainerID_Call
- func (_c *MockContainerReport_NewContainerID_Call) Return(containerID types.ContainerID) *MockContainerReport_NewContainerID_Call
- func (_c *MockContainerReport_NewContainerID_Call) Run(run func()) *MockContainerReport_NewContainerID_Call
- func (_c *MockContainerReport_NewContainerID_Call) RunAndReturn(run func() types.ContainerID) *MockContainerReport_NewContainerID_Call
- type MockContainerReport_State_Call
- type MockContainer_ContainerInfo_Call
- func (_c *MockContainer_ContainerInfo_Call) Return(inspectResponse *container.InspectResponse) *MockContainer_ContainerInfo_Call
- func (_c *MockContainer_ContainerInfo_Call) Run(run func()) *MockContainer_ContainerInfo_Call
- func (_c *MockContainer_ContainerInfo_Call) RunAndReturn(run func() *container.InspectResponse) *MockContainer_ContainerInfo_Call
- type MockContainer_Enabled_Call
- type MockContainer_Expecter
- func (_e *MockContainer_Expecter) ContainerInfo() *MockContainer_ContainerInfo_Call
- func (_e *MockContainer_Expecter) Enabled() *MockContainer_Enabled_Call
- func (_e *MockContainer_Expecter) GetContainerChain() *MockContainer_GetContainerChain_Call
- func (_e *MockContainer_Expecter) GetCreateConfig() *MockContainer_GetCreateConfig_Call
- func (_e *MockContainer_Expecter) GetCreateHostConfig() *MockContainer_GetCreateHostConfig_Call
- func (_e *MockContainer_Expecter) GetLifecycleGID() *MockContainer_GetLifecycleGID_Call
- func (_e *MockContainer_Expecter) GetLifecyclePostCheckCommand() *MockContainer_GetLifecyclePostCheckCommand_Call
- func (_e *MockContainer_Expecter) GetLifecyclePostUpdateCommand() *MockContainer_GetLifecyclePostUpdateCommand_Call
- func (_e *MockContainer_Expecter) GetLifecyclePreCheckCommand() *MockContainer_GetLifecyclePreCheckCommand_Call
- func (_e *MockContainer_Expecter) GetLifecyclePreUpdateCommand() *MockContainer_GetLifecyclePreUpdateCommand_Call
- func (_e *MockContainer_Expecter) GetLifecycleUID() *MockContainer_GetLifecycleUID_Call
- func (_e *MockContainer_Expecter) HasImageInfo() *MockContainer_HasImageInfo_Call
- func (_e *MockContainer_Expecter) ID() *MockContainer_ID_Call
- func (_e *MockContainer_Expecter) ImageID() *MockContainer_ImageID_Call
- func (_e *MockContainer_Expecter) ImageInfo() *MockContainer_ImageInfo_Call
- func (_e *MockContainer_Expecter) ImageName() *MockContainer_ImageName_Call
- func (_e *MockContainer_Expecter) IsLinkedToRestarting() *MockContainer_IsLinkedToRestarting_Call
- func (_e *MockContainer_Expecter) IsMonitorOnly(params interface{}) *MockContainer_IsMonitorOnly_Call
- func (_e *MockContainer_Expecter) IsNoPull(params interface{}) *MockContainer_IsNoPull_Call
- func (_e *MockContainer_Expecter) IsRestarting() *MockContainer_IsRestarting_Call
- func (_e *MockContainer_Expecter) IsRunning() *MockContainer_IsRunning_Call
- func (_e *MockContainer_Expecter) IsStale() *MockContainer_IsStale_Call
- func (_e *MockContainer_Expecter) IsWatchtower() *MockContainer_IsWatchtower_Call
- func (_e *MockContainer_Expecter) Links() *MockContainer_Links_Call
- func (_e *MockContainer_Expecter) Name() *MockContainer_Name_Call
- func (_e *MockContainer_Expecter) PostUpdateTimeout() *MockContainer_PostUpdateTimeout_Call
- func (_e *MockContainer_Expecter) PreUpdateTimeout() *MockContainer_PreUpdateTimeout_Call
- func (_e *MockContainer_Expecter) Scope() *MockContainer_Scope_Call
- func (_e *MockContainer_Expecter) SetLinkedToRestarting(status interface{}) *MockContainer_SetLinkedToRestarting_Call
- func (_e *MockContainer_Expecter) SetStale(status interface{}) *MockContainer_SetStale_Call
- func (_e *MockContainer_Expecter) StopSignal() *MockContainer_StopSignal_Call
- func (_e *MockContainer_Expecter) StopTimeout() *MockContainer_StopTimeout_Call
- func (_e *MockContainer_Expecter) ToRestart() *MockContainer_ToRestart_Call
- func (_e *MockContainer_Expecter) VerifyConfiguration() *MockContainer_VerifyConfiguration_Call
- type MockContainer_GetContainerChain_Call
- func (_c *MockContainer_GetContainerChain_Call) Return(s string, b bool) *MockContainer_GetContainerChain_Call
- func (_c *MockContainer_GetContainerChain_Call) Run(run func()) *MockContainer_GetContainerChain_Call
- func (_c *MockContainer_GetContainerChain_Call) RunAndReturn(run func() (string, bool)) *MockContainer_GetContainerChain_Call
- type MockContainer_GetCreateConfig_Call
- func (_c *MockContainer_GetCreateConfig_Call) Return(config *container.Config) *MockContainer_GetCreateConfig_Call
- func (_c *MockContainer_GetCreateConfig_Call) Run(run func()) *MockContainer_GetCreateConfig_Call
- func (_c *MockContainer_GetCreateConfig_Call) RunAndReturn(run func() *container.Config) *MockContainer_GetCreateConfig_Call
- type MockContainer_GetCreateHostConfig_Call
- func (_c *MockContainer_GetCreateHostConfig_Call) Return(hostConfig *container.HostConfig) *MockContainer_GetCreateHostConfig_Call
- func (_c *MockContainer_GetCreateHostConfig_Call) Run(run func()) *MockContainer_GetCreateHostConfig_Call
- func (_c *MockContainer_GetCreateHostConfig_Call) RunAndReturn(run func() *container.HostConfig) *MockContainer_GetCreateHostConfig_Call
- type MockContainer_GetLifecycleGID_Call
- func (_c *MockContainer_GetLifecycleGID_Call) Return(n int, b bool) *MockContainer_GetLifecycleGID_Call
- func (_c *MockContainer_GetLifecycleGID_Call) Run(run func()) *MockContainer_GetLifecycleGID_Call
- func (_c *MockContainer_GetLifecycleGID_Call) RunAndReturn(run func() (int, bool)) *MockContainer_GetLifecycleGID_Call
- type MockContainer_GetLifecyclePostCheckCommand_Call
- func (_c *MockContainer_GetLifecyclePostCheckCommand_Call) Return(s string) *MockContainer_GetLifecyclePostCheckCommand_Call
- func (_c *MockContainer_GetLifecyclePostCheckCommand_Call) Run(run func()) *MockContainer_GetLifecyclePostCheckCommand_Call
- func (_c *MockContainer_GetLifecyclePostCheckCommand_Call) RunAndReturn(run func() string) *MockContainer_GetLifecyclePostCheckCommand_Call
- type MockContainer_GetLifecyclePostUpdateCommand_Call
- func (_c *MockContainer_GetLifecyclePostUpdateCommand_Call) Return(s string) *MockContainer_GetLifecyclePostUpdateCommand_Call
- func (_c *MockContainer_GetLifecyclePostUpdateCommand_Call) Run(run func()) *MockContainer_GetLifecyclePostUpdateCommand_Call
- func (_c *MockContainer_GetLifecyclePostUpdateCommand_Call) RunAndReturn(run func() string) *MockContainer_GetLifecyclePostUpdateCommand_Call
- type MockContainer_GetLifecyclePreCheckCommand_Call
- func (_c *MockContainer_GetLifecyclePreCheckCommand_Call) Return(s string) *MockContainer_GetLifecyclePreCheckCommand_Call
- func (_c *MockContainer_GetLifecyclePreCheckCommand_Call) Run(run func()) *MockContainer_GetLifecyclePreCheckCommand_Call
- func (_c *MockContainer_GetLifecyclePreCheckCommand_Call) RunAndReturn(run func() string) *MockContainer_GetLifecyclePreCheckCommand_Call
- type MockContainer_GetLifecyclePreUpdateCommand_Call
- func (_c *MockContainer_GetLifecyclePreUpdateCommand_Call) Return(s string) *MockContainer_GetLifecyclePreUpdateCommand_Call
- func (_c *MockContainer_GetLifecyclePreUpdateCommand_Call) Run(run func()) *MockContainer_GetLifecyclePreUpdateCommand_Call
- func (_c *MockContainer_GetLifecyclePreUpdateCommand_Call) RunAndReturn(run func() string) *MockContainer_GetLifecyclePreUpdateCommand_Call
- type MockContainer_GetLifecycleUID_Call
- func (_c *MockContainer_GetLifecycleUID_Call) Return(n int, b bool) *MockContainer_GetLifecycleUID_Call
- func (_c *MockContainer_GetLifecycleUID_Call) Run(run func()) *MockContainer_GetLifecycleUID_Call
- func (_c *MockContainer_GetLifecycleUID_Call) RunAndReturn(run func() (int, bool)) *MockContainer_GetLifecycleUID_Call
- type MockContainer_HasImageInfo_Call
- type MockContainer_ID_Call
- type MockContainer_ImageID_Call
- type MockContainer_ImageInfo_Call
- func (_c *MockContainer_ImageInfo_Call) Return(inspectResponse *image.InspectResponse) *MockContainer_ImageInfo_Call
- func (_c *MockContainer_ImageInfo_Call) Run(run func()) *MockContainer_ImageInfo_Call
- func (_c *MockContainer_ImageInfo_Call) RunAndReturn(run func() *image.InspectResponse) *MockContainer_ImageInfo_Call
- type MockContainer_ImageName_Call
- type MockContainer_IsLinkedToRestarting_Call
- func (_c *MockContainer_IsLinkedToRestarting_Call) Return(b bool) *MockContainer_IsLinkedToRestarting_Call
- func (_c *MockContainer_IsLinkedToRestarting_Call) Run(run func()) *MockContainer_IsLinkedToRestarting_Call
- func (_c *MockContainer_IsLinkedToRestarting_Call) RunAndReturn(run func() bool) *MockContainer_IsLinkedToRestarting_Call
- type MockContainer_IsMonitorOnly_Call
- func (_c *MockContainer_IsMonitorOnly_Call) Return(b bool) *MockContainer_IsMonitorOnly_Call
- func (_c *MockContainer_IsMonitorOnly_Call) Run(run func(params types.UpdateParams)) *MockContainer_IsMonitorOnly_Call
- func (_c *MockContainer_IsMonitorOnly_Call) RunAndReturn(run func(params types.UpdateParams) bool) *MockContainer_IsMonitorOnly_Call
- type MockContainer_IsNoPull_Call
- func (_c *MockContainer_IsNoPull_Call) Return(b bool) *MockContainer_IsNoPull_Call
- func (_c *MockContainer_IsNoPull_Call) Run(run func(params types.UpdateParams)) *MockContainer_IsNoPull_Call
- func (_c *MockContainer_IsNoPull_Call) RunAndReturn(run func(params types.UpdateParams) bool) *MockContainer_IsNoPull_Call
- type MockContainer_IsRestarting_Call
- type MockContainer_IsRunning_Call
- type MockContainer_IsStale_Call
- type MockContainer_IsWatchtower_Call
- type MockContainer_Links_Call
- type MockContainer_Name_Call
- type MockContainer_PostUpdateTimeout_Call
- func (_c *MockContainer_PostUpdateTimeout_Call) Return(n int) *MockContainer_PostUpdateTimeout_Call
- func (_c *MockContainer_PostUpdateTimeout_Call) Run(run func()) *MockContainer_PostUpdateTimeout_Call
- func (_c *MockContainer_PostUpdateTimeout_Call) RunAndReturn(run func() int) *MockContainer_PostUpdateTimeout_Call
- type MockContainer_PreUpdateTimeout_Call
- func (_c *MockContainer_PreUpdateTimeout_Call) Return(n int) *MockContainer_PreUpdateTimeout_Call
- func (_c *MockContainer_PreUpdateTimeout_Call) Run(run func()) *MockContainer_PreUpdateTimeout_Call
- func (_c *MockContainer_PreUpdateTimeout_Call) RunAndReturn(run func() int) *MockContainer_PreUpdateTimeout_Call
- type MockContainer_Scope_Call
- type MockContainer_SetLinkedToRestarting_Call
- func (_c *MockContainer_SetLinkedToRestarting_Call) Return() *MockContainer_SetLinkedToRestarting_Call
- func (_c *MockContainer_SetLinkedToRestarting_Call) Run(run func(status bool)) *MockContainer_SetLinkedToRestarting_Call
- func (_c *MockContainer_SetLinkedToRestarting_Call) RunAndReturn(run func(status bool)) *MockContainer_SetLinkedToRestarting_Call
- type MockContainer_SetStale_Call
- type MockContainer_StopSignal_Call
- type MockContainer_StopTimeout_Call
- type MockContainer_ToRestart_Call
- type MockContainer_VerifyConfiguration_Call
- func (_c *MockContainer_VerifyConfiguration_Call) Return(err error) *MockContainer_VerifyConfiguration_Call
- func (_c *MockContainer_VerifyConfiguration_Call) Run(run func()) *MockContainer_VerifyConfiguration_Call
- func (_c *MockContainer_VerifyConfiguration_Call) RunAndReturn(run func() error) *MockContainer_VerifyConfiguration_Call
- type MockConvertibleNotifier
- type MockConvertibleNotifier_Expecter
- type MockConvertibleNotifier_GetURL_Call
- func (_c *MockConvertibleNotifier_GetURL_Call) Return(s string, err error) *MockConvertibleNotifier_GetURL_Call
- func (_c *MockConvertibleNotifier_GetURL_Call) Run(run func(c *cobra.Command)) *MockConvertibleNotifier_GetURL_Call
- func (_c *MockConvertibleNotifier_GetURL_Call) RunAndReturn(run func(c *cobra.Command) (string, error)) *MockConvertibleNotifier_GetURL_Call
- type MockDelayNotifier
- type MockDelayNotifier_Expecter
- type MockDelayNotifier_GetDelay_Call
- func (_c *MockDelayNotifier_GetDelay_Call) Return(duration time.Duration) *MockDelayNotifier_GetDelay_Call
- func (_c *MockDelayNotifier_GetDelay_Call) Run(run func()) *MockDelayNotifier_GetDelay_Call
- func (_c *MockDelayNotifier_GetDelay_Call) RunAndReturn(run func() time.Duration) *MockDelayNotifier_GetDelay_Call
- type MockFilter
- type MockFilter_Execute_Call
- type MockFilter_Expecter
- type MockFilterableContainer
- func (_m *MockFilterableContainer) EXPECT() *MockFilterableContainer_Expecter
- func (_mock *MockFilterableContainer) Enabled() (bool, bool)
- func (_mock *MockFilterableContainer) ImageName() string
- func (_mock *MockFilterableContainer) IsWatchtower() bool
- func (_mock *MockFilterableContainer) Name() string
- func (_mock *MockFilterableContainer) Scope() (string, bool)
- type MockFilterableContainer_Enabled_Call
- func (_c *MockFilterableContainer_Enabled_Call) Return(b bool, b1 bool) *MockFilterableContainer_Enabled_Call
- func (_c *MockFilterableContainer_Enabled_Call) Run(run func()) *MockFilterableContainer_Enabled_Call
- func (_c *MockFilterableContainer_Enabled_Call) RunAndReturn(run func() (bool, bool)) *MockFilterableContainer_Enabled_Call
- type MockFilterableContainer_Expecter
- func (_e *MockFilterableContainer_Expecter) Enabled() *MockFilterableContainer_Enabled_Call
- func (_e *MockFilterableContainer_Expecter) ImageName() *MockFilterableContainer_ImageName_Call
- func (_e *MockFilterableContainer_Expecter) IsWatchtower() *MockFilterableContainer_IsWatchtower_Call
- func (_e *MockFilterableContainer_Expecter) Name() *MockFilterableContainer_Name_Call
- func (_e *MockFilterableContainer_Expecter) Scope() *MockFilterableContainer_Scope_Call
- type MockFilterableContainer_ImageName_Call
- func (_c *MockFilterableContainer_ImageName_Call) Return(s string) *MockFilterableContainer_ImageName_Call
- func (_c *MockFilterableContainer_ImageName_Call) Run(run func()) *MockFilterableContainer_ImageName_Call
- func (_c *MockFilterableContainer_ImageName_Call) RunAndReturn(run func() string) *MockFilterableContainer_ImageName_Call
- type MockFilterableContainer_IsWatchtower_Call
- func (_c *MockFilterableContainer_IsWatchtower_Call) Return(b bool) *MockFilterableContainer_IsWatchtower_Call
- func (_c *MockFilterableContainer_IsWatchtower_Call) Run(run func()) *MockFilterableContainer_IsWatchtower_Call
- func (_c *MockFilterableContainer_IsWatchtower_Call) RunAndReturn(run func() bool) *MockFilterableContainer_IsWatchtower_Call
- type MockFilterableContainer_Name_Call
- func (_c *MockFilterableContainer_Name_Call) Return(s string) *MockFilterableContainer_Name_Call
- func (_c *MockFilterableContainer_Name_Call) Run(run func()) *MockFilterableContainer_Name_Call
- func (_c *MockFilterableContainer_Name_Call) RunAndReturn(run func() string) *MockFilterableContainer_Name_Call
- type MockFilterableContainer_Scope_Call
- func (_c *MockFilterableContainer_Scope_Call) Return(s string, b bool) *MockFilterableContainer_Scope_Call
- func (_c *MockFilterableContainer_Scope_Call) Run(run func()) *MockFilterableContainer_Scope_Call
- func (_c *MockFilterableContainer_Scope_Call) RunAndReturn(run func() (string, bool)) *MockFilterableContainer_Scope_Call
- type MockImageInspector
- type MockImageInspector_Expecter
- type MockImageInspector_ImageInspectWithRaw_Call
- func (_c *MockImageInspector_ImageInspectWithRaw_Call) Return(inspectResponse image.InspectResponse, bytes []byte, err error) *MockImageInspector_ImageInspectWithRaw_Call
- func (_c *MockImageInspector_ImageInspectWithRaw_Call) Run(run func(ctx context.Context, image1 string)) *MockImageInspector_ImageInspectWithRaw_Call
- func (_c *MockImageInspector_ImageInspectWithRaw_Call) RunAndReturn(...) *MockImageInspector_ImageInspectWithRaw_Call
- type MockNotifier
- func (_mock *MockNotifier) AddLogHook()
- func (_mock *MockNotifier) Close()
- func (_m *MockNotifier) EXPECT() *MockNotifier_Expecter
- func (_mock *MockNotifier) GetEntries() []*logrus.Entry
- func (_mock *MockNotifier) GetNames() []string
- func (_mock *MockNotifier) GetURLs() []string
- func (_mock *MockNotifier) SendFilteredEntries(entries []*logrus.Entry, report types.Report)
- func (_mock *MockNotifier) SendNotification(reportType types.Report)
- func (_mock *MockNotifier) ShouldSendNotification(report types.Report) bool
- func (_mock *MockNotifier) StartNotification(suppressSummary bool)
- type MockNotifier_AddLogHook_Call
- type MockNotifier_Close_Call
- type MockNotifier_Expecter
- func (_e *MockNotifier_Expecter) AddLogHook() *MockNotifier_AddLogHook_Call
- func (_e *MockNotifier_Expecter) Close() *MockNotifier_Close_Call
- func (_e *MockNotifier_Expecter) GetEntries() *MockNotifier_GetEntries_Call
- func (_e *MockNotifier_Expecter) GetNames() *MockNotifier_GetNames_Call
- func (_e *MockNotifier_Expecter) GetURLs() *MockNotifier_GetURLs_Call
- func (_e *MockNotifier_Expecter) SendFilteredEntries(entries interface{}, report interface{}) *MockNotifier_SendFilteredEntries_Call
- func (_e *MockNotifier_Expecter) SendNotification(reportType interface{}) *MockNotifier_SendNotification_Call
- func (_e *MockNotifier_Expecter) ShouldSendNotification(report interface{}) *MockNotifier_ShouldSendNotification_Call
- func (_e *MockNotifier_Expecter) StartNotification(suppressSummary interface{}) *MockNotifier_StartNotification_Call
- type MockNotifier_GetEntries_Call
- type MockNotifier_GetNames_Call
- type MockNotifier_GetURLs_Call
- type MockNotifier_SendFilteredEntries_Call
- func (_c *MockNotifier_SendFilteredEntries_Call) Return() *MockNotifier_SendFilteredEntries_Call
- func (_c *MockNotifier_SendFilteredEntries_Call) Run(run func(entries []*logrus.Entry, report types.Report)) *MockNotifier_SendFilteredEntries_Call
- func (_c *MockNotifier_SendFilteredEntries_Call) RunAndReturn(run func(entries []*logrus.Entry, report types.Report)) *MockNotifier_SendFilteredEntries_Call
- type MockNotifier_SendNotification_Call
- func (_c *MockNotifier_SendNotification_Call) Return() *MockNotifier_SendNotification_Call
- func (_c *MockNotifier_SendNotification_Call) Run(run func(reportType types.Report)) *MockNotifier_SendNotification_Call
- func (_c *MockNotifier_SendNotification_Call) RunAndReturn(run func(reportType types.Report)) *MockNotifier_SendNotification_Call
- type MockNotifier_ShouldSendNotification_Call
- func (_c *MockNotifier_ShouldSendNotification_Call) Return(b bool) *MockNotifier_ShouldSendNotification_Call
- func (_c *MockNotifier_ShouldSendNotification_Call) Run(run func(report types.Report)) *MockNotifier_ShouldSendNotification_Call
- func (_c *MockNotifier_ShouldSendNotification_Call) RunAndReturn(run func(report types.Report) bool) *MockNotifier_ShouldSendNotification_Call
- type MockNotifier_StartNotification_Call
- func (_c *MockNotifier_StartNotification_Call) Return() *MockNotifier_StartNotification_Call
- func (_c *MockNotifier_StartNotification_Call) Run(run func(suppressSummary bool)) *MockNotifier_StartNotification_Call
- func (_c *MockNotifier_StartNotification_Call) RunAndReturn(run func(suppressSummary bool)) *MockNotifier_StartNotification_Call
- type MockReport
- func (_mock *MockReport) All() []types.ContainerReport
- func (_m *MockReport) EXPECT() *MockReport_Expecter
- func (_mock *MockReport) Failed() []types.ContainerReport
- func (_mock *MockReport) Fresh() []types.ContainerReport
- func (_mock *MockReport) Restarted() []types.ContainerReport
- func (_mock *MockReport) Scanned() []types.ContainerReport
- func (_mock *MockReport) Skipped() []types.ContainerReport
- func (_mock *MockReport) Stale() []types.ContainerReport
- func (_mock *MockReport) Updated() []types.ContainerReport
- type MockReport_All_Call
- type MockReport_Expecter
- func (_e *MockReport_Expecter) All() *MockReport_All_Call
- func (_e *MockReport_Expecter) Failed() *MockReport_Failed_Call
- func (_e *MockReport_Expecter) Fresh() *MockReport_Fresh_Call
- func (_e *MockReport_Expecter) Restarted() *MockReport_Restarted_Call
- func (_e *MockReport_Expecter) Scanned() *MockReport_Scanned_Call
- func (_e *MockReport_Expecter) Skipped() *MockReport_Skipped_Call
- func (_e *MockReport_Expecter) Stale() *MockReport_Stale_Call
- func (_e *MockReport_Expecter) Updated() *MockReport_Updated_Call
- type MockReport_Failed_Call
- type MockReport_Fresh_Call
- type MockReport_Restarted_Call
- func (_c *MockReport_Restarted_Call) Return(containerReports []types.ContainerReport) *MockReport_Restarted_Call
- func (_c *MockReport_Restarted_Call) Run(run func()) *MockReport_Restarted_Call
- func (_c *MockReport_Restarted_Call) RunAndReturn(run func() []types.ContainerReport) *MockReport_Restarted_Call
- type MockReport_Scanned_Call
- type MockReport_Skipped_Call
- type MockReport_Stale_Call
- type MockReport_Updated_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockContainer ¶
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 (*MockContainer) Links ¶
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 ¶
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 (_m *MockContainerReport) EXPECT() *MockContainerReport_Expecter
func (*MockContainerReport) Error ¶
func (_mock *MockContainerReport) Error() string
Error provides a mock function for the type MockContainerReport
func (*MockContainerReport) ID ¶
func (_mock *MockContainerReport) ID() types.ContainerID
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 ¶
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 (_c *MockContainerReport_CurrentImageID_Call) Return(imageID types.ImageID) *MockContainerReport_CurrentImageID_Call
func (*MockContainerReport_CurrentImageID_Call) Run ¶
func (_c *MockContainerReport_CurrentImageID_Call) Run(run func()) *MockContainerReport_CurrentImageID_Call
func (*MockContainerReport_CurrentImageID_Call) RunAndReturn ¶
func (_c *MockContainerReport_CurrentImageID_Call) RunAndReturn(run func() types.ImageID) *MockContainerReport_CurrentImageID_Call
type MockContainerReport_Error_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 (_c *MockContainerReport_Error_Call) Return(s string) *MockContainerReport_Error_Call
func (*MockContainerReport_Error_Call) Run ¶
func (_c *MockContainerReport_Error_Call) Run(run func()) *MockContainerReport_Error_Call
func (*MockContainerReport_Error_Call) RunAndReturn ¶
func (_c *MockContainerReport_Error_Call) RunAndReturn(run func() string) *MockContainerReport_Error_Call
type MockContainerReport_Expecter ¶
type MockContainerReport_Expecter struct {
// contains filtered or unexported fields
}
func (*MockContainerReport_Expecter) CurrentImageID ¶
func (_e *MockContainerReport_Expecter) CurrentImageID() *MockContainerReport_CurrentImageID_Call
CurrentImageID is a helper method to define mock.On call
func (*MockContainerReport_Expecter) Error ¶
func (_e *MockContainerReport_Expecter) Error() *MockContainerReport_Error_Call
Error is a helper method to define mock.On call
func (*MockContainerReport_Expecter) ID ¶
func (_e *MockContainerReport_Expecter) ID() *MockContainerReport_ID_Call
ID is a helper method to define mock.On call
func (*MockContainerReport_Expecter) ImageName ¶
func (_e *MockContainerReport_Expecter) ImageName() *MockContainerReport_ImageName_Call
ImageName is a helper method to define mock.On call
func (*MockContainerReport_Expecter) IsMonitorOnly ¶
func (_e *MockContainerReport_Expecter) IsMonitorOnly() *MockContainerReport_IsMonitorOnly_Call
IsMonitorOnly is a helper method to define mock.On call
func (*MockContainerReport_Expecter) LatestImageID ¶
func (_e *MockContainerReport_Expecter) LatestImageID() *MockContainerReport_LatestImageID_Call
LatestImageID is a helper method to define mock.On call
func (*MockContainerReport_Expecter) Name ¶
func (_e *MockContainerReport_Expecter) Name() *MockContainerReport_Name_Call
Name is a helper method to define mock.On call
func (*MockContainerReport_Expecter) NewContainerID ¶
func (_e *MockContainerReport_Expecter) NewContainerID() *MockContainerReport_NewContainerID_Call
NewContainerID is a helper method to define mock.On call
func (*MockContainerReport_Expecter) State ¶
func (_e *MockContainerReport_Expecter) State() *MockContainerReport_State_Call
State is a helper method to define mock.On call
type MockContainerReport_ID_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 (_c *MockContainerReport_ID_Call) Return(containerID types.ContainerID) *MockContainerReport_ID_Call
func (*MockContainerReport_ID_Call) Run ¶
func (_c *MockContainerReport_ID_Call) Run(run func()) *MockContainerReport_ID_Call
func (*MockContainerReport_ID_Call) RunAndReturn ¶
func (_c *MockContainerReport_ID_Call) RunAndReturn(run func() types.ContainerID) *MockContainerReport_ID_Call
type MockContainerReport_ImageName_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 (_c *MockContainerReport_ImageName_Call) Return(s string) *MockContainerReport_ImageName_Call
func (*MockContainerReport_ImageName_Call) Run ¶
func (_c *MockContainerReport_ImageName_Call) Run(run func()) *MockContainerReport_ImageName_Call
func (*MockContainerReport_ImageName_Call) RunAndReturn ¶
func (_c *MockContainerReport_ImageName_Call) RunAndReturn(run func() string) *MockContainerReport_ImageName_Call
type MockContainerReport_IsMonitorOnly_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 (_c *MockContainerReport_IsMonitorOnly_Call) Return(b bool) *MockContainerReport_IsMonitorOnly_Call
func (*MockContainerReport_IsMonitorOnly_Call) Run ¶
func (_c *MockContainerReport_IsMonitorOnly_Call) Run(run func()) *MockContainerReport_IsMonitorOnly_Call
func (*MockContainerReport_IsMonitorOnly_Call) RunAndReturn ¶
func (_c *MockContainerReport_IsMonitorOnly_Call) RunAndReturn(run func() bool) *MockContainerReport_IsMonitorOnly_Call
type MockContainerReport_LatestImageID_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 (_c *MockContainerReport_LatestImageID_Call) Return(imageID types.ImageID) *MockContainerReport_LatestImageID_Call
func (*MockContainerReport_LatestImageID_Call) Run ¶
func (_c *MockContainerReport_LatestImageID_Call) Run(run func()) *MockContainerReport_LatestImageID_Call
func (*MockContainerReport_LatestImageID_Call) RunAndReturn ¶
func (_c *MockContainerReport_LatestImageID_Call) RunAndReturn(run func() types.ImageID) *MockContainerReport_LatestImageID_Call
type MockContainerReport_Name_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 (_c *MockContainerReport_Name_Call) Return(s string) *MockContainerReport_Name_Call
func (*MockContainerReport_Name_Call) Run ¶
func (_c *MockContainerReport_Name_Call) Run(run func()) *MockContainerReport_Name_Call
func (*MockContainerReport_Name_Call) RunAndReturn ¶
func (_c *MockContainerReport_Name_Call) RunAndReturn(run func() string) *MockContainerReport_Name_Call
type MockContainerReport_NewContainerID_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 (_c *MockContainerReport_NewContainerID_Call) Return(containerID types.ContainerID) *MockContainerReport_NewContainerID_Call
func (*MockContainerReport_NewContainerID_Call) Run ¶
func (_c *MockContainerReport_NewContainerID_Call) Run(run func()) *MockContainerReport_NewContainerID_Call
func (*MockContainerReport_NewContainerID_Call) RunAndReturn ¶
func (_c *MockContainerReport_NewContainerID_Call) RunAndReturn(run func() types.ContainerID) *MockContainerReport_NewContainerID_Call
type MockContainerReport_State_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 (_c *MockContainerReport_State_Call) Return(s string) *MockContainerReport_State_Call
func (*MockContainerReport_State_Call) Run ¶
func (_c *MockContainerReport_State_Call) Run(run func()) *MockContainerReport_State_Call
func (*MockContainerReport_State_Call) RunAndReturn ¶
func (_c *MockContainerReport_State_Call) RunAndReturn(run func() string) *MockContainerReport_State_Call
type MockContainer_ContainerInfo_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 (_c *MockContainer_ContainerInfo_Call) Return(inspectResponse *container.InspectResponse) *MockContainer_ContainerInfo_Call
func (*MockContainer_ContainerInfo_Call) Run ¶
func (_c *MockContainer_ContainerInfo_Call) Run(run func()) *MockContainer_ContainerInfo_Call
func (*MockContainer_ContainerInfo_Call) RunAndReturn ¶
func (_c *MockContainer_ContainerInfo_Call) RunAndReturn(run func() *container.InspectResponse) *MockContainer_ContainerInfo_Call
type MockContainer_Enabled_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 (_c *MockContainer_Enabled_Call) Return(b bool, b1 bool) *MockContainer_Enabled_Call
func (*MockContainer_Enabled_Call) Run ¶
func (_c *MockContainer_Enabled_Call) Run(run func()) *MockContainer_Enabled_Call
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 ¶
func (_e *MockContainer_Expecter) ContainerInfo() *MockContainer_ContainerInfo_Call
ContainerInfo is a helper method to define mock.On call
func (*MockContainer_Expecter) Enabled ¶
func (_e *MockContainer_Expecter) Enabled() *MockContainer_Enabled_Call
Enabled is a helper method to define mock.On call
func (*MockContainer_Expecter) GetContainerChain ¶
func (_e *MockContainer_Expecter) GetContainerChain() *MockContainer_GetContainerChain_Call
GetContainerChain is a helper method to define mock.On call
func (*MockContainer_Expecter) GetCreateConfig ¶
func (_e *MockContainer_Expecter) GetCreateConfig() *MockContainer_GetCreateConfig_Call
GetCreateConfig is a helper method to define mock.On call
func (*MockContainer_Expecter) GetCreateHostConfig ¶
func (_e *MockContainer_Expecter) GetCreateHostConfig() *MockContainer_GetCreateHostConfig_Call
GetCreateHostConfig is a helper method to define mock.On call
func (*MockContainer_Expecter) GetLifecycleGID ¶
func (_e *MockContainer_Expecter) GetLifecycleGID() *MockContainer_GetLifecycleGID_Call
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 ¶
func (_e *MockContainer_Expecter) GetLifecyclePreCheckCommand() *MockContainer_GetLifecyclePreCheckCommand_Call
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 ¶
func (_e *MockContainer_Expecter) GetLifecycleUID() *MockContainer_GetLifecycleUID_Call
GetLifecycleUID is a helper method to define mock.On call
func (*MockContainer_Expecter) HasImageInfo ¶
func (_e *MockContainer_Expecter) HasImageInfo() *MockContainer_HasImageInfo_Call
HasImageInfo is a helper method to define mock.On call
func (*MockContainer_Expecter) ID ¶
func (_e *MockContainer_Expecter) ID() *MockContainer_ID_Call
ID is a helper method to define mock.On call
func (*MockContainer_Expecter) ImageID ¶
func (_e *MockContainer_Expecter) ImageID() *MockContainer_ImageID_Call
ImageID is a helper method to define mock.On call
func (*MockContainer_Expecter) ImageInfo ¶
func (_e *MockContainer_Expecter) ImageInfo() *MockContainer_ImageInfo_Call
ImageInfo is a helper method to define mock.On call
func (*MockContainer_Expecter) ImageName ¶
func (_e *MockContainer_Expecter) ImageName() *MockContainer_ImageName_Call
ImageName is a helper method to define mock.On call
func (*MockContainer_Expecter) IsLinkedToRestarting ¶
func (_e *MockContainer_Expecter) IsLinkedToRestarting() *MockContainer_IsLinkedToRestarting_Call
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 ¶
func (_e *MockContainer_Expecter) IsRestarting() *MockContainer_IsRestarting_Call
IsRestarting is a helper method to define mock.On call
func (*MockContainer_Expecter) IsRunning ¶
func (_e *MockContainer_Expecter) IsRunning() *MockContainer_IsRunning_Call
IsRunning is a helper method to define mock.On call
func (*MockContainer_Expecter) IsStale ¶
func (_e *MockContainer_Expecter) IsStale() *MockContainer_IsStale_Call
IsStale is a helper method to define mock.On call
func (*MockContainer_Expecter) IsWatchtower ¶
func (_e *MockContainer_Expecter) IsWatchtower() *MockContainer_IsWatchtower_Call
IsWatchtower is a helper method to define mock.On call
func (*MockContainer_Expecter) Links ¶
func (_e *MockContainer_Expecter) Links() *MockContainer_Links_Call
Links is a helper method to define mock.On call
func (*MockContainer_Expecter) Name ¶
func (_e *MockContainer_Expecter) Name() *MockContainer_Name_Call
Name is a helper method to define mock.On call
func (*MockContainer_Expecter) PostUpdateTimeout ¶
func (_e *MockContainer_Expecter) PostUpdateTimeout() *MockContainer_PostUpdateTimeout_Call
PostUpdateTimeout is a helper method to define mock.On call
func (*MockContainer_Expecter) PreUpdateTimeout ¶
func (_e *MockContainer_Expecter) PreUpdateTimeout() *MockContainer_PreUpdateTimeout_Call
PreUpdateTimeout is a helper method to define mock.On call
func (*MockContainer_Expecter) Scope ¶
func (_e *MockContainer_Expecter) Scope() *MockContainer_Scope_Call
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 ¶
func (_e *MockContainer_Expecter) StopSignal() *MockContainer_StopSignal_Call
StopSignal is a helper method to define mock.On call
func (*MockContainer_Expecter) StopTimeout ¶
func (_e *MockContainer_Expecter) StopTimeout() *MockContainer_StopTimeout_Call
StopTimeout is a helper method to define mock.On call
func (*MockContainer_Expecter) ToRestart ¶
func (_e *MockContainer_Expecter) ToRestart() *MockContainer_ToRestart_Call
ToRestart is a helper method to define mock.On call
func (*MockContainer_Expecter) VerifyConfiguration ¶
func (_e *MockContainer_Expecter) VerifyConfiguration() *MockContainer_VerifyConfiguration_Call
VerifyConfiguration is a helper method to define mock.On call
type MockContainer_GetContainerChain_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 (_c *MockContainer_GetContainerChain_Call) Return(s string, b bool) *MockContainer_GetContainerChain_Call
func (*MockContainer_GetContainerChain_Call) Run ¶
func (_c *MockContainer_GetContainerChain_Call) Run(run func()) *MockContainer_GetContainerChain_Call
func (*MockContainer_GetContainerChain_Call) RunAndReturn ¶
func (_c *MockContainer_GetContainerChain_Call) RunAndReturn(run func() (string, bool)) *MockContainer_GetContainerChain_Call
type MockContainer_GetCreateConfig_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 (_c *MockContainer_GetCreateConfig_Call) Return(config *container.Config) *MockContainer_GetCreateConfig_Call
func (*MockContainer_GetCreateConfig_Call) Run ¶
func (_c *MockContainer_GetCreateConfig_Call) Run(run func()) *MockContainer_GetCreateConfig_Call
func (*MockContainer_GetCreateConfig_Call) RunAndReturn ¶
func (_c *MockContainer_GetCreateConfig_Call) RunAndReturn(run func() *container.Config) *MockContainer_GetCreateConfig_Call
type MockContainer_GetCreateHostConfig_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 (_c *MockContainer_GetCreateHostConfig_Call) Return(hostConfig *container.HostConfig) *MockContainer_GetCreateHostConfig_Call
func (*MockContainer_GetCreateHostConfig_Call) Run ¶
func (_c *MockContainer_GetCreateHostConfig_Call) Run(run func()) *MockContainer_GetCreateHostConfig_Call
func (*MockContainer_GetCreateHostConfig_Call) RunAndReturn ¶
func (_c *MockContainer_GetCreateHostConfig_Call) RunAndReturn(run func() *container.HostConfig) *MockContainer_GetCreateHostConfig_Call
type MockContainer_GetLifecycleGID_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 (_c *MockContainer_GetLifecycleGID_Call) Return(n int, b bool) *MockContainer_GetLifecycleGID_Call
func (*MockContainer_GetLifecycleGID_Call) Run ¶
func (_c *MockContainer_GetLifecycleGID_Call) Run(run func()) *MockContainer_GetLifecycleGID_Call
func (*MockContainer_GetLifecycleGID_Call) RunAndReturn ¶
func (_c *MockContainer_GetLifecycleGID_Call) RunAndReturn(run func() (int, bool)) *MockContainer_GetLifecycleGID_Call
type MockContainer_GetLifecyclePostCheckCommand_Call ¶
MockContainer_GetLifecyclePostCheckCommand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLifecyclePostCheckCommand'
func (*MockContainer_GetLifecyclePostCheckCommand_Call) Run ¶
func (_c *MockContainer_GetLifecyclePostCheckCommand_Call) Run(run func()) *MockContainer_GetLifecyclePostCheckCommand_Call
func (*MockContainer_GetLifecyclePostCheckCommand_Call) RunAndReturn ¶
func (_c *MockContainer_GetLifecyclePostCheckCommand_Call) RunAndReturn(run func() string) *MockContainer_GetLifecyclePostCheckCommand_Call
type MockContainer_GetLifecyclePostUpdateCommand_Call ¶
MockContainer_GetLifecyclePostUpdateCommand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLifecyclePostUpdateCommand'
func (*MockContainer_GetLifecyclePostUpdateCommand_Call) Run ¶
func (_c *MockContainer_GetLifecyclePostUpdateCommand_Call) Run(run func()) *MockContainer_GetLifecyclePostUpdateCommand_Call
func (*MockContainer_GetLifecyclePostUpdateCommand_Call) RunAndReturn ¶
func (_c *MockContainer_GetLifecyclePostUpdateCommand_Call) RunAndReturn(run func() string) *MockContainer_GetLifecyclePostUpdateCommand_Call
type MockContainer_GetLifecyclePreCheckCommand_Call ¶
MockContainer_GetLifecyclePreCheckCommand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLifecyclePreCheckCommand'
func (*MockContainer_GetLifecyclePreCheckCommand_Call) Run ¶
func (_c *MockContainer_GetLifecyclePreCheckCommand_Call) Run(run func()) *MockContainer_GetLifecyclePreCheckCommand_Call
func (*MockContainer_GetLifecyclePreCheckCommand_Call) RunAndReturn ¶
func (_c *MockContainer_GetLifecyclePreCheckCommand_Call) RunAndReturn(run func() string) *MockContainer_GetLifecyclePreCheckCommand_Call
type MockContainer_GetLifecyclePreUpdateCommand_Call ¶
MockContainer_GetLifecyclePreUpdateCommand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLifecyclePreUpdateCommand'
func (*MockContainer_GetLifecyclePreUpdateCommand_Call) Run ¶
func (_c *MockContainer_GetLifecyclePreUpdateCommand_Call) Run(run func()) *MockContainer_GetLifecyclePreUpdateCommand_Call
func (*MockContainer_GetLifecyclePreUpdateCommand_Call) RunAndReturn ¶
func (_c *MockContainer_GetLifecyclePreUpdateCommand_Call) RunAndReturn(run func() string) *MockContainer_GetLifecyclePreUpdateCommand_Call
type MockContainer_GetLifecycleUID_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 (_c *MockContainer_GetLifecycleUID_Call) Return(n int, b bool) *MockContainer_GetLifecycleUID_Call
func (*MockContainer_GetLifecycleUID_Call) Run ¶
func (_c *MockContainer_GetLifecycleUID_Call) Run(run func()) *MockContainer_GetLifecycleUID_Call
func (*MockContainer_GetLifecycleUID_Call) RunAndReturn ¶
func (_c *MockContainer_GetLifecycleUID_Call) RunAndReturn(run func() (int, bool)) *MockContainer_GetLifecycleUID_Call
type MockContainer_HasImageInfo_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 (_c *MockContainer_HasImageInfo_Call) Return(b bool) *MockContainer_HasImageInfo_Call
func (*MockContainer_HasImageInfo_Call) Run ¶
func (_c *MockContainer_HasImageInfo_Call) Run(run func()) *MockContainer_HasImageInfo_Call
func (*MockContainer_HasImageInfo_Call) RunAndReturn ¶
func (_c *MockContainer_HasImageInfo_Call) RunAndReturn(run func() bool) *MockContainer_HasImageInfo_Call
type MockContainer_ID_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 (_c *MockContainer_ID_Call) Return(containerID types.ContainerID) *MockContainer_ID_Call
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 ¶
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 (_c *MockContainer_ImageID_Call) Return(imageID types.ImageID) *MockContainer_ImageID_Call
func (*MockContainer_ImageID_Call) Run ¶
func (_c *MockContainer_ImageID_Call) Run(run func()) *MockContainer_ImageID_Call
func (*MockContainer_ImageID_Call) RunAndReturn ¶
func (_c *MockContainer_ImageID_Call) RunAndReturn(run func() types.ImageID) *MockContainer_ImageID_Call
type MockContainer_ImageInfo_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 (_c *MockContainer_ImageInfo_Call) Return(inspectResponse *image.InspectResponse) *MockContainer_ImageInfo_Call
func (*MockContainer_ImageInfo_Call) Run ¶
func (_c *MockContainer_ImageInfo_Call) Run(run func()) *MockContainer_ImageInfo_Call
func (*MockContainer_ImageInfo_Call) RunAndReturn ¶
func (_c *MockContainer_ImageInfo_Call) RunAndReturn(run func() *image.InspectResponse) *MockContainer_ImageInfo_Call
type MockContainer_ImageName_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 (_c *MockContainer_ImageName_Call) Return(s string) *MockContainer_ImageName_Call
func (*MockContainer_ImageName_Call) Run ¶
func (_c *MockContainer_ImageName_Call) Run(run func()) *MockContainer_ImageName_Call
func (*MockContainer_ImageName_Call) RunAndReturn ¶
func (_c *MockContainer_ImageName_Call) RunAndReturn(run func() string) *MockContainer_ImageName_Call
type MockContainer_IsLinkedToRestarting_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 (_c *MockContainer_IsLinkedToRestarting_Call) Return(b bool) *MockContainer_IsLinkedToRestarting_Call
func (*MockContainer_IsLinkedToRestarting_Call) Run ¶
func (_c *MockContainer_IsLinkedToRestarting_Call) Run(run func()) *MockContainer_IsLinkedToRestarting_Call
func (*MockContainer_IsLinkedToRestarting_Call) RunAndReturn ¶
func (_c *MockContainer_IsLinkedToRestarting_Call) RunAndReturn(run func() bool) *MockContainer_IsLinkedToRestarting_Call
type MockContainer_IsMonitorOnly_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 (_c *MockContainer_IsMonitorOnly_Call) Return(b bool) *MockContainer_IsMonitorOnly_Call
func (*MockContainer_IsMonitorOnly_Call) Run ¶
func (_c *MockContainer_IsMonitorOnly_Call) Run(run func(params types.UpdateParams)) *MockContainer_IsMonitorOnly_Call
func (*MockContainer_IsMonitorOnly_Call) RunAndReturn ¶
func (_c *MockContainer_IsMonitorOnly_Call) RunAndReturn(run func(params types.UpdateParams) bool) *MockContainer_IsMonitorOnly_Call
type MockContainer_IsNoPull_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 (_c *MockContainer_IsNoPull_Call) Return(b bool) *MockContainer_IsNoPull_Call
func (*MockContainer_IsNoPull_Call) Run ¶
func (_c *MockContainer_IsNoPull_Call) Run(run func(params types.UpdateParams)) *MockContainer_IsNoPull_Call
func (*MockContainer_IsNoPull_Call) RunAndReturn ¶
func (_c *MockContainer_IsNoPull_Call) RunAndReturn(run func(params types.UpdateParams) bool) *MockContainer_IsNoPull_Call
type MockContainer_IsRestarting_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 (_c *MockContainer_IsRestarting_Call) Return(b bool) *MockContainer_IsRestarting_Call
func (*MockContainer_IsRestarting_Call) Run ¶
func (_c *MockContainer_IsRestarting_Call) Run(run func()) *MockContainer_IsRestarting_Call
func (*MockContainer_IsRestarting_Call) RunAndReturn ¶
func (_c *MockContainer_IsRestarting_Call) RunAndReturn(run func() bool) *MockContainer_IsRestarting_Call
type MockContainer_IsRunning_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 (_c *MockContainer_IsRunning_Call) Return(b bool) *MockContainer_IsRunning_Call
func (*MockContainer_IsRunning_Call) Run ¶
func (_c *MockContainer_IsRunning_Call) Run(run func()) *MockContainer_IsRunning_Call
func (*MockContainer_IsRunning_Call) RunAndReturn ¶
func (_c *MockContainer_IsRunning_Call) RunAndReturn(run func() bool) *MockContainer_IsRunning_Call
type MockContainer_IsStale_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 (_c *MockContainer_IsStale_Call) Return(b bool) *MockContainer_IsStale_Call
func (*MockContainer_IsStale_Call) Run ¶
func (_c *MockContainer_IsStale_Call) Run(run func()) *MockContainer_IsStale_Call
func (*MockContainer_IsStale_Call) RunAndReturn ¶
func (_c *MockContainer_IsStale_Call) RunAndReturn(run func() bool) *MockContainer_IsStale_Call
type MockContainer_IsWatchtower_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 (_c *MockContainer_IsWatchtower_Call) Return(b bool) *MockContainer_IsWatchtower_Call
func (*MockContainer_IsWatchtower_Call) Run ¶
func (_c *MockContainer_IsWatchtower_Call) Run(run func()) *MockContainer_IsWatchtower_Call
func (*MockContainer_IsWatchtower_Call) RunAndReturn ¶
func (_c *MockContainer_IsWatchtower_Call) RunAndReturn(run func() bool) *MockContainer_IsWatchtower_Call
type MockContainer_Links_Call ¶
MockContainer_Links_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Links'
func (*MockContainer_Links_Call) Return ¶
func (_c *MockContainer_Links_Call) Return(strings []string) *MockContainer_Links_Call
func (*MockContainer_Links_Call) Run ¶
func (_c *MockContainer_Links_Call) Run(run func()) *MockContainer_Links_Call
func (*MockContainer_Links_Call) RunAndReturn ¶
func (_c *MockContainer_Links_Call) RunAndReturn(run func() []string) *MockContainer_Links_Call
type MockContainer_Name_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 (_c *MockContainer_Name_Call) Return(s string) *MockContainer_Name_Call
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 ¶
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 (_c *MockContainer_PostUpdateTimeout_Call) Return(n int) *MockContainer_PostUpdateTimeout_Call
func (*MockContainer_PostUpdateTimeout_Call) Run ¶
func (_c *MockContainer_PostUpdateTimeout_Call) Run(run func()) *MockContainer_PostUpdateTimeout_Call
func (*MockContainer_PostUpdateTimeout_Call) RunAndReturn ¶
func (_c *MockContainer_PostUpdateTimeout_Call) RunAndReturn(run func() int) *MockContainer_PostUpdateTimeout_Call
type MockContainer_PreUpdateTimeout_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 (_c *MockContainer_PreUpdateTimeout_Call) Return(n int) *MockContainer_PreUpdateTimeout_Call
func (*MockContainer_PreUpdateTimeout_Call) Run ¶
func (_c *MockContainer_PreUpdateTimeout_Call) Run(run func()) *MockContainer_PreUpdateTimeout_Call
func (*MockContainer_PreUpdateTimeout_Call) RunAndReturn ¶
func (_c *MockContainer_PreUpdateTimeout_Call) RunAndReturn(run func() int) *MockContainer_PreUpdateTimeout_Call
type MockContainer_Scope_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 (_c *MockContainer_Scope_Call) Return(s string, b bool) *MockContainer_Scope_Call
func (*MockContainer_Scope_Call) Run ¶
func (_c *MockContainer_Scope_Call) Run(run func()) *MockContainer_Scope_Call
func (*MockContainer_Scope_Call) RunAndReturn ¶
func (_c *MockContainer_Scope_Call) RunAndReturn(run func() (string, bool)) *MockContainer_Scope_Call
type MockContainer_SetLinkedToRestarting_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 (_c *MockContainer_SetLinkedToRestarting_Call) Return() *MockContainer_SetLinkedToRestarting_Call
func (*MockContainer_SetLinkedToRestarting_Call) Run ¶
func (_c *MockContainer_SetLinkedToRestarting_Call) Run(run func(status bool)) *MockContainer_SetLinkedToRestarting_Call
func (*MockContainer_SetLinkedToRestarting_Call) RunAndReturn ¶
func (_c *MockContainer_SetLinkedToRestarting_Call) RunAndReturn(run func(status bool)) *MockContainer_SetLinkedToRestarting_Call
type MockContainer_SetStale_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 (_c *MockContainer_SetStale_Call) Return() *MockContainer_SetStale_Call
func (*MockContainer_SetStale_Call) Run ¶
func (_c *MockContainer_SetStale_Call) Run(run func(status bool)) *MockContainer_SetStale_Call
func (*MockContainer_SetStale_Call) RunAndReturn ¶
func (_c *MockContainer_SetStale_Call) RunAndReturn(run func(status bool)) *MockContainer_SetStale_Call
type MockContainer_StopSignal_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 (_c *MockContainer_StopSignal_Call) Return(s string) *MockContainer_StopSignal_Call
func (*MockContainer_StopSignal_Call) Run ¶
func (_c *MockContainer_StopSignal_Call) Run(run func()) *MockContainer_StopSignal_Call
func (*MockContainer_StopSignal_Call) RunAndReturn ¶
func (_c *MockContainer_StopSignal_Call) RunAndReturn(run func() string) *MockContainer_StopSignal_Call
type MockContainer_StopTimeout_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 (_c *MockContainer_StopTimeout_Call) Return(n *int) *MockContainer_StopTimeout_Call
func (*MockContainer_StopTimeout_Call) Run ¶
func (_c *MockContainer_StopTimeout_Call) Run(run func()) *MockContainer_StopTimeout_Call
func (*MockContainer_StopTimeout_Call) RunAndReturn ¶
func (_c *MockContainer_StopTimeout_Call) RunAndReturn(run func() *int) *MockContainer_StopTimeout_Call
type MockContainer_ToRestart_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 (_c *MockContainer_ToRestart_Call) Return(b bool) *MockContainer_ToRestart_Call
func (*MockContainer_ToRestart_Call) Run ¶
func (_c *MockContainer_ToRestart_Call) Run(run func()) *MockContainer_ToRestart_Call
func (*MockContainer_ToRestart_Call) RunAndReturn ¶
func (_c *MockContainer_ToRestart_Call) RunAndReturn(run func() bool) *MockContainer_ToRestart_Call
type MockContainer_VerifyConfiguration_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 (_c *MockContainer_VerifyConfiguration_Call) Return(err error) *MockContainer_VerifyConfiguration_Call
func (*MockContainer_VerifyConfiguration_Call) Run ¶
func (_c *MockContainer_VerifyConfiguration_Call) Run(run func()) *MockContainer_VerifyConfiguration_Call
func (*MockContainer_VerifyConfiguration_Call) RunAndReturn ¶
func (_c *MockContainer_VerifyConfiguration_Call) RunAndReturn(run func() error) *MockContainer_VerifyConfiguration_Call
type MockConvertibleNotifier ¶
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 (_m *MockConvertibleNotifier) EXPECT() *MockConvertibleNotifier_Expecter
type MockConvertibleNotifier_Expecter ¶
type MockConvertibleNotifier_Expecter struct {
// contains filtered or unexported fields
}
func (*MockConvertibleNotifier_Expecter) GetURL ¶
func (_e *MockConvertibleNotifier_Expecter) GetURL(c interface{}) *MockConvertibleNotifier_GetURL_Call
GetURL is a helper method to define mock.On call
- c *cobra.Command
type MockConvertibleNotifier_GetURL_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 (_c *MockConvertibleNotifier_GetURL_Call) Return(s string, err error) *MockConvertibleNotifier_GetURL_Call
func (*MockConvertibleNotifier_GetURL_Call) Run ¶
func (_c *MockConvertibleNotifier_GetURL_Call) Run(run func(c *cobra.Command)) *MockConvertibleNotifier_GetURL_Call
func (*MockConvertibleNotifier_GetURL_Call) RunAndReturn ¶
func (_c *MockConvertibleNotifier_GetURL_Call) RunAndReturn(run func(c *cobra.Command) (string, error)) *MockConvertibleNotifier_GetURL_Call
type MockDelayNotifier ¶
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 (_m *MockDelayNotifier) EXPECT() *MockDelayNotifier_Expecter
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 ¶
func (_e *MockDelayNotifier_Expecter) GetDelay() *MockDelayNotifier_GetDelay_Call
GetDelay is a helper method to define mock.On call
type MockDelayNotifier_GetDelay_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 (_c *MockDelayNotifier_GetDelay_Call) Return(duration time.Duration) *MockDelayNotifier_GetDelay_Call
func (*MockDelayNotifier_GetDelay_Call) Run ¶
func (_c *MockDelayNotifier_GetDelay_Call) Run(run func()) *MockDelayNotifier_GetDelay_Call
func (*MockDelayNotifier_GetDelay_Call) RunAndReturn ¶
func (_c *MockDelayNotifier_GetDelay_Call) RunAndReturn(run func() time.Duration) *MockDelayNotifier_GetDelay_Call
type MockFilter ¶
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 ¶
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 (_c *MockFilter_Execute_Call) Return(_a0 bool) *MockFilter_Execute_Call
func (*MockFilter_Execute_Call) Run ¶
func (_c *MockFilter_Execute_Call) Run(run func(_a0 types.FilterableContainer)) *MockFilter_Execute_Call
func (*MockFilter_Execute_Call) RunAndReturn ¶
func (_c *MockFilter_Execute_Call) RunAndReturn(run func(types.FilterableContainer) bool) *MockFilter_Execute_Call
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 ¶
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 (_m *MockFilterableContainer) EXPECT() *MockFilterableContainer_Expecter
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 ¶
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 (_c *MockFilterableContainer_Enabled_Call) Return(b bool, b1 bool) *MockFilterableContainer_Enabled_Call
func (*MockFilterableContainer_Enabled_Call) Run ¶
func (_c *MockFilterableContainer_Enabled_Call) Run(run func()) *MockFilterableContainer_Enabled_Call
func (*MockFilterableContainer_Enabled_Call) RunAndReturn ¶
func (_c *MockFilterableContainer_Enabled_Call) RunAndReturn(run func() (bool, bool)) *MockFilterableContainer_Enabled_Call
type MockFilterableContainer_Expecter ¶
type MockFilterableContainer_Expecter struct {
// contains filtered or unexported fields
}
func (*MockFilterableContainer_Expecter) Enabled ¶
func (_e *MockFilterableContainer_Expecter) Enabled() *MockFilterableContainer_Enabled_Call
Enabled is a helper method to define mock.On call
func (*MockFilterableContainer_Expecter) ImageName ¶
func (_e *MockFilterableContainer_Expecter) ImageName() *MockFilterableContainer_ImageName_Call
ImageName is a helper method to define mock.On call
func (*MockFilterableContainer_Expecter) IsWatchtower ¶
func (_e *MockFilterableContainer_Expecter) IsWatchtower() *MockFilterableContainer_IsWatchtower_Call
IsWatchtower is a helper method to define mock.On call
func (*MockFilterableContainer_Expecter) Name ¶
func (_e *MockFilterableContainer_Expecter) Name() *MockFilterableContainer_Name_Call
Name is a helper method to define mock.On call
func (*MockFilterableContainer_Expecter) Scope ¶
func (_e *MockFilterableContainer_Expecter) Scope() *MockFilterableContainer_Scope_Call
Scope is a helper method to define mock.On call
type MockFilterableContainer_ImageName_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 (_c *MockFilterableContainer_ImageName_Call) Return(s string) *MockFilterableContainer_ImageName_Call
func (*MockFilterableContainer_ImageName_Call) Run ¶
func (_c *MockFilterableContainer_ImageName_Call) Run(run func()) *MockFilterableContainer_ImageName_Call
func (*MockFilterableContainer_ImageName_Call) RunAndReturn ¶
func (_c *MockFilterableContainer_ImageName_Call) RunAndReturn(run func() string) *MockFilterableContainer_ImageName_Call
type MockFilterableContainer_IsWatchtower_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 (_c *MockFilterableContainer_IsWatchtower_Call) Return(b bool) *MockFilterableContainer_IsWatchtower_Call
func (*MockFilterableContainer_IsWatchtower_Call) Run ¶
func (_c *MockFilterableContainer_IsWatchtower_Call) Run(run func()) *MockFilterableContainer_IsWatchtower_Call
func (*MockFilterableContainer_IsWatchtower_Call) RunAndReturn ¶
func (_c *MockFilterableContainer_IsWatchtower_Call) RunAndReturn(run func() bool) *MockFilterableContainer_IsWatchtower_Call
type MockFilterableContainer_Name_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 (_c *MockFilterableContainer_Name_Call) Return(s string) *MockFilterableContainer_Name_Call
func (*MockFilterableContainer_Name_Call) Run ¶
func (_c *MockFilterableContainer_Name_Call) Run(run func()) *MockFilterableContainer_Name_Call
func (*MockFilterableContainer_Name_Call) RunAndReturn ¶
func (_c *MockFilterableContainer_Name_Call) RunAndReturn(run func() string) *MockFilterableContainer_Name_Call
type MockFilterableContainer_Scope_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 (_c *MockFilterableContainer_Scope_Call) Return(s string, b bool) *MockFilterableContainer_Scope_Call
func (*MockFilterableContainer_Scope_Call) Run ¶
func (_c *MockFilterableContainer_Scope_Call) Run(run func()) *MockFilterableContainer_Scope_Call
func (*MockFilterableContainer_Scope_Call) RunAndReturn ¶
func (_c *MockFilterableContainer_Scope_Call) RunAndReturn(run func() (string, bool)) *MockFilterableContainer_Scope_Call
type MockImageInspector ¶
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 (_m *MockImageInspector) EXPECT() *MockImageInspector_Expecter
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 ¶
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 (_c *MockImageInspector_ImageInspectWithRaw_Call) Return(inspectResponse image.InspectResponse, bytes []byte, err error) *MockImageInspector_ImageInspectWithRaw_Call
func (*MockImageInspector_ImageInspectWithRaw_Call) Run ¶
func (_c *MockImageInspector_ImageInspectWithRaw_Call) Run(run func(ctx context.Context, image1 string)) *MockImageInspector_ImageInspectWithRaw_Call
func (*MockImageInspector_ImageInspectWithRaw_Call) RunAndReturn ¶
func (_c *MockImageInspector_ImageInspectWithRaw_Call) RunAndReturn(run func(ctx context.Context, image1 string) (image.InspectResponse, []byte, error)) *MockImageInspector_ImageInspectWithRaw_Call
type MockNotifier ¶
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 ¶
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 (_c *MockNotifier_AddLogHook_Call) Return() *MockNotifier_AddLogHook_Call
func (*MockNotifier_AddLogHook_Call) Run ¶
func (_c *MockNotifier_AddLogHook_Call) Run(run func()) *MockNotifier_AddLogHook_Call
func (*MockNotifier_AddLogHook_Call) RunAndReturn ¶
func (_c *MockNotifier_AddLogHook_Call) RunAndReturn(run func()) *MockNotifier_AddLogHook_Call
type MockNotifier_Close_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 (_c *MockNotifier_Close_Call) Return() *MockNotifier_Close_Call
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 ¶
func (_e *MockNotifier_Expecter) AddLogHook() *MockNotifier_AddLogHook_Call
AddLogHook is a helper method to define mock.On call
func (*MockNotifier_Expecter) Close ¶
func (_e *MockNotifier_Expecter) Close() *MockNotifier_Close_Call
Close is a helper method to define mock.On call
func (*MockNotifier_Expecter) GetEntries ¶
func (_e *MockNotifier_Expecter) GetEntries() *MockNotifier_GetEntries_Call
GetEntries is a helper method to define mock.On call
func (*MockNotifier_Expecter) GetNames ¶
func (_e *MockNotifier_Expecter) GetNames() *MockNotifier_GetNames_Call
GetNames is a helper method to define mock.On call
func (*MockNotifier_Expecter) GetURLs ¶
func (_e *MockNotifier_Expecter) GetURLs() *MockNotifier_GetURLs_Call
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 ¶
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 (_c *MockNotifier_GetEntries_Call) Return(entrys []*logrus.Entry) *MockNotifier_GetEntries_Call
func (*MockNotifier_GetEntries_Call) Run ¶
func (_c *MockNotifier_GetEntries_Call) Run(run func()) *MockNotifier_GetEntries_Call
func (*MockNotifier_GetEntries_Call) RunAndReturn ¶
func (_c *MockNotifier_GetEntries_Call) RunAndReturn(run func() []*logrus.Entry) *MockNotifier_GetEntries_Call
type MockNotifier_GetNames_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 (_c *MockNotifier_GetNames_Call) Return(strings []string) *MockNotifier_GetNames_Call
func (*MockNotifier_GetNames_Call) Run ¶
func (_c *MockNotifier_GetNames_Call) Run(run func()) *MockNotifier_GetNames_Call
func (*MockNotifier_GetNames_Call) RunAndReturn ¶
func (_c *MockNotifier_GetNames_Call) RunAndReturn(run func() []string) *MockNotifier_GetNames_Call
type MockNotifier_GetURLs_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 (_c *MockNotifier_GetURLs_Call) Return(strings []string) *MockNotifier_GetURLs_Call
func (*MockNotifier_GetURLs_Call) Run ¶
func (_c *MockNotifier_GetURLs_Call) Run(run func()) *MockNotifier_GetURLs_Call
func (*MockNotifier_GetURLs_Call) RunAndReturn ¶
func (_c *MockNotifier_GetURLs_Call) RunAndReturn(run func() []string) *MockNotifier_GetURLs_Call
type MockNotifier_SendFilteredEntries_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 (_c *MockNotifier_SendFilteredEntries_Call) Return() *MockNotifier_SendFilteredEntries_Call
func (*MockNotifier_SendFilteredEntries_Call) Run ¶
func (_c *MockNotifier_SendFilteredEntries_Call) Run(run func(entries []*logrus.Entry, report types.Report)) *MockNotifier_SendFilteredEntries_Call
func (*MockNotifier_SendFilteredEntries_Call) RunAndReturn ¶
func (_c *MockNotifier_SendFilteredEntries_Call) RunAndReturn(run func(entries []*logrus.Entry, report types.Report)) *MockNotifier_SendFilteredEntries_Call
type MockNotifier_SendNotification_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 (_c *MockNotifier_SendNotification_Call) Return() *MockNotifier_SendNotification_Call
func (*MockNotifier_SendNotification_Call) Run ¶
func (_c *MockNotifier_SendNotification_Call) Run(run func(reportType types.Report)) *MockNotifier_SendNotification_Call
func (*MockNotifier_SendNotification_Call) RunAndReturn ¶
func (_c *MockNotifier_SendNotification_Call) RunAndReturn(run func(reportType types.Report)) *MockNotifier_SendNotification_Call
type MockNotifier_ShouldSendNotification_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 (_c *MockNotifier_ShouldSendNotification_Call) Return(b bool) *MockNotifier_ShouldSendNotification_Call
func (*MockNotifier_ShouldSendNotification_Call) Run ¶
func (_c *MockNotifier_ShouldSendNotification_Call) Run(run func(report types.Report)) *MockNotifier_ShouldSendNotification_Call
func (*MockNotifier_ShouldSendNotification_Call) RunAndReturn ¶
func (_c *MockNotifier_ShouldSendNotification_Call) RunAndReturn(run func(report types.Report) bool) *MockNotifier_ShouldSendNotification_Call
type MockNotifier_StartNotification_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 (_c *MockNotifier_StartNotification_Call) Return() *MockNotifier_StartNotification_Call
func (*MockNotifier_StartNotification_Call) Run ¶
func (_c *MockNotifier_StartNotification_Call) Run(run func(suppressSummary bool)) *MockNotifier_StartNotification_Call
func (*MockNotifier_StartNotification_Call) RunAndReturn ¶
func (_c *MockNotifier_StartNotification_Call) RunAndReturn(run func(suppressSummary bool)) *MockNotifier_StartNotification_Call
type MockReport ¶
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 ¶
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 ¶
func (_e *MockReport_Expecter) All() *MockReport_All_Call
All is a helper method to define mock.On call
func (*MockReport_Expecter) Failed ¶
func (_e *MockReport_Expecter) Failed() *MockReport_Failed_Call
Failed is a helper method to define mock.On call
func (*MockReport_Expecter) Fresh ¶
func (_e *MockReport_Expecter) Fresh() *MockReport_Fresh_Call
Fresh is a helper method to define mock.On call
func (*MockReport_Expecter) Restarted ¶
func (_e *MockReport_Expecter) Restarted() *MockReport_Restarted_Call
Restarted is a helper method to define mock.On call
func (*MockReport_Expecter) Scanned ¶
func (_e *MockReport_Expecter) Scanned() *MockReport_Scanned_Call
Scanned is a helper method to define mock.On call
func (*MockReport_Expecter) Skipped ¶
func (_e *MockReport_Expecter) Skipped() *MockReport_Skipped_Call
Skipped is a helper method to define mock.On call
func (*MockReport_Expecter) Stale ¶
func (_e *MockReport_Expecter) Stale() *MockReport_Stale_Call
Stale is a helper method to define mock.On call
func (*MockReport_Expecter) Updated ¶
func (_e *MockReport_Expecter) Updated() *MockReport_Updated_Call
Updated is a helper method to define mock.On call
type MockReport_Failed_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 ¶
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 ¶
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 (_c *MockReport_Restarted_Call) Return(containerReports []types.ContainerReport) *MockReport_Restarted_Call
func (*MockReport_Restarted_Call) Run ¶
func (_c *MockReport_Restarted_Call) Run(run func()) *MockReport_Restarted_Call
func (*MockReport_Restarted_Call) RunAndReturn ¶
func (_c *MockReport_Restarted_Call) RunAndReturn(run func() []types.ContainerReport) *MockReport_Restarted_Call
type MockReport_Scanned_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 ¶
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 ¶
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 ¶
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