Documentation ¶
Index ¶
- type MockAzureDevopsRequestValidator
- func (mock *MockAzureDevopsRequestValidator) FailHandler() pegomock.FailHandler
- func (mock *MockAzureDevopsRequestValidator) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockAzureDevopsRequestValidator) Validate(_param0 *http.Request, _param1 []byte, _param2 []byte) ([]byte, error)
- func (mock *MockAzureDevopsRequestValidator) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockAzureDevopsRequestValidator
- func (mock *MockAzureDevopsRequestValidator) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockAzureDevopsRequestValidator
- func (mock *MockAzureDevopsRequestValidator) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockAzureDevopsRequestValidator
- func (mock *MockAzureDevopsRequestValidator) VerifyWasCalledOnce() *VerifierMockAzureDevopsRequestValidator
- type MockAzureDevopsRequestValidator_Validate_OngoingVerification
- type MockGithubRequestValidator
- func (mock *MockGithubRequestValidator) FailHandler() pegomock.FailHandler
- func (mock *MockGithubRequestValidator) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockGithubRequestValidator) Validate(_param0 *http.Request, _param1 []byte) ([]byte, error)
- func (mock *MockGithubRequestValidator) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockGithubRequestValidator
- func (mock *MockGithubRequestValidator) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockGithubRequestValidator
- func (mock *MockGithubRequestValidator) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockGithubRequestValidator
- func (mock *MockGithubRequestValidator) VerifyWasCalledOnce() *VerifierMockGithubRequestValidator
- type MockGithubRequestValidator_Validate_OngoingVerification
- type MockGitlabRequestParserValidator
- func (mock *MockGitlabRequestParserValidator) FailHandler() pegomock.FailHandler
- func (mock *MockGitlabRequestParserValidator) ParseAndValidate(_param0 *http.Request, _param1 []byte) (interface{}, error)
- func (mock *MockGitlabRequestParserValidator) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockGitlabRequestParserValidator) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockGitlabRequestParserValidator
- func (mock *MockGitlabRequestParserValidator) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockGitlabRequestParserValidator
- func (mock *MockGitlabRequestParserValidator) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockGitlabRequestParserValidator
- func (mock *MockGitlabRequestParserValidator) VerifyWasCalledOnce() *VerifierMockGitlabRequestParserValidator
- type MockGitlabRequestParserValidator_ParseAndValidate_OngoingVerification
- type VerifierMockAzureDevopsRequestValidator
- type VerifierMockGithubRequestValidator
- type VerifierMockGitlabRequestParserValidator
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 (mock *MockAzureDevopsRequestValidator) FailHandler() pegomock.FailHandler
func (*MockAzureDevopsRequestValidator) SetFailHandler ¶
func (mock *MockAzureDevopsRequestValidator) SetFailHandler(fh pegomock.FailHandler)
func (*MockAzureDevopsRequestValidator) VerifyWasCalled ¶
func (mock *MockAzureDevopsRequestValidator) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockAzureDevopsRequestValidator
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 ¶
func (mock *MockAzureDevopsRequestValidator) VerifyWasCalledOnce() *VerifierMockAzureDevopsRequestValidator
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 ¶
func (c *MockAzureDevopsRequestValidator_Validate_OngoingVerification) GetCapturedArguments() (*http.Request, []byte, []byte)
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) VerifyWasCalled ¶
func (mock *MockGithubRequestValidator) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockGithubRequestValidator
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 ¶
func (mock *MockGithubRequestValidator) VerifyWasCalledOnce() *VerifierMockGithubRequestValidator
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 ¶
func (c *MockGithubRequestValidator_Validate_OngoingVerification) GetCapturedArguments() (*http.Request, []byte)
type MockGitlabRequestParserValidator ¶
type MockGitlabRequestParserValidator struct {
// contains filtered or unexported fields
}
func NewMockGitlabRequestParserValidator ¶
func NewMockGitlabRequestParserValidator(options ...pegomock.Option) *MockGitlabRequestParserValidator
func (*MockGitlabRequestParserValidator) FailHandler ¶
func (mock *MockGitlabRequestParserValidator) FailHandler() pegomock.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 (mock *MockGitlabRequestParserValidator) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockGitlabRequestParserValidator
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 ¶
func (mock *MockGitlabRequestParserValidator) VerifyWasCalledOnce() *VerifierMockGitlabRequestParserValidator
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 ¶
func (c *MockGitlabRequestParserValidator_ParseAndValidate_OngoingVerification) GetCapturedArguments() (*http.Request, []byte)
type VerifierMockAzureDevopsRequestValidator ¶
type VerifierMockAzureDevopsRequestValidator struct {
// contains filtered or unexported fields
}
func (*VerifierMockAzureDevopsRequestValidator) Validate ¶
func (verifier *VerifierMockAzureDevopsRequestValidator) Validate(_param0 *http.Request, _param1 []byte, _param2 []byte) *MockAzureDevopsRequestValidator_Validate_OngoingVerification
type VerifierMockGithubRequestValidator ¶
type VerifierMockGithubRequestValidator struct {
// contains filtered or unexported fields
}
func (*VerifierMockGithubRequestValidator) Validate ¶
func (verifier *VerifierMockGithubRequestValidator) Validate(_param0 *http.Request, _param1 []byte) *MockGithubRequestValidator_Validate_OngoingVerification
type VerifierMockGitlabRequestParserValidator ¶
type VerifierMockGitlabRequestParserValidator struct {
// contains filtered or unexported fields
}
func (*VerifierMockGitlabRequestParserValidator) ParseAndValidate ¶
func (verifier *VerifierMockGitlabRequestParserValidator) ParseAndValidate(_param0 *http.Request, _param1 []byte) *MockGitlabRequestParserValidator_ParseAndValidate_OngoingVerification
Source Files ¶
Click to show internal directories.
Click to hide internal directories.