cluster

package
v1.49.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2021 License: Apache-2.0 Imports: 55 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClusterAuthnHandler

func ClusterAuthnHandler(w http.ResponseWriter, r *http.Request)

ClusterAuthn

func ClusterAuthzHandler

func ClusterAuthzHandler(w http.ResponseWriter, r *http.Request)

ClusterAuthz

func HealthzHandler

func HealthzHandler(w http.ResponseWriter, r *http.Request)

func JSON

func JSON(w http.ResponseWriter, code int, payload interface{})

func Start

func Start(ctx context.Context, slug string, dataDir string) error

Start will start the embedded cluster. This function blocks until the cluster control plane has started

func StartAuthnzServer

func StartAuthnzServer()

Types

type HealthzResponse

type HealthzResponse struct {
	Version string         `json:"version"`
	GitSHA  string         `json:"gitSha"`
	Status  StatusResponse `json:"status"`
}

type StatusResponse

type StatusResponse struct {
}

Jump to

Keyboard shortcuts

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