...

Package http_route

import "github.com/linkerd/linkerd2-proxy-api/go/http_route"
Overview
Index

Overview ▾

Index ▾

Variables
type HeaderMatch
    func (*HeaderMatch) Descriptor() ([]byte, []int)
    func (x *HeaderMatch) GetExact() []byte
    func (x *HeaderMatch) GetName() string
    func (x *HeaderMatch) GetRegex() string
    func (m *HeaderMatch) GetValue() isHeaderMatch_Value
    func (*HeaderMatch) ProtoMessage()
    func (x *HeaderMatch) ProtoReflect() protoreflect.Message
    func (x *HeaderMatch) Reset()
    func (x *HeaderMatch) String() string
type HeaderMatch_Exact
type HeaderMatch_Regex
type HostMatch
    func (*HostMatch) Descriptor() ([]byte, []int)
    func (x *HostMatch) GetExact() string
    func (m *HostMatch) GetMatch() isHostMatch_Match
    func (x *HostMatch) GetSuffix() *HostMatch_Suffix
    func (*HostMatch) ProtoMessage()
    func (x *HostMatch) ProtoReflect() protoreflect.Message
    func (x *HostMatch) Reset()
    func (x *HostMatch) String() string
type HostMatch_Exact
type HostMatch_Suffix
    func (*HostMatch_Suffix) Descriptor() ([]byte, []int)
    func (x *HostMatch_Suffix) GetReverseLabels() []string
    func (*HostMatch_Suffix) ProtoMessage()
    func (x *HostMatch_Suffix) ProtoReflect() protoreflect.Message
    func (x *HostMatch_Suffix) Reset()
    func (x *HostMatch_Suffix) String() string
type HostMatch_Suffix_
type HttpFailureInjector
    func (*HttpFailureInjector) Descriptor() ([]byte, []int)
    func (x *HttpFailureInjector) GetMessage() string
    func (x *HttpFailureInjector) GetRatio() *Ratio
    func (x *HttpFailureInjector) GetStatus() uint32
    func (*HttpFailureInjector) ProtoMessage()
    func (x *HttpFailureInjector) ProtoReflect() protoreflect.Message
    func (x *HttpFailureInjector) Reset()
    func (x *HttpFailureInjector) String() string
type HttpRouteMatch
    func (*HttpRouteMatch) Descriptor() ([]byte, []int)
    func (x *HttpRouteMatch) GetHeaders() []*HeaderMatch
    func (x *HttpRouteMatch) GetMethod() *http_types.HttpMethod
    func (x *HttpRouteMatch) GetPath() *PathMatch
    func (x *HttpRouteMatch) GetQueryParams() []*QueryParamMatch
    func (*HttpRouteMatch) ProtoMessage()
    func (x *HttpRouteMatch) ProtoReflect() protoreflect.Message
    func (x *HttpRouteMatch) Reset()
    func (x *HttpRouteMatch) String() string
type PathMatch
    func (*PathMatch) Descriptor() ([]byte, []int)
    func (x *PathMatch) GetExact() string
    func (m *PathMatch) GetKind() isPathMatch_Kind
    func (x *PathMatch) GetPrefix() string
    func (x *PathMatch) GetRegex() string
    func (*PathMatch) ProtoMessage()
    func (x *PathMatch) ProtoReflect() protoreflect.Message
    func (x *PathMatch) Reset()
    func (x *PathMatch) String() string
type PathMatch_Exact
type PathMatch_Prefix
type PathMatch_Regex
type PathModifier
    func (*PathModifier) Descriptor() ([]byte, []int)
    func (x *PathModifier) GetFull() string
    func (x *PathModifier) GetPrefix() string
    func (m *PathModifier) GetReplace() isPathModifier_Replace
    func (*PathModifier) ProtoMessage()
    func (x *PathModifier) ProtoReflect() protoreflect.Message
    func (x *PathModifier) Reset()
    func (x *PathModifier) String() string
type PathModifier_Full
type PathModifier_Prefix
type QueryParamMatch
    func (*QueryParamMatch) Descriptor() ([]byte, []int)
    func (x *QueryParamMatch) GetExact() string
    func (x *QueryParamMatch) GetName() string
    func (x *QueryParamMatch) GetRegex() string
    func (m *QueryParamMatch) GetValue() isQueryParamMatch_Value
    func (*QueryParamMatch) ProtoMessage()
    func (x *QueryParamMatch) ProtoReflect() protoreflect.Message
    func (x *QueryParamMatch) Reset()
    func (x *QueryParamMatch) String() string
