v3

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use CPU.ProtoReflect.Descriptor instead.

func (*CPU) GetUsagePercent

func (x *CPU) GetUsagePercent() float64

func (*CPU) ProtoMessage

func (*CPU) ProtoMessage()

func (*CPU) ProtoReflect

func (x *CPU) ProtoReflect() protoreflect.Message

func (*CPU) Reset

func (x *CPU) Reset()

func (*CPU) String

func (x *CPU) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Command.ProtoReflect.Descriptor instead.

func (*Command) GetArgs

func (x *Command) GetArgs() []*KeyStringValuePair

func (*Command) GetCommand

func (x *Command) GetCommand() string

func (*Command) ProtoMessage

func (*Command) ProtoMessage()

func (*Command) ProtoReflect

func (x *Command) ProtoReflect() protoreflect.Message

func (*Command) Reset

func (x *Command) Reset()

func (*Command) String

func (x *Command) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Commands.ProtoReflect.Descriptor instead.

func (*Commands) GetCommands

func (x *Commands) GetCommands() []*Command

func (*Commands) ProtoMessage

func (*Commands) ProtoMessage()

func (*Commands) ProtoReflect

func (x *Commands) ProtoReflect() protoreflect.Message

func (*Commands) Reset

func (x *Commands) Reset()

func (*Commands) String

func (x *Commands) String() string

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) 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

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

Jump to

Keyboard shortcuts

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