3.3 KiB
IngressMiddleware
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Config | Pointer to map[string]string | Config is the transform's parameters: redirectScheme takes scheme (default https) and permanent ("true" ⇒ 301, else 302); stripPrefix REQUIRES prefixes (comma-separated, first match wins); addPrefix REQUIRES prefix; headers is a header→value map set on the response. | [optional] |
| Id | Pointer to string | ID identifies the transform 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] |
| Type | Pointer to string | Type is the transform: redirectScheme, stripPrefix, addPrefix or headers. | [optional] |
Methods
NewIngressMiddleware
func NewIngressMiddleware() *IngressMiddleware
NewIngressMiddleware instantiates a new IngressMiddleware 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
NewIngressMiddlewareWithDefaults
func NewIngressMiddlewareWithDefaults() *IngressMiddleware
NewIngressMiddlewareWithDefaults instantiates a new IngressMiddleware 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
GetConfig
func (o *IngressMiddleware) GetConfig() map[string]string
GetConfig returns the Config field if non-nil, zero value otherwise.
GetConfigOk
func (o *IngressMiddleware) GetConfigOk() (*map[string]string, bool)
GetConfigOk returns a tuple with the Config field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetConfig
func (o *IngressMiddleware) SetConfig(v map[string]string)
SetConfig sets Config field to given value.
HasConfig
func (o *IngressMiddleware) HasConfig() bool
HasConfig returns a boolean if a field has been set.
GetId
func (o *IngressMiddleware) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
GetIdOk
func (o *IngressMiddleware) 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 *IngressMiddleware) SetId(v string)
SetId sets Id field to given value.
HasId
func (o *IngressMiddleware) HasId() bool
HasId returns a boolean if a field has been set.
GetType
func (o *IngressMiddleware) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
GetTypeOk
func (o *IngressMiddleware) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetType
func (o *IngressMiddleware) SetType(v string)
SetType sets Type field to given value.
HasType
func (o *IngressMiddleware) HasType() bool
HasType returns a boolean if a field has been set.