mocks

package
v0.4.15 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2019 License: Apache-2.0 Imports: 5 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 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

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

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

type VerifierGitlabRequestParserValidator added in v0.4.0

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

func (*VerifierGitlabRequestParserValidator) ParseAndValidate added in v0.4.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
Code generated by pegomock.
Code generated by pegomock.

Jump to

Keyboard shortcuts

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