Documentation
¶
Index ¶
Constants ¶
View Source
const (
ControllerName = "kcp-synctarget-export-controller"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommitFunc ¶ added in v0.11.0
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController( kcpClusterClient kcpclientset.ClusterInterface, syncTargetInformer workloadv1alpha1informers.SyncTargetClusterInformer, apiExportInformer apisv1alpha1informers.APIExportClusterInformer, apiResourceSchemaInformer 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 ¶ added in v0.11.0
type Patcher = workloadv1alpha1client.SyncTargetInterface
type Resource ¶ added in v0.11.0
type Resource = committer.Resource[*SyncTargetSpec, *SyncTargetStatus]
type SyncTarget ¶ added in v0.11.0
type SyncTarget = workloadv1alpha1.SyncTarget
type SyncTargetSpec ¶ added in v0.11.0
type SyncTargetSpec = workloadv1alpha1.SyncTargetSpec
type SyncTargetStatus ¶ added in v0.11.0
type SyncTargetStatus = workloadv1alpha1.SyncTargetStatus
Click to show internal directories.
Click to hide internal directories.