type QueryParamMatch_Exact
type QueryParamMatch_Regex
type Ratio
    func (*Ratio) Descriptor() ([]byte, []int)
    func (x *Ratio) GetDenominator() uint32
    func (x *Ratio) GetNumerator() uint32
    func (*Ratio) ProtoMessage()
    func (x *Ratio) ProtoReflect() protoreflect.Message
    func (x *Ratio) Reset()
    func (x *Ratio) String() string
type RequestHeaderModifier
    func (*RequestHeaderModifier) Descriptor() ([]byte, []int)
    func (x *RequestHeaderModifier) GetAdd() *http_types.Headers
    func (x *RequestHeaderModifier) GetRemove() []string
    func (x *RequestHeaderModifier) GetSet() *http_types.Headers
    func (*RequestHeaderModifier) ProtoMessage()
    func (x *RequestHeaderModifier) ProtoReflect() protoreflect.Message
    func (x *RequestHeaderModifier) Reset()
    func (x *RequestHeaderModifier) String() string
type RequestRedirect
    func (*RequestRedirect) Descriptor() ([]byte, []int)
    func (x *RequestRedirect) GetHost() string
    func (x *RequestRedirect) GetPath() *PathModifier
    func (x *RequestRedirect) GetPort() uint32
    func (x *RequestRedirect) GetScheme() *http_types.Scheme
    func (x *RequestRedirect) GetStatus() uint32
    func (*RequestRedirect) ProtoMessage()
    func (x *RequestRedirect) ProtoReflect() protoreflect.Message
    func (x *RequestRedirect) Reset()
    func (x *RequestRedirect) String() string
type ResponseHeaderModifier
    func (*ResponseHeaderModifier) Descriptor() ([]byte, []int)
    func (x *ResponseHeaderModifier) GetAdd() *http_types.Headers
    func (x *ResponseHeaderModifier) GetRemove() []string
    func (x *ResponseHeaderModifier) GetSet() *http_types.Headers
    func (*ResponseHeaderModifier) ProtoMessage()
    func (x *ResponseHeaderModifier) ProtoReflect() protoreflect.Message
    func (x *ResponseHeaderModifier) Reset()
    func (x *ResponseHeaderModifier) String() string

Package files

http_route.pb.go

Variables

var File_http_route_proto protoreflect.FileDescriptor

type HeaderMatch

Describes how to match a header by name and value.

type HeaderMatch struct {
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Types that are assignable to Value:
    //
    //	*HeaderMatch_Exact
    //	*HeaderMatch_Regex
    Value isHeaderMatch_Value `protobuf_oneof:"value"`
    // contains filtered or unexported fields
}

func (*HeaderMatch) Descriptor

func (*HeaderMatch) Descriptor() ([]byte, []int)

Deprecated: Use HeaderMatch.ProtoReflect.Descriptor instead.

func (*HeaderMatch) GetExact

func (x *HeaderMatch) GetExact() []byte

func (*HeaderMatch) GetName

func (x *HeaderMatch) GetName() string

func (*HeaderMatch) GetRegex

func (x *HeaderMatch) GetRegex() string

func (*HeaderMatch) GetValue

func (m *HeaderMatch) GetValue() isHeaderMatch_Value

func (*HeaderMatch) ProtoMessage

func (*HeaderMatch) ProtoMessage()

func (*HeaderMatch) ProtoReflect

func (x *HeaderMatch) ProtoReflect() protoreflect.Message

func (*HeaderMatch) Reset

func (x *HeaderMatch) Reset()

func (*HeaderMatch) String

func (x *HeaderMatch) String() string

type HeaderMatch_Exact

type HeaderMatch_Exact struct {
    Exact []byte `protobuf:"bytes,2,opt,name=exact,proto3,oneof"`
}

type HeaderMatch_Regex

type HeaderMatch_Regex struct {
    Regex string `protobuf:"bytes,3,opt,name=regex,proto3,oneof"`
}

type HostMatch

Describes how to match an `:authority` or `host` header.

type HostMatch struct {

    // Types that are assignable to Match:
    //
    //	*HostMatch_Exact
    //	*HostMatch_Suffix_
    Match isHostMatch_Match `protobuf_oneof:"match"`
    // contains filtered or unexported fields
}

func (*HostMatch) Descriptor

func (*HostMatch) Descriptor() ([]byte, []int)

Deprecated: Use HostMatch.ProtoReflect.Descriptor instead.

func (*HostMatch) GetExact

func (x *HostMatch) GetExact() string

func (*HostMatch) GetMatch

func (m *HostMatch) GetMatch() isHostMatch_Match

func (*HostMatch) GetSuffix

func (x *HostMatch) GetSuffix() *HostMatch_Suffix

func (*HostMatch) ProtoMessage

func (*HostMatch) ProtoMessage()

func (*HostMatch) ProtoReflect

func (x *HostMatch) ProtoReflect() protoreflect.Message

func (*HostMatch) Reset

func (x *HostMatch) Reset()

func (*HostMatch) String

func (x *HostMatch) String() string

type HostMatch_Exact

type HostMatch_Exact struct {
    // Match an exact hostname, e.g. www.example.com.
    Exact string `protobuf:"bytes,1,opt,name=exact,proto3,oneof"`
}

type HostMatch_Suffix

A match like `*.example.com` is encoded as [com, example].

type HostMatch_Suffix struct {
    ReverseLabels []string `protobuf:"bytes,1,rep,name=reverse_labels,json=reverseLabels,proto3" json:"reverse_labels,omitempty"`
    // contains filtered or unexported fields
}

func (*HostMatch_Suffix) Descriptor

func (*HostMatch_Suffix) Descriptor() ([]byte, []int)

Deprecated: Use HostMatch_Suffix.ProtoReflect.Descriptor instead.

func (*HostMatch_Suffix) GetReverseLabels

func (x *HostMatch_Suffix) GetReverseLabels() []string

func (*HostMatch_Suffix) ProtoMessage

func (*HostMatch_Suffix) ProtoMessage()

func (*HostMatch_Suffix) ProtoReflect

func (x *HostMatch_Suffix) ProtoReflect() protoreflect.Message

func (*HostMatch_Suffix) Reset

func (x *HostMatch_Suffix) Reset()

func (*HostMatch_Suffix) String

func (x *HostMatch_Suffix) String() string

type HostMatch_Suffix_

type HostMatch_Suffix_ struct {
    // Match a hostname as a wildcard suffix, e.g. *.example.com.
    Suffix *HostMatch_Suffix `protobuf:"bytes,2,opt,name=suffix,proto3,oneof"`
}

type HttpFailureInjector

Configures a route to respond with a fixed response.

type HttpFailureInjector struct {

    // The status code to use in the HTTP response. Must be specified.
    Status uint32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
    // An error message to log and include in the `l5d-proxy-err` header.
    Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
    // If specified, the rate of requests that should be failed. If not specified,
    // ALL requests are failed.
    Ratio *Ratio `protobuf:"bytes,3,opt,name=ratio,proto3" json:"ratio,omitempty"`
    // contains filtered or unexported fields
}

func (*HttpFailureInjector) Descriptor

func (*HttpFailureInjector) Descriptor() ([]byte, []int)

Deprecated: Use HttpFailureInjector.ProtoReflect.Descriptor instead.

func (*HttpFailureInjector) GetMessage

func (x *HttpFailureInjector) GetMessage() string

func (*HttpFailureInjector) GetRatio

func (x *HttpFailureInjector) GetRatio() *Ratio

func (*HttpFailureInjector) GetStatus

func (x *HttpFailureInjector) GetStatus() uint32

func (*HttpFailureInjector) ProtoMessage

func (*HttpFailureInjector) ProtoMessage()

func (*HttpFailureInjector) ProtoReflect

func (x *HttpFailureInjector) ProtoReflect() protoreflect.Message

func (*HttpFailureInjector) Reset

func (x *HttpFailureInjector) Reset()

func (*HttpFailureInjector) String

func (x *HttpFailureInjector) String() string

type HttpRouteMatch

Describes a set of matches, ALL of which must apply.

type HttpRouteMatch struct {

    // Matches requests by path.
    Path *PathMatch `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
    // A set of header value matches that must be satisified. This match is not
    // comprehensive, so requests may include headers that are not covered by this
    // match.
    Headers []*HeaderMatch `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers,omitempty"`
    // A set of query parmaeter value matches that must be satisified. This match
    // is not comprehensive, so requests may include query parameters that are not
    // covered by this match.
    QueryParams []*QueryParamMatch `protobuf:"bytes,3,rep,name=query_params,json=queryParams,proto3" json:"query_params,omitempty"`
    // If specified, restricts the match to a single HTTP method.
    Method *http_types.HttpMethod `protobuf:"bytes,4,opt,name=method,proto3" json:"method,omitempty"`
    // contains filtered or unexported fields
}

