Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRegisteredModelResultFetcherInitFuncs ¶
func GetRegisteredModelResultFetcherInitFuncs() map[string]ModelResultFetcherInitFunc
func RegisterModelResultFetcherInitFunc ¶
func RegisterModelResultFetcherInitFunc(pluginName string, f ModelResultFetcherInitFunc)
Types ¶
type DummyModelResultFetcher ¶
type DummyModelResultFetcher struct{}
func (DummyModelResultFetcher) FetchModelResult ¶
func (d DummyModelResultFetcher) FetchModelResult(ctx context.Context, metaReader metacache.MetaReader, metaWriter metacache.MetaWriter, metaServer *metaserver.MetaServer) error
type ModelResultFetcher ¶
type ModelResultFetcher interface { FetchModelResult(ctx context.Context, metaReader metacache.MetaReader, metaWriter metacache.MetaWriter, metaServer *metaserver.MetaServer) error }
func NewDummyModelResultFetcher ¶
func NewDummyModelResultFetcher(fetcherName string, conf *config.Configuration, extraConf interface{}, emitterPool metricspool.MetricsEmitterPool, metaServer *metaserver.MetaServer, metaCache metacache.MetaCache) (ModelResultFetcher, error)
type ModelResultFetcherInitFunc ¶
type ModelResultFetcherInitFunc func(fetcherName string, conf *config.Configuration, extraConf interface{}, emitterPool metricspool.MetricsEmitterPool, metaServer *metaserver.MetaServer, metaCache metacache.MetaCache) (ModelResultFetcher, error)
ModelResultFetcherInitFunc is used to initialize a particular init ModelResultFetcher
Click to show internal directories.
Click to hide internal directories.