Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterAsOwnerReference ¶
func ClusterAsOwnerReference(obj *clusterv1alpha1.Cluster, controller bool) metav1.OwnerReference
func NewController ¶
func NewController( kcpClient kcpclient.Interface, clusterInformer clusterinformer.ClusterInformer, apiResourceImportInformer apiresourceinformer.APIResourceImportInformer, resourcesToSync []string, ) (*clusterctl.ClusterReconciler, error)
Types ¶
type APIImporter ¶
type APIImporter struct {
SyncedGVRs map[string]metav1.GroupVersionResource
// contains filtered or unexported fields
}
func (*APIImporter) ImportAPIs ¶
func (i *APIImporter) ImportAPIs()
func (*APIImporter) Stop ¶
func (i *APIImporter) Stop()
type Config ¶
type Config struct {
*Options
// contains filtered or unexported fields
}
func (*Config) New ¶
func (c *Config) New() (*clusterctl.ClusterReconciler, error)
type Options ¶
type Options struct {
ResourcesToSync []string
}
func DefaultOptions ¶
func DefaultOptions() *Options
func (*Options) Complete ¶
func (o *Options) Complete(kubeconfig clientcmdapi.Config, kcpSharedInformerFactory kcpexternalversions.SharedInformerFactory, crdSharedInformerFactory crdexternalversions.SharedInformerFactory) *Config
Click to show internal directories.
Click to hide internal directories.