Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockAppBearer
- func (m *MockAppBearer) Config() core.AppConfig
- func (m *MockAppBearer) DownStreamPlugins() []core.DownStreamPlugin
- func (m *MockAppBearer) EXPECT() *MockAppBearerMockRecorder
- func (m *MockAppBearer) InjectDownStreamPlugin(InjectedDownStreamPlugin core.DownStreamPlugin)
- func (m *MockAppBearer) MetricProvider() (core.Metric, error)
- func (m *MockAppBearer) SetMetricProvider(metricProvider core.Metric)
- type MockAppBearerMockRecorder
- func (mr *MockAppBearerMockRecorder) Config() *gomock.Call
- func (mr *MockAppBearerMockRecorder) DownStreamPlugins() *gomock.Call
- func (mr *MockAppBearerMockRecorder) InjectDownStreamPlugin(InjectedDownStreamPlugin interface{}) *gomock.Call
- func (mr *MockAppBearerMockRecorder) MetricProvider() *gomock.Call
- func (mr *MockAppBearerMockRecorder) SetMetricProvider(metricProvider interface{}) *gomock.Call
- type MockAppConfig
- func (m *MockAppConfig) BasicAuthPassword() string
- func (m *MockAppConfig) BasicAuthUsername() string
- func (m *MockAppConfig) Dump() string
- func (m *MockAppConfig) EXPECT() *MockAppConfigMockRecorder
- func (m *MockAppConfig) PluginExists(pluginName string) bool
- func (m *MockAppConfig) Plugins() []string
- func (m *MockAppConfig) Port() int
- func (m *MockAppConfig) ProxyHost() string
- type MockAppConfigMockRecorder
- func (mr *MockAppConfigMockRecorder) BasicAuthPassword() *gomock.Call
- func (mr *MockAppConfigMockRecorder) BasicAuthUsername() *gomock.Call
- func (mr *MockAppConfigMockRecorder) Dump() *gomock.Call
- func (mr *MockAppConfigMockRecorder) PluginExists(pluginName interface{}) *gomock.Call
- func (mr *MockAppConfigMockRecorder) Plugins() *gomock.Call
- func (mr *MockAppConfigMockRecorder) Port() *gomock.Call
- func (mr *MockAppConfigMockRecorder) ProxyHost() *gomock.Call
- type MockAppLoader
- type MockAppLoaderMockRecorder
- type MockDatabaseBearer
- type MockDatabaseBearerMockRecorder
- type MockDatabaseConfig
- func (m *MockDatabaseConfig) DBConnectionMaxLifetime() (time.Duration, error)
- func (m *MockDatabaseConfig) DBDatabase() string
- func (m *MockDatabaseConfig) DBHost() string
- func (m *MockDatabaseConfig) DBMaxIddleConn() (int, error)
- func (m *MockDatabaseConfig) DBMaxOpenConn() (int, error)
- func (m *MockDatabaseConfig) DBMigrationSource() string
- func (m *MockDatabaseConfig) DBPassword() string
- func (m *MockDatabaseConfig) DBPort() (int, error)
- func (m *MockDatabaseConfig) DBUsername() string
- func (m *MockDatabaseConfig) Driver() string
- func (m *MockDatabaseConfig) Dump() string
- func (m *MockDatabaseConfig) EXPECT() *MockDatabaseConfigMockRecorder
- type MockDatabaseConfigMockRecorder
- func (mr *MockDatabaseConfigMockRecorder) DBConnectionMaxLifetime() *gomock.Call
- func (mr *MockDatabaseConfigMockRecorder) DBDatabase() *gomock.Call
- func (mr *MockDatabaseConfigMockRecorder) DBHost() *gomock.Call
- func (mr *MockDatabaseConfigMockRecorder) DBMaxIddleConn() *gomock.Call
- func (mr *MockDatabaseConfigMockRecorder) DBMaxOpenConn() *gomock.Call
- func (mr *MockDatabaseConfigMockRecorder) DBMigrationSource() *gomock.Call
- func (mr *MockDatabaseConfigMockRecorder) DBPassword() *gomock.Call
- func (mr *MockDatabaseConfigMockRecorder) DBPort() *gomock.Call
- func (mr *MockDatabaseConfigMockRecorder) DBUsername() *gomock.Call
- func (mr *MockDatabaseConfigMockRecorder) Driver() *gomock.Call
- func (mr *MockDatabaseConfigMockRecorder) Dump() *gomock.Call
- type MockDatabaseLoader
- type MockDatabaseLoaderMockRecorder
- type MockMetricConfig
- type MockMetricConfigMockRecorder
- type MockPluginBearer
- func (m *MockPluginBearer) CompilePlugin(pluginName string, injectedStruct interface{}) error
- func (m *MockPluginBearer) ConfigExists(pluginName string) bool
- func (m *MockPluginBearer) EXPECT() *MockPluginBearerMockRecorder
- func (m *MockPluginBearer) ForEach(callbackFunc func(string) error)
- func (m *MockPluginBearer) Length() int
- func (m *MockPluginBearer) PluginVersion(pluginName string) (string, error)
- type MockPluginBearerMockRecorder
- func (mr *MockPluginBearerMockRecorder) CompilePlugin(pluginName, injectedStruct interface{}) *gomock.Call
- func (mr *MockPluginBearerMockRecorder) ConfigExists(pluginName interface{}) *gomock.Call
- func (mr *MockPluginBearerMockRecorder) ForEach(callbackFunc interface{}) *gomock.Call
- func (mr *MockPluginBearerMockRecorder) Length() *gomock.Call
- func (mr *MockPluginBearerMockRecorder) PluginVersion(pluginName interface{}) *gomock.Call
- type MockPluginLoader
- type MockPluginLoaderMockRecorder
- type MockResponseWriter
- func (m *MockResponseWriter) CloseNotify() <-chan bool
- func (m *MockResponseWriter) EXPECT() *MockResponseWriterMockRecorder
- func (m *MockResponseWriter) Flush()
- func (m *MockResponseWriter) Header() http.Header
- func (m *MockResponseWriter) Hijack() (net.Conn, *bufio.ReadWriter, error)
- func (m *MockResponseWriter) Pusher() http.Pusher
- func (m *MockResponseWriter) Size() int
- func (m *MockResponseWriter) Status() int
- func (m *MockResponseWriter) Write(arg0 []byte) (int, error)
- func (m *MockResponseWriter) WriteHeader(arg0 int)
- func (m *MockResponseWriter) WriteHeaderNow()
- func (m *MockResponseWriter) WriteString(arg0 string) (int, error)
- func (m *MockResponseWriter) Written() bool
- type MockResponseWriterMockRecorder
- func (mr *MockResponseWriterMockRecorder) CloseNotify() *gomock.Call
- func (mr *MockResponseWriterMockRecorder) Flush() *gomock.Call
- func (mr *MockResponseWriterMockRecorder) Header() *gomock.Call
- func (mr *MockResponseWriterMockRecorder) Hijack() *gomock.Call
- func (mr *MockResponseWriterMockRecorder) Pusher() *gomock.Call
- func (mr *MockResponseWriterMockRecorder) Size() *gomock.Call
- func (mr *MockResponseWriterMockRecorder) Status() *gomock.Call
- func (mr *MockResponseWriterMockRecorder) Write(arg0 interface{}) *gomock.Call
- func (mr *MockResponseWriterMockRecorder) WriteHeader(arg0 interface{}) *gomock.Call
- func (mr *MockResponseWriterMockRecorder) WriteHeaderNow() *gomock.Call
- func (mr *MockResponseWriterMockRecorder) WriteString(arg0 interface{}) *gomock.Call
- func (mr *MockResponseWriterMockRecorder) Written() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAppBearer ¶
type MockAppBearer struct {
// contains filtered or unexported fields
}
MockAppBearer is a mock of AppBearer interface.
func NewMockAppBearer ¶
func NewMockAppBearer(ctrl *gomock.Controller) *MockAppBearer
NewMockAppBearer creates a new mock instance.
func (*MockAppBearer) Config ¶
func (m *MockAppBearer) Config() core.AppConfig
Config mocks base method.
func (*MockAppBearer) DownStreamPlugins ¶
func (m *MockAppBearer) DownStreamPlugins() []core.DownStreamPlugin
DownStreamPlugins mocks base method.
func (*MockAppBearer) EXPECT ¶
func (m *MockAppBearer) EXPECT() *MockAppBearerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAppBearer) InjectDownStreamPlugin ¶
func (m *MockAppBearer) InjectDownStreamPlugin(InjectedDownStreamPlugin core.DownStreamPlugin)
InjectDownStreamPlugin mocks base method.
func (*MockAppBearer) MetricProvider ¶
func (m *MockAppBearer) MetricProvider() (core.Metric, error)
MetricProvider mocks base method.
func (*MockAppBearer) SetMetricProvider ¶
func (m *MockAppBearer) SetMetricProvider(metricProvider core.Metric)
SetMetricProvider mocks base method.
type MockAppBearerMockRecorder ¶
type MockAppBearerMockRecorder struct {
// contains filtered or unexported fields
}
MockAppBearerMockRecorder is the mock recorder for MockAppBearer.
func (*MockAppBearerMockRecorder) Config ¶
func (mr *MockAppBearerMockRecorder) Config() *gomock.Call
Config indicates an expected call of Config.
func (*MockAppBearerMockRecorder) DownStreamPlugins ¶
func (mr *MockAppBearerMockRecorder) DownStreamPlugins() *gomock.Call
DownStreamPlugins indicates an expected call of DownStreamPlugins.
func (*MockAppBearerMockRecorder) InjectDownStreamPlugin ¶
func (mr *MockAppBearerMockRecorder) InjectDownStreamPlugin(InjectedDownStreamPlugin interface{}) *gomock.Call
InjectDownStreamPlugin indicates an expected call of InjectDownStreamPlugin.
func (*MockAppBearerMockRecorder) MetricProvider ¶
func (mr *MockAppBearerMockRecorder) MetricProvider() *gomock.Call
MetricProvider indicates an expected call of MetricProvider.
func (*MockAppBearerMockRecorder) SetMetricProvider ¶
func (mr *MockAppBearerMockRecorder) SetMetricProvider(metricProvider interface{}) *gomock.Call
SetMetricProvider indicates an expected call of SetMetricProvider.
type MockAppConfig ¶
type MockAppConfig struct {
// contains filtered or unexported fields
}
MockAppConfig is a mock of AppConfig interface.
func NewMockAppConfig ¶
func NewMockAppConfig(ctrl *gomock.Controller) *MockAppConfig
NewMockAppConfig creates a new mock instance.
func (*MockAppConfig) BasicAuthPassword ¶
func (m *MockAppConfig) BasicAuthPassword() string
BasicAuthPassword mocks base method.
func (*MockAppConfig) BasicAuthUsername ¶
func (m *MockAppConfig) BasicAuthUsername() string
BasicAuthUsername mocks base method.
func (*MockAppConfig) EXPECT ¶
func (m *MockAppConfig) EXPECT() *MockAppConfigMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAppConfig) PluginExists ¶
func (m *MockAppConfig) PluginExists(pluginName string) bool
PluginExists mocks base method.
func (*MockAppConfig) Plugins ¶
func (m *MockAppConfig) Plugins() []string
Plugins mocks base method.
func (*MockAppConfig) ProxyHost ¶
func (m *MockAppConfig) ProxyHost() string
ProxyHost mocks base method.
type MockAppConfigMockRecorder ¶
type MockAppConfigMockRecorder struct {
// contains filtered or unexported fields
}
MockAppConfigMockRecorder is the mock recorder for MockAppConfig.
func (*MockAppConfigMockRecorder) BasicAuthPassword ¶
func (mr *MockAppConfigMockRecorder) BasicAuthPassword() *gomock.Call
BasicAuthPassword indicates an expected call of BasicAuthPassword.
func (*MockAppConfigMockRecorder) BasicAuthUsername ¶
func (mr *MockAppConfigMockRecorder) BasicAuthUsername() *gomock.Call
BasicAuthUsername indicates an expected call of BasicAuthUsername.
func (*MockAppConfigMockRecorder) Dump ¶
func (mr *MockAppConfigMockRecorder) Dump() *gomock.Call
Dump indicates an expected call of Dump.
func (*MockAppConfigMockRecorder) PluginExists ¶
func (mr *MockAppConfigMockRecorder) PluginExists(pluginName interface{}) *gomock.Call
PluginExists indicates an expected call of PluginExists.
func (*MockAppConfigMockRecorder) Plugins ¶
func (mr *MockAppConfigMockRecorder) Plugins() *gomock.Call
Plugins indicates an expected call of Plugins.
func (*MockAppConfigMockRecorder) Port ¶
func (mr *MockAppConfigMockRecorder) Port() *gomock.Call
Port indicates an expected call of Port.
func (*MockAppConfigMockRecorder) ProxyHost ¶
func (mr *MockAppConfigMockRecorder) ProxyHost() *gomock.Call
ProxyHost indicates an expected call of ProxyHost.
type MockAppLoader ¶
type MockAppLoader struct {
// contains filtered or unexported fields
}
MockAppLoader is a mock of AppLoader interface.
func NewMockAppLoader ¶
func NewMockAppLoader(ctrl *gomock.Controller) *MockAppLoader
NewMockAppLoader creates a new mock instance.
func (*MockAppLoader) Compile ¶
func (m *MockAppLoader) Compile(configPath string) (core.AppConfig, error)
Compile mocks base method.
func (*MockAppLoader) EXPECT ¶
func (m *MockAppLoader) EXPECT() *MockAppLoaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockAppLoaderMockRecorder ¶
type MockAppLoaderMockRecorder struct {
// contains filtered or unexported fields
}
MockAppLoaderMockRecorder is the mock recorder for MockAppLoader.
func (*MockAppLoaderMockRecorder) Compile ¶
func (mr *MockAppLoaderMockRecorder) Compile(configPath interface{}) *gomock.Call
Compile indicates an expected call of Compile.
type MockDatabaseBearer ¶
type MockDatabaseBearer struct {
// contains filtered or unexported fields
}
MockDatabaseBearer is a mock of DatabaseBearer interface.
func NewMockDatabaseBearer ¶
func NewMockDatabaseBearer(ctrl *gomock.Controller) *MockDatabaseBearer
NewMockDatabaseBearer creates a new mock instance.
func (*MockDatabaseBearer) Database ¶
func (m *MockDatabaseBearer) Database(dbName string) (db.DB, core.DatabaseConfig, error)
Database mocks base method.
func (*MockDatabaseBearer) EXPECT ¶
func (m *MockDatabaseBearer) EXPECT() *MockDatabaseBearerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDatabaseBearerMockRecorder ¶
type MockDatabaseBearerMockRecorder struct {
// contains filtered or unexported fields
}
MockDatabaseBearerMockRecorder is the mock recorder for MockDatabaseBearer.
func (*MockDatabaseBearerMockRecorder) Database ¶
func (mr *MockDatabaseBearerMockRecorder) Database(dbName interface{}) *gomock.Call
Database indicates an expected call of Database.
type MockDatabaseConfig ¶
type MockDatabaseConfig struct {
// contains filtered or unexported fields
}
MockDatabaseConfig is a mock of DatabaseConfig interface.
func NewMockDatabaseConfig ¶
func NewMockDatabaseConfig(ctrl *gomock.Controller) *MockDatabaseConfig
NewMockDatabaseConfig creates a new mock instance.
func (*MockDatabaseConfig) DBConnectionMaxLifetime ¶
func (m *MockDatabaseConfig) DBConnectionMaxLifetime() (time.Duration, error)
DBConnectionMaxLifetime mocks base method.
func (*MockDatabaseConfig) DBDatabase ¶
func (m *MockDatabaseConfig) DBDatabase() string
DBDatabase mocks base method.
func (*MockDatabaseConfig) DBHost ¶
func (m *MockDatabaseConfig) DBHost() string
DBHost mocks base method.
func (*MockDatabaseConfig) DBMaxIddleConn ¶
func (m *MockDatabaseConfig) DBMaxIddleConn() (int, error)
DBMaxIddleConn mocks base method.
func (*MockDatabaseConfig) DBMaxOpenConn ¶
func (m *MockDatabaseConfig) DBMaxOpenConn() (int, error)
DBMaxOpenConn mocks base method.
func (*MockDatabaseConfig) DBMigrationSource ¶
func (m *MockDatabaseConfig) DBMigrationSource() string
DBMigrationSource mocks base method.
func (*MockDatabaseConfig) DBPassword ¶
func (m *MockDatabaseConfig) DBPassword() string
DBPassword mocks base method.
func (*MockDatabaseConfig) DBPort ¶
func (m *MockDatabaseConfig) DBPort() (int, error)
DBPort mocks base method.
func (*MockDatabaseConfig) DBUsername ¶
func (m *MockDatabaseConfig) DBUsername() string
DBUsername mocks base method.
func (*MockDatabaseConfig) Driver ¶
func (m *MockDatabaseConfig) Driver() string
Driver mocks base method.
func (*MockDatabaseConfig) Dump ¶
func (m *MockDatabaseConfig) Dump() string
Dump mocks base method.
func (*MockDatabaseConfig) EXPECT ¶
func (m *MockDatabaseConfig) EXPECT() *MockDatabaseConfigMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDatabaseConfigMockRecorder ¶
type MockDatabaseConfigMockRecorder struct {
// contains filtered or unexported fields
}
MockDatabaseConfigMockRecorder is the mock recorder for MockDatabaseConfig.
func (*MockDatabaseConfigMockRecorder) DBConnectionMaxLifetime ¶
func (mr *MockDatabaseConfigMockRecorder) DBConnectionMaxLifetime() *gomock.Call
DBConnectionMaxLifetime indicates an expected call of DBConnectionMaxLifetime.
func (*MockDatabaseConfigMockRecorder) DBDatabase ¶
func (mr *MockDatabaseConfigMockRecorder) DBDatabase() *gomock.Call
DBDatabase indicates an expected call of DBDatabase.
func (*MockDatabaseConfigMockRecorder) DBHost ¶
func (mr *MockDatabaseConfigMockRecorder) DBHost() *gomock.Call
DBHost indicates an expected call of DBHost.
func (*MockDatabaseConfigMockRecorder) DBMaxIddleConn ¶
func (mr *MockDatabaseConfigMockRecorder) DBMaxIddleConn() *gomock.Call
DBMaxIddleConn indicates an expected call of DBMaxIddleConn.
func (*MockDatabaseConfigMockRecorder) DBMaxOpenConn ¶
func (mr *MockDatabaseConfigMockRecorder) DBMaxOpenConn() *gomock.Call
DBMaxOpenConn indicates an expected call of DBMaxOpenConn.
func (*MockDatabaseConfigMockRecorder) DBMigrationSource ¶
func (mr *MockDatabaseConfigMockRecorder) DBMigrationSource() *gomock.Call
DBMigrationSource indicates an expected call of DBMigrationSource.
func (*MockDatabaseConfigMockRecorder) DBPassword ¶
func (mr *MockDatabaseConfigMockRecorder) DBPassword() *gomock.Call
DBPassword indicates an expected call of DBPassword.
func (*MockDatabaseConfigMockRecorder) DBPort ¶
func (mr *MockDatabaseConfigMockRecorder) DBPort() *gomock.Call
DBPort indicates an expected call of DBPort.
func (*MockDatabaseConfigMockRecorder) DBUsername ¶
func (mr *MockDatabaseConfigMockRecorder) DBUsername() *gomock.Call
DBUsername indicates an expected call of DBUsername.
func (*MockDatabaseConfigMockRecorder) Driver ¶
func (mr *MockDatabaseConfigMockRecorder) Driver() *gomock.Call
Driver indicates an expected call of Driver.
func (*MockDatabaseConfigMockRecorder) Dump ¶
func (mr *MockDatabaseConfigMockRecorder) Dump() *gomock.Call
Dump indicates an expected call of Dump.
type MockDatabaseLoader ¶
type MockDatabaseLoader struct {
// contains filtered or unexported fields
}
MockDatabaseLoader is a mock of DatabaseLoader interface.
func NewMockDatabaseLoader ¶
func NewMockDatabaseLoader(ctrl *gomock.Controller) *MockDatabaseLoader
NewMockDatabaseLoader creates a new mock instance.
func (*MockDatabaseLoader) Compile ¶
func (m *MockDatabaseLoader) Compile(configPath string) (map[string]core.DatabaseConfig, error)
Compile mocks base method.
func (*MockDatabaseLoader) EXPECT ¶
func (m *MockDatabaseLoader) EXPECT() *MockDatabaseLoaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDatabaseLoaderMockRecorder ¶
type MockDatabaseLoaderMockRecorder struct {
// contains filtered or unexported fields
}
MockDatabaseLoaderMockRecorder is the mock recorder for MockDatabaseLoader.
func (*MockDatabaseLoaderMockRecorder) Compile ¶
func (mr *MockDatabaseLoaderMockRecorder) Compile(configPath interface{}) *gomock.Call
Compile indicates an expected call of Compile.
type MockMetricConfig ¶
type MockMetricConfig struct {
// contains filtered or unexported fields
}
MockMetricConfig is a mock of MetricConfig interface.
func NewMockMetricConfig ¶
func NewMockMetricConfig(ctrl *gomock.Controller) *MockMetricConfig
NewMockMetricConfig creates a new mock instance.
func (*MockMetricConfig) EXPECT ¶
func (m *MockMetricConfig) EXPECT() *MockMetricConfigMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMetricConfig) Interface ¶
func (m *MockMetricConfig) Interface() string
Interface mocks base method.
type MockMetricConfigMockRecorder ¶
type MockMetricConfigMockRecorder struct {
// contains filtered or unexported fields
}
MockMetricConfigMockRecorder is the mock recorder for MockMetricConfig.
func (*MockMetricConfigMockRecorder) Interface ¶
func (mr *MockMetricConfigMockRecorder) Interface() *gomock.Call
Interface indicates an expected call of Interface.
type MockPluginBearer ¶
type MockPluginBearer struct {
// contains filtered or unexported fields
}
MockPluginBearer is a mock of PluginBearer interface.
func NewMockPluginBearer ¶
func NewMockPluginBearer(ctrl *gomock.Controller) *MockPluginBearer
NewMockPluginBearer creates a new mock instance.
func (*MockPluginBearer) CompilePlugin ¶
func (m *MockPluginBearer) CompilePlugin(pluginName string, injectedStruct interface{}) error
CompilePlugin mocks base method.
func (*MockPluginBearer) ConfigExists ¶
func (m *MockPluginBearer) ConfigExists(pluginName string) bool
ConfigExists mocks base method.
func (*MockPluginBearer) EXPECT ¶
func (m *MockPluginBearer) EXPECT() *MockPluginBearerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPluginBearer) ForEach ¶
func (m *MockPluginBearer) ForEach(callbackFunc func(string) error)
ForEach mocks base method.
func (*MockPluginBearer) PluginVersion ¶
func (m *MockPluginBearer) PluginVersion(pluginName string) (string, error)
PluginVersion mocks base method.
type MockPluginBearerMockRecorder ¶
type MockPluginBearerMockRecorder struct {
// contains filtered or unexported fields
}
MockPluginBearerMockRecorder is the mock recorder for MockPluginBearer.
func (*MockPluginBearerMockRecorder) CompilePlugin ¶
func (mr *MockPluginBearerMockRecorder) CompilePlugin(pluginName, injectedStruct interface{}) *gomock.Call
CompilePlugin indicates an expected call of CompilePlugin.
func (*MockPluginBearerMockRecorder) ConfigExists ¶
func (mr *MockPluginBearerMockRecorder) ConfigExists(pluginName interface{}) *gomock.Call
ConfigExists indicates an expected call of ConfigExists.
func (*MockPluginBearerMockRecorder) ForEach ¶
func (mr *MockPluginBearerMockRecorder) ForEach(callbackFunc interface{}) *gomock.Call
ForEach indicates an expected call of ForEach.
func (*MockPluginBearerMockRecorder) Length ¶
func (mr *MockPluginBearerMockRecorder) Length() *gomock.Call
Length indicates an expected call of Length.
func (*MockPluginBearerMockRecorder) PluginVersion ¶
func (mr *MockPluginBearerMockRecorder) PluginVersion(pluginName interface{}) *gomock.Call
PluginVersion indicates an expected call of PluginVersion.
type MockPluginLoader ¶
type MockPluginLoader struct {
// contains filtered or unexported fields
}
MockPluginLoader is a mock of PluginLoader interface.
func NewMockPluginLoader ¶
func NewMockPluginLoader(ctrl *gomock.Controller) *MockPluginLoader
NewMockPluginLoader creates a new mock instance.
func (*MockPluginLoader) Compile ¶
func (m *MockPluginLoader) Compile(pluginPath string) (core.PluginBearer, error)
Compile mocks base method.
func (*MockPluginLoader) EXPECT ¶
func (m *MockPluginLoader) EXPECT() *MockPluginLoaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPluginLoaderMockRecorder ¶
type MockPluginLoaderMockRecorder struct {
// contains filtered or unexported fields
}
MockPluginLoaderMockRecorder is the mock recorder for MockPluginLoader.
func (*MockPluginLoaderMockRecorder) Compile ¶
func (mr *MockPluginLoaderMockRecorder) Compile(pluginPath interface{}) *gomock.Call
Compile indicates an expected call of Compile.
type MockResponseWriter ¶
type MockResponseWriter struct {
// contains filtered or unexported fields
}
MockResponseWriter is a mock of ResponseWriter interface
func NewMockResponseWriter ¶
func NewMockResponseWriter(ctrl *gomock.Controller) *MockResponseWriter
NewMockResponseWriter creates a new mock instance
func (*MockResponseWriter) CloseNotify ¶
func (m *MockResponseWriter) CloseNotify() <-chan bool
CloseNotify mocks base method
func (*MockResponseWriter) EXPECT ¶
func (m *MockResponseWriter) EXPECT() *MockResponseWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockResponseWriter) Header ¶
func (m *MockResponseWriter) Header() http.Header
Header mocks base method
func (*MockResponseWriter) Hijack ¶
func (m *MockResponseWriter) Hijack() (net.Conn, *bufio.ReadWriter, error)
Hijack mocks base method
func (*MockResponseWriter) Pusher ¶
func (m *MockResponseWriter) Pusher() http.Pusher
Pusher mocks base method
func (*MockResponseWriter) Status ¶
func (m *MockResponseWriter) Status() int
Status mocks base method
func (*MockResponseWriter) Write ¶
func (m *MockResponseWriter) Write(arg0 []byte) (int, error)
Write mocks base method
func (*MockResponseWriter) WriteHeader ¶
func (m *MockResponseWriter) WriteHeader(arg0 int)
WriteHeader mocks base method
func (*MockResponseWriter) WriteHeaderNow ¶
func (m *MockResponseWriter) WriteHeaderNow()
WriteHeaderNow mocks base method
func (*MockResponseWriter) WriteString ¶
func (m *MockResponseWriter) WriteString(arg0 string) (int, error)
WriteString mocks base method
func (*MockResponseWriter) Written ¶
func (m *MockResponseWriter) Written() bool
Written mocks base method
type MockResponseWriterMockRecorder ¶
type MockResponseWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockResponseWriterMockRecorder is the mock recorder for MockResponseWriter
func (*MockResponseWriterMockRecorder) CloseNotify ¶
func (mr *MockResponseWriterMockRecorder) CloseNotify() *gomock.Call
CloseNotify indicates an expected call of CloseNotify
func (*MockResponseWriterMockRecorder) Flush ¶
func (mr *MockResponseWriterMockRecorder) Flush() *gomock.Call
Flush indicates an expected call of Flush
func (*MockResponseWriterMockRecorder) Header ¶
func (mr *MockResponseWriterMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header
func (*MockResponseWriterMockRecorder) Hijack ¶
func (mr *MockResponseWriterMockRecorder) Hijack() *gomock.Call
Hijack indicates an expected call of Hijack
func (*MockResponseWriterMockRecorder) Pusher ¶
func (mr *MockResponseWriterMockRecorder) Pusher() *gomock.Call
Pusher indicates an expected call of Pusher
func (*MockResponseWriterMockRecorder) Size ¶
func (mr *MockResponseWriterMockRecorder) Size() *gomock.Call
Size indicates an expected call of Size
func (*MockResponseWriterMockRecorder) Status ¶
func (mr *MockResponseWriterMockRecorder) Status() *gomock.Call
Status indicates an expected call of Status
func (*MockResponseWriterMockRecorder) Write ¶
func (mr *MockResponseWriterMockRecorder) Write(arg0 interface{}) *gomock.Call
Write indicates an expected call of Write
func (*MockResponseWriterMockRecorder) WriteHeader ¶
func (mr *MockResponseWriterMockRecorder) WriteHeader(arg0 interface{}) *gomock.Call
WriteHeader indicates an expected call of WriteHeader
func (*MockResponseWriterMockRecorder) WriteHeaderNow ¶
func (mr *MockResponseWriterMockRecorder) WriteHeaderNow() *gomock.Call
WriteHeaderNow indicates an expected call of WriteHeaderNow
func (*MockResponseWriterMockRecorder) WriteString ¶
func (mr *MockResponseWriterMockRecorder) WriteString(arg0 interface{}) *gomock.Call
WriteString indicates an expected call of WriteString
func (*MockResponseWriterMockRecorder) Written ¶
func (mr *MockResponseWriterMockRecorder) Written() *gomock.Call
Written indicates an expected call of Written