Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 163 for NamespacedName (0.16 sec)

  1. 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)
  2. 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)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_test_context.go

    				return false, nil
    			}
    
    			return true, nil
    		})
    	}
    }
    
    func (p *PolicyTestContext[P, B, E]) waitForDelete(ctx context.Context, objectGVK schema.GroupVersionKind, name types.NamespacedName) error {
    	srce := p.Source.(*policySource[P, B, E])
    
    	return wait.PollUntilContextCancel(ctx, 100*time.Millisecond, true, func(ctx context.Context) (done bool, err error) {
    		switch objectGVK {
    		case p.policyGVK:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. pilot/pkg/model/authentication.go

    					continue
    				}
    				switch cfg.GroupVersionKind {
    				case gvk.RequestAuthentication:
    					ra := cfg.Spec.(*v1beta1.RequestAuthentication)
    					should := selectionOpts.ShouldAttachPolicy(cfg.GroupVersionKind, cfg.NamespacedName(), ra)
    					if should {
    						configs = append(configs, cfg)
    					}
    				case gvk.PeerAuthentication:
    					selector := labels.Instance(cfg.Spec.(*v1beta1.PeerAuthentication).GetSelector().GetMatchLabels())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. operator/pkg/helmreconciler/reconciler.go

    func (h *HelmReconciler) SetStatusBegin() error {
    	isop := &istioV1Alpha1.IstioOperator{}
    	if err := h.getClient().Get(context.TODO(), config.NamespacedName(h.iop), isop); err != nil {
    		if runtime.IsNotRegisteredError(err) {
    			// CRD not yet installed in cluster, nothing to update.
    			return nil
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 22 08:32:23 UTC 2024
    - 22K bytes
    - Viewed (0)
Back to top