mirror of
https://github.com/openziti/ziti.git
synced 2026-10-12 15:28:05 +00:00
8c48ac871e
metrics package is now in ziti-foundation * update and tidy go.mod * fix: use ziti-foundation/metrics
848 lines
30 KiB
Go
848 lines
30 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: ctrl.proto
|
|
|
|
package ctrl_pb
|
|
|
|
import (
|
|
fmt "fmt"
|
|
proto "github.com/golang/protobuf/proto"
|
|
math "math"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
type ContentType int32
|
|
|
|
const (
|
|
ContentType_Zero ContentType = 0
|
|
ContentType_SessionRequestType ContentType = 1000
|
|
ContentType_SessionSuccessType ContentType = 1001
|
|
ContentType_DialType ContentType = 1002
|
|
ContentType_LinkType ContentType = 1003
|
|
ContentType_FaultType ContentType = 1004
|
|
ContentType_RouteType ContentType = 1005
|
|
ContentType_UnrouteType ContentType = 1006
|
|
ContentType_MetricsType ContentType = 1007
|
|
ContentType_TogglePipeTracesRequestType ContentType = 1008
|
|
ContentType_TraceEventType ContentType = 1010
|
|
ContentType_CreateTerminatorRequestType ContentType = 1011
|
|
ContentType_RemoveTerminatorRequestType ContentType = 1012
|
|
ContentType_InspectRequestType ContentType = 1013
|
|
ContentType_InspectResponseType ContentType = 1014
|
|
ContentType_StartXgressType ContentType = 1015
|
|
ContentType_SessionFailedType ContentType = 1016
|
|
)
|
|
|
|
var ContentType_name = map[int32]string{
|
|
0: "Zero",
|
|
1000: "SessionRequestType",
|
|
1001: "SessionSuccessType",
|
|
1002: "DialType",
|
|
1003: "LinkType",
|
|
1004: "FaultType",
|
|
1005: "RouteType",
|
|
1006: "UnrouteType",
|
|
1007: "MetricsType",
|
|
1008: "TogglePipeTracesRequestType",
|
|
1010: "TraceEventType",
|
|
1011: "CreateTerminatorRequestType",
|
|
1012: "RemoveTerminatorRequestType",
|
|
1013: "InspectRequestType",
|
|
1014: "InspectResponseType",
|
|
1015: "StartXgressType",
|
|
1016: "SessionFailedType",
|
|
}
|
|
|
|
var ContentType_value = map[string]int32{
|
|
"Zero": 0,
|
|
"SessionRequestType": 1000,
|
|
"SessionSuccessType": 1001,
|
|
"DialType": 1002,
|
|
"LinkType": 1003,
|
|
"FaultType": 1004,
|
|
"RouteType": 1005,
|
|
"UnrouteType": 1006,
|
|
"MetricsType": 1007,
|
|
"TogglePipeTracesRequestType": 1008,
|
|
"TraceEventType": 1010,
|
|
"CreateTerminatorRequestType": 1011,
|
|
"RemoveTerminatorRequestType": 1012,
|
|
"InspectRequestType": 1013,
|
|
"InspectResponseType": 1014,
|
|
"StartXgressType": 1015,
|
|
"SessionFailedType": 1016,
|
|
}
|
|
|
|
func (x ContentType) String() string {
|
|
return proto.EnumName(ContentType_name, int32(x))
|
|
}
|
|
|
|
func (ContentType) EnumDescriptor() ([]byte, []int) {
|
|
return fileDescriptor_a0572e205f89e843, []int{0}
|
|
}
|
|
|
|
type FaultSubject int32
|
|
|
|
const (
|
|
FaultSubject_IngressFault FaultSubject = 0
|
|
FaultSubject_EgressFault FaultSubject = 1
|
|
FaultSubject_LinkFault FaultSubject = 2
|
|
)
|
|
|
|
var FaultSubject_name = map[int32]string{
|
|
0: "IngressFault",
|
|
1: "EgressFault",
|
|
2: "LinkFault",
|
|
}
|
|
|
|
var FaultSubject_value = map[string]int32{
|
|
"IngressFault": 0,
|
|
"EgressFault": 1,
|
|
"LinkFault": 2,
|
|
}
|
|
|
|
func (x FaultSubject) String() string {
|
|
return proto.EnumName(FaultSubject_name, int32(x))
|
|
}
|
|
|
|
func (FaultSubject) EnumDescriptor() ([]byte, []int) {
|
|
return fileDescriptor_a0572e205f89e843, []int{1}
|
|
}
|
|
|
|
type SessionRequest struct {
|
|
IngressId string `protobuf:"bytes,1,opt,name=ingressId,proto3" json:"ingressId,omitempty"`
|
|
ServiceId string `protobuf:"bytes,2,opt,name=serviceId,proto3" json:"serviceId,omitempty"`
|
|
PeerData map[uint32][]byte `protobuf:"bytes,3,rep,name=peerData,proto3" json:"peerData,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SessionRequest) Reset() { *m = SessionRequest{} }
|
|
func (m *SessionRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*SessionRequest) ProtoMessage() {}
|
|
func (*SessionRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a0572e205f89e843, []int{0}
|
|
}
|
|
|
|
func (m *SessionRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SessionRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *SessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SessionRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SessionRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SessionRequest.Merge(m, src)
|
|
}
|
|
func (m *SessionRequest) XXX_Size() int {
|
|
return xxx_messageInfo_SessionRequest.Size(m)
|
|
}
|
|
func (m *SessionRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SessionRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SessionRequest proto.InternalMessageInfo
|
|
|
|
func (m *SessionRequest) GetIngressId() string {
|
|
if m != nil {
|
|
return m.IngressId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SessionRequest) GetServiceId() string {
|
|
if m != nil {
|
|
return m.ServiceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SessionRequest) GetPeerData() map[uint32][]byte {
|
|
if m != nil {
|
|
return m.PeerData
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateTerminatorRequest struct {
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
ServiceId string `protobuf:"bytes,2,opt,name=serviceId,proto3" json:"serviceId,omitempty"`
|
|
Binding string `protobuf:"bytes,3,opt,name=binding,proto3" json:"binding,omitempty"`
|
|
Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
|
|
PeerData map[uint32][]byte `protobuf:"bytes,5,rep,name=peerData,proto3" json:"peerData,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CreateTerminatorRequest) Reset() { *m = CreateTerminatorRequest{} }
|
|
func (m *CreateTerminatorRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*CreateTerminatorRequest) ProtoMessage() {}
|
|
func (*CreateTerminatorRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a0572e205f89e843, []int{1}
|
|
}
|
|
|
|
func (m *CreateTerminatorRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CreateTerminatorRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *CreateTerminatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CreateTerminatorRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *CreateTerminatorRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CreateTerminatorRequest.Merge(m, src)
|
|
}
|
|
func (m *CreateTerminatorRequest) XXX_Size() int {
|
|
return xxx_messageInfo_CreateTerminatorRequest.Size(m)
|
|
}
|
|
func (m *CreateTerminatorRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CreateTerminatorRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CreateTerminatorRequest proto.InternalMessageInfo
|
|
|
|
func (m *CreateTerminatorRequest) GetId() string {
|
|
if m != nil {
|
|
return m.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CreateTerminatorRequest) GetServiceId() string {
|
|
if m != nil {
|
|
return m.ServiceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CreateTerminatorRequest) GetBinding() string {
|
|
if m != nil {
|
|
return m.Binding
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CreateTerminatorRequest) GetAddress() string {
|
|
if m != nil {
|
|
return m.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CreateTerminatorRequest) GetPeerData() map[uint32][]byte {
|
|
if m != nil {
|
|
return m.PeerData
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RemoveTerminatorRequest struct {
|
|
TerminatorId string `protobuf:"bytes,1,opt,name=terminatorId,proto3" json:"terminatorId,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *RemoveTerminatorRequest) Reset() { *m = RemoveTerminatorRequest{} }
|
|
func (m *RemoveTerminatorRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*RemoveTerminatorRequest) ProtoMessage() {}
|
|
func (*RemoveTerminatorRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a0572e205f89e843, []int{2}
|
|
}
|
|
|
|
func (m *RemoveTerminatorRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_RemoveTerminatorRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *RemoveTerminatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_RemoveTerminatorRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *RemoveTerminatorRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RemoveTerminatorRequest.Merge(m, src)
|
|
}
|
|
func (m *RemoveTerminatorRequest) XXX_Size() int {
|
|
return xxx_messageInfo_RemoveTerminatorRequest.Size(m)
|
|
}
|
|
func (m *RemoveTerminatorRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RemoveTerminatorRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RemoveTerminatorRequest proto.InternalMessageInfo
|
|
|
|
func (m *RemoveTerminatorRequest) GetTerminatorId() string {
|
|
if m != nil {
|
|
return m.TerminatorId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Dial struct {
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Dial) Reset() { *m = Dial{} }
|
|
func (m *Dial) String() string { return proto.CompactTextString(m) }
|
|
func (*Dial) ProtoMessage() {}
|
|
func (*Dial) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a0572e205f89e843, []int{3}
|
|
}
|
|
|
|
func (m *Dial) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Dial.Unmarshal(m, b)
|
|
}
|
|
func (m *Dial) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Dial.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Dial) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Dial.Merge(m, src)
|
|
}
|
|
func (m *Dial) XXX_Size() int {
|
|
return xxx_messageInfo_Dial.Size(m)
|
|
}
|
|
func (m *Dial) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Dial.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Dial proto.InternalMessageInfo
|
|
|
|
func (m *Dial) GetId() string {
|
|
if m != nil {
|
|
return m.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Dial) GetAddress() string {
|
|
if m != nil {
|
|
return m.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Link struct {
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Link) Reset() { *m = Link{} }
|
|
func (m *Link) String() string { return proto.CompactTextString(m) }
|
|
func (*Link) ProtoMessage() {}
|
|
func (*Link) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a0572e205f89e843, []int{4}
|
|
}
|
|
|
|
func (m *Link) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Link.Unmarshal(m, b)
|
|
}
|
|
func (m *Link) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Link.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Link) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Link.Merge(m, src)
|
|
}
|
|
func (m *Link) XXX_Size() int {
|
|
return xxx_messageInfo_Link.Size(m)
|
|
}
|
|
func (m *Link) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Link.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Link proto.InternalMessageInfo
|
|
|
|
func (m *Link) GetId() string {
|
|
if m != nil {
|
|
return m.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Fault struct {
|
|
Subject FaultSubject `protobuf:"varint,1,opt,name=subject,proto3,enum=ctrl.pb.FaultSubject" json:"subject,omitempty"`
|
|
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Fault) Reset() { *m = Fault{} }
|
|
func (m *Fault) String() string { return proto.CompactTextString(m) }
|
|
func (*Fault) ProtoMessage() {}
|
|
func (*Fault) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a0572e205f89e843, []int{5}
|
|
}
|
|
|
|
func (m *Fault) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Fault.Unmarshal(m, b)
|
|
}
|
|
func (m *Fault) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Fault.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Fault) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Fault.Merge(m, src)
|
|
}
|
|
func (m *Fault) XXX_Size() int {
|
|
return xxx_messageInfo_Fault.Size(m)
|
|
}
|
|
func (m *Fault) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Fault.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Fault proto.InternalMessageInfo
|
|
|
|
func (m *Fault) GetSubject() FaultSubject {
|
|
if m != nil {
|
|
return m.Subject
|
|
}
|
|
return FaultSubject_IngressFault
|
|
}
|
|
|
|
func (m *Fault) GetId() string {
|
|
if m != nil {
|
|
return m.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Route struct {
|
|
SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
|
|
Egress *Route_Egress `protobuf:"bytes,2,opt,name=egress,proto3" json:"egress,omitempty"`
|
|
Forwards []*Route_Forward `protobuf:"bytes,3,rep,name=forwards,proto3" json:"forwards,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Route) Reset() { *m = Route{} }
|
|
func (m *Route) String() string { return proto.CompactTextString(m) }
|
|
func (*Route) ProtoMessage() {}
|
|
func (*Route) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a0572e205f89e843, []int{6}
|
|
}
|
|
|
|
func (m *Route) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Route.Unmarshal(m, b)
|
|
}
|
|
func (m *Route) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Route.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Route) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Route.Merge(m, src)
|
|
}
|
|
func (m *Route) XXX_Size() int {
|
|
return xxx_messageInfo_Route.Size(m)
|
|
}
|
|
func (m *Route) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Route.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Route proto.InternalMessageInfo
|
|
|
|
func (m *Route) GetSessionId() string {
|
|
if m != nil {
|
|
return m.SessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Route) GetEgress() *Route_Egress {
|
|
if m != nil {
|
|
return m.Egress
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Route) GetForwards() []*Route_Forward {
|
|
if m != nil {
|
|
return m.Forwards
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Route_Egress struct {
|
|
Binding string `protobuf:"bytes,1,opt,name=binding,proto3" json:"binding,omitempty"`
|
|
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
|
|
Destination string `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"`
|
|
PeerData map[uint32][]byte `protobuf:"bytes,4,rep,name=peerData,proto3" json:"peerData,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Route_Egress) Reset() { *m = Route_Egress{} }
|
|
func (m *Route_Egress) String() string { return proto.CompactTextString(m) }
|
|
func (*Route_Egress) ProtoMessage() {}
|
|
func (*Route_Egress) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a0572e205f89e843, []int{6, 0}
|
|
}
|
|
|
|
func (m *Route_Egress) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Route_Egress.Unmarshal(m, b)
|
|
}
|
|
func (m *Route_Egress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Route_Egress.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Route_Egress) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Route_Egress.Merge(m, src)
|
|
}
|
|
func (m *Route_Egress) XXX_Size() int {
|
|
return xxx_messageInfo_Route_Egress.Size(m)
|
|
}
|
|
func (m *Route_Egress) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Route_Egress.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Route_Egress proto.InternalMessageInfo
|
|
|
|
func (m *Route_Egress) GetBinding() string {
|
|
if m != nil {
|
|
return m.Binding
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Route_Egress) GetAddress() string {
|
|
if m != nil {
|
|
return m.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Route_Egress) GetDestination() string {
|
|
if m != nil {
|
|
return m.Destination
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Route_Egress) GetPeerData() map[uint32][]byte {
|
|
if m != nil {
|
|
return m.PeerData
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Route_Forward struct {
|
|
SrcAddress string `protobuf:"bytes,1,opt,name=srcAddress,proto3" json:"srcAddress,omitempty"`
|
|
DstAddress string `protobuf:"bytes,2,opt,name=dstAddress,proto3" json:"dstAddress,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Route_Forward) Reset() { *m = Route_Forward{} }
|
|
func (m *Route_Forward) String() string { return proto.CompactTextString(m) }
|
|
func (*Route_Forward) ProtoMessage() {}
|
|
func (*Route_Forward) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a0572e205f89e843, []int{6, 1}
|
|
}
|
|
|
|
func (m *Route_Forward) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Route_Forward.Unmarshal(m, b)
|
|
}
|
|
func (m *Route_Forward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Route_Forward.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Route_Forward) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Route_Forward.Merge(m, src)
|
|
}
|
|
func (m *Route_Forward) XXX_Size() int {
|
|
return xxx_messageInfo_Route_Forward.Size(m)
|
|
}
|
|
func (m *Route_Forward) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Route_Forward.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Route_Forward proto.InternalMessageInfo
|
|
|
|
func (m *Route_Forward) GetSrcAddress() string {
|
|
if m != nil {
|
|
return m.SrcAddress
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Route_Forward) GetDstAddress() string {
|
|
if m != nil {
|
|
return m.DstAddress
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Unroute struct {
|
|
SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
|
|
Now bool `protobuf:"varint,2,opt,name=now,proto3" json:"now,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Unroute) Reset() { *m = Unroute{} }
|
|
func (m *Unroute) String() string { return proto.CompactTextString(m) }
|
|
func (*Unroute) ProtoMessage() {}
|
|
func (*Unroute) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a0572e205f89e843, []int{7}
|
|
}
|
|
|
|
func (m *Unroute) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Unroute.Unmarshal(m, b)
|
|
}
|
|
func (m *Unroute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Unroute.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Unroute) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Unroute.Merge(m, src)
|
|
}
|
|
func (m *Unroute) XXX_Size() int {
|
|
return xxx_messageInfo_Unroute.Size(m)
|
|
}
|
|
func (m *Unroute) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Unroute.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Unroute proto.InternalMessageInfo
|
|
|
|
func (m *Unroute) GetSessionId() string {
|
|
if m != nil {
|
|
return m.SessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Unroute) GetNow() bool {
|
|
if m != nil {
|
|
return m.Now
|
|
}
|
|
return false
|
|
}
|
|
|
|
type InspectRequest struct {
|
|
RequestedValues []string `protobuf:"bytes,1,rep,name=requestedValues,proto3" json:"requestedValues,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *InspectRequest) Reset() { *m = InspectRequest{} }
|
|
func (m *InspectRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*InspectRequest) ProtoMessage() {}
|
|
func (*InspectRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a0572e205f89e843, []int{8}
|
|
}
|
|
|
|
func (m *InspectRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_InspectRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *InspectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_InspectRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *InspectRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_InspectRequest.Merge(m, src)
|
|
}
|
|
func (m *InspectRequest) XXX_Size() int {
|
|
return xxx_messageInfo_InspectRequest.Size(m)
|
|
}
|
|
func (m *InspectRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_InspectRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_InspectRequest proto.InternalMessageInfo
|
|
|
|
func (m *InspectRequest) GetRequestedValues() []string {
|
|
if m != nil {
|
|
return m.RequestedValues
|
|
}
|
|
return nil
|
|
}
|
|
|
|
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"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *InspectResponse) Reset() { *m = InspectResponse{} }
|
|
func (m *InspectResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*InspectResponse) ProtoMessage() {}
|
|
func (*InspectResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a0572e205f89e843, []int{9}
|
|
}
|
|
|
|
func (m *InspectResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_InspectResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *InspectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_InspectResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *InspectResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_InspectResponse.Merge(m, src)
|
|
}
|
|
func (m *InspectResponse) XXX_Size() int {
|
|
return xxx_messageInfo_InspectResponse.Size(m)
|
|
}
|
|
func (m *InspectResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_InspectResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_InspectResponse proto.InternalMessageInfo
|
|
|
|
func (m *InspectResponse) GetSuccess() bool {
|
|
if m != nil {
|
|
return m.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *InspectResponse) GetErrors() []string {
|
|
if m != nil {
|
|
return m.Errors
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *InspectResponse) GetValues() []*InspectResponse_InspectValue {
|
|
if m != nil {
|
|
return m.Values
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type InspectResponse_InspectValue struct {
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,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 (m *InspectResponse_InspectValue) Reset() { *m = InspectResponse_InspectValue{} }
|
|
func (m *InspectResponse_InspectValue) String() string { return proto.CompactTextString(m) }
|
|
func (*InspectResponse_InspectValue) ProtoMessage() {}
|
|
func (*InspectResponse_InspectValue) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_a0572e205f89e843, []int{9, 0}
|
|
}
|
|
|
|
func (m *InspectResponse_InspectValue) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_InspectResponse_InspectValue.Unmarshal(m, b)
|
|
}
|
|
func (m *InspectResponse_InspectValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_InspectResponse_InspectValue.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *InspectResponse_InspectValue) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_InspectResponse_InspectValue.Merge(m, src)
|
|
}
|
|
func (m *InspectResponse_InspectValue) XXX_Size() int {
|
|
return xxx_messageInfo_InspectResponse_InspectValue.Size(m)
|
|
}
|
|
func (m *InspectResponse_InspectValue) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_InspectResponse_InspectValue.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_InspectResponse_InspectValue proto.InternalMessageInfo
|
|
|
|
func (m *InspectResponse_InspectValue) GetName() string {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *InspectResponse_InspectValue) GetValue() string {
|
|
if m != nil {
|
|
return m.Value
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterEnum("ctrl.pb.ContentType", ContentType_name, ContentType_value)
|
|
proto.RegisterEnum("ctrl.pb.FaultSubject", FaultSubject_name, FaultSubject_value)
|
|
proto.RegisterType((*SessionRequest)(nil), "ctrl.pb.SessionRequest")
|
|
proto.RegisterMapType((map[uint32][]byte)(nil), "ctrl.pb.SessionRequest.PeerDataEntry")
|
|
proto.RegisterType((*CreateTerminatorRequest)(nil), "ctrl.pb.CreateTerminatorRequest")
|
|
proto.RegisterMapType((map[uint32][]byte)(nil), "ctrl.pb.CreateTerminatorRequest.PeerDataEntry")
|
|
proto.RegisterType((*RemoveTerminatorRequest)(nil), "ctrl.pb.RemoveTerminatorRequest")
|
|
proto.RegisterType((*Dial)(nil), "ctrl.pb.Dial")
|
|
proto.RegisterType((*Link)(nil), "ctrl.pb.Link")
|
|
proto.RegisterType((*Fault)(nil), "ctrl.pb.Fault")
|
|
proto.RegisterType((*Route)(nil), "ctrl.pb.Route")
|
|
proto.RegisterType((*Route_Egress)(nil), "ctrl.pb.Route.Egress")
|
|
proto.RegisterMapType((map[uint32][]byte)(nil), "ctrl.pb.Route.Egress.PeerDataEntry")
|
|
proto.RegisterType((*Route_Forward)(nil), "ctrl.pb.Route.Forward")
|
|
proto.RegisterType((*Unroute)(nil), "ctrl.pb.Unroute")
|
|
proto.RegisterType((*InspectRequest)(nil), "ctrl.pb.InspectRequest")
|
|
proto.RegisterType((*InspectResponse)(nil), "ctrl.pb.InspectResponse")
|
|
proto.RegisterType((*InspectResponse_InspectValue)(nil), "ctrl.pb.InspectResponse.InspectValue")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("ctrl.proto", fileDescriptor_a0572e205f89e843) }
|
|
|
|
var fileDescriptor_a0572e205f89e843 = []byte{
|
|
// 791 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0xcd, 0x6e, 0xdb, 0x46,
|
|
0x10, 0x36, 0x49, 0x49, 0x94, 0x46, 0x7f, 0xec, 0xda, 0x95, 0x05, 0xb5, 0x28, 0x04, 0x16, 0x05,
|
|
0x04, 0x03, 0x55, 0x0b, 0xf7, 0xe2, 0xba, 0x30, 0x5a, 0xc3, 0x96, 0x51, 0x15, 0x2d, 0x60, 0x50,
|
|
0x6a, 0x10, 0xe4, 0x46, 0x91, 0x1b, 0x81, 0xb1, 0x4c, 0x2a, 0xbb, 0x2b, 0x19, 0xbe, 0x07, 0xc8,
|
|
0xfb, 0xe4, 0x9c, 0x47, 0xc8, 0x23, 0xe4, 0x01, 0xf2, 0x9f, 0x20, 0xff, 0xc7, 0x60, 0x87, 0x2b,
|
|
0x9a, 0x54, 0x2c, 0x24, 0x17, 0xdf, 0x76, 0xbe, 0x6f, 0x66, 0x67, 0xbe, 0x99, 0xe1, 0x12, 0xc0,
|
|
0x13, 0x6c, 0xd2, 0x9d, 0xb2, 0x48, 0x44, 0xc4, 0x8c, 0xcf, 0x23, 0xfb, 0x81, 0x06, 0xb5, 0x01,
|
|
0xe5, 0x3c, 0x88, 0x42, 0x87, 0xde, 0x9e, 0x51, 0x2e, 0xc8, 0xf7, 0x50, 0x0a, 0xc2, 0x31, 0xa3,
|
|
0x9c, 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