Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ConfigName is the name of config map for the deployment. ConfigName = "config-deployment" // QueueSidecarImageKey is the config map key for queue sidecar image QueueSidecarImageKey = "queueSidecarImage" // ProgressDeadlineDefault is the default value for the config's // ProgressDeadlineSeconds. This does not match the K8s default value of 600s. ProgressDeadlineDefault = 120 * time.Second // ProgressDeadlineKey is the key to configure deployment progress deadline. ProgressDeadlineKey = "progressDeadline" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // QueueSidecarImage is the name of the image used for the queue sidecar // injected into the revision pod QueueSidecarImage string // Repositories for which tag to digest resolving should be skipped RegistriesSkippingTagResolving sets.String // ProgressDeadline is the time in seconds we wait for the deployment to // be ready before considering it failed. ProgressDeadline time.Duration }
Config includes the configurations for the controller.
func NewConfigFromConfigMap ¶
NewConfigFromConfigMap creates a DeploymentConfig from the supplied configMap
func NewConfigFromMap ¶
NewConfigFromMap creates a DeploymentConfig from the supplied Map
func (*Config) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
func (*Config) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Click to show internal directories.
Click to hide internal directories.