Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 912 for example2 (0.32 sec)

  1. cni/pkg/nodeagent/testdata/localhost.yaml

          80: 8080
    # Define another local address, but this one uses TCP. This allows testing HBONE and TCP with one config.
    - uid: cluster1//v1/Pod/default/local-tcp
      name: local-tcp
      namespace: default
      serviceAccount: default
      workloadIps: ["127.0.0.2"]
      protocol: TCP
      node: local
      network: ""
      services:
        "default/example.com":
          80: 8080
        "default/example2.com":
          80: 8080
    policies:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/apis/example2/v1/generated.proto

    syntax = "proto2";
    
    package k8s.io.apiserver.pkg.apis.example2.v1;
    
    import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto";
    import "k8s.io/apimachinery/pkg/runtime/generated.proto";
    import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto";
    
    // Package-wide variables from generator "generated".
    option go_package = "k8s.io/apiserver/pkg/apis/example2/v1";
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AnnotationProcessingSmokeTest.groovy

                import lombok.val;
    
                public class ValExample {
                  public String example() {
                    val example = new ArrayList<String>();
                    example.add("Hello, World!");
                    val foo = example.get(0);
                    return foo.toLowerCase();
                  }
    
                  public void example2() {
                    val map = new HashMap<Integer, String>();
                    map.put(0, "zero");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/util_test.go

    	defer server.Terminate(t)
    	versioner := storage.APIObjectVersioner{}
    
    	makePod := func(name string) *example.Pod {
    		return &example.Pod{
    			ObjectMeta: metav1.ObjectMeta{Namespace: "ns", Name: name},
    		}
    	}
    	createPod := func(obj *example.Pod) *example.Pod {
    		key := "pods/" + obj.Namespace + "/" + obj.Name
    		out := &example.Pod{}
    		err := etcdStorage.Create(context.TODO(), key, obj, out, 0)
    		require.NoError(t, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 11 12:07:39 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/listers/cr/v1/example.go

    }
    
    // Examples returns an object that can list and get Examples.
    func (s *exampleLister) Examples(namespace string) ExampleNamespaceLister {
    	return exampleNamespaceLister{listers.NewNamespaced[*v1.Example](s.ResourceIndexer, namespace)}
    }
    
    // ExampleNamespaceLister helps list and get Examples.
    // All objects returned here must be treated as read-only.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 11:15:04 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/example.go

    	ExampleExpansion
    }
    
    // examples implements ExampleInterface
    type examples struct {
    	client rest.Interface
    	ns     string
    }
    
    // newExamples returns a Examples
    func newExamples(c *CrV1Client, namespace string) *examples {
    	return &examples{
    		client: c.RESTClient(),
    		ns:     namespace,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. src/testing/example.go

    func RunExamples(matchString func(pat, str string) (bool, error), examples []InternalExample) (ok bool) {
    	_, ok = runExamples(matchString, examples)
    	return ok
    }
    
    func runExamples(matchString func(pat, str string) (bool, error), examples []InternalExample) (ran, ok bool) {
    	ok = true
    
    	m := newMatcher(matchString, *match, "-test.run", *skip)
    
    	var eg InternalExample
    	for _, eg = range examples {
    		_, matched, _ := m.fullName(nil, eg.Name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/schema-extra-example.md

    , 👐 `example` 🚫 🍕 🎻 🔗, ⚫️ 🍕 🗄 🛃 ⏬ 🎻 🔗, &amp; 👈 ⚫️❔ 🔜 ⚙️ 🩺 🎚.
    
    ✋️ 🕐❔ 👆 ⚙️ `example` ⚖️ `examples` ⏮️ 🙆 🎏 🚙 (`Query()`, `Body()`, ♒️.) 📚 🖼 🚫 🚮 🎻 🔗 👈 🔬 👈 💽 (🚫 🗄 👍 ⏬ 🎻 🔗), 👫 🚮 🔗 *➡ 🛠️* 📄 🗄 (🏞 🍕 🗄 👈 ⚙️ 🎻 🔗).
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/schema-extra-example.md

    <img src="/img/tutorial/body-fields/image01.png">
    
    ### `Body` com vários `examples`
    
    Alternativamente ao único `example`, você pode passar `examples` usando um `dict` com **vários examples**, cada um com informações extras que serão adicionadas no **OpenAPI** também.
    
    As chaves do `dict` identificam cada exemplo, e cada valor é outro `dict`.
    
    Cada `dict` de exemplo específico em `examples` pode conter:
    
    * `summary`: Pequena descrição do exemplo.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/schema-extra-example.md

    使用上面的任何方法,它在 `/docs` 中看起来都是这样的:
    
    <img src="/img/tutorial/body-fields/image01.png">
    
    ## 技术细节
    
    关于 `example` 和 `examples`...
    
    JSON Schema在最新的一个版本中定义了一个字段 <a href="https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.9.5" class="external-link" target="_blank">`examples`</a> ,但是 OpenAPI 基于之前的一个旧版JSON Schema,并没有 `examples`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top