apiimpl

package
v0.0.0-...-1dd94e2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 65 Imported by: 0

Documentation

Overview

Package apiimpl implements the internal Agent API which exposes endpoints such as config, flare or status

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Module

func Module() fxutil.Module

Module defines the fx options for this component.

func ServerAddress

func ServerAddress() *net.TCPAddr

ServerAddress returns the server address.

func StartServers

func StartServers(
	configService optional.Option[rcservice.Component],
	configServiceMRF optional.Option[rcservicemrf.Component],
	dogstatsdServer dogstatsdServer.Component,
	capture replay.Component,
	pidMap pidmap.Component,
	serverDebug dogstatsddebug.Component,
	wmeta workloadmeta.Component,
	taggerComp tagger.Component,
	logsAgent optional.Option[logsAgent.Component],
	senderManager sender.DiagnoseSenderManager,
	hostMetadata host.Component,
	invAgent inventoryagent.Component,
	demux demultiplexer.Component,
	invHost inventoryhost.Component,
	secretResolver secrets.Component,
	invChecks inventorychecks.Component,
	pkgSigning packagesigning.Component,
	statusComponent status.Component,
	collector optional.Option[collector.Component],
	eventPlatformReceiver eventplatformreceiver.Component,
	ac autodiscovery.Component,
	gui optional.Option[gui.Component],
	settings settings.Component,
	providers []api.EndpointProvider,
) error

StartServers creates certificates and starts API + IPC servers

func StopServers

func StopServers()

StopServers closes the connections and the servers

Types

This section is empty.

Directories

Path Synopsis
internal
agent
Package agent implements the api endpoints for the `/agent` prefix.
Package agent implements the api endpoints for the `/agent` prefix.
check
Package check implements the api endpoints for the `/check` prefix.
Package check implements the api endpoints for the `/check` prefix.
config
Package config defines the config endpoint of the IPC API Server.
Package config defines the config endpoint of the IPC API Server.
Package response defines the config check response
Package response defines the config check response
Package utils implements utility functions for the API servers
Package utils implements utility functions for the API servers

Jump to

Keyboard shortcuts

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