mocks

package
v0.19.8 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockProjectCommandOutputHandler

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

func NewMockProjectCommandOutputHandler

func NewMockProjectCommandOutputHandler(options ...pegomock.Option) *MockProjectCommandOutputHandler

func (*MockProjectCommandOutputHandler) CleanUp

func (mock *MockProjectCommandOutputHandler) CleanUp(_param0 jobs.PullInfo)

func (*MockProjectCommandOutputHandler) Deregister

func (mock *MockProjectCommandOutputHandler) Deregister(_param0 string, _param1 chan string)

func (*MockProjectCommandOutputHandler) FailHandler

func (*MockProjectCommandOutputHandler) Handle

func (mock *MockProjectCommandOutputHandler) Handle()

func (*MockProjectCommandOutputHandler) IsKeyExists

func (mock *MockProjectCommandOutputHandler) IsKeyExists(_param0 string) bool

func (*MockProjectCommandOutputHandler) Register

func (mock *MockProjectCommandOutputHandler) Register(_param0 string, _param1 chan string)

func (*MockProjectCommandOutputHandler) Send

func (mock *MockProjectCommandOutputHandler) Send(_param0 command.ProjectContext, _param1 string, _param2 bool)

func (*MockProjectCommandOutputHandler) SetFailHandler

func (mock *MockProjectCommandOutputHandler) SetFailHandler(fh pegomock.FailHandler)

func (*MockProjectCommandOutputHandler) VerifyWasCalled

func (*MockProjectCommandOutputHandler) VerifyWasCalledEventually

func (mock *MockProjectCommandOutputHandler) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockProjectCommandOutputHandler

func (*MockProjectCommandOutputHandler) VerifyWasCalledInOrder

func (mock *MockProjectCommandOutputHandler) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockProjectCommandOutputHandler

func (*MockProjectCommandOutputHandler) VerifyWasCalledOnce

type MockProjectCommandOutputHandler_CleanUp_OngoingVerification

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

func (*MockProjectCommandOutputHandler_CleanUp_OngoingVerification) GetAllCapturedArguments

func (c *MockProjectCommandOutputHandler_CleanUp_OngoingVerification) GetAllCapturedArguments() (_param0 []jobs.PullInfo)

func (*MockProjectCommandOutputHandler_CleanUp_OngoingVerification) GetCapturedArguments

type MockProjectCommandOutputHandler_Deregister_OngoingVerification

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

func (*MockProjectCommandOutputHandler_Deregister_OngoingVerification) GetAllCapturedArguments

func (c *MockProjectCommandOutputHandler_Deregister_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []chan string)

func (*MockProjectCommandOutputHandler_Deregister_OngoingVerification) GetCapturedArguments

type MockProjectCommandOutputHandler_Handle_OngoingVerification

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

func (*MockProjectCommandOutputHandler_Handle_OngoingVerification) GetAllCapturedArguments

func (*MockProjectCommandOutputHandler_Handle_OngoingVerification) GetCapturedArguments

type MockProjectCommandOutputHandler_IsKeyExists_OngoingVerification

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

func (*MockProjectCommandOutputHandler_IsKeyExists_OngoingVerification) GetAllCapturedArguments

func (c *MockProjectCommandOutputHandler_IsKeyExists_OngoingVerification) GetAllCapturedArguments() (_param0 []string)

func (*MockProjectCommandOutputHandler_IsKeyExists_OngoingVerification) GetCapturedArguments

type MockProjectCommandOutputHandler_Register_OngoingVerification

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

func (*MockProjectCommandOutputHandler_Register_OngoingVerification) GetAllCapturedArguments

func (c *MockProjectCommandOutputHandler_Register_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []chan string)

func (*MockProjectCommandOutputHandler_Register_OngoingVerification) GetCapturedArguments

type MockProjectCommandOutputHandler_Send_OngoingVerification

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

func (*MockProjectCommandOutputHandler_Send_OngoingVerification) GetAllCapturedArguments

func (c *MockProjectCommandOutputHandler_Send_OngoingVerification) GetAllCapturedArguments() (_param0 []command.ProjectContext, _param1 []string, _param2 []bool)

func (*MockProjectCommandOutputHandler_Send_OngoingVerification) GetCapturedArguments

