Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for TestType2 (0.24 sec)

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

    	out.L = in.L
    	out.M = in.M
    	if in.N != nil {
    		out.N = make(map[string]TestType2)
    		for key := range in.N {
    			in, tmp := in.N[key], TestType2{}
    			if err := convertExternalTestType2ToTestType2(&in, &tmp, s); err != nil {
    				return err
    			}
    			out.N[key] = tmp
    		}
    	} else {
    		out.N = nil
    	}
    	if in.O != nil {
    		out.O = new(TestType2)
    		if err := convertExternalTestType2ToTestType2(in.O, out.O, s); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 06 16:07:10 UTC 2020
    - 10.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/runtime/testing/zz_generated.deepcopy.go

    func (in *TestType2) DeepCopyInto(out *TestType2) {
    	*out = *in
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestType2.
    func (in *TestType2) DeepCopy() *TestType2 {
    	if in == nil {
    		return nil
    	}
    	out := new(TestType2)
    	in.DeepCopyInto(out)
    	return out
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 17.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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