Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Field ¶
Field describes an InfluxDB field tag.
func (*Field) MarshalFlag ¶
MarshalFlag is the go-flags Value MarshalFlag implementation for Field
func (*Field) UnmarshalFlag ¶
UnmarshalFlag is the go-flags Value UnmarshalFlag implementation for Field
type FieldType ¶
type FieldType string
FieldType describes an InfluxDB field type. Field values can be floats, integers, strings, or Booleans.
type Options ¶
type Options struct { Region string `long:"region" description:"The AWS region." required:"true"` Bucket string `long:"bucket" description:"The AWS bucket to watch." required:"true"` Prefix string `long:"prefix" description:"The bucket prefix."` Suffix string `long:"suffix" description:"Filename suffix to limit files read on the bucket."` CleanObjects bool `long:"clean-objects" description:"Whether to delete S3 objects after processing them."` Timeout time.Duration `long:"timeout" description:"The global timeout." default:"30s"` InfluxServers []string `long:"influx-server" description:"The InfluxDB servers addresses." required:"true"` InfluxToken string `long:"influx-token" description:"The InfluxDB token." required:"true"` InfluxOrg string `long:"influx-org" description:"The InfluxDB org to write to." required:"true"` InfluxBucket string `long:"influx-bucket" description:"The InfluxDB bucket write to." required:"true"` Measurement string `` /* 165-byte string literal not displayed */ TimestampRow string `long:"timestamp-row" description:"The timestamp row in CSV." default:"timestamp"` TimestampLayout string `long:"timestamp-layout" description:"The layout to parse timestamp." default:"2006-01-02T15:04:05.000Z"` Tags []*Tag `` /* 155-byte string literal not displayed */ Fields []*Field `` /* 200-byte string literal not displayed */ }
Options wraps all flags
type Tag ¶
type Tag struct {
Tag, Row string
}
Tag describes an InfluxDB tag flag
func (*Tag) MarshalFlag ¶
MarshalFlag is the go-flags Value MarshalFlag implementation for Tag
func (*Tag) UnmarshalFlag ¶
UnmarshalFlag is the go-flags Value UnmarshalFlag implementation for Tag
Click to show internal directories.
Click to hide internal directories.