Documentation
¶
Overview ¶
Package rogueclient implements the rogue-client binary that runs in the rogue pod.
rogue-client idle
rogue-client request [-X method] [-H 'Name: value']... [--data body]
[--cert file --key file] [--cacert file] [-k] [--max-time 30s] URL
request writes the response body to stdout followed by StatusMarker and the HTTP status code, or StatusMarker and 0 when no HTTP response was received.
Index ¶
Constants ¶
View Source
const ( // StatusMarker precedes the HTTP status code on stdout. StatusMarker = "\nradius-rogue-status:" // ExitOK means an HTTP response was received, whatever its status. ExitOK = 0 // ExitTransport means no HTTP response was received, for example a refused // connection or a failed TLS handshake. ExitTransport = 1 // ExitUsage means the arguments were invalid. ExitUsage = 2 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.