Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for DefaultMode (0.14 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/core/v1/downwardapivolumesource.go

    // with apply.
    type DownwardAPIVolumeSourceApplyConfiguration struct {
    	Items       []DownwardAPIVolumeFileApplyConfiguration `json:"items,omitempty"`
    	DefaultMode *int32                                    `json:"defaultMode,omitempty"`
    }
    
    // DownwardAPIVolumeSourceApplyConfiguration constructs an declarative configuration of the DownwardAPIVolumeSource type for use with
    // apply.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/client-go/applyconfigurations/core/v1/projectedvolumesource.go

    // with apply.
    type ProjectedVolumeSourceApplyConfiguration struct {
    	Sources     []VolumeProjectionApplyConfiguration `json:"sources,omitempty"`
    	DefaultMode *int32                               `json:"defaultMode,omitempty"`
    }
    
    // ProjectedVolumeSourceApplyConfiguration constructs an declarative configuration of the ProjectedVolumeSource type for use with
    // apply.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  3. pkg/apis/storage/v1beta1/defaults_test.go

    	// field should be defaulted
    	defaultMode := storagev1beta1.VolumeBindingImmediate
    	output := roundTrip(t, runtime.Object(class)).(*storagev1beta1.StorageClass)
    	outMode := output.VolumeBindingMode
    	if outMode == nil {
    		t.Errorf("Expected VolumeBindingMode to be defaulted to: %+v, got: nil", defaultMode)
    	} else if *outMode != defaultMode {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/client-go/applyconfigurations/core/v1/configmapvolumesource.go

    	LocalObjectReferenceApplyConfiguration `json:",inline"`
    	Items                                  []KeyToPathApplyConfiguration `json:"items,omitempty"`
    	DefaultMode                            *int32                        `json:"defaultMode,omitempty"`
    	Optional                               *bool                         `json:"optional,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  5. pkg/volume/secret/secret.go

    // MakePayload function is exported so that it can be called from the projection volume driver
    func MakePayload(mappings []v1.KeyToPath, secret *v1.Secret, defaultMode *int32, optional bool) (map[string]volumeutil.FileProjection, error) {
    	if defaultMode == nil {
    		return nil, fmt.Errorf("no defaultMode used, not even the default value for it")
    	}
    
    	payload := make(map[string]volumeutil.FileProjection, len(secret.Data))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. pkg/apis/resource/v1alpha2/defaults_test.go

    	claim := &v1alpha2.ResourceClaim{}
    
    	// field should be defaulted
    	defaultMode := v1alpha2.AllocationModeWaitForFirstConsumer
    	output := roundTrip(t, runtime.Object(claim)).(*v1alpha2.ResourceClaim)
    	outMode := output.Spec.AllocationMode
    	if outMode != defaultMode {
    		t.Errorf("Expected AllocationMode to be defaulted to: %+v, got: %+v", defaultMode, outMode)
    	}
    
    	// field should not change
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 06:52:03 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. pkg/apis/storage/v1/defaults_test.go

    	class := &storagev1.StorageClass{}
    
    	// field should be defaulted
    	defaultMode := storagev1.VolumeBindingImmediate
    	output := roundTrip(t, runtime.Object(class)).(*storagev1.StorageClass)
    	outMode := output.VolumeBindingMode
    	if outMode == nil {
    		t.Errorf("Expected VolumeBindingMode to be defaulted to: %+v, got: nil", defaultMode)
    	} else if *outMode != defaultMode {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. samples/open-telemetry/loki/otel.yaml

          dnsPolicy: ClusterFirst
          restartPolicy: Always
          schedulerName: default-scheduler
          terminationGracePeriodSeconds: 30
          volumes:
            - configMap:
                defaultMode: 420
                items:
                  - key: opentelemetry-collector-config
                    path: opentelemetry-collector-config.yaml
                name: opentelemetry-collector-conf
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 06 20:18:25 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. samples/open-telemetry/otel.yaml

          dnsPolicy: ClusterFirst
          restartPolicy: Always
          schedulerName: default-scheduler
          terminationGracePeriodSeconds: 30
          volumes:
            - configMap:
                defaultMode: 420
                items:
                  - key: opentelemetry-collector-config
                    path: opentelemetry-collector-config.yaml
                name: opentelemetry-collector-conf
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 31 08:51:36 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/managedfields/pod.yaml

        tolerationSeconds: 300
      - effect: NoExecute
        key: node.kubernetes.io/unreachable
        operator: Exists
        tolerationSeconds: 300
      volumes:
      - name: default-token-hu5jz
        secret:
          defaultMode: 420
          secretName: default-token-hu5jz
    status:
      conditions:
      - lastProbeTime: null
        lastTransitionTime: '2019-07-08T09:31:18Z'
        status: 'True'
        type: Initialized
      - lastProbeTime: null
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top