Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// Version is the current version of the app, generated at build time
Version = "unknown"
)
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Master string KubeConfig string FluentdRPCPort int TemplatesDir string OutputDir string LogLevel string FluentdLogLevel string BufferMountFolder string AnnotConfigmapName string AnnotStatus string DefaultConfigmapName string IntervalSeconds int Datasource string CRDMigrationMode bool FsDatasourceDir string AllowFile bool ID string FluentdValidateCommand string MetaKey string MetaValues string LabelSelector string KubeletRoot string Namespaces []string NamespaceSelector string PrometheusEnabled bool MetricsPort int AllowTagExpansion bool AdminNamespace string AllowLabel string AllowLabelAnnotation string ParsedMetaValues map[string]string ParsedLabelSelector labels.Set ExecTimeoutSeconds int ReadBytesLimit int // contains filtered or unexported fields }
Config is a project-wide configuration
func (*Config) GetLogLevel ¶
func (*Config) ParseFlags ¶
func (*Config) ParseFluentdLogLevel ¶
ParseFluentdLogLevel takes a string level and returns the Fluentd log level constant.
Click to show internal directories.
Click to hide internal directories.