mocks

package
v0.0.0-...-bf79d3d Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EndpointsConfigService

type EndpointsConfigService struct {
	mock.Mock
}

EndpointsConfigService is an autogenerated mock type for the EndpointsConfigService type

func NewEndpointsConfigService

func NewEndpointsConfigService(t interface {
	mock.TestingT
	Cleanup(func())
}) *EndpointsConfigService

NewEndpointsConfigService creates a new instance of EndpointsConfigService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*EndpointsConfigService) AreMetricsEnabled

func (_m *EndpointsConfigService) AreMetricsEnabled(path string) bool

AreMetricsEnabled provides a mock function with given fields: path

func (*EndpointsConfigService) IsAuthRequired

func (_m *EndpointsConfigService) IsAuthRequired(path string, method string) bool

IsAuthRequired provides a mock function with given fields: path, method

Jump to

Keyboard shortcuts

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