ctrl_pb

package
v0.17.56 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 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: "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",
		1019: "VerifyLinkType",
		1020: "SettingsType",
		1034: "CircuitConfirmationType",
	}
	ContentType_value = map[string]int32{
		"Zero":                           0,
		"CircuitRequestType":             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,
		"VerifyLinkType":                 1019,
		"SettingsType":                   1020,
		"CircuitConfirmationType":        1034,
	}
)

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.

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_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
	// CircuitFailedType = 1016;
	ContentType_ValidateTerminatorsRequestType ContentType = 1017
	ContentType_UpdateTerminatorRequestType    ContentType = 1018
	ContentType_VerifyLinkType                 ContentType = 1019
	ContentType_SettingsType                   ContentType = 1020
	ContentType_CircuitConfirmationType        ContentType = 1034
)

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"`
	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 Decoder

type Decoder struct{}

func (Decoder) Decode

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

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"`
	// 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) GetRouterId added in v0.16.65

func (x *Dial) GetRouterId() 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 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) Descriptor() ([]byte, []int)

Deprecated: Use Link.ProtoReflect.Descriptor instead.

func (*Link) GetContentType added in v0.17.31

func (request *Link) GetContentType() int32

func (*Link) GetId

func (x *Link) GetId() string

func (*Link) ProtoMessage

func (*Link) ProtoMessage()

func (*Link) ProtoReflect added in v0.16.0

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

func (*Link) Reset

func (x *Link) Reset()

func (*Link) String

func (x *Link) 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"`
	// 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) 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"`
	// 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 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

Jump to

Keyboard shortcuts

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