Struct haproxy_api::Server [−][src]
Expand description
The “Server” class provides a way for manipulating servers and retrieving information.
Fields
name: String
puid: String
Implementations
Returns true if the server is currently draining sticky connections.
Dynamically changes the maximum connections of the server.
Returns an integer representing the server maximum connections.
Dynamically changes the weight of the server. See the management socket documentation for more information about the format of the string.
Returns an integer representing the server weight.
Dynamically changes the address of the server.
Returns a table containing the server statistics.
Enables health checks.
Disables health checks.
Forces health-check up.
Forces health-check nolb mode.
Forces health-check down.
Enables agent check.
Disables agent check.
Forces agent check up.
Forces agent check down.
Trait Implementations
Auto Trait Implementations
impl<'lua> !RefUnwindSafe for Server<'lua>
impl<'lua> !UnwindSafe for Server<'lua>
Blanket Implementations
Mutably borrows from an owned value. Read more
Performs the conversion. Read more