Files
go/kubernetes/client/v1_handler.go

24 lines
731 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
// 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"`
}