func (*HttpRouteMatch) Descriptor

func (*HttpRouteMatch) Descriptor() ([]byte, []int)

Deprecated: Use HttpRouteMatch.ProtoReflect.Descriptor instead.

func (*HttpRouteMatch) GetHeaders

func (x *HttpRouteMatch) GetHeaders() []*HeaderMatch

func (*HttpRouteMatch) GetMethod

func (x *HttpRouteMatch) GetMethod() *http_types.HttpMethod

func (*HttpRouteMatch) GetPath

func (x *HttpRouteMatch) GetPath() *PathMatch

func (*HttpRouteMatch) GetQueryParams

func (x *HttpRouteMatch) GetQueryParams() []*QueryParamMatch

func (*HttpRouteMatch) ProtoMessage

func (*HttpRouteMatch) ProtoMessage()

func (*HttpRouteMatch) ProtoReflect

func (x *HttpRouteMatch) ProtoReflect() protoreflect.Message

func (*HttpRouteMatch) Reset

func (x *HttpRouteMatch) Reset()

func (*HttpRouteMatch) String

func (x *HttpRouteMatch) String() string

type PathMatch

Describes how to match a path.

type PathMatch struct {

    // Types that are assignable to Kind:
    //
    //	*PathMatch_Exact
    //	*PathMatch_Prefix
    //	*PathMatch_Regex
    Kind isPathMatch_Kind `protobuf_oneof:"kind"`
    // contains filtered or unexported fields
}

func (*PathMatch) Descriptor

func (*PathMatch) Descriptor() ([]byte, []int)

Deprecated: Use PathMatch.ProtoReflect.Descriptor instead.

func (*PathMatch) GetExact

func (x *PathMatch) GetExact() string

func (*PathMatch) GetKind

func (m *PathMatch) GetKind() isPathMatch_Kind

func (*PathMatch) GetPrefix

func (x *PathMatch) GetPrefix() string

func (*PathMatch) GetRegex

func (x *PathMatch) GetRegex() string

func (*PathMatch) ProtoMessage

func (*PathMatch) ProtoMessage()

func (*PathMatch) ProtoReflect

func (x *PathMatch) ProtoReflect() protoreflect.Message

func (*PathMatch) Reset

func (x *PathMatch) Reset()

func (*PathMatch) String

func (x *PathMatch) String() string

type PathMatch_Exact

type PathMatch_Exact struct {
    Exact string `protobuf:"bytes,1,opt,name=exact,proto3,oneof"`
}

type PathMatch_Prefix

type PathMatch_Prefix struct {
    Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3,oneof"`
}

type PathMatch_Regex

type PathMatch_Regex struct {
    Regex string `protobuf:"bytes,3,opt,name=regex,proto3,oneof"`
}

type PathModifier

Describes how a path value may be rewritten in a route.

type PathModifier struct {

    // Types that are assignable to Replace:
    //
    //	*PathModifier_Full
    //	*PathModifier_Prefix
    Replace isPathModifier_Replace `protobuf_oneof:"replace"`
    // contains filtered or unexported fields
}

func (*PathModifier) Descriptor

func (*PathModifier) Descriptor() ([]byte, []int)

Deprecated: Use PathModifier.ProtoReflect.Descriptor instead.

func (*PathModifier) GetFull

func (x *PathModifier) GetFull() string

func (*PathModifier) GetPrefix

func (x *PathModifier) GetPrefix() string

func (*PathModifier) GetReplace

func (m *PathModifier) GetReplace() isPathModifier_Replace

func (*PathModifier) ProtoMessage

func (*PathModifier) ProtoMessage()

func (*PathModifier) ProtoReflect

func (x *PathModifier) ProtoReflect() protoreflect.Message

func (*PathModifier) Reset

func (x *PathModifier) Reset()

func (*PathModifier) String

func (x *PathModifier) String() string

type PathModifier_Full

type PathModifier_Full struct {
    // Indicates that the path should be replaced with the given value.
    Full string `protobuf:"bytes,1,opt,name=full,proto3,oneof"`
}

