mocks

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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) Validate

func (mock *MockGHRequestValidator) Validate(r *http.Request, secret []byte) ([]byte, error)

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL