infrastructure

package
v0.221.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(agentURL string) client.A2AClient

NewClient returns an ADK client for the agent at agentURL whose requests carry the session's trace context, so remote spans nest under ours.

Types

type AgentCardClient

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

func NewAgentCardClient

func NewAgentCardClient(cfg *config.Config) *AgentCardClient

func (*AgentCardClient) GetAgentCard

func (s *AgentCardClient) GetAgentCard(ctx context.Context, agentURL string) (*adk.AgentCard, error)

func (*AgentCardClient) GetAgentCards

func (s *AgentCardClient) GetAgentCards(ctx context.Context) ([]*a2adomain.CachedAgentCard, error)

func (*AgentCardClient) GetConfiguredAgents

func (s *AgentCardClient) GetConfiguredAgents() []string

Jump to

Keyboard shortcuts

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