Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 4,686 for _default_ (0.1 sec)

  1. pkg/controller/certificates/signer/config/v1alpha1/defaults.go

    )
    
    // RecommendedDefaultCSRSigningControllerConfiguration defaults a pointer to a
    // CSRSigningControllerConfiguration struct. This will set the recommended default
    // values, but they may be subject to change between API versions. This function
    // is intentionally not registered in the scheme as a "normal" `SetDefaults_Foo`
    // function to allow consumers of this type to set whatever defaults for their
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 09 12:14:55 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  2. pkg/controller/nodelifecycle/config/v1alpha1/defaults.go

    )
    
    // RecommendedDefaultNodeLifecycleControllerConfiguration defaults a pointer to a
    // NodeLifecycleControllerConfiguration struct. This will set the recommended default
    // values, but they may be subject to change between API versions. This function
    // is intentionally not registered in the scheme as a "normal" `SetDefaults_Foo`
    // function to allow consumers of this type to set whatever defaults for their
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 18:11:49 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1/defaults.go

    	defaultCacheSize  int32 = 1000
    	defaultAPIVersion       = "v1"
    )
    
    func addDefaultingFuncs(scheme *runtime.Scheme) error {
    	return RegisterDefaults(scheme)
    }
    
    // SetDefaults_KMSConfiguration applies defaults to KMSConfiguration.
    func SetDefaults_KMSConfiguration(obj *KMSConfiguration) {
    	if obj.Timeout == nil {
    		obj.Timeout = defaultTimeout
    	}
    
    	if obj.APIVersion == "" {
    		obj.APIVersion = defaultAPIVersion
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. pkg/apis/apps/v1/defaults.go

    		}
    		if strategy.RollingUpdate.MaxUnavailable == nil {
    			// Set default MaxUnavailable as 25% by default.
    			maxUnavailable := intstr.FromString("25%")
    			strategy.RollingUpdate.MaxUnavailable = &maxUnavailable
    		}
    		if strategy.RollingUpdate.MaxSurge == nil {
    			// Set default MaxSurge as 25% by default.
    			maxSurge := intstr.FromString("25%")
    			strategy.RollingUpdate.MaxSurge = &maxSurge
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/apis/meta/internalversion/defaults.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package internalversion
    
    import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    // 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).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 10:00:32 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/Defaults.java

    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Denotes that the {@link RuleSource} method rule carrying this annotation initializes the rule subject with default values.
     * <p>
     * Default rules execute first for a given subject, just after the subject has been created but before {@link Model} rules and {@link Mutate} rules.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/apis/bootstraptoken/v1/defaults.go

    )
    
    const (
    	// DefaultTokenDuration specifies the default amount of time that a bootstrap token will be valid
    	// Default behaviour is 24 hours
    	DefaultTokenDuration = 24 * time.Hour
    )
    
    var (
    	// DefaultTokenUsages specifies the default functions a token will get
    	DefaultTokenUsages = bootstrapapi.KnownTokenUsages
    
    	// DefaultTokenGroups specifies the default groups that this token will authenticate as when used for authentication
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 21 10:34:21 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. plugin/pkg/admission/network/defaultingressclass/admission_test.go

    	}
    	// Class that has explicit default = false
    	classWithFalseDefault := &networkingv1.IngressClass{
    		TypeMeta: metav1.TypeMeta{
    			Kind: "IngressClass",
    		},
    		ObjectMeta: metav1.ObjectMeta{
    			Name: "nondefault1",
    			Annotations: map[string]string{
    				networkingv1.AnnotationIsDefaultIngressClass: "false",
    			},
    		},
    	}
    	// Class with missing default annotation (=non-default)
    	classWithNoDefault := &networkingv1.IngressClass{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 04 13:12:32 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  9. pkg/scheduler/apis/config/v1/defaults.go

    			continue
    		}
    		scheme.Default(args)
    		args.GetObjectKind().SetGroupVersionKind(gvk)
    		prof.PluginConfig = append(prof.PluginConfig, configv1.PluginConfig{
    			Name: name,
    			Args: runtime.RawExtension{Object: args},
    		})
    	}
    }
    
    // SetDefaults_KubeSchedulerConfiguration sets additional defaults
    func SetDefaults_KubeSchedulerConfiguration(obj *configv1.KubeSchedulerConfiguration) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  10. pkg/apis/apps/v1beta1/defaults.go

    		}
    		if strategy.RollingUpdate.MaxUnavailable == nil {
    			// Set default MaxUnavailable as 25% by default.
    			maxUnavailable := intstr.FromString("25%")
    			strategy.RollingUpdate.MaxUnavailable = &maxUnavailable
    		}
    		if strategy.RollingUpdate.MaxSurge == nil {
    			// Set default MaxSurge as 25% by default.
    			maxSurge := intstr.FromString("25%")
    			strategy.RollingUpdate.MaxSurge = &maxSurge
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top