ctrl_pb

package
v0.22.8 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const DECODER = "ctrl"

Variables

View Source
var (
	ContentType_name = map[int32]string{
		0:    "Zero",
		1000: "CircuitRequestType",
		1002: "DialType",
		1003: "LinkConnectedType",
		1004: "FaultType",
		1005: "RouteType",
		1006: "UnrouteType",
		1007: "MetricsType",
		1008: "TogglePipeTracesRequestType",
		1010: "TraceEventType",
		1011: "CreateTerminatorRequestType",
		1012: "RemoveTerminatorRequestType",
		1013: "InspectRequestType",
		1014: "InspectResponseType",
		1017: "ValidateTerminatorsRequestType",
		1018: "UpdateTerminatorRequestType",
		1019: "VerifyLinkType",
		1020: "SettingsType",
		1034: "CircuitConfirmationType",
		1035: "RouterLinksType",
		1036: "VerifyRouterType",
		10:   "ListenersHeader",
	}
	ContentType_value = map[string]int32{
		"Zero":                           0,
		"CircuitRequestType":             1000,
		"DialType":                       1002,
		"LinkConnectedType":              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,
		"VerifyLinkType":                 1019,
		"SettingsType":                   1020,
		"CircuitConfirmationType":        1034,
		"RouterLinksType":                1035,
		"VerifyRouterType":               1036,
		"ListenersHeader":                10,
	}
)

Enum value maps for ContentType.

View Source
var (
	SettingTypes_name = map[int32]string{
		0: "UnusedSetting",
		1: "NewCtrlAddress",
	}
	SettingTypes_value = map[string]int32{
		"UnusedSetting":  0,
		"NewCtrlAddress": 1,
	}
)

Enum value maps for SettingTypes.

View Source
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.

View Source
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.

View Source
var (
	DestType_name = map[int32]string{
		0: "Start",
		1: "End",
		2: "Link",
	}
	DestType_value = map[string]int32{
		"Start": 0,
		"End":   1,
		"Link":  2,
	}
)

Enum value maps for DestType.

Functions

This section is empty.

Types

type CircuitConfirmation added in v0.16.92

type CircuitConfirmation struct {
	CircuitIds []string `protobuf:"bytes,1,rep,name=circuitIds,proto3" json:"circuitIds,omitempty"`
	// contains filtered or unexported fields
}

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

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

Deprecated: Use CircuitConfirmation.ProtoReflect.Descriptor instead.

func (*CircuitConfirmation) GetCircuitIds added in v0.16.92

func (x *CircuitConfirmation) GetCircuitIds() []string

func (*CircuitConfirmation) GetContentType added in v0.17.31

func (request *CircuitConfirmation) GetContentType() int32

func (*CircuitConfirmation) ProtoMessage added in v0.16.92

func (*CircuitConfirmation) ProtoMessage()

func (*CircuitConfirmation) ProtoReflect added in v0.16.92

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

func (*CircuitConfirmation) Reset added in v0.16.92

func (x *CircuitConfirmation) Reset()

func (*CircuitConfirmation) String added in v0.16.92

func (x *CircuitConfirmation) String() string

type CircuitRequest added in v0.16.92

