package openapi
import "k8s.io/apiextensions-apiserver/pkg/controller/openapi"
Index ¶
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller watches CustomResourceDefinitions and publishes validation schema
func NewController ¶
func NewController(crdInformer informers.CustomResourceDefinitionInformer) *Controller
NewController creates a new Controller with input CustomResourceDefinition informer
func (*Controller) Run ¶
func (c *Controller) Run(staticSpec *spec.Swagger, openAPIService *handler.OpenAPIService, stopCh <-chan struct{})
Run sets openAPIAggregationManager and starts workers
Source Files ¶
controller.go metrics.go
Directories ¶
Path | Synopsis |
---|---|
pkg/controller/openapi/builder | |
pkg/controller/openapi/v2 |
- Version
- v0.33.0 (latest)
- Published
- Apr 23, 2025
- Platform
- linux/amd64
- Imports
- 23 packages
- Last checked
- 4 hours ago –
Tools for package owners.