Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnknownResource = fmt.Errorf("unknown resource") ErrResourceStateUndefined = fmt.Errorf("undefined resource state") )
Functions ¶
func NewBulkRecordEncoder ¶
func NewBulkRecordEncoder(cfg *EncoderConfig) envoy.PrepareEncodeStreamer
Types ¶
type EncoderConfig ¶
type EncoderConfig struct { // Timezone defines what timezone should be used when encoding timestamps // // If not defined, UTC is used Timezone string // TimeLayout defines how to format the encoded timestamp // // If not defined, RFC3339 is used (this one - 2006-01-02T15:04:05Z07:00) TimeLayout string // Fields specifies what fields we wish to include in the export Fields map[string]bool }
EncoderConfig allows us to configure the resource encoding process
Click to show internal directories.
Click to hide internal directories.