Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 106 for defaulted (0.33 sec)

  1. pkg/apis/storage/v1/defaults_test.go

    	} else if *outMode != defaultMode {
    		t.Errorf("Expected VolumeBindingMode to be defaulted to: %+v, got: %+v", defaultMode, outMode)
    	}
    }
    
    func TestSetDefaultCSIDriver(t *testing.T) {
    	enabled := true
    	disabled := false
    	tests := []struct {
    		desc     string
    		field    string
    		wantSpec *storagev1.CSIDriverSpec
    	}{
    		{
    			desc:     "AttachRequired default to true",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. pkg/apis/storage/v1beta1/defaults_test.go

    	}
    }
    
    func TestSetDefaultAttachRequired(t *testing.T) {
    	driver := &storagev1beta1.CSIDriver{}
    
    	// field should be defaulted
    	defaultAttach := true
    	defaultPodInfo := false
    	output := roundTrip(t, runtime.Object(driver)).(*storagev1beta1.CSIDriver)
    	outAttach := output.Spec.AttachRequired
    	if outAttach == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/windows/security_windows.go

    }
    
    // Owner returns the security descriptor owner and whether it was defaulted.
    func (sd *SECURITY_DESCRIPTOR) Owner() (owner *SID, defaulted bool, err error) {
    	err = getSecurityDescriptorOwner(sd, &owner, &defaulted)
    	return
    }
    
    // SetOwner sets the absolute security descriptor owner.
    func (absoluteSD *SECURITY_DESCRIPTOR) SetOwner(owner *SID, defaulted bool) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  4. pkg/apis/batch/v1/defaults_test.go

    					Suspend:        pointer.Bool(true),
    					ManualSelector: pointer.Bool(false),
    				},
    			},
    			expectLabels: true,
    		},
    		"All unspecified -> all pointers are defaulted and no default labels": {
    			original: &batchv1.Job{
    				ObjectMeta: metav1.ObjectMeta{
    					Labels: map[string]string{"mylabel": "myvalue"},
    				},
    				Spec: batchv1.JobSpec{
    					Template: v1.PodTemplateSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/apis/kubeadm/v1beta4/defaults.go

    	DefaultAPIBindPort = 6443
    	// DefaultCertificatesDir defines default certificate directory
    	DefaultCertificatesDir = "/etc/kubernetes/pki"
    	// DefaultImageRepository defines default image registry
    	// (previously this defaulted to k8s.gcr.io)
    	DefaultImageRepository = "registry.k8s.io"
    	// DefaultManifestsDir defines default manifests directory
    	DefaultManifestsDir = "/etc/kubernetes/manifests"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/impl/legacy/LegacyGradleEnterprisePluginCheckInService.java

            }
    
            @Override
            public Attributes getAttributes() {
                return attributes;
            }
        }
    
        private enum Requestedness {
    
            DEFAULTED(false, false),
            ENABLED(true, false),
            DISABLED(false, true);
    
            private final boolean enabled;
            private final boolean disabled;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 08:50:27 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/componentconfigs/configset.go

    	}
    }
    
    // Default sets up defaulted component configs in the supplied ClusterConfiguration
    func Default(clusterCfg *kubeadmapi.ClusterConfiguration, localAPIEndpoint *kubeadmapi.APIEndpoint, nodeRegOpts *kubeadmapi.NodeRegistrationOptions) {
    	ensureInitializedComponentConfigs(clusterCfg)
    
    	for _, handler := range known {
    		// If the component config exists, simply default it. Otherwise, create it before defaulting.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 04 15:36:00 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. pkg/apis/core/v1/defaults_test.go

    					marshaled, _ := json.Marshal(defaultedV.Interface())
    					defaults[visit.path] = string(marshaled)
    				}
    				toVisit = append(toVisit, testPath{path: visit.path, value: visit.value.Elem()})
    			}
    
    		case isPrimitive(visit.value.Kind()):
    			if !reflect.DeepEqual(defaultedV.Interface(), zeroV.Interface()) {
    				marshaled, _ := json.Marshal(defaultedV.Interface())
    				defaults[visit.path] = string(marshaled)
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/apis/example2/v1/generated.proto

    option go_package = "k8s.io/apiserver/pkg/apis/example2/v1";
    
    // ReplicaSet ensures that a specified number of pod replicas are running at any given time.
    message ReplicaSet {
      // If the Labels of a ReplicaSet are empty, they are defaulted to
      // be the same as the Pod(s) that the ReplicaSet manages.
      // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
      // +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/json/json_test.go

    			expectedObject: &testDecodable{},
    			expectedGVK:    &schema.GroupVersionKind{Kind: "Test", Group: "other", Version: "blah"},
    			strict:         true,
    		},
    
    		// version without group is not defaulted
    		{
    			data:           []byte(`{"apiVersion":"blah"}`),
    			defaultGVK:     &schema.GroupVersionKind{Kind: "Test", Group: "other", Version: "blah"},
    			creater:        &mockCreater{obj: &testDecodable{}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 04 15:55:02 UTC 2024
    - 40K bytes
    - Viewed (0)
Back to top