Documentation ¶
Overview ¶
Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the Revision controller depends.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { *apiconfig.Config Deployment *deployment.Config Logging *logging.Config Network *netcfg.Config Observability *metrics.ObservabilityConfig Tracing *pkgtracing.Config }
Config contains the configmaps requires for revision reconciliation.
func FromContext ¶
FromContext loads the configuration from the context.
type Store ¶
type Store struct { *configmap.UntypedStore // contains filtered or unexported fields }
Store is a typed wrapper around configmap.UntypedStore to handle our configmaps.
func NewStore ¶
NewStore creates a new store of Configs and optionally calls functions when ConfigMaps are updated for Revisions
func (*Store) WatchConfigs ¶ added in v0.17.0
WatchConfigs uses the provided configmap.Watcher to setup watches for the config names provided in the Constructors map
Click to show internal directories.
Click to hide internal directories.