mirror of
https://github.com/hanzoai/traces.git
synced 2026-10-30 18:20:41 +00:00
* added files to handle dualstack mode for minio s3 handler * added changes on api.go * Update tempodb/backend/s3/s3.go Co-authored-by: Mario <[email protected]> * Update tempodb/backend/s3/config.go Co-authored-by: Mario <[email protected]> * Update docs/sources/tempo/configuration/manifest.md Co-authored-by: Mario <[email protected]> * Update docs/sources/tempo/setup/linux.md Co-authored-by: Mario <[email protected]> * Update docs/sources/tempo/configuration/manifest.md Co-authored-by: Mario <[email protected]> * Update docs/sources/tempo/configuration/_index.md Co-authored-by: Mario <[email protected]> * added docs for dualstack * final commit * initiate client object * Fix IAM test * Added changelog entry * Update docs/sources/tempo/configuration/_index.md --------- Co-authored-by: Mario <[email protected]> Co-authored-by: Kim Nylander <[email protected]>
49 lines
751 B
Go
49 lines
751 B
Go
package encoder
|
|
|
|
import (
|
|
"context"
|
|
"io"
|
|
)
|
|
|
|
type OptionFlag uint8
|
|
|
|
const (
|
|
HTMLEscapeOption OptionFlag = 1 << iota
|
|
IndentOption
|
|
UnorderedMapOption
|
|
DebugOption
|
|
ColorizeOption
|
|
ContextOption
|
|
NormalizeUTF8Option
|
|
FieldQueryOption
|
|
)
|
|
|
|
type Option struct {
|
|
Flag OptionFlag
|
|
ColorScheme *ColorScheme
|
|
Context context.Context
|
|
DebugOut io.Writer
|
|
DebugDOTOut io.WriteCloser
|
|
}
|
|
|
|
type EncodeFormat struct {
|
|
Header string
|
|
Footer string
|
|
}
|
|
|
|
type EncodeFormatScheme struct {
|
|
Int EncodeFormat
|
|
Uint EncodeFormat
|
|
Float EncodeFormat
|
|
Bool EncodeFormat
|
|
String EncodeFormat
|
|
Binary EncodeFormat
|
|
ObjectKey EncodeFormat
|
|
Null EncodeFormat
|
|
}
|
|
|
|
type (
|
|
ColorScheme = EncodeFormatScheme
|
|
ColorFormat = EncodeFormat
|
|
)
|