mgmt_pb

package
v0.22.56 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const DECODER = "mgmt"

Variables

View Source
var (
	ContentType_name = map[int32]string{
		0:     "Zero",
		10040: "StreamEventsRequestType",
		10041: "StreamEventsEventType",
		10044: "TogglePipeTracesRequestType",
		10045: "ToggleCircuitTracesRequestType",
		10046: "StreamTracesRequestType",
		10047: "StreamTracesEventType",
		10048: "InspectRequestType",
		10049: "InspectResponseType",
		10070: "SnapshotDbRequestType",
		10071: "RouterDebugForgetLinkRequestType",
		10072: "RouterDebugToggleCtrlChannelRequestType",
		10073: "RouterDebugUpdateRouteRequestType",
		10074: "RouterDebugDumpForwarderTablesRequestType",
		10075: "RouterDebugDumpLinksRequestType",
		10080: "RaftListMembersRequestType",
		10081: "RaftListMembersResponseType",
		10082: "RaftAddPeerRequestType",
		10083: "RaftRemovePeerRequestType",
		10084: "RaftTransferLeadershipRequestType",
		10085: "RaftInitFromDb",
	}
	ContentType_value = map[string]int32{
		"Zero":                                      0,
		"StreamEventsRequestType":                   10040,
		"StreamEventsEventType":                     10041,
		"TogglePipeTracesRequestType":               10044,
		"ToggleCircuitTracesRequestType":            10045,
		"StreamTracesRequestType":                   10046,
		"StreamTracesEventType":                     10047,
		"InspectRequestType":                        10048,
		"InspectResponseType":                       10049,
		"SnapshotDbRequestType":                     10070,
		"RouterDebugForgetLinkRequestType":          10071,
		"RouterDebugToggleCtrlChannelRequestType":   10072,
		"RouterDebugUpdateRouteRequestType":         10073,
		"RouterDebugDumpForwarderTablesRequestType": 10074,
		"RouterDebugDumpLinksRequestType":           10075,
		"RaftListMembersRequestType":                10080,
		"RaftListMembersResponseType":               10081,
		"RaftAddPeerRequestType":                    10082,
		"RaftRemovePeerRequestType":                 10083,
		"RaftTransferLeadershipRequestType":         10084,
		"RaftInitFromDb":                            10085,
	}
)

Enum value maps for ContentType.

View Source
var (
	Header_name = map[int32]string{
		0:  "NoneHeader",
		10: "EventTypeHeader",
		11: "CtrlChanToggle",
		12: "ControllerId",
	}
	Header_value = map[string]int32{
		"NoneHeader":      0,
		"EventTypeHeader": 10,
		"CtrlChanToggle":  11,
		"ControllerId":    12,
	}
)

Enum value maps for Header.

View Source
var (
	StreamCircuitEventType_name = map[int32]string{
		0: "CircuitCreated",
		1: "CircuitDeleted",
		2: "CircuitPresent",
		3: "PathUpdated",
		4: "CircuitFailed",
	}
	StreamCircuitEventType_value = map[string]int32{
		"CircuitCreated": 0,
		"CircuitDeleted": 1,
		"CircuitPresent": 2,
		"PathUpdated":    3,
		"CircuitFailed":  4,
	}
)

Enum value maps for StreamCircuitEventType.

View Source
var (
	TraceFilterType_name = map[int32]string{
		0: "EXCLUDE",
		1: "INCLUDE",
	}
	TraceFilterType_value = map[string]int32{
		"EXCLUDE": 0,
		"INCLUDE": 1,
	}
)

Enum value maps for TraceFilterType.

Functions

This section is empty.

Types

type ContentType

type ContentType int32
const (
	// Protoc says this has to be here
	ContentType_Zero ContentType = 0
	// Streams
	ContentType_StreamEventsRequestType        ContentType = 10040
	ContentType_StreamEventsEventType          ContentType = 10041
	ContentType_TogglePipeTracesRequestType    ContentType = 10044
	ContentType_ToggleCircuitTracesRequestType ContentType = 10045
	ContentType_StreamTracesRequestType        ContentType = 10046
	ContentType_StreamTracesEventType          ContentType = 10047
	// Inspect
	ContentType_InspectRequestType  ContentType = 10048
	ContentType_InspectResponseType ContentType = 10049
	// Snapshot db
	ContentType_SnapshotDbRequestType ContentType = 10070
	// Router Mgmt
	ContentType_RouterDebugForgetLinkRequestType          ContentType = 10071
	ContentType_RouterDebugToggleCtrlChannelRequestType   ContentType = 10072
	ContentType_RouterDebugUpdateRouteRequestType         ContentType = 10073
	ContentType_RouterDebugDumpForwarderTablesRequestType ContentType = 10074
	ContentType_RouterDebugDumpLinksRequestType           ContentType = 10075
	// Raft
	ContentType_RaftListMembersRequestType        ContentType = 10080
	ContentType_RaftListMembersResponseType       ContentType = 10081
	ContentType_RaftAddPeerRequestType            ContentType = 10082
	ContentType_RaftRemovePeerRequestType         ContentType = 10083
	ContentType_RaftTransferLeadershipRequestType ContentType = 10084
	ContentType_RaftInitFromDb                    ContentType = 10085
)

