mocks

package
v0.23.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAzureDevopsRequestValidator

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

func NewMockAzureDevopsRequestValidator

func NewMockAzureDevopsRequestValidator(options ...pegomock.Option) *MockAzureDevopsRequestValidator

func (*MockAzureDevopsRequestValidator) FailHandler

func (*MockAzureDevopsRequestValidator) SetFailHandler

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

func (*MockAzureDevopsRequestValidator) Validate

func (mock *MockAzureDevopsRequestValidator) Validate(_param0 *http.Request, _param1 []byte, _param2 []byte) ([]byte, error)

func (*MockAzureDevopsRequestValidator) VerifyWasCalled

func (*MockAzureDevopsRequestValidator) VerifyWasCalledEventually

func (mock *MockAzureDevopsRequestValidator) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockAzureDevopsRequestValidator

func (*MockAzureDevopsRequestValidator) VerifyWasCalledInOrder

func (mock *MockAzureDevopsRequestValidator) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockAzureDevopsRequestValidator

func (*MockAzureDevopsRequestValidator) VerifyWasCalledOnce

type MockAzureDevopsRequestValidator_Validate_OngoingVerification

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

func (*MockAzureDevopsRequestValidator_Validate_OngoingVerification) GetAllCapturedArguments

func (c *MockAzureDevopsRequestValidator_Validate_OngoingVerification) GetAllCapturedArguments() (_param0 []*http.Request, _param1 [][]byte, _param2 [][]byte)

func (*MockAzureDevopsRequestValidator_Validate_OngoingVerification) GetCapturedArguments

type MockGithubRequestValidator

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

func NewMockGithubRequestValidator

func NewMockGithubRequestValidator(options ...pegomock.Option) *MockGithubRequestValidator

func (*MockGithubRequestValidator) FailHandler

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

func (*MockGithubRequestValidator) SetFailHandler

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

func (*MockGithubRequestValidator) Validate

func (mock *MockGithubRequestValidator) Validate(_param0 *http.Request, _param1 []byte) ([]byte, error)

func (*MockGithubRequestValidator) VerifyWasCalled

func (*MockGithubRequestValidator) VerifyWasCalledEventually

func (mock *MockGithubRequestValidator) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockGithubRequestValidator

func (*MockGithubRequestValidator) VerifyWasCalledInOrder

func (mock *MockGithubRequestValidator) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockGithubRequestValidator

func (*MockGithubRequestValidator) VerifyWasCalledOnce

type MockGithubRequestValidator_Validate_OngoingVerification

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

func (*MockGithubRequestValidator_Validate_OngoingVerification) GetAllCapturedArguments

func (c *MockGithubRequestValidator_Validate_OngoingVerification) GetAllCapturedArguments() (_param0 []*http.Request, _param1 [][]byte)

func (*MockGithubRequestValidator_Validate_OngoingVerification) GetCapturedArguments

type MockGitlabRequestParserValidator

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

func NewMockGitlabRequestParserValidator

func NewMockGitlabRequestParserValidator(options ...pegomock.Option) *MockGitlabRequestParserValidator

func (*MockGitlabRequestParserValidator) FailHandler

func (*MockGitlabRequestParserValidator) ParseAndValidate

func (mock *MockGitlabRequestParserValidator) ParseAndValidate(_param0 *http.Request, _param1 []byte) (interface{}, error)

func (*MockGitlabRequestParserValidator) SetFailHandler

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

func (*MockGitlabRequestParserValidator) VerifyWasCalled

func (*MockGitlabRequestParserValidator) VerifyWasCalledEventually

func (mock *MockGitlabRequestParserValidator) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockGitlabRequestParserValidator

func (*MockGitlabRequestParserValidator) VerifyWasCalledInOrder

func (mock *MockGitlabRequestParserValidator) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockGitlabRequestParserValidator

func (*MockGitlabRequestParserValidator) VerifyWasCalledOnce

type MockGitlabRequestParserValidator_ParseAndValidate_OngoingVerification

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

func (*MockGitlabRequestParserValidator_ParseAndValidate_OngoingVerification) GetAllCapturedArguments

func (c *MockGitlabRequestParserValidator_ParseAndValidate_OngoingVerification) GetAllCapturedArguments() (_param0 []*http.Request, _param1 [][]byte)

func (*MockGitlabRequestParserValidator_ParseAndValidate_OngoingVerification) GetCapturedArguments

type VerifierMockAzureDevopsRequestValidator

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

func (*VerifierMockAzureDevopsRequestValidator) Validate

type VerifierMockGithubRequestValidator

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

func (*VerifierMockGithubRequestValidator) Validate

type VerifierMockGitlabRequestParserValidator

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

func (*VerifierMockGitlabRequestParserValidator) ParseAndValidate

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