- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for PersistentVolumePhase (0.43 sec)
-
staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumestatus.go
// PersistentVolumeStatusApplyConfiguration represents an declarative configuration of the PersistentVolumeStatus type for use // with apply. type PersistentVolumeStatusApplyConfiguration struct { Phase *v1.PersistentVolumePhase `json:"phase,omitempty"` Message *string `json:"message,omitempty"` Reason *string `json:"reason,omitempty"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 21 19:39:24 UTC 2023 - 3.2K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/test_utils.go
pvb.PersistentVolume.Spec.Capacity = v1.ResourceList{ v1.ResourceName(v1.ResourceStorage): capacity, } return pvb } func (pvb pvBuilder) withPhase(phase v1.PersistentVolumePhase) pvBuilder { pvb.PersistentVolume.Status = v1.PersistentVolumeStatus{ Phase: phase, } return pvb } type pvcBuilder struct { *v1.PersistentVolumeClaim }
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/persistentvolume/framework_test.go
return ctrl, nil } // newVolume returns a new volume with given attributes func newVolume(name, capacity, boundToClaimUID, boundToClaimName string, phase v1.PersistentVolumePhase, reclaimPolicy v1.PersistentVolumeReclaimPolicy, class string, annotations ...string) *v1.PersistentVolume { fs := v1.PersistentVolumeFilesystem volume := v1.PersistentVolume{ ObjectMeta: metav1.ObjectMeta{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 09:54:00 UTC 2023 - 38.3K bytes - Viewed (0) -
pkg/apis/core/fuzzer/fuzzer.go
if obj.Type == nil { obj.Type = &typeVol } }, func(pv *core.PersistentVolume, c fuzz.Continue) { c.FuzzNoCustom(pv) // fuzz self without calling this function again types := []core.PersistentVolumePhase{core.VolumeAvailable, core.VolumePending, core.VolumeBound, core.VolumeReleased, core.VolumeFailed} pv.Status.Phase = types[c.Rand.Intn(len(types))] pv.Status.Message = c.RandString()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 04:32:01 UTC 2024 - 18.5K bytes - Viewed (0) -
pkg/apis/core/types.go
ReadWriteOncePod PersistentVolumeAccessMode = "ReadWriteOncePod" ) // PersistentVolumePhase defines the phase in which a PV is type PersistentVolumePhase string // These are the valid values for PersistentVolumePhase const ( // used for PersistentVolumes that are not available VolumePending PersistentVolumePhase = "Pending" // used for PersistentVolumes that are not yet bound
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 268.9K bytes - Viewed (0) -
staging/src/k8s.io/api/core/v1/types.go
) // +enum type PersistentVolumePhase string const ( // used for PersistentVolumes that are not available VolumePending PersistentVolumePhase = "Pending" // used for PersistentVolumes that are not yet bound // Available volumes are held by the binder and matched to PersistentVolumeClaims VolumeAvailable PersistentVolumePhase = "Available" // used for PersistentVolumes that are bound
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 390.8K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/pv_controller.go
return newClaim, nil } // updateVolumePhase saves new volume phase to API server. func (ctrl *PersistentVolumeController) updateVolumePhase(ctx context.Context, volume *v1.PersistentVolume, phase v1.PersistentVolumePhase, message string) (*v1.PersistentVolume, error) { logger := klog.FromContext(ctx) logger.V(4).Info("Updating PersistentVolume", "volumeName", volume.Name, "setPhase", phase) if volume.Status.Phase == phase {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 08:42:31 UTC 2024 - 89.2K bytes - Viewed (0) -
pkg/apis/core/v1/zz_generated.conversion.go
return nil } func autoConvert_v1_PersistentVolumeStatus_To_core_PersistentVolumeStatus(in *v1.PersistentVolumeStatus, out *core.PersistentVolumeStatus, s conversion.Scope) error { out.Phase = core.PersistentVolumePhase(in.Phase) out.Message = in.Message out.Reason = in.Reason out.LastPhaseTransitionTime = (*metav1.Time)(unsafe.Pointer(in.LastPhaseTransitionTime)) return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 472.1K bytes - Viewed (0) -
staging/src/k8s.io/api/core/v1/generated.pb.go
} postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthGenerated } if postIndex > l { return io.ErrUnexpectedEOF } m.Phase = PersistentVolumePhase(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) } var stringLen uint64
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 1.8M bytes - Viewed (0)