projection

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProjectPublishedResource added in v0.5.0

func ProjectPublishedResourceGVK added in v0.5.0

func ProjectPublishedResourceGVK(ctx context.Context, client *discovery.Client, pubRes *syncagentv1alpha1.PublishedResource) (schema.GroupVersionKind, error)

func PublishedResourceProjectedGVK

func PublishedResourceProjectedGVK(originalCRD *apiextensionsv1.CustomResourceDefinition, pubRes *syncagentv1alpha1.PublishedResource) (schema.GroupVersionKind, error)

PublishedResourceProjectedGVK returns the effective GVK after the projection rules have been applied according to the PublishedResource.

func PublishedResourceSourceGK added in v0.3.0

func PublishedResourceSourceGK(pubRes *syncagentv1alpha1.PublishedResource) schema.GroupKind

PublishedResourceSourceGK returns the source GK of the local resources that are supposed to be published.

func RelatedResourceGVR added in v0.5.0

func RelatedResourceKcpGVR added in v0.5.0

func RelatedResourceProjectedGVR added in v0.5.0

func RelatedResourceProjectedGVR(rr *syncagentv1alpha1.RelatedResourceSpec) schema.GroupVersionResource

RelatedResourceProjectedGVR returns the effective GVR on the destination side, after the projection rules for the related resource have been applied.

func RelatedResourceServiceGVK added in v0.5.0

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL