Documentation
¶
Overview ¶
Package classification Kubescape Operator
The Kubescape Operator coordinates the Kubescape in-cluster components and allows clients to execute actions these components.
Schemes: https, http BasePath: / Version: 1.0.0
Consumes: - application/json Produces: - text/plain
Security: - basic
swagger:meta
Package docs documents the HTTP API endpoints. The documentation is then used to generate an OpenAPI spec.
Index ¶
Constants ¶
View Source
const ( OpenAPIDocsEndpoint = "docs" OpenAPIRapiEndpoint = "rapi" OpenAPISwaggerUIEndpoint = "swaggerui" OpenAPIswaggerJSONEndpoint = "swagger.yaml" OpenAPIV2Prefix = "/openapi/v2/" )
Variables ¶
This section is empty.
Functions ¶
func NewOpenAPIUIHandler ¶
NewOpenAPIUIHandler returns a handler that serves OpenAPI specs via UI
func ServeOpenAPISpec ¶
func ServeOpenAPISpec(w http.ResponseWriter, r *http.Request)
ServeOpenAPISpec returns the OpenAPI specification file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.