Files
PandaX/apps/devops/services/k8s/dataselect/propertyname.go
2022-01-22 17:07:04 +08:00

18 lines
627 B
Go

package dataselect
// PropertyName is used to get the value of certain property of data cell.
// For example if we want to get the namespace of certain Deployment we can use DeploymentCell.GetProperty(NamespaceProperty)
type PropertyName string
// List of all property names supported by the UI.
const (
NameProperty = "name"
CreationTimestampProperty = "creationTimestamp"
NamespaceProperty = "namespace"
StatusProperty = "status"
TypeProperty = "type"
FirstSeenProperty = "firstSeen"
LastSeenProperty = "lastSeen"
ReasonProperty = "reason"
)