crdconversion

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package crdconversion implements OSM's CRD conversion facility. The crd-converter webhook server intercepts crd get/list/create/update requests to apply the required conversion logic.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConversionWebhook

func NewConversionWebhook(config Config, kubeClient kubernetes.Interface, crdClient apiclient.ApiextensionsV1Interface, certManager certificate.Manager, osmNamespace string, enableReconciler bool, stop <-chan struct{}) error

NewConversionWebhook starts a new web server handling requests from the CRD's

Types

type Config

type Config struct {
	// ListenPort defines the port on which the crd-conversion webhook listens
	ListenPort int
}

Config is the type used to represent the config options for the crd-conversion webhook

Jump to

Keyboard shortcuts

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