Documentation ¶
Index ¶
Constants ¶
View Source
const (
ControllerName = "tmc-workload-apiexport"
)
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController( kcpClusterClient kcpclientset.ClusterInterface, apiExportInformer apisv1alpha1informers.APIExportClusterInformer, apiResourceSchemaInformer apisv1alpha1informers.APIResourceSchemaClusterInformer, negotiatedAPIResourceInformer apiresourcev1alpha1informers.NegotiatedAPIResourceClusterInformer, syncTargetInformer workloadv1alpha1informers.SyncTargetClusterInformer, ) (*controller, error)
NewController returns a new controller instance.
func ParseAPIResourceSchemaName ¶
func ParseAPIResourceSchemaName(name string) (schema.GroupResource, bool)
ParseAPIResourceSchemaName parses name of APIResourceSchema to a gr and schema if it is valid.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.