agent_client

package
v0.19.3 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAgentServer added in v0.18.0

func NewAgentServer(address, spaceId string, agentClient *AgentClient) *agentServer

func ProxyTcp added in v0.12.2

func ProxyTcp(stream net.Conn, port string)

func ProxyTcpTls added in v0.12.2

func ProxyTcpTls(stream net.Conn, port, serverName string, skipTLSVerify bool)

Types

type AgentClient added in v0.18.0

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

func NewAgentClient added in v0.18.0

func NewAgentClient(defaultServerAddress, spaceId string) *AgentClient

func (*AgentClient) ConnectAndServe added in v0.18.0

func (c *AgentClient) ConnectAndServe()

func (*AgentClient) SendLogMessage added in v0.18.0

func (c *AgentClient) SendLogMessage(service string, level msg.LogLevel, message string) error

func (*AgentClient) SendRequestToken added in v0.18.0

func (c *AgentClient) SendRequestToken() (string, string, error)

func (*AgentClient) SendSpaceNote added in v0.18.0

func (c *AgentClient) SendSpaceNote(note string) error

func (*AgentClient) SendSpaceRestart added in v0.18.0

func (c *AgentClient) SendSpaceRestart() error

func (*AgentClient) SendSpaceStop added in v0.18.0

func (c *AgentClient) SendSpaceStop() error

func (*AgentClient) Shutdown added in v0.18.0

func (c *AgentClient) Shutdown()

Jump to

Keyboard shortcuts

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