Use gwapiv1.Duration instead of metav1.Duration in the API #16424
Annotations
10 errors
Run make -k lint:
internal/infrastructure/common/proxy_args.go#L73
shutdownConfig.DrainTimeout.Seconds undefined (type *"sigs.k8s.io/gateway-api/apis/v1".Duration has no field or method Seconds) (typecheck)
|
Run make -k lint:
test/e2e/tests/authorization_client_ip.go#L20
could not import github.com/envoyproxy/gateway/internal/gatewayapi (-: # github.com/envoyproxy/gateway/internal/gatewayapi
|
Run make -k lint:
internal/gatewayapi/backendtrafficpolicy.go#L806
cannot use policy.Spec.FaultInjection.Delay.FixedDelay (variable of type *"sigs.k8s.io/gateway-api/apis/v1".Duration) as *"k8s.io/apimachinery/pkg/apis/meta/v1".Duration value in struct literal
|
Run make -k lint:
internal/gatewayapi/clustersettings.go#L284
cannot use policy.LoadBalancer.SlowStart.Window (variable of type *"sigs.k8s.io/gateway-api/apis/v1".Duration) as *"k8s.io/apimachinery/pkg/apis/meta/v1".Duration value in struct literal
|
Run make -k lint:
internal/gatewayapi/clustersettings.go#L297
cannot use policy.LoadBalancer.SlowStart.Window (variable of type *"sigs.k8s.io/gateway-api/apis/v1".Duration) as *"k8s.io/apimachinery/pkg/apis/meta/v1".Duration value in struct literal
|
Run make -k lint:
internal/gatewayapi/clustersettings.go#L370
cannot use hc.Interval (variable of type *"sigs.k8s.io/gateway-api/apis/v1".Duration) as *"k8s.io/apimachinery/pkg/apis/meta/v1".Duration value in struct literal
|
Run make -k lint:
internal/gatewayapi/clustersettings.go#L375
cannot use hc.BaseEjectionTime (variable of type *"sigs.k8s.io/gateway-api/apis/v1".Duration) as *"k8s.io/apimachinery/pkg/apis/meta/v1".Duration value in struct literal
|
Run make -k lint:
internal/gatewayapi/clustersettings.go#L388
cannot use hc.Timeout (variable of type *"sigs.k8s.io/gateway-api/apis/v1".Duration) as *"k8s.io/apimachinery/pkg/apis/meta/v1".Duration value in struct literal
|
Run make -k lint:
internal/gatewayapi/clustersettings.go#L389
cannot use hc.Interval (variable of type *"sigs.k8s.io/gateway-api/apis/v1".Duration) as *"k8s.io/apimachinery/pkg/apis/meta/v1".Duration value in struct literal
|
Run make -k lint:
internal/gatewayapi/clustersettings.go#L475
cannot use policy.DNS.DNSRefreshRate (variable of type *"sigs.k8s.io/gateway-api/apis/v1".Duration) as *"k8s.io/apimachinery/pkg/apis/meta/v1".Duration value in struct literal
|
Loading