client

package
v0.0.0-...-fb8a852 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ENDPOINT_ENV     = "NEBIUS_OBSERVABILITY_AGENT_UPDATER_ENDPOINT"
	UserAgent        = "nebius-observability-agent-updater"
	ProcessHealthKey = "process"
	CpuHealthKey     = "cpu"
	GpuHealthKey     = "gpu"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func New

func New(metadata metadataReader, oh oshelper, config *config.Config, logger *slog.Logger, getTokenCallback func() (string, error)) (*Client, error)

func (*Client) Close

func (s *Client) Close()

func (*Client) SendAgentData

func (s *Client) SendAgentData(agent agents.AgentData) (*agentmanager.GetVersionResponse, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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