agent_info

package
v0.0.0-...-e18e3fe Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_agent_info_v1_agent_info_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AgentInfo

type AgentInfo struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// description opaque description
	Description  string        `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Capabilities []*Capability `protobuf:"bytes,3,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
	IsDispatcher bool          `protobuf:"varint,4,opt,name=is_dispatcher,json=isDispatcher,proto3" json:"is_dispatcher,omitempty"`
	Tools        []*Tool       `protobuf:"bytes,5,rep,name=tools,proto3" json:"tools,omitempty"`
	Cost         float32       `protobuf:"fixed32,6,opt,name=cost,proto3" json:"cost,omitempty"`
	// contains filtered or unexported fields
}

func (*AgentInfo) Descriptor deprecated

func (*AgentInfo) Descriptor() ([]byte, []int)

Deprecated: Use AgentInfo.ProtoReflect.Descriptor instead.

func (*AgentInfo) GetCapabilities

func (x *AgentInfo) GetCapabilities() []*Capability

func (*AgentInfo) GetCost

func (x *AgentInfo) GetCost() float32

func (*AgentInfo) GetDescription

func (x *AgentInfo) GetDescription() string

func (*AgentInfo) GetId

func (x *AgentInfo) GetId() string

func (*AgentInfo) GetIsDispatcher

func (x *AgentInfo) GetIsDispatcher() bool

func (*AgentInfo) GetTools

func (x *AgentInfo) GetTools() []*Tool

func (*AgentInfo) ProtoMessage

func (*AgentInfo) ProtoMessage()

func (*AgentInfo) ProtoReflect

func (x *AgentInfo) ProtoReflect() protoreflect.Message

func (*AgentInfo) Reset

func (x *AgentInfo) Reset()

func (*AgentInfo) String

func (x *AgentInfo) String() string

type AgentsNodeInfo

type AgentsNodeInfo struct {
	Node   *NodeInfo    `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	Agents []*AgentInfo `protobuf:"bytes,2,rep,name=agents,proto3" json:"agents,omitempty"`
	// contains filtered or unexported fields
}

func (*AgentsNodeInfo) Descriptor deprecated

func (*AgentsNodeInfo) Descriptor() ([]byte, []int)

Deprecated: Use AgentsNodeInfo.ProtoReflect.Descriptor instead.

func (*AgentsNodeInfo) GetAgents

func (x *AgentsNodeInfo) GetAgents() []*AgentInfo

func (*AgentsNodeInfo) GetNode

func (x *AgentsNodeInfo) GetNode() *NodeInfo

func (*AgentsNodeInfo) ProtoMessage

func (*AgentsNodeInfo) ProtoMessage()

func (*AgentsNodeInfo) ProtoReflect

func (x *AgentsNodeInfo) ProtoReflect() protoreflect.Message

func (*AgentsNodeInfo) Reset

func (x *AgentsNodeInfo) Reset()

func (*AgentsNodeInfo) String

func (x *AgentsNodeInfo) String() string

type Capability

type Capability struct {
	Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*Capability) Descriptor deprecated

func (*Capability) Descriptor() ([]byte, []int)

Deprecated: Use Capability.ProtoReflect.Descriptor instead.

func (*Capability) GetDescription

func (x *Capability) GetDescription() string

func (*Capability) ProtoMessage

func (*Capability) ProtoMessage()

func (*Capability) ProtoReflect

func (x *Capability) ProtoReflect() protoreflect.Message

func (*Capability) Reset

func (x *Capability) Reset()

func (*Capability) String

func (x *Capability) String() string

type NodeInfo

type NodeInfo struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// port is the port assigned to the workload
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	Port    int32  `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeInfo) Descriptor deprecated

func (*NodeInfo) Descriptor() ([]byte, []int)

Deprecated: Use NodeInfo.ProtoReflect.Descriptor instead.

func (*NodeInfo) GetAddress

func (x *NodeInfo) GetAddress() string

func (*NodeInfo) GetId

func (x *NodeInfo) GetId() string

func (*NodeInfo) GetPort

func (x *NodeInfo) GetPort() int32

func (*NodeInfo) ProtoMessage

func (*NodeInfo) ProtoMessage()

func (*NodeInfo) ProtoReflect

func (x *NodeInfo) ProtoReflect() protoreflect.Message

func (*NodeInfo) Reset

func (x *NodeInfo) Reset()

func (*NodeInfo) String

func (x *NodeInfo) String() string

type Tool

type Tool struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*Tool) Descriptor deprecated

func (*Tool) Descriptor() ([]byte, []int)

Deprecated: Use Tool.ProtoReflect.Descriptor instead.

func (*Tool) GetDescription

func (x *Tool) GetDescription() string

func (*Tool) GetName

func (x *Tool) GetName() string

func (*Tool) ProtoMessage

func (*Tool) ProtoMessage()

func (*Tool) ProtoReflect

func (x *Tool) ProtoReflect() protoreflect.Message

func (*Tool) Reset

func (x *Tool) Reset()

func (*Tool) String

func (x *Tool) String() string

Jump to

Keyboard shortcuts

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