Settings:
export KUBERNETES_BRANCH="release-1.10"
export CLIENT_VERSION="0.1.0a1"
export PACKAGE_NAME="client"
24 lines
686 B
Go
24 lines
686 B
Go
/*
|
|
* 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"`
|
|
}
|