- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 179 for DefaultMode (0.26 sec)
-
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) -
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) -
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) -
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) -
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) -
pkg/volume/configmap/configmap.go
// MakePayload function is exported so that it can be called from the projection volume driver func MakePayload(mappings []v1.KeyToPath, configMap *v1.ConfigMap, 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(configMap.Data) + len(configMap.BinaryData)))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 10K bytes - Viewed (0) -
pkg/volume/projected/projected_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 18:40:48 UTC 2023 - 40.5K bytes - Viewed (0) -
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) -
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) -
pkg/volume/downwardapi/downwardapi.go
func CollectData(items []v1.DownwardAPIVolumeFile, pod *v1.Pod, host volume.VolumeHost, defaultMode *int32) (map[string]volumeutil.FileProjection, error) { if defaultMode == nil { return nil, fmt.Errorf("no defaultMode used, not even the default value for it") } errlist := []error{} data := make(map[string]volumeutil.FileProjection)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 10.4K bytes - Viewed (0)