- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for PVCs (0.05 sec)
-
pkg/controller/volume/ephemeral/controller_test.go
Controller: &isController, BlockOwnerDeletion: &isTrue, } } func sortPVCs(pvcs []v1.PersistentVolumeClaim) []v1.PersistentVolumeClaim { sort.Slice(pvcs, func(i, j int) bool { return pvcs[i].Namespace < pvcs[j].Namespace || pvcs[i].Name < pvcs[j].Name }) return pvcs } func createTestClient(objects ...runtime.Object) *fake.Clientset {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 06:51:56 UTC 2024 - 8.5K bytes - Viewed (0) -
pkg/api/persistentvolumeclaim/util.go
// gate is disabled, dataSourceRef will be forced to empty, ensuring pre-1.22 behavior. // This should be called before NormalizeDataSources, so that data sources other than PVCs // and VolumeSnapshots can only be set through the dataSourceRef field and not the dataSource // field. func EnforceDataSourceBackwardsCompatibility(pvcSpec, oldPVCSpec *core.PersistentVolumeClaimSpec) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 03:18:56 UTC 2023 - 8.3K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/test_utils.go
PersistentVolumeClaim: &v1.PersistentVolumeClaimVolumeSource{ ClaimName: pvcName, }, }, }) return pb } func (pb podBuilder) withPVCSVolume(pvcs []*v1.PersistentVolumeClaim) podBuilder { for i, pvc := range pvcs { pb.withPVCVolume(pvc.Name, fmt.Sprintf("vol%v", i)) } return pb } func (pb podBuilder) withEmptyDirVolume() podBuilder {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 13 07:42:19 UTC 2023 - 4.9K bytes - Viewed (0) -
pkg/controller/volume/pvprotection/pv_protection_controller.go
"k8s.io/kubernetes/pkg/util/slice" volumeutil "k8s.io/kubernetes/pkg/volume/util" ) // Controller is controller that removes PVProtectionFinalizer // from PVs that are not bound to PVCs. type Controller struct { client clientset.Interface pvLister corelisters.PersistentVolumeLister pvListerSynced cache.InformerSynced queue workqueue.TypedRateLimitingInterface[string] }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 6.4K bytes - Viewed (0) -
pkg/controller/volume/ephemeral/controller.go
"k8s.io/kubernetes/pkg/controller/volume/common" ephemeralvolumemetrics "k8s.io/kubernetes/pkg/controller/volume/ephemeral/metrics" "k8s.io/kubernetes/pkg/controller/volume/events" ) // Controller creates PVCs for ephemeral inline volumes in a pod spec. type Controller interface { Run(ctx context.Context, workers int) } type ephemeralController struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 9.2K bytes - Viewed (0)