func ServicePort(protocol v1alpha1.RevisionProtocolType) int32 {
	if protocol == v1alpha1.RevisionProtocolH2C {
		return ServicePortH2C
	}

	return ServicePortHTTP1
}
// ServicePort returns the activator service port for the given Revision protocol.
// Default is `ServicePortHTTP1`.
ServicePort returns the activator service port for the given Revision protocol.
Default is `ServicePortHTTP1`.
// ServicePort returns the activator service port for the given Revision protocol . // Default is ` ServicePortHTTP1 ` .
func ServicePort(protocol v1alpha1.RevisionProtocolType) int32 {
	if protocol == v1alpha1.RevisionProtocolH2C {
		return ServicePortH2C
	}
	return ServicePortHTTP1
}
func ServicePort ( protocol v1alpha1 . RevisionProtocolType ) int32 { if protocol == v1alpha1 . RevisionProtocolH2C { return ServicePortH2C } return ServicePortHTTP1 }
ServicePort returns the activator service port for the given Revision protocol.
ServicePort returns the activator service port for the given Revision protocol .