Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for example2v1 (0.11 sec)

  1. staging/src/k8s.io/apiserver/pkg/apis/example2/install/install.go

    limitations under the License.
    */
    
    // Package install installs the example2 API group, making it available as
    // an option to all of the API encoding/decoding machinery.
    package install
    
    import (
    	"k8s.io/apimachinery/pkg/runtime"
    	utilruntime "k8s.io/apimachinery/pkg/util/runtime"
    	"k8s.io/apiserver/pkg/apis/example"
    	example2v1 "k8s.io/apiserver/pkg/apis/example2/v1"
    )
    
    // Install registers the API group and adds types to a scheme
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 08 22:33:50 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/util_test.go

    		return out
    	}
    	makeReplicaSet := func(name string) *example2v1.ReplicaSet {
    		return &example2v1.ReplicaSet{
    			ObjectMeta: metav1.ObjectMeta{Namespace: "ns", Name: name},
    		}
    	}
    	createReplicaSet := func(obj *example2v1.ReplicaSet) *example2v1.ReplicaSet {
    		key := "replicasets/" + obj.Namespace + "/" + obj.Name
    		out := &example2v1.ReplicaSet{}
    		err := etcdStorage.Create(context.TODO(), key, obj, out, 0)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 11 12:07:39 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/conversion_test.go

    	"k8s.io/apiserver/pkg/apis/example"
    	examplev1 "k8s.io/apiserver/pkg/apis/example/v1"
    	example2v1 "k8s.io/apiserver/pkg/apis/example2/v1"
    )
    
    func initiateScheme(t *testing.T) *runtime.Scheme {
    	s := runtime.NewScheme()
    	require.NoError(t, example.AddToScheme(s))
    	require.NoError(t, examplev1.AddToScheme(s))
    	require.NoError(t, example2v1.AddToScheme(s))
    	return s
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  4. 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)
  5. tests/test_openapi_examples.py

    def examples(
        item: Item = Body(
            examples=[
                {"data": "Data in Body examples, example1"},
            ],
            openapi_examples={
                "Example One": {
                    "summary": "Example One Summary",
                    "description": "Example One Description",
                    "value": {"data": "Data in Body examples, example1"},
                },
                "Example Two": {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 17K bytes
    - Viewed (0)
  6. tests/test_schema_extra_examples.py

                return item
    
        @app.post("/examples/")
        def examples(
            item: Item = Body(
                examples=[
                    {"data": "Data in Body examples, example1"},
                    {"data": "Data in Body examples, example2"},
                ],
            ),
        ):
            return item
    
        with pytest.warns(DeprecationWarning):
    
            @app.post("/example_examples/")
            def example_examples(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 37.7K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/logging/GroupedOutputFixtureTest.groovy

            def consoleOutput = """> Task :example1
    toast
    bacon
    eggs
    toast
    ham
    eggs
    > Task :example2
    toast
    ham
    eggs
    toast
    eggs
    """
            GroupedOutputFixture groupedOutput = new GroupedOutputFixture(LogContent.of(consoleOutput))
    
            when:
            groupedOutput.task(':example1').assertOutputContains("waffles")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go

    	convertor := runtime.UnsafeObjectConvertor(scheme)
    	objectInterfaces := admission.NewObjectInterfacesFromScheme(scheme)
    	kind := examplev1.SchemeGroupVersion.WithKind("Pod")
    	resource := examplev1.SchemeGroupVersion.WithResource("pods")
    	schemaReferenceObj := &examplev1.Pod{}
    	hubVersion := example.SchemeGroupVersion
    
    	fieldmanager, err := managedfields.NewDefaultFieldManager(
    		managedfields.NewDeducedTypeConverter(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/tls_test.go

    func init() {
    	metav1.AddToGroupVersion(scheme, metav1.SchemeGroupVersion)
    	utilruntime.Must(example.AddToScheme(scheme))
    	utilruntime.Must(examplev1.AddToScheme(scheme))
    }
    
    func TestTLSConnection(t *testing.T) {
    	codec := apitesting.TestCodec(codecs, examplev1.SchemeGroupVersion)
    
    	certFile, keyFile, caFile := configureTLSCerts(t)
    	defer os.RemoveAll(filepath.Dir(certFile))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r27/TestLauncherCrossVersionSpec.groovy

            assertTestNotExecuted(className: "example2.MyOtherTest", methodName: "bar", task: ":test")
            assertTestNotExecuted(className: "example2.MyOtherTest2", methodName: "baz", task: ":test")
            assertTestNotExecuted(className: "example2.MyOtherTest", methodName: "bar", task: ":secondTest")
            assertTestNotExecuted(className: "example2.MyOtherTest2", methodName: "baz", task: ":secondTest")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top