mocks

package
v1.5.32 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ESClientProvider

type ESClientProvider struct {
	mock.Mock
}

ESClientProvider is an autogenerated mock type for the ESClientProvider type

func (*ESClientProvider) CreateDocument

func (_m *ESClientProvider) CreateDocument(index string, documentID string, body []byte) ([]byte, error)

CreateDocument provides a mock function with given fields: index, documentID, body

func (*ESClientProvider) CreateIndex

func (_m *ESClientProvider) CreateIndex(index string, body []byte) ([]byte, error)

CreateIndex provides a mock function with given fields: index, body

func (*ESClientProvider) Get

func (_m *ESClientProvider) Get(index string, query map[string]interface{}, result interface{}) error

Get provides a mock function with given fields: index, query, result

func (*ESClientProvider) Search

func (_m *ESClientProvider) Search(index string, query map[string]interface{}) ([]byte, error)

Search provides a mock function with given fields: index, query

type HTTPClientProvider

type HTTPClientProvider struct {
	mock.Mock
}

HTTPClientProvider is an autogenerated mock type for the HTTPClientProvider type

func (*HTTPClientProvider) Request

func (_m *HTTPClientProvider) Request(url string, method string, header map[string]string, body []byte, params map[string]string) (int, []byte, error)

Request provides a mock function with given fields: url, method, header, body, params

type SlackProvider

type SlackProvider struct {
	mock.Mock
}

SlackProvider is an autogenerated mock type for the SlackProvider type

func (*SlackProvider) SendText

func (_m *SlackProvider) SendText(text string) error

SendText provides a mock function with given fields: text

Jump to

Keyboard shortcuts

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