Name | Type | Description | Notes |
---|---|---|---|
Host | Pointer to string | Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead. | [optional] |
HttpHeaders | Pointer to []V1HTTPHeader | Custom headers to set in the request. HTTP allows repeated headers. | [optional] |
Path | Pointer to string | Path to access on the HTTP server. | [optional] |
Port | string | Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. | |
Scheme | Pointer to string | Scheme to use for connecting to the host. Defaults to HTTP. | [optional] |
func NewV1HTTPGetAction(port string, ) *V1HTTPGetAction
NewV1HTTPGetAction instantiates a new V1HTTPGetAction 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 NewV1HTTPGetActionWithDefaults() *V1HTTPGetAction
NewV1HTTPGetActionWithDefaults instantiates a new V1HTTPGetAction 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 *V1HTTPGetAction) GetHost() string
GetHost returns the Host field if non-nil, zero value otherwise.
func (o *V1HTTPGetAction) 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 *V1HTTPGetAction) SetHost(v string)
SetHost sets Host field to given value.
func (o *V1HTTPGetAction) HasHost() bool
HasHost returns a boolean if a field has been set.
func (o *V1HTTPGetAction) GetHttpHeaders() []V1HTTPHeader
GetHttpHeaders returns the HttpHeaders field if non-nil, zero value otherwise.
func (o *V1HTTPGetAction) GetHttpHeadersOk() (*[]V1HTTPHeader, bool)
GetHttpHeadersOk returns a tuple with the HttpHeaders field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1HTTPGetAction) SetHttpHeaders(v []V1HTTPHeader)
SetHttpHeaders sets HttpHeaders field to given value.
func (o *V1HTTPGetAction) HasHttpHeaders() bool
HasHttpHeaders returns a boolean if a field has been set.
func (o *V1HTTPGetAction) GetPath() string
GetPath returns the Path field if non-nil, zero value otherwise.
func (o *V1HTTPGetAction) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1HTTPGetAction) SetPath(v string)
SetPath sets Path field to given value.
func (o *V1HTTPGetAction) HasPath() bool
HasPath returns a boolean if a field has been set.
func (o *V1HTTPGetAction) GetPort() string
GetPort returns the Port field if non-nil, zero value otherwise.
func (o *V1HTTPGetAction) 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 *V1HTTPGetAction) SetPort(v string)
SetPort sets Port field to given value.
func (o *V1HTTPGetAction) GetScheme() string
GetScheme returns the Scheme field if non-nil, zero value otherwise.
func (o *V1HTTPGetAction) GetSchemeOk() (*string, bool)
GetSchemeOk returns a tuple with the Scheme field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1HTTPGetAction) SetScheme(v string)
SetScheme sets Scheme field to given value.
func (o *V1HTTPGetAction) HasScheme() bool
HasScheme returns a boolean if a field has been set.