kubernetes: k8s.io/kubernetes/pkg/master/controller/crdregistration Index | Files

package crdregistration

import "k8s.io/kubernetes/pkg/master/controller/crdregistration"


Package Files


func NewCRDRegistrationController Uses

func NewCRDRegistrationController(crdinformer crdinformers.CustomResourceDefinitionInformer, apiServiceRegistration AutoAPIServiceRegistration) *crdRegistrationController

NewCRDRegistrationController returns a controller which will register CRD GroupVersions with the auto APIService registration controller so they automatically stay in sync.

type AutoAPIServiceRegistration Uses

type AutoAPIServiceRegistration interface {
    // AddAPIServiceToSync adds an API service to auto-register.
    AddAPIServiceToSync(in *v1.APIService)
    // RemoveAPIServiceToSync removes an API service to auto-register.
    RemoveAPIServiceToSync(name string)

AutoAPIServiceRegistration is an interface which callers can re-declare locally and properly cast to for adding and removing APIServices

Package crdregistration imports 14 packages (graph) and is imported by 6 packages. Updated 2019-09-08. Refresh now. Tools for package owners.