guiimpl

package
v0.0.0-...-e70f483 Latest Latest
Warning

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

Go to latest
Published: May 21, 2026 License: Apache-2.0 Imports: 51 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package guiimpl implements the component gui

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	Name       string
	LoaderErrs map[string]map[string]string
	ConfigErrs map[string]string
	Stats      map[string]interface{}
	CheckStats []*stats.Stats
}

Data is a struct used for filling templates

type Payload

type Payload struct {
	Config string `json:"config"`
	Email  string `json:"email"`
	CaseID string `json:"caseID"`
}

Payload struct is for the JSON messages received from a client POST request

type Provides

type Provides struct {
	compdef.Out

	Comp     option.Option[guidef.Component]
	Endpoint api.AgentEndpointProvider
}

Provides defines the output of the gui component.

func NewComponent

func NewComponent(deps Requires) Provides

NewComponent creates a new GUI component.

type Requires

type Requires struct {
	compdef.In

	Log      log.Component
	Config   config.Component
	Flare    flare.Component
	Status   status.Component
	Lc       compdef.Lifecycle
	Hostname hostnameinterface.Component
}

Requires defines the dependencies of the gui component.

Jump to

Keyboard shortcuts

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