type CircuitRequest struct {
	IngressId string            `protobuf:"bytes,1,opt,name=ingressId,proto3" json:"ingressId,omitempty"`
	Service   string            `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
	PeerData  map[uint32][]byte `` /* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

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

Deprecated: Use CircuitRequest.ProtoReflect.Descriptor instead.

func (*CircuitRequest) GetContentType added in v0.17.18

func (request *CircuitRequest) GetContentType() int32

func (*CircuitRequest) GetIngressId added in v0.16.92

func (x *CircuitRequest) GetIngressId() string

func (*CircuitRequest) GetPeerData added in v0.16.92

func (x *CircuitRequest) GetPeerData() map[uint32][]byte

func (*CircuitRequest) GetService added in v0.17.51

func (x *CircuitRequest) GetService() string

func (*CircuitRequest) ProtoMessage added in v0.16.92

func (*CircuitRequest) ProtoMessage()

func (*CircuitRequest) ProtoReflect added in v0.16.92

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

func (*CircuitRequest) Reset added in v0.16.92

func (x *CircuitRequest) Reset()

func (*CircuitRequest) String added in v0.16.92

func (x *CircuitRequest) String() string

type ContentType

type ContentType int32
const (
	ContentType_Zero               ContentType = 0
	ContentType_CircuitRequestType ContentType = 1000
	// defined in ctrl_msg/messages.go now
	// CircuitSuccessType = 1001;
	ContentType_DialType                    ContentType = 1002
	ContentType_LinkConnectedType           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
	// CircuitFailedType = 1016;
	ContentType_ValidateTerminatorsRequestType ContentType = 1017
	ContentType_UpdateTerminatorRequestType    ContentType = 1018
	ContentType_VerifyLinkType                 ContentType = 1019
	ContentType_SettingsType                   ContentType = 1020
	ContentType_CircuitConfirmationType        ContentType = 1034
	ContentType_RouterLinksType                ContentType = 1035
	ContentType_VerifyRouterType               ContentType = 1036
	ContentType_ListenersHeader                ContentType = 10
)

func (ContentType) Descriptor added in v0.16.0

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

type Context added in v0.16.92

type Context struct {
	Fields      map[string]string `` /* 153-byte string literal not displayed */
	ChannelMask uint32            `protobuf:"varint,2,opt,name=channelMask,proto3" json:"channelMask,omitempty"`
	// contains filtered or unexported fields
}

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

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

Deprecated: Use Context.ProtoReflect.Descriptor instead.

func (*Context) GetChannelMask added in v0.16.92

func (x *Context) GetChannelMask() uint32

func (*Context) GetFields added in v0.16.92

func (x *Context) GetFields() map[string]string

func (*Context) ProtoMessage added in v0.16.92

func (*Context) ProtoMessage()

func (*Context) ProtoReflect added in v0.16.92

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

func (*Context) Reset added in v0.16.92

func (x *Context) Reset()

func (*Context) String added in v0.16.92

func (x *Context) String() string

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=ziti.ctrl.pb.TerminatorPrecedence" json:"precedence,omitempty"`
	InstanceId     string               `protobuf:"bytes,8,opt,name=instanceId,proto3" json:"instanceId,omitempty"`
	InstanceSecret []byte               `protobuf:"bytes,9,opt,name=instanceSecret,proto3" json:"instanceSecret,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) GetInstanceId added in v0.19.0

func (x *CreateTerminatorRequest) GetInstanceId() string

func (*CreateTerminatorRequest) GetInstanceSecret added in v0.19.0

func (x *CreateTerminatorRequest) GetInstanceSecret() []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 Decoder

type Decoder struct{}

func (Decoder) Decode

func (d Decoder) Decode(msg *channel.Message) ([]byte, bool)

type DestType added in v0.17.109

type DestType int32
const (
	DestType_Start DestType = 0
	DestType_End   DestType = 1
	DestType_Link  DestType = 2
)

func (DestType) Descriptor added in v0.17.109

func (DestType) Descriptor() protoreflect.EnumDescriptor

func (DestType) Enum added in v0.17.109

func (x DestType) Enum() *DestType

func (DestType) EnumDescriptor deprecated added in v0.17.109

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

Deprecated: Use DestType.Descriptor instead.

func (DestType) Number added in v0.17.109

func (x DestType) Number() protoreflect.EnumNumber

func (DestType) String added in v0.17.109

func (x DestType) String() string

func (DestType) Type added in v0.17.109

type Dial

type Dial struct {
	LinkId        string `protobuf:"bytes,1,opt,name=linkId,proto3" json:"linkId,omitempty"`
	Address       string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	RouterId      string `protobuf:"bytes,3,opt,name=routerId,proto3" json:"routerId,omitempty"`
	LinkProtocol  string `protobuf:"bytes,4,opt,name=linkProtocol,proto3" json:"linkProtocol,omitempty"`
	RouterVersion string `protobuf:"bytes,5,opt,name=routerVersion,proto3" json:"routerVersion,omitempty"`
	// contains filtered or unexported fields
}

func (*Dial) Descriptor deprecated

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

Deprecated: Use Dial.ProtoReflect.Descriptor instead.

func (*Dial) GetAddress

func (x *Dial) GetAddress() string

func (*Dial) GetContentType added in v0.17.18

func (request *Dial) GetContentType() int32

func (*Dial) GetLinkId added in v0.16.65

func (x *Dial) GetLinkId() string

func (*Dial) GetLinkProtocol added in v0.17.74

func (x *Dial) GetLinkProtocol() string

func (*Dial) GetRouterId added in v0.16.65

func (x *Dial) GetRouterId() string

func (*Dial) GetRouterVersion added in v0.17.60

func (x *Dial) GetRouterVersion() string

func (*Dial) ProtoMessage

func (*Dial) ProtoMessage()

func (*Dial) ProtoReflect added in v0.16.0

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

func (*Dial) Reset

func (x *Dial) Reset()

func (*Dial) String

func (x *Dial) String() string

type Fault

type Fault struct {
	Subject FaultSubject `protobuf:"varint,1,opt,name=subject,proto3,enum=ziti.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) Descriptor() ([]byte, []int)

Deprecated: Use Fault.ProtoReflect.Descriptor instead.

func (*Fault) GetContentType added in v0.17.18

func (request *Fault) GetContentType() int32

func (*Fault) GetId

func (x *Fault) GetId() string

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

func (*Fault) Reset

func (x *Fault) Reset()

func (*Fault) String

func (x *Fault) String() string

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) 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 (FaultSubject) String

