Documentation
¶
Index ¶
- type ExecuteCommand
- func (e ExecuteCommand) Call(ctx context.Context, raw json.RawMessage) (string, error)
- func (ExecuteCommand) Description() string
- func (ExecuteCommand) Name() string
- func (e ExecuteCommand) Run(ctx context.Context, host config.Host, command string) (string, error)
- func (ExecuteCommand) Schema() map[string]any
- type ExecuteCommandArgs
- type GetHosts
- type GetHostsArgs
- type HostInfo
- type Ping
- type PingArgs
- type Registry
- type Report
- type ReportArgs
- type Tool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecuteCommand ¶
func (ExecuteCommand) Call ¶
func (e ExecuteCommand) Call(ctx context.Context, raw json.RawMessage) (string, error)
func (ExecuteCommand) Description ¶
func (ExecuteCommand) Description() string
func (ExecuteCommand) Name ¶
func (ExecuteCommand) Name() string
func (ExecuteCommand) Schema ¶
func (ExecuteCommand) Schema() map[string]any
type ExecuteCommandArgs ¶
type GetHostsArgs ¶
type GetHostsArgs struct{}
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶
func (*Registry) Tools ¶
func (r *Registry) Tools() []openai.ChatCompletionToolUnionParam
type ReportArgs ¶
type ReportArgs struct {
Text string `json:"text"`
}
Click to show internal directories.
Click to hide internal directories.