Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for lastPhaseTransitionTime (0.32 sec)

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

    	Message                 *string                   `json:"message,omitempty"`
    	Reason                  *string                   `json:"reason,omitempty"`
    	LastPhaseTransitionTime *metav1.Time              `json:"lastPhaseTransitionTime,omitempty"`
    }
    
    // PersistentVolumeStatusApplyConfiguration constructs an declarative configuration of the PersistentVolumeStatus type for use with
    // apply.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 19:39:24 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. pkg/registry/core/persistentvolume/strategy_test.go

    					Phase:                   api.VolumePending,
    					LastPhaseTransitionTime: &later,
    				},
    			},
    			expectedObj: &api.PersistentVolume{
    				ObjectMeta: metav1.ObjectMeta{
    					Name: "foo",
    				},
    				Status: api.PersistentVolumeStatus{
    					Phase:                   api.VolumePending,
    					LastPhaseTransitionTime: &later,
    				},
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. pkg/registry/core/persistentvolume/strategy.go

    			// phase didn't change, preserve the existing transition time if set
    			newPv.Status.LastPhaseTransitionTime = oldPv.Status.LastPhaseTransitionTime
    
    		case oldPv.Status.Phase != newPv.Status.Phase && (newPv.Status.LastPhaseTransitionTime == nil || newPv.Status.LastPhaseTransitionTime.Equal(oldPv.Status.LastPhaseTransitionTime)):
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 03:58:36 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  4. pkg/api/persistentvolume/util.go

    func DropDisabledStatusFields(oldStatus, newStatus *api.PersistentVolumeStatus) {
    	if !utilfeature.DefaultFeatureGate.Enabled(features.PersistentVolumeLastPhaseTransitionTime) && oldStatus.LastPhaseTransitionTime.IsZero() {
    		newStatus.LastPhaseTransitionTime = nil
    	}
    }
    
    func GetWarningsForPersistentVolume(pv *api.PersistentVolume) []string {
    	if pv == nil {
    		return nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 09:50:37 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. pkg/registry/core/persistentvolume/storage/storage_test.go

    		},
    		Status: api.PersistentVolumeStatus{
    			Phase:                   api.VolumePending,
    			Message:                 "bar",
    			Reason:                  "foo",
    			LastPhaseTransitionTime: &now,
    		},
    	}
    	return pv
    }
    
    func TestCreate(t *testing.T) {
    	storage, _, server := newStorage(t)
    	defer server.Terminate(t)
    	defer storage.Store.DestroyFunc()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/HEAD/core.v1.PersistentVolume.yaml

      volumeMode: volumeModeValue
      vsphereVolume:
        fsType: fsTypeValue
        storagePolicyID: storagePolicyIDValue
        storagePolicyName: storagePolicyNameValue
        volumePath: volumePathValue
    status:
      lastPhaseTransitionTime: "2004-01-01T01:01:01Z"
      message: messageValue
      phase: phaseValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 03:26:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.PersistentVolume.yaml

      volumeMode: volumeModeValue
      vsphereVolume:
        fsType: fsTypeValue
        storagePolicyID: storagePolicyIDValue
        storagePolicyName: storagePolicyNameValue
        volumePath: volumePathValue
    status:
      lastPhaseTransitionTime: "2004-01-01T01:01:01Z"
      message: messageValue
      phase: phaseValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.PersistentVolume.json

          }
        },
        "volumeAttributesClassName": "volumeAttributesClassNameValue"
      },
      "status": {
        "phase": "phaseValue",
        "message": "messageValue",
        "reason": "reasonValue",
        "lastPhaseTransitionTime": "2004-01-01T01:01:01Z"
      }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.PersistentVolume.json

          }
        },
        "volumeAttributesClassName": "volumeAttributesClassNameValue"
      },
      "status": {
        "phase": "phaseValue",
        "message": "messageValue",
        "reason": "reasonValue",
        "lastPhaseTransitionTime": "2004-01-01T01:01:01Z"
      }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/HEAD/core.v1.PersistentVolume.json

          }
        },
        "volumeAttributesClassName": "volumeAttributesClassNameValue"
      },
      "status": {
        "phase": "phaseValue",
        "message": "messageValue",
        "reason": "reasonValue",
        "lastPhaseTransitionTime": "2004-01-01T01:01:01Z"
      }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 03:26:35 UTC 2023
    - 7.7K bytes
    - Viewed (0)
Back to top