Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ConsoleLogHandler (0.33 sec)

  1. cmd/peer-rest-server.go

    		if err != nil {
    			peersLogIf(context.Background(), fmt.Errorf("Failed to reload remote tier config %s", err))
    		}
    	}()
    
    	return
    }
    
    // ConsoleLogHandler sends console logs of this node back to peer rest client
    func (s *peerRESTServer) ConsoleLogHandler(ctx context.Context, params *grid.MSS, out chan<- *grid.Bytes) *grid.RemoteErr {
    	mask, err := strconv.Atoi(params.Get(peerRESTLogMask))
    	if err != nil {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    				return
    			}
    			w.(http.Flusher).Flush()
    		case <-ctx.Done():
    			return
    		}
    	}
    }
    
    // The ConsoleLogHandler handler sends console logs to the connected HTTP client.
    func (a adminAPIHandlers) ConsoleLogHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.ConsoleLogAdminAction)
    	if objectAPI == nil {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  3. cmd/admin-router.go

    		// Console Logs
    		adminRouter.Methods(http.MethodGet).Path(adminVersion + "/log").HandlerFunc(adminMiddleware(adminAPI.ConsoleLogHandler, traceAllFlag))
    
    		// -- KMS APIs --
    		//
    		adminRouter.Methods(http.MethodPost).Path(adminVersion + "/kms/status").HandlerFunc(adminMiddleware(adminAPI.KMSStatusHandler, traceAllFlag))
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 26.2K bytes
    - Viewed (0)
Back to top