type MockProjectJobURLGenerator

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

func NewMockProjectJobURLGenerator

func NewMockProjectJobURLGenerator(options ...pegomock.Option) *MockProjectJobURLGenerator

func (*MockProjectJobURLGenerator) FailHandler

func (mock *MockProjectJobURLGenerator) FailHandler() pegomock.FailHandler

func (*MockProjectJobURLGenerator) GenerateProjectJobURL

func (mock *MockProjectJobURLGenerator) GenerateProjectJobURL(_param0 command.ProjectContext) (string, error)

func (*MockProjectJobURLGenerator) SetFailHandler

func (mock *MockProjectJobURLGenerator) SetFailHandler(fh pegomock.FailHandler)

func (*MockProjectJobURLGenerator) VerifyWasCalled

func (*MockProjectJobURLGenerator) VerifyWasCalledEventually

func (mock *MockProjectJobURLGenerator) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockProjectJobURLGenerator

func (*MockProjectJobURLGenerator) VerifyWasCalledInOrder

func (mock *MockProjectJobURLGenerator) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockProjectJobURLGenerator

func (*MockProjectJobURLGenerator) VerifyWasCalledOnce

type MockProjectJobURLGenerator_GenerateProjectJobURL_OngoingVerification

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

func (*MockProjectJobURLGenerator_GenerateProjectJobURL_OngoingVerification) GetAllCapturedArguments

func (*MockProjectJobURLGenerator_GenerateProjectJobURL_OngoingVerification) GetCapturedArguments

type MockProjectStatusUpdater

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

func NewMockProjectStatusUpdater

func NewMockProjectStatusUpdater(options ...pegomock.Option) *MockProjectStatusUpdater

func (*MockProjectStatusUpdater) FailHandler

func (mock *MockProjectStatusUpdater) FailHandler() pegomock.FailHandler

func (*MockProjectStatusUpdater) SetFailHandler

func (mock *MockProjectStatusUpdater) SetFailHandler(fh pegomock.FailHandler)

func (*MockProjectStatusUpdater) UpdateProject

func (mock *MockProjectStatusUpdater) UpdateProject(_param0 command.ProjectContext, _param1 command.Name, _param2 models.CommitStatus, _param3 string) error

func (*MockProjectStatusUpdater) VerifyWasCalled

func (mock *MockProjectStatusUpdater) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockProjectStatusUpdater

func (*MockProjectStatusUpdater) VerifyWasCalledEventually

func (mock *MockProjectStatusUpdater) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockProjectStatusUpdater

func (*MockProjectStatusUpdater) VerifyWasCalledInOrder

func (mock *MockProjectStatusUpdater) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockProjectStatusUpdater

func (*MockProjectStatusUpdater) VerifyWasCalledOnce

func (mock *MockProjectStatusUpdater) VerifyWasCalledOnce() *VerifierMockProjectStatusUpdater

type MockProjectStatusUpdater_UpdateProject_OngoingVerification

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

func (*MockProjectStatusUpdater_UpdateProject_OngoingVerification) GetAllCapturedArguments

func (c *MockProjectStatusUpdater_UpdateProject_OngoingVerification) GetAllCapturedArguments() (_param0 []command.ProjectContext, _param1 []command.Name, _param2 []models.CommitStatus, _param3 []string)

func (*MockProjectStatusUpdater_UpdateProject_OngoingVerification) GetCapturedArguments

type VerifierMockProjectCommandOutputHandler

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

func (*VerifierMockProjectCommandOutputHandler) CleanUp

func (*VerifierMockProjectCommandOutputHandler) Deregister

func (*VerifierMockProjectCommandOutputHandler) Handle

func (*VerifierMockProjectCommandOutputHandler) IsKeyExists

func (*VerifierMockProjectCommandOutputHandler) Register

func (*VerifierMockProjectCommandOutputHandler) Send

type VerifierMockProjectJobURLGenerator

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

func (*VerifierMockProjectJobURLGenerator) GenerateProjectJobURL

type VerifierMockProjectStatusUpdater

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

func (*VerifierMockProjectStatusUpdater) UpdateProject

Directories

Path Synopsis
Code generated by pegomock.
Code generated by pegomock.

Jump to

Keyboard shortcuts

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