Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScopeEvaluator ¶
type ScopeEvaluator interface { GetNamespace(ctx context.Context, currentNamespace string, scope string) (string, bool, error) EvaluateScopedReferenceToObject(ctx context.Context, currentNamespace string, scopeRef *v1alpha1.ScopedReference, obj client.Object) (string, bool, error) EvaluateScopedReferenceToObjectId(ctx context.Context, currentNamespace string, gk schema.GroupKind, scopeRef *v1alpha1.ScopedReference) (utils.ObjectId, bool, error) EvaluateScopedKindReferenceToObject(ctx context.Context, currentNamespace string, kindRef *v1alpha1.ScopedKindReference) (runtime.Object, string, bool, error) EvaluateScopedKindReferenceToObjectId(ctx context.Context, currentNamespace string, kindRef *v1alpha1.ScopedKindReference) (utils.ObjectId, bool, error) }
func NewScopeEvaluator ¶
func NewScopeEvaluator(client client.Client) ScopeEvaluator
Click to show internal directories.
Click to hide internal directories.