type PathModifier_Prefix

type PathModifier_Prefix struct {
    // Indicates that the path prefix should be replaced with the given
    // value. When used, the route MUST match the request with PathMatch
    // prefix match. Server implementations SHOULD prevent the useof prefix
    // modifiers on routes that do use a PathMatch prefix match. Proxyies
    // MUST not process requests for routes where this condition is not
    // satisfied.
    Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3,oneof"`
}

type QueryParamMatch

Describes how to match a query parameter by name and value.

type QueryParamMatch struct {
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Types that are assignable to Value:
    //
    //	*QueryParamMatch_Exact
    //	*QueryParamMatch_Regex
    Value isQueryParamMatch_Value `protobuf_oneof:"value"`
    // contains filtered or unexported fields
}

func (*QueryParamMatch) Descriptor

func (*QueryParamMatch) Descriptor() ([]byte, []int)

Deprecated: Use QueryParamMatch.ProtoReflect.Descriptor instead.

func (*QueryParamMatch) GetExact

func (x *QueryParamMatch) GetExact() string

func (*QueryParamMatch) GetName

func (x *QueryParamMatch) GetName() string

func (*QueryParamMatch) GetRegex

func (x *QueryParamMatch) GetRegex() string

func (*QueryParamMatch) GetValue

func (m *QueryParamMatch) GetValue() isQueryParamMatch_Value

func (*QueryParamMatch) ProtoMessage

func (*QueryParamMatch) ProtoMessage()

func (*QueryParamMatch) ProtoReflect

func (x *QueryParamMatch) ProtoReflect() protoreflect.Message

func (*QueryParamMatch) Reset

func (x *QueryParamMatch) Reset()

func (*QueryParamMatch) String

func (x *QueryParamMatch) String() string

type QueryParamMatch_Exact

type QueryParamMatch_Exact struct {
    Exact string `protobuf:"bytes,2,opt,name=exact,proto3,oneof"`
}

type QueryParamMatch_Regex

type QueryParamMatch_Regex struct {
    Regex string `protobuf:"bytes,3,opt,name=regex,proto3,oneof"`
}

type Ratio

A ratio (i.e., of requests) to which an filter should be applied.

Represents fractional values on [0, 1].

type Ratio struct {
    Numerator uint32 `protobuf:"varint,1,opt,name=numerator,proto3" json:"numerator,omitempty"`
    // MUST not be zero.
    Denominator uint32 `protobuf:"varint,2,opt,name=denominator,proto3" json:"denominator,omitempty"`
    // contains filtered or unexported fields
}

func (*Ratio) Descriptor

func (*Ratio) Descriptor() ([]byte, []int)

Deprecated: Use Ratio.ProtoReflect.Descriptor instead.

func (*Ratio) GetDenominator

func (x *Ratio) GetDenominator() uint32

func (*Ratio) GetNumerator

func (x *Ratio) GetNumerator() uint32

func (*Ratio) ProtoMessage

func (*Ratio) ProtoMessage()

func (*Ratio) ProtoReflect

func (x *Ratio) ProtoReflect() protoreflect.Message

func (*Ratio) Reset

func (x *Ratio) Reset()

func (*Ratio) String

func (x *Ratio) String() string

type RequestHeaderModifier

Configures a route to modify a request's headers.

Modifications are to be applied in the order they are described here: additions apply first, then sets, and then removals.

type RequestHeaderModifier struct {

    // A list of headers name-value pairs to set on requests, augmenting any
    // existing values for the header.
    Add *http_types.Headers `protobuf:"bytes,1,opt,name=add,proto3" json:"add,omitempty"`
    // A list of headers name-value pairs to set on requests, replacing any
    // existing values for the header.
    Set *http_types.Headers `protobuf:"bytes,2,opt,name=set,proto3" json:"set,omitempty"`
    // A list of headers names to be removed from requests.
    Remove []string `protobuf:"bytes,3,rep,name=remove,proto3" json:"remove,omitempty"`
    // contains filtered or unexported fields
}

func (*RequestHeaderModifier) Descriptor

func (*RequestHeaderModifier) Descriptor() ([]byte, []int)

Deprecated: Use RequestHeaderModifier.ProtoReflect.Descriptor instead.

func (*RequestHeaderModifier) GetAdd

func (x *RequestHeaderModifier) GetAdd() *http_types.Headers

