fake

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: JSON Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockLoader

type MockLoader struct {
	// contains filtered or unexported fields
}

Mock of Loader interface

func NewMockLoader

func NewMockLoader() *MockLoader

func (*MockLoader) CleanConnectors

func (_m *MockLoader) CleanConnectors()

func (*MockLoader) CloudEnvs

func (_m *MockLoader) CloudEnvs() []cloudenv.CloudEnv

func (*MockLoader) Connectors

func (_m *MockLoader) Connectors() map[string]connectors.Connector

func (*MockLoader) CurrentCloudEnv

func (_m *MockLoader) CurrentCloudEnv() cloudenv.CloudEnv

func (*MockLoader) EXPECT

func (_m *MockLoader) EXPECT() *_MockLoaderRecorder

func (*MockLoader) GetAll

func (_m *MockLoader) GetAll(_param0 string) ([]interface{}, error)

func (*MockLoader) GetAppInfo

func (_m *MockLoader) GetAppInfo() cloudenv.AppInfo

func (*MockLoader) GetFirst

func (_m *MockLoader) GetFirst(_param0 string) (interface{}, error)

func (*MockLoader) Inject

func (_m *MockLoader) Inject(_param0 interface{}) error

func (*MockLoader) InjectFromId

func (_m *MockLoader) InjectFromId(_param0 string, _param1 interface{}) error

func (*MockLoader) IsInACloudEnv

func (_m *MockLoader) IsInACloudEnv() bool

func (*MockLoader) RegisterConnector

func (_m *MockLoader) RegisterConnector(_param0 connectors.Connector)

func (*MockLoader) Reload

func (_m *MockLoader) Reload()

func (*MockLoader) ReloadConnectors

func (_m *MockLoader) ReloadConnectors()

func (*MockLoader) Store

func (_m *MockLoader) Store() map[string][]loader.StoredService

type MockTestReporter

type MockTestReporter struct{}

func (MockTestReporter) Errorf

func (g MockTestReporter) Errorf(format string, args ...interface{})

func (MockTestReporter) Fatalf

func (g MockTestReporter) Fatalf(format string, args ...interface{})

Jump to

Keyboard shortcuts

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