input

package
v0.12.3 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

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 (*CollectEntryFilterInput) Convert

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

Jump to

Keyboard shortcuts

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