Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 912 for example1 (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. docs/em/docs/tutorial/schema-extra-example.md

    , 👐 `example` 🚫 🍕 🎻 🔗, ⚫️ 🍕 🗄 🛃 ⏬ 🎻 🔗, & 👈 ⚫️❔ 🔜 ⚙️ 🩺 🎚.
    
    ✋️ 🕐❔ 👆 ⚙️ `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)
  5. 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)
  6. 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)
  7. docs/ja/docs/tutorial/schema-extra-example.md

    そのため、OpenAPIでは同じ目的のために<a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#fixed-fields-20" class="external-link" target="_blank">`example`</a>を独自に定義しており(`examples`ではなく`example`として)、それがdocs UI(Swagger UIを使用)で使用されています。
    
    つまり、`example`はJSON Schemaの一部ではありませんが、OpenAPIの一部であり、それがdocs UIで使用されることになります。
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/go/testdata/mod/example.com_deprecated_a_v1.9.0.txt

    -- .info --
    {"Version":"v1.9.0"}
    -- .mod --
    // Deprecated: in example.com/deprecated/a@v1.9.0
    module example.com/deprecated/a
    
    go 1.17
    -- go.mod --
    // Deprecated: in example.com/deprecated/a@v1.9.0
    module example.com/deprecated/a
    
    go 1.17
    -- a.go --
    package a
    
    -- cmd/a/a.go --
    package main
    
    import "fmt"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 17:25:54 UTC 2024
    - 346 bytes
    - Viewed (0)
  10. src/cmd/go/testdata/mod/example.com_undeprecated_v1.0.0.txt

    -- .info --
    {"Version":"v1.0.0"}
    -- .mod --
    // Deprecated: in v1.0.0
    module example.com/undeprecated
    
    go 1.17
    -- go.mod --
    // Deprecated: in v1.0.0
    module example.com/undeprecated
    
    go 1.17
    -- undeprecated.go --
    package undeprecated
    
    -- cmd/a/a.go --
    package main
    
    import "fmt"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 17:25:54 UTC 2024
    - 318 bytes
    - Viewed (0)
Back to top