Documentation ¶
Index ¶
- type GithubRequestValidator_Validate_OngoingVerification
- type GitlabRequestParser_Validate_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) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierGithubRequestValidator
- func (mock *MockGithubRequestValidator) VerifyWasCalledOnce() *VerifierGithubRequestValidator
- type MockGitlabRequestParser
- func (mock *MockGitlabRequestParser) Validate(r *http.Request, secret []byte) (interface{}, error)
- func (mock *MockGitlabRequestParser) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierGitlabRequestParser
- func (mock *MockGitlabRequestParser) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierGitlabRequestParser
- func (mock *MockGitlabRequestParser) VerifyWasCalledOnce() *VerifierGitlabRequestParser
- type MockTemplateWriter
- func (mock *MockTemplateWriter) Execute(wr io.Writer, data interface{}) error
- func (mock *MockTemplateWriter) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierTemplateWriter
- func (mock *MockTemplateWriter) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierTemplateWriter
- func (mock *MockTemplateWriter) VerifyWasCalledOnce() *VerifierTemplateWriter
- type TemplateWriter_Execute_OngoingVerification
- type VerifierGithubRequestValidator
- type VerifierGitlabRequestParser
- 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 GitlabRequestParser_Validate_OngoingVerification ¶ added in v0.2.0
type GitlabRequestParser_Validate_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*GitlabRequestParser_Validate_OngoingVerification) GetAllCapturedArguments ¶ added in v0.2.0
func (c *GitlabRequestParser_Validate_OngoingVerification) GetAllCapturedArguments() (_param0 []*http.Request, _param1 [][]byte)
func (*GitlabRequestParser_Validate_OngoingVerification) GetCapturedArguments ¶ added in v0.2.0
func (c *GitlabRequestParser_Validate_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) 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 MockGitlabRequestParser ¶ added in v0.2.0
type MockGitlabRequestParser struct {
// contains filtered or unexported fields
}
func NewMockGitlabRequestParser ¶ added in v0.2.0
func NewMockGitlabRequestParser() *MockGitlabRequestParser
func (*MockGitlabRequestParser) Validate ¶ added in v0.2.0
func (mock *MockGitlabRequestParser) Validate(r *http.Request, secret []byte) (interface{}, error)
func (*MockGitlabRequestParser) VerifyWasCalled ¶ added in v0.2.0
func (mock *MockGitlabRequestParser) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierGitlabRequestParser
func (*MockGitlabRequestParser) VerifyWasCalledInOrder ¶ added in v0.2.0
func (mock *MockGitlabRequestParser) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierGitlabRequestParser
func (*MockGitlabRequestParser) VerifyWasCalledOnce ¶ added in v0.2.0
func (mock *MockGitlabRequestParser) VerifyWasCalledOnce() *VerifierGitlabRequestParser
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) 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 VerifierGitlabRequestParser ¶ added in v0.2.0
type VerifierGitlabRequestParser struct {
// contains filtered or unexported fields
}
func (*VerifierGitlabRequestParser) Validate ¶ added in v0.2.0
func (verifier *VerifierGitlabRequestParser) Validate(r *http.Request, secret []byte) *GitlabRequestParser_Validate_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.