Package config holds the typed objects that define the schemas for ConfigMap objects that pertain to our API objects.
const ( DefaultsConfigName = "config-defaults" DefaultRevisionTimeoutSeconds = 5 * 60 DefaultMaxRevisionTimeoutSeconds = 10 * 60 DefaultUserContainerName = "user-container" DefaultContainerConcurrency int64 = 0 DefaultMaxRevisionContainerConcurrency int64 = 1000 )
This section is empty.
ToContext attaches the provided Config to the provided context, returning the new context with the Config attached.
Config holds the collection of configurations that we attach to contexts. +k8s:deepcopy-gen=false
FromContext extracts a Config from the provided context.
FromContextOrDefaults is like FromContext, but when no Config is attached it returns a Config populated with the defaults for each of the Config fields.
Defaults includes the default values to be populated by the webhook.
NewDefaultsConfigFromConfigMap creates a Defaults from the supplied configMap
NewDefaultsConfigFromMap creates a Defaults from the supplied Map
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Defaults.
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
UserContainerName returns the name of the user container based on the context.
Store is a typed wrapper around configmap.Untyped store to handle our configmaps. +k8s:deepcopy-gen=false
NewStore creates a new store of Configs and optionally calls functions when ConfigMaps are updated.
Load creates a Config from the current config state of the Store.
ToContext attaches the current Config state to the provided context.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4