func (ContentType) Descriptor added in v0.16.65

func (ContentType) Enum added in v0.16.65

func (x ContentType) Enum() *ContentType

func (ContentType) EnumDescriptor deprecated

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

Deprecated: Use ContentType.Descriptor instead.

func (ContentType) Number added in v0.16.65

func (x ContentType) Number() protoreflect.EnumNumber

func (ContentType) String

func (x ContentType) String() string

func (ContentType) Type added in v0.16.65

type Decoder

type Decoder struct{}

func (Decoder) Decode

func (d Decoder) Decode(msg *channel.Message) ([]byte, bool)
type Header int32
const (
	Header_NoneHeader      Header = 0
	Header_EventTypeHeader Header = 10
	Header_CtrlChanToggle  Header = 11
	Header_ControllerId    Header = 12
)

func (Header) Descriptor added in v0.22.0

func (Header) Descriptor() protoreflect.EnumDescriptor

func (Header) Enum added in v0.22.0

func (x Header) Enum() *Header

func (Header) EnumDescriptor deprecated added in v0.22.0

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

Deprecated: Use Header.Descriptor instead.

func (Header) Number added in v0.22.0

func (x Header) Number() protoreflect.EnumNumber

func (Header) String added in v0.22.0

func (x Header) String() string

func (Header) Type added in v0.22.0

func (Header) Type() protoreflect.EnumType

type InspectRequest

type InspectRequest struct {
	AppRegex        string   `protobuf:"bytes,1,opt,name=appRegex,proto3" json:"appRegex,omitempty"`
	RequestedValues []string `protobuf:"bytes,2,rep,name=requestedValues,proto3" json:"requestedValues,omitempty"`
	// contains filtered or unexported fields
}

func (*InspectRequest) Descriptor deprecated

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

Deprecated: Use InspectRequest.ProtoReflect.Descriptor instead.

func (*InspectRequest) GetAppRegex

func (x *InspectRequest) GetAppRegex() string

func (*InspectRequest) GetContentType added in v0.17.105

func (request *InspectRequest) GetContentType() int32

func (*InspectRequest) GetRequestedValues

func (x *InspectRequest) GetRequestedValues() []string

func (*InspectRequest) ProtoMessage

func (*InspectRequest) ProtoMessage()

func (*InspectRequest) ProtoReflect added in v0.16.65

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

func (*InspectRequest) Reset

func (x *InspectRequest) Reset()

func (*InspectRequest) String

func (x *InspectRequest) String() string

type InspectResponse

type InspectResponse struct {
	Success bool                            `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Errors  []string                        `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
	Values  []*InspectResponse_InspectValue `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*InspectResponse) Descriptor deprecated

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

Deprecated: Use InspectResponse.ProtoReflect.Descriptor instead.

func (*InspectResponse) GetContentType added in v0.17.105

func (request *InspectResponse) GetContentType() int32

func (*InspectResponse) GetErrors

func (x *InspectResponse) GetErrors() []string

func (*InspectResponse) GetSuccess

func (x *InspectResponse) GetSuccess() bool

func (*InspectResponse) GetValues

func (*InspectResponse) ProtoMessage

func (*InspectResponse) ProtoMessage()

func (*InspectResponse) ProtoReflect added in v0.16.65

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

func (*InspectResponse) Reset

func (x *InspectResponse) Reset()

func (*InspectResponse) String

func (x *InspectResponse) String() string

type InspectResponse_InspectValue

type InspectResponse_InspectValue struct {
	AppId string `protobuf:"bytes,1,opt,name=appId,proto3" json:"appId,omitempty"`
	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*InspectResponse_InspectValue) Descriptor deprecated

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

Deprecated: Use InspectResponse_InspectValue.ProtoReflect.Descriptor instead.

func (*InspectResponse_InspectValue) GetAppId

func (x *InspectResponse_InspectValue) GetAppId() string

func (*InspectResponse_InspectValue) GetName

func (x *InspectResponse_InspectValue) GetName() string

func (*InspectResponse_InspectValue) GetValue

func (x *InspectResponse_InspectValue) GetValue() string

func (*InspectResponse_InspectValue) ProtoMessage

func (*InspectResponse_InspectValue) ProtoMessage()

func (*InspectResponse_InspectValue) ProtoReflect added in v0.16.65

func (*InspectResponse_InspectValue) Reset

func (x *InspectResponse_InspectValue) Reset()

func (*InspectResponse_InspectValue) String

type Path added in v0.16.92

type Path struct {
	Nodes                  []string `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	Links                  []string `protobuf:"bytes,2,rep,name=links,proto3" json:"links,omitempty"`
	TerminatorLocalAddress string   `protobuf:"bytes,3,opt,name=terminatorLocalAddress,proto3" json:"terminatorLocalAddress,omitempty"`
	// contains filtered or unexported fields
}

