package
0.0.0-20240227054250-5af6bcd206a6
Repository: https://github.com/udmire/observability-operator.git
Documentation: pkg.go.dev

# Functions

RenderHTTPResponse either responds with JSON or a rendered HTML page using the passed in template by checking the Accepts header.
StreamWriteYAMLResponse stream writes data as http response.
WriteHTMLResponse sends message as text/html response with 200 status code.
WriteJSONResponse writes some JSON as a HTTP response.
WriteTextResponse sends message as text/plain response with 200 status code.
WriteYAMLResponse writes some YAML as a HTTP response.