Files
go/kubernetes/client/v1_tcp_socket_action.go
Haowei Cai 6181687d2e Generated API change for kubernetes 1.10
Settings:
    export KUBERNETES_BRANCH="release-1.10"
    export CLIENT_VERSION="0.1.0a1"
    export PACKAGE_NAME="client"
2018-03-21 14:15:19 -07:00

21 lines
623 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
// TCPSocketAction describes an action based on opening a socket
type V1TcpSocketAction struct {
// Optional: Host name to connect to, defaults to the pod IP.
Host string `json:"host,omitempty"`
// Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
Port *interface{} `json:"port"`
}