Documentation ¶
Index ¶
Constants ¶
View Source
const ControllerName = "tmc-apiresource"
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 {
// contains filtered or unexported fields
}
func NewController ¶
func NewController( crdClusterClient kcpapiextensionsclientset.ClusterInterface, kcpClusterClient kcpclientset.ClusterInterface, tmcClusterClient tmcclientset.ClusterInterface, negotiatedAPIResourceInformer apiresourceinformer.NegotiatedAPIResourceClusterInformer, apiResourceImportInformer apiresourceinformer.APIResourceImportClusterInformer, crdInformer kcpapiextensionsv1informers.CustomResourceDefinitionClusterInformer, ) (*Controller, error)
Click to show internal directories.
Click to hide internal directories.