edge_ctrl_pb

package
v0.19.17 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 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",
		20300: "EnrollType",
		20301: "EnrollCertsType",
	}
	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,
		"EnrollType":                   20300,
		"EnrollCertsType":              20301,
	}
)

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 (
	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_EnrollType                   ContentType = 20300
	ContentType_EnrollCertsType              ContentType = 20301
)

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