handlers

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ContentType name of the header that defines the format of the reply
	ContentType = "Content-Type"
	// DBaaSEnvironmentType name of the header that contains if this has been served by dbaas
	DBaaSEnvironmentType = "X-DBaaS-Environment-Type"
	// CacheControl name of the header that defines the cache control config
	CacheControl = "Cache-Control"
)

Variables

This section is empty.

Functions

func Run

func Run(h *Client, setupLog logr.Logger)

Run runs the http server.

Types

type Client

type Client struct {
	Client ctrlClient.Client
	Log    logr.Logger
	Debug  bool
}

Client is the client structure for http handlers.

Jump to

Keyboard shortcuts

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