server

package
v1.0.158 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: Apache-2.0 Imports: 28 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertAnyValueToString

func ConvertAnyValueToString(value *protobufs.AnyValue) string

func StartOpAmpServer

func StartOpAmpServer(ctx context.Context, logger logr.Logger, mgr ctrl.Manager, kubeClientSet *kubernetes.Clientset, nodeName string, odigosNs string) error

Types

type ConnectionHandlers

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

func (*ConnectionHandlers) OnAgentToServerMessage

func (c *ConnectionHandlers) OnAgentToServerMessage(ctx context.Context, request *protobufs.AgentToServer, connectionInfo *connection.ConnectionInfo) (*protobufs.ServerToAgent, error)

func (*ConnectionHandlers) OnConnectionClosed

func (c *ConnectionHandlers) OnConnectionClosed(ctx context.Context, connectionInfo *connection.ConnectionInfo)

func (*ConnectionHandlers) OnConnectionNoHeartbeat added in v1.0.87

func (c *ConnectionHandlers) OnConnectionNoHeartbeat(ctx context.Context, connectionInfo *connection.ConnectionInfo) error

func (*ConnectionHandlers) OnNewConnection

func (*ConnectionHandlers) UpdateInstrumentationInstanceStatus added in v1.0.87

func (c *ConnectionHandlers) UpdateInstrumentationInstanceStatus(ctx context.Context, message *protobufs.AgentToServer, connectionInfo *connection.ConnectionInfo) error

Jump to

Keyboard shortcuts

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