func (*Path) CalculateDisplayPath added in v0.16.92

func (self *Path) CalculateDisplayPath() string

func (*Path) Descriptor deprecated added in v0.16.92

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

Deprecated: Use Path.ProtoReflect.Descriptor instead.

func (x *Path) GetLinks() []string

func (*Path) GetNodes added in v0.16.92

func (x *Path) GetNodes() []string

func (*Path) GetTerminatorLocalAddress added in v0.18.5

func (x *Path) GetTerminatorLocalAddress() string

func (*Path) ProtoMessage added in v0.16.92

func (*Path) ProtoMessage()

func (*Path) ProtoReflect added in v0.16.92

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

func (*Path) Reset added in v0.16.92

func (x *Path) Reset()

func (*Path) String added in v0.16.92

func (x *Path) String() string

type RaftMember added in v0.18.0

type RaftMember struct {
	Id          string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"`
	Addr        string `protobuf:"bytes,2,opt,name=Addr,proto3" json:"Addr,omitempty"`
	IsVoter     bool   `protobuf:"varint,3,opt,name=IsVoter,proto3" json:"IsVoter,omitempty"`
	IsLeader    bool   `protobuf:"varint,4,opt,name=IsLeader,proto3" json:"IsLeader,omitempty"`
	Version     string `protobuf:"bytes,5,opt,name=Version,proto3" json:"Version,omitempty"`
	IsConnected bool   `protobuf:"varint,6,opt,name=IsConnected,proto3" json:"IsConnected,omitempty"`
	// contains filtered or unexported fields
}

Raft

func (*RaftMember) Descriptor deprecated added in v0.18.0

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

Deprecated: Use RaftMember.ProtoReflect.Descriptor instead.

func (*RaftMember) GetAddr added in v0.18.0

func (x *RaftMember) GetAddr() string

func (*RaftMember) GetId added in v0.18.0

func (x *RaftMember) GetId() string

func (*RaftMember) GetIsConnected added in v0.22.10

func (x *RaftMember) GetIsConnected() bool

func (*RaftMember) GetIsLeader added in v0.18.0

func (x *RaftMember) GetIsLeader() bool

func (*RaftMember) GetIsVoter added in v0.18.0

func (x *RaftMember) GetIsVoter() bool

func (*RaftMember) GetVersion added in v0.22.10

func (x *RaftMember) GetVersion() string

func (*RaftMember) ProtoMessage added in v0.18.0

func (*RaftMember) ProtoMessage()

func (*RaftMember) ProtoReflect added in v0.18.0

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

func (*RaftMember) Reset added in v0.18.0

func (x *RaftMember) Reset()

func (*RaftMember) String added in v0.18.0

func (x *RaftMember) String() string

type RaftMemberListResponse added in v0.18.0

