kube-aggregator: k8s.io/kube-aggregator/pkg/controllers/autoregister Index | Files

package autoregister

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

Index

Package Files

autoregister_controller.go

Constants

const (
    // AutoRegisterManagedLabel is a label attached to the APIService that identifies how the APIService wants to be synced.
    AutoRegisterManagedLabel = "kube-aggregator.kubernetes.io/automanaged"
)

func NewAutoRegisterController Uses

func NewAutoRegisterController(apiServiceInformer informers.APIServiceInformer, apiServiceClient apiregistrationclient.APIServicesGetter) *autoRegisterController

NewAutoRegisterController creates a new autoRegisterController.

type AutoAPIServiceRegistration Uses

type AutoAPIServiceRegistration interface {
    // AddAPIServiceToSyncOnStart adds an API service to sync on start.
    AddAPIServiceToSyncOnStart(in *v1.APIService)
    // AddAPIServiceToSync adds an API service to sync continuously.
    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 autoregister imports 18 packages (graph) and is imported by 8 packages. Updated 2020-03-06. Refresh now. Tools for package owners.