docs

package
v0.2.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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

func NewOpenAPIUIHandler() http.Handler

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL