kube-aggregatork8s.io/kube-aggregator/pkg/controllers/openapiv3 Index | Files | Directories

package openapiv3

import "k8s.io/kube-aggregator/pkg/controllers/openapiv3"

Index

Types

type AggregationController

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

AggregationController periodically checks the list of group-versions handled by each APIService and updates the discovery page periodically

func NewAggregationController

func NewAggregationController(openAPIAggregationManager aggregator.SpecProxier) *AggregationController

NewAggregationController creates new OpenAPI aggregation controller.

func (*AggregationController) AddAPIService

func (c *AggregationController) AddAPIService(handler http.Handler, apiService *v1.APIService)

AddAPIService adds a new API Service to OpenAPI Aggregation.

func (*AggregationController) RemoveAPIService

func (c *AggregationController) RemoveAPIService(apiServiceName string)

RemoveAPIService removes API Service from OpenAPI Aggregation Controller.

func (*AggregationController) Run

func (c *AggregationController) Run(stopCh <-chan struct{})

Run starts OpenAPI AggregationController

func (*AggregationController) UpdateAPIService

func (c *AggregationController) UpdateAPIService(handler http.Handler, apiService *v1.APIService)

UpdateAPIService updates API Service's info and handler.

Source Files

controller.go

Directories

PathSynopsis
pkg/controllers/openapiv3/aggregator
Version
v0.32.2 (latest)
Published
Feb 13, 2025
Platform
linux/amd64
Imports
9 packages
Last checked
1 month ago

Tools for package owners.