package
7.17.28
Repository: https://github.com/elastic/beats.git
Documentation: pkg.go.dev

# Packages

# Functions

NewAckCmd creates a new api command.
NewCheckinCmd creates a new api command.
NewEnrollCmd creates a new EnrollCmd.

# Constants

ActionTypeInputAction specifies agent action.
ActionTypePolicyChange specifies policy change action.
ActionTypePolicyReassign specifies policy reassign action.
ActionTypeSettings specifies change of agent settings.
ActionTypeUnenroll specifies unenroll action.
ActionTypeUpgrade specifies upgrade action.
PermanentEnroll is default enrollment type, by default an Agent is permanently enroll to Agent.

# Variables

ErrConnRefused is returned when the connection to the server is refused.
ErrTooManyRequests is received when the remote server is overloaded.

# Structs

AckCmd is a fleet API command.
AckEvent is an event sent in an ACK request.
AckRequest consists of multiple actions acked to fleet ui.
AckResponse is the response send back from the server.
ActionApp is the application action request.
ActionPolicyChange is a request to apply a new.
ActionPolicyReassign is a request to apply a new.
ActionSettings is a request to change agent settings.
ActionUnenroll is a request for agent to unhook from fleet.
ActionUnknown is an action that is not know by the current version of the Agent and we don't want to return an error at parsing time but at execution time we can report or ignore.
ActionUpgrade is a request for agent to upgrade.
CheckinCmd is a fleet API command.
CheckinRequest consists of multiple events reported to fleet ui.
CheckinResponse is the response send back from the server which contains all the action that need to be executed or proxy to running processes.
EnrollCmd is the command to be executed to enroll an elastic-agent into Fleet Server.
EnrollItemResponse item response.
EnrollRequest is the data required to enroll the elastic-agent into Fleet Server.
EnrollResponse is the data received after enrolling an Agent into fleet.
Metadata is a all the metadata send or received from the elastic-agent.

# Interfaces

Action base interface for all the implemented action from the fleet API.
SerializableEvent is a representation of the event to be send to the Fleet Server API via the checkin endpoint, we are liberal into what we accept to be send you only need a type and be able to be serialized into JSON.

# Type aliases

Actions is a list of Actions to executes and allow to unmarshal heterogenous action type.
EnrollType is the type of enrollment to do with the elastic-agent.
Time is a custom time that impose the serialization format.