func (*RequestHeaderModifier) GetRemove

func (x *RequestHeaderModifier) GetRemove() []string

func (*RequestHeaderModifier) GetSet

func (x *RequestHeaderModifier) GetSet() *http_types.Headers

func (*RequestHeaderModifier) ProtoMessage

func (*RequestHeaderModifier) ProtoMessage()

func (*RequestHeaderModifier) ProtoReflect

func (x *RequestHeaderModifier) ProtoReflect() protoreflect.Message

func (*RequestHeaderModifier) Reset

func (x *RequestHeaderModifier) Reset()

func (*RequestHeaderModifier) String

func (x *RequestHeaderModifier) String() string

type RequestRedirect

Configures a route to respond with a redirect response. The `location` header is set with the given URL parameters.

type RequestRedirect struct {

    // The scheme value to be used in the `location` header. If not specified,
    // the original request's scheme is used.
    Scheme *http_types.Scheme `protobuf:"bytes,1,opt,name=scheme,proto3" json:"scheme,omitempty"`
    // The host value to be used in the `location` header. If not specified, the
    // original request's host is used.
    Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
    // If set, configures how the request's path should be modified for use in
    // the `location` header. If not specified, the original request's path is
    // used.
    Path *PathModifier `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
    // If set, specifies the port to use in the `location` header.
    Port uint32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`
    // The status code to use in the HTTP response. If not specified, 301 is
    // used.
    Status uint32 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"`
    // contains filtered or unexported fields
}

func (*RequestRedirect) Descriptor

func (*RequestRedirect) Descriptor() ([]byte, []int)

Deprecated: Use RequestRedirect.ProtoReflect.Descriptor instead.

func (*RequestRedirect) GetHost

func (x *RequestRedirect) GetHost() string

func (*RequestRedirect) GetPath

func (x *RequestRedirect) GetPath() *PathModifier

func (*RequestRedirect) GetPort

func (x *RequestRedirect) GetPort() uint32

func (*RequestRedirect) GetScheme

func (x *RequestRedirect) GetScheme() *http_types.Scheme

func (*RequestRedirect) GetStatus

func (x *RequestRedirect) GetStatus() uint32

func (*RequestRedirect) ProtoMessage

func (*RequestRedirect) ProtoMessage()

func (*RequestRedirect) ProtoReflect

func (x *RequestRedirect) ProtoReflect() protoreflect.Message

func (*RequestRedirect) Reset

func (x *RequestRedirect) Reset()

func (*RequestRedirect) String

func (x *RequestRedirect) String() string

type ResponseHeaderModifier

Configures a route to modify a response's headers.

Modifications are to be applied in the order they are described here: additions apply first, then sets, and then removals.

type ResponseHeaderModifier struct {

    // A list of headers name-value pairs to set on responses, augmenting any
    // existing values for the header.
    Add *http_types.Headers `protobuf:"bytes,1,opt,name=add,proto3" json:"add,omitempty"`
    // A list of headers name-value pairs to set on responses, replacing any
    // existing values for the header.
    Set *http_types.Headers `protobuf:"bytes,2,opt,name=set,proto3" json:"set,omitempty"`
    // A list of headers names to be removed from responses.
    Remove []string `protobuf:"bytes,3,rep,name=remove,proto3" json:"remove,omitempty"`
    // contains filtered or unexported fields
}

func (*ResponseHeaderModifier) Descriptor

func (*ResponseHeaderModifier) Descriptor() ([]byte, []int)

Deprecated: Use ResponseHeaderModifier.ProtoReflect.Descriptor instead.

func (*ResponseHeaderModifier) GetAdd

func (x *ResponseHeaderModifier) GetAdd() *http_types.Headers

func (*ResponseHeaderModifier) GetRemove

func (x *ResponseHeaderModifier) GetRemove() []string

func (*ResponseHeaderModifier) GetSet

func (x *ResponseHeaderModifier) GetSet() *http_types.Headers

func (*ResponseHeaderModifier) ProtoMessage

func (*ResponseHeaderModifier) ProtoMessage()

func (*ResponseHeaderModifier) ProtoReflect

func (x *ResponseHeaderModifier) ProtoReflect() protoreflect.Message

func (*ResponseHeaderModifier) Reset

func (x *ResponseHeaderModifier) Reset()

func (*ResponseHeaderModifier) String

func (x *ResponseHeaderModifier) String() string