Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// Minimum log level to emit.
LogLevel string `default:"info" split_words:"true"`
// Period to perform reconciliation with the Calico datastore.
ReconcilerPeriod string `default:"5m" split_words:"true"`
// etcdv3 compaction period. Set to 0 to disable the compactor.
CompactionPeriod string `default:"10m" split_words:"true"`
// Which controllers to run.
EnabledControllers string `default:"policy,profile,workloadendpoint" split_words:"true"`
// Number of workers to run for each controller.
WorkloadEndpointWorkers int `default:"1" split_words:"true"`
ProfileWorkers int `default:"1" split_words:"true"`
PolicyWorkers int `default:"1" split_words:"true"`
NodeWorkers int `default:"1" split_words:"true"`
// Path to a kubeconfig file to use for accessing the k8s API.
Kubeconfig string `default:"" split_words:"false"`
}
Click to show internal directories.
Click to hide internal directories.