edge_ctrl_pb

package
v0.19.57 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

README

Prerequisites

  1. Install the protoc binary from: https://github.com/protocolbuffers/protobuf/releases
  2. Install the protoc plugin for Go go get -u github.com/golang/protobuf/protoc-gen-go
  3. Ensure protoc is on your path.
  4. Ensure your Go bin directory is on your path

Generate Go Code

Two options, run the command manually or use go generate

Go Generate

  1. Navigate to the root project directory edge
  2. run go generate ./pb/edge_ctrl_pb/... or go generate .\pb\edge_ctrl_pb\...

Note: Running a naked go generate will trigger all go:generate tags in the project, which you most likely do not want

Manually

  1. Navigate to the project root
  2. Run: protoc -I ./pb/edge_ctrl_pb/ ./pb/edge_ctrl_pb/edge_ctrl.proto --go_out=./pb/edge_ctrl_pb

Documentation

Index

Constants

View Source
const DECODER = "edge_ctrl"

Variables

View Source
var (
	ContentType_name = map[int32]string{
		0:     "Zero",
		20000: "ServerHelloType",
		20001: "ClientHelloType",
		20002: "ErrorType",
		20102: "SessionRemovedType",
		20200: "ApiSessionAddedType",
		20201: "ApiSessionUpdatedType",
		20202: "ApiSessionRemovedType",
		20203: "ApiSessionHeartbeatType",
		20204: "RequestClientReSyncType",
		20205: "CreateCircuitRequestType",
		20206: "CreateCircuitResponseType",
		20207: "CreateTerminatorRequestType",
		20208: "CreateTerminatorResponseType",
		20209: "UpdateTerminatorRequestType",
		20210: "UpdateTerminatorResponseType",
		20211: "RemoveTerminatorRequestType",
		20212: "RemoveTerminatorResponseType",
		20213: "ValidateSessionsRequestType",
		20214: "HealthEventType",
		20300: "EnrollType",
		20301: "EnrollCertsType",
		20400: "CreateApiSessionRequestType",
		20401: "CreateApiSessionResponseType",
		20402: "CreateCircuitForServiceRequestType",
		20403: "CreateCircuitForServiceResponseType",
		20404: "ListServicesRequestType",
		20405: "ServiceListType",
		20406: "CreateTunnelTerminatorRequestType",
		20407: "CreateTunnelTerminatorResponseType",
		20408: "UpdateTunnelTerminatorRequestType",
		20409: "UpdateTunnelTerminatorResponseType",
		20410: "RemoveTunnelTerminatorRequestType",
		20411: "RemoveTunnelTerminatorResponseType",
		20412: "TunnelHealthEventType",
	}
	ContentType_value = map[string]int32{
		"Zero":                                0,
		"ServerHelloType":                     20000,
		"ClientHelloType":                     20001,
		"ErrorType":                           20002,
		"SessionRemovedType":                  20102,
		"ApiSessionAddedType":                 20200,
		"ApiSessionUpdatedType":               20201,
		"ApiSessionRemovedType":               20202,
		"ApiSessionHeartbeatType":             20203,
		"RequestClientReSyncType":             20204,
		"CreateCircuitRequestType":            20205,
		"CreateCircuitResponseType":           20206,
		"CreateTerminatorRequestType":         20207,
		"CreateTerminatorResponseType":        20208,
		"UpdateTerminatorRequestType":         20209,
		"UpdateTerminatorResponseType":        20210,
		"RemoveTerminatorRequestType":         20211,
		"RemoveTerminatorResponseType":        20212,
		"ValidateSessionsRequestType":         20213,
		"HealthEventType":                     20214,
		"EnrollType":                          20300,
		"EnrollCertsType":                     20301,
		"CreateApiSessionRequestType":         20400,
		"CreateApiSessionResponseType":        20401,
		"CreateCircuitForServiceRequestType":  20402,
		"CreateCircuitForServiceResponseType": 20403,
		"ListServicesRequestType":             20404,
		"ServiceListType":                     20405,
		"CreateTunnelTerminatorRequestType":   20406,
		"CreateTunnelTerminatorResponseType":  20407,
		"UpdateTunnelTerminatorRequestType":   20408,
		"UpdateTunnelTerminatorResponseType":  20409,
		"RemoveTunnelTerminatorRequestType":   20410,
		"RemoveTunnelTerminatorResponseType":  20411,
		"TunnelHealthEventType":               20412,
	}
)

Enum value maps for ContentType.

View Source
var (
	SessionType_name = map[int32]string{
		0: "Dial",
		1: "Bind",
	}
	SessionType_value = map[string]int32{
		"Dial": 0,
		"Bind": 1,
	}
)

Enum value maps for SessionType.

View Source
var (
	Header_name = map[int32]string{
		0:    "HeaderZero",
		1022: "TerminatorId",
		1023: "CheckPassed",
	}
	Header_value = map[string]int32{
		"HeaderZero":   0,
		"TerminatorId": 1022,
		"CheckPassed":  1023,
	}
)

Enum value maps for Header.

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 File_edge_ctrl_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ApiSession

