Files
go/kubernetes/client/v1_endpoint_port.go

24 lines
686 B
Go
Raw Normal View History

/*
* Kubernetes
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* API version: v1.10.0
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package client
// EndpointPort is a tuple that describes a single port.
type V1EndpointPort struct {
// The name of this port (corresponds to ServicePort.Name). Must be a DNS_LABEL. Optional only if one port is defined.
Name string `json:"name,omitempty"`
// The port number of the endpoint.
Port int32 `json:"port"`
// The IP protocol for this port. Must be UDP or TCP. Default is TCP.
Protocol string `json:"protocol,omitempty"`
}