Documentation ¶
Index ¶
- Constants
- Variables
- type ContentType
- func (ContentType) Descriptor() protoreflect.EnumDescriptor
- func (x ContentType) Enum() *ContentType
- func (ContentType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ContentType) Number() protoreflect.EnumNumber
- func (x ContentType) String() string
- func (ContentType) Type() protoreflect.EnumType
- type CreateTerminatorRequest
- func (*CreateTerminatorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTerminatorRequest) GetAddress() string
- func (x *CreateTerminatorRequest) GetBinding() string
- func (x *CreateTerminatorRequest) GetCost() uint32
- func (x *CreateTerminatorRequest) GetIdentity() string
- func (x *CreateTerminatorRequest) GetIdentitySecret() []byte
- func (x *CreateTerminatorRequest) GetPeerData() map[uint32][]byte
- func (x *CreateTerminatorRequest) GetPrecedence() TerminatorPrecedence
- func (x *CreateTerminatorRequest) GetServiceId() string
- func (request *CreateTerminatorRequest) GetXtPrecedence() xt.Precedence
- func (*CreateTerminatorRequest) ProtoMessage()
- func (x *CreateTerminatorRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTerminatorRequest) Reset()
- func (x *CreateTerminatorRequest) String() string
- type Decoder
- type Dial
- type Fault
- type FaultSubject
- func (FaultSubject) Descriptor() protoreflect.EnumDescriptor
- func (x FaultSubject) Enum() *FaultSubject
- func (FaultSubject) EnumDescriptor() ([]byte, []int)deprecated
- func (x FaultSubject) Number() protoreflect.EnumNumber
- func (x FaultSubject) String() string
- func (FaultSubject) Type() protoreflect.EnumType
- type InspectRequest
- func (*InspectRequest) Descriptor() ([]byte, []int)deprecated
- func (request *InspectRequest) GetContentType() int32
- func (x *InspectRequest) GetRequestedValues() []string
- func (*InspectRequest) ProtoMessage()
- func (x *InspectRequest) ProtoReflect() protoreflect.Message
- func (x *InspectRequest) Reset()
- func (x *InspectRequest) String() string
- type InspectResponse
- func (response *InspectResponse) AddValue(name, value string)
- func (*InspectResponse) Descriptor() ([]byte, []int)deprecated
- func (response *InspectResponse) GetContentType() int32
- func (x *InspectResponse) GetErrors() []string
- func (x *InspectResponse) GetSuccess() bool
- func (x *InspectResponse) GetValues() []*InspectResponse_InspectValue
- func (*InspectResponse) ProtoMessage()
- func (x *InspectResponse) ProtoReflect() protoreflect.Message
- func (x *InspectResponse) Reset()
- func (x *InspectResponse) String() string
- type InspectResponse_InspectValue
- func (*InspectResponse_InspectValue) Descriptor() ([]byte, []int)deprecated
- func (x *InspectResponse_InspectValue) GetName() string
- func (x *InspectResponse_InspectValue) GetValue() string
- func (*InspectResponse_InspectValue) ProtoMessage()
- func (x *InspectResponse_InspectValue) ProtoReflect() protoreflect.Message
- func (x *InspectResponse_InspectValue) Reset()
- func (x *InspectResponse_InspectValue) String() string
- type Link
- type RemoveTerminatorRequest
- func (*RemoveTerminatorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveTerminatorRequest) GetTerminatorId() string
- func (*RemoveTerminatorRequest) ProtoMessage()
- func (x *RemoveTerminatorRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveTerminatorRequest) Reset()
- func (x *RemoveTerminatorRequest) String() string
- type Route
- func (*Route) Descriptor() ([]byte, []int)deprecated
- func (x *Route) GetAttempt() uint32
- func (x *Route) GetEgress() *Route_Egress
- func (x *Route) GetForwards() []*Route_Forward
- func (x *Route) GetSessionId() string
- func (*Route) ProtoMessage()
- func (x *Route) ProtoReflect() protoreflect.Message
- func (x *Route) Reset()
- func (x *Route) String() string
- type Route_Egress
- func (*Route_Egress) Descriptor() ([]byte, []int)deprecated
- func (x *Route_Egress) GetAddress() string
- func (x *Route_Egress) GetBinding() string
- func (x *Route_Egress) GetDestination() string
- func (x *Route_Egress) GetPeerData() map[uint32][]byte
- func (*Route_Egress) ProtoMessage()
- func (x *Route_Egress) ProtoReflect() protoreflect.Message
- func (x *Route_Egress) Reset()
- func (x *Route_Egress) String() string
- type Route_Forward
- func (*Route_Forward) Descriptor() ([]byte, []int)deprecated
- func (x *Route_Forward) GetDstAddress() string
- func (x *Route_Forward) GetSrcAddress() string
- func (*Route_Forward) ProtoMessage()
- func (x *Route_Forward) ProtoReflect() protoreflect.Message
- func (x *Route_Forward) Reset()
- func (x *Route_Forward) String() string
- type SessionRequest
- func (*SessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SessionRequest) GetIngressId() string
- func (x *SessionRequest) GetPeerData() map[uint32][]byte
- func (x *SessionRequest) GetServiceId() string
- func (*SessionRequest) ProtoMessage()
- func (x *SessionRequest) ProtoReflect() protoreflect.Message
- func (x *SessionRequest) Reset()
- func (x *SessionRequest) String() string
- type Terminator
- func (*Terminator) Descriptor() ([]byte, []int)deprecated
- func (x *Terminator) GetAddress() string
- func (x *Terminator) GetBinding() string
- func (x *Terminator) GetId() string
- func (*Terminator) ProtoMessage()
- func (x *Terminator) ProtoReflect() protoreflect.Message
- func (x *Terminator) Reset()
- func (x *Terminator) String() string
- type TerminatorPrecedence
- func (TerminatorPrecedence) Descriptor() protoreflect.EnumDescriptor
- func (x TerminatorPrecedence) Enum() *TerminatorPrecedence
- func (TerminatorPrecedence) EnumDescriptor() ([]byte, []int)deprecated
- func (x TerminatorPrecedence) Number() protoreflect.EnumNumber
- func (x TerminatorPrecedence) String() string
- func (TerminatorPrecedence) Type() protoreflect.EnumType
- type Unroute
- type UpdateTerminatorRequest
- func (*UpdateTerminatorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTerminatorRequest) GetCost() uint32
- func (x *UpdateTerminatorRequest) GetPrecedence() TerminatorPrecedence
- func (x *UpdateTerminatorRequest) GetTerminatorId() string
- func (x *UpdateTerminatorRequest) GetUpdateCost() bool
- func (x *UpdateTerminatorRequest) GetUpdatePrecedence() bool
- func (*UpdateTerminatorRequest) ProtoMessage()
- func (x *UpdateTerminatorRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTerminatorRequest) Reset()
- func (x *UpdateTerminatorRequest) String() string
- type ValidateTerminatorsRequest
- func (*ValidateTerminatorsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateTerminatorsRequest) GetTerminators() []*Terminator
- func (*ValidateTerminatorsRequest) ProtoMessage()
- func (x *ValidateTerminatorsRequest) ProtoReflect() protoreflect.Message
- func (x *ValidateTerminatorsRequest) Reset()
- func (x *ValidateTerminatorsRequest) String() string
Constants ¶
const DECODER = "ctrl"
Variables ¶
var ( ContentType_name = map[int32]string{ 0: "Zero", 1000: "SessionRequestType", 1002: "DialType", 1003: "LinkType", 1004: "FaultType", 1005: "RouteType", 1006: "UnrouteType", 1007: "MetricsType", 1008: "TogglePipeTracesRequestType", 1010: "TraceEventType", 1011: "CreateTerminatorRequestType", 1012: "RemoveTerminatorRequestType", 1013: "InspectRequestType", 1014: "InspectResponseType", 1017: "ValidateTerminatorsRequestType", 1018: "UpdateTerminatorRequestType", } ContentType_value = map[string]int32{ "Zero": 0, "SessionRequestType": 1000, "DialType": 1002, "LinkType": 1003, "FaultType": 1004, "RouteType": 1005, "UnrouteType": 1006, "MetricsType": 1007, "TogglePipeTracesRequestType": 1008, "TraceEventType": 1010, "CreateTerminatorRequestType": 1011, "RemoveTerminatorRequestType": 1012, "InspectRequestType": 1013, "InspectResponseType": 1014, "ValidateTerminatorsRequestType": 1017, "UpdateTerminatorRequestType": 1018, } )
Enum value maps for ContentType.
var ( TerminatorPrecedence_name = map[int32]string{ 0: "Default", 1: "Required", 2: "Failed", } TerminatorPrecedence_value = map[string]int32{ "Default": 0, "Required": 1, "Failed": 2, } )
Enum value maps for TerminatorPrecedence.
var ( FaultSubject_name = map[int32]string{ 0: "IngressFault", 1: "EgressFault", 2: "LinkFault", 3: "ForwardFault", } FaultSubject_value = map[string]int32{ "IngressFault": 0, "EgressFault": 1, "LinkFault": 2, "ForwardFault": 3, } )
Enum value maps for FaultSubject.
var File_ctrl_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ContentType ¶
type ContentType int32
const ( ContentType_Zero ContentType = 0 ContentType_SessionRequestType ContentType = 1000 // defined in ctrl_msg/messages.go now // SessionSuccessType = 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 // defined in ctrl_msg/messages.go now // SessionFailedType = 1016; ContentType_ValidateTerminatorsRequestType ContentType = 1017 ContentType_UpdateTerminatorRequestType ContentType = 1018 )
func (ContentType) Descriptor ¶ added in v0.16.0
func (ContentType) Descriptor() protoreflect.EnumDescriptor
func (ContentType) Enum ¶ added in v0.16.0
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.0
func (x ContentType) Number() protoreflect.EnumNumber
func (ContentType) String ¶
func (x ContentType) String() string
func (ContentType) Type ¶ added in v0.16.0
func (ContentType) Type() protoreflect.EnumType
type CreateTerminatorRequest ¶
type CreateTerminatorRequest struct { 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 `` /* 158-byte string literal not displayed */ Cost uint32 `protobuf:"varint,6,opt,name=cost,proto3" json:"cost,omitempty"` Precedence TerminatorPrecedence `protobuf:"varint,7,opt,name=precedence,proto3,enum=ctrl.pb.TerminatorPrecedence" json:"precedence,omitempty"` Identity string `protobuf:"bytes,8,opt,name=identity,proto3" json:"identity,omitempty"` IdentitySecret []byte `protobuf:"bytes,9,opt,name=identitySecret,proto3" json:"identitySecret,omitempty"` // contains filtered or unexported fields }
func (*CreateTerminatorRequest) Descriptor
deprecated
func (*CreateTerminatorRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTerminatorRequest.ProtoReflect.Descriptor instead.
func (*CreateTerminatorRequest) GetAddress ¶
func (x *CreateTerminatorRequest) GetAddress() string
func (*CreateTerminatorRequest) GetBinding ¶
func (x *CreateTerminatorRequest) GetBinding() string
func (*CreateTerminatorRequest) GetCost ¶
func (x *CreateTerminatorRequest) GetCost() uint32
func (*CreateTerminatorRequest) GetIdentity ¶ added in v0.14.0
func (x *CreateTerminatorRequest) GetIdentity() string
func (*CreateTerminatorRequest) GetIdentitySecret ¶ added in v0.14.0
func (x *CreateTerminatorRequest) GetIdentitySecret() []byte
func (*CreateTerminatorRequest) GetPeerData ¶
func (x *CreateTerminatorRequest) GetPeerData() map[uint32][]byte
func (*CreateTerminatorRequest) GetPrecedence ¶
func (x *CreateTerminatorRequest) GetPrecedence() TerminatorPrecedence
func (*CreateTerminatorRequest) GetServiceId ¶
func (x *CreateTerminatorRequest) GetServiceId() string
func (*CreateTerminatorRequest) GetXtPrecedence ¶
func (request *CreateTerminatorRequest) GetXtPrecedence() xt.Precedence
func (*CreateTerminatorRequest) ProtoMessage ¶
func (*CreateTerminatorRequest) ProtoMessage()
func (*CreateTerminatorRequest) ProtoReflect ¶ added in v0.16.0
func (x *CreateTerminatorRequest) ProtoReflect() protoreflect.Message
func (*CreateTerminatorRequest) Reset ¶
func (x *CreateTerminatorRequest) Reset()
func (*CreateTerminatorRequest) String ¶
func (x *CreateTerminatorRequest) String() string
type Dial ¶
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"` // contains filtered or unexported fields }
func (*Dial) Descriptor
deprecated
func (*Dial) GetAddress ¶
func (*Dial) ProtoMessage ¶
func (*Dial) ProtoMessage()
func (*Dial) ProtoReflect ¶ added in v0.16.0
func (x *Dial) ProtoReflect() protoreflect.Message
type Fault ¶
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"` // contains filtered or unexported fields }
func (*Fault) Descriptor
deprecated
func (*Fault) GetSubject ¶
func (x *Fault) GetSubject() FaultSubject
func (*Fault) ProtoMessage ¶
func (*Fault) ProtoMessage()
func (*Fault) ProtoReflect ¶ added in v0.16.0
func (x *Fault) ProtoReflect() protoreflect.Message
type FaultSubject ¶
type FaultSubject int32
const ( FaultSubject_IngressFault FaultSubject = 0 FaultSubject_EgressFault FaultSubject = 1 FaultSubject_LinkFault FaultSubject = 2 FaultSubject_ForwardFault FaultSubject = 3 )
func (FaultSubject) Descriptor ¶ added in v0.16.0
func (FaultSubject) Descriptor() protoreflect.EnumDescriptor
func (FaultSubject) Enum ¶ added in v0.16.0
func (x FaultSubject) Enum() *FaultSubject
func (FaultSubject) EnumDescriptor
deprecated
func (FaultSubject) EnumDescriptor() ([]byte, []int)
Deprecated: Use FaultSubject.Descriptor instead.
func (FaultSubject) Number ¶ added in v0.16.0
func (x FaultSubject) Number() protoreflect.EnumNumber
func (FaultSubject) String ¶
func (x FaultSubject) String() string
func (FaultSubject) Type ¶ added in v0.16.0
func (FaultSubject) Type() protoreflect.EnumType
type InspectRequest ¶
type InspectRequest struct { RequestedValues []string `protobuf:"bytes,1,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) GetContentType ¶
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.0
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) AddValue ¶
func (response *InspectResponse) AddValue(name, value string)
func (*InspectResponse) Descriptor
deprecated
func (*InspectResponse) Descriptor() ([]byte, []int)
Deprecated: Use InspectResponse.ProtoReflect.Descriptor instead.
func (*InspectResponse) GetContentType ¶
func (response *InspectResponse) GetContentType() int32
func (*InspectResponse) GetErrors ¶
func (x *InspectResponse) GetErrors() []string
func (*InspectResponse) GetSuccess ¶
func (x *InspectResponse) GetSuccess() bool
func (*InspectResponse) GetValues ¶
func (x *InspectResponse) GetValues() []*InspectResponse_InspectValue
func (*InspectResponse) ProtoMessage ¶
func (*InspectResponse) ProtoMessage()
func (*InspectResponse) ProtoReflect ¶ added in v0.16.0
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 { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Value string `protobuf:"bytes,2,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) 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.0
func (x *InspectResponse_InspectValue) ProtoReflect() protoreflect.Message
func (*InspectResponse_InspectValue) Reset ¶
func (x *InspectResponse_InspectValue) Reset()
func (*InspectResponse_InspectValue) String ¶
func (x *InspectResponse_InspectValue) String() string
type Link ¶
type Link struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*Link) Descriptor
deprecated
func (*Link) ProtoMessage ¶
func (*Link) ProtoMessage()
func (*Link) ProtoReflect ¶ added in v0.16.0
func (x *Link) ProtoReflect() protoreflect.Message
type RemoveTerminatorRequest ¶
type RemoveTerminatorRequest struct { TerminatorId string `protobuf:"bytes,1,opt,name=terminatorId,proto3" json:"terminatorId,omitempty"` // contains filtered or unexported fields }
func (*RemoveTerminatorRequest) Descriptor
deprecated
func (*RemoveTerminatorRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveTerminatorRequest.ProtoReflect.Descriptor instead.
func (*RemoveTerminatorRequest) GetTerminatorId ¶
func (x *RemoveTerminatorRequest) GetTerminatorId() string
func (*RemoveTerminatorRequest) ProtoMessage ¶
func (*RemoveTerminatorRequest) ProtoMessage()
func (*RemoveTerminatorRequest) ProtoReflect ¶ added in v0.16.0
func (x *RemoveTerminatorRequest) ProtoReflect() protoreflect.Message
func (*RemoveTerminatorRequest) Reset ¶
func (x *RemoveTerminatorRequest) Reset()
func (*RemoveTerminatorRequest) String ¶
func (x *RemoveTerminatorRequest) String() string
type Route ¶
type Route struct { SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"` Attempt uint32 `protobuf:"varint,2,opt,name=attempt,proto3" json:"attempt,omitempty"` Egress *Route_Egress `protobuf:"bytes,3,opt,name=egress,proto3" json:"egress,omitempty"` Forwards []*Route_Forward `protobuf:"bytes,4,rep,name=forwards,proto3" json:"forwards,omitempty"` // contains filtered or unexported fields }
func (*Route) Descriptor
deprecated
func (*Route) GetAttempt ¶ added in v0.16.0
func (*Route) GetEgress ¶
func (x *Route) GetEgress() *Route_Egress
func (*Route) GetForwards ¶
func (x *Route) GetForwards() []*Route_Forward
func (*Route) GetSessionId ¶
func (*Route) ProtoMessage ¶
func (*Route) ProtoMessage()
func (*Route) ProtoReflect ¶ added in v0.16.0
func (x *Route) ProtoReflect() protoreflect.Message
type Route_Egress ¶
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 `` /* 158-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Route_Egress) Descriptor
deprecated
func (*Route_Egress) Descriptor() ([]byte, []int)
Deprecated: Use Route_Egress.ProtoReflect.Descriptor instead.
func (*Route_Egress) GetAddress ¶
func (x *Route_Egress) GetAddress() string
func (*Route_Egress) GetBinding ¶
func (x *Route_Egress) GetBinding() string
func (*Route_Egress) GetDestination ¶
func (x *Route_Egress) GetDestination() string
func (*Route_Egress) GetPeerData ¶
func (x *Route_Egress) GetPeerData() map[uint32][]byte
func (*Route_Egress) ProtoMessage ¶
func (*Route_Egress) ProtoMessage()
func (*Route_Egress) ProtoReflect ¶ added in v0.16.0
func (x *Route_Egress) ProtoReflect() protoreflect.Message
func (*Route_Egress) Reset ¶
func (x *Route_Egress) Reset()
func (*Route_Egress) String ¶
func (x *Route_Egress) String() string
type Route_Forward ¶
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"` // contains filtered or unexported fields }
func (*Route_Forward) Descriptor
deprecated
func (*Route_Forward) Descriptor() ([]byte, []int)
Deprecated: Use Route_Forward.ProtoReflect.Descriptor instead.
func (*Route_Forward) GetDstAddress ¶
func (x *Route_Forward) GetDstAddress() string
func (*Route_Forward) GetSrcAddress ¶
func (x *Route_Forward) GetSrcAddress() string
func (*Route_Forward) ProtoMessage ¶
func (*Route_Forward) ProtoMessage()
func (*Route_Forward) ProtoReflect ¶ added in v0.16.0
func (x *Route_Forward) ProtoReflect() protoreflect.Message
func (*Route_Forward) Reset ¶
func (x *Route_Forward) Reset()
func (*Route_Forward) String ¶
func (x *Route_Forward) String() string
type SessionRequest ¶
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 `` /* 158-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SessionRequest) Descriptor
deprecated
func (*SessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use SessionRequest.ProtoReflect.Descriptor instead.
func (*SessionRequest) GetIngressId ¶
func (x *SessionRequest) GetIngressId() string
func (*SessionRequest) GetPeerData ¶
func (x *SessionRequest) GetPeerData() map[uint32][]byte
func (*SessionRequest) GetServiceId ¶
func (x *SessionRequest) GetServiceId() string
func (*SessionRequest) ProtoMessage ¶
func (*SessionRequest) ProtoMessage()
func (*SessionRequest) ProtoReflect ¶ added in v0.16.0
func (x *SessionRequest) ProtoReflect() protoreflect.Message
func (*SessionRequest) Reset ¶
func (x *SessionRequest) Reset()
func (*SessionRequest) String ¶
func (x *SessionRequest) String() string
type Terminator ¶
type Terminator struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Binding string `protobuf:"bytes,2,opt,name=binding,proto3" json:"binding,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*Terminator) Descriptor
deprecated
func (*Terminator) Descriptor() ([]byte, []int)
Deprecated: Use Terminator.ProtoReflect.Descriptor instead.
func (*Terminator) GetAddress ¶
func (x *Terminator) GetAddress() string
func (*Terminator) GetBinding ¶
func (x *Terminator) GetBinding() string
func (*Terminator) GetId ¶
func (x *Terminator) GetId() string
func (*Terminator) ProtoMessage ¶
func (*Terminator) ProtoMessage()
func (*Terminator) ProtoReflect ¶ added in v0.16.0
func (x *Terminator) ProtoReflect() protoreflect.Message
func (*Terminator) Reset ¶
func (x *Terminator) Reset()
func (*Terminator) String ¶
func (x *Terminator) String() string
type TerminatorPrecedence ¶
type TerminatorPrecedence int32
const ( TerminatorPrecedence_Default TerminatorPrecedence = 0 TerminatorPrecedence_Required TerminatorPrecedence = 1 TerminatorPrecedence_Failed TerminatorPrecedence = 2 )
func (TerminatorPrecedence) Descriptor ¶ added in v0.16.0
func (TerminatorPrecedence) Descriptor() protoreflect.EnumDescriptor
func (TerminatorPrecedence) Enum ¶ added in v0.16.0
func (x TerminatorPrecedence) Enum() *TerminatorPrecedence
func (TerminatorPrecedence) EnumDescriptor
deprecated
func (TerminatorPrecedence) EnumDescriptor() ([]byte, []int)
Deprecated: Use TerminatorPrecedence.Descriptor instead.
func (TerminatorPrecedence) Number ¶ added in v0.16.0
func (x TerminatorPrecedence) Number() protoreflect.EnumNumber
func (TerminatorPrecedence) String ¶
func (x TerminatorPrecedence) String() string
func (TerminatorPrecedence) Type ¶ added in v0.16.0
func (TerminatorPrecedence) Type() protoreflect.EnumType
type Unroute ¶
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"` // contains filtered or unexported fields }
func (*Unroute) Descriptor
deprecated
func (*Unroute) GetSessionId ¶
func (*Unroute) ProtoMessage ¶
func (*Unroute) ProtoMessage()
func (*Unroute) ProtoReflect ¶ added in v0.16.0
func (x *Unroute) ProtoReflect() protoreflect.Message
type UpdateTerminatorRequest ¶
type UpdateTerminatorRequest struct { TerminatorId string `protobuf:"bytes,1,opt,name=terminatorId,proto3" json:"terminatorId,omitempty"` UpdatePrecedence bool `protobuf:"varint,2,opt,name=updatePrecedence,proto3" json:"updatePrecedence,omitempty"` UpdateCost bool `protobuf:"varint,3,opt,name=updateCost,proto3" json:"updateCost,omitempty"` Precedence TerminatorPrecedence `protobuf:"varint,4,opt,name=precedence,proto3,enum=ctrl.pb.TerminatorPrecedence" json:"precedence,omitempty"` Cost uint32 `protobuf:"varint,5,opt,name=cost,proto3" json:"cost,omitempty"` // contains filtered or unexported fields }
func (*UpdateTerminatorRequest) Descriptor
deprecated
func (*UpdateTerminatorRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTerminatorRequest.ProtoReflect.Descriptor instead.
func (*UpdateTerminatorRequest) GetCost ¶
func (x *UpdateTerminatorRequest) GetCost() uint32
func (*UpdateTerminatorRequest) GetPrecedence ¶
func (x *UpdateTerminatorRequest) GetPrecedence() TerminatorPrecedence
func (*UpdateTerminatorRequest) GetTerminatorId ¶
func (x *UpdateTerminatorRequest) GetTerminatorId() string
func (*UpdateTerminatorRequest) GetUpdateCost ¶
func (x *UpdateTerminatorRequest) GetUpdateCost() bool
func (*UpdateTerminatorRequest) GetUpdatePrecedence ¶
func (x *UpdateTerminatorRequest) GetUpdatePrecedence() bool
func (*UpdateTerminatorRequest) ProtoMessage ¶
func (*UpdateTerminatorRequest) ProtoMessage()
func (*UpdateTerminatorRequest) ProtoReflect ¶ added in v0.16.0
func (x *UpdateTerminatorRequest) ProtoReflect() protoreflect.Message
func (*UpdateTerminatorRequest) Reset ¶
func (x *UpdateTerminatorRequest) Reset()
func (*UpdateTerminatorRequest) String ¶
func (x *UpdateTerminatorRequest) String() string
type ValidateTerminatorsRequest ¶
type ValidateTerminatorsRequest struct { Terminators []*Terminator `protobuf:"bytes,1,rep,name=terminators,proto3" json:"terminators,omitempty"` // contains filtered or unexported fields }
func (*ValidateTerminatorsRequest) Descriptor
deprecated
func (*ValidateTerminatorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidateTerminatorsRequest.ProtoReflect.Descriptor instead.
func (*ValidateTerminatorsRequest) GetTerminators ¶
func (x *ValidateTerminatorsRequest) GetTerminators() []*Terminator
func (*ValidateTerminatorsRequest) ProtoMessage ¶
func (*ValidateTerminatorsRequest) ProtoMessage()
func (*ValidateTerminatorsRequest) ProtoReflect ¶ added in v0.16.0
func (x *ValidateTerminatorsRequest) ProtoReflect() protoreflect.Message
func (*ValidateTerminatorsRequest) Reset ¶
func (x *ValidateTerminatorsRequest) Reset()
func (*ValidateTerminatorsRequest) String ¶
func (x *ValidateTerminatorsRequest) String() string