Documentation ¶
Index ¶
- type Config
- func (config *Config) GetBoolParam(key string, defaultValue bool) bool
- func (config *Config) GetDefaultNodeResourceLimit() float64
- func (config *Config) GetDefaultScheduler() []string
- func (config *Config) GetDeleteGracePeriod() time.Duration
- func (config *Config) GetDurationParam(key string, defaultValue time.Duration) time.Duration
- func (config *Config) GetFloatParam(key string, defaultValue float64) float64
- func (config *Config) GetInitialResourceBufferSize() int
- func (config *Config) GetIntParam(key string, defaultValue int) int
- func (config *Config) GetParameterMap() (map[string]string, error)
- func (config *Config) GetPodEnvVars() map[string]string
- func (config *Config) GetResourceBufferIncrementFactor() float64
- func (config *Config) GetResourceLimitAnnotation() string
- func (config *Config) GetStandaloneSourceLabel() string
- func (config *Config) GetStringMapParam(key string, defaultValue map[string]string) map[string]string
- func (config *Config) GetStringParam(key string, defaultValue string) string
- func (config *Config) GetStringSliceParam(key string, defaultValue []string) []string
- func (config *Config) GetValidationHeartbeat() time.Duration
- func (config *Config) GetValidationPeriod() time.Duration
- func (config *Config) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func NewConfigWithCache ¶
func (*Config) GetBoolParam ¶
func (*Config) GetDefaultNodeResourceLimit ¶
func (*Config) GetDefaultScheduler ¶
func (*Config) GetDeleteGracePeriod ¶
func (*Config) GetDurationParam ¶
func (*Config) GetFloatParam ¶
func (*Config) GetInitialResourceBufferSize ¶
func (*Config) GetPodEnvVars ¶
func (*Config) GetResourceBufferIncrementFactor ¶
func (*Config) GetResourceLimitAnnotation ¶
func (*Config) GetStandaloneSourceLabel ¶
func (*Config) GetStringMapParam ¶
func (*Config) GetStringParam ¶
func (*Config) GetStringSliceParam ¶
func (*Config) GetValidationHeartbeat ¶
func (*Config) GetValidationPeriod ¶
Click to show internal directories.
Click to hide internal directories.