Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Query ¶
type Query struct {
QueryString string
Start time.Time
End time.Time
Limit int
Forward bool
Step time.Duration
Quiet bool
NoLabels bool
IgnoreLabelsKey []string
ShowLabelsKey []string
FixedLabelsLen int
}
Query contains all necessary fields to execute instant and range queries and print the results.
func (*Query) DoQuery ¶
func (q *Query) DoQuery(c *client.Client, out output.LogOutput)
DoQuery executes the query and prints out the results
func (*Query) SetInstant ¶
func (q *Query) SetInstant(time time.Time)
SetInstant makes the Query an instant type
Click to show internal directories.
Click to hide internal directories.