Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 8,427 for default1 (0.34 sec)

  1. 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)
  2. 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)
  3. pkg/apis/apps/v1beta2/defaults.go

    			updateStrategy.RollingUpdate = &rollingUpdate
    		}
    		if updateStrategy.RollingUpdate.MaxUnavailable == nil {
    			// Set default MaxUnavailable as 1 by default.
    			updateStrategy.RollingUpdate.MaxUnavailable = ptr.To(intstr.FromInt32(1))
    		}
    		if updateStrategy.RollingUpdate.MaxSurge == nil {
    			// Set default MaxSurge as 0 by default.
    			updateStrategy.RollingUpdate.MaxSurge = ptr.To(intstr.FromInt32(0))
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. pkg/scheduler/apis/config/testing/defaults/defaults.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package defaults
    
    import (
    	"k8s.io/kubernetes/pkg/scheduler/apis/config"
    	"k8s.io/kubernetes/pkg/scheduler/framework/plugins/names"
    )
    
    // PluginsV1 is the set of default v1 plugins (before MultiPoint expansion)
    var PluginsV1 = &config.Plugins{
    	MultiPoint: config.PluginSet{
    		Enabled: []config.Plugin{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 06:27:01 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. src/crypto/tls/defaults.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package tls
    
    import (
    	"internal/godebug"
    	"slices"
    	_ "unsafe" // for linkname
    )
    
    // Defaults are collected in this file to allow distributions to more easily patch
    // them to apply local policies.
    
    var tlskyber = godebug.New("tlskyber")
    
    func defaultCurvePreferences() []CurveID {
    	if tlskyber.Value() == "0" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. pkg/log/default.go

    // limitations under the License.
    
    package log
    
    // These functions enable logging using a global Scope. See scope.go for usage information.
    
    func registerDefaultScopes() (defaults *Scope, grpc *Scope) {
    	return registerScope(DefaultScopeName, "Unscoped logging messages.", 1),
    		registerScope(GrpcScopeName, "logs from gRPC", 3)
    }
    
    var defaultScope, grpcScope = registerDefaultScopes()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. pkg/apis/flowcontrol/v1beta3/defaults.go

    limitations under the License.
    */
    
    package v1beta3
    
    import (
    	"k8s.io/api/flowcontrol/v1beta3"
    	"k8s.io/utils/ptr"
    )
    
    // Default settings for flow-schema
    const (
    	FlowSchemaDefaultMatchingPrecedence int32 = 1000
    )
    
    // Default settings for priority-level-configuration
    const (
    	PriorityLevelConfigurationDefaultHandSize                 int32 = 8
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. pkg/apis/flowcontrol/v1beta2/defaults.go

    limitations under the License.
    */
    
    package v1beta2
    
    import (
    	"k8s.io/api/flowcontrol/v1beta2"
    )
    
    // Default settings for flow-schema
    const (
    	FlowSchemaDefaultMatchingPrecedence int32 = 1000
    )
    
    // Default settings for priority-level-configuration
    const (
    	PriorityLevelConfigurationDefaultHandSize                 int32 = 8
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 00:47:58 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. pkg/apis/flowcontrol/v1/defaults.go

    limitations under the License.
    */
    
    package v1
    
    import (
    	v1 "k8s.io/api/flowcontrol/v1"
    	"k8s.io/utils/ptr"
    )
    
    // Default settings for flow-schema
    const (
    	FlowSchemaDefaultMatchingPrecedence int32 = 1000
    )
    
    // Default settings for priority-level-configuration
    const (
    	PriorityLevelConfigurationDefaultHandSize                 int32 = 8
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. pkg/apis/admissionregistration/v1alpha1/defaults.go

    }
    
    // SetDefaults_ValidatingAdmissionPolicySpec sets defaults for ValidatingAdmissionPolicySpec
    func SetDefaults_ValidatingAdmissionPolicySpec(obj *admissionregistrationv1alpha1.ValidatingAdmissionPolicySpec) {
    	if obj.FailurePolicy == nil {
    		policy := admissionregistrationv1alpha1.Fail
    		obj.FailurePolicy = &policy
    	}
    }
    
    // SetDefaults_MatchResources sets defaults for MatchResources
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 16:30:09 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top