Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 247 for defaulting (0.36 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. pkg/apis/flowcontrol/v1beta2/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: &flowcontrolv1beta2.PriorityLevelConfiguration{
    				Spec: flowcontrolv1beta2.PriorityLevelConfigurationSpec{
    					Type:   flowcontrolv1beta2.PriorityLevelEnablementExempt,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 00:47:58 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. pkg/controller/podautoscaler/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: Sun May 19 09:49:23 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. pkg/controller/nodelifecycle/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: Tue Mar 07 18:11:49 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. pkg/controller/validatingadmissionpolicystatus/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: Thu Jul 13 20:41:50 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top