func (x FaultSubject) String() string

func (FaultSubject) Type added in v0.16.0

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 (*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 (*InspectResponse_InspectValue) Reset

func (x *InspectResponse_InspectValue) Reset()

func (*InspectResponse_InspectValue) String

type LinkConn added in v0.19.28

type LinkConn struct {
	Id         string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	LocalAddr  string `protobuf:"bytes,2,opt,name=localAddr,proto3" json:"localAddr,omitempty"`
	RemoteAddr string `protobuf:"bytes,3,opt,name=remoteAddr,proto3" json:"remoteAddr,omitempty"`
	// contains filtered or unexported fields
}

func (*LinkConn) Descriptor deprecated added in v0.19.28

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

Deprecated: Use LinkConn.ProtoReflect.Descriptor instead.

func (*LinkConn) GetId added in v0.19.28

func (x *LinkConn) GetId() string

func (*LinkConn) GetLocalAddr added in v0.19.28

func (x *LinkConn) GetLocalAddr() string

func (*LinkConn) GetRemoteAddr added in v0.19.28

func (x *LinkConn) GetRemoteAddr() string

func (*LinkConn) ProtoMessage added in v0.19.28

func (*LinkConn) ProtoMessage()

func (*LinkConn) ProtoReflect added in v0.19.28

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

func (*LinkConn) Reset added in v0.19.28

func (x *LinkConn) Reset()

func (*LinkConn) String added in v0.19.28

func (x *LinkConn) String() string

type LinkConnected added in v0.17.60

type LinkConnected struct {
	Id    string      `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Conns []*LinkConn `protobuf:"bytes,2,rep,name=conns,proto3" json:"conns,omitempty"`
	// contains filtered or unexported fields
}

func (*LinkConnected) Descriptor deprecated added in v0.17.60

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

Deprecated: Use LinkConnected.ProtoReflect.Descriptor instead.

func (*LinkConnected) GetConns added in v0.19.28

func (x *LinkConnected) GetConns() []*LinkConn

func (*LinkConnected) GetContentType added in v0.17.60

func (request *LinkConnected) GetContentType() int32

func (*LinkConnected) GetId added in v0.17.60

func (x *LinkConnected) GetId() string

func (*LinkConnected) ProtoMessage added in v0.17.60

func (*LinkConnected) ProtoMessage()

func (*LinkConnected) ProtoReflect added in v0.17.60

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

func (*LinkConnected) Reset added in v0.17.60

func (x *LinkConnected) Reset()

func (*LinkConnected) String added in v0.17.60

func (x *LinkConnected) String() string

type Listener added in v0.17.60

type Listener struct {
	Address  string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Protocol string   `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"`
	CostTags []string `protobuf:"bytes,3,rep,name=costTags,proto3" json:"costTags,omitempty"`
	// contains filtered or unexported fields
}

func (*Listener) Descriptor deprecated added in v0.17.60

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

Deprecated: Use Listener.ProtoReflect.Descriptor instead.

func (*Listener) GetAddress added in v0.17.60

func (x *Listener) GetAddress() string

func (*Listener) GetCostTags added in v0.17.74

func (x *Listener) GetCostTags() []string

func (*Listener) GetProtocol added in v0.17.74

func (x *Listener) GetProtocol() string

func (*Listener) ProtoMessage added in v0.17.60

func (*Listener) ProtoMessage()

func (*Listener) ProtoReflect added in v0.17.60

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

func (*Listener) Reset added in v0.17.60

func (x *Listener) Reset()

func (*Listener) String added in v0.17.60

func (x *Listener) String() string

type Listeners added in v0.17.60

type Listeners struct {
	Listeners []*Listener `protobuf:"bytes,1,rep,name=listeners,proto3" json:"listeners,omitempty"`
	// contains filtered or unexported fields
}

func (*Listeners) Descriptor deprecated added in v0.17.60

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

Deprecated: Use Listeners.ProtoReflect.Descriptor instead.

func (*Listeners) GetListeners added in v0.17.60

func (x *Listeners) GetListeners() []*Listener

func (*Listeners) ProtoMessage added in v0.17.60

func (*Listeners) ProtoMessage()

func (*Listeners) ProtoReflect added in v0.17.60

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

func (*Listeners) Reset added in v0.17.60

func (x *Listeners) Reset()

func (*Listeners) String added in v0.17.60

func (x *Listeners) String() string

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) GetContentType added in v0.17.18

