Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for hugger (0.43 sec)

  1. cmd/signals.go

    			exit(stopProcess())
    		case osSignal := <-globalOSSignalCh:
    			logger.Info("Exiting on signal: %s", strings.ToUpper(osSignal.String()))
    			daemon.SdNotify(false, daemon.SdNotifyStopping)
    			exit(stopProcess())
    		case signal := <-globalServiceSignalCh:
    			switch signal {
    			case serviceRestart:
    				logger.Info("Restarting on service signal")
    				daemon.SdNotify(false, daemon.SdNotifyReloading)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. cmd/bootstrap-peer-server.go

    			if retries >= 20 {
    				logger.Info(fmt.Sprintf("Waiting for at least %d remote servers with valid configuration to be online", len(clnts)/2))
    				if len(offlineEndpoints) > 0 {
    					logger.Info(fmt.Sprintf("Following servers are currently offline or unreachable %s", offlineEndpoints))
    				}
    				if len(incorrectConfigs) > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  3. internal/logger/console.go

    var ExitFunc = os.Exit
    
    // Logger interface describes the methods that need to be implemented to satisfy the interface requirements.
    type Logger interface {
    	json(msg string, args ...interface{})
    	quiet(msg string, args ...interface{})
    	pretty(msg string, args ...interface{})
    }
    
    func consoleLog(console Logger, msg string, args ...interface{}) {
    	switch {
    	case jsonFlag:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  4. internal/logger/targets.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package logger
    
    import (
    	"context"
    	"fmt"
    	"strings"
    	"sync"
    
    	"github.com/minio/minio/internal/logger/target/http"
    	"github.com/minio/minio/internal/logger/target/kafka"
    	"github.com/minio/minio/internal/logger/target/types"
    )
    
    // Target is the entity that we will receive
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 22:56:14 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  5. cmd/bucket-policy-handlers.go

    package cmd
    
    import (
    	"bytes"
    	"encoding/json"
    	"io"
    	"net/http"
    
    	humanize "github.com/dustin/go-humanize"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v2/policy"
    )
    
    const (
    	// As per AWS S3 specification, 20KiB policy JSON data is allowed.
    	maxBucketPolicySize = 20 * humanize.KiByte
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  6. cmd/tier-journal.go

    	if err := jd.rotate(); err != nil {
    		logger.LogIf(ctx, fmt.Errorf("tier-journal: failed to rotate pending deletes journal %s", err))
    		return
    	}
    
    	ro, err := jd.OpenRO()
    	switch {
    	case errors.Is(err, os.ErrNotExist):
    		return // No read-only journal to process; nothing to do.
    	case err != nil:
    		logger.LogIf(ctx, fmt.Errorf("tier-journal: failed open read-only journal for processing %s", err))
    Go
    - Registered: Sun Feb 25 19:28:16 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  7. internal/event/target/webhook.go

    	"net/http"
    	"net/url"
    	"os"
    	"path/filepath"
    	"strings"
    	"syscall"
    	"time"
    
    	"github.com/minio/minio/internal/event"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/once"
    	"github.com/minio/minio/internal/store"
    	"github.com/minio/pkg/v2/certs"
    	xnet "github.com/minio/pkg/v2/net"
    )
    
    // Webhook constants
    const (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 20 22:40:07 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  8. cmd/listen-notification-handlers.go

    	"github.com/minio/minio/internal/grid"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/pubsub"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v2/policy"
    )
    
    func (api objectAPIHandlers) ListenNotificationHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "ListenNotification")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	// Validate if bucket exists.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  9. internal/http/server.go

    	srv.BaseContext = func(listener net.Listener) context.Context {
    		return ctx
    	}
    	return srv
    }
    
    // UseCustomLogger use customized logger for this HTTP *Server
    func (srv *Server) UseCustomLogger(l *log.Logger) *Server {
    	srv.ErrorLog = l
    	return srv
    }
    
    // UseTCPOptions use custom TCP options on raw socket
    func (srv *Server) UseTCPOptions(opts TCPOptions) *Server {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 09 21:25:16 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  10. cmd/signature-v4-utils.go

    	"io"
    	"net/http"
    	"strconv"
    	"strings"
    
    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/minio/internal/hash/sha256"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/policy"
    	"golang.org/x/exp/slices"
    )
    
    // http Header "x-amz-content-sha256" == "UNSIGNED-PAYLOAD" indicates that the
    // client did not calculate sha256 of the payload.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 18:56:45 GMT 2024
    - 9K bytes
    - Viewed (0)
Back to top