Documentation ¶
Index ¶
Constants ¶
View Source
const (
ControllerName = "kcp-apibinder-initializer"
)
Variables ¶
This section is empty.
Functions ¶
func InstallIndexers ¶ added in v0.25.0
func InstallIndexers(workspaceTypeInformer, globalWorkspaceTypeInformer tenancyv1alpha1informers.WorkspaceTypeClusterInformer)
InstallIndexers adds the additional indexers that this controller requires to the informers.
Types ¶
type APIBinder ¶
type APIBinder struct {
// contains filtered or unexported fields
}
APIBinder is a controller which instantiates APIBindings and waits for them to be fully bound in new Workspaces.
func NewAPIBinder ¶
func NewAPIBinder( kcpClusterClient kcpclientset.ClusterInterface, logicalClusterInformer corev1alpha1informers.LogicalClusterClusterInformer, workspaceTypeInformer, globalWorkspaceTypeInformer tenancyv1alpha1informers.WorkspaceTypeClusterInformer, apiBindingsInformer apisv1alpha1informers.APIBindingClusterInformer, apiExportsInformer, globalAPIExportsInformer apisv1alpha1informers.APIExportClusterInformer, ) (*APIBinder, error)
NewAPIBinder returns a new controller which instantiates APIBindings and waits for them to be fully bound in new Workspaces.
Click to show internal directories.
Click to hide internal directories.