Documentation ¶
Index ¶
Constants ¶
View Source
const ( ContainerName = "fluentd-sidecar" VolumeName = "fluentd-sidecar-injector-logs" )
Variables ¶
This section is empty.
Functions ¶
func StartServer ¶
StartServer run webhook server.
Types ¶
type FluentBitEnv ¶
type FluentBitEnv struct { DockerImage string `envconfig:"DOCKER_IMAGE" default:"ghcr.io/h3poteto/fluentbit-forward:latest"` ApplicationLogDir string `envconfig:"APPLICATION_LOG_DIR"` TagPrefix string `envconfig:"TAG_PREFIX" default:"app"` AggregatorHost string `envconfig:"AGGREGATOR_HOST"` AggregatorPort string `envconfig:"AGGREGATOR_PORT" default:"24224"` CustomEnv string `envconfig:"CUSTOM_ENV"` }
type FluentDEnv ¶
type FluentDEnv struct { DockerImage string `envconfig:"DOCKER_IMAGE" default:"ghcr.io/h3poteto/fluentd-forward:latest"` ApplicationLogDir string `envconfig:"APPLICATION_LOG_DIR"` TimeFormat string `envconfig:"TIME_FORMAT" default:"%Y-%m-%dT%H:%M:%S%z"` TimeKey string `envconfig:"TIME_KEY" default:"time"` TagPrefix string `envconfig:"TAG_PREFIX" default:"app"` AggregatorHost string `envconfig:"AGGREGATOR_HOST"` AggregatorPort string `envconfig:"AGGREGATOR_PORT" default:"24224"` LogFormat string `envconfig:"LOG_FORMAT" default:"json"` CustomEnv string `envconfig:"CUSTOM_ENV"` }
FluentDEnv is required environment variables for fluentd settings.
type GeneralEnv ¶
type GeneralEnv struct {
Collector string `envconfig:"COLLECTOR" default:"fluentd"`
}
GeneralEnv is required environment variables to run this server.
Click to show internal directories.
Click to hide internal directories.