Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 149 for key0 (0.04 sec)

  1. pkg/kube/krt/helpers.go

    	if ok {
    		k, _ := cache.MetaNamespaceKeyFunc(ao)
    		return Key[O](k)
    	}
    	panic(fmt.Sprintf("Cannot get Key, got %T", a))
    }
    
    // Named is a convenience struct. It is ideal to be embedded into a type that has a name and namespace,
    // and will automatically implement the various interfaces to return the name, namespace, and a key based on these two.
    type Named struct {
    	Name, Namespace string
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/dynamic_serving_content.go

    	cert, err := os.ReadFile(c.certFile)
    	if err != nil {
    		return err
    	}
    	key, err := os.ReadFile(c.keyFile)
    	if err != nil {
    		return err
    	}
    	if len(cert) == 0 || len(key) == 0 {
    		return fmt.Errorf("missing content for serving cert %q", c.Name())
    	}
    
    	// Ensure that the key matches the cert and both are valid
    	_, err = tls.X509KeyPair(cert, key)
    	if err != nil {
    		return err
    	}
    
    	newCertKey := &certKeyContent{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. pkg/scheduler/util/assumecache/assume_cache_test.go

    	return tCtx, cache, informer
    }
    
    func verify(tCtx ktesting.TContext, cache *AssumeCache, key string, expectedObject, expectedAPIObject interface{}) {
    	tCtx.Helper()
    	actualObject, err := cache.Get(key)
    	if err != nil {
    		tCtx.Fatalf("unexpected error retrieving object for key %s: %v", key, err)
    	}
    	if actualObject != expectedObject {
    		tCtx.Fatalf("Get() returned %v, expected %v", actualObject, expectedObject)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/testdata/v1.30.0/networking.k8s.io.v1.NetworkPolicy.json

          }
        ]
      },
      "spec": {
        "podSelector": {
          "matchLabels": {
            "matchLabelsKey": "matchLabelsValue"
          },
          "matchExpressions": [
            {
              "key": "keyValue",
              "operator": "operatorValue",
              "values": [
                "valuesValue"
              ]
            }
          ]
        },
        "ingress": [
          {
            "ports": [
              {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/v1.30.0/extensions.v1beta1.NetworkPolicy.json

          }
        ]
      },
      "spec": {
        "podSelector": {
          "matchLabels": {
            "matchLabelsKey": "matchLabelsValue"
          },
          "matchExpressions": [
            {
              "key": "keyValue",
              "operator": "operatorValue",
              "values": [
                "valuesValue"
              ]
            }
          ]
        },
        "ingress": [
          {
            "ports": [
              {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. pkg/test/framework/components/prometheus/kube.go

    	Metric      string
    	Aggregation string
    	Labels      map[string]string
    }
    
    func (q Query) String() string {
    	query := q.Metric + `{`
    
    	keys := []string{}
    	for k := range q.Labels {
    		keys = append(keys, k)
    	}
    	sort.Strings(keys)
    	for _, k := range keys {
    		v := q.Labels[k]
    		query += fmt.Sprintf(`%s=%q,`, k, v)
    	}
    	query += "}"
    	if q.Aggregation != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.30.0/autoscaling.v2beta1.HorizontalPodAutoscaler.yaml

            matchExpressions:
            - key: keyValue
              operator: operatorValue
              values:
              - valuesValue
            matchLabels:
              matchLabelsKey: matchLabelsValue
          targetAverageValue: "0"
          targetValue: "0"
        object:
          averageValue: "0"
          metricName: metricNameValue
          selector:
            matchExpressions:
            - key: keyValue
              operator: operatorValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. fastapi/utils.py

        for key, value in update_dict.items():
            if (
                key in main_dict
                and isinstance(main_dict[key], dict)
                and isinstance(value, dict)
            ):
                deep_dict_update(main_dict[key], value)
            elif (
                key in main_dict
                and isinstance(main_dict[key], list)
                and isinstance(update_dict[key], list)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/EnvVariableInjection.groovy

        }
    
        static void checkEnvironmentVariableUnset(String key) {
            // We can't "unset" the variable with the API executer provides, but it isn't necessary, thanks to the filtering in
            // build-logic/jvm/src/main/kotlin/gradlebuild/propagated-env-variables.kt
            if (System.getenv().containsKey(key)) {
                throw new IllegalStateException("Environment variable $key is present for this process and may affect tests")
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. .idea/kotlinTestDataPluginTestDataPaths.xml

            </entry>
            <entry key="$PROJECT_DIR$/compiler/testData/codegen/boxInline">
              <value>
                <array>
                  <option value="$PROJECT_DIR$/js/js.tests/build/node/{out,out-min,out-per-module,out-per-module-min}/codegen/{boxInline,irBoxInline,firBoxInline,firEs6BoxInline}/$TEST_DATA_FILE$_v5.js" />
                </array>
              </value>
            </entry>
            <entry key="$PROJECT_DIR$/compiler/testData/debug">
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 15 15:09:42 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top