Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterIngressServiceServer(s grpc.ServiceRegistrar, srv IngressServiceServer)
- type IngressServiceClient
- type IngressServiceServer
- type UnimplementedIngressServiceServer
- func (UnimplementedIngressServiceServer) Create(context.Context, *_go.CreateReq) (*_go.Empty, error)
- func (UnimplementedIngressServiceServer) Inspect(context.Context, *_go.NamesReq) (*_go.InspectRsp, error)
- func (UnimplementedIngressServiceServer) Notice(context.Context, *_go.NoticeReq) (*_go.Empty, error)
- func (UnimplementedIngressServiceServer) Port(context.Context, *_go.PortReq) (*_go.PortRsp, error)
- func (UnimplementedIngressServiceServer) Proxies(context.Context, *_go.ListReq) (*_go.ProxiesRsp, error)
- func (UnimplementedIngressServiceServer) Remove(context.Context, *_go.NamesReq) (*_go.Empty, error)
- type UnsafeIngressServiceServer
Constants ¶
const ( IngressService_Port_FullMethodName = "/ingress.IngressService/Port" IngressService_Create_FullMethodName = "/ingress.IngressService/Create" IngressService_Remove_FullMethodName = "/ingress.IngressService/Remove" IngressService_Inspect_FullMethodName = "/ingress.IngressService/Inspect" IngressService_Proxies_FullMethodName = "/ingress.IngressService/Proxies" IngressService_Notice_FullMethodName = "/ingress.IngressService/Notice" )
Variables ¶
var IngressService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ingress.IngressService", HandlerType: (*IngressServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Port", Handler: _IngressService_Port_Handler, }, { MethodName: "Create", Handler: _IngressService_Create_Handler, }, { MethodName: "Remove", Handler: _IngressService_Remove_Handler, }, { MethodName: "Inspect", Handler: _IngressService_Inspect_Handler, }, { MethodName: "Proxies", Handler: _IngressService_Proxies_Handler, }, { MethodName: "Notice", Handler: _IngressService_Notice_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "ingress.proto", }
IngressService_ServiceDesc is the grpc.ServiceDesc for IngressService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterIngressServiceServer ¶
func RegisterIngressServiceServer(s grpc.ServiceRegistrar, srv IngressServiceServer)
Types ¶
type IngressServiceClient ¶
type IngressServiceClient interface { Port(ctx context.Context, in *_go.PortReq, opts ...grpc.CallOption) (*_go.PortRsp, error) Create(ctx context.Context, in *_go.CreateReq, opts ...grpc.CallOption) (*_go.Empty, error) Remove(ctx context.Context, in *_go.NamesReq, opts ...grpc.CallOption) (*_go.Empty, error) Inspect(ctx context.Context, in *_go.NamesReq, opts ...grpc.CallOption) (*_go.InspectRsp, error) Proxies(ctx context.Context, in *_go.ListReq, opts ...grpc.CallOption) (*_go.ProxiesRsp, error) Notice(ctx context.Context, in *_go.NoticeReq, opts ...grpc.CallOption) (*_go.Empty, error) }
IngressServiceClient is the client API for IngressService 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 NewIngressServiceClient ¶
func NewIngressServiceClient(cc grpc.ClientConnInterface) IngressServiceClient
type IngressServiceServer ¶
type IngressServiceServer interface { Port(context.Context, *_go.PortReq) (*_go.PortRsp, error) Create(context.Context, *_go.CreateReq) (*_go.Empty, error) Remove(context.Context, *_go.NamesReq) (*_go.Empty, error) Inspect(context.Context, *_go.NamesReq) (*_go.InspectRsp, error) Proxies(context.Context, *_go.ListReq) (*_go.ProxiesRsp, error) Notice(context.Context, *_go.NoticeReq) (*_go.Empty, error) }
IngressServiceServer is the server API for IngressService service. All implementations should embed UnimplementedIngressServiceServer for forward compatibility
type UnimplementedIngressServiceServer ¶
type UnimplementedIngressServiceServer struct { }
UnimplementedIngressServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedIngressServiceServer) Create ¶
func (UnimplementedIngressServiceServer) Inspect ¶
func (UnimplementedIngressServiceServer) Inspect(context.Context, *_go.NamesReq) (*_go.InspectRsp, error)
func (UnimplementedIngressServiceServer) Notice ¶
func (UnimplementedIngressServiceServer) Port ¶
func (UnimplementedIngressServiceServer) Proxies ¶
func (UnimplementedIngressServiceServer) Proxies(context.Context, *_go.ListReq) (*_go.ProxiesRsp, error)
type UnsafeIngressServiceServer ¶
type UnsafeIngressServiceServer interface {
// contains filtered or unexported methods
}
UnsafeIngressServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IngressServiceServer will result in compilation errors.