Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for InternalSimple (0.2 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/scheme_test.go

    	if len(s.KnownTypes(gv)) != 1 {
    		t.Errorf("expected only one %v type after double registration with custom name", gv)
    	}
    	if len(s.AllKnownTypes()) != 1 {
    		t.Errorf("expected only one type after double registration with custom name")
    	}
    
    	s.AddUnversionedTypes(gv, &runtimetesting.InternalSimple{})
    	s.AddUnversionedTypes(gv, &runtimetesting.InternalSimple{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 38.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/runtime/testing/conversion.go

    	}); err != nil {
    		return err
    	}
    	if err := s.AddConversionFunc((*InternalSimple)(nil), (*ExternalSimple)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return convertInternalSimpleToExternalSimple(a.(*InternalSimple), b.(*ExternalSimple), scope)
    	}); err != nil {
    		return err
    	}
    	if err := s.AddConversionFunc((*ExternalSimple)(nil), (*InternalSimple)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 06 16:07:10 UTC 2020
    - 10.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/runtime/testing/zz_generated.deepcopy.go

    func (in *InternalSimple) DeepCopyInto(out *InternalSimple) {
    	*out = *in
    	out.TypeMeta = in.TypeMeta
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalSimple.
    func (in *InternalSimple) DeepCopy() *InternalSimple {
    	if in == nil {
    		return nil
    	}
    	out := new(InternalSimple)
    	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)
  4. staging/src/k8s.io/apimachinery/pkg/runtime/testing/types.go

    	ID    string                 `json:"id,omitempty"`
    	Items []runtime.RawExtension `json:"items,omitempty"`
    }
    
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    type InternalSimple struct {
    	runtime.TypeMeta `json:",inline"`
    	TestString       string `json:"testString"`
    }
    
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    type ExternalSimple struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 28 03:26:35 UTC 2023
    - 11.5K bytes
    - Viewed (0)
Back to top