@@ -44,9 +44,9 @@ type TimeoutConfig struct {
44
44
// Max value for conformant implementation: None
45
45
GatewayStatusMustHaveListeners time.Duration
46
46
47
- // GatewayListenersMustHaveCondition represents the maximum time for a Gateway to have all listeners with a specific condition.
47
+ // GatewayListenersMustHaveConditions represents the maximum time for a Gateway to have all listeners with a specific condition.
48
48
// Max value for conformant implementation: None
49
- GatewayListenersMustHaveCondition time.Duration
49
+ GatewayListenersMustHaveConditions time.Duration
50
50
51
51
// GWCMustBeAccepted represents the maximum time for a GatewayClass to have an Accepted condition set to true.
52
52
// Max value for conformant implementation: None
@@ -100,24 +100,24 @@ type TimeoutConfig struct {
100
100
// DefaultTimeoutConfig populates a TimeoutConfig with the default values.
101
101
func DefaultTimeoutConfig () TimeoutConfig {
102
102
return TimeoutConfig {
103
- CreateTimeout : 60 * time .Second ,
104
- DeleteTimeout : 10 * time .Second ,
105
- GetTimeout : 10 * time .Second ,
106
- GatewayMustHaveAddress : 180 * time .Second ,
107
- GatewayMustHaveCondition : 180 * time .Second ,
108
- GatewayStatusMustHaveListeners : 60 * time .Second ,
109
- GatewayListenersMustHaveCondition : 60 * time .Second ,
110
- GWCMustBeAccepted : 180 * time .Second ,
111
- HTTPRouteMustNotHaveParents : 60 * time .Second ,
112
- HTTPRouteMustHaveCondition : 60 * time .Second ,
113
- TLSRouteMustHaveCondition : 60 * time .Second ,
114
- RouteMustHaveParents : 60 * time .Second ,
115
- ManifestFetchTimeout : 10 * time .Second ,
116
- MaxTimeToConsistency : 30 * time .Second ,
117
- NamespacesMustBeReady : 300 * time .Second ,
118
- RequestTimeout : 10 * time .Second ,
119
- LatestObservedGenerationSet : 60 * time .Second ,
120
- RequiredConsecutiveSuccesses : 3 ,
103
+ CreateTimeout : 60 * time .Second ,
104
+ DeleteTimeout : 10 * time .Second ,
105
+ GetTimeout : 10 * time .Second ,
106
+ GatewayMustHaveAddress : 180 * time .Second ,
107
+ GatewayMustHaveCondition : 180 * time .Second ,
108
+ GatewayStatusMustHaveListeners : 60 * time .Second ,
109
+ GatewayListenersMustHaveConditions : 60 * time .Second ,
110
+ GWCMustBeAccepted : 180 * time .Second ,
111
+ HTTPRouteMustNotHaveParents : 60 * time .Second ,
112
+ HTTPRouteMustHaveCondition : 60 * time .Second ,
113
+ TLSRouteMustHaveCondition : 60 * time .Second ,
114
+ RouteMustHaveParents : 60 * time .Second ,
115
+ ManifestFetchTimeout : 10 * time .Second ,
116
+ MaxTimeToConsistency : 30 * time .Second ,
117
+ NamespacesMustBeReady : 300 * time .Second ,
118
+ RequestTimeout : 10 * time .Second ,
119
+ LatestObservedGenerationSet : 60 * time .Second ,
120
+ RequiredConsecutiveSuccesses : 3 ,
121
121
}
122
122
}
123
123
@@ -141,8 +141,8 @@ func SetupTimeoutConfig(timeoutConfig *TimeoutConfig) {
141
141
if timeoutConfig .GatewayStatusMustHaveListeners == 0 {
142
142
timeoutConfig .GatewayStatusMustHaveListeners = defaultTimeoutConfig .GatewayStatusMustHaveListeners
143
143
}
144
- if timeoutConfig .GatewayListenersMustHaveCondition == 0 {
145
- timeoutConfig .GatewayListenersMustHaveCondition = defaultTimeoutConfig .GatewayListenersMustHaveCondition
144
+ if timeoutConfig .GatewayListenersMustHaveConditions == 0 {
145
+ timeoutConfig .GatewayListenersMustHaveConditions = defaultTimeoutConfig .GatewayListenersMustHaveConditions
146
146
}
147
147
if timeoutConfig .GWCMustBeAccepted == 0 {
148
148
timeoutConfig .GWCMustBeAccepted = defaultTimeoutConfig .GWCMustBeAccepted
0 commit comments