Settings:
export KUBERNETES_BRANCH="release-1.10"
export CLIENT_VERSION="0.1.0a1"
export PACKAGE_NAME="client"
24 lines
731 B
Go
24 lines
731 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
|
|
|
|
// Handler defines a specific action that should be taken
|
|
type V1Handler struct {
|
|
|
|
// One and only one of the following should be specified. Exec specifies the action to take.
|
|
Exec *V1ExecAction `json:"exec,omitempty"`
|
|
|
|
// HTTPGet specifies the http request to perform.
|
|
HttpGet *V1HttpGetAction `json:"httpGet,omitempty"`
|
|
|
|
// TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported
|
|
TcpSocket *V1TcpSocketAction `json:"tcpSocket,omitempty"`
|
|
}
|