Documentation
¶
Index ¶
- type AppInfo
- type Log
- type MockCaching
- type MockFirehoseClient
- type MockLogger
- func (m *MockLogger) Debug(action string, data ...lager.Data)
- func (m *MockLogger) Error(action string, err error, data ...lager.Data)
- func (m *MockLogger) Fatal(action string, err error, data ...lager.Data)
- func (m *MockLogger) GetLogs(level lager.LogLevel) []Log
- func (m *MockLogger) Info(action string, data ...lager.Data)
- func (m *MockLogger) RegisterSink(lager.Sink)
- func (m *MockLogger) Session(task string, data ...lager.Data) lager.Logger
- func (m *MockLogger) SessionName() string
- func (m *MockLogger) WithData(lager.Data) lager.Logger
- type MockOmsClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCaching ¶
type MockCaching struct { MockGetAppInfo func(string) AppInfo InstanceName string EnvironmentName string }
func (*MockCaching) GetAppInfo ¶ added in v1.2.0
func (c *MockCaching) GetAppInfo(appGuid string) AppInfo
func (*MockCaching) GetEnvironmentName ¶ added in v1.1.0
func (c *MockCaching) GetEnvironmentName() string
func (*MockCaching) GetInstanceName ¶
func (c *MockCaching) GetInstanceName() string
func (*MockCaching) Initialize ¶
func (c *MockCaching) Initialize()
type MockFirehoseClient ¶
func NewMockFirehoseClient ¶
func NewMockFirehoseClient() *MockFirehoseClient
func (*MockFirehoseClient) CloseConsumer ¶
func (c *MockFirehoseClient) CloseConsumer() error
type MockLogger ¶
type MockLogger struct {
// contains filtered or unexported fields
}
func NewMockLogger ¶
func NewMockLogger() *MockLogger
func (*MockLogger) RegisterSink ¶
func (m *MockLogger) RegisterSink(lager.Sink)
func (*MockLogger) SessionName ¶
func (m *MockLogger) SessionName() string
type MockOmsClient ¶
type MockOmsClient struct {
// contains filtered or unexported fields
}
func NewMockOmsClient ¶
func NewMockOmsClient() *MockOmsClient
func (*MockOmsClient) GetPostedMessages ¶
func (c *MockOmsClient) GetPostedMessages() map[string]string
Click to show internal directories.
Click to hide internal directories.