package
0.20.0
Repository: https://github.com/kcp-dev/contrib-tmc.git
Documentation: pkg.go.dev

# Functions

Kind takes an unqualified kind and returns back a Group qualified GroupKind.
Resource takes an unqualified resource and returns a Group qualified GroupResource.
ToSyncTargetKey hashes the SyncTarget workspace and the SyncTarget name to a string that is used to identify in a unique way the synctarget in annotations/labels/finalizers.

# Constants

AnnotationSkipDefaultObjectCreation is the annotation key for an apiexport or apibinding indicating the other default resources has been created already.
APIImporterReady means the APIImport component is ready to import APIs from the SyncTarget.
ClusterFinalizerAnnotationPrefix is the prefix of the annotation finalizers.workload.kcp.io/<sync-target-name> on upstream resources storing a comma-separated list of finalizer names that are set on the sync target resource in the view of the syncer.
ClusterResourceStateLabelPrefix is the prefix of the label state.workload.kcp.io/<sync-target-name> on upstream resources storing the state of the sync target syncer state machine.
ClusterSpecDiffAnnotationPrefix is the prefix of the annotation experimental.spec-diff.workload.kcp.io/<sync-target-name> on upstream resources storing the desired spec diffs to be applied to the resource when syncing down to the <sync-target-name>.
ComputeAPIExportAnnotationKey is an annotation key set on an APIExport when it will be used for compute, and its APIs are expected to be synced to a SyncTarget by the Syncer.
ErrorHeartbeatMissedReason indicates that a heartbeat update was not received within the configured threshold.
ExperimentalSummarizingRulesAnnotation experimental.summarizing.workload.kcp.io on upstream resources storing the JSON-encoded summarizing rules for this instance of the resource.
ExperimentalUpsyncDerivedResourcesAnnotationKey is an annotation that can be set on a syncable resource.
HeartbeatHealthy means the HeartbeatManager has seen a heartbeat for the SyncTarget within the expected interval.
ImportedAPISExportName is singleton name of compute service exports in location workspace.
InternalClusterDeletionTimestampAnnotationPrefix is the prefix of the annotation deletion.internal.workload.kcp.io/<sync-target-name> on upstream resources storing the timestamp when the sync target resource state was changed to "Delete".
InternalClusterStatusAnnotationPrefix is the prefix of the annotation experimental.status.workload.kcp.io/<sync-target-name> on upstream resources storing the status of the downstream resource per sync target.
InternalDownstreamClusterLabel is a label with the upstream cluster name applied on the downstream cluster instead of state.workload.kcp.io/<sync-target-name> which is used upstream.
InternalSyncerViewAnnotationPrefix is the prefix of the annotation diff.syncer.internal.kcp.io/<sync-target-key> on upstream resources storing the value of fields as they have been reported by the Syncer for the given SyncTarget, so possibly different from the field value in the upstream resource itself, and overriding it for the given SyncTarget.
InternalSyncTargetKeyLabel is an internal label set on a SyncTarget resource that contains the full hash of the SyncTargetKey, generated with the ToSyncTargetKey(..) helper func, this label is used for reverse lookups of a syncTargetKey to SyncTarget.
InternalSyncTargetPlacementAnnotationKey is an internal annotation key on placement API to mark the synctarget scheduled from this placement.
InternalWorkspaceURLAnnotationKey is an annotation dynamically added on resources exposed by the Syncer Virtual Workspace to be synced by the Syncer.
ResourceSchemaAcceptedState is the state that the resource schema is compatible and can be synced by syncer.
ResourceSchemaIncompatibleState is the state that the resource schema is incompatible for syncer.
ResourceSchemaPendingState is the initial state indicating that the syncer has not report compatibility of the resource.
ResourceStatePending is the initial state of a resource after placement onto a sync target.
ResourceStateSync is the state of a resource when it is synced to the sync target.
ResourceStateUpsync is the state of a resource when it is synced up from the sync target.
SyncerAuthorized means the syncer is authorized to sync resources to downstream cluster.
SyncerReady means the syncer is ready to transfer resources between KCP and the SyncTarget.

# Variables

No description provided by the author
No description provided by the author
SchemeGroupVersion is group version used to register these objects.

# Structs

No description provided by the author
SyncTarget describes a member cluster capable of running workloads.
SyncTargetList is a list of SyncTarget resources +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
SyncTargetSpec holds the desired state of the SyncTarget (from the client).
SyncTargetStatus communicates the observed state of the SyncTarget (from the controller).
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author