hidden_segment

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_hidden_segment_v1_hidden_segment_proto protoreflect.FileDescriptor

Functions

func RegisterAuthoritativeHiddenSegmentLookupServiceServer

func RegisterAuthoritativeHiddenSegmentLookupServiceServer(s *grpc.Server, srv AuthoritativeHiddenSegmentLookupServiceServer)

func RegisterHiddenSegmentLookupServiceServer

func RegisterHiddenSegmentLookupServiceServer(s *grpc.Server, srv HiddenSegmentLookupServiceServer)

func RegisterHiddenSegmentRegistrationServiceServer

func RegisterHiddenSegmentRegistrationServiceServer(s *grpc.Server, srv HiddenSegmentRegistrationServiceServer)

Types

type AuthoritativeHiddenSegmentLookupServiceClient

type AuthoritativeHiddenSegmentLookupServiceClient interface {
	AuthoritativeHiddenSegments(ctx context.Context, in *AuthoritativeHiddenSegmentsRequest, opts ...grpc.CallOption) (*AuthoritativeHiddenSegmentsResponse, error)
}

AuthoritativeHiddenSegmentLookupServiceClient is the client API for AuthoritativeHiddenSegmentLookupService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type AuthoritativeHiddenSegmentLookupServiceServer

type AuthoritativeHiddenSegmentLookupServiceServer interface {
	AuthoritativeHiddenSegments(context.Context, *AuthoritativeHiddenSegmentsRequest) (*AuthoritativeHiddenSegmentsResponse, error)
}

AuthoritativeHiddenSegmentLookupServiceServer is the server API for AuthoritativeHiddenSegmentLookupService service.

type AuthoritativeHiddenSegmentsRequest

type AuthoritativeHiddenSegmentsRequest struct {
	SignedRequest *crypto.SignedMessage `protobuf:"bytes,1,opt,name=signed_request,json=signedRequest,proto3" json:"signed_request,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthoritativeHiddenSegmentsRequest) Descriptor deprecated

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

Deprecated: Use AuthoritativeHiddenSegmentsRequest.ProtoReflect.Descriptor instead.

func (*AuthoritativeHiddenSegmentsRequest) GetSignedRequest

func (*AuthoritativeHiddenSegmentsRequest) ProtoMessage

func (*AuthoritativeHiddenSegmentsRequest) ProtoMessage()

func (*AuthoritativeHiddenSegmentsRequest) ProtoReflect

func (*AuthoritativeHiddenSegmentsRequest) Reset

func (*AuthoritativeHiddenSegmentsRequest) String

type AuthoritativeHiddenSegmentsResponse

type AuthoritativeHiddenSegmentsResponse struct {
	Segments map[int32]*Segments `` /* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AuthoritativeHiddenSegmentsResponse) Descriptor deprecated

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

Deprecated: Use AuthoritativeHiddenSegmentsResponse.ProtoReflect.Descriptor instead.

func (*AuthoritativeHiddenSegmentsResponse) GetSegments

func (x *AuthoritativeHiddenSegmentsResponse) GetSegments() map[int32]*Segments

func (*AuthoritativeHiddenSegmentsResponse) ProtoMessage

func (*AuthoritativeHiddenSegmentsResponse) ProtoMessage()

func (*AuthoritativeHiddenSegmentsResponse) ProtoReflect

func (*AuthoritativeHiddenSegmentsResponse) Reset

func (*AuthoritativeHiddenSegmentsResponse) String

type HiddenSegmentLookupServiceClient

type HiddenSegmentLookupServiceClient interface {
	HiddenSegments(ctx context.Context, in *HiddenSegmentsRequest, opts ...grpc.CallOption) (*HiddenSegmentsResponse, error)
}

HiddenSegmentLookupServiceClient is the client API for HiddenSegmentLookupService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type HiddenSegmentLookupServiceServer

type HiddenSegmentLookupServiceServer interface {
	HiddenSegments(context.Context, *HiddenSegmentsRequest) (*HiddenSegmentsResponse, error)
}

HiddenSegmentLookupServiceServer is the server API for HiddenSegmentLookupService service.

type HiddenSegmentRegistrationRequest

type HiddenSegmentRegistrationRequest struct {
	SignedRequest *crypto.SignedMessage `protobuf:"bytes,1,opt,name=signed_request,json=signedRequest,proto3" json:"signed_request,omitempty"`
	// contains filtered or unexported fields
}

func (*HiddenSegmentRegistrationRequest) Descriptor deprecated

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

Deprecated: Use HiddenSegmentRegistrationRequest.ProtoReflect.Descriptor instead.

func (*HiddenSegmentRegistrationRequest) GetSignedRequest

func (x *HiddenSegmentRegistrationRequest) GetSignedRequest() *crypto.SignedMessage

func (*HiddenSegmentRegistrationRequest) ProtoMessage

func (*HiddenSegmentRegistrationRequest) ProtoMessage()

func (*HiddenSegmentRegistrationRequest) ProtoReflect

func (*HiddenSegmentRegistrationRequest) Reset

func (*HiddenSegmentRegistrationRequest) String

type HiddenSegmentRegistrationRequestBody

type HiddenSegmentRegistrationRequestBody struct {
	Segments map[int32]*Segments `` /* 158-byte string literal not displayed */
	GroupId  uint64              `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// contains filtered or unexported fields
}

func (*HiddenSegmentRegistrationRequestBody) Descriptor deprecated

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

Deprecated: Use HiddenSegmentRegistrationRequestBody.ProtoReflect.Descriptor instead.

func (*HiddenSegmentRegistrationRequestBody) GetGroupId

func (*HiddenSegmentRegistrationRequestBody) GetSegments

