Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 314 for It (0.02 sec)

  1. pkg/kube/util.go

    // BuildClientConfig builds a client rest config from a kubeconfig filepath and context.
    // It overrides the current context with the one provided (empty to use default).
    //
    // This is a modified version of k8s.io/client-go/tools/clientcmd/BuildConfigFromFlags with the
    // difference that it loads default configs if not running in-cluster.
    func BuildClientConfig(kubeconfig, context string) (*rest.Config, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. pkg/ledger/smt.go

    // result is used to contain the result of goroutines and is sent through a channel.
    type result struct {
    	update []byte
    	err    error
    }
    
    // update adds a sorted list of keys and their values to the trie.
    // It returns the root of the updated tree.
    func (s *smt) update(root []byte, keys, values, batch [][]byte, iBatch, height int, shortcut, store bool, ch chan<- result) {
    	if height == 0 {
    		if bytes.Equal(values[0], defaultLeaf) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 14K bytes
    - Viewed (0)
  3. cni/pkg/repair/repaircontroller.go

    	log := repairLog.WithLabels("pod", pod.Namespace+"/"+pod.Name)
    	key := types.NamespacedName{Name: pod.Name, Namespace: pod.Namespace}
    	// We will get an event every time the pod changes. The repair is not instantaneous, though -- it will only recover
    	// once the pod restarts (in CrashLoopBackoff), which can take some time.
    	// We don't want to constantly try to apply the iptables rules, which is unneeded and will fail.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/storage/v1/generated.proto

      // When a driver is initialized on a node, it provides the same topology keys
      // along with values. Kubelet will expose these topology keys as labels
      // on its own node object.
      // When Kubernetes does topology aware provisioning, it can use this list to
      // determine which labels it should retrieve from the node object and pass
      // back to the driver.
      // It is possible for different nodes to use different topology keys.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  5. pilot/pkg/xds/discovery.go

    // Debouncing and push request happens in a separate thread, it uses locks
    // and we want to avoid complications, ConfigUpdate may already hold other locks.
    // handleUpdates processes events from pushChannel
    // It ensures that at minimum minQuiet time has elapsed since the last event before processing it.
    // It also ensures that at most maxDelay is elapsed between receiving an event and processing it.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 20:21:09 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. pilot/pkg/xds/sds.go

    				continue
    			}
    		}
    
    		cachedItem := s.cache.Get(sr)
    		if cachedItem != nil && !features.EnableUnsafeAssertions {
    			// If it is in the Cache, add it and continue
    			// We skip cache if assertions are enabled, so that the cache will assert our eviction logic is correct
    			results = append(results, cachedItem)
    			cached++
    			continue
    		}
    		regenerated++
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 23:04:36 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/envoyfilter/rc_patch.go

    			return !removedVirtualHosts.Contains(virtualHost.Name)
    		})
    	}
    }
    
    // patchVirtualHost patches passed in virtual host if it is MERGE operation.
    // The return value indicates whether the virtual host has been removed for REMOVE operations.
    func patchVirtualHost(patchContext networking.EnvoyFilter_PatchContext,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 13K bytes
    - Viewed (0)
  8. pilot/pkg/config/kube/ingress/conversion.go

    )
    
    var errNotFound = errors.New("item not found")
    
    // EncodeIngressRuleName encodes an ingress rule name for a given ingress resource name,
    // as well as the position of the rule and path specified within it, counting from 1.
    // ruleNum == pathNum == 0 indicates the default backend specified for an ingress.
    func EncodeIngressRuleName(ingressName string, ruleNum, pathNum int) string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 25 07:19:43 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/tracing.go

    	} else {
    		// gracefully fallback to MeshConfig configuration. It will act as an implicit
    		// parent configuration during transition period.
    		sampling = proxyConfigSamplingValue(proxyCfg)
    	}
    
    	configureSampling(h.Tracing, sampling)
    	configureCustomTags(h.Tracing, spec.CustomTags, proxyCfg, proxy)
    
    	// if there is configured max tag length somewhere, fallback to it.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 17:05:28 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  10. pilot/pkg/autoregistration/controller.go

    	if group.Metadata != nil && group.Metadata.Labels != nil {
    		entry.Labels = mergeLabels(entry.Labels, group.Metadata.Labels)
    	}
    	// Explicitly do not use proxy.Labels, as it is only initialized *after* we register the workload,
    	// and it would be circular, as it will set the labels based on the WorkloadEntry -- but we are creating
    	// the workload entry.
    	if proxy.Metadata.Labels != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 00:00:36 UTC 2024
    - 26.4K bytes
    - Viewed (0)
Back to top