mocks

package
v0.0.0-...-45cbd8e Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditingInterface

type AuditingInterface struct {
	mock.Mock
}

AuditingInterface is an autogenerated mock type for the AuditingInterface type

func (*AuditingInterface) DoAudit

func (_m *AuditingInterface) DoAudit(ctx context.Context, client *elastic.Client, username string, operation string, values map[string]string)

DoAudit provides a mock function with given fields: ctx, client, username, operation, values

func (*AuditingInterface) ElkClient

func (_m *AuditingInterface) ElkClient(url string, username string, password string) (*elastic.Client, error)

ElkClient provides a mock function with given fields: url, username, password

type ElkInterface

type ElkInterface struct {
	mock.Mock
}

ElkInterface is an autogenerated mock type for the ElkInterface type

func (*ElkInterface) NewClient

func (_m *ElkInterface) NewClient(url string, username string, password string) (*elastic.Client, error)

NewClient provides a mock function with given fields: url, username, password

Jump to

Keyboard shortcuts

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