grpc_channelz_v1
v1.51.4
github.com/lfch/grpc/channelz/grpc_channelz_v1
Documentation
pkg.go.dev ↗Variables
ChannelConnectivityState_State_name (2 declarations)
var (
ChannelConnectivityState_State_name = map[int32]string{
0: "UNKNOWN",
1: "IDLE",
2: "CONNECTING",
3: "READY",
4: "TRANSIENT_FAILURE",
5: "SHUTDOWN",
}
ChannelConnectivityState_State_value = map[string]int32{
"UNKNOWN": 0,
"IDLE": 1,
"CONNECTING": 2,
"READY": 3,
"TRANSIENT_FAILURE": 4,
"SHUTDOWN": 5,
}
)
Enum value maps for ChannelConnectivityState_State.
ChannelTraceEvent_Severity_name (2 declarations)
var (
ChannelTraceEvent_Severity_name = map[int32]string{
0: "CT_UNKNOWN",
1: "CT_INFO",
2: "CT_WARNING",
3: "CT_ERROR",
}
ChannelTraceEvent_Severity_value = map[string]int32{
"CT_UNKNOWN": 0,
"CT_INFO": 1,
"CT_WARNING": 2,
"CT_ERROR": 3,
}
)
Enum value maps for ChannelTraceEvent_Severity.
Channelz_ServiceDesc
var Channelz_ServiceDesc = grpc.ServiceDesc{
ServiceName: "grpc.channelz.v1.Channelz",
HandlerType: (*ChannelzServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "GetTopChannels",
Handler: _Channelz_GetTopChannels_Handler,
},
{
MethodName: "GetServers",
Handler: _Channelz_GetServers_Handler,
},
{
MethodName: "GetServer",
Handler: _Channelz_GetServer_Handler,
},
{
MethodName: "GetServerSockets",
Handler: _Channelz_GetServerSockets_Handler,
},
{
MethodName: "GetChannel",
Handler: _Channelz_GetChannel_Handler,
},
{
MethodName: "GetSubchannel",
Handler: _Channelz_GetSubchannel_Handler,
},
{
MethodName: "GetSocket",
Handler: _Channelz_GetSocket_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "grpc/channelz/v1/channelz.proto",
}
Channelz_ServiceDesc is the grpc.ServiceDesc for Channelz service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
File_grpc_channelz_v1_channelz_proto
var File_grpc_channelz_v1_channelz_proto protoreflect.FileDescriptor
Functions
RegisterChannelzServer
func RegisterChannelzServer(s grpc.ServiceRegistrar, srv ChannelzServer)
Types
Address
type Address struct {
// Types that are assignable to Address:
// *Address_TcpipAddress
// *Address_UdsAddress_
// *Address_OtherAddress_
Address isAddress_Address `protobuf_oneof:"address"`
// contains filtered or unexported fields
}
Address represents the address used to create the socket.
Address.Descriptor
func (*Address) Descriptor() ([]byte, []int)
Deprecated: Use Address.ProtoReflect.Descriptor instead.
Address.GetAddress
func (m *Address) GetAddress() isAddress_Address
Address.GetOtherAddress
func (x *Address) GetOtherAddress() *Address_OtherAddress
Address.GetTcpipAddress
func (x *Address) GetTcpipAddress() *Address_TcpIpAddress
Address.GetUdsAddress
func (x *Address) GetUdsAddress() *Address_UdsAddress
Address.ProtoMessage
func (*Address) ProtoMessage()
Address.ProtoReflect
func (x *Address) ProtoReflect() protoreflect.Message
Address.Reset
func (x *Address) Reset()
Address.String
func (x *Address) String() string
Address_OtherAddress
type Address_OtherAddress struct {
// The human readable version of the value. This value should be set.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The actual address message.
Value *anypb.Any `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
An address type not included above.
Address_OtherAddress.Descriptor
func (*Address_OtherAddress) Descriptor() ([]byte, []int)
Deprecated: Use Address_OtherAddress.ProtoReflect.Descriptor instead.
Address_OtherAddress.GetName
func (x *Address_OtherAddress) GetName() string
Address_OtherAddress.GetValue
func (x *Address_OtherAddress) GetValue() *anypb.Any
Address_OtherAddress.ProtoMessage
func (*Address_OtherAddress) ProtoMessage()
Address_OtherAddress.ProtoReflect
func (x *Address_OtherAddress) ProtoReflect() protoreflect.Message
Address_OtherAddress.Reset
func (x *Address_OtherAddress) Reset()
Address_OtherAddress.String
func (x *Address_OtherAddress) String() string
Address_OtherAddress_
type Address_OtherAddress_ struct {
OtherAddress *Address_OtherAddress `protobuf:"bytes,3,opt,name=other_address,json=otherAddress,proto3,oneof"`
}
Address_TcpIpAddress
type Address_TcpIpAddress struct {
// Either the IPv4 or IPv6 address in bytes. Will be either 4 bytes or 16
// bytes in length.
IpAddress []byte `protobuf:"bytes,1,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
// 0-64k, or -1 if not appropriate.
Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
// contains filtered or unexported fields
}
Address_TcpIpAddress.Descriptor
func (*Address_TcpIpAddress) Descriptor() ([]byte, []int)
Deprecated: Use Address_TcpIpAddress.ProtoReflect.Descriptor instead.
Address_TcpIpAddress.GetIpAddress
func (x *Address_TcpIpAddress) GetIpAddress() []byte
Address_TcpIpAddress.GetPort
func (x *Address_TcpIpAddress) GetPort() int32
Address_TcpIpAddress.ProtoMessage
func (*Address_TcpIpAddress) ProtoMessage()
Address_TcpIpAddress.ProtoReflect
func (x *Address_TcpIpAddress) ProtoReflect() protoreflect.Message
Address_TcpIpAddress.Reset
func (x *Address_TcpIpAddress) Reset()
Address_TcpIpAddress.String
func (x *Address_TcpIpAddress) String() string
Address_TcpipAddress
type Address_TcpipAddress struct {
TcpipAddress *Address_TcpIpAddress `protobuf:"bytes,1,opt,name=tcpip_address,json=tcpipAddress,proto3,oneof"`
}
Address_UdsAddress
type Address_UdsAddress struct {
Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"`
// contains filtered or unexported fields
}
A Unix Domain Socket address.
Address_UdsAddress.Descriptor
func (*Address_UdsAddress) Descriptor() ([]byte, []int)
Deprecated: Use Address_UdsAddress.ProtoReflect.Descriptor instead.
Address_UdsAddress.GetFilename
func (x *Address_UdsAddress) GetFilename() string
Address_UdsAddress.ProtoMessage
func (*Address_UdsAddress) ProtoMessage()
Address_UdsAddress.ProtoReflect
func (x *Address_UdsAddress) ProtoReflect() protoreflect.Message
Address_UdsAddress.Reset
func (x *Address_UdsAddress) Reset()
Address_UdsAddress.String
func (x *Address_UdsAddress) String() string
Showing entries 1–40 of 414.
Use Contents to jump to any section or symbol.