Documentation ¶
Index ¶
- Variables
- type AsyncDataSource
- func (*AsyncDataSource) Descriptor() ([]byte, []int)
- func (this *AsyncDataSource) Equal(that interface{}) bool
- func (m *AsyncDataSource) GetLocal() *DataSource
- func (m *AsyncDataSource) GetRemote() *RemoteDataSource
- func (m *AsyncDataSource) GetSpecifier() isAsyncDataSource_Specifier
- func (m *AsyncDataSource) Hash(hasher hash.Hash64) (uint64, error)
- func (*AsyncDataSource) ProtoMessage()
- func (m *AsyncDataSource) Reset()
- func (m *AsyncDataSource) String() string
- func (m *AsyncDataSource) XXX_DiscardUnknown()
- func (m *AsyncDataSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AsyncDataSource) XXX_Merge(src proto.Message)
- func (*AsyncDataSource) XXX_OneofWrappers() []interface{}
- func (m *AsyncDataSource) XXX_Size() int
- func (m *AsyncDataSource) XXX_Unmarshal(b []byte) error
- type AsyncDataSource_Local
- type AsyncDataSource_Remote
- type ControlPlane
- func (*ControlPlane) Descriptor() ([]byte, []int)
- func (this *ControlPlane) Equal(that interface{}) bool
- func (m *ControlPlane) GetIdentifier() string
- func (m *ControlPlane) Hash(hasher hash.Hash64) (uint64, error)
- func (*ControlPlane) ProtoMessage()
- func (m *ControlPlane) Reset()
- func (m *ControlPlane) String() string
- func (m *ControlPlane) XXX_DiscardUnknown()
- func (m *ControlPlane) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ControlPlane) XXX_Merge(src proto.Message)
- func (m *ControlPlane) XXX_Size() int
- func (m *ControlPlane) XXX_Unmarshal(b []byte) error
- type DataSource
- func (*DataSource) Descriptor() ([]byte, []int)
- func (this *DataSource) Equal(that interface{}) bool
- func (m *DataSource) GetFilename() string
- func (m *DataSource) GetInlineBytes() []byte
- func (m *DataSource) GetInlineString() string
- func (m *DataSource) GetSpecifier() isDataSource_Specifier
- func (m *DataSource) Hash(hasher hash.Hash64) (uint64, error)
- func (*DataSource) ProtoMessage()
- func (m *DataSource) Reset()
- func (m *DataSource) String() string
- func (m *DataSource) XXX_DiscardUnknown()
- func (m *DataSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DataSource) XXX_Merge(src proto.Message)
- func (*DataSource) XXX_OneofWrappers() []interface{}
- func (m *DataSource) XXX_Size() int
- func (m *DataSource) XXX_Unmarshal(b []byte) error
- type DataSource_Filename
- type DataSource_InlineBytes
- type DataSource_InlineString
- type HeaderMap
- func (*HeaderMap) Descriptor() ([]byte, []int)
- func (this *HeaderMap) Equal(that interface{}) bool
- func (m *HeaderMap) GetHeaders() []*HeaderValue
- func (m *HeaderMap) Hash(hasher hash.Hash64) (uint64, error)
- func (*HeaderMap) ProtoMessage()
- func (m *HeaderMap) Reset()
- func (m *HeaderMap) String() string
- func (m *HeaderMap) XXX_DiscardUnknown()
- func (m *HeaderMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HeaderMap) XXX_Merge(src proto.Message)
- func (m *HeaderMap) XXX_Size() int
- func (m *HeaderMap) XXX_Unmarshal(b []byte) error
- type HeaderValue
- func (*HeaderValue) Descriptor() ([]byte, []int)
- func (this *HeaderValue) Equal(that interface{}) bool
- func (m *HeaderValue) GetKey() string
- func (m *HeaderValue) GetValue() string
- func (m *HeaderValue) Hash(hasher hash.Hash64) (uint64, error)
- func (*HeaderValue) ProtoMessage()
- func (m *HeaderValue) Reset()
- func (m *HeaderValue) String() string
- func (m *HeaderValue) XXX_DiscardUnknown()
- func (m *HeaderValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HeaderValue) XXX_Merge(src proto.Message)
- func (m *HeaderValue) XXX_Size() int
- func (m *HeaderValue) XXX_Unmarshal(b []byte) error
- type HeaderValueOption
- func (*HeaderValueOption) Descriptor() ([]byte, []int)
- func (this *HeaderValueOption) Equal(that interface{}) bool
- func (m *HeaderValueOption) GetAppend() *types.BoolValue
- func (m *HeaderValueOption) GetHeader() *HeaderValue
- func (m *HeaderValueOption) Hash(hasher hash.Hash64) (uint64, error)
- func (*HeaderValueOption) ProtoMessage()
- func (m *HeaderValueOption) Reset()
- func (m *HeaderValueOption) String() string
- func (m *HeaderValueOption) XXX_DiscardUnknown()
- func (m *HeaderValueOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HeaderValueOption) XXX_Merge(src proto.Message)
- func (m *HeaderValueOption) XXX_Size() int
- func (m *HeaderValueOption) XXX_Unmarshal(b []byte) error
- type HttpUri
- func (*HttpUri) Descriptor() ([]byte, []int)
- func (this *HttpUri) Equal(that interface{}) bool
- func (m *HttpUri) GetCluster() string
- func (m *HttpUri) GetHttpUpstreamType() isHttpUri_HttpUpstreamType
- func (m *HttpUri) GetTimeout() *types.Duration
- func (m *HttpUri) GetUri() string
- func (m *HttpUri) Hash(hasher hash.Hash64) (uint64, error)
- func (*HttpUri) ProtoMessage()
- func (m *HttpUri) Reset()
- func (m *HttpUri) String() string
- func (m *HttpUri) XXX_DiscardUnknown()
- func (m *HttpUri) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HttpUri) XXX_Merge(src proto.Message)
- func (*HttpUri) XXX_OneofWrappers() []interface{}
- func (m *HttpUri) XXX_Size() int
- func (m *HttpUri) XXX_Unmarshal(b []byte) error
- type HttpUri_Cluster
- type Locality
- func (*Locality) Descriptor() ([]byte, []int)
- func (this *Locality) Equal(that interface{}) bool
- func (m *Locality) GetRegion() string
- func (m *Locality) GetSubZone() string
- func (m *Locality) GetZone() string
- func (m *Locality) Hash(hasher hash.Hash64) (uint64, error)
- func (*Locality) ProtoMessage()
- func (m *Locality) Reset()
- func (m *Locality) String() string
- func (m *Locality) XXX_DiscardUnknown()
- func (m *Locality) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Locality) XXX_Merge(src proto.Message)
- func (m *Locality) XXX_Size() int
- func (m *Locality) XXX_Unmarshal(b []byte) error
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)
- func (this *Metadata) Equal(that interface{}) bool
- func (m *Metadata) GetFilterMetadata() map[string]*types.Struct
- func (m *Metadata) Hash(hasher hash.Hash64) (uint64, error)
- func (*Metadata) ProtoMessage()
- func (m *Metadata) Reset()
- func (m *Metadata) String() string
- func (m *Metadata) XXX_DiscardUnknown()
- func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Metadata) XXX_Merge(src proto.Message)
- func (m *Metadata) XXX_Size() int
- func (m *Metadata) XXX_Unmarshal(b []byte) error
- type Node
- func (*Node) Descriptor() ([]byte, []int)
- func (this *Node) Equal(that interface{}) bool
- func (m *Node) GetBuildVersion() string
- func (m *Node) GetCluster() string
- func (m *Node) GetId() string
- func (m *Node) GetLocality() *Locality
- func (m *Node) GetMetadata() *types.Struct
- func (m *Node) Hash(hasher hash.Hash64) (uint64, error)
- func (*Node) ProtoMessage()
- func (m *Node) Reset()
- func (m *Node) String() string
- func (m *Node) XXX_DiscardUnknown()
- func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Node) XXX_Merge(src proto.Message)
- func (m *Node) XXX_Size() int
- func (m *Node) XXX_Unmarshal(b []byte) error
- type RemoteDataSource
- func (*RemoteDataSource) Descriptor() ([]byte, []int)
- func (this *RemoteDataSource) Equal(that interface{}) bool
- func (m *RemoteDataSource) GetHttpUri() *HttpUri
- func (m *RemoteDataSource) GetSha256() string
- func (m *RemoteDataSource) Hash(hasher hash.Hash64) (uint64, error)
- func (*RemoteDataSource) ProtoMessage()
- func (m *RemoteDataSource) Reset()
- func (m *RemoteDataSource) String() string
- func (m *RemoteDataSource) XXX_DiscardUnknown()
- func (m *RemoteDataSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoteDataSource) XXX_Merge(src proto.Message)
- func (m *RemoteDataSource) XXX_Size() int
- func (m *RemoteDataSource) XXX_Unmarshal(b []byte) error
- type RequestMethod
- type RoutingPriority
- type RuntimeFeatureFlag
- func (*RuntimeFeatureFlag) Descriptor() ([]byte, []int)
- func (this *RuntimeFeatureFlag) Equal(that interface{}) bool
- func (m *RuntimeFeatureFlag) GetDefaultValue() *types.BoolValue
- func (m *RuntimeFeatureFlag) GetRuntimeKey() string
- func (m *RuntimeFeatureFlag) Hash(hasher hash.Hash64) (uint64, error)
- func (*RuntimeFeatureFlag) ProtoMessage()
- func (m *RuntimeFeatureFlag) Reset()
- func (m *RuntimeFeatureFlag) String() string
- func (m *RuntimeFeatureFlag) XXX_DiscardUnknown()
- func (m *RuntimeFeatureFlag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RuntimeFeatureFlag) XXX_Merge(src proto.Message)
- func (m *RuntimeFeatureFlag) XXX_Size() int
- func (m *RuntimeFeatureFlag) XXX_Unmarshal(b []byte) error
- type RuntimeFractionalPercent
- func (*RuntimeFractionalPercent) Descriptor() ([]byte, []int)
- func (this *RuntimeFractionalPercent) Equal(that interface{}) bool
- func (m *RuntimeFractionalPercent) GetDefaultValue() *_type.FractionalPercent
- func (m *RuntimeFractionalPercent) GetRuntimeKey() string
- func (m *RuntimeFractionalPercent) Hash(hasher hash.Hash64) (uint64, error)
- func (*RuntimeFractionalPercent) ProtoMessage()
- func (m *RuntimeFractionalPercent) Reset()
- func (m *RuntimeFractionalPercent) String() string
- func (m *RuntimeFractionalPercent) XXX_DiscardUnknown()
- func (m *RuntimeFractionalPercent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RuntimeFractionalPercent) XXX_Merge(src proto.Message)
- func (m *RuntimeFractionalPercent) XXX_Size() int
- func (m *RuntimeFractionalPercent) XXX_Unmarshal(b []byte) error
- type RuntimeUInt32
- func (*RuntimeUInt32) Descriptor() ([]byte, []int)
- func (this *RuntimeUInt32) Equal(that interface{}) bool
- func (m *RuntimeUInt32) GetDefaultValue() uint32
- func (m *RuntimeUInt32) GetRuntimeKey() string
- func (m *RuntimeUInt32) Hash(hasher hash.Hash64) (uint64, error)
- func (*RuntimeUInt32) ProtoMessage()
- func (m *RuntimeUInt32) Reset()
- func (m *RuntimeUInt32) String() string
- func (m *RuntimeUInt32) XXX_DiscardUnknown()
- func (m *RuntimeUInt32) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RuntimeUInt32) XXX_Merge(src proto.Message)
- func (m *RuntimeUInt32) XXX_Size() int
- func (m *RuntimeUInt32) XXX_Unmarshal(b []byte) error
- type SocketOption
- func (*SocketOption) Descriptor() ([]byte, []int)
- func (this *SocketOption) Equal(that interface{}) bool
- func (m *SocketOption) GetBufValue() []byte
- func (m *SocketOption) GetDescription() string
- func (m *SocketOption) GetIntValue() int64
- func (m *SocketOption) GetLevel() int64
- func (m *SocketOption) GetName() int64
- func (m *SocketOption) GetState() SocketOption_SocketState
- func (m *SocketOption) GetValue() isSocketOption_Value
- func (m *SocketOption) Hash(hasher hash.Hash64) (uint64, error)
- func (*SocketOption) ProtoMessage()
- func (m *SocketOption) Reset()
- func (m *SocketOption) String() string
- func (m *SocketOption) XXX_DiscardUnknown()
- func (m *SocketOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SocketOption) XXX_Merge(src proto.Message)
- func (*SocketOption) XXX_OneofWrappers() []interface{}
- func (m *SocketOption) XXX_Size() int
- func (m *SocketOption) XXX_Unmarshal(b []byte) error
- type SocketOption_BufValue
- type SocketOption_IntValue
- type SocketOption_SocketState
- type TrafficDirection
- type TransportSocket
- func (*TransportSocket) Descriptor() ([]byte, []int)
- func (this *TransportSocket) Equal(that interface{}) bool
- func (m *TransportSocket) GetConfig() *types.Struct
- func (m *TransportSocket) GetConfigType() isTransportSocket_ConfigType
- func (m *TransportSocket) GetName() string
- func (m *TransportSocket) GetTypedConfig() *types.Any
- func (m *TransportSocket) Hash(hasher hash.Hash64) (uint64, error)
- func (*TransportSocket) ProtoMessage()
- func (m *TransportSocket) Reset()
- func (m *TransportSocket) String() string
- func (m *TransportSocket) XXX_DiscardUnknown()
- func (m *TransportSocket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransportSocket) XXX_Merge(src proto.Message)
- func (*TransportSocket) XXX_OneofWrappers() []interface{}
- func (m *TransportSocket) XXX_Size() int
- func (m *TransportSocket) XXX_Unmarshal(b []byte) error
- type TransportSocket_Config
- type TransportSocket_TypedConfig
Constants ¶
This section is empty.
Variables ¶
var RequestMethod_name = map[int32]string{
0: "METHOD_UNSPECIFIED",
1: "GET",
2: "HEAD",
3: "POST",
4: "PUT",
5: "DELETE",
6: "CONNECT",
7: "OPTIONS",
8: "TRACE",
9: "PATCH",
}
var RequestMethod_value = map[string]int32{
"METHOD_UNSPECIFIED": 0,
"GET": 1,
"HEAD": 2,
"POST": 3,
"PUT": 4,
"DELETE": 5,
"CONNECT": 6,
"OPTIONS": 7,
"TRACE": 8,
"PATCH": 9,
}
var RoutingPriority_name = map[int32]string{
0: "DEFAULT",
1: "HIGH",
}
var RoutingPriority_value = map[string]int32{
"DEFAULT": 0,
"HIGH": 1,
}
var SocketOption_SocketState_name = map[int32]string{
0: "STATE_PREBIND",
1: "STATE_BOUND",
2: "STATE_LISTENING",
}
var SocketOption_SocketState_value = map[string]int32{
"STATE_PREBIND": 0,
"STATE_BOUND": 1,
"STATE_LISTENING": 2,
}
var TrafficDirection_name = map[int32]string{
0: "UNSPECIFIED",
1: "INBOUND",
2: "OUTBOUND",
}
var TrafficDirection_value = map[string]int32{
"UNSPECIFIED": 0,
"INBOUND": 1,
"OUTBOUND": 2,
}
Functions ¶
This section is empty.
Types ¶
type AsyncDataSource ¶
type AsyncDataSource struct { // Types that are valid to be assigned to Specifier: // *AsyncDataSource_Local // *AsyncDataSource_Remote Specifier isAsyncDataSource_Specifier `protobuf_oneof:"specifier"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Async data source which support async data fetch.
func (*AsyncDataSource) Descriptor ¶
func (*AsyncDataSource) Descriptor() ([]byte, []int)
func (*AsyncDataSource) Equal ¶
func (this *AsyncDataSource) Equal(that interface{}) bool
func (*AsyncDataSource) GetLocal ¶
func (m *AsyncDataSource) GetLocal() *DataSource
func (*AsyncDataSource) GetRemote ¶
func (m *AsyncDataSource) GetRemote() *RemoteDataSource
func (*AsyncDataSource) GetSpecifier ¶
func (m *AsyncDataSource) GetSpecifier() isAsyncDataSource_Specifier
func (*AsyncDataSource) Hash ¶ added in v0.11.14
func (m *AsyncDataSource) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*AsyncDataSource) ProtoMessage ¶
func (*AsyncDataSource) ProtoMessage()
func (*AsyncDataSource) Reset ¶
func (m *AsyncDataSource) Reset()
func (*AsyncDataSource) String ¶
func (m *AsyncDataSource) String() string
func (*AsyncDataSource) XXX_DiscardUnknown ¶
func (m *AsyncDataSource) XXX_DiscardUnknown()
func (*AsyncDataSource) XXX_Marshal ¶
func (m *AsyncDataSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AsyncDataSource) XXX_Merge ¶
func (m *AsyncDataSource) XXX_Merge(src proto.Message)
func (*AsyncDataSource) XXX_OneofWrappers ¶
func (*AsyncDataSource) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*AsyncDataSource) XXX_Size ¶
func (m *AsyncDataSource) XXX_Size() int
func (*AsyncDataSource) XXX_Unmarshal ¶
func (m *AsyncDataSource) XXX_Unmarshal(b []byte) error
type AsyncDataSource_Local ¶
type AsyncDataSource_Local struct {
Local *DataSource `protobuf:"bytes,1,opt,name=local,proto3,oneof" json:"local,omitempty"`
}
func (*AsyncDataSource_Local) Equal ¶
func (this *AsyncDataSource_Local) Equal(that interface{}) bool
type AsyncDataSource_Remote ¶
type AsyncDataSource_Remote struct {
Remote *RemoteDataSource `protobuf:"bytes,2,opt,name=remote,proto3,oneof" json:"remote,omitempty"`
}
func (*AsyncDataSource_Remote) Equal ¶
func (this *AsyncDataSource_Remote) Equal(that interface{}) bool
type ControlPlane ¶
type ControlPlane struct { // An opaque control plane identifier that uniquely identifies an instance // of control plane. This can be used to identify which control plane instance, // the Envoy is connected to. Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Identifies a specific ControlPlane instance that Envoy is connected to.
func (*ControlPlane) Descriptor ¶
func (*ControlPlane) Descriptor() ([]byte, []int)
func (*ControlPlane) Equal ¶
func (this *ControlPlane) Equal(that interface{}) bool
func (*ControlPlane) GetIdentifier ¶
func (m *ControlPlane) GetIdentifier() string
func (*ControlPlane) Hash ¶ added in v0.11.14
func (m *ControlPlane) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*ControlPlane) ProtoMessage ¶
func (*ControlPlane) ProtoMessage()
func (*ControlPlane) Reset ¶
func (m *ControlPlane) Reset()
func (*ControlPlane) String ¶
func (m *ControlPlane) String() string
func (*ControlPlane) XXX_DiscardUnknown ¶
func (m *ControlPlane) XXX_DiscardUnknown()
func (*ControlPlane) XXX_Marshal ¶
func (m *ControlPlane) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ControlPlane) XXX_Merge ¶
func (m *ControlPlane) XXX_Merge(src proto.Message)
func (*ControlPlane) XXX_Size ¶
func (m *ControlPlane) XXX_Size() int
func (*ControlPlane) XXX_Unmarshal ¶
func (m *ControlPlane) XXX_Unmarshal(b []byte) error
type DataSource ¶
type DataSource struct { // Types that are valid to be assigned to Specifier: // *DataSource_Filename // *DataSource_InlineBytes // *DataSource_InlineString Specifier isDataSource_Specifier `protobuf_oneof:"specifier"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Data source consisting of either a file or an inline value.
func (*DataSource) Descriptor ¶
func (*DataSource) Descriptor() ([]byte, []int)
func (*DataSource) Equal ¶
func (this *DataSource) Equal(that interface{}) bool
func (*DataSource) GetFilename ¶
func (m *DataSource) GetFilename() string
func (*DataSource) GetInlineBytes ¶
func (m *DataSource) GetInlineBytes() []byte
func (*DataSource) GetInlineString ¶
func (m *DataSource) GetInlineString() string
func (*DataSource) GetSpecifier ¶
func (m *DataSource) GetSpecifier() isDataSource_Specifier
func (*DataSource) Hash ¶ added in v0.11.14
func (m *DataSource) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*DataSource) ProtoMessage ¶
func (*DataSource) ProtoMessage()
func (*DataSource) Reset ¶
func (m *DataSource) Reset()
func (*DataSource) String ¶
func (m *DataSource) String() string
func (*DataSource) XXX_DiscardUnknown ¶
func (m *DataSource) XXX_DiscardUnknown()
func (*DataSource) XXX_Marshal ¶
func (m *DataSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DataSource) XXX_Merge ¶
func (m *DataSource) XXX_Merge(src proto.Message)
func (*DataSource) XXX_OneofWrappers ¶
func (*DataSource) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*DataSource) XXX_Size ¶
func (m *DataSource) XXX_Size() int
func (*DataSource) XXX_Unmarshal ¶
func (m *DataSource) XXX_Unmarshal(b []byte) error
type DataSource_Filename ¶
type DataSource_Filename struct {
Filename string `protobuf:"bytes,1,opt,name=filename,proto3,oneof" json:"filename,omitempty"`
}
func (*DataSource_Filename) Equal ¶
func (this *DataSource_Filename) Equal(that interface{}) bool
type DataSource_InlineBytes ¶
type DataSource_InlineBytes struct {
InlineBytes []byte `protobuf:"bytes,2,opt,name=inline_bytes,json=inlineBytes,proto3,oneof" json:"inline_bytes,omitempty"`
}
func (*DataSource_InlineBytes) Equal ¶
func (this *DataSource_InlineBytes) Equal(that interface{}) bool
type DataSource_InlineString ¶
type DataSource_InlineString struct {
InlineString string `protobuf:"bytes,3,opt,name=inline_string,json=inlineString,proto3,oneof" json:"inline_string,omitempty"`
}
func (*DataSource_InlineString) Equal ¶
func (this *DataSource_InlineString) Equal(that interface{}) bool
type HeaderMap ¶
type HeaderMap struct { Headers []*HeaderValue `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Wrapper for a set of headers.
func (*HeaderMap) Descriptor ¶
func (*HeaderMap) GetHeaders ¶
func (m *HeaderMap) GetHeaders() []*HeaderValue
func (*HeaderMap) ProtoMessage ¶
func (*HeaderMap) ProtoMessage()
func (*HeaderMap) XXX_DiscardUnknown ¶
func (m *HeaderMap) XXX_DiscardUnknown()
func (*HeaderMap) XXX_Marshal ¶
func (*HeaderMap) XXX_Unmarshal ¶
type HeaderValue ¶
type HeaderValue struct { // Header name. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Header value. // // The same `format specifier (config_access_log_format)` as used for // `HTTP access logging (config_access_log)` applies here, however // unknown header values are replaced with the empty string instead of `-`. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Header name/value pair.
func (*HeaderValue) Descriptor ¶
func (*HeaderValue) Descriptor() ([]byte, []int)
func (*HeaderValue) Equal ¶
func (this *HeaderValue) Equal(that interface{}) bool
func (*HeaderValue) GetKey ¶
func (m *HeaderValue) GetKey() string
func (*HeaderValue) GetValue ¶
func (m *HeaderValue) GetValue() string
func (*HeaderValue) Hash ¶ added in v0.11.14
func (m *HeaderValue) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*HeaderValue) ProtoMessage ¶
func (*HeaderValue) ProtoMessage()
func (*HeaderValue) Reset ¶
func (m *HeaderValue) Reset()
func (*HeaderValue) String ¶
func (m *HeaderValue) String() string
func (*HeaderValue) XXX_DiscardUnknown ¶
func (m *HeaderValue) XXX_DiscardUnknown()
func (*HeaderValue) XXX_Marshal ¶
func (m *HeaderValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HeaderValue) XXX_Merge ¶
func (m *HeaderValue) XXX_Merge(src proto.Message)
func (*HeaderValue) XXX_Size ¶
func (m *HeaderValue) XXX_Size() int
func (*HeaderValue) XXX_Unmarshal ¶
func (m *HeaderValue) XXX_Unmarshal(b []byte) error
type HeaderValueOption ¶
type HeaderValueOption struct { // Header name/value pair that this option applies to. Header *HeaderValue `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` // Should the value be appended? If true (default), the value is appended to // existing values. Append *types.BoolValue `protobuf:"bytes,2,opt,name=append,proto3" json:"append,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Header name/value pair plus option to control append behavior.
func (*HeaderValueOption) Descriptor ¶
func (*HeaderValueOption) Descriptor() ([]byte, []int)
func (*HeaderValueOption) Equal ¶
func (this *HeaderValueOption) Equal(that interface{}) bool
func (*HeaderValueOption) GetAppend ¶
func (m *HeaderValueOption) GetAppend() *types.BoolValue
func (*HeaderValueOption) GetHeader ¶
func (m *HeaderValueOption) GetHeader() *HeaderValue
func (*HeaderValueOption) Hash ¶ added in v0.11.14
func (m *HeaderValueOption) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*HeaderValueOption) ProtoMessage ¶
func (*HeaderValueOption) ProtoMessage()
func (*HeaderValueOption) Reset ¶
func (m *HeaderValueOption) Reset()
func (*HeaderValueOption) String ¶
func (m *HeaderValueOption) String() string
func (*HeaderValueOption) XXX_DiscardUnknown ¶
func (m *HeaderValueOption) XXX_DiscardUnknown()
func (*HeaderValueOption) XXX_Marshal ¶
func (m *HeaderValueOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HeaderValueOption) XXX_Merge ¶
func (m *HeaderValueOption) XXX_Merge(src proto.Message)
func (*HeaderValueOption) XXX_Size ¶
func (m *HeaderValueOption) XXX_Size() int
func (*HeaderValueOption) XXX_Unmarshal ¶
func (m *HeaderValueOption) XXX_Unmarshal(b []byte) error
type HttpUri ¶
type HttpUri struct { // The HTTP server URI. It should be a full FQDN with protocol, host and path. // // Example: // // .. code-block:: yaml // // uri: https://www.googleapis.com/oauth2/v1/certs // Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` // Specify how `uri` is to be fetched. Today, this requires an explicit // cluster, but in the future we may support dynamic cluster creation or // inline DNS resolution. See `issue // <https://github.com/envoyproxy/envoy/issues/1606>`_. // // Types that are valid to be assigned to HttpUpstreamType: // *HttpUri_Cluster HttpUpstreamType isHttpUri_HttpUpstreamType `protobuf_oneof:"http_upstream_type"` // Sets the maximum duration in milliseconds that a response can take to arrive upon request. Timeout *types.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Envoy external URI descriptor
func (*HttpUri) Descriptor ¶
func (*HttpUri) GetCluster ¶
func (*HttpUri) GetHttpUpstreamType ¶
func (m *HttpUri) GetHttpUpstreamType() isHttpUri_HttpUpstreamType
func (*HttpUri) GetTimeout ¶
func (*HttpUri) ProtoMessage ¶
func (*HttpUri) ProtoMessage()
func (*HttpUri) XXX_DiscardUnknown ¶
func (m *HttpUri) XXX_DiscardUnknown()
func (*HttpUri) XXX_Marshal ¶
func (*HttpUri) XXX_OneofWrappers ¶
func (*HttpUri) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*HttpUri) XXX_Unmarshal ¶
type HttpUri_Cluster ¶
type HttpUri_Cluster struct {
Cluster string `protobuf:"bytes,2,opt,name=cluster,proto3,oneof" json:"cluster,omitempty"`
}
func (*HttpUri_Cluster) Equal ¶
func (this *HttpUri_Cluster) Equal(that interface{}) bool
type Locality ¶
type Locality struct { // Region this `zone (envoy_api_field_core.Locality.zone)` belongs to. Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` // Defines the local service zone where Envoy is running. Though optional, it // should be set if discovery service routing is used and the discovery // service exposes `zone data (envoy_api_field_endpoint.LocalityLbEndpoints.locality)`, // either in this message or via :option:`--service-zone`. The meaning of zone // is context dependent, e.g. `Availability Zone (AZ) // <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html>`_ // on AWS, `Zone <https://cloud.google.com/compute/docs/regions-zones/>`_ on // GCP, etc. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // When used for locality of upstream hosts, this field further splits zone // into smaller chunks of sub-zones so they can be load balanced // independently. SubZone string `protobuf:"bytes,3,opt,name=sub_zone,json=subZone,proto3" json:"sub_zone,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Identifies location of where either Envoy runs or where upstream hosts run.
func (*Locality) Descriptor ¶
func (*Locality) GetSubZone ¶
func (*Locality) ProtoMessage ¶
func (*Locality) ProtoMessage()
func (*Locality) XXX_DiscardUnknown ¶
func (m *Locality) XXX_DiscardUnknown()
func (*Locality) XXX_Marshal ¶
func (*Locality) XXX_Unmarshal ¶
type Metadata ¶
type Metadata struct { // Key is the reverse DNS filter name, e.g. com.acme.widget. The envoy.* // namespace is reserved for Envoy's built-in filters. FilterMetadata map[string]*types.Struct `` /* 191-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Metadata provides additional inputs to filters based on matched listeners, filter chains, routes and endpoints. It is structured as a map, usually from filter name (in reverse DNS format) to metadata specific to the filter. Metadata key-values for a filter are merged as connection and request handling occurs, with later values for the same key overriding earlier values.
An example use of metadata is providing additional values to http_connection_manager in the envoy.http_connection_manager.access_log namespace.
Another example use of metadata is to per service config info in cluster metadata, which may get consumed by multiple filters.
For load balancing, Metadata provides a means to subset cluster endpoints. Endpoints have a Metadata object associated and routes contain a Metadata object to match against. There are some well defined metadata used today for this purpose:
- “{"envoy.lb": {"canary": <bool> }}“ This indicates the canary status of an endpoint and is also used during header processing (x-envoy-upstream-canary) and for stats purposes.
func (*Metadata) Descriptor ¶
func (*Metadata) GetFilterMetadata ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) XXX_DiscardUnknown ¶
func (m *Metadata) XXX_DiscardUnknown()
func (*Metadata) XXX_Marshal ¶
func (*Metadata) XXX_Unmarshal ¶
type Node ¶
type Node struct { // An opaque node identifier for the Envoy node. This also provides the local // service node name. It should be set if any of the following features are // used: `statsd (arch_overview_statistics)`, `CDS // (config_cluster_manager_cds)`, and `HTTP tracing // (arch_overview_tracing)`, either in this message or via // :option:`--service-node`. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Defines the local service cluster name where Envoy is running. Though // optional, it should be set if any of the following features are used: // `statsd (arch_overview_statistics)`, `health check cluster // verification (envoy_api_field_core.HealthCheck.HttpHealthCheck.service_name)`, // `runtime override directory (envoy_api_msg_config.bootstrap.v2.Runtime)`, // `user agent addition // (envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.add_user_agent)`, // `HTTP global rate limiting (config_http_filters_rate_limit)`, // `CDS (config_cluster_manager_cds)`, and `HTTP tracing // (arch_overview_tracing)`, either in this message or via // :option:`--service-cluster`. Cluster string `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"` // Opaque metadata extending the node identifier. Envoy will pass this // directly to the management server. Metadata *types.Struct `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // Locality specifying where the Envoy instance is running. Locality *Locality `protobuf:"bytes,4,opt,name=locality,proto3" json:"locality,omitempty"` // This is motivated by informing a management server during canary which // version of Envoy is being tested in a heterogeneous fleet. This will be set // by Envoy in management server RPCs. BuildVersion string `protobuf:"bytes,5,opt,name=build_version,json=buildVersion,proto3" json:"build_version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Identifies a specific Envoy instance. The node identifier is presented to the management server, which may use this identifier to distinguish per Envoy configuration for serving.
func (*Node) Descriptor ¶
func (*Node) GetBuildVersion ¶
func (*Node) GetCluster ¶
func (*Node) GetLocality ¶
func (*Node) GetMetadata ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) XXX_DiscardUnknown ¶
func (m *Node) XXX_DiscardUnknown()
func (*Node) XXX_Unmarshal ¶
type RemoteDataSource ¶
type RemoteDataSource struct { // The HTTP URI to fetch the remote data. HttpUri *HttpUri `protobuf:"bytes,1,opt,name=http_uri,json=httpUri,proto3" json:"http_uri,omitempty"` // SHA256 string for verifying data. Sha256 string `protobuf:"bytes,2,opt,name=sha256,proto3" json:"sha256,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The message specifies how to fetch data from remote and how to verify it.
func (*RemoteDataSource) Descriptor ¶
func (*RemoteDataSource) Descriptor() ([]byte, []int)
func (*RemoteDataSource) Equal ¶
func (this *RemoteDataSource) Equal(that interface{}) bool
func (*RemoteDataSource) GetHttpUri ¶
func (m *RemoteDataSource) GetHttpUri() *HttpUri
func (*RemoteDataSource) GetSha256 ¶
func (m *RemoteDataSource) GetSha256() string
func (*RemoteDataSource) Hash ¶ added in v0.11.14
func (m *RemoteDataSource) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*RemoteDataSource) ProtoMessage ¶
func (*RemoteDataSource) ProtoMessage()
func (*RemoteDataSource) Reset ¶
func (m *RemoteDataSource) Reset()
func (*RemoteDataSource) String ¶
func (m *RemoteDataSource) String() string
func (*RemoteDataSource) XXX_DiscardUnknown ¶
func (m *RemoteDataSource) XXX_DiscardUnknown()
func (*RemoteDataSource) XXX_Marshal ¶
func (m *RemoteDataSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoteDataSource) XXX_Merge ¶
func (m *RemoteDataSource) XXX_Merge(src proto.Message)
func (*RemoteDataSource) XXX_Size ¶
func (m *RemoteDataSource) XXX_Size() int
func (*RemoteDataSource) XXX_Unmarshal ¶
func (m *RemoteDataSource) XXX_Unmarshal(b []byte) error
type RequestMethod ¶
type RequestMethod int32
HTTP request method.
const ( RequestMethod_METHOD_UNSPECIFIED RequestMethod = 0 RequestMethod_GET RequestMethod = 1 RequestMethod_HEAD RequestMethod = 2 RequestMethod_POST RequestMethod = 3 RequestMethod_PUT RequestMethod = 4 RequestMethod_DELETE RequestMethod = 5 RequestMethod_CONNECT RequestMethod = 6 RequestMethod_OPTIONS RequestMethod = 7 RequestMethod_TRACE RequestMethod = 8 RequestMethod_PATCH RequestMethod = 9 )
func (RequestMethod) EnumDescriptor ¶
func (RequestMethod) EnumDescriptor() ([]byte, []int)
func (RequestMethod) String ¶
func (x RequestMethod) String() string
type RoutingPriority ¶
type RoutingPriority int32
Envoy supports `upstream priority routing (arch_overview_http_routing_priority)` both at the route and the virtual cluster level. The current priority implementation uses different connection pool and circuit breaking settings for each priority level. This means that even for HTTP/2 requests, two physical connections will be used to an upstream host. In the future Envoy will likely support true HTTP/2 priority over a single upstream connection.
const ( RoutingPriority_DEFAULT RoutingPriority = 0 RoutingPriority_HIGH RoutingPriority = 1 )
func (RoutingPriority) EnumDescriptor ¶
func (RoutingPriority) EnumDescriptor() ([]byte, []int)
func (RoutingPriority) String ¶
func (x RoutingPriority) String() string
type RuntimeFeatureFlag ¶
type RuntimeFeatureFlag struct { // Default value if runtime value is not available. DefaultValue *types.BoolValue `protobuf:"bytes,1,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` // Runtime key to get value for comparison. This value is used if defined. The boolean value must // be represented via its // `canonical JSON encoding <https://developers.google.com/protocol-buffers/docs/proto3#json>`_. RuntimeKey string `protobuf:"bytes,2,opt,name=runtime_key,json=runtimeKey,proto3" json:"runtime_key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Runtime derived bool with a default when not specified.
func (*RuntimeFeatureFlag) Descriptor ¶
func (*RuntimeFeatureFlag) Descriptor() ([]byte, []int)
func (*RuntimeFeatureFlag) Equal ¶
func (this *RuntimeFeatureFlag) Equal(that interface{}) bool
func (*RuntimeFeatureFlag) GetDefaultValue ¶
func (m *RuntimeFeatureFlag) GetDefaultValue() *types.BoolValue
func (*RuntimeFeatureFlag) GetRuntimeKey ¶
func (m *RuntimeFeatureFlag) GetRuntimeKey() string
func (*RuntimeFeatureFlag) Hash ¶ added in v0.11.14
func (m *RuntimeFeatureFlag) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*RuntimeFeatureFlag) ProtoMessage ¶
func (*RuntimeFeatureFlag) ProtoMessage()
func (*RuntimeFeatureFlag) Reset ¶
func (m *RuntimeFeatureFlag) Reset()
func (*RuntimeFeatureFlag) String ¶
func (m *RuntimeFeatureFlag) String() string
func (*RuntimeFeatureFlag) XXX_DiscardUnknown ¶
func (m *RuntimeFeatureFlag) XXX_DiscardUnknown()
func (*RuntimeFeatureFlag) XXX_Marshal ¶
func (m *RuntimeFeatureFlag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RuntimeFeatureFlag) XXX_Merge ¶
func (m *RuntimeFeatureFlag) XXX_Merge(src proto.Message)
func (*RuntimeFeatureFlag) XXX_Size ¶
func (m *RuntimeFeatureFlag) XXX_Size() int
func (*RuntimeFeatureFlag) XXX_Unmarshal ¶
func (m *RuntimeFeatureFlag) XXX_Unmarshal(b []byte) error
type RuntimeFractionalPercent ¶
type RuntimeFractionalPercent struct { // Default value if the runtime value's for the numerator/denominator keys are not available. DefaultValue *_type.FractionalPercent `protobuf:"bytes,1,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` // Runtime key for a YAML representation of a FractionalPercent. RuntimeKey string `protobuf:"bytes,2,opt,name=runtime_key,json=runtimeKey,proto3" json:"runtime_key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Runtime derived FractionalPercent with defaults for when the numerator or denominator is not specified via a runtime key.
func (*RuntimeFractionalPercent) Descriptor ¶
func (*RuntimeFractionalPercent) Descriptor() ([]byte, []int)
func (*RuntimeFractionalPercent) Equal ¶
func (this *RuntimeFractionalPercent) Equal(that interface{}) bool
func (*RuntimeFractionalPercent) GetDefaultValue ¶
func (m *RuntimeFractionalPercent) GetDefaultValue() *_type.FractionalPercent
func (*RuntimeFractionalPercent) GetRuntimeKey ¶
func (m *RuntimeFractionalPercent) GetRuntimeKey() string
func (*RuntimeFractionalPercent) Hash ¶ added in v0.11.14
func (m *RuntimeFractionalPercent) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*RuntimeFractionalPercent) ProtoMessage ¶
func (*RuntimeFractionalPercent) ProtoMessage()
func (*RuntimeFractionalPercent) Reset ¶
func (m *RuntimeFractionalPercent) Reset()
func (*RuntimeFractionalPercent) String ¶
func (m *RuntimeFractionalPercent) String() string
func (*RuntimeFractionalPercent) XXX_DiscardUnknown ¶
func (m *RuntimeFractionalPercent) XXX_DiscardUnknown()
func (*RuntimeFractionalPercent) XXX_Marshal ¶
func (m *RuntimeFractionalPercent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RuntimeFractionalPercent) XXX_Merge ¶
func (m *RuntimeFractionalPercent) XXX_Merge(src proto.Message)
func (*RuntimeFractionalPercent) XXX_Size ¶
func (m *RuntimeFractionalPercent) XXX_Size() int
func (*RuntimeFractionalPercent) XXX_Unmarshal ¶
func (m *RuntimeFractionalPercent) XXX_Unmarshal(b []byte) error
type RuntimeUInt32 ¶
type RuntimeUInt32 struct { // Default value if runtime value is not available. DefaultValue uint32 `protobuf:"varint,2,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` // Runtime key to get value for comparison. This value is used if defined. RuntimeKey string `protobuf:"bytes,3,opt,name=runtime_key,json=runtimeKey,proto3" json:"runtime_key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Runtime derived uint32 with a default when not specified.
func (*RuntimeUInt32) Descriptor ¶
func (*RuntimeUInt32) Descriptor() ([]byte, []int)
func (*RuntimeUInt32) Equal ¶
func (this *RuntimeUInt32) Equal(that interface{}) bool
func (*RuntimeUInt32) GetDefaultValue ¶
func (m *RuntimeUInt32) GetDefaultValue() uint32
func (*RuntimeUInt32) GetRuntimeKey ¶
func (m *RuntimeUInt32) GetRuntimeKey() string
func (*RuntimeUInt32) Hash ¶ added in v0.11.14
func (m *RuntimeUInt32) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*RuntimeUInt32) ProtoMessage ¶
func (*RuntimeUInt32) ProtoMessage()
func (*RuntimeUInt32) Reset ¶
func (m *RuntimeUInt32) Reset()
func (*RuntimeUInt32) String ¶
func (m *RuntimeUInt32) String() string
func (*RuntimeUInt32) XXX_DiscardUnknown ¶
func (m *RuntimeUInt32) XXX_DiscardUnknown()
func (*RuntimeUInt32) XXX_Marshal ¶
func (m *RuntimeUInt32) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RuntimeUInt32) XXX_Merge ¶
func (m *RuntimeUInt32) XXX_Merge(src proto.Message)
func (*RuntimeUInt32) XXX_Size ¶
func (m *RuntimeUInt32) XXX_Size() int
func (*RuntimeUInt32) XXX_Unmarshal ¶
func (m *RuntimeUInt32) XXX_Unmarshal(b []byte) error
type SocketOption ¶
type SocketOption struct { // An optional name to give this socket option for debugging, etc. // Uniqueness is not required and no special meaning is assumed. Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` // Corresponding to the level value passed to setsockopt, such as IPPROTO_TCP Level int64 `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"` // The numeric name as passed to setsockopt Name int64 `protobuf:"varint,3,opt,name=name,proto3" json:"name,omitempty"` // Types that are valid to be assigned to Value: // *SocketOption_IntValue // *SocketOption_BufValue Value isSocketOption_Value `protobuf_oneof:"value"` // The state in which the option will be applied. When used in BindConfig // STATE_PREBIND is currently the only valid value. State SocketOption_SocketState `protobuf:"varint,6,opt,name=state,proto3,enum=envoy.api.v2.core.SocketOption_SocketState" json:"state,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Generic socket option message. This would be used to set socket options that might not exist in upstream kernels or precompiled Envoy binaries.
func (*SocketOption) Descriptor ¶
func (*SocketOption) Descriptor() ([]byte, []int)
func (*SocketOption) Equal ¶
func (this *SocketOption) Equal(that interface{}) bool
func (*SocketOption) GetBufValue ¶
func (m *SocketOption) GetBufValue() []byte
func (*SocketOption) GetDescription ¶
func (m *SocketOption) GetDescription() string
func (*SocketOption) GetIntValue ¶
func (m *SocketOption) GetIntValue() int64
func (*SocketOption) GetLevel ¶
func (m *SocketOption) GetLevel() int64
func (*SocketOption) GetName ¶
func (m *SocketOption) GetName() int64
func (*SocketOption) GetState ¶
func (m *SocketOption) GetState() SocketOption_SocketState
func (*SocketOption) GetValue ¶
func (m *SocketOption) GetValue() isSocketOption_Value
func (*SocketOption) Hash ¶ added in v0.11.14
func (m *SocketOption) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*SocketOption) ProtoMessage ¶
func (*SocketOption) ProtoMessage()
func (*SocketOption) Reset ¶
func (m *SocketOption) Reset()
func (*SocketOption) String ¶
func (m *SocketOption) String() string
func (*SocketOption) XXX_DiscardUnknown ¶
func (m *SocketOption) XXX_DiscardUnknown()
func (*SocketOption) XXX_Marshal ¶
func (m *SocketOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SocketOption) XXX_Merge ¶
func (m *SocketOption) XXX_Merge(src proto.Message)
func (*SocketOption) XXX_OneofWrappers ¶
func (*SocketOption) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*SocketOption) XXX_Size ¶
func (m *SocketOption) XXX_Size() int
func (*SocketOption) XXX_Unmarshal ¶
func (m *SocketOption) XXX_Unmarshal(b []byte) error
type SocketOption_BufValue ¶
type SocketOption_BufValue struct {
BufValue []byte `protobuf:"bytes,5,opt,name=buf_value,json=bufValue,proto3,oneof" json:"buf_value,omitempty"`
}
func (*SocketOption_BufValue) Equal ¶
func (this *SocketOption_BufValue) Equal(that interface{}) bool
type SocketOption_IntValue ¶
type SocketOption_IntValue struct {
IntValue int64 `protobuf:"varint,4,opt,name=int_value,json=intValue,proto3,oneof" json:"int_value,omitempty"`
}
func (*SocketOption_IntValue) Equal ¶
func (this *SocketOption_IntValue) Equal(that interface{}) bool
type SocketOption_SocketState ¶
type SocketOption_SocketState int32
const ( // Socket options are applied after socket creation but before binding the socket to a port SocketOption_STATE_PREBIND SocketOption_SocketState = 0 // Socket options are applied after binding the socket to a port but before calling listen() SocketOption_STATE_BOUND SocketOption_SocketState = 1 // Socket options are applied after calling listen() SocketOption_STATE_LISTENING SocketOption_SocketState = 2 )
func (SocketOption_SocketState) EnumDescriptor ¶
func (SocketOption_SocketState) EnumDescriptor() ([]byte, []int)
func (SocketOption_SocketState) String ¶
func (x SocketOption_SocketState) String() string
type TrafficDirection ¶
type TrafficDirection int32
Identifies the direction of the traffic relative to the local Envoy.
const ( // Default option is unspecified. TrafficDirection_UNSPECIFIED TrafficDirection = 0 // The transport is used for incoming traffic. TrafficDirection_INBOUND TrafficDirection = 1 // The transport is used for outgoing traffic. TrafficDirection_OUTBOUND TrafficDirection = 2 )
func (TrafficDirection) EnumDescriptor ¶
func (TrafficDirection) EnumDescriptor() ([]byte, []int)
func (TrafficDirection) String ¶
func (x TrafficDirection) String() string
type TransportSocket ¶
type TransportSocket struct { // The name of the transport socket to instantiate. The name must match a supported transport // socket implementation. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Implementation specific configuration which depends on the implementation being instantiated. // See the supported transport socket implementations for further documentation. // // Types that are valid to be assigned to ConfigType: // *TransportSocket_Config // *TransportSocket_TypedConfig ConfigType isTransportSocket_ConfigType `protobuf_oneof:"config_type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Configuration for transport socket in `listeners (config_listeners)` and `clusters (envoy_api_msg_Cluster)`. If the configuration is empty, a default transport socket implementation and configuration will be chosen based on the platform and existence of tls_context.
func (*TransportSocket) Descriptor ¶
func (*TransportSocket) Descriptor() ([]byte, []int)
func (*TransportSocket) Equal ¶
func (this *TransportSocket) Equal(that interface{}) bool
func (*TransportSocket) GetConfig ¶
func (m *TransportSocket) GetConfig() *types.Struct
func (*TransportSocket) GetConfigType ¶
func (m *TransportSocket) GetConfigType() isTransportSocket_ConfigType
func (*TransportSocket) GetName ¶
func (m *TransportSocket) GetName() string
func (*TransportSocket) GetTypedConfig ¶
func (m *TransportSocket) GetTypedConfig() *types.Any
func (*TransportSocket) Hash ¶ added in v0.11.14
func (m *TransportSocket) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*TransportSocket) ProtoMessage ¶
func (*TransportSocket) ProtoMessage()
func (*TransportSocket) Reset ¶
func (m *TransportSocket) Reset()
func (*TransportSocket) String ¶
func (m *TransportSocket) String() string
func (*TransportSocket) XXX_DiscardUnknown ¶
func (m *TransportSocket) XXX_DiscardUnknown()
func (*TransportSocket) XXX_Marshal ¶
func (m *TransportSocket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransportSocket) XXX_Merge ¶
func (m *TransportSocket) XXX_Merge(src proto.Message)
func (*TransportSocket) XXX_OneofWrappers ¶
func (*TransportSocket) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*TransportSocket) XXX_Size ¶
func (m *TransportSocket) XXX_Size() int
func (*TransportSocket) XXX_Unmarshal ¶
func (m *TransportSocket) XXX_Unmarshal(b []byte) error
type TransportSocket_Config ¶
type TransportSocket_Config struct {
Config *types.Struct `protobuf:"bytes,2,opt,name=config,proto3,oneof" json:"config,omitempty"`
}
func (*TransportSocket_Config) Equal ¶
func (this *TransportSocket_Config) Equal(that interface{}) bool
type TransportSocket_TypedConfig ¶
type TransportSocket_TypedConfig struct {
TypedConfig *types.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof" json:"typed_config,omitempty"`
}
func (*TransportSocket_TypedConfig) Equal ¶
func (this *TransportSocket_TypedConfig) Equal(that interface{}) bool