Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewServeMux (0.07 sec)

  1. cni/pkg/nodeagent/cni-watcher.go

    }
    
    func startCniPluginServer(ctx context.Context, pluginSocket string,
    	handlers K8sHandlers,
    	dataplane MeshDataplane,
    ) *CniPluginServer {
    	ctx, cancel := context.WithCancel(ctx)
    	mux := http.NewServeMux()
    	s := &CniPluginServer{
    		handlers:  handlers,
    		dataplane: dataplane,
    		cniListenServer: &http.Server{
    			Handler: mux,
    		},
    		cniListenServerCancel: cancel,
    		sockAddress:           pluginSocket,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 02 18:48:50 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. cni/pkg/log/uds.go

    	Time      time.Time      `json:"time"`
    	Msg       string         `json:"msg"`
    	Arbitrary map[string]any `json:"-"`
    }
    
    func NewUDSLogger(level istiolog.Level) *UDSLogger {
    	l := &UDSLogger{}
    	mux := http.NewServeMux()
    	mux.HandleFunc(constants.UDSLogPath, l.handleLog)
    	loggingServer := &http.Server{
    		Handler: mux,
    	}
    	l.loggingServer = loggingServer
    	pluginLog.SetOutputLevel(level)
    	return l
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jun 28 19:12:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top