- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 379 for defaulting (0.15 sec)
-
pkg/controller/volume/persistentvolume/config/v1alpha1/defaults.go
// function to allow consumers of this type to set whatever defaults for their // embedded configs. Forcing consumers to use these defaults would be problematic // as defaulting in the scheme is done as part of the conversion, and there would // be no easy way to opt-out. Instead, if you want to use this defaulting method // run it in your wrapper struct of this type in its `SetDefaults_` method.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 02:59:09 UTC 2024 - 4.3K bytes - Viewed (0) -
pkg/apis/flowcontrol/internalbootstrap/defaults_test.go
defaulted := original.DeepCopyObject().(*flowcontrol.FlowSchema) scheme.Default(defaulted) if apiequality.Semantic.DeepEqual(original, defaulted) { t.Logf("Defaulting makes no change to FlowSchema: %q", original.Name) return } t.Errorf("Expected defaulting to not change FlowSchema: %q, diff: %s", original.Name, cmp.Diff(original, defaulted)) }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:35 UTC 2023 - 2.4K bytes - Viewed (0) -
pkg/test/framework/config/map.go
if !ok { scopes.Framework.Warnf("failed to parse key of type %T value %q as bool, defaulting to false", m[key], key) return nil } return &v } func (m Map) Int(key string) int { if m[key] == nil { return 0 } v, ok := m[key].(int) if !ok { scopes.Framework.Warnf("failed to parse key of type %T value %q as int, defaulting to 0", m[key], key) return 0 } return v
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 2.2K bytes - Viewed (0) -
pkg/apis/flowcontrol/v1/defaults_test.go
"k8s.io/utils/ptr" ) func TestDefaultWithPriorityLevelConfiguration(t *testing.T) { tests := []struct { name string original runtime.Object expected runtime.Object }{ { name: "Defaulting for Exempt", original: &flowcontrolv1.PriorityLevelConfiguration{ Spec: flowcontrolv1.PriorityLevelConfigurationSpec{ Type: flowcontrolv1.PriorityLevelEnablementExempt,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:40 UTC 2023 - 4.8K bytes - Viewed (0) -
cmd/kubeadm/app/componentconfigs/kubelet_test.go
}, } } func TestKubeletDefault(t *testing.T) { tests := []struct { name string clusterCfg kubeadmapi.ClusterConfiguration expected kubeletConfig }{ { name: "No specific defaulting works", clusterCfg: kubeadmapi.ClusterConfiguration{}, expected: kubeletConfig{ config: kubeletconfig.KubeletConfiguration{ FeatureGates: map[string]bool{},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 25 10:26:46 UTC 2024 - 9.6K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/config/v1alpha1/defaults.go
// function to allow consumers of this type to set whatever defaults for their // embedded configs. Forcing consumers to use these defaults would be problematic // as defaulting in the scheme is done as part of the conversion, and there would // be no easy way to opt-out. Instead, if you want to use this defaulting method // run it in your wrapper struct of this type in its `SetDefaults_` method.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 02 04:54:33 UTC 2019 - 1.7K bytes - Viewed (0) -
pkg/controller/daemon/config/v1alpha1/defaults.go
// function to allow consumers of this type to set whatever defaults for their // embedded configs. Forcing consumers to use these defaults would be problematic // as defaulting in the scheme is done as part of the conversion, and there would // be no easy way to opt-out. Instead, if you want to use this defaulting method // run it in your wrapper struct of this type in its `SetDefaults_` method.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 02 04:54:33 UTC 2019 - 1.6K bytes - Viewed (0) -
pkg/controller/endpoint/config/v1alpha1/defaults.go
// function to allow consumers of this type to set whatever defaults for their // embedded configs. Forcing consumers to use these defaults would be problematic // as defaulting in the scheme is done as part of the conversion, and there would // be no easy way to opt-out. Instead, if you want to use this defaulting method // run it in your wrapper struct of this type in its `SetDefaults_` method.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 02 04:54:33 UTC 2019 - 1.6K bytes - Viewed (0) -
pkg/controller/garbagecollector/config/v1alpha1/defaults.go
// function to allow consumers of this type to set whatever defaults for their // embedded configs. Forcing consumers to use these defaults would be problematic // as defaulting in the scheme is done as part of the conversion, and there would // be no easy way to opt-out. Instead, if you want to use this defaulting method // run it in your wrapper struct of this type in its `SetDefaults_` method.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 23 15:40:23 UTC 2022 - 1.7K bytes - Viewed (0) -
pkg/apis/flowcontrol/v1beta1/defaults_test.go
"k8s.io/utils/pointer" ) func TestDefaultWithPriorityLevelConfiguration(t *testing.T) { tests := []struct { name string original runtime.Object expected runtime.Object }{ { name: "Defaulting for Exempt", original: &flowcontrolv1beta1.PriorityLevelConfiguration{ Spec: flowcontrolv1beta1.PriorityLevelConfigurationSpec{ Type: flowcontrolv1beta1.PriorityLevelEnablementExempt,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 14 00:47:58 UTC 2023 - 3K bytes - Viewed (0)