kref

package
v0.0.0-...-ca5f1ce Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KReferenceResolver

type KReferenceResolver struct {
	// contains filtered or unexported fields
}

KReferenceResolver is an object that resolves the KReference.Group field Note: This API is EXPERIMENTAL and might break anytime. For more details: https://github.com/knative/eventing/issues/5086

func NewKReferenceResolver

NewKReferenceResolver creates a new KReferenceResolver from a crdLister Note: This API is EXPERIMENTAL and might break anytime. For more details: https://github.com/knative/eventing/issues/5086

func (*KReferenceResolver) ResolveGroup

func (resolver *KReferenceResolver) ResolveGroup(kr *duckv1.KReference) (*duckv1.KReference, error)

ResolveGroup resolves the APIVersion of a KReference starting from the Group. In order to execute this method, you need RBAC to read the CRD of the Resource referred in this KReference. Note: This API is EXPERIMENTAL and might break anytime. For more details: https://github.com/knative/eventing/issues/5086

Jump to

Keyboard shortcuts

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