Documentation
¶
Overview ¶
Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the DomainMapping controller depends.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Network *netcfg.Config
}
Config holds the collection of configurations that we attach to contexts.
func FromContext ¶
func FromContext(ctx context.Context) *Config
FromContext extracts a Config from the provided context.
type Store ¶
type Store struct {
*configmap.UntypedStore
}
Store is a typed wrapper around configmap.Untyped store to handle our configmaps.
func NewStore ¶
func NewStore(ctx context.Context, onAfterStore ...func(name string, value interface{})) *Store
NewStore creates a new store of Configs and optionally calls functions when ConfigMaps are updated.
Click to show internal directories.
Click to hide internal directories.