Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package Package gc holds the typed objects that define the schemas for assorted ConfigMap objects on which the Route controller depends.
Index ¶
Constants ¶
View Source
const (
ConfigName = "config-gc"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Delay duration after a revision create before considering it for GC StaleRevisionCreateDelay time.Duration // Timeout since a revision lastPinned before it should be GC'd // This must be longer than the controller resync period StaleRevisionTimeout time.Duration // Minimum number of generations of revisions to keep before considering for GC StaleRevisionMinimumGenerations int64 // Minimum staleness duration before updating lastPinned StaleRevisionLastpinnedDebounce time.Duration }
func NewConfigFromConfigMap ¶
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.