Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 62 for Mux (0.04 sec)

  1. cmd/object-lambda-handlers.go

    	"net/http"
    	"net/url"
    	"time"
    
    	"github.com/klauspost/compress/gzhttp"
    	"github.com/lithammer/shortuuid/v4"
    	miniogo "github.com/minio/minio-go/v7"
    	"github.com/minio/minio-go/v7/pkg/credentials"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/policy"
    
    	"github.com/minio/minio/internal/auth"
    	levent "github.com/minio/minio/internal/config/lambda/event"
    	"github.com/minio/minio/internal/hash/sha256"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. cmd/api-router.go

    	return handler
    }
    
    // registerAPIRouter - registers S3 compatible APIs.
    func registerAPIRouter(router *mux.Router) {
    	// Initialize API.
    	api := objectAPIHandlers{
    		ObjectAPI: newObjectLayerFn,
    	}
    
    	// API Router
    	apiRouter := router.PathPrefix(SlashSeparator).Subrouter()
    
    	var routers []*mux.Router
    	for _, domainName := range globalDomainNames {
    		if IsKubernetes() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. cmd/admin-handlers-pools.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"net/http"
    	"strconv"
    	"strings"
    
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/env"
    	"github.com/minio/pkg/v3/policy"
    )
    
    var (
    	errRebalanceDecommissionAlreadyRunning = errors.New("Rebalance cannot be started, decommission is already in progress")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 00:22:30 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. cmd/admin-handlers-users.go

    	"strings"
    	"time"
    	"unicode/utf8"
    
    	"github.com/klauspost/compress/zip"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/minio/internal/config/dns"
    	"github.com/minio/mux"
    	xldap "github.com/minio/pkg/v3/ldap"
    	"github.com/minio/pkg/v3/policy"
    	"github.com/puzpuzpuz/xsync/v3"
    )
    
    // RemoveUser - DELETE /minio/admin/v3/remove-user?accessKey=<access_key>
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  5. cmd/listen-notification-handlers.go

    	"net/http"
    	"strconv"
    	"time"
    
    	"github.com/minio/minio/internal/event"
    	"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/v3/policy"
    )
    
    func (api objectAPIHandlers) ListenNotificationHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "ListenNotification")
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. cmd/admin-bucket-handlers.go

    	objectlock "github.com/minio/minio/internal/bucket/object/lock"
    	"github.com/minio/minio/internal/bucket/versioning"
    	"github.com/minio/minio/internal/event"
    	"github.com/minio/minio/internal/kms"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/policy"
    )
    
    const (
    	bucketQuotaConfigFile = "quota.json"
    	bucketTargetsFile     = "bucket-targets.json"
    )
    
    // PutBucketQuotaConfigHandler - PUT Bucket quota configuration.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  7. internal/grid/manager.go

    		})
    	}
    	if !found {
    		return nil, fmt.Errorf("grid: local host (%s) not found in cluster setup", o.Local)
    	}
    
    	return m, nil
    }
    
    // AddToMux will add the grid manager to the given mux.
    func (m *Manager) AddToMux(router *mux.Router, authReq func(r *http.Request) error) {
    	router.Handle(m.routePath, m.Handler(authReq))
    }
    
    // Handler returns a handler that can be used to serve grid requests.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. cmd/object-multipart-handlers.go

    	"github.com/minio/minio/internal/hash"
    	"github.com/minio/minio/internal/hash/sha256"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/policy"
    	"github.com/minio/sio"
    )
    
    // Multipart objectAPIHandlers
    
    // NewMultipartUploadHandler - New multipart upload.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  9. cmd/metrics-v3-handler.go

    package cmd
    
    import (
    	"encoding/json"
    	"fmt"
    	"net/http"
    	"slices"
    	"strings"
    	"sync"
    
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/mcontext"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/env"
    	"github.com/prometheus/client_golang/prometheus"
    	"github.com/prometheus/client_golang/prometheus/promhttp"
    )
    
    type promLogger struct{}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. cmd/storage-rest_test.go

    		Endpoints: Endpoints{endpoint},
    	}}
    	poolEps[0].SetCount = 1
    	poolEps[0].DrivesPerSet = 1
    
    	// Register handlers on newly created servers
    	registerStorageRESTHandlers(tg.Mux[0], poolEps, tg.Managers[0])
    	registerStorageRESTHandlers(tg.Mux[1], poolEps, tg.Managers[1])
    
    	storage := globalLocalSetDrives[0][0][0]
    	if err = storage.MakeVol(context.Background(), "foo"); err != nil {
    		t.Fatalf("unexpected error %v", err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top