agent

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	Id           string      `json:"id,omitempty"`
	Name         base.Name   `json:"name,omitempty"`
	Kind         base.Kind   `json:"kind,omitempty"`
	Version      float32     `json:"version"`
	Description  string      `json:"description,omitempty"`
	Tags         AgentTags   `json:"tags,omitempty"`
	Created      string      `json:"created,omitempty"`
	LastModified string      `json:"lastModified,omitempty"`
	Links        base.Links  `json:"links,omitempty"`
	Status       AgentStatus `json:"status,omitempty"`
}

type AgentInfo

type AgentInfo struct {
	LastActive   string       `json:"lastActive,omitempty"`
	Env          AgentInfoEnv `json:"env,omitempty"`
	PeerCount    float32      `json:"peerCount"`
	ServiceCount float32      `json:"serviceCount"`
}

type AgentInfoEnv

type AgentInfoEnv map[string]any

type AgentStatus

type AgentStatus struct {
	BootstrapConfig BootstrapConfig `json:"bootstrapConfig,omitempty"`
}

type AgentTags added in v1.0.0

type AgentTags map[string]any

type BootstrapConfig

type BootstrapConfig struct {
	RegistrationToken string `json:"registrationToken"`
	AgentId           string `json:"agentId"`
	AgentLink         string `json:"agentLink"`
	HubEndpoint       string `json:"hubEndpoint"`
}

Jump to

Keyboard shortcuts

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