glueclassifier

package
v0.0.0-...-964ba77 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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 (CsvClassifierAttributes) Delimiter

func (cc CsvClassifierAttributes) Delimiter() terra.StringValue

func (CsvClassifierAttributes) DisableValueTrimming

func (cc CsvClassifierAttributes) DisableValueTrimming() terra.BoolValue

func (CsvClassifierAttributes) Header

func (CsvClassifierAttributes) InternalRef

func (cc CsvClassifierAttributes) InternalRef() (terra.Reference, error)

func (CsvClassifierAttributes) InternalTokens

func (cc CsvClassifierAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CsvClassifierAttributes) InternalWithRef

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

type GrokClassifierState

type GrokClassifierState struct {
	Classification string `json:"classification"`
	CustomPatterns string `json:"custom_patterns"`
	GrokPattern    string `json:"grok_pattern"`
}

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 (JsonClassifierAttributes) JsonPath

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 (XmlClassifierAttributes) RowTag

type XmlClassifierState

type XmlClassifierState struct {
	Classification string `json:"classification"`
	RowTag         string `json:"row_tag"`
}

Jump to

Keyboard shortcuts

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