Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListMapConverter ¶
func (ListMapConverter) ToPbListMap ¶
func (lm ListMapConverter) ToPbListMap() map[string]*structpb.ListValue
type LogDownloadRequest ¶
type LogDownloadRequest struct { Start int64 `query:"start" validate:"gte=1"` End int64 `query:"end" validate:"gte=1"` Query string `query:"query"` Sort []string `query:"sort"` Debug bool `query:"debug"` Addon string `param:"addon"` ClusterName string `query:"clusterName"` Size int `query:"pageSize"` MaxReturn int64 `param:"maxReturn"` }
type LogKeyGroup ¶
type LogKeyGroup map[LogKeyType]StringList
func (LogKeyGroup) Contains ¶
func (g LogKeyGroup) Contains(keyType LogKeyType) bool
func (LogKeyGroup) ToESQueryString ¶
func (g LogKeyGroup) ToESQueryString() string
func (LogKeyGroup) Where ¶
func (g LogKeyGroup) Where(filter func(k LogKeyType, v StringList) bool) LogKeyGroup
type LogKeyType ¶
type LogKeyType string
type LogKeys ¶
type LogKeys map[string]LogKeyType
func (LogKeys) Add ¶
func (m LogKeys) Add(logKeyValue string, logKeyName LogKeyType)
func (LogKeys) Group ¶
func (m LogKeys) Group() LogKeyGroup
type StringList ¶
type StringList []string
func (StringList) ToInterfaceList ¶
func (l StringList) ToInterfaceList() []interface{}
Click to show internal directories.
Click to hide internal directories.