package
8.15.2+incompatible
Repository: https://github.com/elastic/elastic-agent.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
Package uploader contains the methods needed to upload a file using fleet-server's upload endpoints.

# Functions

NewAckCmd creates a new api command.
NewAction returns a new, zero-value, action of the type defined by 'actionType' or an ActionUnknown with the 'OriginalType' field set to 'actionType' if the type is not valid.
NewCheckinCmd creates a new api command.
NewEnrollCmd creates a new EnrollCmd.

# Constants

ActionTypeCancel specifies a cancel action.
ActionTypeDiagnostics specifies a diagnostics action.
ActionTypeInputAction specifies agent action.
ActionTypePolicyChange specifies policy change action.
ActionTypePolicyReassign specifies policy reassign action.
ActionTypeSettings specifies change of agent settings.
ActionTypeUnenroll specifies unenroll action.
ActionTypeUnknown is used to indicate that the elastic-agent does not know how to handle the 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.
Error values that the Action interface can return.
Error values that the Action interface can return.
ErrTemporaryServerError is returned when the request caused a temporary server error.
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.
AckResponseItem the status items for individual acks.
ActionApp is the application action request.
ActionCancel is a request to cancel an action.
No description provided by the author
ActionDiagnostics is a request to gather and upload a diagnostics bundle.
No description provided by the author
ActionPolicyChange is a request to apply a new.
No description provided by the author
ActionPolicyReassign is a request to apply a new policy.
No description provided by the author
ActionSettings is a request to change agent settings.
No description provided by the author
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.
No description provided by the author
CheckinCmd is a fleet API command.
CheckinComponent provides information about a component during checkin.
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.
CheckinShipperReference provides information about a component shipper connection during checkin.
CheckinUnit provides information about a unit during checkin.
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.
No description provided by the author

# Interfaces

Action base interface for all the implemented action from the fleet API.
RetryableAction is an Action that may be scheduled for a retry.
ScheduledAction is an Action that may be executed at a later date Only ActionUpgrade implements this at the moment.
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 slice of Actions to executes and allow to unmarshal heterogeneous action types.
EnrollType is the type of enrollment to do with the elastic-agent.
Time is a custom time that impose the serialization format.