server

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	discover.UnimplementedDiscoverServiceServer
	LinuxHandler      *linux.Handler
	ContainerDHandler *container.Handler
	// contains filtered or unexported fields
}

func NewServer

func NewServer() *Server

func (*Server) EnableContainerD added in v0.2.1

func (s *Server) EnableContainerD(h *container.Handler)

func (*Server) EnableLinux added in v0.2.1

func (s *Server) EnableLinux(h *linux.Handler)

func (*Server) ServerInformation

func (s *Server) ServerInformation(context.Context, *discover.Empty) (*types.ServerInfo, error)

func (*Server) Start

func (s *Server) Start()

Jump to

Keyboard shortcuts

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