Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 43 of 43 for AddTypeDefaultingFunc (0.22 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/apis/resourcequota/v1beta1/zz_generated.defaults.go

    // Public to allow building arbitrary schemes.
    // All generated defaulters are covering - they call all nested defaulters.
    func RegisterDefaults(scheme *runtime.Scheme) error {
    	scheme.AddTypeDefaultingFunc(&Configuration{}, func(obj interface{}) { SetObjectDefaults_Configuration(obj.(*Configuration)) })
    	return nil
    }
    
    func SetObjectDefaults_Configuration(in *Configuration) {
    	SetDefaults_Configuration(in)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  2. pkg/kubelet/apis/config/v1beta1/zz_generated.defaults.go

    // Public to allow building arbitrary schemes.
    // All generated defaulters are covering - they call all nested defaulters.
    func RegisterDefaults(scheme *runtime.Scheme) error {
    	scheme.AddTypeDefaultingFunc(&v1beta1.KubeletConfiguration{}, func(obj interface{}) { SetObjectDefaults_KubeletConfiguration(obj.(*v1beta1.KubeletConfiguration)) })
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/apis/meta/internalversion/defaults.go

    // SetListOptionsDefaults sets defaults on the provided ListOptions if applicable.
    //
    // TODO(#115478): once the watch-list fg is always on we register this function in the scheme (via AddTypeDefaultingFunc).
    // TODO(#115478): when the function is registered in the scheme remove all callers of this method.
    func SetListOptionsDefaults(obj *ListOptions, isWatchListFeatureEnabled bool) {
    	if !isWatchListFeatureEnabled {
    		return
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 10:00:32 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top