Documentation ¶
Index ¶
- func NewDefaultReferenceGrantFetcher(factory common.Factory, options ...referenceGrantFetcherOption) *defaultReferenceGrantFetcher
- func ReferenceGrantAccepts(referenceGrant *gatewayv1beta1.ReferenceGrant, resource common.GKNN) bool
- func ReferenceGrantExposes(referenceGrant *gatewayv1beta1.ReferenceGrant, resource common.GKNN) bool
- func WithAdditionalResources(resources []*unstructured.Unstructured) referenceGrantFetcherOption
- type Extension
- type NodeMetadata
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReferenceGrantAccepts ¶
func ReferenceGrantAccepts(referenceGrant *gatewayv1beta1.ReferenceGrant, resource common.GKNN) bool
ReferenceGrantAccepts returns true if the provided reference grant "accepts" references from the given resource. "Accepts" means that the resource is part of the "From" fields within the ReferenceGrant.
func ReferenceGrantExposes ¶
func ReferenceGrantExposes(referenceGrant *gatewayv1beta1.ReferenceGrant, resource common.GKNN) bool
ReferenceGrantExposes returns true if the provided reference grant "exposes" the given resource. "Exposes" means that the resource is part of the "To" fields within the ReferenceGrant.
func WithAdditionalResources ¶
func WithAdditionalResources(resources []*unstructured.Unstructured) referenceGrantFetcherOption
Types ¶
type Extension ¶
type Extension struct {
// contains filtered or unexported fields
}
func NewExtension ¶
func NewExtension(fetcher referenceGrantFetcher) *Extension
type NodeMetadata ¶
type NodeMetadata struct { ReferenceGrants map[common.GKNN]*gatewayv1beta1.ReferenceGrant Errors []error }
Click to show internal directories.
Click to hide internal directories.