- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 6,623 for Defaults (0.26 sec)
-
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) -
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) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/defaults.go
obj.Names.ListKind = obj.Names.Kind + "List" } if obj.Conversion == nil { obj.Conversion = &CustomResourceConversion{ Strategy: NoneConverter, } } } // SetDefaults_ServiceReference sets defaults for Webhook's ServiceReference func SetDefaults_ServiceReference(obj *ServiceReference) { if obj.Port == nil { obj.Port = utilpointer.Int32Ptr(443) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 15 16:27:01 UTC 2019 - 1.7K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
pkg/apis/core/v1/defaults.go
obj.Default[key] = value.DeepCopy() } } // If a default limit is specified, but the default request is not, default request to limit for key, value := range obj.Default { if _, exists := obj.DefaultRequest[key]; !exists { obj.DefaultRequest[key] = value.DeepCopy() } } // If a default request is not specified, but the min is provided, default request to the min
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 19 22:24:15 UTC 2024 - 14.8K bytes - Viewed (0) -
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)