func (request *RemoveTerminatorRequest) GetContentType() int32

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 {
	CircuitId string            `protobuf:"bytes,1,opt,name=circuitId,proto3" json:"circuitId,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"`
	Context   *Context          `protobuf:"bytes,5,opt,name=context,proto3" json:"context,omitempty"`
	Timeout   uint64            `protobuf:"varint,6,opt,name=timeout,proto3" json:"timeout,omitempty"`
	Tags      map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Route) Descriptor deprecated

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

Deprecated: Use Route.ProtoReflect.Descriptor instead.

func (*Route) GetAttempt added in v0.16.0

func (x *Route) GetAttempt() uint32

func (*Route) GetCircuitId added in v0.16.92

func (x *Route) GetCircuitId() string

func (*Route) GetContentType added in v0.17.18

func (request *Route) GetContentType() int32

func (*Route) GetContext added in v0.16.92

func (x *Route) GetContext() *Context

func (*Route) GetEgress

func (x *Route) GetEgress() *Route_Egress

func (*Route) GetForwards

func (x *Route) GetForwards() []*Route_Forward

func (*Route) GetTags added in v0.20.0

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

func (*Route) GetTimeout added in v0.17.126

func (x *Route) GetTimeout() uint64

func (*Route) ProtoMessage

func (*Route) ProtoMessage()

func (*Route) ProtoReflect added in v0.16.0

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

func (*Route) Reset

func (x *Route) Reset()

func (*Route) String

