Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AgentControl ¶
type AgentControl interface {
FetchStatus(context.Context) ([]AgentStatus, error)
Lifecycle(ctx context.Context, id, action string) (bool, error)
GetLogs(ctx context.Context, id string) (<-chan string, error)
}
AgentControl defines the interface for interacting with agents.
type AgentStatus ¶
type Filter ¶
type Filter struct {
// contains filtered or unexported fields
}
func (*Filter) Activate ¶
func (f *Filter) Activate(mode FilterMode)
func (*Filter) Deactivate ¶
func (f *Filter) Deactivate()
func (*Filter) Matches ¶
func (f *Filter) Matches(agent AgentStatus) bool
func (*Filter) StatusLine ¶
type FilterMode ¶
type FilterMode int
const ( FilterNone FilterMode = iota FilterByState FilterByType FilterByName )
type LogViewer ¶
type LogViewer struct {
// contains filtered or unexported fields
}
func NewLogViewer ¶
Click to show internal directories.
Click to hide internal directories.