- Sort Score
- Result 10 results
- Languages All
Results 11 - 15 of 15 for OneTermEqualSelector (0.34 sec)
-
security/pkg/k8s/chiron/utils.go
} // Return signed CSR through a watcher. If no CSR is read, return nil. func readSignedCsr(client clientset.Interface, csr string, watchTimeout time.Duration) ([]byte, error) { selector := fields.OneTermEqualSelector("metadata.name", csr).String() // Setup a List+Watch, like informers do // A simple Watch will fail if the cert is signed too quickly
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 05 18:11:22 UTC 2024 - 9.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/get.go
// metadata.name is the canonical internal name. // SelectionPredicate will notice that this is a request for // a single object and optimize the storage query accordingly. nameSelector := fields.OneTermEqualSelector("metadata.name", name) // Note that fieldSelector setting explicitly the "metadata.name" // will result in reaching this branch (as the value of that field
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 10:22:16 UTC 2024 - 10.7K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/resource/helper.go
NamespaceIfScoped(namespace, m.NamespaceScoped). Resource(m.Resource). VersionedParams(&metav1.ListOptions{ ResourceVersion: resourceVersion, Watch: true, FieldSelector: fields.OneTermEqualSelector("metadata.name", name).String(), }, metav1.ParameterCodec). Watch(context.TODO()) } func (m *Helper) Delete(namespace, name string) (runtime.Object, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 26 03:45:13 UTC 2022 - 10.5K bytes - Viewed (0) -
cmd/kube-proxy/app/server_linux.go
// for podCIDR to be assigned, instead of assuming that the Get() on startup will have it. ctx, cancelFunc := context.WithTimeout(ctx, timeoutForNodePodCIDR) defer cancelFunc() fieldSelector := fields.OneTermEqualSelector("metadata.name", nodeName).String() lw := &cache.ListWatch{ ListFunc: func(options metav1.ListOptions) (object runtime.Object, e error) { options.FieldSelector = fieldSelector
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 08 13:48:54 UTC 2024 - 18.1K bytes - Viewed (0) -
cmd/kube-proxy/app/server.go
currentNodeInformerFactory := informers.NewSharedInformerFactoryWithOptions(s.Client, s.Config.ConfigSyncPeriod.Duration, informers.WithTweakListOptions(func(options *metav1.ListOptions) { options.FieldSelector = fields.OneTermEqualSelector("metadata.name", s.NodeRef.Name).String() })) nodeConfig := config.NewNodeConfig(ctx, currentNodeInformerFactory.Core().V1().Nodes(), s.Config.ConfigSyncPeriod.Duration) // https://issues.k8s.io/111321
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 26 13:27:41 UTC 2024 - 46.8K bytes - Viewed (0)