make MixedProtocolNotSupported public

Change-Id: Ib9f5ea8e36c831cd0e9649aa998c96f61d56122d
This commit is contained in:
Antonio Ojea 2023-02-28 18:06:30 +00:00
parent 08fbe92fa7
commit 519695c401

View File

@ -6872,6 +6872,14 @@ const (
PortForwardRequestIDHeader = "requestID"
)
// These are the built-in errors for PortStatus.
const (
// MixedProtocolNotSupported error in PortStatus means that the cloud provider
// can't ensure the port on the load balancer because mixed values of protocols
// on the same LoadBalancer type of Service are not supported by the cloud provider.
MixedProtocolNotSupported = "MixedProtocolNotSupported"
)
// PortStatus represents the error condition of a service port
type PortStatus struct {