- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 81 for NamespacedName (0.16 sec)
-
pkg/kube/kclient/crdwatcher.go
// From the spec: "Its name MUST be in the format <.spec.name>.<.spec.group>." name := fmt.Sprintf("%s.%s", s.Resource, s.Group) return c.crds.Get(name, "") != nil } func (c *crdWatcher) Reconcile(key types.NamespacedName) error { c.mutex.Lock() callbacks, f := c.callbacks[key.Name] if !f { c.mutex.Unlock() return nil } // Delete them so we do not run again delete(c.callbacks, key.Name) c.mutex.Unlock()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 25 14:44:17 UTC 2024 - 5.7K bytes - Viewed (0) -
pilot/pkg/config/kube/ingress/status.go
} func (s *StatusSyncer) enqueueAll() { for _, ing := range s.ingresses.List(metav1.NamespaceAll, labels.Everything()) { s.queue.AddObject(ing) } } func (s *StatusSyncer) Reconcile(key types.NamespacedName) error { log := statusLog.WithLabels("ingress", key) ing := s.ingresses.Get(key.Name, key.Namespace) if ing == nil { log.Debugf("ingress removed, no action") return nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 28 16:41:38 UTC 2024 - 7.9K bytes - Viewed (0) -
pkg/webhooks/webhookpatch.go
return w.queue.HasSynced() } // webhookPatchTask takes the result of patchMutatingWebhookConfig and modifies the result for use in task queue func (w *WebhookCertPatcher) webhookPatchTask(o types.NamespacedName) error { err := w.patchMutatingWebhookConfig(o.Name) // do not want to retry the task if these errors occur, they indicate that // we should no longer be patching the given webhook
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Sep 28 00:36:38 UTC 2023 - 6.1K bytes - Viewed (0) -
pilot/pkg/controllers/untaint/nodeuntainter.go
n.queue.Run(stop) n.podsClient.ShutdownHandlers() n.nodesClient.ShutdownHandlers() } func (n *NodeUntainter) reconcileNode(key types.NamespacedName) error { log.Debugf("reconciling node %s", key.Name) node := n.nodesClient.Get(key.Name, key.Namespace) if node == nil { return nil } err := removeReadinessTaint(n.nodesClient, node)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 13 00:50:31 UTC 2024 - 6.9K bytes - Viewed (0) -
tests/integration/telemetry/tracing/tracing.go
return func(i echo.Instance) bool { return strings.HasPrefix(i.Config().Service, prefix) } } client = servicePrefix("client").GetMatches(echos) server = match.ServiceName(echo.NamespacedName{Name: "server", Namespace: appNsInst}).GetMatches(echos) ingInst = ist.IngressFor(ctx.Clusters().Default()) addrs, _ := ingInst.HTTPAddresses()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 19:05:09 UTC 2024 - 6.5K bytes - Viewed (0) -
security/pkg/server/ca/server.go
Authenticators []security.Authenticator ca CertificateAuthority serverCertTTL time.Duration nodeAuthorizer *MulticlusterNodeAuthorizor } type SaNode struct { ServiceAccount types.NamespacedName Node string } func (s SaNode) String() string { return s.Node + "/" + s.ServiceAccount.String() } // CreateCertificate handles an incoming certificate signing request (CSR). It does
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 28 17:35:26 UTC 2024 - 8K bytes - Viewed (0) -
pkg/kube/controllers/example_test.go
return c } // Reconcile is the main work function for our controller. As input, we get a name of an object; with // this we should drive the rest of the state of the world. func (c *Controller) Reconcile(key types.NamespacedName) error { // Its often useful to shadow the log one with additional K/V context log := log.WithLabels("resource", key) pod := c.pods.Get(key.Name, key.Namespace) if pod == nil { log.Infof("pod deleted") } else {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 7K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/serviceexportcache_test.go
) const ( serviceExportName = "test-svc" serviceExportNamespace = "test-ns" serviceExportPodIP = "128.0.0.2" testCluster = "test-cluster" ) var serviceExportNamespacedName = types.NamespacedName{ Namespace: serviceExportNamespace, Name: serviceExportName, } type ClusterLocalMode string func (m ClusterLocalMode) String() string { return string(m) } const (
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Aug 14 18:50:38 UTC 2023 - 9.1K bytes - Viewed (0) -
pkg/test/framework/components/echo/echotest/filters.go
var NoSelfCalls CombinationFilter = func(from echo.Instance, to echo.Instances) echo.Instances { return match.Not(match.ServiceName(from.NamespacedName())).GetMatches(to) } // HasL7 only allows traffic where there is some L7 processing occurring on the path var HasL7 CombinationFilter = func(from echo.Instance, to echo.Instances) echo.Instances {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 29 23:48:45 UTC 2024 - 8.9K bytes - Viewed (0) -
pkg/test/framework/components/istio/istio.go
// CustomIngressFor returns an ingress with a specific service name and "istio" label used for reaching workloads // in the given cluster. CustomIngressFor(cluster cluster.Cluster, service types.NamespacedName, istioLabel string) ingress.Instance // RemoteDiscoveryAddressFor returns the external address of the discovery server that controls // the given cluster. This allows access to the discovery server from
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Oct 30 17:47:34 UTC 2023 - 8K bytes - Viewed (0)