protocol_upgrade

package
v1.18.0-rc3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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 (*ProtocolUpgradeConfig) GetUpgradeType

func (m *ProtocolUpgradeConfig) GetUpgradeType() isProtocolUpgradeConfig_UpgradeType

func (*ProtocolUpgradeConfig) GetWebsocket

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

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 (*ProtocolUpgradeConfig_ProtocolUpgradeSpec) Hash deprecated added in v1.2.13

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

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) ProtoReflect added in v1.6.0

func (*ProtocolUpgradeConfig_ProtocolUpgradeSpec) Reset

func (*ProtocolUpgradeConfig_ProtocolUpgradeSpec) String

type ProtocolUpgradeConfig_Websocket

type ProtocolUpgradeConfig_Websocket struct {
	// Specification for websocket upgrade requests.
	Websocket *ProtocolUpgradeConfig_ProtocolUpgradeSpec `protobuf:"bytes,1,opt,name=websocket,proto3,oneof"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL