Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClusterNameAndGVRIndexKey ¶
func GetClusterNameAndGVRIndexKey(clusterName logicalcluster.Name, gvr metav1.GroupVersionResource) string
func NegotiatedAPIResourceAsOwnerReference ¶
func NegotiatedAPIResourceAsOwnerReference(obj *apiresourcev1alpha1.NegotiatedAPIResource) metav1.OwnerReference
Types ¶
type Controller ¶
type Controller struct { AutoPublishNegotiatedAPIResource bool // contains filtered or unexported fields }
func NewController ¶
func NewController( crdClusterClient *apiextensionsclientset.Cluster, kcpClusterClient *kcpclient.Cluster, autoPublishNegotiatedAPIResource bool, negotiatedAPIResourceInformer apiresourceinformer.NegotiatedAPIResourceInformer, apiResourceImportInformer apiresourceinformer.APIResourceImportInformer, crdInformer crdinfomer.CustomResourceDefinitionInformer, ) (*Controller, error)
type Options ¶
Options are the options for the cluster controller
func BindOptions ¶
BindOptions binds the apiresource controller options to the flag set.
func DefaultOptions ¶
func DefaultOptions() *Options
DefaultOptions are the default options for the apiresource controller.
Click to show internal directories.
Click to hide internal directories.