Documentation ¶
Index ¶
- type GithubRequestValidator_Validate_OngoingVerification
- type GitlabRequestParserValidator_ParseAndValidate_OngoingVerification
- type MockGithubRequestValidator
- func (mock *MockGithubRequestValidator) Validate(r *http.Request, secret []byte) ([]byte, error)
- func (mock *MockGithubRequestValidator) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierGithubRequestValidator
- func (mock *MockGithubRequestValidator) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierGithubRequestValidator
- func (mock *MockGithubRequestValidator) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierGithubRequestValidator
- func (mock *MockGithubRequestValidator) VerifyWasCalledOnce() *VerifierGithubRequestValidator
- type MockGitlabRequestParserValidator
- func (mock *MockGitlabRequestParserValidator) ParseAndValidate(r *http.Request, secret []byte) (interface{}, error)
- func (mock *MockGitlabRequestParserValidator) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierGitlabRequestParserValidator
- func (mock *MockGitlabRequestParserValidator) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierGitlabRequestParserValidator
- func (mock *MockGitlabRequestParserValidator) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierGitlabRequestParserValidator
- func (mock *MockGitlabRequestParserValidator) VerifyWasCalledOnce() *VerifierGitlabRequestParserValidator
- type MockTemplateWriter
- func (mock *MockTemplateWriter) Execute(wr io.Writer, data interface{}) error
- func (mock *MockTemplateWriter) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierTemplateWriter
- func (mock *MockTemplateWriter) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierTemplateWriter
- func (mock *MockTemplateWriter) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierTemplateWriter
- func (mock *MockTemplateWriter) VerifyWasCalledOnce() *VerifierTemplateWriter
- type TemplateWriter_Execute_OngoingVerification
- type VerifierGithubRequestValidator
- type VerifierGitlabRequestParserValidator
- type VerifierTemplateWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubRequestValidator_Validate_OngoingVerification ¶ added in v0.2.0
type GithubRequestValidator_Validate_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*GithubRequestValidator_Validate_OngoingVerification) GetAllCapturedArguments ¶ added in v0.2.0
func (c *GithubRequestValidator_Validate_OngoingVerification) GetAllCapturedArguments() (_param0 []*http.Request, _param1 [][]byte)
func (*GithubRequestValidator_Validate_OngoingVerification) GetCapturedArguments ¶ added in v0.2.0
func (c *GithubRequestValidator_Validate_OngoingVerification) GetCapturedArguments() (*http.Request, []byte)
type GitlabRequestParserValidator_ParseAndValidate_OngoingVerification ¶ added in v0.4.0
type GitlabRequestParserValidator_ParseAndValidate_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*GitlabRequestParserValidator_ParseAndValidate_OngoingVerification) GetAllCapturedArguments ¶ added in v0.4.0
func (c *GitlabRequestParserValidator_ParseAndValidate_OngoingVerification) GetAllCapturedArguments() (_param0 []*http.Request, _param1 [][]byte)
func (*GitlabRequestParserValidator_ParseAndValidate_OngoingVerification) GetCapturedArguments ¶ added in v0.4.0
func (c *GitlabRequestParserValidator_ParseAndValidate_OngoingVerification) GetCapturedArguments() (*http.Request, []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() *MockGithubRequestValidator
func (*MockGithubRequestValidator) VerifyWasCalled ¶ added in v0.2.0
func (mock *MockGithubRequestValidator) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierGithubRequestValidator
func (*MockGithubRequestValidator) VerifyWasCalledEventually ¶ added in v0.4.13
func (mock *MockGithubRequestValidator) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierGithubRequestValidator
func (*MockGithubRequestValidator) VerifyWasCalledInOrder ¶ added in v0.2.0
func (mock *MockGithubRequestValidator) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierGithubRequestValidator
func (*MockGithubRequestValidator) VerifyWasCalledOnce ¶ added in v0.2.0
func (mock *MockGithubRequestValidator) VerifyWasCalledOnce() *VerifierGithubRequestValidator
type MockGitlabRequestParserValidator ¶ added in v0.4.0
type MockGitlabRequestParserValidator struct {
// contains filtered or unexported fields
}
func NewMockGitlabRequestParserValidator ¶ added in v0.4.0
func NewMockGitlabRequestParserValidator() *MockGitlabRequestParserValidator
func (*MockGitlabRequestParserValidator) ParseAndValidate ¶ added in v0.4.0
func (mock *MockGitlabRequestParserValidator) ParseAndValidate(r *http.Request, secret []byte) (interface{}, error)
func (*MockGitlabRequestParserValidator) VerifyWasCalled ¶ added in v0.4.0
func (mock *MockGitlabRequestParserValidator) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierGitlabRequestParserValidator
func (*MockGitlabRequestParserValidator) VerifyWasCalledEventually ¶ added in v0.4.13
func (mock *MockGitlabRequestParserValidator) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierGitlabRequestParserValidator
func (*MockGitlabRequestParserValidator) VerifyWasCalledInOrder ¶ added in v0.4.0
func (mock *MockGitlabRequestParserValidator) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierGitlabRequestParserValidator
func (*MockGitlabRequestParserValidator) VerifyWasCalledOnce ¶ added in v0.4.0
func (mock *MockGitlabRequestParserValidator) VerifyWasCalledOnce() *VerifierGitlabRequestParserValidator
type MockTemplateWriter ¶
type MockTemplateWriter struct {
// contains filtered or unexported fields
}
func NewMockTemplateWriter ¶
func NewMockTemplateWriter() *MockTemplateWriter
func (*MockTemplateWriter) Execute ¶
func (mock *MockTemplateWriter) Execute(wr io.Writer, data interface{}) error
func (*MockTemplateWriter) VerifyWasCalled ¶
func (mock *MockTemplateWriter) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierTemplateWriter
func (*MockTemplateWriter) VerifyWasCalledEventually ¶ added in v0.4.13
func (mock *MockTemplateWriter) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierTemplateWriter
func (*MockTemplateWriter) VerifyWasCalledInOrder ¶
func (mock *MockTemplateWriter) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierTemplateWriter
func (*MockTemplateWriter) VerifyWasCalledOnce ¶
func (mock *MockTemplateWriter) VerifyWasCalledOnce() *VerifierTemplateWriter
type TemplateWriter_Execute_OngoingVerification ¶
type TemplateWriter_Execute_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*TemplateWriter_Execute_OngoingVerification) GetAllCapturedArguments ¶
func (c *TemplateWriter_Execute_OngoingVerification) GetAllCapturedArguments() (_param0 []io.Writer, _param1 []interface{})
func (*TemplateWriter_Execute_OngoingVerification) GetCapturedArguments ¶
func (c *TemplateWriter_Execute_OngoingVerification) GetCapturedArguments() (io.Writer, interface{})
type VerifierGithubRequestValidator ¶ added in v0.2.0
type VerifierGithubRequestValidator struct {
// contains filtered or unexported fields
}
func (*VerifierGithubRequestValidator) Validate ¶ added in v0.2.0
func (verifier *VerifierGithubRequestValidator) Validate(r *http.Request, secret []byte) *GithubRequestValidator_Validate_OngoingVerification
type VerifierGitlabRequestParserValidator ¶ added in v0.4.0
type VerifierGitlabRequestParserValidator struct {
// contains filtered or unexported fields
}
func (*VerifierGitlabRequestParserValidator) ParseAndValidate ¶ added in v0.4.0
func (verifier *VerifierGitlabRequestParserValidator) ParseAndValidate(r *http.Request, secret []byte) *GitlabRequestParserValidator_ParseAndValidate_OngoingVerification
type VerifierTemplateWriter ¶
type VerifierTemplateWriter struct {
// contains filtered or unexported fields
}
func (*VerifierTemplateWriter) Execute ¶
func (verifier *VerifierTemplateWriter) Execute(wr io.Writer, data interface{}) *TemplateWriter_Execute_OngoingVerification
Source Files ¶
Click to show internal directories.
Click to hide internal directories.