Documentation ¶
Index ¶
- type GHRequestValidator_Validate_OngoingVerification
- type MockGHRequestValidator
- func (mock *MockGHRequestValidator) Validate(r *http.Request, secret []byte) ([]byte, error)
- func (mock *MockGHRequestValidator) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierGHRequestValidator
- func (mock *MockGHRequestValidator) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierGHRequestValidator
- func (mock *MockGHRequestValidator) VerifyWasCalledOnce() *VerifierGHRequestValidator
- 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 VerifierGHRequestValidator
- type VerifierTemplateWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GHRequestValidator_Validate_OngoingVerification ¶
type GHRequestValidator_Validate_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*GHRequestValidator_Validate_OngoingVerification) GetAllCapturedArguments ¶
func (c *GHRequestValidator_Validate_OngoingVerification) GetAllCapturedArguments() (_param0 []*http.Request, _param1 [][]byte)
func (*GHRequestValidator_Validate_OngoingVerification) GetCapturedArguments ¶
func (c *GHRequestValidator_Validate_OngoingVerification) GetCapturedArguments() (*http.Request, []byte)
type MockGHRequestValidator ¶
type MockGHRequestValidator struct {
// contains filtered or unexported fields
}
func NewMockGHRequestValidator ¶
func NewMockGHRequestValidator() *MockGHRequestValidator
func (*MockGHRequestValidator) VerifyWasCalled ¶
func (mock *MockGHRequestValidator) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierGHRequestValidator
func (*MockGHRequestValidator) VerifyWasCalledInOrder ¶
func (mock *MockGHRequestValidator) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierGHRequestValidator
func (*MockGHRequestValidator) VerifyWasCalledOnce ¶
func (mock *MockGHRequestValidator) VerifyWasCalledOnce() *VerifierGHRequestValidator
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 VerifierGHRequestValidator ¶
type VerifierGHRequestValidator struct {
// contains filtered or unexported fields
}
func (*VerifierGHRequestValidator) Validate ¶
func (verifier *VerifierGHRequestValidator) Validate(r *http.Request, secret []byte) *GHRequestValidator_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
Click to show internal directories.
Click to hide internal directories.