package apiserver
import "k8s.io/kube-aggregator/pkg/controllers/status"
Index ¶
- type AvailableConditionController
- func NewAvailableConditionController( apiServiceInformer informers.APIServiceInformer, serviceInformer v1informers.ServiceInformer, endpointsInformer v1informers.EndpointsInformer, apiServiceClient apiregistrationclient.APIServicesGetter, proxyTransport *http.Transport, proxyClientCert []byte, proxyClientKey []byte, serviceResolver ServiceResolver, ) (*AvailableConditionController, error)
- func (c *AvailableConditionController) Run(threadiness int, stopCh <-chan struct{})
- type ServiceResolver
Types ¶
type AvailableConditionController ¶
type AvailableConditionController struct {
// contains filtered or unexported fields
}
AvailableConditionController handles checking the availability of registered API services.
func NewAvailableConditionController ¶
func NewAvailableConditionController( apiServiceInformer informers.APIServiceInformer, serviceInformer v1informers.ServiceInformer, endpointsInformer v1informers.EndpointsInformer, apiServiceClient apiregistrationclient.APIServicesGetter, proxyTransport *http.Transport, proxyClientCert []byte, proxyClientKey []byte, serviceResolver ServiceResolver, ) (*AvailableConditionController, error)
NewAvailableConditionController returns a new AvailableConditionController.
func (*AvailableConditionController) Run ¶
func (c *AvailableConditionController) Run(threadiness int, stopCh <-chan struct{})
Run starts the AvailableConditionController loop which manages the availability condition of API services.
type ServiceResolver ¶
type ServiceResolver interface { ResolveEndpoint(namespace, name string, port int32) (*url.URL, error) }
ServiceResolver knows how to convert a service reference into an actual location.
Source Files ¶
available_controller.go metrics.go
- Version
- v0.16.6
- Published
- Jan 21, 2020
- Platform
- js/wasm
- Imports
- 30 packages
- Last checked
- 1 hour ago –
Tools for package owners.