Documentation ¶
Index ¶
- Constants
- type Action
- func (a Action) GetAction() string
- func (a Action) GetArg(arg string) (string, bool)
- func (a Action) GetOrDefaultArg(arg string) string
- func (a Action) GetSpec() any
- func (a Action) Set(key, value string)
- func (a Action) SetAction(action string)
- func (a Action) SetDigest(digest string)
- func (a Action) SetName(name string)
- func (a Action) SetOrDefault(key, value string)
- type AggColumn
- type AggOp
- type Pipe
- type Point
- type Rule
- type Scalar
- type View
- type ViewColumn
Constants ¶
View Source
const ( AggOpCount = "count" AggOpSum = "sum" AggOpMin = "min" AggOpMax = "max" AggOpAvg = "avg" AggOpStringAgg = "string_agg" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶ added in v1.6.0
func (Action) GetOrDefaultArg ¶ added in v1.6.0
func (Action) SetOrDefault ¶ added in v1.9.0
type Pipe ¶ added in v1.6.0
type Point ¶ added in v1.6.0
type Point struct { Nullable bool `json:"nullable,omitempty"` Scalar Scalar `json:"scalar,omitempty"` }
func NewPointFromNumber ¶ added in v1.6.0
func (Point) AsNullable ¶ added in v1.6.0
type Rule ¶ added in v1.8.1
type Rule struct { Hostname string `json:"hostname,omitempty"` URLPattern string `json:"url_pattern,omitempty"` AlwaysTrigger bool `json:"always_trigger,omitempty"` Disable bool `json:"disable,omitempty"` Labels []string `json:"labels,omitempty"` }
func (*Rule) GetAlwaysTrigger ¶ added in v1.8.2
func (*Rule) GetHostname ¶ added in v1.8.1
func (*Rule) GetURLPattern ¶ added in v1.8.1
type View ¶ added in v1.8.2
type View struct { Alias string `json:"alias,omitempty"` Columns []ViewColumn `json:"columns,omitempty"` AggColumns []AggColumn `json:"agg_columns,omitempty"` }
func (*View) GetColumns ¶ added in v1.8.2
func (v *View) GetColumns() []ViewColumn
type ViewColumn ¶ added in v1.8.2
Click to show internal directories.
Click to hide internal directories.