Documentation
¶
Index ¶
- Variables
- func GenerateLocalObjectName(pr *syncagentv1alpha1.PublishedResource, object metav1.Object, ...) types.NamespacedName
- func PublishedResourceProjectedGVK(pubRes *syncagentv1alpha1.PublishedResource, kcpAPIGroup string) schema.GroupVersionKind
- func PublishedResourceSourceGVK(pubRes *syncagentv1alpha1.PublishedResource) schema.GroupVersionKind
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultNamingScheme = syncagentv1alpha1.ResourceNaming{ Namespace: syncagentv1alpha1.PlaceholderRemoteClusterName, Name: fmt.Sprintf("%s-%s", syncagentv1alpha1.PlaceholderRemoteNamespaceHash, syncagentv1alpha1.PlaceholderRemoteNameHash), }
Functions ¶
func GenerateLocalObjectName ¶
func GenerateLocalObjectName(pr *syncagentv1alpha1.PublishedResource, object metav1.Object, clusterName logicalcluster.Name) types.NamespacedName
func PublishedResourceProjectedGVK ¶
func PublishedResourceProjectedGVK(pubRes *syncagentv1alpha1.PublishedResource, kcpAPIGroup string) schema.GroupVersionKind
PublishedResourceProjectedGVK returns the effective GVK after the projection rules have been applied according to the PublishedResource.
func PublishedResourceSourceGVK ¶
func PublishedResourceSourceGVK(pubRes *syncagentv1alpha1.PublishedResource) schema.GroupVersionKind
PublishedResourceSourceGVK returns the source GVK of the local resources that are supposed to be published.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.