Documentation ¶
Overview ¶
Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the Autoscaling controller depends.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Autoscaler *autoscaler.Config
}
Config of the Autoscaler. +k8s:deepcopy-gen=false
func FromContext ¶
FromContext fetch config from context.
type Store ¶
type Store struct {
*configmap.UntypedStore
}
Store is configmap.UntypedStore based config store. +k8s:deepcopy-gen=false
func NewStore ¶
NewStore creates a configmap.UntypedStore based config store.
logger must be non-nil implementation of configmap.Logger (commonly used loggers conform)
onAfterStore is a variadic list of callbacks to run after the ConfigMap has been processed and stored.
See also: configmap.NewUntypedStore().
Click to show internal directories.
Click to hide internal directories.