Documentation ¶
Index ¶
Constants ¶
View Source
const (
FlagsConfigName = "config-kafka-features"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KafkaFeatureFlags ¶
type KafkaFeatureFlags struct {
// contains filtered or unexported fields
}
func DefaultFeaturesConfig ¶
func DefaultFeaturesConfig() *KafkaFeatureFlags
func FromContext ¶
func FromContext(ctx context.Context) *KafkaFeatureFlags
func (*KafkaFeatureFlags) IsControllerAutoscalerEnabled ¶ added in v0.35.0
func (f *KafkaFeatureFlags) IsControllerAutoscalerEnabled() bool
func (*KafkaFeatureFlags) IsDispatcherOrderedExecutorMetricsEnabled ¶ added in v0.33.0
func (f *KafkaFeatureFlags) IsDispatcherOrderedExecutorMetricsEnabled() bool
func (*KafkaFeatureFlags) IsDispatcherRateLimiterEnabled ¶
func (f *KafkaFeatureFlags) IsDispatcherRateLimiterEnabled() bool
func (*KafkaFeatureFlags) Reset ¶
func (f *KafkaFeatureFlags) Reset(ff *KafkaFeatureFlags)
type Store ¶
type Store struct {
*configmap.UntypedStore
}
Store is a typed wrapper around configmap.Untyped store to handle our configmaps. +k8s:deepcopy-gen=false
func NewStore ¶
func NewStore(ctx context.Context, onAfterStore ...func(name string, value *KafkaFeatureFlags)) *Store
NewStore creates a new store of Configs and optionally calls functions when ConfigMaps are updated.
func (*Store) Load ¶
func (s *Store) Load() *KafkaFeatureFlags
Load creates a Config from the current config state of the Store.
Click to show internal directories.
Click to hide internal directories.