Documentation ¶
Index ¶
- Variables
- type ProtocolUpgradeConfig
- func (m *ProtocolUpgradeConfig) Clone() proto.Message
- func (*ProtocolUpgradeConfig) Descriptor() ([]byte, []int)deprecated
- func (m *ProtocolUpgradeConfig) Equal(that interface{}) bool
- func (x *ProtocolUpgradeConfig) GetConnect() *ProtocolUpgradeConfig_ProtocolUpgradeSpec
- func (m *ProtocolUpgradeConfig) GetUpgradeType() isProtocolUpgradeConfig_UpgradeType
- func (x *ProtocolUpgradeConfig) GetWebsocket() *ProtocolUpgradeConfig_ProtocolUpgradeSpec
- func (m *ProtocolUpgradeConfig) Hash(hasher hash.Hash64) (uint64, error)deprecated
- func (m *ProtocolUpgradeConfig) HashUnique(hasher hash.Hash64) (uint64, error)
- func (*ProtocolUpgradeConfig) ProtoMessage()
- func (x *ProtocolUpgradeConfig) ProtoReflect() protoreflect.Message
- func (x *ProtocolUpgradeConfig) Reset()
- func (x *ProtocolUpgradeConfig) String() string
- type ProtocolUpgradeConfig_Connect
- type ProtocolUpgradeConfig_ProtocolUpgradeSpec
- func (m *ProtocolUpgradeConfig_ProtocolUpgradeSpec) Clone() proto.Message
- func (*ProtocolUpgradeConfig_ProtocolUpgradeSpec) Descriptor() ([]byte, []int)deprecated
- func (m *ProtocolUpgradeConfig_ProtocolUpgradeSpec) Equal(that interface{}) bool
- func (x *ProtocolUpgradeConfig_ProtocolUpgradeSpec) GetEnabled() *wrapperspb.BoolValue
- func (m *ProtocolUpgradeConfig_ProtocolUpgradeSpec) Hash(hasher hash.Hash64) (uint64, error)deprecated
- func (m *ProtocolUpgradeConfig_ProtocolUpgradeSpec) HashUnique(hasher hash.Hash64) (uint64, error)
- func (*ProtocolUpgradeConfig_ProtocolUpgradeSpec) ProtoMessage()
- func (x *ProtocolUpgradeConfig_ProtocolUpgradeSpec) ProtoReflect() protoreflect.Message
- func (x *ProtocolUpgradeConfig_ProtocolUpgradeSpec) Reset()
- func (x *ProtocolUpgradeConfig_ProtocolUpgradeSpec) String() string
- type ProtocolUpgradeConfig_Websocket
Constants ¶
This section is empty.
Variables ¶
var File_github_com_solo_io_gloo_projects_gloo_api_v1_options_protocol_upgrade_protocol_upgrade_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ProtocolUpgradeConfig ¶
type ProtocolUpgradeConfig struct { // Types that are assignable to UpgradeType: // // *ProtocolUpgradeConfig_Websocket // *ProtocolUpgradeConfig_Connect UpgradeType isProtocolUpgradeConfig_UpgradeType `protobuf_oneof:"upgrade_type"` // contains filtered or unexported fields }
func (*ProtocolUpgradeConfig) Clone ¶ added in v1.8.24
func (m *ProtocolUpgradeConfig) Clone() proto.Message
Clone function
func (*ProtocolUpgradeConfig) Descriptor
deprecated
func (*ProtocolUpgradeConfig) Descriptor() ([]byte, []int)
Deprecated: Use ProtocolUpgradeConfig.ProtoReflect.Descriptor instead.
func (*ProtocolUpgradeConfig) Equal ¶
func (m *ProtocolUpgradeConfig) Equal(that interface{}) bool
Equal function
func (*ProtocolUpgradeConfig) GetConnect ¶ added in v1.14.0
func (x *ProtocolUpgradeConfig) GetConnect() *ProtocolUpgradeConfig_ProtocolUpgradeSpec
func (*ProtocolUpgradeConfig) GetUpgradeType ¶
func (m *ProtocolUpgradeConfig) GetUpgradeType() isProtocolUpgradeConfig_UpgradeType
func (*ProtocolUpgradeConfig) GetWebsocket ¶
func (x *ProtocolUpgradeConfig) GetWebsocket() *ProtocolUpgradeConfig_ProtocolUpgradeSpec
func (*ProtocolUpgradeConfig) Hash
deprecated
added in
v1.2.13
func (m *ProtocolUpgradeConfig) Hash(hasher hash.Hash64) (uint64, error)
Hash function
Deprecated: due to hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions. Prefer the HashUnique function instead.
func (*ProtocolUpgradeConfig) HashUnique ¶
func (m *ProtocolUpgradeConfig) HashUnique(hasher hash.Hash64) (uint64, error)
HashUnique function generates a hash of the object that is unique to the object by hashing field name and value pairs. Replaces Hash due to original hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions.
func (*ProtocolUpgradeConfig) ProtoMessage ¶
func (*ProtocolUpgradeConfig) ProtoMessage()
func (*ProtocolUpgradeConfig) ProtoReflect ¶ added in v1.6.0
func (x *ProtocolUpgradeConfig) ProtoReflect() protoreflect.Message
func (*ProtocolUpgradeConfig) Reset ¶
func (x *ProtocolUpgradeConfig) Reset()
func (*ProtocolUpgradeConfig) String ¶
func (x *ProtocolUpgradeConfig) String() string
type ProtocolUpgradeConfig_Connect ¶ added in v1.14.0
type ProtocolUpgradeConfig_Connect struct {
Connect *ProtocolUpgradeConfig_ProtocolUpgradeSpec `protobuf:"bytes,2,opt,name=connect,proto3,oneof"`
}
type ProtocolUpgradeConfig_ProtocolUpgradeSpec ¶
type ProtocolUpgradeConfig_ProtocolUpgradeSpec struct { // Whether the upgrade should be enabled. If left unset, Envoy will enable the protocol upgrade. Enabled *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
func (*ProtocolUpgradeConfig_ProtocolUpgradeSpec) Clone ¶ added in v1.8.24
func (m *ProtocolUpgradeConfig_ProtocolUpgradeSpec) Clone() proto.Message
Clone function
func (*ProtocolUpgradeConfig_ProtocolUpgradeSpec) Descriptor
deprecated
func (*ProtocolUpgradeConfig_ProtocolUpgradeSpec) Descriptor() ([]byte, []int)
Deprecated: Use ProtocolUpgradeConfig_ProtocolUpgradeSpec.ProtoReflect.Descriptor instead.
func (*ProtocolUpgradeConfig_ProtocolUpgradeSpec) Equal ¶
func (m *ProtocolUpgradeConfig_ProtocolUpgradeSpec) Equal(that interface{}) bool
Equal function
func (*ProtocolUpgradeConfig_ProtocolUpgradeSpec) GetEnabled ¶
func (x *ProtocolUpgradeConfig_ProtocolUpgradeSpec) GetEnabled() *wrapperspb.BoolValue
func (*ProtocolUpgradeConfig_ProtocolUpgradeSpec) Hash
deprecated
added in
v1.2.13
func (m *ProtocolUpgradeConfig_ProtocolUpgradeSpec) Hash(hasher hash.Hash64) (uint64, error)
Hash function
Deprecated: due to hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions. Prefer the HashUnique function instead.
func (*ProtocolUpgradeConfig_ProtocolUpgradeSpec) HashUnique ¶
func (m *ProtocolUpgradeConfig_ProtocolUpgradeSpec) HashUnique(hasher hash.Hash64) (uint64, error)
HashUnique function generates a hash of the object that is unique to the object by hashing field name and value pairs. Replaces Hash due to original hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions.
func (*ProtocolUpgradeConfig_ProtocolUpgradeSpec) ProtoMessage ¶
func (*ProtocolUpgradeConfig_ProtocolUpgradeSpec) ProtoMessage()
func (*ProtocolUpgradeConfig_ProtocolUpgradeSpec) ProtoReflect ¶ added in v1.6.0
func (x *ProtocolUpgradeConfig_ProtocolUpgradeSpec) ProtoReflect() protoreflect.Message
func (*ProtocolUpgradeConfig_ProtocolUpgradeSpec) Reset ¶
func (x *ProtocolUpgradeConfig_ProtocolUpgradeSpec) Reset()
func (*ProtocolUpgradeConfig_ProtocolUpgradeSpec) String ¶
func (x *ProtocolUpgradeConfig_ProtocolUpgradeSpec) String() string
type ProtocolUpgradeConfig_Websocket ¶
type ProtocolUpgradeConfig_Websocket struct { // Specification for websocket upgrade requests. Websocket *ProtocolUpgradeConfig_ProtocolUpgradeSpec `protobuf:"bytes,1,opt,name=websocket,proto3,oneof"` }