package
7.0.1+incompatible
Repository: https://github.com/apache/trafficcontrol.git
Documentation: pkg.go.dev

# Functions

AddWhereClauseAndQuery adds a WHERE clause to the query given in `q` (does NOT check for existing WHERE clauses or that the end of the string is the proper place to put one!) that limits the query results to those with the given hostname and/or Physical Location ID and, with orderByStr and limitStr appended (in that order), returns the result of querying the given transaction.
AssignDeliveryServicesToServerHandler is the handler for POST requests to /servers/{{ID}}/deliveryservices.
Create is the handler for POST requests to /servers.
Delete is the handler for DELETE requests to the /servers API endpoint.
GetDetailParamHandler handles GET requests to /servers/details (the name includes "Param" for legacy reasons).
No description provided by the author
No description provided by the author
InvalidStatusForDeliveryServicesAlertText returns a string describing that setting a server to 'status' invalidates the Active delivery services identified in 'dsIDs'.
QueueUpdateHandler implements an http handler that sets a server's config update time value.
Read is the handler for GET requests to /servers.
Update is the handler for PUT requests to /servers.
UpdateHandler implements an http handler that updates a server's upd_pending and reval_pending values.
UpdateHandlerV4 implements an http handler that updates a server's config update and reval times.
UpdateStatusHandler is the handler for PUT requests to the /servers/{{ID}}/status API endpoint.
ValidateDSCapabilities checks that the server meets the requirements of each delivery service to be assigned.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author