Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Time ¶
type Time struct { // Start time in the format of `^now([+-][0-9]+[smhdwMy])?$`, eg. `now-1M`. // It denotes the end time is set to the last month since now. From string `json:"from,omitempty" json:"from,omitempty"` // End time in the format of `^now([+-][0-9]+[smhdwMy])?$`, eg. `now-1M`. // It denotes the start time is set to the last month since now. To string `json:"to,omitempty" json:"to,omitempty"` }
Time ranges of the metrics for display
func (*Time) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Time.
Click to show internal directories.
Click to hide internal directories.