agents

package
v0.2.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentConfigView

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

func NewAgentConfigView

func NewAgentConfigView(agent, action string, sysInfo sysinfo.SysInfo) *AgentConfigView

func (*AgentConfigView) Init

func (a *AgentConfigView) Init() tea.Cmd

func (*AgentConfigView) Update

func (a *AgentConfigView) Update(msg tea.Msg) (types.View, tea.Cmd)

func (*AgentConfigView) View

func (a *AgentConfigView) View() string

type AgentRunner

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

func NewAgentRunner

func NewAgentRunner(agent, action string, options map[string]interface{}, sysInfo sysinfo.SysInfo, serviceSettings map[string]string) *AgentRunner

func (*AgentRunner) Init

func (a *AgentRunner) Init() tea.Cmd

func (*AgentRunner) Update

func (a *AgentRunner) Update(msg tea.Msg) (types.View, tea.Cmd)

func (*AgentRunner) View

func (a *AgentRunner) View() string

type AgentsFieldViews added in v0.2.0

type AgentsFieldViews interface {
	InstallView() (*huh.Group, error)
	UninstallView() (*huh.Group, error)
	UpdateApiKeyView(defaultPath string) (*huh.Group, error)
}

func NewAgentsFields added in v0.2.0

func NewAgentsFields(agent string) AgentsFieldViews

type AgentsView

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

func NewAgentView

func NewAgentView(sysInfo sysinfo.SysInfo) *AgentsView

func (*AgentsView) Init

func (a *AgentsView) Init() tea.Cmd

func (*AgentsView) Update

func (a *AgentsView) Update(msg tea.Msg) (types.View, tea.Cmd)

func (*AgentsView) View

func (a *AgentsView) View() string

type Otel added in v0.2.0

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

func (*Otel) InstallView added in v0.2.0

func (o *Otel) InstallView() (*huh.Group, error)

func (*Otel) UninstallView added in v0.2.0

func (o *Otel) UninstallView() (*huh.Group, error)

func (*Otel) UpdateApiKeyView added in v0.2.0

func (o *Otel) UpdateApiKeyView(defaultPath string) (*huh.Group, error)

type Telegraf added in v0.2.0

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

func (*Telegraf) InstallView added in v0.2.0

func (t *Telegraf) InstallView() (*huh.Group, error)

func (*Telegraf) UninstallView added in v0.2.0

func (t *Telegraf) UninstallView() (*huh.Group, error)

func (*Telegraf) UpdateApiKeyView added in v0.2.0

func (t *Telegraf) UpdateApiKeyView(defaultPath string) (*huh.Group, error)

Jump to

Keyboard shortcuts

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