server

package
v0.0.0-...-63635d1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conf

type Conf struct {
	Client *clientset.Clientset
}

Conf caries client configuration

func MakeServerConf

func MakeServerConf(k8sMasterURL, kubeconfig string) *Conf

MakeServerConf Creates the client configuration

func (*Conf) Validate

func (s *Conf) Validate(w http.ResponseWriter, r *http.Request)

Validate process the request, parse the data from it and pass to check

Jump to

Keyboard shortcuts

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