Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 404 for relabel (0.14 sec)

  1. src/crypto/md5/gen.go

    	Table4     []uint32
    }
    
    var funcs = template.FuncMap{
    	"dup":     dup,
    	"relabel": relabel,
    	"rotate":  rotate,
    	"idx":     idx,
    	"seq":     seq,
    }
    
    func dup(count int, x []int) []int {
    	var out []int
    	for i := 0; i < count; i++ {
    		out = append(out, x...)
    	}
    	return out
    }
    
    func relabel(s string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. tests/integration/pilot/revisioned_upgrade_test.go

    	g.Stop().CheckSuccessRate(t, successThreshold)
    }
    
    // enableDefaultInjection takes a namespaces and relabels it such that it will have a default sidecar injected
    func enableDefaultInjection(ns namespace.Instance) error {
    	var errs *multierror.Error
    	errs = multierror.Append(errs, ns.SetLabel("istio-injection", "enabled"))
    	errs = multierror.Append(errs, ns.RemoveLabel("istio.io/rev"))
    	return errs.ErrorOrNil()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/partially_decluster_pass.cc

        //
        //   Input -> OP -> Shape -> F -> Reshape
        //
        // Doing so will break up the cluster.  Even if we were okay with breaking
        // up the cluster we will at least have to relabel the two clusters to have
        // different cluster names.
        //
        // We may want to revisit this in the future: we may have cases where OP is
        // a small computation that does not benefit from XLA while XLA can optimize
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  4. plugin/pkg/admission/noderestriction/admission.go

    		if isKubernetesLabel(label) && !kubeletapis.IsKubeletLabel(label) {
    			// TODO: defer to label policy once available
    			forbiddenLabels.Insert(label)
    		}
    	}
    	return forbiddenLabels
    }
    
    func (p *Plugin) admitServiceAccount(nodeName string, a admission.Attributes) error {
    	if a.GetOperation() != admission.Create {
    		return nil
    	}
    	if a.GetSubresource() != "token" {
    		return nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  5. pkg/controller/daemon/update.go

    	}
    	var maxRevision int64
    	var keepCur *apps.ControllerRevision
    	for _, cur := range curHistories {
    		if cur.Revision >= maxRevision {
    			keepCur = cur
    			maxRevision = cur.Revision
    		}
    	}
    	// Relabel pods before dedup
    	pods, err := dsc.getDaemonPods(ctx, ds)
    	if err != nil {
    		return nil, err
    	}
    	for _, pod := range pods {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 16:53:53 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet_pods.go

    		}
    
    		relabelVolume := false
    		// If the volume supports SELinux and it has not been
    		// relabeled already and it is not a read-only volume,
    		// relabel it and mark it as labeled
    		if vol.Mounter.GetAttributes().Managed && vol.Mounter.GetAttributes().SELinuxRelabel && !vol.SELinuxLabeled {
    			vol.SELinuxLabeled = true
    			relabelVolume = true
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  7. cmd/os-reliable.go

    Harshavardhana <******@****.***> 1713808170 -0700
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Apr 22 17:49:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. src/runtime/pprof/label.go

    		panic("uneven number of arguments to pprof.Labels")
    	}
    	list := make([]label, 0, len(args)/2)
    	for i := 0; i+1 < len(args); i += 2 {
    		list = append(list, label{key: args[i], value: args[i+1]})
    	}
    	return LabelSet{list: list}
    }
    
    // Label returns the value of the label with the given key on ctx, and a boolean indicating
    // whether that label exists.
    func Label(ctx context.Context, key string) (string, bool) {
    	ctxLabels := labelValue(ctx)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. src/internal/dag/parse.go

    )
    
    type Graph struct {
    	Nodes   []string
    	byLabel map[string]int
    	edges   map[string]map[string]bool
    }
    
    func newGraph() *Graph {
    	return &Graph{byLabel: map[string]int{}, edges: map[string]map[string]bool{}}
    }
    
    func (g *Graph) addNode(label string) bool {
    	if _, ok := g.byLabel[label]; ok {
    		return false
    	}
    	g.byLabel[label] = len(g.Nodes)
    	g.Nodes = append(g.Nodes, label)
    	g.edges[label] = map[string]bool{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. istioctl/pkg/checkinject/checkinject.go

    	for _, wh := range whs {
    		nsMatched, nsLabel := extractMatchedSelectorInfo(wh.NamespaceSelector, nsLabels)
    		podMatched, podLabel := extractMatchedSelectorInfo(wh.ObjectSelector, podLabels)
    		if nsMatched && podMatched {
    			if nsLabel != "" && podLabel != "" {
    				return fmt.Sprintf("Namespace label %s matches, and pod label %s matches", nsLabel, podLabel), true
    			} else if nsLabel != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top