agentclient

package
v0.8.0-beta.3 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package agentclient is the public re-export of lablink's gRPC node-agent client pool.

External callers (for example github.com/nijosmsft/gokd/cmd/gokd-mcp) cannot import the internal package directly. This shim exposes the same Pool type (via type alias) and a handful of constructors so consumers can dial node agents using the same connection pool, mTLS configuration and auth token as LabLinkServer itself.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pool

type Pool = internal.Pool

Pool is a re-export of the internal connection pool. Type alias keeps internal and public types interoperable.

func NewPool

func NewPool(token string, transport security.ClientTransportConfig) *Pool

NewPool creates a new agent connection pool with the given shared auth token and TLS configuration.

Jump to

Keyboard shortcuts

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