mocks

package
v0.2.0-demo Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2019 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 Sender

type Sender struct {
	mock.Mock
}

Sender is an autogenerated mock type for the Sender type

func (*Sender) SendToKyma

func (_m *Sender) SendToKyma(eventType string, eventTypeVersion string, eventID string, sourceID string, data json.RawMessage) apperrors.AppError

SendToKyma provides a mock function with given fields: eventType, eventTypeVersion, eventID, sourceID, data

type Validator

type Validator struct {
	mock.Mock
}

Validator is an autogenerated mock type for the Validator type

func (*Validator) GetToken

func (_m *Validator) GetToken() string

GetToken provides a mock function with given fields:

func (*Validator) ParseWebHook

func (_m *Validator) ParseWebHook(_a0 string, _a1 []byte) (interface{}, apperrors.AppError)

ParseWebHook provides a mock function with given fields: _a0, _a1

func (*Validator) ValidatePayload

func (_m *Validator) ValidatePayload(_a0 *http.Request, _a1 []byte) ([]byte, apperrors.AppError)

ValidatePayload provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

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