Documentation ¶
Index ¶
- type MockAzureDevopsRequestValidator
- func (mock *MockAzureDevopsRequestValidator) FailHandler() pegomock.FailHandler
- func (mock *MockAzureDevopsRequestValidator) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockAzureDevopsRequestValidator) Validate(r *http.Request, user []byte, pass []byte) ([]byte, error)
- func (mock *MockAzureDevopsRequestValidator) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockAzureDevopsRequestValidator
- func (mock *MockAzureDevopsRequestValidator) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockAzureDevopsRequestValidator
- func (mock *MockAzureDevopsRequestValidator) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *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(r *http.Request, secret []byte) ([]byte, error)
- func (mock *MockGithubRequestValidator) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockGithubRequestValidator
- func (mock *MockGithubRequestValidator) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockGithubRequestValidator
- func (mock *MockGithubRequestValidator) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierMockGithubRequestValidator
- func (mock *MockGithubRequestValidator) VerifyWasCalledOnce() *VerifierMockGithubRequestValidator
- type MockGithubRequestValidator_Validate_OngoingVerification
- type MockGitlabRequestParserValidator
- func (mock *MockGitlabRequestParserValidator) FailHandler() pegomock.FailHandler
- func (mock *MockGitlabRequestParserValidator) ParseAndValidate(r *http.Request, secret []byte) (interface{}, error)
- func (mock *MockGitlabRequestParserValidator) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockGitlabRequestParserValidator) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockGitlabRequestParserValidator
- func (mock *MockGitlabRequestParserValidator) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockGitlabRequestParserValidator
- func (mock *MockGitlabRequestParserValidator) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierMockGitlabRequestParserValidator
- func (mock *MockGitlabRequestParserValidator) VerifyWasCalledOnce() *VerifierMockGitlabRequestParserValidator
- type MockGitlabRequestParserValidator_ParseAndValidate_OngoingVerification
- type MockTemplateWriter
- func (mock *MockTemplateWriter) Execute(wr io.Writer, data interface{}) error
- func (mock *MockTemplateWriter) FailHandler() pegomock.FailHandler
- func (mock *MockTemplateWriter) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockTemplateWriter) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockTemplateWriter
- func (mock *MockTemplateWriter) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockTemplateWriter
- func (mock *MockTemplateWriter) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierMockTemplateWriter
- func (mock *MockTemplateWriter) VerifyWasCalledOnce() *VerifierMockTemplateWriter
- type MockTemplateWriter_Execute_OngoingVerification
- type VerifierMockAzureDevopsRequestValidator
- type VerifierMockGithubRequestValidator
- type VerifierMockGitlabRequestParserValidator
- type VerifierMockTemplateWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAzureDevopsRequestValidator ¶ added in v0.10.0
type MockAzureDevopsRequestValidator struct {
// contains filtered or unexported fields
}
func NewMockAzureDevopsRequestValidator ¶ added in v0.10.0
func NewMockAzureDevopsRequestValidator(options ...pegomock.Option) *MockAzureDevopsRequestValidator
func (*MockAzureDevopsRequestValidator) FailHandler ¶ added in v0.10.0
func (mock *MockAzureDevopsRequestValidator) FailHandler() pegomock.FailHandler
func (*MockAzureDevopsRequestValidator) SetFailHandler ¶ added in v0.10.0
func (mock *MockAzureDevopsRequestValidator) SetFailHandler(fh pegomock.FailHandler)
func (*MockAzureDevopsRequestValidator) VerifyWasCalled ¶ added in v0.10.0
func (mock *MockAzureDevopsRequestValidator) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockAzureDevopsRequestValidator
func (*MockAzureDevopsRequestValidator) VerifyWasCalledEventually ¶ added in v0.10.0
func (mock *MockAzureDevopsRequestValidator) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockAzureDevopsRequestValidator
func (*MockAzureDevopsRequestValidator) VerifyWasCalledInOrder ¶ added in v0.10.0
func (mock *MockAzureDevopsRequestValidator) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierMockAzureDevopsRequestValidator
func (*MockAzureDevopsRequestValidator) VerifyWasCalledOnce ¶ added in v0.10.0
func (mock *MockAzureDevopsRequestValidator) VerifyWasCalledOnce() *VerifierMockAzureDevopsRequestValidator
type MockAzureDevopsRequestValidator_Validate_OngoingVerification ¶ added in v0.10.0
type MockAzureDevopsRequestValidator_Validate_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockAzureDevopsRequestValidator_Validate_OngoingVerification) GetAllCapturedArguments ¶ added in v0.10.0
func (c *MockAzureDevopsRequestValidator_Validate_OngoingVerification) GetAllCapturedArguments() (_param0 []*http.Request, _param1 [][]byte, _param2 [][]byte)
func (*MockAzureDevopsRequestValidator_Validate_OngoingVerification) GetCapturedArguments ¶ added in v0.10.0
func (c *MockAzureDevopsRequestValidator_Validate_OngoingVerification) GetCapturedArguments() (*http.Request, []byte, []byte)
type MockGithubRequestValidator ¶ added in v0.2.0
type MockGithubRequestValidator struct {
// contains filtered or unexported fields
}
func NewMockGithubRequestValidator ¶ added in v0.2.0
func NewMockGithubRequestValidator(options ...pegomock.Option) *MockGithubRequestValidator
func (*MockGithubRequestValidator) FailHandler ¶ added in v0.6.0
func (mock *MockGithubRequestValidator) FailHandler() pegomock.FailHandler
func (*MockGithubRequestValidator) SetFailHandler ¶ added in v0.6.0
func (mock *MockGithubRequestValidator) SetFailHandler(fh pegomock.FailHandler)
func (*MockGithubRequestValidator) VerifyWasCalled ¶ added in v0.2.0
func (mock *MockGithubRequestValidator) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockGithubRequestValidator
func (*MockGithubRequestValidator) VerifyWasCalledEventually ¶ added in v0.4.13
func (mock *MockGithubRequestValidator) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockGithubRequestValidator
func (*MockGithubRequestValidator) VerifyWasCalledInOrder ¶ added in v0.2.0
func (mock *MockGithubRequestValidator) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierMockGithubRequestValidator
func (*MockGithubRequestValidator) VerifyWasCalledOnce ¶ added in v0.2.0
func (mock *MockGithubRequestValidator) VerifyWasCalledOnce() *VerifierMockGithubRequestValidator
type MockGithubRequestValidator_Validate_OngoingVerification ¶ added in v0.8.3
type MockGithubRequestValidator_Validate_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockGithubRequestValidator_Validate_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockGithubRequestValidator_Validate_OngoingVerification) GetAllCapturedArguments() (_param0 []*http.Request, _param1 [][]byte)
func (*MockGithubRequestValidator_Validate_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockGithubRequestValidator_Validate_OngoingVerification) GetCapturedArguments() (*http.Request, []byte)
type MockGitlabRequestParserValidator ¶ added in v0.4.0
type MockGitlabRequestParserValidator struct {
// contains filtered or unexported fields
}
func NewMockGitlabRequestParserValidator ¶ added in v0.4.0
func NewMockGitlabRequestParserValidator(options ...pegomock.Option) *MockGitlabRequestParserValidator
func (*MockGitlabRequestParserValidator) FailHandler ¶ added in v0.6.0
func (mock *MockGitlabRequestParserValidator) FailHandler() pegomock.FailHandler
func (*MockGitlabRequestParserValidator) ParseAndValidate ¶ added in v0.4.0
func (mock *MockGitlabRequestParserValidator) ParseAndValidate(r *http.Request, secret []byte) (interface{}, error)
func (*MockGitlabRequestParserValidator) SetFailHandler ¶ added in v0.6.0
func (mock *MockGitlabRequestParserValidator) SetFailHandler(fh pegomock.FailHandler)
func (*MockGitlabRequestParserValidator) VerifyWasCalled ¶ added in v0.4.0
func (mock *MockGitlabRequestParserValidator) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockGitlabRequestParserValidator
func (*MockGitlabRequestParserValidator) VerifyWasCalledEventually ¶ added in v0.4.13
func (mock *MockGitlabRequestParserValidator) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockGitlabRequestParserValidator
func (*MockGitlabRequestParserValidator) VerifyWasCalledInOrder ¶ added in v0.4.0
func (mock *MockGitlabRequestParserValidator) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierMockGitlabRequestParserValidator
func (*MockGitlabRequestParserValidator) VerifyWasCalledOnce ¶ added in v0.4.0
func (mock *MockGitlabRequestParserValidator) VerifyWasCalledOnce() *VerifierMockGitlabRequestParserValidator
type MockGitlabRequestParserValidator_ParseAndValidate_OngoingVerification ¶ added in v0.8.3
type MockGitlabRequestParserValidator_ParseAndValidate_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockGitlabRequestParserValidator_ParseAndValidate_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockGitlabRequestParserValidator_ParseAndValidate_OngoingVerification) GetAllCapturedArguments() (_param0 []*http.Request, _param1 [][]byte)
func (*MockGitlabRequestParserValidator_ParseAndValidate_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockGitlabRequestParserValidator_ParseAndValidate_OngoingVerification) GetCapturedArguments() (*http.Request, []byte)
type MockTemplateWriter ¶
type MockTemplateWriter struct {
// contains filtered or unexported fields
}
func NewMockTemplateWriter ¶
func NewMockTemplateWriter(options ...pegomock.Option) *MockTemplateWriter
func (*MockTemplateWriter) Execute ¶
func (mock *MockTemplateWriter) Execute(wr io.Writer, data interface{}) error
func (*MockTemplateWriter) FailHandler ¶ added in v0.6.0
func (mock *MockTemplateWriter) FailHandler() pegomock.FailHandler
func (*MockTemplateWriter) SetFailHandler ¶ added in v0.6.0
func (mock *MockTemplateWriter) SetFailHandler(fh pegomock.FailHandler)
func (*MockTemplateWriter) VerifyWasCalled ¶
func (mock *MockTemplateWriter) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockTemplateWriter
func (*MockTemplateWriter) VerifyWasCalledEventually ¶ added in v0.4.13
func (mock *MockTemplateWriter) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockTemplateWriter
func (*MockTemplateWriter) VerifyWasCalledInOrder ¶
func (mock *MockTemplateWriter) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierMockTemplateWriter
func (*MockTemplateWriter) VerifyWasCalledOnce ¶
func (mock *MockTemplateWriter) VerifyWasCalledOnce() *VerifierMockTemplateWriter
type MockTemplateWriter_Execute_OngoingVerification ¶ added in v0.8.3
type MockTemplateWriter_Execute_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockTemplateWriter_Execute_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockTemplateWriter_Execute_OngoingVerification) GetAllCapturedArguments() (_param0 []io.Writer, _param1 []interface{})
func (*MockTemplateWriter_Execute_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockTemplateWriter_Execute_OngoingVerification) GetCapturedArguments() (io.Writer, interface{})
type VerifierMockAzureDevopsRequestValidator ¶ added in v0.10.0
type VerifierMockAzureDevopsRequestValidator struct {
// contains filtered or unexported fields
}
func (*VerifierMockAzureDevopsRequestValidator) Validate ¶ added in v0.10.0
func (verifier *VerifierMockAzureDevopsRequestValidator) Validate(r *http.Request, user []byte, pass []byte) *MockAzureDevopsRequestValidator_Validate_OngoingVerification
type VerifierMockGithubRequestValidator ¶ added in v0.8.3
type VerifierMockGithubRequestValidator struct {
// contains filtered or unexported fields
}
func (*VerifierMockGithubRequestValidator) Validate ¶ added in v0.8.3
func (verifier *VerifierMockGithubRequestValidator) Validate(r *http.Request, secret []byte) *MockGithubRequestValidator_Validate_OngoingVerification
type VerifierMockGitlabRequestParserValidator ¶ added in v0.8.3
type VerifierMockGitlabRequestParserValidator struct {
// contains filtered or unexported fields
}
func (*VerifierMockGitlabRequestParserValidator) ParseAndValidate ¶ added in v0.8.3
func (verifier *VerifierMockGitlabRequestParserValidator) ParseAndValidate(r *http.Request, secret []byte) *MockGitlabRequestParserValidator_ParseAndValidate_OngoingVerification
type VerifierMockTemplateWriter ¶ added in v0.8.3
type VerifierMockTemplateWriter struct {
// contains filtered or unexported fields
}
func (*VerifierMockTemplateWriter) Execute ¶ added in v0.8.3
func (verifier *VerifierMockTemplateWriter) Execute(wr io.Writer, data interface{}) *MockTemplateWriter_Execute_OngoingVerification
Source Files ¶
Click to show internal directories.
Click to hide internal directories.