Files
sdk/docs/IngressUpstream.md

3.2 KiB

IngressUpstream

Properties

Name Type Description Notes
Backends Pointer to []IngressBackend Backends are the upstream servers to balance across: 1..32 of them. [optional]
Id Pointer to string ID identifies the pool within the org: [A-Za-z0-9-_.], at most 128 chars. A create that omits it gets a generated one. Routes reference it by this id. [optional]
PassHostHeader Pointer to bool PassHostHeader forwards the client's original Host header upstream instead of rewriting it to the backend's. [optional]

Methods

NewIngressUpstream

func NewIngressUpstream() *IngressUpstream

NewIngressUpstream instantiates a new IngressUpstream 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

NewIngressUpstreamWithDefaults

func NewIngressUpstreamWithDefaults() *IngressUpstream

NewIngressUpstreamWithDefaults instantiates a new IngressUpstream 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

GetBackends

func (o *IngressUpstream) GetBackends() []IngressBackend

GetBackends returns the Backends field if non-nil, zero value otherwise.

GetBackendsOk

func (o *IngressUpstream) GetBackendsOk() (*[]IngressBackend, bool)

GetBackendsOk returns a tuple with the Backends field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBackends

func (o *IngressUpstream) SetBackends(v []IngressBackend)

SetBackends sets Backends field to given value.

HasBackends

func (o *IngressUpstream) HasBackends() bool

HasBackends returns a boolean if a field has been set.

GetId

func (o *IngressUpstream) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *IngressUpstream) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetId

func (o *IngressUpstream) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *IngressUpstream) HasId() bool

HasId returns a boolean if a field has been set.

GetPassHostHeader

func (o *IngressUpstream) GetPassHostHeader() bool

GetPassHostHeader returns the PassHostHeader field if non-nil, zero value otherwise.

GetPassHostHeaderOk

func (o *IngressUpstream) GetPassHostHeaderOk() (*bool, bool)

GetPassHostHeaderOk returns a tuple with the PassHostHeader field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPassHostHeader

func (o *IngressUpstream) SetPassHostHeader(v bool)

SetPassHostHeader sets PassHostHeader field to given value.

HasPassHostHeader

func (o *IngressUpstream) HasPassHostHeader() bool

HasPassHostHeader returns a boolean if a field has been set.

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