grpc_channelz_v1
v1.14.0
github.com/bglmmz/grpc/channelz/grpc_channelz_v1
Documentation
pkg.go.dev ↗Variables
ChannelConnectivityState_State_name
var ChannelConnectivityState_State_name = map[int32]string{
0: "UNKNOWN",
1: "IDLE",
2: "CONNECTING",
3: "READY",
4: "TRANSIENT_FAILURE",
5: "SHUTDOWN",
}
ChannelConnectivityState_State_value
var ChannelConnectivityState_State_value = map[string]int32{
"UNKNOWN": 0,
"IDLE": 1,
"CONNECTING": 2,
"READY": 3,
"TRANSIENT_FAILURE": 4,
"SHUTDOWN": 5,
}
ChannelTraceEvent_Severity_name
var ChannelTraceEvent_Severity_name = map[int32]string{
0: "CT_UNKNOWN",
1: "CT_INFO",
2: "CT_WARNING",
3: "CT_ERROR",
}
ChannelTraceEvent_Severity_value
var ChannelTraceEvent_Severity_value = map[string]int32{
"CT_UNKNOWN": 0,
"CT_INFO": 1,
"CT_WARNING": 2,
"CT_ERROR": 3,
}
Functions
RegisterChannelzServer
func RegisterChannelzServer(s *grpc.Server, srv ChannelzServer)
Types
Address
type Address struct {
// Types that are valid to be assigned to Address:
// *Address_TcpipAddress
// *Address_UdsAddress_
// *Address_OtherAddress_
Address isAddress_Address `protobuf_oneof:"address"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Address represents the address used to create the socket.
Address.Descriptor
func (*Address) Descriptor() ([]byte, []int)
Address.GetAddress
func (m *Address) GetAddress() isAddress_Address
Address.GetOtherAddress
func (m *Address) GetOtherAddress() *Address_OtherAddress
Address.GetTcpipAddress
func (m *Address) GetTcpipAddress() *Address_TcpIpAddress
Address.GetUdsAddress
func (m *Address) GetUdsAddress() *Address_UdsAddress
Address.ProtoMessage
func (*Address) ProtoMessage()
Address.Reset
func (m *Address) Reset()
Address.String
func (m *Address) String() string
Address.XXX_DiscardUnknown
func (m *Address) XXX_DiscardUnknown()
Address.XXX_Marshal
func (m *Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
Address.XXX_Merge
func (dst *Address) XXX_Merge(src proto.Message)
Address.XXX_OneofFuncs
func (*Address) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
Address.XXX_Size
func (m *Address) XXX_Size() int
Address.XXX_Unmarshal
func (m *Address) XXX_Unmarshal(b []byte) error
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 *any.Any `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
An address type not included above.
Address_OtherAddress.Descriptor
func (*Address_OtherAddress) Descriptor() ([]byte, []int)
Address_OtherAddress.GetName
func (m *Address_OtherAddress) GetName() string
Address_OtherAddress.GetValue
func (m *Address_OtherAddress) GetValue() *any.Any
Address_OtherAddress.ProtoMessage
func (*Address_OtherAddress) ProtoMessage()
Address_OtherAddress.Reset
func (m *Address_OtherAddress) Reset()
Address_OtherAddress.String
func (m *Address_OtherAddress) String() string
Address_OtherAddress.XXX_DiscardUnknown
func (m *Address_OtherAddress) XXX_DiscardUnknown()
Address_OtherAddress.XXX_Marshal
func (m *Address_OtherAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
Address_OtherAddress.XXX_Merge
func (dst *Address_OtherAddress) XXX_Merge(src proto.Message)
Address_OtherAddress.XXX_Size
func (m *Address_OtherAddress) XXX_Size() int
Address_OtherAddress.XXX_Unmarshal
func (m *Address_OtherAddress) XXX_Unmarshal(b []byte) error
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Address_TcpIpAddress.Descriptor
func (*Address_TcpIpAddress) Descriptor() ([]byte, []int)
Address_TcpIpAddress.GetIpAddress
func (m *Address_TcpIpAddress) GetIpAddress() []byte
Address_TcpIpAddress.GetPort
func (m *Address_TcpIpAddress) GetPort() int32
Address_TcpIpAddress.ProtoMessage
func (*Address_TcpIpAddress) ProtoMessage()
Address_TcpIpAddress.Reset
func (m *Address_TcpIpAddress) Reset()
Address_TcpIpAddress.String
func (m *Address_TcpIpAddress) String() string
Showing entries 1–40 of 531.
Use Contents to jump to any section or symbol.