- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,945 for example1 (0.7 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
api/api-rules/codegen_violation_exceptions.list
API rule violation: names_match,k8s.io/code-generator/examples/apiserver/apis/example/v1,TestTypeStatus,Blah API rule violation: names_match,k8s.io/code-generator/examples/apiserver/apis/example2/v1,TestTypeStatus,Blah
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 27 20:06:20 UTC 2023 - 1.1K bytes - Viewed (0) -
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) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_testing_utils_test.go
"k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apimachinery/pkg/runtime/serializer" utilruntime "k8s.io/apimachinery/pkg/util/runtime" "k8s.io/apiserver/pkg/apis/example" examplev1 "k8s.io/apiserver/pkg/apis/example/v1" example2v1 "k8s.io/apiserver/pkg/apis/example2/v1" "k8s.io/apiserver/pkg/storage" "k8s.io/apiserver/pkg/storage/etcd3" etcd3testing "k8s.io/apiserver/pkg/storage/etcd3/testing"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 20 20:43:52 UTC 2023 - 3.8K bytes - Viewed (0)