Skip to content

Latest commit

 

History

History
155 lines (84 loc) · 4.31 KB

V1HTTPGetAction.md

File metadata and controls

155 lines (84 loc) · 4.31 KB

V1HTTPGetAction

Properties

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]

Methods

NewV1HTTPGetAction

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

NewV1HTTPGetActionWithDefaults

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

GetHost

func (o *V1HTTPGetAction) GetHost() string

GetHost returns the Host field if non-nil, zero value otherwise.

GetHostOk

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.

SetHost

func (o *V1HTTPGetAction) SetHost(v string)

SetHost sets Host field to given value.

HasHost

func (o *V1HTTPGetAction) HasHost() bool

HasHost returns a boolean if a field has been set.

GetHttpHeaders

func (o *V1HTTPGetAction) GetHttpHeaders() []V1HTTPHeader

GetHttpHeaders returns the HttpHeaders field if non-nil, zero value otherwise.

GetHttpHeadersOk

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.

SetHttpHeaders

func (o *V1HTTPGetAction) SetHttpHeaders(v []V1HTTPHeader)

SetHttpHeaders sets HttpHeaders field to given value.

HasHttpHeaders

func (o *V1HTTPGetAction) HasHttpHeaders() bool

HasHttpHeaders returns a boolean if a field has been set.

GetPath

func (o *V1HTTPGetAction) GetPath() string

GetPath returns the Path field if non-nil, zero value otherwise.

GetPathOk

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.

SetPath

func (o *V1HTTPGetAction) SetPath(v string)

SetPath sets Path field to given value.

HasPath

func (o *V1HTTPGetAction) HasPath() bool

HasPath returns a boolean if a field has been set.

GetPort

func (o *V1HTTPGetAction) GetPort() string

GetPort returns the Port field if non-nil, zero value otherwise.

GetPortOk

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.

SetPort

func (o *V1HTTPGetAction) SetPort(v string)

SetPort sets Port field to given value.

GetScheme

func (o *V1HTTPGetAction) GetScheme() string

GetScheme returns the Scheme field if non-nil, zero value otherwise.

GetSchemeOk

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.

SetScheme

func (o *V1HTTPGetAction) SetScheme(v string)

SetScheme sets Scheme field to given value.

HasScheme

func (o *V1HTTPGetAction) HasScheme() bool

HasScheme returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]