Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 242 for relabel (0.19 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/cmd/cover/cover.go

    				// a control statement, such as a labeled for.
    				if label, isLabel := stmt.(*ast.LabeledStmt); isLabel && !f.isControl(label.Stmt) {
    					newLabel := *label
    					newLabel.Stmt = &ast.EmptyStmt{
    						Semicolon: label.Stmt.Pos(),
    						Implicit:  true,
    					}
    					end = label.Pos() // Previous block ends before the label.
    					list[last] = &newLabel
    					// Open a gap and drop in the old statement, now without a label.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/gateway/testdata/deployment/waypoint-no-network-label.yaml

    John Howard <******@****.***> 1717022463 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 22:41:03 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top