Documentation
¶
Index ¶
- Constants
- Variables
- func CreateTopLevelDirectories(config *srvconfig.Config) error
- type OperationServer
- type Req
- type Server
- func (s *Server) OnEvent(conf *dynamConf.Config)
- func (s *Server) ServeDebug(l net.Listener) error
- func (s *Server) ServeGRPC(l net.Listener) error
- func (s *Server) ServeHttp(l net.Listener) error
- func (s *Server) ServeOperation(l net.Listener) error
- func (s *Server) ServeTCP(l net.Listener) error
- func (s *Server) ServeTTRPC(l net.Listener) error
- func (s *Server) ServeTap(l net.Listener) error
- func (s *Server) Stop()
Constants ¶
View Source
const ( Success errCode = 0 ParseJsonFailed = iota + 1000 CannotFindDevice TapDoesNotMatchId )
View Source
const ( TapAllTime = "tap_all_time" TapChangeGoRoutine = "tap_change_goroutine" TapReadTime = "tap_read_time" TapSearchFd = "tap_search_fd" TapUnmarshal = "tap_unmarshal" TapMapLoad = "tap_map_load" TapWriteMsg = "tap_write_msg" )
View Source
const CodeBadRequest = 400
View Source
const CodeInternalServerError = 500
View Source
const CodeMethodNotAllowed = 405
View Source
const CodeNotFound = 404
View Source
const CodeOK = 200
Variables ¶
View Source
var ( ErrNotFound = errors.New("resource not found") ErrMethodNotAllowed = errors.New("method not allowed") )
Functions ¶
Types ¶
type OperationServer ¶
type OperationServer struct {
// contains filtered or unexported fields
}
func NewOperationServer ¶
func NewOperationServer(engine *workflow.Engine, imgExpirationSetter images.ExpirationTimeSetter) *OperationServer
func (*OperationServer) ApplyHostConfig ¶
func (s *OperationServer) ApplyHostConfig() error
func (*OperationServer) Stop ¶
func (s *OperationServer) Stop()
type Server ¶
type Server struct {
*containerdserver.Server
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.