Documentation ¶
Index ¶
- type Server
- func (s *Server) Capture(req *capture.CaptureDescriptor, stream capture.Kpture_CaptureServer) error
- func (s *Server) Health(context.Context, *capture.Empty) (*capture.Empty, error)
- func (s *Server) Start() error
- func (s *Server) Stop()
- func (s *Server) ValidateDescriptor(descriptor *capture.CaptureDescriptor) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { capture.UnimplementedKptureServer // contains filtered or unexported fields }
func NewServer ¶
func NewServer(opts ...grpc.ServerOption) *Server
func (*Server) Capture ¶ added in v0.1.0
func (s *Server) Capture(req *capture.CaptureDescriptor, stream capture.Kpture_CaptureServer) error
func (*Server) ValidateDescriptor ¶ added in v0.1.0
func (s *Server) ValidateDescriptor(descriptor *capture.CaptureDescriptor) error
Click to show internal directories.
Click to hide internal directories.