Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Endpoints []RemoteEndpoint `yaml:"remoteEndpoints"` ResourcesWatch []Resource `yaml:"resources"` NewResources []Resource StaleResources []Resource PrometheusMetrics PrometheusConfig `yaml:"prometheusMetrics"` ClusterName string `yaml:"clusterName"` DeltaUpdates bool `yaml:"deltaUpdates"` DelayStartSeconds string `yaml:"delayAddEventDuration"` EmitCacheDuration string `yaml:"emitCacheDuration"` EmitBatchMaxObjects int `yaml:"emitBatchMaxObjects"` EmitInterval int `yaml:"emitInterval"` ForceReuploadDuration string `yaml:"forceReuploadDuration"` Metadata map[string]interface{} `yaml:"metadata"` HttpLiveness HttpLivenessConfig `yaml:"httpLiveness"` IgnoreNamespaces []string `yaml:"ignoreNamespaces"` }
func ReadConfig ¶
ReadConfig reads info from a config file based on the passed configPath. If there's an issue locating, reading, or parsing the config, an error is returned.
func (*Config) DiffConfig ¶
type FieldPruner ¶
type HttpLivenessConfig ¶
type PrometheusConfig ¶
type RemoteEndpoint ¶
Click to show internal directories.
Click to hide internal directories.