Documentation
¶
Overview ¶
Package logger_tests installs a simple "Hello World" application with a logger and tests the logger function.
Index ¶
Constants ¶
View Source
const DefaultMinimumNodes int = 1
View Source
const FluentBitConf = `` /* 208-byte string literal not displayed */
View Source
const InputConf = `
[INPUT]
Name tail
Path /var/log/suite/*
Refresh_Interval 5
`
View Source
const OutputConf = `
[OUTPUT]
Name stdout
Match *
`
View Source
const ParsersConf = `` /* 489-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(cfg *Config) k8s_tester.Tester
Types ¶
type Config ¶
type Config struct {
Enable bool `json:"enable"`
Prompt bool `json:"-"`
Stopc chan struct{} `json:"-"`
Logger *zap.Logger `json:"-"`
LogWriter io.Writer `json:"-"`
Client client.Client `json:"-"`
// MinimumNodes is the minimum number of Kubernetes nodes required for installing this addon.
MinimumNodes int `json:"minimum_nodes"`
// Namespace to create test resources.
Namespace string `json:"namespace"`
}
func NewDefault ¶
func NewDefault() *Config
func (*Config) ValidateAndSetDefaults ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
k8s-tester-fluent-bit
command
k8s-tester-fluent-bit installs Kubernetes logger, and tests logger can read logs, and output in the correct order.
|
k8s-tester-fluent-bit installs Kubernetes logger, and tests logger can read logs, and output in the correct order. |
Click to show internal directories.
Click to hide internal directories.