Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TestType2 (0.09 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/testing/types.go

    	N                                     map[string]TestType2 `json:"N,omitempty"`
    	O                                     *TestType2           `json:"O,omitempty"`
    	P                                     []TestType2          `json:"Q,omitempty"`
    }
    
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    type TestType2 struct {
    	A string `json:"A,omitempty"`
    	B int    `json:"B,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 28 03:26:35 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/codec_test.go

    	s := runtime.NewScheme()
    	// Ordinarily, we wouldn't add TestType2, but because this is a test and
    	// both types are from the same package, we need to get it into the system
    	// so that converter will match it with ExternalType2.
    	s.AddKnownTypes(internalGV, &runtimetesting.TestType1{}, &runtimetesting.TestType2{}, &runtimetesting.ExternalInternalSame{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/runtime/scheme_test.go

    	s := runtime.NewScheme()
    	// Ordinarily, we wouldn't add TestType2, but because this is a test and
    	// both types are from the same package, we need to get it into the system
    	// so that converter will match it with ExternalType2.
    	s.AddKnownTypes(internalGV, &runtimetesting.TestType1{}, &runtimetesting.TestType2{}, &runtimetesting.ExternalInternalSame{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 38.2K bytes
    - Viewed (0)
Back to top