metaserver

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: 11 Imported by: 42

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.
cnc
cnr
pod
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.
spd

Jump to

Keyboard shortcuts

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