Documentation ¶
Index ¶
- Variables
- type CPU
- type Command
- type Commands
- type DetectPoint
- func (DetectPoint) Descriptor() protoreflect.EnumDescriptor
- func (x DetectPoint) Enum() *DetectPoint
- func (DetectPoint) EnumDescriptor() ([]byte, []int)deprecated
- func (x DetectPoint) Number() protoreflect.EnumNumber
- func (x DetectPoint) String() string
- func (DetectPoint) Type() protoreflect.EnumType
- type KeyStringValuePair
- func (*KeyStringValuePair) Descriptor() ([]byte, []int)deprecated
- func (x *KeyStringValuePair) GetKey() string
- func (x *KeyStringValuePair) GetValue() string
- func (*KeyStringValuePair) ProtoMessage()
- func (x *KeyStringValuePair) ProtoReflect() protoreflect.Message
- func (x *KeyStringValuePair) Reset()
- func (x *KeyStringValuePair) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DetectPoint_name = map[int32]string{ 0: "client", 1: "server", 2: "proxy", } DetectPoint_value = map[string]int32{ "client": 0, "server": 1, "proxy": 2, } )
Enum value maps for DetectPoint.
View Source
var File_common_Common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CPU ¶
type CPU struct { UsagePercent float64 `protobuf:"fixed64,2,opt,name=usagePercent,proto3" json:"usagePercent,omitempty"` // contains filtered or unexported fields }
func (*CPU) Descriptor
deprecated
func (*CPU) GetUsagePercent ¶
func (*CPU) ProtoMessage ¶
func (*CPU) ProtoMessage()
func (*CPU) ProtoReflect ¶
func (x *CPU) ProtoReflect() protoreflect.Message
type Command ¶
type Command struct { Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"` Args []*KeyStringValuePair `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"` // contains filtered or unexported fields }
func (*Command) Descriptor
deprecated
func (*Command) GetArgs ¶
func (x *Command) GetArgs() []*KeyStringValuePair
func (*Command) GetCommand ¶
func (*Command) ProtoMessage ¶
func (*Command) ProtoMessage()
func (*Command) ProtoReflect ¶
func (x *Command) ProtoReflect() protoreflect.Message
type Commands ¶
type Commands struct { Commands []*Command `protobuf:"bytes,1,rep,name=commands,proto3" json:"commands,omitempty"` // contains filtered or unexported fields }
func (*Commands) Descriptor
deprecated
func (*Commands) GetCommands ¶
func (*Commands) ProtoMessage ¶
func (*Commands) ProtoMessage()
func (*Commands) ProtoReflect ¶
func (x *Commands) ProtoReflect() protoreflect.Message
type DetectPoint ¶
type DetectPoint int32
In most cases, detect point should be `server` or `client`. Even in service mesh, this means `server`/`client` side sidecar `proxy` is reserved only.
const ( DetectPoint_client DetectPoint = 0 DetectPoint_server DetectPoint = 1 DetectPoint_proxy DetectPoint = 2 )
func (DetectPoint) Descriptor ¶
func (DetectPoint) Descriptor() protoreflect.EnumDescriptor
func (DetectPoint) Enum ¶
func (x DetectPoint) Enum() *DetectPoint
func (DetectPoint) EnumDescriptor
deprecated
func (DetectPoint) EnumDescriptor() ([]byte, []int)
Deprecated: Use DetectPoint.Descriptor instead.
func (DetectPoint) Number ¶
func (x DetectPoint) Number() protoreflect.EnumNumber
func (DetectPoint) String ¶
func (x DetectPoint) String() string
func (DetectPoint) Type ¶
func (DetectPoint) Type() protoreflect.EnumType
type KeyStringValuePair ¶
type KeyStringValuePair struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*KeyStringValuePair) Descriptor
deprecated
func (*KeyStringValuePair) Descriptor() ([]byte, []int)
Deprecated: Use KeyStringValuePair.ProtoReflect.Descriptor instead.
func (*KeyStringValuePair) GetKey ¶
func (x *KeyStringValuePair) GetKey() string
func (*KeyStringValuePair) GetValue ¶
func (x *KeyStringValuePair) GetValue() string
func (*KeyStringValuePair) ProtoMessage ¶
func (*KeyStringValuePair) ProtoMessage()
func (*KeyStringValuePair) ProtoReflect ¶
func (x *KeyStringValuePair) ProtoReflect() protoreflect.Message
func (*KeyStringValuePair) Reset ¶
func (x *KeyStringValuePair) Reset()
func (*KeyStringValuePair) String ¶
func (x *KeyStringValuePair) String() string
Click to show internal directories.
Click to hide internal directories.