Documentation ¶
Index ¶
Constants ¶
View Source
const (
ControllerName = "tmc-synctarget-export-controller"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController( kcpClusterClient kcpclientset.ClusterInterface, tmcClusterClient tmcclientset.ClusterInterface, syncTargetInformer workloadv1alpha1informers.SyncTargetClusterInformer, apiExportInformer, globalAPIExportInformer apisv1alpha1informers.APIExportClusterInformer, apiResourceSchemaInformer, globalAPIResourceSchemaInformer apisv1alpha1informers.APIResourceSchemaClusterInformer, apiResourceImportInformer apiresourcev1alpha1informers.APIResourceImportClusterInformer, ) (*Controller, error)
NewController returns a controller which update syncedResource in status based on supportedExports in spec of a syncTarget.
type Patcher ¶
type Patcher = workloadv1alpha1client.SyncTargetInterface
type Resource ¶
type Resource = committer.Resource[*SyncTargetSpec, *SyncTargetStatus]
type SyncTarget ¶
type SyncTarget = workloadv1alpha1.SyncTarget
type SyncTargetSpec ¶
type SyncTargetSpec = workloadv1alpha1.SyncTargetSpec
type SyncTargetStatus ¶
type SyncTargetStatus = workloadv1alpha1.SyncTargetStatus
Click to show internal directories.
Click to hide internal directories.