Versions in this module Expand all Collapse all v0 v0.10.2 Feb 13, 2024 Changes in this version + var E_MethodName = &file_server_kong_plugin_protocol_pluginsocket_proto_extTypes[0] + var File_server_kong_plugin_protocol_pluginsocket_proto protoreflect.FileDescriptor + type AuthenticateArgs struct + Consumer *Consumer + Credential *AuthenticatedCredential + func (*AuthenticateArgs) Descriptor() ([]byte, []int) + func (*AuthenticateArgs) ProtoMessage() + func (x *AuthenticateArgs) GetConsumer() *Consumer + func (x *AuthenticateArgs) GetCredential() *AuthenticatedCredential + func (x *AuthenticateArgs) ProtoReflect() protoreflect.Message + func (x *AuthenticateArgs) Reset() + func (x *AuthenticateArgs) String() string + type AuthenticatedCredential struct + ConsumerId string + Id string + func (*AuthenticatedCredential) Descriptor() ([]byte, []int) + func (*AuthenticatedCredential) ProtoMessage() + func (x *AuthenticatedCredential) GetConsumerId() string + func (x *AuthenticatedCredential) GetId() string + func (x *AuthenticatedCredential) ProtoReflect() protoreflect.Message + func (x *AuthenticatedCredential) Reset() + func (x *AuthenticatedCredential) String() string + type Bool struct + V bool + func (*Bool) Descriptor() ([]byte, []int) + func (*Bool) ProtoMessage() + func (x *Bool) GetV() bool + func (x *Bool) ProtoReflect() protoreflect.Message + func (x *Bool) Reset() + func (x *Bool) String() string + type ByteString struct + V []byte + func (*ByteString) Descriptor() ([]byte, []int) + func (*ByteString) ProtoMessage() + func (x *ByteString) GetV() []byte + func (x *ByteString) ProtoReflect() protoreflect.Message + func (x *ByteString) Reset() + func (x *ByteString) String() string + type CertificateKey struct + Id string + func (*CertificateKey) Descriptor() ([]byte, []int) + func (*CertificateKey) ProtoMessage() + func (x *CertificateKey) GetId() string + func (x *CertificateKey) ProtoReflect() protoreflect.Message + func (x *CertificateKey) Reset() + func (x *CertificateKey) String() string + type CmdCloseInstance struct + InstanceId int32 + func (*CmdCloseInstance) Descriptor() ([]byte, []int) + func (*CmdCloseInstance) ProtoMessage() + func (x *CmdCloseInstance) GetInstanceId() int32 + func (x *CmdCloseInstance) ProtoReflect() protoreflect.Message + func (x *CmdCloseInstance) Reset() + func (x *CmdCloseInstance) String() string + type CmdGetInstanceStatus struct + InstanceId int32 + func (*CmdGetInstanceStatus) Descriptor() ([]byte, []int) + func (*CmdGetInstanceStatus) ProtoMessage() + func (x *CmdGetInstanceStatus) GetInstanceId() int32 + func (x *CmdGetInstanceStatus) ProtoReflect() protoreflect.Message + func (x *CmdGetInstanceStatus) Reset() + func (x *CmdGetInstanceStatus) String() string + type CmdGetPluginInfo struct + Name string + func (*CmdGetPluginInfo) Descriptor() ([]byte, []int) + func (*CmdGetPluginInfo) ProtoMessage() + func (x *CmdGetPluginInfo) GetName() string + func (x *CmdGetPluginInfo) ProtoReflect() protoreflect.Message + func (x *CmdGetPluginInfo) Reset() + func (x *CmdGetPluginInfo) String() string + type CmdGetPluginNames struct + func (*CmdGetPluginNames) Descriptor() ([]byte, []int) + func (*CmdGetPluginNames) ProtoMessage() + func (x *CmdGetPluginNames) ProtoReflect() protoreflect.Message + func (x *CmdGetPluginNames) Reset() + func (x *CmdGetPluginNames) String() string + type CmdHandleEvent struct + EventName string + InstanceId int32 + func (*CmdHandleEvent) Descriptor() ([]byte, []int) + func (*CmdHandleEvent) ProtoMessage() + func (x *CmdHandleEvent) GetEventName() string + func (x *CmdHandleEvent) GetInstanceId() int32 + func (x *CmdHandleEvent) ProtoReflect() protoreflect.Message + func (x *CmdHandleEvent) Reset() + func (x *CmdHandleEvent) String() string + type CmdStartInstance struct + Config []byte + Name string + func (*CmdStartInstance) Descriptor() ([]byte, []int) + func (*CmdStartInstance) ProtoMessage() + func (x *CmdStartInstance) GetConfig() []byte + func (x *CmdStartInstance) GetName() string + func (x *CmdStartInstance) ProtoReflect() protoreflect.Message + func (x *CmdStartInstance) Reset() + func (x *CmdStartInstance) String() string + type Consumer struct + CreatedAt int64 + CustomId string + Id string + Tags []string + Username string + func (*Consumer) Descriptor() ([]byte, []int) + func (*Consumer) ProtoMessage() + func (x *Consumer) GetCreatedAt() int64 + func (x *Consumer) GetCustomId() string + func (x *Consumer) GetId() string + func (x *Consumer) GetTags() []string + func (x *Consumer) GetUsername() string + func (x *Consumer) ProtoReflect() protoreflect.Message + func (x *Consumer) Reset() + func (x *Consumer) String() string + type ConsumerSpec struct + ByUsername bool + Id string + func (*ConsumerSpec) Descriptor() ([]byte, []int) + func (*ConsumerSpec) ProtoMessage() + func (x *ConsumerSpec) GetByUsername() bool + func (x *ConsumerSpec) GetId() string + func (x *ConsumerSpec) ProtoReflect() protoreflect.Message + func (x *ConsumerSpec) Reset() + func (x *ConsumerSpec) String() string + type ExitArgs struct + Body []byte + Headers *structpb.Struct + Status int32 + func (*ExitArgs) Descriptor() ([]byte, []int) + func (*ExitArgs) ProtoMessage() + func (x *ExitArgs) GetBody() []byte + func (x *ExitArgs) GetHeaders() *structpb.Struct + func (x *ExitArgs) GetStatus() int32 + func (x *ExitArgs) ProtoReflect() protoreflect.Message + func (x *ExitArgs) Reset() + func (x *ExitArgs) String() string + type InstanceStatus struct + Config *structpb.Value + InstanceId int32 + Name string + StartedAt int64 + func (*InstanceStatus) Descriptor() ([]byte, []int) + func (*InstanceStatus) ProtoMessage() + func (x *InstanceStatus) GetConfig() *structpb.Value + func (x *InstanceStatus) GetInstanceId() int32 + func (x *InstanceStatus) GetName() string + func (x *InstanceStatus) GetStartedAt() int64 + func (x *InstanceStatus) ProtoReflect() protoreflect.Message + func (x *InstanceStatus) Reset() + func (x *InstanceStatus) String() string + type Int struct + V int32 + func (*Int) Descriptor() ([]byte, []int) + func (*Int) ProtoMessage() + func (x *Int) GetV() int32 + func (x *Int) ProtoReflect() protoreflect.Message + func (x *Int) Reset() + func (x *Int) String() string + type KV struct + K string + V *structpb.Value + func (*KV) Descriptor() ([]byte, []int) + func (*KV) ProtoMessage() + func (x *KV) GetK() string + func (x *KV) GetV() *structpb.Value + func (x *KV) ProtoReflect() protoreflect.Message + func (x *KV) Reset() + func (x *KV) String() string + type MemoryStats struct + LuaSharedDicts *MemoryStats_LuaSharedDicts + WorkersLuaVms []*MemoryStats_WorkerLuaVm + func (*MemoryStats) Descriptor() ([]byte, []int) + func (*MemoryStats) ProtoMessage() + func (x *MemoryStats) GetLuaSharedDicts() *MemoryStats_LuaSharedDicts + func (x *MemoryStats) GetWorkersLuaVms() []*MemoryStats_WorkerLuaVm + func (x *MemoryStats) ProtoReflect() protoreflect.Message + func (x *MemoryStats) Reset() + func (x *MemoryStats) String() string + type MemoryStats_LuaSharedDicts struct + Kong *MemoryStats_LuaSharedDicts_DictStats + KongDbCache *MemoryStats_LuaSharedDicts_DictStats + func (*MemoryStats_LuaSharedDicts) Descriptor() ([]byte, []int) + func (*MemoryStats_LuaSharedDicts) ProtoMessage() + func (x *MemoryStats_LuaSharedDicts) GetKong() *MemoryStats_LuaSharedDicts_DictStats + func (x *MemoryStats_LuaSharedDicts) GetKongDbCache() *MemoryStats_LuaSharedDicts_DictStats + func (x *MemoryStats_LuaSharedDicts) ProtoReflect() protoreflect.Message + func (x *MemoryStats_LuaSharedDicts) Reset() + func (x *MemoryStats_LuaSharedDicts) String() string + type MemoryStats_LuaSharedDicts_DictStats struct + AllocatedSlabs int64 + Capacity int64 + func (*MemoryStats_LuaSharedDicts_DictStats) Descriptor() ([]byte, []int) + func (*MemoryStats_LuaSharedDicts_DictStats) ProtoMessage() + func (x *MemoryStats_LuaSharedDicts_DictStats) GetAllocatedSlabs() int64 + func (x *MemoryStats_LuaSharedDicts_DictStats) GetCapacity() int64 + func (x *MemoryStats_LuaSharedDicts_DictStats) ProtoReflect() protoreflect.Message + func (x *MemoryStats_LuaSharedDicts_DictStats) Reset() + func (x *MemoryStats_LuaSharedDicts_DictStats) String() string + type MemoryStats_WorkerLuaVm struct + HttpAllocatedGc int64 + Pid int64 + func (*MemoryStats_WorkerLuaVm) Descriptor() ([]byte, []int) + func (*MemoryStats_WorkerLuaVm) ProtoMessage() + func (x *MemoryStats_WorkerLuaVm) GetHttpAllocatedGc() int64 + func (x *MemoryStats_WorkerLuaVm) GetPid() int64 + func (x *MemoryStats_WorkerLuaVm) ProtoReflect() protoreflect.Message + func (x *MemoryStats_WorkerLuaVm) Reset() + func (x *MemoryStats_WorkerLuaVm) String() string + type Number struct + V float64 + func (*Number) Descriptor() ([]byte, []int) + func (*Number) ProtoMessage() + func (x *Number) GetV() float64 + func (x *Number) ProtoReflect() protoreflect.Message + func (x *Number) Reset() + func (x *Number) String() string + type PdkArg struct + Data isPdkArg_Data + func (*PdkArg) Descriptor() ([]byte, []int) + func (*PdkArg) ProtoMessage() + func (m *PdkArg) GetData() isPdkArg_Data + func (x *PdkArg) GetB() bool + func (x *PdkArg) GetConsumer() *Consumer + func (x *PdkArg) GetCredential() *AuthenticatedCredential + func (x *PdkArg) GetError() string + func (x *PdkArg) GetF() float64 + func (x *PdkArg) GetI() int64 + func (x *PdkArg) GetM() *StringMap + func (x *PdkArg) GetMemoryStats() *MemoryStats + func (x *PdkArg) GetRoute() *Route + func (x *PdkArg) GetS() string + func (x *PdkArg) GetService() *Service + func (x *PdkArg) ProtoReflect() protoreflect.Message + func (x *PdkArg) Reset() + func (x *PdkArg) String() string + type PdkArg_B struct + B bool + type PdkArg_Consumer struct + Consumer *Consumer + type PdkArg_Credential struct + Credential *AuthenticatedCredential + type PdkArg_Error struct + Error string + type PdkArg_F struct + F float64 + type PdkArg_I struct + I int64 + type PdkArg_M struct + M *StringMap + type PdkArg_MemoryStats struct + MemoryStats *MemoryStats + type PdkArg_Route struct + Route *Route + type PdkArg_S struct + S string + type PdkArg_Service struct + Service *Service + type PdkCall struct + Args []*PdkArg + Cmd string + EventId int64 + Sequence int64 + func (*PdkCall) Descriptor() ([]byte, []int) + func (*PdkCall) ProtoMessage() + func (x *PdkCall) GetArgs() []*PdkArg + func (x *PdkCall) GetCmd() string + func (x *PdkCall) GetEventId() int64 + func (x *PdkCall) GetSequence() int64 + func (x *PdkCall) ProtoReflect() protoreflect.Message + func (x *PdkCall) Reset() + func (x *PdkCall) String() string + type PdkReturn struct + Arg *PdkArg + Cmd string + EventId int64 + Sequence int64 + func (*PdkReturn) Descriptor() ([]byte, []int) + func (*PdkReturn) ProtoMessage() + func (x *PdkReturn) GetArg() *PdkArg + func (x *PdkReturn) GetCmd() string + func (x *PdkReturn) GetEventId() int64 + func (x *PdkReturn) GetSequence() int64 + func (x *PdkReturn) ProtoReflect() protoreflect.Message + func (x *PdkReturn) Reset() + func (x *PdkReturn) String() string + type PluginInfo struct + LoadedAt int64 + Name string + Phases []string + Priority int32 + Schema string + UpdatedAt int64 + Version string + func (*PluginInfo) Descriptor() ([]byte, []int) + func (*PluginInfo) ProtoMessage() + func (x *PluginInfo) GetLoadedAt() int64 + func (x *PluginInfo) GetName() string + func (x *PluginInfo) GetPhases() []string + func (x *PluginInfo) GetPriority() int32 + func (x *PluginInfo) GetSchema() string + func (x *PluginInfo) GetUpdatedAt() int64 + func (x *PluginInfo) GetVersion() string + func (x *PluginInfo) ProtoReflect() protoreflect.Message + func (x *PluginInfo) Reset() + func (x *PluginInfo) String() string + type PluginNames struct + Names []string + func (*PluginNames) Descriptor() ([]byte, []int) + func (*PluginNames) ProtoMessage() + func (x *PluginNames) GetNames() []string + func (x *PluginNames) ProtoReflect() protoreflect.Message + func (x *PluginNames) Reset() + func (x *PluginNames) String() string + type RawBodyResult struct + Kind isRawBodyResult_Kind + func (*RawBodyResult) Descriptor() ([]byte, []int) + func (*RawBodyResult) ProtoMessage() + func (m *RawBodyResult) GetKind() isRawBodyResult_Kind + func (x *RawBodyResult) GetBodyFilepath() string + func (x *RawBodyResult) GetContent() []byte + func (x *RawBodyResult) GetError() string + func (x *RawBodyResult) ProtoReflect() protoreflect.Message + func (x *RawBodyResult) Reset() + func (x *RawBodyResult) String() string + type RawBodyResult_BodyFilepath struct + BodyFilepath string + type RawBodyResult_Content struct + Content []byte + type RawBodyResult_Error struct + Error string + type Route struct + CreatedAt int64 + Destinations []string + Headers []string + Hosts []string + HttpsRedirectStatusCode int32 + Id string + Methods []string + Name string + Paths []string + PreserveHost bool + Protocols []string + RegexPriority int32 + Service *ServiceKey + Snis []string + Sources []string + StripPath bool + Tags []string + UpdatedAt int64 + func (*Route) Descriptor() ([]byte, []int) + func (*Route) ProtoMessage() + func (x *Route) GetCreatedAt() int64 + func (x *Route) GetDestinations() []string + func (x *Route) GetHeaders() []string + func (x *Route) GetHosts() []string + func (x *Route) GetHttpsRedirectStatusCode() int32 + func (x *Route) GetId() string + func (x *Route) GetMethods() []string + func (x *Route) GetName() string + func (x *Route) GetPaths() []string + func (x *Route) GetPreserveHost() bool + func (x *Route) GetProtocols() []string + func (x *Route) GetRegexPriority() int32 + func (x *Route) GetService() *ServiceKey + func (x *Route) GetSnis() []string + func (x *Route) GetSources() []string + func (x *Route) GetStripPath() bool + func (x *Route) GetTags() []string + func (x *Route) GetUpdatedAt() int64 + func (x *Route) ProtoReflect() protoreflect.Message + func (x *Route) Reset() + func (x *Route) String() string + type RpcCall struct + Call isRpcCall_Call + Sequence int64 + func (*RpcCall) Descriptor() ([]byte, []int) + func (*RpcCall) ProtoMessage() + func (m *RpcCall) GetCall() isRpcCall_Call + func (x *RpcCall) GetCmdCloseInstance() *CmdCloseInstance + func (x *RpcCall) GetCmdGetInstanceStatus() *CmdGetInstanceStatus + func (x *RpcCall) GetCmdGetPluginInfo() *CmdGetPluginInfo + func (x *RpcCall) GetCmdGetPluginNames() *CmdGetPluginNames + func (x *RpcCall) GetCmdHandleEvent() *CmdHandleEvent + func (x *RpcCall) GetCmdStartInstance() *CmdStartInstance + func (x *RpcCall) GetSequence() int64 + func (x *RpcCall) ProtoReflect() protoreflect.Message + func (x *RpcCall) Reset() + func (x *RpcCall) String() string + type RpcCall_CmdCloseInstance struct + CmdCloseInstance *CmdCloseInstance + type RpcCall_CmdGetInstanceStatus struct + CmdGetInstanceStatus *CmdGetInstanceStatus + type RpcCall_CmdGetPluginInfo struct + CmdGetPluginInfo *CmdGetPluginInfo + type RpcCall_CmdGetPluginNames struct + CmdGetPluginNames *CmdGetPluginNames + type RpcCall_CmdHandleEvent struct + CmdHandleEvent *CmdHandleEvent + type RpcCall_CmdStartInstance struct + CmdStartInstance *CmdStartInstance + type RpcReturn struct + Return isRpcReturn_Return + Sequence int64 + func (*RpcReturn) Descriptor() ([]byte, []int) + func (*RpcReturn) ProtoMessage() + func (m *RpcReturn) GetReturn() isRpcReturn_Return + func (x *RpcReturn) GetInstanceStatus() *InstanceStatus + func (x *RpcReturn) GetPluginInfo() *PluginInfo + func (x *RpcReturn) GetPluginNames() *PluginNames + func (x *RpcReturn) GetSequence() int64 + func (x *RpcReturn) ProtoReflect() protoreflect.Message + func (x *RpcReturn) Reset() + func (x *RpcReturn) String() string + type RpcReturn_InstanceStatus struct + InstanceStatus *InstanceStatus + type RpcReturn_PluginInfo struct + PluginInfo *PluginInfo + type RpcReturn_PluginNames struct + PluginNames *PluginNames + type Service struct + ClientCertificate *CertificateKey + ConnectTimeout int32 + CreatedAt int64 + Host string + Id string + Name string + Path string + Port int32 + Protocol string + ReadTimeout int32 + Retries int32 + Tags []string + UpdatedAt int64 + WriteTimeout int32 + func (*Service) Descriptor() ([]byte, []int) + func (*Service) ProtoMessage() + func (x *Service) GetClientCertificate() *CertificateKey + func (x *Service) GetConnectTimeout() int32 + func (x *Service) GetCreatedAt() int64 + func (x *Service) GetHost() string + func (x *Service) GetId() string + func (x *Service) GetName() string + func (x *Service) GetPath() string + func (x *Service) GetPort() int32 + func (x *Service) GetProtocol() string + func (x *Service) GetReadTimeout() int32 + func (x *Service) GetRetries() int32 + func (x *Service) GetTags() []string + func (x *Service) GetUpdatedAt() int64 + func (x *Service) GetWriteTimeout() int32 + func (x *Service) ProtoReflect() protoreflect.Message + func (x *Service) Reset() + func (x *Service) String() string + type ServiceKey struct + Id string + func (*ServiceKey) Descriptor() ([]byte, []int) + func (*ServiceKey) ProtoMessage() + func (x *ServiceKey) GetId() string + func (x *ServiceKey) ProtoReflect() protoreflect.Message + func (x *ServiceKey) Reset() + func (x *ServiceKey) String() string + type String struct + V string + func (*String) Descriptor() ([]byte, []int) + func (*String) ProtoMessage() + func (x *String) GetV() string + func (x *String) ProtoReflect() protoreflect.Message + func (x *String) Reset() + func (x *String) String() string + type StringMap struct + M map[string]string + func (*StringMap) Descriptor() ([]byte, []int) + func (*StringMap) ProtoMessage() + func (x *StringMap) GetM() map[string]string + func (x *StringMap) ProtoReflect() protoreflect.Message + func (x *StringMap) Reset() + func (x *StringMap) String() string + type Target struct + Host string + Port int32 + func (*Target) Descriptor() ([]byte, []int) + func (*Target) ProtoMessage() + func (x *Target) GetHost() string + func (x *Target) GetPort() int32 + func (x *Target) ProtoReflect() protoreflect.Message + func (x *Target) Reset() + func (x *Target) String() string + type UriCapturesResult struct + Named map[string][]byte + Unnamed [][]byte + func (*UriCapturesResult) Descriptor() ([]byte, []int) + func (*UriCapturesResult) ProtoMessage() + func (x *UriCapturesResult) GetNamed() map[string][]byte + func (x *UriCapturesResult) GetUnnamed() [][]byte + func (x *UriCapturesResult) ProtoReflect() protoreflect.Message + func (x *UriCapturesResult) Reset() + func (x *UriCapturesResult) String() string