Documentation ¶
Index ¶
- type CsvClassifier
- type CsvClassifierAttributes
- func (cc CsvClassifierAttributes) AllowSingleColumn() terra.BoolValue
- func (cc CsvClassifierAttributes) ContainsHeader() terra.StringValue
- func (cc CsvClassifierAttributes) CustomDatatypeConfigured() terra.BoolValue
- func (cc CsvClassifierAttributes) CustomDatatypes() terra.ListValue[terra.StringValue]
- func (cc CsvClassifierAttributes) Delimiter() terra.StringValue
- func (cc CsvClassifierAttributes) DisableValueTrimming() terra.BoolValue
- func (cc CsvClassifierAttributes) Header() terra.ListValue[terra.StringValue]
- func (cc CsvClassifierAttributes) InternalRef() (terra.Reference, error)
- func (cc CsvClassifierAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cc CsvClassifierAttributes) InternalWithRef(ref terra.Reference) CsvClassifierAttributes
- func (cc CsvClassifierAttributes) QuoteSymbol() terra.StringValue
- type CsvClassifierState
- type GrokClassifier
- type GrokClassifierAttributes
- func (gc GrokClassifierAttributes) Classification() terra.StringValue
- func (gc GrokClassifierAttributes) CustomPatterns() terra.StringValue
- func (gc GrokClassifierAttributes) GrokPattern() terra.StringValue
- func (gc GrokClassifierAttributes) InternalRef() (terra.Reference, error)
- func (gc GrokClassifierAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (gc GrokClassifierAttributes) InternalWithRef(ref terra.Reference) GrokClassifierAttributes
- type GrokClassifierState
- type JsonClassifier
- type JsonClassifierAttributes
- func (jc JsonClassifierAttributes) InternalRef() (terra.Reference, error)
- func (jc JsonClassifierAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (jc JsonClassifierAttributes) InternalWithRef(ref terra.Reference) JsonClassifierAttributes
- func (jc JsonClassifierAttributes) JsonPath() terra.StringValue
- type JsonClassifierState
- type XmlClassifier
- type XmlClassifierAttributes
- func (xc XmlClassifierAttributes) Classification() terra.StringValue
- func (xc XmlClassifierAttributes) InternalRef() (terra.Reference, error)
- func (xc XmlClassifierAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (xc XmlClassifierAttributes) InternalWithRef(ref terra.Reference) XmlClassifierAttributes
- func (xc XmlClassifierAttributes) RowTag() terra.StringValue
- type XmlClassifierState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CsvClassifier ¶
type CsvClassifier struct { // AllowSingleColumn: bool, optional AllowSingleColumn terra.BoolValue `hcl:"allow_single_column,attr"` // ContainsHeader: string, optional ContainsHeader terra.StringValue `hcl:"contains_header,attr"` // CustomDatatypeConfigured: bool, optional CustomDatatypeConfigured terra.BoolValue `hcl:"custom_datatype_configured,attr"` // CustomDatatypes: list of string, optional CustomDatatypes terra.ListValue[terra.StringValue] `hcl:"custom_datatypes,attr"` // Delimiter: string, optional Delimiter terra.StringValue `hcl:"delimiter,attr"` // DisableValueTrimming: bool, optional DisableValueTrimming terra.BoolValue `hcl:"disable_value_trimming,attr"` // Header: list of string, optional Header terra.ListValue[terra.StringValue] `hcl:"header,attr"` // QuoteSymbol: string, optional QuoteSymbol terra.StringValue `hcl:"quote_symbol,attr"` }
type CsvClassifierAttributes ¶
type CsvClassifierAttributes struct {
// contains filtered or unexported fields
}
func (CsvClassifierAttributes) AllowSingleColumn ¶
func (cc CsvClassifierAttributes) AllowSingleColumn() terra.BoolValue
func (CsvClassifierAttributes) ContainsHeader ¶
func (cc CsvClassifierAttributes) ContainsHeader() terra.StringValue
func (CsvClassifierAttributes) CustomDatatypeConfigured ¶
func (cc CsvClassifierAttributes) CustomDatatypeConfigured() terra.BoolValue
func (CsvClassifierAttributes) CustomDatatypes ¶
func (cc CsvClassifierAttributes) CustomDatatypes() terra.ListValue[terra.StringValue]
func (CsvClassifierAttributes) Delimiter ¶
func (cc CsvClassifierAttributes) Delimiter() terra.StringValue
func (CsvClassifierAttributes) DisableValueTrimming ¶
func (cc CsvClassifierAttributes) DisableValueTrimming() terra.BoolValue
func (CsvClassifierAttributes) Header ¶
func (cc CsvClassifierAttributes) Header() terra.ListValue[terra.StringValue]
func (CsvClassifierAttributes) InternalRef ¶
func (cc CsvClassifierAttributes) InternalRef() (terra.Reference, error)
func (CsvClassifierAttributes) InternalTokens ¶
func (cc CsvClassifierAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CsvClassifierAttributes) InternalWithRef ¶
func (cc CsvClassifierAttributes) InternalWithRef(ref terra.Reference) CsvClassifierAttributes
func (CsvClassifierAttributes) QuoteSymbol ¶
func (cc CsvClassifierAttributes) QuoteSymbol() terra.StringValue
type CsvClassifierState ¶
type CsvClassifierState struct { AllowSingleColumn bool `json:"allow_single_column"` ContainsHeader string `json:"contains_header"` CustomDatatypeConfigured bool `json:"custom_datatype_configured"` CustomDatatypes []string `json:"custom_datatypes"` Delimiter string `json:"delimiter"` DisableValueTrimming bool `json:"disable_value_trimming"` Header []string `json:"header"` QuoteSymbol string `json:"quote_symbol"` }
type GrokClassifier ¶
type GrokClassifier struct { // Classification: string, required Classification terra.StringValue `hcl:"classification,attr" validate:"required"` // CustomPatterns: string, optional CustomPatterns terra.StringValue `hcl:"custom_patterns,attr"` // GrokPattern: string, required GrokPattern terra.StringValue `hcl:"grok_pattern,attr" validate:"required"` }
type GrokClassifierAttributes ¶
type GrokClassifierAttributes struct {
// contains filtered or unexported fields
}
func (GrokClassifierAttributes) Classification ¶
func (gc GrokClassifierAttributes) Classification() terra.StringValue
func (GrokClassifierAttributes) CustomPatterns ¶
func (gc GrokClassifierAttributes) CustomPatterns() terra.StringValue
func (GrokClassifierAttributes) GrokPattern ¶
func (gc GrokClassifierAttributes) GrokPattern() terra.StringValue
func (GrokClassifierAttributes) InternalRef ¶
func (gc GrokClassifierAttributes) InternalRef() (terra.Reference, error)
func (GrokClassifierAttributes) InternalTokens ¶
func (gc GrokClassifierAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GrokClassifierAttributes) InternalWithRef ¶
func (gc GrokClassifierAttributes) InternalWithRef(ref terra.Reference) GrokClassifierAttributes
type GrokClassifierState ¶
type JsonClassifier ¶
type JsonClassifier struct { // JsonPath: string, required JsonPath terra.StringValue `hcl:"json_path,attr" validate:"required"` }
type JsonClassifierAttributes ¶
type JsonClassifierAttributes struct {
// contains filtered or unexported fields
}
func (JsonClassifierAttributes) InternalRef ¶
func (jc JsonClassifierAttributes) InternalRef() (terra.Reference, error)
func (JsonClassifierAttributes) InternalTokens ¶
func (jc JsonClassifierAttributes) InternalTokens() (hclwrite.Tokens, error)
func (JsonClassifierAttributes) InternalWithRef ¶
func (jc JsonClassifierAttributes) InternalWithRef(ref terra.Reference) JsonClassifierAttributes
func (JsonClassifierAttributes) JsonPath ¶
func (jc JsonClassifierAttributes) JsonPath() terra.StringValue
type JsonClassifierState ¶
type JsonClassifierState struct {
JsonPath string `json:"json_path"`
}
type XmlClassifier ¶
type XmlClassifier struct { // Classification: string, required Classification terra.StringValue `hcl:"classification,attr" validate:"required"` // RowTag: string, required RowTag terra.StringValue `hcl:"row_tag,attr" validate:"required"` }
type XmlClassifierAttributes ¶
type XmlClassifierAttributes struct {
// contains filtered or unexported fields
}
func (XmlClassifierAttributes) Classification ¶
func (xc XmlClassifierAttributes) Classification() terra.StringValue
func (XmlClassifierAttributes) InternalRef ¶
func (xc XmlClassifierAttributes) InternalRef() (terra.Reference, error)
func (XmlClassifierAttributes) InternalTokens ¶
func (xc XmlClassifierAttributes) InternalTokens() (hclwrite.Tokens, error)
func (XmlClassifierAttributes) InternalWithRef ¶
func (xc XmlClassifierAttributes) InternalWithRef(ref terra.Reference) XmlClassifierAttributes
func (XmlClassifierAttributes) RowTag ¶
func (xc XmlClassifierAttributes) RowTag() terra.StringValue
type XmlClassifierState ¶
Click to show internal directories.
Click to hide internal directories.