Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterIngressServer(s grpc.ServiceRegistrar, srv IngressServer)
- type IngressClient
- type IngressServer
- type UnimplementedIngressServer
- func (UnimplementedIngressServer) Create(context.Context, *_go.CreateReq) (*_go.Empty, error)
- func (UnimplementedIngressServer) Inspect(context.Context, *_go.NamesReq) (*_go.InspectRsp, error)
- func (UnimplementedIngressServer) Notice(context.Context, *_go.NoticeReq) (*_go.Empty, error)
- func (UnimplementedIngressServer) Port(context.Context, *_go.PortReq) (*_go.PortRsp, error)
- func (UnimplementedIngressServer) Proxies(context.Context, *_go.ListReq) (*_go.ProxiesRsp, error)
- func (UnimplementedIngressServer) Remove(context.Context, *_go.NamesReq) (*_go.Empty, error)
- type UnsafeIngressServer
Constants ¶
const ( Ingress_Port_FullMethodName = "/virzz.ingress.v1.Ingress/Port" Ingress_Create_FullMethodName = "/virzz.ingress.v1.Ingress/Create" Ingress_Remove_FullMethodName = "/virzz.ingress.v1.Ingress/Remove" Ingress_Inspect_FullMethodName = "/virzz.ingress.v1.Ingress/Inspect" Ingress_Proxies_FullMethodName = "/virzz.ingress.v1.Ingress/Proxies" Ingress_Notice_FullMethodName = "/virzz.ingress.v1.Ingress/Notice" )
Variables ¶
var Ingress_ServiceDesc = grpc.ServiceDesc{ ServiceName: "virzz.ingress.v1.Ingress", HandlerType: (*IngressServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Port", Handler: _Ingress_Port_Handler, }, { MethodName: "Create", Handler: _Ingress_Create_Handler, }, { MethodName: "Remove", Handler: _Ingress_Remove_Handler, }, { MethodName: "Inspect", Handler: _Ingress_Inspect_Handler, }, { MethodName: "Proxies", Handler: _Ingress_Proxies_Handler, }, { MethodName: "Notice", Handler: _Ingress_Notice_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "ingress.proto", }
Ingress_ServiceDesc is the grpc.ServiceDesc for Ingress service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterIngressServer ¶
func RegisterIngressServer(s grpc.ServiceRegistrar, srv IngressServer)
Types ¶
type IngressClient ¶
type IngressClient 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) }
IngressClient is the client API for Ingress 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 NewIngressClient ¶
func NewIngressClient(cc grpc.ClientConnInterface) IngressClient
type IngressServer ¶
type IngressServer 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) }
IngressServer is the server API for Ingress service. All implementations should embed UnimplementedIngressServer for forward compatibility.
type UnimplementedIngressServer ¶
type UnimplementedIngressServer struct{}
UnimplementedIngressServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedIngressServer) Create ¶
func (UnimplementedIngressServer) Inspect ¶
func (UnimplementedIngressServer) Inspect(context.Context, *_go.NamesReq) (*_go.InspectRsp, error)
func (UnimplementedIngressServer) Notice ¶
func (UnimplementedIngressServer) Port ¶
func (UnimplementedIngressServer) Proxies ¶
func (UnimplementedIngressServer) Proxies(context.Context, *_go.ListReq) (*_go.ProxiesRsp, error)
type UnsafeIngressServer ¶
type UnsafeIngressServer interface {
// contains filtered or unexported methods
}
UnsafeIngressServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IngressServer will result in compilation errors.