Name | Type | Description | Notes |
---|---|---|---|
Host | Pointer to string | Optional: Host name to connect to, defaults to the pod IP. | [optional] |
Port | string | 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. |
func NewV1TCPSocketAction(port string, ) *V1TCPSocketAction
NewV1TCPSocketAction instantiates a new V1TCPSocketAction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewV1TCPSocketActionWithDefaults() *V1TCPSocketAction
NewV1TCPSocketActionWithDefaults instantiates a new V1TCPSocketAction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *V1TCPSocketAction) GetHost() string
GetHost returns the Host field if non-nil, zero value otherwise.
func (o *V1TCPSocketAction) GetHostOk() (*string, bool)
GetHostOk returns a tuple with the Host field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1TCPSocketAction) SetHost(v string)
SetHost sets Host field to given value.
func (o *V1TCPSocketAction) HasHost() bool
HasHost returns a boolean if a field has been set.
func (o *V1TCPSocketAction) GetPort() string
GetPort returns the Port field if non-nil, zero value otherwise.
func (o *V1TCPSocketAction) GetPortOk() (*string, bool)
GetPortOk returns a tuple with the Port field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1TCPSocketAction) SetPort(v string)
SetPort sets Port field to given value.