openapi

package
v1.10.2 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Workers is the number of workers for this controller
	Workers        = 1
	ControllerName = "openapi-controller"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller interface {
	controllers.Controller
	CheckSync(context.Context)
}

func NewController

func NewController(client dclient.Interface, mgr Manager) Controller

NewController ...

type Manager

type Manager interface {
	Lock()
	Unlock()
	UseOpenAPIDocument(*openapiv2.Document) error
	DeleteCRDFromPreviousSync()
	ParseCRD(unstructured.Unstructured)
	UpdateKindToAPIVersions([]*metav1.APIResourceList, []*metav1.APIResourceList)
	GetCrdList() []string
}

Jump to

Keyboard shortcuts

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