type ApiSession struct {
	Token            string   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	CertFingerprints []string `protobuf:"bytes,2,rep,name=certFingerprints,proto3" json:"certFingerprints,omitempty"`
	Id               string   `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ApiSession) Descriptor deprecated

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

Deprecated: Use ApiSession.ProtoReflect.Descriptor instead.

func (*ApiSession) GetCertFingerprints

func (x *ApiSession) GetCertFingerprints() []string

func (*ApiSession) GetId added in v0.17.30

func (x *ApiSession) GetId() string

func (*ApiSession) GetToken

func (x *ApiSession) GetToken() string

func (*ApiSession) ProtoMessage

func (*ApiSession) ProtoMessage()

func (*ApiSession) ProtoReflect added in v0.17.57

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

func (*ApiSession) Reset

func (x *ApiSession) Reset()

func (*ApiSession) String

func (x *ApiSession) String() string

type ApiSessionAdded

type ApiSessionAdded struct {
	IsFullState bool          `protobuf:"varint,1,opt,name=isFullState,proto3" json:"isFullState,omitempty"`
	ApiSessions []*ApiSession `protobuf:"bytes,2,rep,name=apiSessions,proto3" json:"apiSessions,omitempty"`
	// contains filtered or unexported fields
}

func (*ApiSessionAdded) Descriptor deprecated

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

Deprecated: Use ApiSessionAdded.ProtoReflect.Descriptor instead.

func (*ApiSessionAdded) GetApiSessions

func (x *ApiSessionAdded) GetApiSessions() []*ApiSession

func (*ApiSessionAdded) GetIsFullState

func (x *ApiSessionAdded) GetIsFullState() bool

func (*ApiSessionAdded) ProtoMessage

func (*ApiSessionAdded) ProtoMessage()

func (*ApiSessionAdded) ProtoReflect added in v0.17.57

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

func (*ApiSessionAdded) Reset

func (x *ApiSessionAdded) Reset()

func (*ApiSessionAdded) String

func (x *ApiSessionAdded) String() string

type ApiSessionHeartbeat

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

func (*ApiSessionHeartbeat) Descriptor deprecated

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

Deprecated: Use ApiSessionHeartbeat.ProtoReflect.Descriptor instead.

func (*ApiSessionHeartbeat) GetTokens

func (x *ApiSessionHeartbeat) GetTokens() []string

func (*ApiSessionHeartbeat) ProtoMessage

func (*ApiSessionHeartbeat) ProtoMessage()

func (*ApiSessionHeartbeat) ProtoReflect added in v0.17.57

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

func (*ApiSessionHeartbeat) Reset

func (x *ApiSessionHeartbeat) Reset()

func (*ApiSessionHeartbeat) String

func (x *ApiSessionHeartbeat) String() string

type ApiSessionRemoved

type ApiSessionRemoved struct {
	Tokens []string `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"`
	Ids    []string `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*ApiSessionRemoved) Descriptor deprecated

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

Deprecated: Use ApiSessionRemoved.ProtoReflect.Descriptor instead.

func (*ApiSessionRemoved) GetIds added in v0.17.72

func (x *ApiSessionRemoved) GetIds() []string

func (*ApiSessionRemoved) GetTokens

func (x *ApiSessionRemoved) GetTokens() []string

func (*ApiSessionRemoved) ProtoMessage

func (*ApiSessionRemoved) ProtoMessage()

func (*ApiSessionRemoved) ProtoReflect added in v0.17.57

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

func (*ApiSessionRemoved) Reset

func (x *ApiSessionRemoved) Reset()

func (*ApiSessionRemoved) String

func (x *ApiSessionRemoved) String() string

type ApiSessionUpdated

type ApiSessionUpdated struct {
	ApiSessions []*ApiSession `protobuf:"bytes,1,rep,name=apiSessions,proto3" json:"apiSessions,omitempty"`
	// contains filtered or unexported fields
}

func (*ApiSessionUpdated) Descriptor deprecated

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

Deprecated: Use ApiSessionUpdated.ProtoReflect.Descriptor instead.

func (*ApiSessionUpdated) GetApiSessions

func (x *ApiSessionUpdated) GetApiSessions() []*ApiSession

func (*ApiSessionUpdated) ProtoMessage

func (*ApiSessionUpdated) ProtoMessage()

func (*ApiSessionUpdated) ProtoReflect added in v0.17.57

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

func (*ApiSessionUpdated) Reset

func (x *ApiSessionUpdated) Reset()

func (*ApiSessionUpdated) String

func (x *ApiSessionUpdated) String() string

type ClientHello

type ClientHello struct {
	Version       string            `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	Hostname      string            `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"`
	Protocols     []string          `protobuf:"bytes,3,rep,name=protocols,proto3" json:"protocols,omitempty"`
	Data          map[string]string `` /* 149-byte string literal not displayed */
	ProtocolPorts []string          `protobuf:"bytes,5,rep,name=protocolPorts,proto3" json:"protocolPorts,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientHello) Descriptor deprecated

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

Deprecated: Use ClientHello.ProtoReflect.Descriptor instead.

func (*ClientHello) GetData

func (x *ClientHello) GetData() map[string]string

func (*ClientHello) GetHostname

func (x *ClientHello) GetHostname() string

func (*ClientHello) GetProtocolPorts added in v0.17.57

func (x *ClientHello) GetProtocolPorts() []string

func (*ClientHello) GetProtocols

func (x *ClientHello) GetProtocols() []string

func (*ClientHello) GetVersion

func (x *ClientHello) GetVersion() string

func (*ClientHello) ProtoMessage

func (*ClientHello) ProtoMessage()

func (*ClientHello) ProtoReflect added in v0.17.57

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

func (*ClientHello) Reset

func (x *ClientHello) Reset()

func (*ClientHello) String

func (x *ClientHello) String() string

type ContentType

type ContentType int32
const (
	ContentType_Zero            ContentType = 0
	ContentType_ServerHelloType ContentType = 20000
	ContentType_ClientHelloType ContentType = 20001
	ContentType_ErrorType       ContentType = 20002
	// SessionAddedType = 20100;
	// SessionUpdatedType = 20101;
	ContentType_SessionRemovedType                  ContentType = 20102
	ContentType_ApiSessionAddedType                 ContentType = 20200
	ContentType_ApiSessionUpdatedType               ContentType = 20201
	ContentType_ApiSessionRemovedType               ContentType = 20202
	ContentType_ApiSessionHeartbeatType             ContentType = 20203
	ContentType_RequestClientReSyncType             ContentType = 20204
	ContentType_CreateCircuitRequestType            ContentType = 20205
	ContentType_CreateCircuitResponseType           ContentType = 20206
	ContentType_CreateTerminatorRequestType         ContentType = 20207
	ContentType_CreateTerminatorResponseType        ContentType = 20208
	ContentType_UpdateTerminatorRequestType         ContentType = 20209
	ContentType_UpdateTerminatorResponseType        ContentType = 20210
	ContentType_RemoveTerminatorRequestType         ContentType = 20211
	ContentType_RemoveTerminatorResponseType        ContentType = 20212
	ContentType_ValidateSessionsRequestType         ContentType = 20213
	ContentType_HealthEventType                     ContentType = 20214
	ContentType_EnrollType                          ContentType = 20300
	ContentType_EnrollCertsType                     ContentType = 20301
	ContentType_CreateApiSessionRequestType         ContentType = 20400
	ContentType_CreateApiSessionResponseType        ContentType = 20401
	ContentType_CreateCircuitForServiceRequestType  ContentType = 20402
	ContentType_CreateCircuitForServiceResponseType ContentType = 20403
	ContentType_ListServicesRequestType             ContentType = 20404
	ContentType_ServiceListType                     ContentType = 20405
	ContentType_CreateTunnelTerminatorRequestType   ContentType = 20406
	ContentType_CreateTunnelTerminatorResponseType  ContentType = 20407
	ContentType_UpdateTunnelTerminatorRequestType   ContentType = 20408
	ContentType_UpdateTunnelTerminatorResponseType  ContentType = 20409
	ContentType_RemoveTunnelTerminatorRequestType   ContentType = 20410
	ContentType_RemoveTunnelTerminatorResponseType  ContentType = 20411
	ContentType_TunnelHealthEventType               ContentType = 20412
)

func (ContentType) Descriptor added in v0.17.57

func (ContentType) Enum added in v0.17.57

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.17.57

func (x ContentType) Number() protoreflect.EnumNumber

func (ContentType) String

func (x ContentType) String() string

func (ContentType) Type added in v0.17.57

type CreateApiSessionRequest added in v0.19.43

type CreateApiSessionRequest struct {
	EnvInfo     *EnvInfo `protobuf:"bytes,1,opt,name=envInfo,proto3" json:"envInfo,omitempty"`
	SdkInfo     *SdkInfo `protobuf:"bytes,2,opt,name=sdkInfo,proto3" json:"sdkInfo,omitempty"`
	ConfigTypes []string `protobuf:"bytes,3,rep,name=configTypes,proto3" json:"configTypes,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateApiSessionRequest) Descriptor deprecated added in v0.19.43

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

Deprecated: Use CreateApiSessionRequest.ProtoReflect.Descriptor instead.

func (*CreateApiSessionRequest) GetConfigTypes added in v0.19.43

func (x *CreateApiSessionRequest) GetConfigTypes() []string

func (*CreateApiSessionRequest) GetContentType added in v0.19.43

func (request *CreateApiSessionRequest) GetContentType() int32

func (*CreateApiSessionRequest) GetEnvInfo added in v0.19.43

func (x *CreateApiSessionRequest) GetEnvInfo() *EnvInfo

func (*CreateApiSessionRequest) GetSdkInfo added in v0.19.43

func (x *CreateApiSessionRequest) GetSdkInfo() *SdkInfo

func (*CreateApiSessionRequest) ProtoMessage added in v0.19.43

func (*CreateApiSessionRequest) ProtoMessage()

func (*CreateApiSessionRequest) ProtoReflect added in v0.19.43

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

func (*CreateApiSessionRequest) Reset added in v0.19.43

func (x *CreateApiSessionRequest) Reset()

func (*CreateApiSessionRequest) String added in v0.19.43

func (x *CreateApiSessionRequest) String() string

type CreateApiSessionResponse added in v0.19.43

type CreateApiSessionResponse struct {
	SessionId                string               `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	Token                    string               `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	RefreshIntervalSeconds   uint32               `protobuf:"varint,3,opt,name=refreshIntervalSeconds,proto3" json:"refreshIntervalSeconds,omitempty"`
	IdentityId               string               `protobuf:"bytes,4,opt,name=identityId,proto3" json:"identityId,omitempty"`
	IdentityName             string               `protobuf:"bytes,5,opt,name=identityName,proto3" json:"identityName,omitempty"`
	DefaultHostingPrecedence TerminatorPrecedence `` /* 141-byte string literal not displayed */
	DefaultHostingCost       uint32               `protobuf:"varint,7,opt,name=defaultHostingCost,proto3" json:"defaultHostingCost,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateApiSessionResponse) Descriptor deprecated added in v0.19.43

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

Deprecated: Use CreateApiSessionResponse.ProtoReflect.Descriptor instead.

func (*CreateApiSessionResponse) GetContentType added in v0.19.43

func (request *CreateApiSessionResponse) GetContentType() int32

func (*CreateApiSessionResponse) GetDefaultHostingCost added in v0.19.43

func (x *CreateApiSessionResponse) GetDefaultHostingCost() uint32

func (*CreateApiSessionResponse) GetDefaultHostingPrecedence added in v0.19.43

func (x *CreateApiSessionResponse) GetDefaultHostingPrecedence() TerminatorPrecedence

func (*CreateApiSessionResponse) GetIdentityId added in v0.19.43

func (x *CreateApiSessionResponse) GetIdentityId() string

func (*CreateApiSessionResponse) GetIdentityName added in v0.19.43

func (x *CreateApiSessionResponse) GetIdentityName() string

func (*CreateApiSessionResponse) GetRefreshIntervalSeconds added in v0.19.43

func (x *CreateApiSessionResponse) GetRefreshIntervalSeconds() uint32

func (*CreateApiSessionResponse) GetSessionId added in v0.19.43

func (x *CreateApiSessionResponse) GetSessionId() string

func (*CreateApiSessionResponse) GetToken added in v0.19.43

func (x *CreateApiSessionResponse) GetToken() string

func (*CreateApiSessionResponse) ProtoMessage added in v0.19.43

func (*CreateApiSessionResponse) ProtoMessage()

func (*CreateApiSessionResponse) ProtoReflect added in v0.19.43

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

func (*CreateApiSessionResponse) Reset added in v0.19.43

func (x *CreateApiSessionResponse) Reset()

func (*CreateApiSessionResponse) String added in v0.19.43

func (x *CreateApiSessionResponse) String() string

type CreateCircuitForServiceRequest added in v0.19.43

type CreateCircuitForServiceRequest struct {
	SessionId          string            `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	ServiceName        string            `protobuf:"bytes,2,opt,name=serviceName,proto3" json:"serviceName,omitempty"`
	TerminatorIdentity string            `protobuf:"bytes,3,opt,name=terminatorIdentity,proto3" json:"terminatorIdentity,omitempty"`
	PeerData           map[uint32][]byte `` /* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CreateCircuitForServiceRequest) Descriptor deprecated added in v0.19.43

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

Deprecated: Use CreateCircuitForServiceRequest.ProtoReflect.Descriptor instead.

func (*CreateCircuitForServiceRequest) GetContentType added in v0.19.43

func (m *CreateCircuitForServiceRequest) GetContentType() int32

func (*CreateCircuitForServiceRequest) GetPeerData added in v0.19.43

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

func (*CreateCircuitForServiceRequest) GetServiceName added in v0.19.43

func (x *CreateCircuitForServiceRequest) GetServiceName() string

func (*CreateCircuitForServiceRequest) GetSessionId added in v0.19.43

func (x *CreateCircuitForServiceRequest) GetSessionId() string

func (*CreateCircuitForServiceRequest) GetTerminatorIdentity added in v0.19.43

func (x *CreateCircuitForServiceRequest) GetTerminatorIdentity() string

func (*CreateCircuitForServiceRequest) ProtoMessage added in v0.19.43

func (*CreateCircuitForServiceRequest) ProtoMessage()

func (*CreateCircuitForServiceRequest) ProtoReflect added in v0.19.43

func (*CreateCircuitForServiceRequest) Reset added in v0.19.43

func (x *CreateCircuitForServiceRequest) Reset()

func (*CreateCircuitForServiceRequest) String added in v0.19.43

type CreateCircuitForServiceResponse added in v0.19.43

type CreateCircuitForServiceResponse struct {
	ApiSession *CreateApiSessionResponse `protobuf:"bytes,1,opt,name=apiSession,proto3" json:"apiSession,omitempty"`
	Session    *CreateSessionResponse    `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"`
	CircuitId  string                    `protobuf:"bytes,3,opt,name=circuitId,proto3" json:"circuitId,omitempty"`
	Address    string                    `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
	PeerData   map[uint32][]byte         `` /* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CreateCircuitForServiceResponse) Descriptor deprecated added in v0.19.43

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

Deprecated: Use CreateCircuitForServiceResponse.ProtoReflect.Descriptor instead.

func (*CreateCircuitForServiceResponse) GetAddress added in v0.19.43

func (x *CreateCircuitForServiceResponse) GetAddress() string

func (*CreateCircuitForServiceResponse) GetApiSession added in v0.19.43

func (*CreateCircuitForServiceResponse) GetCircuitId added in v0.19.43

func (x *CreateCircuitForServiceResponse) GetCircuitId() string

func (*CreateCircuitForServiceResponse) GetContentType added in v0.19.43

func (m *CreateCircuitForServiceResponse) GetContentType() int32

func (*CreateCircuitForServiceResponse) GetPeerData added in v0.19.43

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

func (*CreateCircuitForServiceResponse) GetSession added in v0.19.43

func (*CreateCircuitForServiceResponse) ProtoMessage added in v0.19.43

func (*CreateCircuitForServiceResponse) ProtoMessage()

func (*CreateCircuitForServiceResponse) ProtoReflect added in v0.19.43

func (*CreateCircuitForServiceResponse) Reset added in v0.19.43

func (*CreateCircuitForServiceResponse) String added in v0.19.43

type CreateCircuitRequest added in v0.19.0

type CreateCircuitRequest struct {
	SessionToken       string            `protobuf:"bytes,1,opt,name=sessionToken,proto3" json:"sessionToken,omitempty"`
	Fingerprints       []string          `protobuf:"bytes,2,rep,name=fingerprints,proto3" json:"fingerprints,omitempty"`
	TerminatorIdentity string            `protobuf:"bytes,3,opt,name=terminatorIdentity,proto3" json:"terminatorIdentity,omitempty"`
	PeerData           map[uint32][]byte `` /* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CreateCircuitRequest) Descriptor deprecated added in v0.19.0

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

Deprecated: Use CreateCircuitRequest.ProtoReflect.Descriptor instead.

func (*CreateCircuitRequest) GetContentType added in v0.19.0

func (m *CreateCircuitRequest) GetContentType() int32

func (*CreateCircuitRequest) GetFingerprints added in v0.19.0

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

func (*CreateCircuitRequest) GetPeerData added in v0.19.0

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

func (*CreateCircuitRequest) GetSessionToken added in v0.19.0

func (x *CreateCircuitRequest) GetSessionToken() string

func (*CreateCircuitRequest) GetTerminatorIdentity added in v0.19.0

func (x *CreateCircuitRequest) GetTerminatorIdentity() string

func (*CreateCircuitRequest) ProtoMessage added in v0.19.0

func (*CreateCircuitRequest) ProtoMessage()

func (*CreateCircuitRequest) ProtoReflect added in v0.19.0

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

func (*CreateCircuitRequest) Reset added in v0.19.0

func (x *CreateCircuitRequest) Reset()

func (*CreateCircuitRequest) String added in v0.19.0

func (x *CreateCircuitRequest) String() string

type CreateCircuitResponse added in v0.19.0

type CreateCircuitResponse struct {
	SessionId string            `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	Address   string            `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	PeerData  map[uint32][]byte `` /* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CreateCircuitResponse) Descriptor deprecated added in v0.19.0

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

Deprecated: Use CreateCircuitResponse.ProtoReflect.Descriptor instead.

func (*CreateCircuitResponse) GetAddress added in v0.19.0

func (x *CreateCircuitResponse) GetAddress() string

func (*CreateCircuitResponse) GetContentType added in v0.19.0

func (m *CreateCircuitResponse) GetContentType() int32

func (*CreateCircuitResponse) GetPeerData added in v0.19.0

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

func (*CreateCircuitResponse) GetSessionId added in v0.19.0

func (x *CreateCircuitResponse) GetSessionId() string

func (*CreateCircuitResponse) ProtoMessage added in v0.19.0

func (*CreateCircuitResponse) ProtoMessage()

func (*CreateCircuitResponse) ProtoReflect added in v0.19.0

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

func (*CreateCircuitResponse) Reset added in v0.19.0

func (x *CreateCircuitResponse) Reset()

func (*CreateCircuitResponse) String added in v0.19.0

func (x *CreateCircuitResponse) String() string

type CreateSessionResponse added in v0.19.43

type CreateSessionResponse struct {
	SessionId string `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	Token     string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSessionResponse) Descriptor deprecated added in v0.19.43

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

Deprecated: Use CreateSessionResponse.ProtoReflect.Descriptor instead.

func (*CreateSessionResponse) GetSessionId added in v0.19.43

func (x *CreateSessionResponse) GetSessionId() string

func (*CreateSessionResponse) GetToken added in v0.19.43

func (x *CreateSessionResponse) GetToken() string

func (*CreateSessionResponse) ProtoMessage added in v0.19.43

func (*CreateSessionResponse) ProtoMessage()

func (*CreateSessionResponse) ProtoReflect added in v0.19.43

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

func (*CreateSessionResponse) Reset added in v0.19.43

func (x *CreateSessionResponse) Reset()

func (*CreateSessionResponse) String added in v0.19.43

func (x *CreateSessionResponse) String() string

type CreateTerminatorRequest added in v0.19.0

type CreateTerminatorRequest struct {
	SessionToken   string               `protobuf:"bytes,1,opt,name=sessionToken,proto3" json:"sessionToken,omitempty"`
	Fingerprints   []string             `protobuf:"bytes,2,rep,name=fingerprints,proto3" json:"fingerprints,omitempty"`
	PeerData       map[uint32][]byte    `` /* 158-byte string literal not displayed */
	Cost           uint32               `protobuf:"varint,4,opt,name=cost,proto3" json:"cost,omitempty"`
	Precedence     TerminatorPrecedence `protobuf:"varint,5,opt,name=precedence,proto3,enum=edge_ctrl.pb.TerminatorPrecedence" json:"precedence,omitempty"`
	Identity       string               `protobuf:"bytes,6,opt,name=identity,proto3" json:"identity,omitempty"`
	IdentitySecret []byte               `protobuf:"bytes,7,opt,name=identitySecret,proto3" json:"identitySecret,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTerminatorRequest) Descriptor deprecated added in v0.19.0

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

Deprecated: Use CreateTerminatorRequest.ProtoReflect.Descriptor instead.

func (*CreateTerminatorRequest) GetContentType added in v0.19.0

func (request *CreateTerminatorRequest) GetContentType() int32

func (*CreateTerminatorRequest) GetCost added in v0.19.0

func (x *CreateTerminatorRequest) GetCost() uint32

func (*CreateTerminatorRequest) GetFingerprints added in v0.19.0

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

func (*CreateTerminatorRequest) GetIdentity added in v0.19.0

func (x *CreateTerminatorRequest) GetIdentity() string

func (*CreateTerminatorRequest) GetIdentitySecret added in v0.19.0

func (x *CreateTerminatorRequest) GetIdentitySecret() []byte

func (*CreateTerminatorRequest) GetPeerData added in v0.19.0

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

func (*CreateTerminatorRequest) GetPrecedence added in v0.19.0

func (x *CreateTerminatorRequest) GetPrecedence() TerminatorPrecedence

func (*CreateTerminatorRequest) GetSessionToken added in v0.19.0

func (x *CreateTerminatorRequest) GetSessionToken() string

func (*CreateTerminatorRequest) GetXtPrecedence added in v0.19.0

func (request *CreateTerminatorRequest) GetXtPrecedence() xt.Precedence

func (*CreateTerminatorRequest) ProtoMessage added in v0.19.0

func (*CreateTerminatorRequest) ProtoMessage()

func (*CreateTerminatorRequest) ProtoReflect added in v0.19.0

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

func (*CreateTerminatorRequest) Reset added in v0.19.0

func (x *CreateTerminatorRequest) Reset()

func (*CreateTerminatorRequest) String added in v0.19.0

func (x *CreateTerminatorRequest) String() string

type CreateTunnelTerminatorRequest added in v0.19.43

type CreateTunnelTerminatorRequest struct {
	ServiceName    string               `protobuf:"bytes,1,opt,name=serviceName,proto3" json:"serviceName,omitempty"`
	SessionId      string               `protobuf:"bytes,2,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	Address        string               `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	PeerData       map[uint32][]byte    `` /* 158-byte string literal not displayed */
	Cost           uint32               `protobuf:"varint,5,opt,name=cost,proto3" json:"cost,omitempty"`
	Precedence     TerminatorPrecedence `protobuf:"varint,6,opt,name=precedence,proto3,enum=edge_ctrl.pb.TerminatorPrecedence" json:"precedence,omitempty"`
	Identity       string               `protobuf:"bytes,7,opt,name=identity,proto3" json:"identity,omitempty"`
	IdentitySecret []byte               `protobuf:"bytes,8,opt,name=identitySecret,proto3" json:"identitySecret,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTunnelTerminatorRequest) Descriptor deprecated added in v0.19.43

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

Deprecated: Use CreateTunnelTerminatorRequest.ProtoReflect.Descriptor instead.

func (*CreateTunnelTerminatorRequest) GetAddress added in v0.19.43

func (x *CreateTunnelTerminatorRequest) GetAddress() string

func (*CreateTunnelTerminatorRequest) GetContentType added in v0.19.43

func (request *CreateTunnelTerminatorRequest) GetContentType() int32

func (*CreateTunnelTerminatorRequest) GetCost added in v0.19.43

func (*CreateTunnelTerminatorRequest) GetIdentity added in v0.19.43

func (x *CreateTunnelTerminatorRequest) GetIdentity() string

func (*CreateTunnelTerminatorRequest) GetIdentitySecret added in v0.19.43

func (x *CreateTunnelTerminatorRequest) GetIdentitySecret() []byte

func (*CreateTunnelTerminatorRequest) GetPeerData added in v0.19.43

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

func (*CreateTunnelTerminatorRequest) GetPrecedence added in v0.19.43

func (*CreateTunnelTerminatorRequest) GetServiceName added in v0.19.43

func (x *CreateTunnelTerminatorRequest) GetServiceName() string

func (*CreateTunnelTerminatorRequest) GetSessionId added in v0.19.43

func (x *CreateTunnelTerminatorRequest) GetSessionId() string

func (*CreateTunnelTerminatorRequest) GetXtPrecedence added in v0.19.43

func (request *CreateTunnelTerminatorRequest) GetXtPrecedence() xt.Precedence

func (*CreateTunnelTerminatorRequest) ProtoMessage added in v0.19.43

func (*CreateTunnelTerminatorRequest) ProtoMessage()

func (*CreateTunnelTerminatorRequest) ProtoReflect added in v0.19.43

func (*CreateTunnelTerminatorRequest) Reset added in v0.19.43

func (x *CreateTunnelTerminatorRequest) Reset()

func (*CreateTunnelTerminatorRequest) String added in v0.19.43

type CreateTunnelTerminatorResponse added in v0.19.43

type CreateTunnelTerminatorResponse struct {
	ApiSession   *CreateApiSessionResponse `protobuf:"bytes,1,opt,name=apiSession,proto3" json:"apiSession,omitempty"`
	Session      *CreateSessionResponse    `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"`
	TerminatorId string                    `protobuf:"bytes,3,opt,name=terminatorId,proto3" json:"terminatorId,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTunnelTerminatorResponse) Descriptor deprecated added in v0.19.43

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

Deprecated: Use CreateTunnelTerminatorResponse.ProtoReflect.Descriptor instead.

func (*CreateTunnelTerminatorResponse) GetApiSession added in v0.19.43

func (*CreateTunnelTerminatorResponse) GetContentType added in v0.19.43

func (request *CreateTunnelTerminatorResponse) GetContentType() int32

func (*CreateTunnelTerminatorResponse) GetSession added in v0.19.43

func (*CreateTunnelTerminatorResponse) GetTerminatorId added in v0.19.43

func (x *CreateTunnelTerminatorResponse) GetTerminatorId() string

func (*CreateTunnelTerminatorResponse) ProtoMessage added in v0.19.43

func (*CreateTunnelTerminatorResponse) ProtoMessage()

func (*CreateTunnelTerminatorResponse) ProtoReflect added in v0.19.43

func (*CreateTunnelTerminatorResponse) Reset added in v0.19.43

func (x *CreateTunnelTerminatorResponse) Reset()

func (*CreateTunnelTerminatorResponse) String added in v0.19.43

type Decoder added in v0.19.0

type Decoder struct{}

func (Decoder) Decode added in v0.19.0

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

type EnvInfo added in v0.19.43

type EnvInfo struct {
	Arch      string `protobuf:"bytes,1,opt,name=arch,proto3" json:"arch,omitempty"`
	Os        string `protobuf:"bytes,2,opt,name=Os,proto3" json:"Os,omitempty"`
	OsRelease string `protobuf:"bytes,3,opt,name=OsRelease,proto3" json:"OsRelease,omitempty"`
	OsVersion string `protobuf:"bytes,4,opt,name=OsVersion,proto3" json:"OsVersion,omitempty"`
	// contains filtered or unexported fields
}

func (*EnvInfo) Descriptor deprecated added in v0.19.43

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

Deprecated: Use EnvInfo.ProtoReflect.Descriptor instead.

func (*EnvInfo) GetArch added in v0.19.43

func (x *EnvInfo) GetArch() string

func (*EnvInfo) GetOs added in v0.19.43

func (x *EnvInfo) GetOs() string

func (*EnvInfo) GetOsRelease added in v0.19.43

func (x *EnvInfo) GetOsRelease() string

func (*EnvInfo) GetOsVersion added in v0.19.43

func (x *EnvInfo) GetOsVersion() string

func (*EnvInfo) ProtoMessage added in v0.19.43

func (*EnvInfo) ProtoMessage()

func (*EnvInfo) ProtoReflect added in v0.19.43

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

func (*EnvInfo) Reset added in v0.19.43

func (x *EnvInfo) Reset()

func (*EnvInfo) String added in v0.19.43

func (x *EnvInfo) String() string

type Error

type Error struct {
	Code    string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Cause   string `protobuf:"bytes,3,opt,name=cause,proto3" json:"cause,omitempty"`
	// contains filtered or unexported fields
}

func (*Error) Descriptor deprecated

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

Deprecated: Use Error.ProtoReflect.Descriptor instead.

func (*Error) GetCause

func (x *Error) GetCause() string

func (*Error) GetCode

func (x *Error) GetCode() string

func (*Error) GetMessage

func (x *Error) GetMessage() string

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) ProtoReflect added in v0.17.57

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

func (*Error) Reset

func (x *Error) Reset()

func (*Error) String

func (x *Error) String() string
type Header int32
const (
	Header_HeaderZero   Header = 0
	Header_TerminatorId Header = 1022
	Header_CheckPassed  Header = 1023
)

func (Header) Descriptor added in v0.19.54

func (Header) Descriptor() protoreflect.EnumDescriptor

func (Header) Enum added in v0.19.54

func (x Header) Enum() *Header

func (Header) EnumDescriptor deprecated added in v0.19.54

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

Deprecated: Use Header.Descriptor instead.

func (Header) Number added in v0.19.54

func (x Header) Number() protoreflect.EnumNumber

func (Header) String added in v0.19.54

func (x Header) String() string

func (Header) Type added in v0.19.54

func (Header) Type() protoreflect.EnumType

type HealthEventRequest added in v0.19.54

type HealthEventRequest struct {
	SessionToken string   `protobuf:"bytes,1,opt,name=sessionToken,proto3" json:"sessionToken,omitempty"`
	Fingerprints []string `protobuf:"bytes,2,rep,name=fingerprints,proto3" json:"fingerprints,omitempty"`
	TerminatorId string   `protobuf:"bytes,3,opt,name=terminatorId,proto3" json:"terminatorId,omitempty"`
	CheckPassed  bool     `protobuf:"varint,4,opt,name=checkPassed,proto3" json:"checkPassed,omitempty"`
	// contains filtered or unexported fields
}

func (*HealthEventRequest) Descriptor deprecated added in v0.19.54

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

Deprecated: Use HealthEventRequest.ProtoReflect.Descriptor instead.

func (*HealthEventRequest) GetCheckPassed added in v0.19.54

func (x *HealthEventRequest) GetCheckPassed() bool

func (*HealthEventRequest) GetContentType added in v0.19.54

func (request *HealthEventRequest) GetContentType() int32

func (*HealthEventRequest) GetFingerprints added in v0.19.54

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

func (*HealthEventRequest) GetSessionToken added in v0.19.54

func (x *HealthEventRequest) GetSessionToken() string

func (*HealthEventRequest) GetTerminatorId added in v0.19.54

func (x *HealthEventRequest) GetTerminatorId() string

func (*HealthEventRequest) ProtoMessage added in v0.19.54

func (*HealthEventRequest) ProtoMessage()

func (*HealthEventRequest) ProtoReflect added in v0.19.54

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

func (*HealthEventRequest) Reset added in v0.19.54

func (x *HealthEventRequest) Reset()

func (*HealthEventRequest) String added in v0.19.54

func (x *HealthEventRequest) String() string

type RemoveTerminatorRequest added in v0.19.0

type RemoveTerminatorRequest struct {
	SessionToken string   `protobuf:"bytes,1,opt,name=sessionToken,proto3" json:"sessionToken,omitempty"`
	Fingerprints []string `protobuf:"bytes,2,rep,name=fingerprints,proto3" json:"fingerprints,omitempty"`
	TerminatorId string   `protobuf:"bytes,3,opt,name=terminatorId,proto3" json:"terminatorId,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveTerminatorRequest) Descriptor deprecated added in v0.19.0

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

Deprecated: Use RemoveTerminatorRequest.ProtoReflect.Descriptor instead.

func (*RemoveTerminatorRequest) GetContentType added in v0.19.0

func (request *RemoveTerminatorRequest) GetContentType() int32

func (*RemoveTerminatorRequest) GetFingerprints added in v0.19.0

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

func (*RemoveTerminatorRequest) GetSessionToken added in v0.19.0

func (x *RemoveTerminatorRequest) GetSessionToken() string

func (*RemoveTerminatorRequest) GetTerminatorId added in v0.19.0

func (x *RemoveTerminatorRequest) GetTerminatorId() string

func (*RemoveTerminatorRequest) ProtoMessage added in v0.19.0

func (*RemoveTerminatorRequest) ProtoMessage()

func (*RemoveTerminatorRequest) ProtoReflect added in v0.19.0

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

func (*RemoveTerminatorRequest) Reset added in v0.19.0

func (x *RemoveTerminatorRequest) Reset()

func (*RemoveTerminatorRequest) String added in v0.19.0

func (x *RemoveTerminatorRequest) String() string

type RequestClientReSync added in v0.17.72

type RequestClientReSync struct {
	Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestClientReSync) Descriptor deprecated added in v0.17.72

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

Deprecated: Use RequestClientReSync.ProtoReflect.Descriptor instead.

func (*RequestClientReSync) GetReason added in v0.17.72

func (x *RequestClientReSync) GetReason() string

func (*RequestClientReSync) ProtoMessage added in v0.17.72

func (*RequestClientReSync) ProtoMessage()

func (*RequestClientReSync) ProtoReflect added in v0.19.0

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

func (*RequestClientReSync) Reset added in v0.17.72

func (x *RequestClientReSync) Reset()

func (*RequestClientReSync) String added in v0.17.72

func (x *RequestClientReSync) String() string

type SdkInfo added in v0.19.43

type SdkInfo struct {
	AppId      string `protobuf:"bytes,1,opt,name=AppId,proto3" json:"AppId,omitempty"`
	AppVersion string `protobuf:"bytes,2,opt,name=AppVersion,proto3" json:"AppVersion,omitempty"`
	Branch     string `protobuf:"bytes,3,opt,name=Branch,proto3" json:"Branch,omitempty"`
	Revision   string `protobuf:"bytes,4,opt,name=Revision,proto3" json:"Revision,omitempty"`
	Type       string `protobuf:"bytes,5,opt,name=Type,proto3" json:"Type,omitempty"`
	Version    string `protobuf:"bytes,6,opt,name=Version,proto3" json:"Version,omitempty"`
	// contains filtered or unexported fields
}

func (*SdkInfo) Descriptor deprecated added in v0.19.43

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

Deprecated: Use SdkInfo.ProtoReflect.Descriptor instead.

func (*SdkInfo) GetAppId added in v0.19.43

func (x *SdkInfo) GetAppId() string

func (*SdkInfo) GetAppVersion added in v0.19.43

func (x *SdkInfo) GetAppVersion() string

func (*SdkInfo) GetBranch added in v0.19.43

func (x *SdkInfo) GetBranch() string

func (*SdkInfo) GetRevision added in v0.19.43

func (x *SdkInfo) GetRevision() string

func (*SdkInfo) GetType added in v0.19.43

func (x *SdkInfo) GetType() string

func (*SdkInfo) GetVersion added in v0.19.43

func (x *SdkInfo) GetVersion() string

func (*SdkInfo) ProtoMessage added in v0.19.43

func (*SdkInfo) ProtoMessage()

func (*SdkInfo) ProtoReflect added in v0.19.43

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

func (*SdkInfo) Reset added in v0.19.43

func (x *SdkInfo) Reset()

func (*SdkInfo) String added in v0.19.43

func (x *SdkInfo) String() string

type ServerHello

type ServerHello struct {
	Version string            `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	Data    map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ServerHello) Descriptor deprecated

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

Deprecated: Use ServerHello.ProtoReflect.Descriptor instead.

func (*ServerHello) GetData

func (x *ServerHello) GetData() map[string]string

func (*ServerHello) GetVersion

func (x *ServerHello) GetVersion() string

func (*ServerHello) ProtoMessage

func (*ServerHello) ProtoMessage()

func (*ServerHello) ProtoReflect added in v0.17.57

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

func (*ServerHello) Reset

func (x *ServerHello) Reset()

func (*ServerHello) String

func (x *ServerHello) String() string

type Service

type Service struct {
	Id                 string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name               string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	EncryptionRequired bool   `protobuf:"varint,3,opt,name=encryptionRequired,proto3" json:"encryptionRequired,omitempty"`
	// contains filtered or unexported fields
}

func (*Service) Descriptor deprecated

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

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetEncryptionRequired added in v0.15.30

func (x *Service) GetEncryptionRequired() bool

func (*Service) GetId

func (x *Service) GetId() string

func (*Service) GetName

func (x *Service) GetName() string

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) ProtoReflect added in v0.17.57

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

func (*Service) Reset

func (x *Service) Reset()

func (*Service) String

func (x *Service) String() string

type ServicesList added in v0.19.43

type ServicesList struct {
	LastUpdate []byte           `protobuf:"bytes,1,opt,name=lastUpdate,proto3" json:"lastUpdate,omitempty"`
	Services   []*TunnelService `protobuf:"bytes,2,rep,name=services,proto3" json:"services,omitempty"`
	// contains filtered or unexported fields
}

func (*ServicesList) Descriptor deprecated added in v0.19.43

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

Deprecated: Use ServicesList.ProtoReflect.Descriptor instead.

func (*ServicesList) GetContentType added in v0.19.43

func (m *ServicesList) GetContentType() int32

func (*ServicesList) GetLastUpdate added in v0.19.43

func (x *ServicesList) GetLastUpdate() []byte

func (*ServicesList) GetServices added in v0.19.43

func (x *ServicesList) GetServices() []*TunnelService

func (*ServicesList) ProtoMessage added in v0.19.43

func (*ServicesList) ProtoMessage()

func (*ServicesList) ProtoReflect added in v0.19.43

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

func (*ServicesList) Reset added in v0.19.43

func (x *ServicesList) Reset()

func (*ServicesList) String added in v0.19.43

func (x *ServicesList) String() string

type Session

type Session struct {
	Token            string      `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Type             SessionType `protobuf:"varint,2,opt,name=type,proto3,enum=edge_ctrl.pb.SessionType" json:"type,omitempty"`
	CertFingerprints []string    `protobuf:"bytes,3,rep,name=certFingerprints,proto3" json:"certFingerprints,omitempty"`
	Urls             []string    `protobuf:"bytes,4,rep,name=urls,proto3" json:"urls,omitempty"`
	Service          *Service    `protobuf:"bytes,5,opt,name=service,proto3" json:"service,omitempty"`
	Id               string      `protobuf:"bytes,7,opt,name=id,proto3" json:"id,omitempty"`
	ApiSessionId     string      `protobuf:"bytes,8,opt,name=apiSessionId,proto3" json:"apiSessionId,omitempty"`
	// contains filtered or unexported fields
}

func (*Session) Descriptor deprecated

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

Deprecated: Use Session.ProtoReflect.Descriptor instead.

func (*Session) GetApiSessionId added in v0.17.30

func (x *Session) GetApiSessionId() string

func (*Session) GetCertFingerprints

func (x *Session) GetCertFingerprints() []string

func (*Session) GetId added in v0.16.4

func (x *Session) GetId() string

func (*Session) GetService

func (x *Session) GetService() *Service

func (*Session) GetToken

func (x *Session) GetToken() string

func (*Session) GetType

func (x *Session) GetType() SessionType

func (*Session) GetUrls

func (x *Session) GetUrls() []string

func (*Session) ProtoMessage

func (*Session) ProtoMessage()

func (*Session) ProtoReflect added in v0.17.57

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

func (*Session) Reset

func (x *Session) Reset()

func (*Session) String

func (x *Session) String() string

type SessionRemoved

type SessionRemoved struct {
	Tokens []string `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"`
	Ids    []string `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionRemoved) Descriptor deprecated

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

Deprecated: Use SessionRemoved.ProtoReflect.Descriptor instead.

func (*SessionRemoved) GetIds added in v0.17.72

func (x *SessionRemoved) GetIds() []string

func (*SessionRemoved) GetTokens

func (x *SessionRemoved) GetTokens() []string

func (*SessionRemoved) ProtoMessage

func (*SessionRemoved) ProtoMessage()

func (*SessionRemoved) ProtoReflect added in v0.17.57

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

func (*SessionRemoved) Reset

func (x *SessionRemoved) Reset()

func (*SessionRemoved) String

func (x *SessionRemoved) String() string

type SessionType

type SessionType int32
const (
	SessionType_Dial SessionType = 0
	SessionType_Bind SessionType = 1
)

func (SessionType) Descriptor added in v0.17.57

func (SessionType) Enum added in v0.17.57

func (x SessionType) Enum() *SessionType

func (SessionType) EnumDescriptor deprecated

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

Deprecated: Use SessionType.Descriptor instead.

func (SessionType) Number added in v0.17.57

func (x SessionType) Number() protoreflect.EnumNumber

func (SessionType) String

func (x SessionType) String() string

func (SessionType) Type added in v0.17.57

type TerminatorPrecedence added in v0.19.0

type TerminatorPrecedence int32
const (
	TerminatorPrecedence_Default  TerminatorPrecedence = 0
	TerminatorPrecedence_Required TerminatorPrecedence = 1
	TerminatorPrecedence_Failed   TerminatorPrecedence = 2
)

func (TerminatorPrecedence) Descriptor added in v0.19.0

func (TerminatorPrecedence) Enum added in v0.19.0

func (TerminatorPrecedence) EnumDescriptor deprecated added in v0.19.0

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

Deprecated: Use TerminatorPrecedence.Descriptor instead.

func (TerminatorPrecedence) Number added in v0.19.0

func (TerminatorPrecedence) String added in v0.19.0

func (x TerminatorPrecedence) String() string

func (TerminatorPrecedence) Type added in v0.19.0

type TunnelService added in v0.19.43

type TunnelService struct {
	Id          string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Permissions []string `protobuf:"bytes,3,rep,name=permissions,proto3" json:"permissions,omitempty"`
	Encryption  bool     `protobuf:"varint,4,opt,name=encryption,proto3" json:"encryption,omitempty"`
	Config      []byte   `protobuf:"bytes,5,opt,name=config,proto3" json:"config,omitempty"`
	Tags        []byte   `protobuf:"bytes,6,opt,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (*TunnelService) Descriptor deprecated added in v0.19.43

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

Deprecated: Use TunnelService.ProtoReflect.Descriptor instead.

func (*TunnelService) GetConfig added in v0.19.43

func (x *TunnelService) GetConfig() []byte

func (*TunnelService) GetEncryption added in v0.19.43

func (x *TunnelService) GetEncryption() bool

func (*TunnelService) GetId added in v0.19.43

func (x *TunnelService) GetId() string

func (*TunnelService) GetName added in v0.19.43

func (x *TunnelService) GetName() string

func (*TunnelService) GetPermissions added in v0.19.43

func (x *TunnelService) GetPermissions() []string

func (*TunnelService) GetTags added in v0.19.43

func (x *TunnelService) GetTags() []byte

func (*TunnelService) ProtoMessage added in v0.19.43

func (*TunnelService) ProtoMessage()

func (*TunnelService) ProtoReflect added in v0.19.43

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

func (*TunnelService) Reset added in v0.19.43

func (x *TunnelService) Reset()

func (*TunnelService) String added in v0.19.43

func (x *TunnelService) String() string

type UpdateTerminatorRequest added in v0.19.0

type UpdateTerminatorRequest struct {
	SessionToken     string               `protobuf:"bytes,1,opt,name=sessionToken,proto3" json:"sessionToken,omitempty"`
	Fingerprints     []string             `protobuf:"bytes,2,rep,name=fingerprints,proto3" json:"fingerprints,omitempty"`
	TerminatorId     string               `protobuf:"bytes,3,opt,name=terminatorId,proto3" json:"terminatorId,omitempty"`
	Cost             uint32               `protobuf:"varint,4,opt,name=cost,proto3" json:"cost,omitempty"`
	Precedence       TerminatorPrecedence `protobuf:"varint,5,opt,name=precedence,proto3,enum=edge_ctrl.pb.TerminatorPrecedence" json:"precedence,omitempty"`
	UpdatePrecedence bool                 `protobuf:"varint,6,opt,name=updatePrecedence,proto3" json:"updatePrecedence,omitempty"`
	UpdateCost       bool                 `protobuf:"varint,7,opt,name=updateCost,proto3" json:"updateCost,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateTerminatorRequest) Descriptor deprecated added in v0.19.0

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

Deprecated: Use UpdateTerminatorRequest.ProtoReflect.Descriptor instead.

func (*UpdateTerminatorRequest) GetContentType added in v0.19.0

func (request *UpdateTerminatorRequest) GetContentType() int32

func (*UpdateTerminatorRequest) GetCost added in v0.19.0

func (x *UpdateTerminatorRequest) GetCost() uint32

func (*UpdateTerminatorRequest) GetFingerprints added in v0.19.0

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

func (*UpdateTerminatorRequest) GetPrecedence added in v0.19.0

func (x *UpdateTerminatorRequest) GetPrecedence() TerminatorPrecedence

func (*UpdateTerminatorRequest) GetSessionToken added in v0.19.0

func (x *UpdateTerminatorRequest) GetSessionToken() string

func (*UpdateTerminatorRequest) GetTerminatorId added in v0.19.0

func (x *UpdateTerminatorRequest) GetTerminatorId() string

func (*UpdateTerminatorRequest) GetUpdateCost added in v0.19.0

func (x *UpdateTerminatorRequest) GetUpdateCost() bool

func (*UpdateTerminatorRequest) GetUpdatePrecedence added in v0.19.0

func (x *UpdateTerminatorRequest) GetUpdatePrecedence() bool

func (*UpdateTerminatorRequest) ProtoMessage added in v0.19.0

func (*UpdateTerminatorRequest) ProtoMessage()

func (*UpdateTerminatorRequest) ProtoReflect added in v0.19.0

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

func (*UpdateTerminatorRequest) Reset added in v0.19.0

func (x *UpdateTerminatorRequest) Reset()

func (*UpdateTerminatorRequest) String added in v0.19.0

func (x *UpdateTerminatorRequest) String() string

type UpdateTunnelTerminatorRequest added in v0.19.43

type UpdateTunnelTerminatorRequest struct {
	TerminatorId     string               `protobuf:"bytes,1,opt,name=terminatorId,proto3" json:"terminatorId,omitempty"`
	Cost             uint32               `protobuf:"varint,2,opt,name=cost,proto3" json:"cost,omitempty"`
	Precedence       TerminatorPrecedence `protobuf:"varint,3,opt,name=precedence,proto3,enum=edge_ctrl.pb.TerminatorPrecedence" json:"precedence,omitempty"`
	UpdatePrecedence bool                 `protobuf:"varint,4,opt,name=updatePrecedence,proto3" json:"updatePrecedence,omitempty"`
	UpdateCost       bool                 `protobuf:"varint,5,opt,name=updateCost,proto3" json:"updateCost,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateTunnelTerminatorRequest) Descriptor deprecated added in v0.19.43

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

Deprecated: Use UpdateTunnelTerminatorRequest.ProtoReflect.Descriptor instead.

func (*UpdateTunnelTerminatorRequest) GetContentType added in v0.19.43

func (request *UpdateTunnelTerminatorRequest) GetContentType() int32

func (*UpdateTunnelTerminatorRequest) GetCost added in v0.19.43

func (*UpdateTunnelTerminatorRequest) GetPrecedence added in v0.19.43

func (*UpdateTunnelTerminatorRequest) GetTerminatorId added in v0.19.43

func (x *UpdateTunnelTerminatorRequest) GetTerminatorId() string

func (*UpdateTunnelTerminatorRequest) GetUpdateCost added in v0.19.43

func (x *UpdateTunnelTerminatorRequest) GetUpdateCost() bool

func (*UpdateTunnelTerminatorRequest) GetUpdatePrecedence added in v0.19.43

func (x *UpdateTunnelTerminatorRequest) GetUpdatePrecedence() bool

func (*UpdateTunnelTerminatorRequest) ProtoMessage added in v0.19.43

func (*UpdateTunnelTerminatorRequest) ProtoMessage()

func (*UpdateTunnelTerminatorRequest) ProtoReflect added in v0.19.43

func (*UpdateTunnelTerminatorRequest) Reset added in v0.19.43

func (x *UpdateTunnelTerminatorRequest) Reset()

func (*UpdateTunnelTerminatorRequest) String added in v0.19.43

type ValidateSessionsRequest added in v0.19.0

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

func (*ValidateSessionsRequest) Descriptor deprecated added in v0.19.0

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

Deprecated: Use ValidateSessionsRequest.ProtoReflect.Descriptor instead.

func (*ValidateSessionsRequest) GetContentType added in v0.19.0

func (request *ValidateSessionsRequest) GetContentType() int32

func (*ValidateSessionsRequest) GetSessionTokens added in v0.19.0

func (x *ValidateSessionsRequest) GetSessionTokens() []string

func (*ValidateSessionsRequest) ProtoMessage added in v0.19.0

func (*ValidateSessionsRequest) ProtoMessage()

func (*ValidateSessionsRequest) ProtoReflect added in v0.19.0

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

func (*ValidateSessionsRequest) Reset added in v0.19.0

func (x *ValidateSessionsRequest) Reset()

func (*ValidateSessionsRequest) String added in v0.19.0

func (x *ValidateSessionsRequest) String() string

Jump to

Keyboard shortcuts

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