Documentation ¶
Overview ¶
Package metaserver is the package that contains those implementations to obtain metadata in the specific node, any other component wants to get those data should import this package rather than get directly.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetaServer ¶
type MetaServer struct { sync.Mutex *agent.MetaAgent kcc.ConfigurationManager spd.ServiceProfilingManager external.ExternalManager // contains filtered or unexported fields }
MetaServer is used to fetch metadata that other components may need to obtain, such as. dynamic configurations, pods or nodes running in agent, metrics info and so on.
func NewMetaServer ¶
func NewMetaServer(clientSet *client.GenericClientSet, emitter metrics.MetricEmitter, conf *pkgconfig.Configuration) (*MetaServer, error)
NewMetaServer returns the instance of MetaServer.
func (*MetaServer) Run ¶
func (m *MetaServer) Run(ctx context.Context)
func (*MetaServer) SetServiceProfilingManager ¶ added in v0.2.0
func (m *MetaServer) SetServiceProfilingManager(manager spd.ServiceProfilingManager) error
Directories ¶
Path | Synopsis |
---|---|
Package agent is the package that contains those implementations to obtain metadata in the specific node, any other component wants to get those data should import this package rather than get directly.
|
Package agent is the package that contains those implementations to obtain metadata in the specific node, any other component wants to get those data should import this package rather than get directly. |
Package config is the package that gets centralized configurations periodically and dynamically for a given node.
|
Package config is the package that gets centralized configurations periodically and dynamically for a given node. |
Click to show internal directories.
Click to hide internal directories.