func (x *HiddenSegmentRegistrationRequestBody) GetSegments() map[int32]*Segments

func (*HiddenSegmentRegistrationRequestBody) ProtoMessage

func (*HiddenSegmentRegistrationRequestBody) ProtoMessage()

func (*HiddenSegmentRegistrationRequestBody) ProtoReflect

func (*HiddenSegmentRegistrationRequestBody) Reset

func (*HiddenSegmentRegistrationRequestBody) String

type HiddenSegmentRegistrationResponse

type HiddenSegmentRegistrationResponse struct {
	// contains filtered or unexported fields
}

func (*HiddenSegmentRegistrationResponse) Descriptor deprecated

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

Deprecated: Use HiddenSegmentRegistrationResponse.ProtoReflect.Descriptor instead.

func (*HiddenSegmentRegistrationResponse) ProtoMessage

func (*HiddenSegmentRegistrationResponse) ProtoMessage()

func (*HiddenSegmentRegistrationResponse) ProtoReflect

func (*HiddenSegmentRegistrationResponse) Reset

func (*HiddenSegmentRegistrationResponse) String

type HiddenSegmentRegistrationServiceClient

type HiddenSegmentRegistrationServiceClient interface {
	HiddenSegmentRegistration(ctx context.Context, in *HiddenSegmentRegistrationRequest, opts ...grpc.CallOption) (*HiddenSegmentRegistrationResponse, error)
}

HiddenSegmentRegistrationServiceClient is the client API for HiddenSegmentRegistrationService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type HiddenSegmentRegistrationServiceServer

type HiddenSegmentRegistrationServiceServer interface {
	HiddenSegmentRegistration(context.Context, *HiddenSegmentRegistrationRequest) (*HiddenSegmentRegistrationResponse, error)
}

HiddenSegmentRegistrationServiceServer is the server API for HiddenSegmentRegistrationService service.

type HiddenSegmentsRequest

type HiddenSegmentsRequest struct {
	GroupIds []uint64 `protobuf:"varint,1,rep,packed,name=group_ids,json=groupIds,proto3" json:"group_ids,omitempty"`
	DstIsdAs uint64   `protobuf:"varint,2,opt,name=dst_isd_as,json=dstIsdAs,proto3" json:"dst_isd_as,omitempty"`
	// contains filtered or unexported fields
}

func (*HiddenSegmentsRequest) Descriptor deprecated

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

Deprecated: Use HiddenSegmentsRequest.ProtoReflect.Descriptor instead.

func (*HiddenSegmentsRequest) GetDstIsdAs

func (x *HiddenSegmentsRequest) GetDstIsdAs() uint64

func (*HiddenSegmentsRequest) GetGroupIds

func (x *HiddenSegmentsRequest) GetGroupIds() []uint64

func (*HiddenSegmentsRequest) ProtoMessage

func (*HiddenSegmentsRequest) ProtoMessage()

func (*HiddenSegmentsRequest) ProtoReflect

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

func (*HiddenSegmentsRequest) Reset

func (x *HiddenSegmentsRequest) Reset()

func (*HiddenSegmentsRequest) String

func (x *HiddenSegmentsRequest) String() string

type HiddenSegmentsResponse

type HiddenSegmentsResponse struct {
	Segments map[int32]*Segments `` /* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*HiddenSegmentsResponse) Descriptor deprecated

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

Deprecated: Use HiddenSegmentsResponse.ProtoReflect.Descriptor instead.

func (*HiddenSegmentsResponse) GetSegments

func (x *HiddenSegmentsResponse) GetSegments() map[int32]*Segments

func (*HiddenSegmentsResponse) ProtoMessage

func (*HiddenSegmentsResponse) ProtoMessage()

func (*HiddenSegmentsResponse) ProtoReflect

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

func (*HiddenSegmentsResponse) Reset

func (x *HiddenSegmentsResponse) Reset()

func (*HiddenSegmentsResponse) String

func (x *HiddenSegmentsResponse) String() string

type Segments

type Segments struct {
	Segments []*control_plane.PathSegment `protobuf:"bytes,1,rep,name=segments,proto3" json:"segments,omitempty"`
	// contains filtered or unexported fields
}

func (*Segments) Descriptor deprecated

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

Deprecated: Use Segments.ProtoReflect.Descriptor instead.

func (*Segments) GetSegments

func (x *Segments) GetSegments() []*control_plane.PathSegment

func (*Segments) ProtoMessage

func (*Segments) ProtoMessage()

func (*Segments) ProtoReflect

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

func (*Segments) Reset

func (x *Segments) Reset()

func (*Segments) String

func (x *Segments) String() string

type UnimplementedAuthoritativeHiddenSegmentLookupServiceServer

type UnimplementedAuthoritativeHiddenSegmentLookupServiceServer struct {
}

UnimplementedAuthoritativeHiddenSegmentLookupServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedAuthoritativeHiddenSegmentLookupServiceServer) AuthoritativeHiddenSegments

type UnimplementedHiddenSegmentLookupServiceServer

type UnimplementedHiddenSegmentLookupServiceServer struct {
}

UnimplementedHiddenSegmentLookupServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedHiddenSegmentLookupServiceServer) HiddenSegments

type UnimplementedHiddenSegmentRegistrationServiceServer

type UnimplementedHiddenSegmentRegistrationServiceServer struct {
}

UnimplementedHiddenSegmentRegistrationServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedHiddenSegmentRegistrationServiceServer) HiddenSegmentRegistration

Directories

Path Synopsis
Package mock_hidden_segment is a generated GoMock package.
Package mock_hidden_segment is a generated GoMock package.
v1

Jump to

Keyboard shortcuts

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