- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NewDecoratedVisitor (0.21 sec)
-
staging/src/k8s.io/cli-runtime/pkg/resource/builder.go
} // only items from disk can be refetched if b.latest { // must set namespace prior to fetching if b.defaultNamespace { visitors = NewDecoratedVisitor(visitors, SetNamespace(b.namespace)) } visitors = NewDecoratedVisitor(visitors, RetrieveLatest) } if b.labelSelector != nil { selector, err := labels.Parse(*b.labelSelector) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 10:17:56 UTC 2023 - 37.2K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/resource/visitor.go
type DecoratedVisitor struct { visitor Visitor decorators []VisitorFunc } // NewDecoratedVisitor will create a visitor that invokes the provided visitor functions before // the user supplied visitor function is invoked, giving them the opportunity to mutate the Info // object or terminate early with an error. func NewDecoratedVisitor(v Visitor, fn ...VisitorFunc) Visitor { if len(fn) == 0 { return v }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 10:17:56 UTC 2023 - 21.3K bytes - Viewed (0)