mocks

package
v1.65.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 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 ServiceAliasMappingExternalSource

type ServiceAliasMappingExternalSource struct {
	mock.Mock
}

ServiceAliasMappingExternalSource is an autogenerated mock type for the ServiceAliasMappingExternalSource type

func NewServiceAliasMappingExternalSource added in v1.59.0

func NewServiceAliasMappingExternalSource(t interface {
	mock.TestingT
	Cleanup(func())
}) *ServiceAliasMappingExternalSource

NewServiceAliasMappingExternalSource creates a new instance of ServiceAliasMappingExternalSource. 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 (*ServiceAliasMappingExternalSource) Load

Load provides a mock function with no fields

type ServiceAliasMappingStorage

type ServiceAliasMappingStorage struct {
	mock.Mock
}

ServiceAliasMappingStorage is an autogenerated mock type for the ServiceAliasMappingStorage type

func NewServiceAliasMappingStorage added in v1.59.0

func NewServiceAliasMappingStorage(t interface {
	mock.TestingT
	Cleanup(func())
}) *ServiceAliasMappingStorage

NewServiceAliasMappingStorage creates a new instance of ServiceAliasMappingStorage. 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 (*ServiceAliasMappingStorage) Load

func (_m *ServiceAliasMappingStorage) Load() (map[string]string, error)

Load provides a mock function with no fields

func (*ServiceAliasMappingStorage) Save

func (_m *ServiceAliasMappingStorage) Save(data map[string]string) error

Save provides a mock function with given fields: data

Jump to

Keyboard shortcuts

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