func (x *Route) String() string

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"`
	DstType    DestType `protobuf:"varint,3,opt,name=dstType,proto3,enum=ziti.ctrl.pb.DestType" json:"dstType,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) GetDstType added in v0.17.109

func (x *Route_Forward) GetDstType() DestType

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 RouterLinks struct {
	Links []*RouterLinks_RouterLink `protobuf:"bytes,1,rep,name=links,proto3" json:"links,omitempty"`
	// contains filtered or unexported fields
}

func (*RouterLinks) Descriptor deprecated added in v0.17.60

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

Deprecated: Use RouterLinks.ProtoReflect.Descriptor instead.

func (*RouterLinks) GetContentType added in v0.17.60

func (request *RouterLinks) GetContentType() int32
func (x *RouterLinks) GetLinks() []*RouterLinks_RouterLink

func (*RouterLinks) ProtoMessage added in v0.17.60

func (*RouterLinks) ProtoMessage()

func (*RouterLinks) ProtoReflect added in v0.17.60

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

func (*RouterLinks) Reset added in v0.17.60

func (x *RouterLinks) Reset()

func (*RouterLinks) String added in v0.17.60

func (x *RouterLinks) String() string
type RouterLinks_RouterLink struct {
	Id           string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DestRouterId string   `protobuf:"bytes,2,opt,name=destRouterId,proto3" json:"destRouterId,omitempty"`
	LinkProtocol string   `protobuf:"bytes,3,opt,name=linkProtocol,proto3" json:"linkProtocol,omitempty"`
	LinkCostTags []string `protobuf:"bytes,4,rep,name=linkCostTags,proto3" json:"linkCostTags,omitempty"`
	DialAddress  string   `protobuf:"bytes,5,opt,name=dialAddress,proto3" json:"dialAddress,omitempty"`
	// contains filtered or unexported fields
}
func (*RouterLinks_RouterLink) Descriptor() ([]byte, []int)

Deprecated: Use RouterLinks_RouterLink.ProtoReflect.Descriptor instead.

func (x *RouterLinks_RouterLink) GetDestRouterId() string
func (x *RouterLinks_RouterLink) GetDialAddress() string
func (x *RouterLinks_RouterLink) GetId() string
func (x *RouterLinks_RouterLink) GetLinkCostTags() []string
func (x *RouterLinks_RouterLink) GetLinkProtocol() string
func (*RouterLinks_RouterLink) ProtoMessage()
func (x *RouterLinks_RouterLink) ProtoReflect() protoreflect.Message
func (x *RouterLinks_RouterLink) Reset()
func (x *RouterLinks_RouterLink) String() string

type SettingTypes added in v0.17.26

type SettingTypes int32

SettingTypes are used with the Settings message send arbitrary settings to routers. SettingTypes default to int32 which can be used seamlessly for keys in the Settings.data field

const (
	//unused, consume to avoid zero value accidents
	SettingTypes_UnusedSetting SettingTypes = 0
	//Sent to routers to notify them of a controller IP/hostname move
	SettingTypes_NewCtrlAddress SettingTypes = 1
)

func (SettingTypes) Descriptor added in v0.17.26

func (SettingTypes) Enum added in v0.17.26

func (x SettingTypes) Enum() *SettingTypes

func (SettingTypes) EnumDescriptor deprecated added in v0.17.26

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

Deprecated: Use SettingTypes.Descriptor instead.

func (SettingTypes) Number added in v0.17.26

func (SettingTypes) String added in v0.17.26

func (x SettingTypes) String() string

func (SettingTypes) Type added in v0.17.26

type Settings added in v0.17.26

type Settings struct {
	Data map[int32][]byte `` /* 150-byte string literal not displayed */
	// contains filtered or unexported fields
}

Settings are sent to to routers to configure arbitrary runtime settings.

func (*Settings) Descriptor deprecated added in v0.17.26

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

Deprecated: Use Settings.ProtoReflect.Descriptor instead.

func (*Settings) GetData added in v0.17.26

func (x *Settings) GetData() map[int32][]byte

func (*Settings) ProtoMessage added in v0.17.26

func (*Settings) ProtoMessage()

func (*Settings) ProtoReflect added in v0.17.26

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

func (*Settings) Reset added in v0.17.26

func (x *Settings) Reset()

func (*Settings) String added in v0.17.26

func (x *Settings) 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) Enum added in v0.16.0

func (TerminatorPrecedence) EnumDescriptor deprecated

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

Deprecated: Use TerminatorPrecedence.Descriptor instead.

func (TerminatorPrecedence) Number added in v0.16.0

func (TerminatorPrecedence) String

func (x TerminatorPrecedence) String() string

func (TerminatorPrecedence) Type added in v0.16.0

type Unroute

type Unroute struct {
	CircuitId string `protobuf:"bytes,1,opt,name=circuitId,proto3" json:"circuitId,omitempty"`
	Now       bool   `protobuf:"varint,2,opt,name=now,proto3" json:"now,omitempty"`
	// contains filtered or unexported fields
}

func (*Unroute) Descriptor deprecated

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

Deprecated: Use Unroute.ProtoReflect.Descriptor instead.

func (*Unroute) GetCircuitId added in v0.16.92

func (x *Unroute) GetCircuitId() string

func (*Unroute) GetContentType added in v0.17.18

func (request *Unroute) GetContentType() int32

func (*Unroute) GetNow

func (x *Unroute) GetNow() bool

func (*Unroute) ProtoMessage

func (*Unroute) ProtoMessage()

func (*Unroute) ProtoReflect added in v0.16.0

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

func (*Unroute) Reset

func (x *Unroute) Reset()

func (*Unroute) String

func (x *Unroute) String() string

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=ziti.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) GetContentType added in v0.17.18

func (request *ValidateTerminatorsRequest) GetContentType() int32

func (*ValidateTerminatorsRequest) GetTerminators

func (x *ValidateTerminatorsRequest) GetTerminators() []*Terminator

func (*ValidateTerminatorsRequest) ProtoMessage

func (*ValidateTerminatorsRequest) ProtoMessage()

func (*ValidateTerminatorsRequest) ProtoReflect added in v0.16.0

func (*ValidateTerminatorsRequest) Reset

func (x *ValidateTerminatorsRequest) Reset()

func (*ValidateTerminatorsRequest) String

func (x *ValidateTerminatorsRequest) String() string
type VerifyLink struct {
	LinkId       string   `protobuf:"bytes,1,opt,name=linkId,proto3" json:"linkId,omitempty"`
	Fingerprints []string `protobuf:"bytes,2,rep,name=fingerprints,proto3" json:"fingerprints,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyLink) Descriptor deprecated added in v0.16.128

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

