Documentation ¶
Index ¶
- func AppendVariables(query interface{}, tplVars []sdk.TemplateVar) (interface{}, error)
- func GetTargets(panel *sdk.Panel) (*[]sdk.Target, error)
- func Int64Pointer(input int64) *int64
- func IntPointer(input int) *int
- func OverrideTarget(panel *sdk.Panel, targets []sdk.Target) error
- func PanelPointerSlice(panels []sdk.Panel) []*sdk.Panel
- func PanelSlice(panels []*sdk.Panel) []sdk.Panel
- func StringPointer(input string) *string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendVariables ¶
func AppendVariables(query interface{}, tplVars []sdk.TemplateVar) (interface{}, error)
func GetTargets ¶
GetTargets returns a list of targets for the given panel. Custom logic has to be implemented for panels of type custom as the sdk implementation does not support it.
func Int64Pointer ¶
func IntPointer ¶
func OverrideTarget ¶
OverrideTarget replaces the targets in the panel. This has to be implemented per panel type as the sdk method does not work properly for all the different types.
func StringPointer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.