Documentation ¶
Overview ¶
input defines collectsub structs that can be used for human/application inputs that do not necessarily find it convenient to use protobuf (e.g.
input defines collectsub structs that can be used for human/application inputs that do not necessarily find it convenient to use protobuf (e.g.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IdentifierStringsSliceToCollectEntries ¶ added in v0.1.0
func IdentifierStringsSliceToCollectEntries(i []*parser_common.IdentifierStrings) []*pb.CollectEntry
TODO: write tests for this.
Types ¶
type CollectEntryFilterInput ¶
type CollectEntryFilterInput struct { // Type string based on protobuf enum CollectDataType Type string `json:"type,omitempty"` Glob string `json:"value,omitempty"` }
func ConvertCollectEntryFilter ¶
func ConvertCollectEntryFilter(e *pb.CollectEntryFilter) CollectEntryFilterInput
func (*CollectEntryFilterInput) Convert ¶
func (e *CollectEntryFilterInput) Convert() *pb.CollectEntryFilter
type CollectEntryInput ¶
type CollectEntryInput struct { // Type string based on protobuf enum CollectDataType Type string `json:"type,omitempty"` Value string `json:"value,omitempty"` }
func ConvertCollectEntry ¶
func ConvertCollectEntry(e *pb.CollectEntry) CollectEntryInput
func (*CollectEntryInput) Convert ¶
func (e *CollectEntryInput) Convert() *pb.CollectEntry
Click to show internal directories.
Click to hide internal directories.