c8yquery

package
v2.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildCumulocityQuery

func BuildCumulocityQuery(cmd *cobra.Command, fixedParts []string, orderBy string) func([]byte) []byte

func UnescapeValue

func UnescapeValue(format, value string) string

Types

type CumulocityQueryIterator

type CumulocityQueryIterator struct {
	Filter        []QueryPart
	FilterJoin    string
	OrderBy       []string
	QueryTemplate string
}

func NewCumulocityQueryIterator

func NewCumulocityQueryIterator() *CumulocityQueryIterator

func (*CumulocityQueryIterator) AddFilterPart

func (i *CumulocityQueryIterator) AddFilterPart(name string, value interface{})

func (*CumulocityQueryIterator) AddOrderPart

func (i *CumulocityQueryIterator) AddOrderPart(order string)

func (*CumulocityQueryIterator) GetNext

func (i *CumulocityQueryIterator) GetNext() (line []byte, input interface{}, err error)

func (*CumulocityQueryIterator) IsBound

func (i *CumulocityQueryIterator) IsBound() bool

type QueryPart

type QueryPart struct {
	Name  string
	Value interface{}
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL