Documentation ¶
Overview ¶
Copyright The OpenTelemetry Authors
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.53.0
type Config struct { helper.ParserConfig `mapstructure:",squash"` Header string `mapstructure:"header"` HeaderDelimiter string `mapstructure:"header_delimiter"` HeaderAttribute string `mapstructure:"header_attribute"` FieldDelimiter string `mapstructure:"delimiter"` LazyQuotes bool `mapstructure:"lazy_quotes"` IgnoreQuotes bool `mapstructure:"ignore_quotes"` }
Config is the configuration of a csv parser operator.
func NewConfig ¶ added in v0.53.0
func NewConfig() *Config
NewConfig creates a new csv parser config with default values
func NewConfigWithID ¶ added in v0.59.0
NewConfigWithID creates a new csv parser config with default values
type Parser ¶ added in v0.53.0
type Parser struct { helper.ParserOperator // contains filtered or unexported fields }
Parser is an operator that parses csv in an entry.