Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 141 for MUX (0.03 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/healthz.go

    	}
    	return nil
    }
    
    func (reg *healthCheckRegistry) installHandler(mux healthMux) {
    	reg.installHandlerWithHealthyFunc(mux, nil)
    }
    
    func (reg *healthCheckRegistry) installHandlerWithHealthyFunc(mux healthMux, firstTimeHealthy func()) {
    	reg.lock.Lock()
    	defer reg.lock.Unlock()
    	reg.checksInstalled = true
    	healthz.InstallPathHandlerWithHealthyFunc(mux, reg.path, firstTimeHealthy, reg.checks...)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/grpc_service.go

    	go func() {
    		defer utilruntime.HandleCrash()
    
    		<-ctx.Done()
    		_ = s.connection.Close()
    	}()
    
    	return s, nil
    }
    
    func (g *gRPCService) checkAPIVersion(ctx context.Context) error {
    	g.mux.Lock()
    	defer g.mux.Unlock()
    
    	if g.versionChecked {
    		return nil
    	}
    
    	request := &kmsapi.VersionRequest{Version: kmsapiVersion}
    	response, err := g.kmsClient.Version(ctx, request)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 00:47:46 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. pkg/wasm/cache.go

    	checksums map[string]*checksumEntry
    	// http fetcher fetches Wasm module with HTTP get.
    	httpFetcher *HTTPFetcher
    
    	// directory path used to store Wasm module.
    	dir string
    
    	// mux is needed because stale Wasm module files will be purged periodically.
    	mux sync.Mutex
    
    	// option sets for configurating the cache.
    	cacheOptions
    	// stopChan currently is only used by test
    	stopChan chan struct{}
    }
    
    var _ Cache = &LocalFileCache{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. cmd/bucket-encryption-handlers.go

    	"errors"
    	"fmt"
    	"io"
    	"net/http"
    
    	"github.com/minio/kms-go/kes"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/kms"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/policy"
    )
    
    const (
    	// Bucket Encryption configuration file name.
    	bucketSSEConfig = "bucket-encryption.xml"
    )
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. pkg/ctrlz/topics/scopes.go

    func getScope(w http.ResponseWriter, req *http.Request) {
    	vars := mux.Vars(req)
    	name := vars["scope"]
    
    	if s := log.FindScope(name); s != nil {
    		fw.RenderJSON(w, http.StatusOK, getScopeInfo(s))
    		return
    	}
    
    	fw.RenderError(w, http.StatusBadRequest, fmt.Errorf("unknown scope name: %s", name))
    }
    
    func putScope(w http.ResponseWriter, req *http.Request) {
    	vars := mux.Vars(req)
    	name := vars["scope"]
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. cmd/kms-router.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    )
    
    const (
    	kmsPathPrefix       = minioReservedBucketPath + "/kms"
    	kmsAPIVersion       = "v1"
    	kmsAPIVersionPrefix = SlashSeparator + kmsAPIVersion
    )
    
    type kmsAPIHandlers struct{}
    
    // registerKMSRouter - Registers KMS APIs
    func registerKMSRouter(router *mux.Router) {
    	kmsAPI := kmsAPIHandlers{}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. cmd/bucket-notification-handlers.go

    package cmd
    
    import (
    	"encoding/xml"
    	"io"
    	"net/http"
    	"reflect"
    
    	"github.com/minio/minio/internal/event"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/policy"
    )
    
    const (
    	bucketNotificationConfig = "notification.xml"
    )
    
    // GetBucketNotificationHandler - This HTTP handler returns event notification configuration
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/routes/flags.go

    	"path"
    	"sync"
    
    	"k8s.io/klog/v2"
    
    	"k8s.io/apiserver/pkg/server/mux"
    )
    
    var (
    	lock            = &sync.RWMutex{}
    	registeredFlags = map[string]debugFlag{}
    )
    
    // DebugFlags adds handlers for flags under /debug/flags.
    type DebugFlags struct {
    }
    
    // Install registers the APIServer's flags handler.
    func (f DebugFlags) Install(c *mux.PathRecorderMux, flag string, handler func(http.ResponseWriter, *http.Request)) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 16 11:54:27 UTC 2020
    - 3.2K bytes
    - Viewed (0)
  9. pkg/ctrlz/home.go

    // limitations under the License.
    
    package ctrlz
    
    import (
    	"html/template"
    	"net/http"
    	"os"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"time"
    
    	"github.com/gorilla/mux"
    
    	"istio.io/istio/pkg/ctrlz/assets"
    	"istio.io/istio/pkg/ctrlz/fw"
    )
    
    var mimeTypes = map[string]string{
    	".css": "text/css; charset=utf-8",
    	".svg": "image/svg+xml; charset=utf-8",
    	".ico": "image/x-icon",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. cmd/bucket-lifecycle-handlers.go

    	"io"
    	"net/http"
    	"strconv"
    	"time"
    
    	"github.com/minio/minio/internal/bucket/lifecycle"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/policy"
    )
    
    const (
    	// Lifecycle configuration file.
    	bucketLifecycleConfig = "lifecycle.xml"
    )
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top