Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 715 for relabel (0.4 sec)

  1. tests/integration/pilot/webhook_test.go

    	t.Helper()
    	const istioNamespace = "istio-system"
    	revLabel := map[string]string{}
    	if configRevision != "" {
    		revLabel[label.IoIstioRev.Name] = configRevision
    	}
    	invalidGateway := &v1alpha3.Gateway{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "invalid-istio-gateway",
    			Namespace: istioNamespace,
    			Labels:    revLabel,
    		},
    		Spec: networking.Gateway{},
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 01 13:31:34 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. operator/pkg/util/label.go

    	"k8s.io/apimachinery/pkg/runtime"
    )
    
    // SetLabel is a helper function which sets the specified label and value on the specified object.
    func SetLabel(resource runtime.Object, label, value string) error {
    	resourceAccessor, err := meta.Accessor(resource)
    	if err != nil {
    		return err
    	}
    	labels := resourceAccessor.GetLabels()
    	if labels == nil {
    		labels = map[string]string{}
    	}
    	labels[label] = value
    	resourceAccessor.SetLabels(labels)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 29 20:42:01 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  5. test/label.go

    var x int
    
    func f() {
    L1: // ERROR "label .*L1.* defined and not used"
    	for {
    	}
    L2: // ERROR "label .*L2.* defined and not used"
    	select {}
    L3: // ERROR "label .*L3.* defined and not used"
    	switch {
    	}
    L4: // ERROR "label .*L4.* defined and not used"
    	if true {
    	}
    L5: // ERROR "label .*L5.* defined and not used"
    	f()
    L6: // GCCGO_ERROR "previous"
    	f()
    L6: // ERROR "label .*L6.* already defined"
    	f()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 28 02:31:54 UTC 2020
    - 1K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/project/GraphTest.java

            Vertex c = graph.getVertex("c");
            Vertex d = graph.getVertex("d");
            assertEquals("a", a.getLabel());
            assertEquals("b", b.getLabel());
            assertEquals("c", c.getLabel());
            assertEquals("d", d.getLabel());
            assertFalse(hasEdge(graph, "b", "a"));
            assertFalse(hasEdge(graph, "a", "c"));
            assertFalse(hasEdge(graph, "a", "d"));
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 06:02:04 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/Label.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.logging.console;
    
    public interface Label {
        void setText(String text);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 721 bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/util/label/label.go

    	}
    	if len(subzone) > 0 {
    		out[label.TopologySubzone.Name] = subzone
    	}
    	if len(clusterID) > 0 {
    		out[label.TopologyCluster.Name] = clusterID.String()
    	}
    	if len(k8sNode) > 0 {
    		out[LabelHostname] = k8sNode
    	}
    	if len(networkID) > 0 {
    		out[label.TopologyNetwork.Name] = networkID.String()
    	}
    	return out
    }
    
    // SplitLocalityLabel splits a locality label into region, zone and subzone strings.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 11 03:56:40 UTC 2023
    - 2.2K 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