type RaftMemberListResponse struct {
	Members []*RaftMember `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
	// contains filtered or unexported fields
}

func (*RaftMemberListResponse) Descriptor deprecated added in v0.18.0

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

Deprecated: Use RaftMemberListResponse.ProtoReflect.Descriptor instead.

func (*RaftMemberListResponse) GetContentType added in v0.18.0

func (request *RaftMemberListResponse) GetContentType() int32

func (*RaftMemberListResponse) GetMembers added in v0.18.0

func (x *RaftMemberListResponse) GetMembers() []*RaftMember

func (*RaftMemberListResponse) ProtoMessage added in v0.18.0

func (*RaftMemberListResponse) ProtoMessage()

func (*RaftMemberListResponse) ProtoReflect added in v0.18.0

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

func (*RaftMemberListResponse) Reset added in v0.18.0

func (x *RaftMemberListResponse) Reset()

func (*RaftMemberListResponse) String added in v0.18.0

func (x *RaftMemberListResponse) String() string

type StreamCircuitEventType added in v0.16.92

type StreamCircuitEventType int32
const (
	StreamCircuitEventType_CircuitCreated StreamCircuitEventType = 0
	StreamCircuitEventType_CircuitDeleted StreamCircuitEventType = 1
	StreamCircuitEventType_CircuitPresent StreamCircuitEventType = 2
	StreamCircuitEventType_PathUpdated    StreamCircuitEventType = 3
	StreamCircuitEventType_CircuitFailed  StreamCircuitEventType = 4
)

func (StreamCircuitEventType) Descriptor added in v0.16.92

func (StreamCircuitEventType) Enum added in v0.16.92

func (StreamCircuitEventType) EnumDescriptor deprecated added in v0.16.92

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

Deprecated: Use StreamCircuitEventType.Descriptor instead.

func (StreamCircuitEventType) Number added in v0.16.92

func (StreamCircuitEventType) String added in v0.16.92

func (x StreamCircuitEventType) String() string

func (StreamCircuitEventType) Type added in v0.16.92

type StreamCircuitsEvent added in v0.16.92

type StreamCircuitsEvent struct {
	EventType        StreamCircuitEventType `protobuf:"varint,1,opt,name=eventType,proto3,enum=ziti.mgmt_pb.StreamCircuitEventType" json:"eventType,omitempty"`
	CircuitId        string                 `protobuf:"bytes,2,opt,name=circuitId,proto3" json:"circuitId,omitempty"`
	ClientId         string                 `protobuf:"bytes,3,opt,name=clientId,proto3" json:"clientId,omitempty"`
	ServiceId        string                 `protobuf:"bytes,4,opt,name=serviceId,proto3" json:"serviceId,omitempty"`
	Path             *Path                  `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
	CreationTimespan *int64                 `protobuf:"varint,6,opt,name=creationTimespan,proto3,oneof" json:"creationTimespan,omitempty"`
	TerminatorId     string                 `protobuf:"bytes,7,opt,name=terminatorId,proto3" json:"terminatorId,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamCircuitsEvent) Descriptor deprecated added in v0.16.92

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

Deprecated: Use StreamCircuitsEvent.ProtoReflect.Descriptor instead.

func (*StreamCircuitsEvent) GetCircuitId added in v0.16.92

func (x *StreamCircuitsEvent) GetCircuitId() string

func (*StreamCircuitsEvent) GetClientId added in v0.16.92

func (x *StreamCircuitsEvent) GetClientId() string

func (*StreamCircuitsEvent) GetCreationTimespan added in v0.17.96

func (x *StreamCircuitsEvent) GetCreationTimespan() int64

func (*StreamCircuitsEvent) GetEventType added in v0.16.92

func (x *StreamCircuitsEvent) GetEventType() StreamCircuitEventType

func (*StreamCircuitsEvent) GetPath added in v0.16.92

func (x *StreamCircuitsEvent) GetPath() *Path

func (*StreamCircuitsEvent) GetServiceId added in v0.16.92

func (x *StreamCircuitsEvent) GetServiceId() string

func (*StreamCircuitsEvent) GetTerminatorId added in v0.19.28

func (x *StreamCircuitsEvent) GetTerminatorId() string

func (*StreamCircuitsEvent) ProtoMessage added in v0.16.92

func (*StreamCircuitsEvent) ProtoMessage()

func (*StreamCircuitsEvent) ProtoReflect added in v0.16.92

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

func (*StreamCircuitsEvent) Reset added in v0.16.92

func (x *StreamCircuitsEvent) Reset()

func (*StreamCircuitsEvent) String added in v0.16.92

func (x *StreamCircuitsEvent) String() string

type StreamMetricsEvent

type StreamMetricsEvent struct {
	SourceId        string                               `protobuf:"bytes,1,opt,name=sourceId,proto3" json:"sourceId,omitempty"`
	Timestamp       *timestamppb.Timestamp               `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Tags            map[string]string                    `` /* 149-byte string literal not displayed */
	IntMetrics      map[string]int64                     `` /* 162-byte string literal not displayed */
	FloatMetrics    map[string]float64                   `` /* 167-byte string literal not displayed */
	IntervalMetrics []*StreamMetricsEvent_IntervalMetric `protobuf:"bytes,6,rep,name=intervalMetrics,proto3" json:"intervalMetrics,omitempty"`
	MetricGroup     map[string]string                    `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*StreamMetricsEvent) Descriptor deprecated

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

Deprecated: Use StreamMetricsEvent.ProtoReflect.Descriptor instead.

func (*StreamMetricsEvent) GetFloatMetrics

func (x *StreamMetricsEvent) GetFloatMetrics() map[string]float64

func (*StreamMetricsEvent) GetIntMetrics

func (x *StreamMetricsEvent) GetIntMetrics() map[string]int64

func (*StreamMetricsEvent) GetIntervalMetrics

func (x *StreamMetricsEvent) GetIntervalMetrics() []*StreamMetricsEvent_IntervalMetric

func (*StreamMetricsEvent) GetMetricGroup added in v0.13.2

func (x *StreamMetricsEvent) GetMetricGroup() map[string]string

func (*StreamMetricsEvent) GetSourceId

func (x *StreamMetricsEvent) GetSourceId() string

func (*StreamMetricsEvent) GetTags

func (x *StreamMetricsEvent) GetTags() map[string]string

func (*StreamMetricsEvent) GetTimestamp

func (x *StreamMetricsEvent) GetTimestamp() *timestamppb.Timestamp

func (*StreamMetricsEvent) ProtoMessage

func (*StreamMetricsEvent) ProtoMessage()

func (*StreamMetricsEvent) ProtoReflect added in v0.16.65

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

func (*StreamMetricsEvent) Reset

func (x *StreamMetricsEvent) Reset()

func (*StreamMetricsEvent) String

func (x *StreamMetricsEvent) String() string

type StreamMetricsEvent_IntervalMetric

type StreamMetricsEvent_IntervalMetric struct {
	Name             string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	IntervalStartUTC *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=intervalStartUTC,proto3" json:"intervalStartUTC,omitempty"`
	IntervalEndUTC   *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=intervalEndUTC,proto3" json:"intervalEndUTC,omitempty"`
	Values           map[string]uint64      `` /* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*StreamMetricsEvent_IntervalMetric) Descriptor deprecated

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

Deprecated: Use StreamMetricsEvent_IntervalMetric.ProtoReflect.Descriptor instead.

func (*StreamMetricsEvent_IntervalMetric) GetIntervalEndUTC

func (*StreamMetricsEvent_IntervalMetric) GetIntervalStartUTC

func (x *StreamMetricsEvent_IntervalMetric) GetIntervalStartUTC() *timestamppb.Timestamp

func (*StreamMetricsEvent_IntervalMetric) GetName

func (*StreamMetricsEvent_IntervalMetric) GetValues

func (x *StreamMetricsEvent_IntervalMetric) GetValues() map[string]uint64

func (*StreamMetricsEvent_IntervalMetric) ProtoMessage

func (*StreamMetricsEvent_IntervalMetric) ProtoMessage()

func (*StreamMetricsEvent_IntervalMetric) ProtoReflect added in v0.16.65

func (*StreamMetricsEvent_IntervalMetric) Reset

func (*StreamMetricsEvent_IntervalMetric) String

type StreamMetricsRequest

type StreamMetricsRequest struct {
	Matchers []*StreamMetricsRequest_MetricMatcher `protobuf:"bytes,1,rep,name=matchers,proto3" json:"matchers,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamMetricsRequest) Descriptor deprecated

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

Deprecated: Use StreamMetricsRequest.ProtoReflect.Descriptor instead.

func (*StreamMetricsRequest) GetMatchers

func (*StreamMetricsRequest) ProtoMessage

func (*StreamMetricsRequest) ProtoMessage()

func (*StreamMetricsRequest) ProtoReflect added in v0.16.65

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

func (*StreamMetricsRequest) Reset

func (x *StreamMetricsRequest) Reset()

func (*StreamMetricsRequest) String

func (x *StreamMetricsRequest) String() string

type StreamMetricsRequest_MetricMatcher

type StreamMetricsRequest_MetricMatcher struct {
	NameRegex     string `protobuf:"bytes,1,opt,name=nameRegex,proto3" json:"nameRegex,omitempty"`
	SourceIDRegex string `protobuf:"bytes,2,opt,name=sourceIDRegex,proto3" json:"sourceIDRegex,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamMetricsRequest_MetricMatcher) Descriptor deprecated

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

Deprecated: Use StreamMetricsRequest_MetricMatcher.ProtoReflect.Descriptor instead.

func (*StreamMetricsRequest_MetricMatcher) GetNameRegex

func (x *StreamMetricsRequest_MetricMatcher) GetNameRegex() string

func (*StreamMetricsRequest_MetricMatcher) GetSourceIDRegex

func (x *StreamMetricsRequest_MetricMatcher) GetSourceIDRegex() string

func (*StreamMetricsRequest_MetricMatcher) ProtoMessage

func (*StreamMetricsRequest_MetricMatcher) ProtoMessage()

func (*StreamMetricsRequest_MetricMatcher) ProtoReflect added in v0.16.65

func (*StreamMetricsRequest_MetricMatcher) Reset

func (*StreamMetricsRequest_MetricMatcher) String

type StreamTracesRequest

type StreamTracesRequest struct {
	EnabledFilter bool            `protobuf:"varint,1,opt,name=enabledFilter,proto3" json:"enabledFilter,omitempty"`
	FilterType    TraceFilterType `protobuf:"varint,2,opt,name=filterType,proto3,enum=ziti.mgmt_pb.TraceFilterType" json:"filterType,omitempty"`
	ContentTypes  []int32         `protobuf:"varint,3,rep,packed,name=contentTypes,proto3" json:"contentTypes,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamTracesRequest) Descriptor deprecated

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

Deprecated: Use StreamTracesRequest.ProtoReflect.Descriptor instead.

func (*StreamTracesRequest) GetContentTypes

func (x *StreamTracesRequest) GetContentTypes() []int32

func (*StreamTracesRequest) GetEnabledFilter

func (x *StreamTracesRequest) GetEnabledFilter() bool

func (*StreamTracesRequest) GetFilterType

func (x *StreamTracesRequest) GetFilterType() TraceFilterType

func (*StreamTracesRequest) ProtoMessage

func (*StreamTracesRequest) ProtoMessage()

func (*StreamTracesRequest) ProtoReflect added in v0.16.65

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

func (*StreamTracesRequest) Reset

func (x *StreamTracesRequest) Reset()

func (*StreamTracesRequest) String

func (x *StreamTracesRequest) String() string

type ToggleCircuitTracesRequest added in v0.16.92

type ToggleCircuitTracesRequest struct {
	Enable       bool   `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"`
	ServiceRegex string `protobuf:"bytes,2,opt,name=serviceRegex,proto3" json:"serviceRegex,omitempty"`
	ClientRegex  string `protobuf:"bytes,3,opt,name=clientRegex,proto3" json:"clientRegex,omitempty"`
	// contains filtered or unexported fields
}

func (*ToggleCircuitTracesRequest) Descriptor deprecated added in v0.16.92

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

Deprecated: Use ToggleCircuitTracesRequest.ProtoReflect.Descriptor instead.

func (*ToggleCircuitTracesRequest) GetClientRegex added in v0.16.92

func (x *ToggleCircuitTracesRequest) GetClientRegex() string

func (*ToggleCircuitTracesRequest) GetEnable added in v0.16.92

func (x *ToggleCircuitTracesRequest) GetEnable() bool

func (*ToggleCircuitTracesRequest) GetServiceRegex added in v0.16.92

func (x *ToggleCircuitTracesRequest) GetServiceRegex() string

func (*ToggleCircuitTracesRequest) ProtoMessage added in v0.16.92

func (*ToggleCircuitTracesRequest) ProtoMessage()

func (*ToggleCircuitTracesRequest) ProtoReflect added in v0.16.92

func (*ToggleCircuitTracesRequest) Reset added in v0.16.92

func (x *ToggleCircuitTracesRequest) Reset()

func (*ToggleCircuitTracesRequest) String added in v0.16.92

func (x *ToggleCircuitTracesRequest) String() string

type TraceFilterType

type TraceFilterType int32
const (
	TraceFilterType_EXCLUDE TraceFilterType = 0
	TraceFilterType_INCLUDE TraceFilterType = 1
)

func (TraceFilterType) Descriptor added in v0.16.65

func (TraceFilterType) Enum added in v0.16.65

func (x TraceFilterType) Enum() *TraceFilterType

func (TraceFilterType) EnumDescriptor deprecated

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

Deprecated: Use TraceFilterType.Descriptor instead.

func (TraceFilterType) Number added in v0.16.65

func (TraceFilterType) String

func (x TraceFilterType) String() string

func (TraceFilterType) Type added in v0.16.65

Jump to

Keyboard shortcuts

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