trace_pb

package
v0.18.58 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MessageType_name = map[int32]string{
		0: "ChannelStateType",
		1: "ChannelMessageType",
	}
	MessageType_value = map[string]int32{
		"ChannelStateType":   0,
		"ChannelMessageType": 1,
	}
)

Enum value maps for MessageType.

View Source
var (
	TraceToggleVerbosity_name = map[int32]string{
		0: "ReportNone",
		1: "ReportMatches",
		2: "ReportMisses",
		3: "ReportAll",
	}
	TraceToggleVerbosity_value = map[string]int32{
		"ReportNone":    0,
		"ReportMatches": 1,
		"ReportMisses":  2,
		"ReportAll":     3,
	}
)

Enum value maps for TraceToggleVerbosity.

View Source
var File_trace_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ChannelMessage

type ChannelMessage struct {
	Timestamp   int64  `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Identity    string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"`
	Channel     string `protobuf:"bytes,3,opt,name=channel,proto3" json:"channel,omitempty"`
	IsRx        bool   `protobuf:"varint,4,opt,name=isRx,proto3" json:"isRx,omitempty"`
	ContentType int32  `protobuf:"varint,5,opt,name=contentType,proto3" json:"contentType,omitempty"`
	Sequence    int32  `protobuf:"varint,6,opt,name=sequence,proto3" json:"sequence,omitempty"`
	ReplyFor    int32  `protobuf:"varint,7,opt,name=replyFor,proto3" json:"replyFor,omitempty"`
	Length      int32  `protobuf:"varint,8,opt,name=length,proto3" json:"length,omitempty"`
	Decode      []byte `protobuf:"bytes,9,opt,name=decode,proto3" json:"decode,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelMessage) Descriptor deprecated

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

Deprecated: Use ChannelMessage.ProtoReflect.Descriptor instead.

func (*ChannelMessage) GetChannel

func (x *ChannelMessage) GetChannel() string

func (*ChannelMessage) GetContentType

func (x *ChannelMessage) GetContentType() int32

func (*ChannelMessage) GetDecode

func (x *ChannelMessage) GetDecode() []byte

func (*ChannelMessage) GetIdentity

func (x *ChannelMessage) GetIdentity() string

func (*ChannelMessage) GetIsRx

func (x *ChannelMessage) GetIsRx() bool

func (*ChannelMessage) GetLength

func (x *ChannelMessage) GetLength() int32

func (*ChannelMessage) GetReplyFor

func (x *ChannelMessage) GetReplyFor() int32

func (*ChannelMessage) GetSequence

func (x *ChannelMessage) GetSequence() int32

func (*ChannelMessage) GetTimestamp

func (x *ChannelMessage) GetTimestamp() int64

func (*ChannelMessage) ProtoMessage

func (*ChannelMessage) ProtoMessage()

func (*ChannelMessage) ProtoReflect added in v0.18.30

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

func (*ChannelMessage) Reset

func (x *ChannelMessage) Reset()

func (*ChannelMessage) String

func (x *ChannelMessage) String() string

type ChannelState

type ChannelState struct {
	Timestamp     int64  `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Identity      string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"`
	Channel       string `protobuf:"bytes,3,opt,name=channel,proto3" json:"channel,omitempty"`
	Connected     bool   `protobuf:"varint,4,opt,name=connected,proto3" json:"connected,omitempty"`
	RemoteAddress string `protobuf:"bytes,5,opt,name=remoteAddress,proto3" json:"remoteAddress,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelState) Descriptor deprecated

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

Deprecated: Use ChannelState.ProtoReflect.Descriptor instead.

func (*ChannelState) GetChannel

func (x *ChannelState) GetChannel() string

func (*ChannelState) GetConnected

func (x *ChannelState) GetConnected() bool

func (*ChannelState) GetIdentity

func (x *ChannelState) GetIdentity() string

func (*ChannelState) GetRemoteAddress

func (x *ChannelState) GetRemoteAddress() string

func (*ChannelState) GetTimestamp

func (x *ChannelState) GetTimestamp() int64

func (*ChannelState) ProtoMessage

func (*ChannelState) ProtoMessage()

func (*ChannelState) ProtoReflect added in v0.18.30

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

func (*ChannelState) Reset

func (x *ChannelState) Reset()

func (*ChannelState) String

func (x *ChannelState) String() string

type MessageType

type MessageType int32
const (
	MessageType_ChannelStateType   MessageType = 0
	MessageType_ChannelMessageType MessageType = 1
)

func (MessageType) Descriptor added in v0.18.30

func (MessageType) Enum added in v0.18.30

func (x MessageType) Enum() *MessageType

func (MessageType) EnumDescriptor deprecated

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

Deprecated: Use MessageType.Descriptor instead.

func (MessageType) Number added in v0.18.30

func (x MessageType) Number() protoreflect.EnumNumber

func (MessageType) String

func (x MessageType) String() string

func (MessageType) Type added in v0.18.30

type TogglePipeTracesRequest

type TogglePipeTracesRequest struct {
	Enable    bool                 `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"`
	Verbosity TraceToggleVerbosity `protobuf:"varint,2,opt,name=verbosity,proto3,enum=ziti.trace.pb.TraceToggleVerbosity" json:"verbosity,omitempty"`
	AppRegex  string               `protobuf:"bytes,3,opt,name=appRegex,proto3" json:"appRegex,omitempty"`
	PipeRegex string               `protobuf:"bytes,4,opt,name=pipeRegex,proto3" json:"pipeRegex,omitempty"`
	// contains filtered or unexported fields
}

func (*TogglePipeTracesRequest) Descriptor deprecated

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

Deprecated: Use TogglePipeTracesRequest.ProtoReflect.Descriptor instead.

func (*TogglePipeTracesRequest) GetAppRegex

func (x *TogglePipeTracesRequest) GetAppRegex() string

func (*TogglePipeTracesRequest) GetEnable

func (x *TogglePipeTracesRequest) GetEnable() bool

func (*TogglePipeTracesRequest) GetPipeRegex

func (x *TogglePipeTracesRequest) GetPipeRegex() string

func (*TogglePipeTracesRequest) GetVerbosity

func (*TogglePipeTracesRequest) ProtoMessage

func (*TogglePipeTracesRequest) ProtoMessage()

func (*TogglePipeTracesRequest) ProtoReflect added in v0.18.30

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

func (*TogglePipeTracesRequest) Reset

func (x *TogglePipeTracesRequest) Reset()

func (*TogglePipeTracesRequest) String

func (x *TogglePipeTracesRequest) String() string

type TraceToggleVerbosity

type TraceToggleVerbosity int32
const (
	TraceToggleVerbosity_ReportNone    TraceToggleVerbosity = 0
	TraceToggleVerbosity_ReportMatches TraceToggleVerbosity = 1
	TraceToggleVerbosity_ReportMisses  TraceToggleVerbosity = 2
	TraceToggleVerbosity_ReportAll     TraceToggleVerbosity = 3
)

func (TraceToggleVerbosity) Descriptor added in v0.18.30

func (TraceToggleVerbosity) Enum added in v0.18.30

func (TraceToggleVerbosity) EnumDescriptor deprecated

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

Deprecated: Use TraceToggleVerbosity.Descriptor instead.

func (TraceToggleVerbosity) Number added in v0.18.30

func (TraceToggleVerbosity) String

func (x TraceToggleVerbosity) String() string

func (TraceToggleVerbosity) Type added in v0.18.30

Jump to

Keyboard shortcuts

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