Documentation ¶
Index ¶
- Variables
- func RegisterSendRuntimeServer(s grpc.ServiceRegistrar, srv SendRuntimeServer)
- type DummyRuntimeData
- func (*DummyRuntimeData) Descriptor() ([]byte, []int)deprecated
- func (x *DummyRuntimeData) GetId() string
- func (x *DummyRuntimeData) GetServices() map[string]int32
- func (*DummyRuntimeData) ProtoMessage()
- func (x *DummyRuntimeData) ProtoReflect() protoreflect.Message
- func (x *DummyRuntimeData) Reset()
- func (x *DummyRuntimeData) String() string
- type EmptyDummyData
- type EmptyIPVSData
- type EmptyIpRuleData
- type EmptyRouteData
- type EmptyTunnelData
- type IpRuleRuntimeData
- func (*IpRuleRuntimeData) Descriptor() ([]byte, []int)deprecated
- func (x *IpRuleRuntimeData) GetFwmarks() map[int64]int32
- func (x *IpRuleRuntimeData) GetId() string
- func (*IpRuleRuntimeData) ProtoMessage()
- func (x *IpRuleRuntimeData) ProtoReflect() protoreflect.Message
- func (x *IpRuleRuntimeData) Reset()
- func (x *IpRuleRuntimeData) String() string
- type PbIPVSRawServicesData
- func (*PbIPVSRawServicesData) Descriptor() ([]byte, []int)deprecated
- func (x *PbIPVSRawServicesData) GetId() string
- func (x *PbIPVSRawServicesData) GetRawServicesData() map[string]*PbSendRawIPVSServiceData
- func (*PbIPVSRawServicesData) ProtoMessage()
- func (x *PbIPVSRawServicesData) ProtoReflect() protoreflect.Message
- func (x *PbIPVSRawServicesData) Reset()
- func (x *PbIPVSRawServicesData) String() string
- type PbSendRawIPVSServiceData
- func (*PbSendRawIPVSServiceData) Descriptor() ([]byte, []int)deprecated
- func (x *PbSendRawIPVSServiceData) GetId() string
- func (x *PbSendRawIPVSServiceData) GetRawServiceData() map[string]uint32
- func (*PbSendRawIPVSServiceData) ProtoMessage()
- func (x *PbSendRawIPVSServiceData) ProtoReflect() protoreflect.Message
- func (x *PbSendRawIPVSServiceData) Reset()
- func (x *PbSendRawIPVSServiceData) String() string
- type RouteRuntimeData
- func (*RouteRuntimeData) Descriptor() ([]byte, []int)deprecated
- func (x *RouteRuntimeData) GetId() string
- func (x *RouteRuntimeData) GetRouteData() []string
- func (*RouteRuntimeData) ProtoMessage()
- func (x *RouteRuntimeData) ProtoReflect() protoreflect.Message
- func (x *RouteRuntimeData) Reset()
- func (x *RouteRuntimeData) String() string
- type SendRuntimeClient
- type SendRuntimeServer
- type TunnelRuntimeData
- func (*TunnelRuntimeData) Descriptor() ([]byte, []int)deprecated
- func (x *TunnelRuntimeData) GetId() string
- func (x *TunnelRuntimeData) GetTunnels() map[string]int32
- func (*TunnelRuntimeData) ProtoMessage()
- func (x *TunnelRuntimeData) ProtoReflect() protoreflect.Message
- func (x *TunnelRuntimeData) Reset()
- func (x *TunnelRuntimeData) String() string
- type UnimplementedSendRuntimeServer
- func (UnimplementedSendRuntimeServer) DummyRuntime(context.Context, *DummyRuntimeData) (*EmptyDummyData, error)
- func (UnimplementedSendRuntimeServer) IPVSRuntime(context.Context, *PbIPVSRawServicesData) (*EmptyIPVSData, error)
- func (UnimplementedSendRuntimeServer) IpRuleRuntime(context.Context, *IpRuleRuntimeData) (*EmptyIpRuleData, error)
- func (UnimplementedSendRuntimeServer) RouteRuntime(context.Context, *RouteRuntimeData) (*EmptyRouteData, error)
- func (UnimplementedSendRuntimeServer) TunnelRuntime(context.Context, *TunnelRuntimeData) (*EmptyTunnelData, error)
- type UnsafeSendRuntimeServer
Constants ¶
This section is empty.
Variables ¶
var File_t1_orch_proto protoreflect.FileDescriptor
var SendRuntime_ServiceDesc = grpc.ServiceDesc{ ServiceName: "lbos.t1.orch.SendRuntime", HandlerType: (*SendRuntimeServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DummyRuntime", Handler: _SendRuntime_DummyRuntime_Handler, }, { MethodName: "IPVSRuntime", Handler: _SendRuntime_IPVSRuntime_Handler, }, { MethodName: "IpRuleRuntime", Handler: _SendRuntime_IpRuleRuntime_Handler, }, { MethodName: "TunnelRuntime", Handler: _SendRuntime_TunnelRuntime_Handler, }, { MethodName: "RouteRuntime", Handler: _SendRuntime_RouteRuntime_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "t1-orch.proto", }
SendRuntime_ServiceDesc is the grpc.ServiceDesc for SendRuntime service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSendRuntimeServer ¶
func RegisterSendRuntimeServer(s grpc.ServiceRegistrar, srv SendRuntimeServer)
Types ¶
type DummyRuntimeData ¶
type DummyRuntimeData struct { Services map[string]int32 `` /* 158-byte string literal not displayed */ Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DummyRuntimeData) Descriptor
deprecated
func (*DummyRuntimeData) Descriptor() ([]byte, []int)
Deprecated: Use DummyRuntimeData.ProtoReflect.Descriptor instead.
func (*DummyRuntimeData) GetId ¶
func (x *DummyRuntimeData) GetId() string
func (*DummyRuntimeData) GetServices ¶
func (x *DummyRuntimeData) GetServices() map[string]int32
func (*DummyRuntimeData) ProtoMessage ¶
func (*DummyRuntimeData) ProtoMessage()
func (*DummyRuntimeData) ProtoReflect ¶
func (x *DummyRuntimeData) ProtoReflect() protoreflect.Message
func (*DummyRuntimeData) Reset ¶
func (x *DummyRuntimeData) Reset()
func (*DummyRuntimeData) String ¶
func (x *DummyRuntimeData) String() string
type EmptyDummyData ¶
type EmptyDummyData struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*EmptyDummyData) Descriptor
deprecated
func (*EmptyDummyData) Descriptor() ([]byte, []int)
Deprecated: Use EmptyDummyData.ProtoReflect.Descriptor instead.
func (*EmptyDummyData) GetId ¶
func (x *EmptyDummyData) GetId() string
func (*EmptyDummyData) ProtoMessage ¶
func (*EmptyDummyData) ProtoMessage()
func (*EmptyDummyData) ProtoReflect ¶
func (x *EmptyDummyData) ProtoReflect() protoreflect.Message
func (*EmptyDummyData) Reset ¶
func (x *EmptyDummyData) Reset()
func (*EmptyDummyData) String ¶
func (x *EmptyDummyData) String() string
type EmptyIPVSData ¶
type EmptyIPVSData struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*EmptyIPVSData) Descriptor
deprecated
func (*EmptyIPVSData) Descriptor() ([]byte, []int)
Deprecated: Use EmptyIPVSData.ProtoReflect.Descriptor instead.
func (*EmptyIPVSData) GetId ¶
func (x *EmptyIPVSData) GetId() string
func (*EmptyIPVSData) ProtoMessage ¶
func (*EmptyIPVSData) ProtoMessage()
func (*EmptyIPVSData) ProtoReflect ¶
func (x *EmptyIPVSData) ProtoReflect() protoreflect.Message
func (*EmptyIPVSData) Reset ¶
func (x *EmptyIPVSData) Reset()
func (*EmptyIPVSData) String ¶
func (x *EmptyIPVSData) String() string
type EmptyIpRuleData ¶
type EmptyIpRuleData struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*EmptyIpRuleData) Descriptor
deprecated
func (*EmptyIpRuleData) Descriptor() ([]byte, []int)
Deprecated: Use EmptyIpRuleData.ProtoReflect.Descriptor instead.
func (*EmptyIpRuleData) GetId ¶
func (x *EmptyIpRuleData) GetId() string
func (*EmptyIpRuleData) ProtoMessage ¶
func (*EmptyIpRuleData) ProtoMessage()
func (*EmptyIpRuleData) ProtoReflect ¶
func (x *EmptyIpRuleData) ProtoReflect() protoreflect.Message
func (*EmptyIpRuleData) Reset ¶
func (x *EmptyIpRuleData) Reset()
func (*EmptyIpRuleData) String ¶
func (x *EmptyIpRuleData) String() string
type EmptyRouteData ¶
type EmptyRouteData struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*EmptyRouteData) Descriptor
deprecated
func (*EmptyRouteData) Descriptor() ([]byte, []int)
Deprecated: Use EmptyRouteData.ProtoReflect.Descriptor instead.
func (*EmptyRouteData) GetId ¶
func (x *EmptyRouteData) GetId() string
func (*EmptyRouteData) ProtoMessage ¶
func (*EmptyRouteData) ProtoMessage()
func (*EmptyRouteData) ProtoReflect ¶
func (x *EmptyRouteData) ProtoReflect() protoreflect.Message
func (*EmptyRouteData) Reset ¶
func (x *EmptyRouteData) Reset()
func (*EmptyRouteData) String ¶
func (x *EmptyRouteData) String() string
type EmptyTunnelData ¶
type EmptyTunnelData struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*EmptyTunnelData) Descriptor
deprecated
func (*EmptyTunnelData) Descriptor() ([]byte, []int)
Deprecated: Use EmptyTunnelData.ProtoReflect.Descriptor instead.
func (*EmptyTunnelData) GetId ¶
func (x *EmptyTunnelData) GetId() string
func (*EmptyTunnelData) ProtoMessage ¶
func (*EmptyTunnelData) ProtoMessage()
func (*EmptyTunnelData) ProtoReflect ¶
func (x *EmptyTunnelData) ProtoReflect() protoreflect.Message
func (*EmptyTunnelData) Reset ¶
func (x *EmptyTunnelData) Reset()
func (*EmptyTunnelData) String ¶
func (x *EmptyTunnelData) String() string
type IpRuleRuntimeData ¶
type IpRuleRuntimeData struct { Fwmarks map[int64]int32 `` /* 157-byte string literal not displayed */ Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*IpRuleRuntimeData) Descriptor
deprecated
func (*IpRuleRuntimeData) Descriptor() ([]byte, []int)
Deprecated: Use IpRuleRuntimeData.ProtoReflect.Descriptor instead.
func (*IpRuleRuntimeData) GetFwmarks ¶
func (x *IpRuleRuntimeData) GetFwmarks() map[int64]int32
func (*IpRuleRuntimeData) GetId ¶
func (x *IpRuleRuntimeData) GetId() string
func (*IpRuleRuntimeData) ProtoMessage ¶
func (*IpRuleRuntimeData) ProtoMessage()
func (*IpRuleRuntimeData) ProtoReflect ¶
func (x *IpRuleRuntimeData) ProtoReflect() protoreflect.Message
func (*IpRuleRuntimeData) Reset ¶
func (x *IpRuleRuntimeData) Reset()
func (*IpRuleRuntimeData) String ¶
func (x *IpRuleRuntimeData) String() string
type PbIPVSRawServicesData ¶
type PbIPVSRawServicesData struct { RawServicesData map[string]*PbSendRawIPVSServiceData `` /* 171-byte string literal not displayed */ Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*PbIPVSRawServicesData) Descriptor
deprecated
func (*PbIPVSRawServicesData) Descriptor() ([]byte, []int)
Deprecated: Use PbIPVSRawServicesData.ProtoReflect.Descriptor instead.
func (*PbIPVSRawServicesData) GetId ¶
func (x *PbIPVSRawServicesData) GetId() string
func (*PbIPVSRawServicesData) GetRawServicesData ¶
func (x *PbIPVSRawServicesData) GetRawServicesData() map[string]*PbSendRawIPVSServiceData
func (*PbIPVSRawServicesData) ProtoMessage ¶
func (*PbIPVSRawServicesData) ProtoMessage()
func (*PbIPVSRawServicesData) ProtoReflect ¶
func (x *PbIPVSRawServicesData) ProtoReflect() protoreflect.Message
func (*PbIPVSRawServicesData) Reset ¶
func (x *PbIPVSRawServicesData) Reset()
func (*PbIPVSRawServicesData) String ¶
func (x *PbIPVSRawServicesData) String() string
type PbSendRawIPVSServiceData ¶
type PbSendRawIPVSServiceData struct { RawServiceData map[string]uint32 `` /* 170-byte string literal not displayed */ Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*PbSendRawIPVSServiceData) Descriptor
deprecated
func (*PbSendRawIPVSServiceData) Descriptor() ([]byte, []int)
Deprecated: Use PbSendRawIPVSServiceData.ProtoReflect.Descriptor instead.
func (*PbSendRawIPVSServiceData) GetId ¶
func (x *PbSendRawIPVSServiceData) GetId() string
func (*PbSendRawIPVSServiceData) GetRawServiceData ¶
func (x *PbSendRawIPVSServiceData) GetRawServiceData() map[string]uint32
func (*PbSendRawIPVSServiceData) ProtoMessage ¶
func (*PbSendRawIPVSServiceData) ProtoMessage()
func (*PbSendRawIPVSServiceData) ProtoReflect ¶
func (x *PbSendRawIPVSServiceData) ProtoReflect() protoreflect.Message
func (*PbSendRawIPVSServiceData) Reset ¶
func (x *PbSendRawIPVSServiceData) Reset()
func (*PbSendRawIPVSServiceData) String ¶
func (x *PbSendRawIPVSServiceData) String() string
type RouteRuntimeData ¶
type RouteRuntimeData struct { RouteData []string `protobuf:"bytes,1,rep,name=routeData,proto3" json:"routeData,omitempty"` // TODO: need example Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*RouteRuntimeData) Descriptor
deprecated
func (*RouteRuntimeData) Descriptor() ([]byte, []int)
Deprecated: Use RouteRuntimeData.ProtoReflect.Descriptor instead.
func (*RouteRuntimeData) GetId ¶
func (x *RouteRuntimeData) GetId() string
func (*RouteRuntimeData) GetRouteData ¶
func (x *RouteRuntimeData) GetRouteData() []string
func (*RouteRuntimeData) ProtoMessage ¶
func (*RouteRuntimeData) ProtoMessage()
func (*RouteRuntimeData) ProtoReflect ¶
func (x *RouteRuntimeData) ProtoReflect() protoreflect.Message
func (*RouteRuntimeData) Reset ¶
func (x *RouteRuntimeData) Reset()
func (*RouteRuntimeData) String ¶
func (x *RouteRuntimeData) String() string
type SendRuntimeClient ¶
type SendRuntimeClient interface { DummyRuntime(ctx context.Context, in *DummyRuntimeData, opts ...grpc.CallOption) (*EmptyDummyData, error) IPVSRuntime(ctx context.Context, in *PbIPVSRawServicesData, opts ...grpc.CallOption) (*EmptyIPVSData, error) IpRuleRuntime(ctx context.Context, in *IpRuleRuntimeData, opts ...grpc.CallOption) (*EmptyIpRuleData, error) TunnelRuntime(ctx context.Context, in *TunnelRuntimeData, opts ...grpc.CallOption) (*EmptyTunnelData, error) RouteRuntime(ctx context.Context, in *RouteRuntimeData, opts ...grpc.CallOption) (*EmptyRouteData, error) }
SendRuntimeClient is the client API for SendRuntime service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSendRuntimeClient ¶
func NewSendRuntimeClient(cc grpc.ClientConnInterface) SendRuntimeClient
type SendRuntimeServer ¶
type SendRuntimeServer interface { DummyRuntime(context.Context, *DummyRuntimeData) (*EmptyDummyData, error) IPVSRuntime(context.Context, *PbIPVSRawServicesData) (*EmptyIPVSData, error) IpRuleRuntime(context.Context, *IpRuleRuntimeData) (*EmptyIpRuleData, error) TunnelRuntime(context.Context, *TunnelRuntimeData) (*EmptyTunnelData, error) RouteRuntime(context.Context, *RouteRuntimeData) (*EmptyRouteData, error) // contains filtered or unexported methods }
SendRuntimeServer is the server API for SendRuntime service. All implementations must embed UnimplementedSendRuntimeServer for forward compatibility
type TunnelRuntimeData ¶
type TunnelRuntimeData struct { Tunnels map[string]int32 `` // TODO: need example /* 156-byte string literal not displayed */ Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*TunnelRuntimeData) Descriptor
deprecated
func (*TunnelRuntimeData) Descriptor() ([]byte, []int)
Deprecated: Use TunnelRuntimeData.ProtoReflect.Descriptor instead.
func (*TunnelRuntimeData) GetId ¶
func (x *TunnelRuntimeData) GetId() string
func (*TunnelRuntimeData) GetTunnels ¶
func (x *TunnelRuntimeData) GetTunnels() map[string]int32
func (*TunnelRuntimeData) ProtoMessage ¶
func (*TunnelRuntimeData) ProtoMessage()
func (*TunnelRuntimeData) ProtoReflect ¶
func (x *TunnelRuntimeData) ProtoReflect() protoreflect.Message
func (*TunnelRuntimeData) Reset ¶
func (x *TunnelRuntimeData) Reset()
func (*TunnelRuntimeData) String ¶
func (x *TunnelRuntimeData) String() string
type UnimplementedSendRuntimeServer ¶
type UnimplementedSendRuntimeServer struct { }
UnimplementedSendRuntimeServer must be embedded to have forward compatible implementations.
func (UnimplementedSendRuntimeServer) DummyRuntime ¶
func (UnimplementedSendRuntimeServer) DummyRuntime(context.Context, *DummyRuntimeData) (*EmptyDummyData, error)
func (UnimplementedSendRuntimeServer) IPVSRuntime ¶
func (UnimplementedSendRuntimeServer) IPVSRuntime(context.Context, *PbIPVSRawServicesData) (*EmptyIPVSData, error)
func (UnimplementedSendRuntimeServer) IpRuleRuntime ¶
func (UnimplementedSendRuntimeServer) IpRuleRuntime(context.Context, *IpRuleRuntimeData) (*EmptyIpRuleData, error)
func (UnimplementedSendRuntimeServer) RouteRuntime ¶
func (UnimplementedSendRuntimeServer) RouteRuntime(context.Context, *RouteRuntimeData) (*EmptyRouteData, error)
func (UnimplementedSendRuntimeServer) TunnelRuntime ¶
func (UnimplementedSendRuntimeServer) TunnelRuntime(context.Context, *TunnelRuntimeData) (*EmptyTunnelData, error)
type UnsafeSendRuntimeServer ¶
type UnsafeSendRuntimeServer interface {
// contains filtered or unexported methods
}
UnsafeSendRuntimeServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SendRuntimeServer will result in compilation errors.