Documentation ¶
Index ¶
- type MockLoader
- func (_m *MockLoader) CleanConnectors()
- func (_m *MockLoader) CloudEnvs() []cloudenv.CloudEnv
- func (_m *MockLoader) Connectors() map[string]connectors.Connector
- func (_m *MockLoader) CurrentCloudEnv() cloudenv.CloudEnv
- func (_m *MockLoader) EXPECT() *_MockLoaderRecorder
- func (_m *MockLoader) GetAll(_param0 string) ([]interface{}, error)
- func (_m *MockLoader) GetAppInfo() cloudenv.AppInfo
- func (_m *MockLoader) GetFirst(_param0 string) (interface{}, error)
- func (_m *MockLoader) Inject(_param0 interface{}) error
- func (_m *MockLoader) InjectFromId(_param0 string, _param1 interface{}) error
- func (_m *MockLoader) IsInACloudEnv() bool
- func (_m *MockLoader) RegisterConnector(_param0 connectors.Connector)
- func (_m *MockLoader) Reload()
- func (_m *MockLoader) ReloadConnectors()
- func (_m *MockLoader) Store() map[string][]loader.StoredService
- type MockTestReporter
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
}
MockLoader 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{})
Click to show internal directories.
Click to hide internal directories.