pod.go 560 B

1234567891011121314151617181920
  1. package kubemodel
  2. import "time"
  3. // TODO complete
  4. // TODO how to handle PVCs?
  5. // TODO how to handle attached devices?
  6. // TODO how to handle labels and annos?
  7. type Pod struct {
  8. UID string
  9. NamespaceUID string
  10. NodeUID string
  11. OwnerUID string
  12. PersistentVolumeClaimUIDs map[string]struct{}
  13. Name string
  14. Labels map[string]string
  15. Annotations map[string]string
  16. Start time.Time
  17. End time.Time
  18. }