AgentConfig

@Serializable
data class AgentConfig(val pid: Int, val port: Int, val socket: String? = null, val control: AgentConfig.AgentEndpoint? = null)(source)

Agent Configuration

Describes the structure of a local agent configuration rendezvous file.

Parameters

pid

Process ID where the Buildless Agent is running.

port

TCP port where the Agent service is listening.

socket

Unix domain socket where the Agent service is listening (if enabled).

control

Coordinates for the Agent control service.

Constructors

Link copied to clipboard
constructor(pid: Int, port: Int, socket: String? = null, control: AgentConfig.AgentEndpoint? = null)

Types

Link copied to clipboard
@Serializable
data class AgentEndpoint(val port: Int, val socket: String? = null)

Describes a single agent endpoint.

Properties

Link copied to clipboard
Link copied to clipboard
val pid: Int
Link copied to clipboard
val port: Int
Link copied to clipboard
val socket: String? = null