agent

package
v0.0.0-...-f8e543c Latest Latest
Warning

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

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

Documentation

Overview

Package agent implements the api endpoints for the `/agent` prefix. This group of endpoints is meant to provide high-level functionalities at the agent level.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent added in v0.9.0

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

Agent handles REST API calls

func NewAgent added in v0.9.0

func NewAgent(statusComponent status.Component, settings settings.Component, wmeta workloadmeta.Component) *Agent

NewAgent returns a new Agent

func (*Agent) SetupHandlers added in v0.9.0

func (a *Agent) SetupHandlers(r *mux.Router)

SetupHandlers adds the specific handlers for /agent endpoints

Jump to

Keyboard shortcuts

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