mgmt_pb

package
v0.24.13 Latest Latest
Warning

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

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

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",
		10076: "RouterDebugUnrouteRequestType",
		10077: "RouterQuiesce",
		10078: "RouterDequiesce",
		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,
		"RouterDebugUnrouteRequestType":             10076,
		"RouterQuiesce":                             10077,
		"RouterDequiesce":                           10078,
		"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
	ContentType_RouterDebugUnrouteRequestType             ContentType = 10076
	ContentType_RouterQuiesce                             ContentType = 10077
	ContentType_RouterDequiesce                           ContentType = 10078
	// 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

func (ContentType) Enum

func (x ContentType) Enum() *ContentType

func (ContentType) EnumDescriptor deprecated

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

Deprecated: Use ContentType.Descriptor instead.

func (ContentType) Number

func (x ContentType) Number() protoreflect.EnumNumber

func (ContentType) String

func (x ContentType) String() string

func (ContentType) Type

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

func (Header) Descriptor() protoreflect.EnumDescriptor

func (Header) Enum

func (x Header) Enum() *Header

func (Header) EnumDescriptor deprecated

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

Deprecated: Use Header.Descriptor instead.

func (Header) Number

func (x Header) Number() protoreflect.EnumNumber

func (Header) String

func (x Header) String() string

func (Header) Type

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

func (request *InspectRequest) GetContentType() int32

func (*InspectRequest) GetRequestedValues

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

func (*InspectRequest) ProtoMessage

func (*InspectRequest) ProtoMessage()

func (*InspectRequest) ProtoReflect

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

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

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

func (*InspectResponse_InspectValue) Reset

func (x *InspectResponse_InspectValue) Reset()

func (*InspectResponse_InspectValue) String

type Path

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

func (self *Path) CalculateDisplayPath() string

func (*Path) Descriptor deprecated

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

Deprecated: Use Path.ProtoReflect.Descriptor instead.

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

func (*Path) GetNodes

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

func (*Path) GetTerminatorLocalAddress

func (x *Path) GetTerminatorLocalAddress() string

func (*Path) ProtoMessage

func (*Path) ProtoMessage()

func (*Path) ProtoReflect

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

func (*Path) Reset

func (x *Path) Reset()

func (*Path) String

func (x *Path) String() string

type RaftMember

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

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

Deprecated: Use RaftMember.ProtoReflect.Descriptor instead.

func (*RaftMember) GetAddr

func (x *RaftMember) GetAddr() string

func (*RaftMember) GetId

func (x *RaftMember) GetId() string

func (*RaftMember) GetIsConnected

func (x *RaftMember) GetIsConnected() bool

func (*RaftMember) GetIsLeader

func (x *RaftMember) GetIsLeader() bool

func (*RaftMember) GetIsVoter

func (x *RaftMember) GetIsVoter() bool

func (*RaftMember) GetVersion

func (x *RaftMember) GetVersion() string

func (*RaftMember) ProtoMessage

func (*RaftMember) ProtoMessage()

func (*RaftMember) ProtoReflect

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

func (*RaftMember) Reset

func (x *RaftMember) Reset()

func (*RaftMember) String

func (x *RaftMember) String() string

type RaftMemberListResponse

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

func (*RaftMemberListResponse) Descriptor deprecated

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

Deprecated: Use RaftMemberListResponse.ProtoReflect.Descriptor instead.

func (*RaftMemberListResponse) GetContentType

func (request *RaftMemberListResponse) GetContentType() int32

func (*RaftMemberListResponse) GetMembers

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

func (*RaftMemberListResponse) ProtoMessage

func (*RaftMemberListResponse) ProtoMessage()

func (*RaftMemberListResponse) ProtoReflect

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

func (*RaftMemberListResponse) Reset

func (x *RaftMemberListResponse) Reset()

func (*RaftMemberListResponse) String

func (x *RaftMemberListResponse) String() string

type StreamCircuitEventType

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

func (StreamCircuitEventType) Enum

func (StreamCircuitEventType) EnumDescriptor deprecated

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

Deprecated: Use StreamCircuitEventType.Descriptor instead.

func (StreamCircuitEventType) Number

func (StreamCircuitEventType) String

func (x StreamCircuitEventType) String() string

func (StreamCircuitEventType) Type

type StreamCircuitsEvent

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

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

Deprecated: Use StreamCircuitsEvent.ProtoReflect.Descriptor instead.

func (*StreamCircuitsEvent) GetCircuitId

func (x *StreamCircuitsEvent) GetCircuitId() string

func (*StreamCircuitsEvent) GetClientId

func (x *StreamCircuitsEvent) GetClientId() string

func (*StreamCircuitsEvent) GetCreationTimespan

func (x *StreamCircuitsEvent) GetCreationTimespan() int64

func (*StreamCircuitsEvent) GetEventType

func (x *StreamCircuitsEvent) GetEventType() StreamCircuitEventType

func (*StreamCircuitsEvent) GetPath

func (x *StreamCircuitsEvent) GetPath() *Path

func (*StreamCircuitsEvent) GetServiceId

func (x *StreamCircuitsEvent) GetServiceId() string

func (*StreamCircuitsEvent) GetTerminatorId

func (x *StreamCircuitsEvent) GetTerminatorId() string

func (*StreamCircuitsEvent) ProtoMessage

func (*StreamCircuitsEvent) ProtoMessage()

func (*StreamCircuitsEvent) ProtoReflect

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

func (*StreamCircuitsEvent) Reset

func (x *StreamCircuitsEvent) Reset()

func (*StreamCircuitsEvent) String

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

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

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

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

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

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

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

func (*StreamTracesRequest) Reset

func (x *StreamTracesRequest) Reset()

func (*StreamTracesRequest) String

func (x *StreamTracesRequest) String() string

type ToggleCircuitTracesRequest

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

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

Deprecated: Use ToggleCircuitTracesRequest.ProtoReflect.Descriptor instead.

func (*ToggleCircuitTracesRequest) GetClientRegex

func (x *ToggleCircuitTracesRequest) GetClientRegex() string

func (*ToggleCircuitTracesRequest) GetEnable

func (x *ToggleCircuitTracesRequest) GetEnable() bool

func (*ToggleCircuitTracesRequest) GetServiceRegex

func (x *ToggleCircuitTracesRequest) GetServiceRegex() string

func (*ToggleCircuitTracesRequest) ProtoMessage

func (*ToggleCircuitTracesRequest) ProtoMessage()

func (*ToggleCircuitTracesRequest) ProtoReflect

func (*ToggleCircuitTracesRequest) Reset

func (x *ToggleCircuitTracesRequest) Reset()

func (*ToggleCircuitTracesRequest) String

func (x *ToggleCircuitTracesRequest) String() string

type TraceFilterType

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

func (TraceFilterType) Descriptor

func (TraceFilterType) Enum

func (x TraceFilterType) Enum() *TraceFilterType

func (TraceFilterType) EnumDescriptor deprecated

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

Deprecated: Use TraceFilterType.Descriptor instead.

func (TraceFilterType) Number

func (TraceFilterType) String

func (x TraceFilterType) String() string

func (TraceFilterType) Type

Jump to

Keyboard shortcuts

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