crdhandler

package
v0.0.0-...-e302dff Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Logger    micrologger.Logger
	Converter Converter
	Scheme    *runtime.Scheme
}

type Converter

type Converter interface {
	Convert(Object *unstructured.Unstructured, toVersion string) (*unstructured.Unstructured, error)
}

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func New

func New(config Config) (Handler, error)

func (Handler) ServeHTTP

func (h Handler) ServeHTTP(writer http.ResponseWriter, request *http.Request)

Jump to

Keyboard shortcuts

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