v2

package
v0.0.0-...-5b17d3f Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DetectPointV2_name = map[int32]string{
	0: "client",
	1: "server",
	2: "proxy",
}
View Source
var DetectPointV2_value = map[string]int32{
	"client": 0,
	"server": 1,
	"proxy":  2,
}

Functions

This section is empty.

Types

type CPUV2

type CPUV2 struct {
	UsagePercent         float64  `protobuf:"fixed64,2,opt,name=usagePercent,proto3" json:"usagePercent,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CPUV2) Descriptor

func (*CPUV2) Descriptor() ([]byte, []int)

func (*CPUV2) GetUsagePercent

func (m *CPUV2) GetUsagePercent() float64

func (*CPUV2) ProtoMessage

func (*CPUV2) ProtoMessage()

func (*CPUV2) Reset

func (m *CPUV2) Reset()

func (*CPUV2) String

func (m *CPUV2) String() string

func (*CPUV2) XXX_DiscardUnknown

func (m *CPUV2) XXX_DiscardUnknown()

func (*CPUV2) XXX_Marshal

func (m *CPUV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CPUV2) XXX_Merge

func (m *CPUV2) XXX_Merge(src proto.Message)

func (*CPUV2) XXX_Size

func (m *CPUV2) XXX_Size() int

func (*CPUV2) XXX_Unmarshal

func (m *CPUV2) XXX_Unmarshal(b []byte) error

type CommandV2

type CommandV2 struct {
	Command              string                  `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
	Args                 []*KeyStringValuePairV2 `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*CommandV2) Descriptor

func (*CommandV2) Descriptor() ([]byte, []int)

func (*CommandV2) GetArgs

func (m *CommandV2) GetArgs() []*KeyStringValuePairV2

func (*CommandV2) GetCommand

func (m *CommandV2) GetCommand() string

func (*CommandV2) ProtoMessage

func (*CommandV2) ProtoMessage()

func (*CommandV2) Reset

func (m *CommandV2) Reset()

func (*CommandV2) String

func (m *CommandV2) String() string

func (*CommandV2) XXX_DiscardUnknown

func (m *CommandV2) XXX_DiscardUnknown()

func (*CommandV2) XXX_Marshal

func (m *CommandV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CommandV2) XXX_Merge

func (m *CommandV2) XXX_Merge(src proto.Message)

func (*CommandV2) XXX_Size

func (m *CommandV2) XXX_Size() int

func (*CommandV2) XXX_Unmarshal

func (m *CommandV2) XXX_Unmarshal(b []byte) error

type CommandsV2

type CommandsV2 struct {
	Commands             []*CommandV2 `protobuf:"bytes,1,rep,name=commands,proto3" json:"commands,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*CommandsV2) Descriptor

func (*CommandsV2) Descriptor() ([]byte, []int)

func (*CommandsV2) GetCommands

func (m *CommandsV2) GetCommands() []*CommandV2

func (*CommandsV2) ProtoMessage

func (*CommandsV2) ProtoMessage()

func (*CommandsV2) Reset

func (m *CommandsV2) Reset()

func (*CommandsV2) String

func (m *CommandsV2) String() string

func (*CommandsV2) XXX_DiscardUnknown

func (m *CommandsV2) XXX_DiscardUnknown()

func (*CommandsV2) XXX_Marshal

func (m *CommandsV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CommandsV2) XXX_Merge

func (m *CommandsV2) XXX_Merge(src proto.Message)

func (*CommandsV2) XXX_Size

func (m *CommandsV2) XXX_Size() int

func (*CommandsV2) XXX_Unmarshal

func (m *CommandsV2) XXX_Unmarshal(b []byte) error

type DetectPointV2

type DetectPointV2 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 (
	DetectPointV2_client DetectPointV2 = 0
	DetectPointV2_server DetectPointV2 = 1
	DetectPointV2_proxy  DetectPointV2 = 2
)

func (DetectPointV2) EnumDescriptor

func (DetectPointV2) EnumDescriptor() ([]byte, []int)

func (DetectPointV2) String

func (x DetectPointV2) String() string

type KeyIntValuePairV2

type KeyIntValuePairV2 struct {
	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value                int32    `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KeyIntValuePairV2) Descriptor

func (*KeyIntValuePairV2) Descriptor() ([]byte, []int)

func (*KeyIntValuePairV2) GetKey

func (m *KeyIntValuePairV2) GetKey() string

func (*KeyIntValuePairV2) GetValue

func (m *KeyIntValuePairV2) GetValue() int32

func (*KeyIntValuePairV2) ProtoMessage

func (*KeyIntValuePairV2) ProtoMessage()

func (*KeyIntValuePairV2) Reset

func (m *KeyIntValuePairV2) Reset()

func (*KeyIntValuePairV2) String

func (m *KeyIntValuePairV2) String() string

func (*KeyIntValuePairV2) XXX_DiscardUnknown

func (m *KeyIntValuePairV2) XXX_DiscardUnknown()

func (*KeyIntValuePairV2) XXX_Marshal

func (m *KeyIntValuePairV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeyIntValuePairV2) XXX_Merge

func (m *KeyIntValuePairV2) XXX_Merge(src proto.Message)

func (*KeyIntValuePairV2) XXX_Size

func (m *KeyIntValuePairV2) XXX_Size() int

func (*KeyIntValuePairV2) XXX_Unmarshal

func (m *KeyIntValuePairV2) XXX_Unmarshal(b []byte) error

type KeyStringValuePairV2

type KeyStringValuePairV2 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KeyStringValuePairV2) Descriptor

func (*KeyStringValuePairV2) Descriptor() ([]byte, []int)

func (*KeyStringValuePairV2) GetKey

func (m *KeyStringValuePairV2) GetKey() string

func (*KeyStringValuePairV2) GetValue

func (m *KeyStringValuePairV2) GetValue() string

func (*KeyStringValuePairV2) ProtoMessage

func (*KeyStringValuePairV2) ProtoMessage()

func (*KeyStringValuePairV2) Reset

func (m *KeyStringValuePairV2) Reset()

func (*KeyStringValuePairV2) String

func (m *KeyStringValuePairV2) String() string

func (*KeyStringValuePairV2) XXX_DiscardUnknown

func (m *KeyStringValuePairV2) XXX_DiscardUnknown()

func (*KeyStringValuePairV2) XXX_Marshal

func (m *KeyStringValuePairV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KeyStringValuePairV2) XXX_Merge

func (m *KeyStringValuePairV2) XXX_Merge(src proto.Message)

func (*KeyStringValuePairV2) XXX_Size

func (m *KeyStringValuePairV2) XXX_Size() int

func (*KeyStringValuePairV2) XXX_Unmarshal

func (m *KeyStringValuePairV2) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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