Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for RBDVolumeSource (0.21 sec)

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

    	ReadOnly     *bool                                   `json:"readOnly,omitempty"`
    }
    
    // RBDVolumeSourceApplyConfiguration constructs an declarative configuration of the RBDVolumeSource type for use with
    // apply.
    func RBDVolumeSource() *RBDVolumeSourceApplyConfiguration {
    	return &RBDVolumeSourceApplyConfiguration{}
    }
    
    // WithCephMonitors adds the given value to the CephMonitors field in the declarative configuration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 5K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_volumes_test.go

    								MountPath: "/mnt/vol1",
    							},
    						},
    					},
    				},
    				Volumes: []v1.Volume{
    					{
    						Name: "vol1",
    						VolumeSource: v1.VolumeSource{
    							RBD: &v1.RBDVolumeSource{
    								RBDImage: "fake1",
    							},
    						},
    					},
    				},
    			},
    		},
    		{
    			ObjectMeta: metav1.ObjectMeta{
    				Name: "pod2",
    				UID:  "pod2uid",
    			},
    			Spec: v1.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 17 16:53:28 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  3. api/api-rules/violation_exceptions.list

    API rule violation: names_match,k8s.io/api/core/v1,RBDVolumeSource,CephMonitors
    API rule violation: names_match,k8s.io/api/core/v1,RBDVolumeSource,RBDImage
    API rule violation: names_match,k8s.io/api/core/v1,RBDVolumeSource,RBDPool
    API rule violation: names_match,k8s.io/api/core/v1,RBDVolumeSource,RadosUser
    API rule violation: names_match,k8s.io/api/core/v1,VolumeSource,CephFS
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  4. pkg/kubelet/volumemanager/volume_manager_test.go

    						ConfigMap: &v1.ConfigMapVolumeSource{},
    					},
    				},
    				{
    					Name: "vol2",
    					VolumeSource: v1.VolumeSource{
    						RBD: &v1.RBDVolumeSource{},
    					},
    				},
    				{
    					Name: "vol02",
    					VolumeSource: v1.VolumeSource{
    						RBD: &v1.RBDVolumeSource{},
    					},
    				},
    				{
    					Name: "vol3",
    					VolumeSource: v1.VolumeSource{
    						AzureDisk: &v1.AzureDiskVolumeSource{},
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/volumerestrictions/volume_restrictions_test.go

    	volState := v1.Volume{
    		VolumeSource: v1.VolumeSource{
    			RBD: &v1.RBDVolumeSource{
    				CephMonitors: []string{"a", "b"},
    				RBDPool:      "foo",
    				RBDImage:     "bar",
    				FSType:       "ext4",
    			},
    		},
    	}
    	volState2 := v1.Volume{
    		VolumeSource: v1.VolumeSource{
    			RBD: &v1.RBDVolumeSource{
    				CephMonitors: []string{"c", "d"},
    				RBDPool:      "foo",
    				RBDImage:     "bar",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 17:40:39 UTC 2023
    - 17.3K bytes
    - Viewed (0)
  6. pkg/controller/volume/attachdetach/populator/desired_state_of_world_populator_test.go

    			Namespace: "dswp-test",
    		},
    		Spec: v1.PodSpec{
    			NodeName: "dswp-test-host",
    			Volumes: []v1.Volume{
    				{
    					Name: "dswp-test-volume-name",
    					VolumeSource: v1.VolumeSource{
    						RBD: &v1.RBDVolumeSource{
    							RBDImage: "dswp-test-fake-device",
    						},
    					},
    				},
    			},
    		},
    		Status: v1.PodStatus{
    			Phase: v1.PodPhase("Running"),
    		},
    	}
    
    	fakePodInformer.Informer().GetStore().Add(pod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. pkg/apis/core/v1/defaults.go

    			if (*containers)[i].Ports[j].HostPort == 0 {
    				(*containers)[i].Ports[j].HostPort = (*containers)[i].Ports[j].ContainerPort
    			}
    		}
    	}
    }
    
    func SetDefaults_RBDVolumeSource(obj *v1.RBDVolumeSource) {
    	if obj.RBDPool == "" {
    		obj.RBDPool = "rbd"
    	}
    	if obj.RadosUser == "" {
    		obj.RadosUser = "admin"
    	}
    	if obj.Keyring == "" {
    		obj.Keyring = "/etc/ceph/keyring"
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 22:24:15 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. pkg/apis/core/fuzzer/fuzzer.go

    			}
    		},
    		func(s *core.Secret, c fuzz.Continue) {
    			c.FuzzNoCustom(s) // fuzz self without calling this function again
    			s.Type = core.SecretTypeOpaque
    		},
    		func(r *core.RBDVolumeSource, c fuzz.Continue) {
    			r.RBDPool = c.RandString()
    			if r.RBDPool == "" {
    				r.RBDPool = "rbd"
    			}
    			r.RadosUser = c.RandString()
    			if r.RadosUser == "" {
    				r.RadosUser = "admin"
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 04:32:01 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. pkg/apis/core/v1/zz_generated.conversion.go

    	}
    	if err := s.AddGeneratedConversionFunc((*v1.RBDVolumeSource)(nil), (*core.RBDVolumeSource)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1_RBDVolumeSource_To_core_RBDVolumeSource(a.(*v1.RBDVolumeSource), b.(*core.RBDVolumeSource), scope)
    	}); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 472.1K bytes
    - Viewed (0)
  10. pkg/api/v1/pod/util_test.go

    								LocalObjectReference: v1.LocalObjectReference{
    									Name: "Spec.Volumes[*].VolumeSource.Projected.Sources[*].Secret"}}}}}}}, {
    				VolumeSource: v1.VolumeSource{
    					RBD: &v1.RBDVolumeSource{
    						SecretRef: &v1.LocalObjectReference{
    							Name: "Spec.Volumes[*].VolumeSource.RBD.SecretRef"}}}}, {
    				VolumeSource: v1.VolumeSource{
    					Secret: &v1.SecretVolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 32.1K bytes
    - Viewed (0)
Back to top