inference

package
v0.5.14 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInferencePlugin

func NewInferencePlugin(pluginName string, conf *config.Configuration, extraConf interface{},
	emitterPool metricspool.MetricsEmitterPool, metaServer *metaserver.MetaServer,
	metaCache metacache.MetaCache,
) (plugin.SysAdvisorPlugin, error)

Types

type InferencePlugin

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

func (*InferencePlugin) Init

func (infp *InferencePlugin) Init() error

Init initializes the inference plugin

func (*InferencePlugin) Name

func (infp *InferencePlugin) Name() string

Name returns the name of inference plugin

func (*InferencePlugin) Run

func (infp *InferencePlugin) Run(ctx context.Context)

Jump to

Keyboard shortcuts

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