mocks

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2018 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 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) Validate added in v0.2.0

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

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

type VerifierGitlabRequestParser added in v0.2.0

type VerifierGitlabRequestParser struct {
	// contains filtered or unexported fields
}

func (*VerifierGitlabRequestParser) Validate added in v0.2.0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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