mortemsfakes

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: May 12, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeGitService

type FakeGitService struct {
	CommitNewFilesStub func(*mortems.RepoFiles) error

	GetFilesStub func() (*mortems.RepoFiles, error)
	// contains filtered or unexported fields
}

func (*FakeGitService) CommitNewFiles

func (fake *FakeGitService) CommitNewFiles(arg1 *mortems.RepoFiles) error

func (*FakeGitService) CommitNewFilesArgsForCall

func (fake *FakeGitService) CommitNewFilesArgsForCall(i int) *mortems.RepoFiles

func (*FakeGitService) CommitNewFilesCallCount

func (fake *FakeGitService) CommitNewFilesCallCount() int

func (*FakeGitService) CommitNewFilesCalls

func (fake *FakeGitService) CommitNewFilesCalls(stub func(*mortems.RepoFiles) error)

func (*FakeGitService) CommitNewFilesReturns

func (fake *FakeGitService) CommitNewFilesReturns(result1 error)

func (*FakeGitService) CommitNewFilesReturnsOnCall

func (fake *FakeGitService) CommitNewFilesReturnsOnCall(i int, result1 error)

func (*FakeGitService) GetFiles

func (fake *FakeGitService) GetFiles() (*mortems.RepoFiles, error)

func (*FakeGitService) GetFilesCallCount

func (fake *FakeGitService) GetFilesCallCount() int

func (*FakeGitService) GetFilesCalls

func (fake *FakeGitService) GetFilesCalls(stub func() (*mortems.RepoFiles, error))

func (*FakeGitService) GetFilesReturns

func (fake *FakeGitService) GetFilesReturns(result1 *mortems.RepoFiles, result2 error)

func (*FakeGitService) GetFilesReturnsOnCall

func (fake *FakeGitService) GetFilesReturnsOnCall(i int, result1 *mortems.RepoFiles, result2 error)

func (*FakeGitService) Invocations

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

type FakeRepoFileService

type FakeRepoFileService struct {
	CommitNewFilesStub func(*mortems.RepoFiles) error

	GetFilesStub func() (*mortems.RepoFiles, error)
	// contains filtered or unexported fields
}

func (*FakeRepoFileService) CommitNewFiles

func (fake *FakeRepoFileService) CommitNewFiles(arg1 *mortems.RepoFiles) error

func (*FakeRepoFileService) CommitNewFilesArgsForCall

func (fake *FakeRepoFileService) CommitNewFilesArgsForCall(i int) *mortems.RepoFiles

func (*FakeRepoFileService) CommitNewFilesCallCount

func (fake *FakeRepoFileService) CommitNewFilesCallCount() int

func (*FakeRepoFileService) CommitNewFilesCalls

func (fake *FakeRepoFileService) CommitNewFilesCalls(stub func(*mortems.RepoFiles) error)

func (*FakeRepoFileService) CommitNewFilesReturns

func (fake *FakeRepoFileService) CommitNewFilesReturns(result1 error)

func (*FakeRepoFileService) CommitNewFilesReturnsOnCall

func (fake *FakeRepoFileService) CommitNewFilesReturnsOnCall(i int, result1 error)

func (*FakeRepoFileService) GetFiles

func (fake *FakeRepoFileService) GetFiles() (*mortems.RepoFiles, error)

func (*FakeRepoFileService) GetFilesCallCount

func (fake *FakeRepoFileService) GetFilesCallCount() int

func (*FakeRepoFileService) GetFilesCalls

func (fake *FakeRepoFileService) GetFilesCalls(stub func() (*mortems.RepoFiles, error))

func (*FakeRepoFileService) GetFilesReturns

func (fake *FakeRepoFileService) GetFilesReturns(result1 *mortems.RepoFiles, result2 error)

func (*FakeRepoFileService) GetFilesReturnsOnCall

func (fake *FakeRepoFileService) GetFilesReturnsOnCall(i int, result1 *mortems.RepoFiles, result2 error)

func (*FakeRepoFileService) Invocations

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

type FakeReportingService added in v1.2.1

type FakeReportingService struct {
	ReportDetectStub func(time.Duration, string) error

	ReportDowntimeStub func(time.Duration, string) error

	ReportResolveStub func(time.Duration, string) error

	ReportSeverityStub func(string) error
	// contains filtered or unexported fields
}

func (*FakeReportingService) Invocations added in v1.2.1

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

func (*FakeReportingService) ReportDetect added in v1.2.1

func (fake *FakeReportingService) ReportDetect(arg1 time.Duration, arg2 string) error

func (*FakeReportingService) ReportDetectArgsForCall added in v1.2.1

func (fake *FakeReportingService) ReportDetectArgsForCall(i int) (time.Duration, string)

func (*FakeReportingService) ReportDetectCallCount added in v1.2.1

func (fake *FakeReportingService) ReportDetectCallCount() int

func (*FakeReportingService) ReportDetectCalls added in v1.2.1

func (fake *FakeReportingService) ReportDetectCalls(stub func(time.Duration, string) error)

func (*FakeReportingService) ReportDetectReturns added in v1.2.1

func (fake *FakeReportingService) ReportDetectReturns(result1 error)

func (*FakeReportingService) ReportDetectReturnsOnCall added in v1.2.1

func (fake *FakeReportingService) ReportDetectReturnsOnCall(i int, result1 error)

func (*FakeReportingService) ReportDowntime added in v1.2.1

func (fake *FakeReportingService) ReportDowntime(arg1 time.Duration, arg2 string) error

func (*FakeReportingService) ReportDowntimeArgsForCall added in v1.2.1

func (fake *FakeReportingService) ReportDowntimeArgsForCall(i int) (time.Duration, string)

func (*FakeReportingService) ReportDowntimeCallCount added in v1.2.1

func (fake *FakeReportingService) ReportDowntimeCallCount() int

func (*FakeReportingService) ReportDowntimeCalls added in v1.2.1

func (fake *FakeReportingService) ReportDowntimeCalls(stub func(time.Duration, string) error)

func (*FakeReportingService) ReportDowntimeReturns added in v1.2.1

func (fake *FakeReportingService) ReportDowntimeReturns(result1 error)

func (*FakeReportingService) ReportDowntimeReturnsOnCall added in v1.2.1

func (fake *FakeReportingService) ReportDowntimeReturnsOnCall(i int, result1 error)

func (*FakeReportingService) ReportResolve added in v1.2.1

func (fake *FakeReportingService) ReportResolve(arg1 time.Duration, arg2 string) error

func (*FakeReportingService) ReportResolveArgsForCall added in v1.2.1

func (fake *FakeReportingService) ReportResolveArgsForCall(i int) (time.Duration, string)

func (*FakeReportingService) ReportResolveCallCount added in v1.2.1

func (fake *FakeReportingService) ReportResolveCallCount() int

func (*FakeReportingService) ReportResolveCalls added in v1.2.1

func (fake *FakeReportingService) ReportResolveCalls(stub func(time.Duration, string) error)

func (*FakeReportingService) ReportResolveReturns added in v1.2.1

func (fake *FakeReportingService) ReportResolveReturns(result1 error)

func (*FakeReportingService) ReportResolveReturnsOnCall added in v1.2.1

func (fake *FakeReportingService) ReportResolveReturnsOnCall(i int, result1 error)

func (*FakeReportingService) ReportSeverity added in v1.2.1

func (fake *FakeReportingService) ReportSeverity(arg1 string) error

func (*FakeReportingService) ReportSeverityArgsForCall added in v1.2.1

func (fake *FakeReportingService) ReportSeverityArgsForCall(i int) string

func (*FakeReportingService) ReportSeverityCallCount added in v1.2.1

func (fake *FakeReportingService) ReportSeverityCallCount() int

func (*FakeReportingService) ReportSeverityCalls added in v1.2.1

func (fake *FakeReportingService) ReportSeverityCalls(stub func(string) error)

func (*FakeReportingService) ReportSeverityReturns added in v1.2.1

func (fake *FakeReportingService) ReportSeverityReturns(result1 error)

func (*FakeReportingService) ReportSeverityReturnsOnCall added in v1.2.1

func (fake *FakeReportingService) ReportSeverityReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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