Puppet Function: kubeinstall::service_port_protocol
- Defined in:
- functions/service_port_protocol.pp
- Function type:
- Puppet Language
Overview
The IP protocol for this port. Supports “TCP”, “UDP”, and “SCTP”. Default is TCP.
2 3 4 5 6 7 8 9 |
# File 'functions/service_port_protocol.pp', line 2
function kubeinstall::service_port_protocol(Kubeinstall::ServicePort $port) >> Hash {
if $port['protocol'] {
{ 'protocol' => $port['protocol'] }
}
else {
{ 'protocol' => 'TCP' }
}
}
|