Deprecated: Use VerifyLink.ProtoReflect.Descriptor instead.

func (*VerifyLink) GetContentType added in v0.17.31

func (request *VerifyLink) GetContentType() int32

func (*VerifyLink) GetFingerprints added in v0.16.128

func (x *VerifyLink) GetFingerprints() []string

func (*VerifyLink) GetLinkId added in v0.16.128

func (x *VerifyLink) GetLinkId() string

func (*VerifyLink) ProtoMessage added in v0.16.128

func (*VerifyLink) ProtoMessage()

func (*VerifyLink) ProtoReflect added in v0.16.128

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

func (*VerifyLink) Reset added in v0.16.128

func (x *VerifyLink) Reset()

func (*VerifyLink) String added in v0.16.128

func (x *VerifyLink) String() string

type VerifyRouter added in v0.17.123

type VerifyRouter struct {
	RouterId     string   `protobuf:"bytes,1,opt,name=routerId,proto3" json:"routerId,omitempty"`
	Fingerprints []string `protobuf:"bytes,2,rep,name=fingerprints,proto3" json:"fingerprints,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyRouter) Descriptor deprecated added in v0.17.123

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

Deprecated: Use VerifyRouter.ProtoReflect.Descriptor instead.

func (*VerifyRouter) GetContentType added in v0.17.123

func (request *VerifyRouter) GetContentType() int32

func (*VerifyRouter) GetFingerprints added in v0.17.123

func (x *VerifyRouter) GetFingerprints() []string

func (*VerifyRouter) GetRouterId added in v0.17.123

func (x *VerifyRouter) GetRouterId() string

func (*VerifyRouter) ProtoMessage added in v0.17.123

func (*VerifyRouter) ProtoMessage()

func (*VerifyRouter) ProtoReflect added in v0.17.123

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

func (*VerifyRouter) Reset added in v0.17.123

func (x *VerifyRouter) Reset()

func (*VerifyRouter) String added in v0.17.123

func (x *VerifyRouter) String() string

Jump to

Keyboard shortcuts

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