Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Register (0.29 sec)

  1. internal/grid/grid_test.go

    	handler2 := func(req *testRequest) (resp *testResponse, err *RemoteErr) {
    		r := RemoteErr(req.String)
    		return nil, &r
    	}
    	errFatal(h1.Register(local, handler1))
    	errFatal(h2.Register(local, handler2))
    
    	errFatal(h1.Register(remote, handler1))
    	errFatal(h2.Register(remote, handler2))
    
    	// local to remote connection
    	remoteConn := local.Connection(remoteHost)
    	const testPayload = "Hello Grid World!"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:03:35 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    		switch apiFunction {
    		case "PostPolicy":
    			// Register PostPolicy handler.
    			bucket.Methods(http.MethodPost).HeadersRegexp("Content-Type", "multipart/form-data*").HandlerFunc(api.PostPolicyBucketHandler)
    		case "HeadObject":
    			// Register HeadObject handler.
    			bucket.Methods("Head").Path("/{object:.+}").HandlerFunc(api.HeadObjectHandler)
    		case "GetObject":
    			// Register GetObject handler.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  3. cmd/metrics-v3.go

    		collectors[mg.CollectorPath] = mg
    	}
    
    	// Helper function to register a collector and return a gatherer for it.
    	mustRegister := func(c ...prometheus.Collector) prometheus.Gatherer {
    		subRegistry := prometheus.NewRegistry()
    		for _, col := range c {
    			subRegistry.MustRegister(col)
    		}
    		r.MustRegister(subRegistry)
    		return subRegistry
    	}
    
    	// Register all collectors and create gatherers for them.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  4. cmd/common-main.go

    	}
    
    	globalIsCICD = env.Get("MINIO_CI_CD", "") != "" || env.Get("CI", "") != ""
    
    	console.SetColor("Debug", fcolor.New())
    
    	gob.Register(StorageErr(""))
    	gob.Register(madmin.TimeInfo{})
    	gob.Register(madmin.XFSErrorConfigs{})
    	gob.Register(map[string]string{})
    	gob.Register(map[string]interface{}{})
    
    	// All minio-go and madmin-go API operations shall be performed only once,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  5. docs/en/docs/advanced/openapi-webhooks.md

    And **your users** define in some way (for example in a web dashboard somewhere) the **URL** where your app should send those requests.
    
    All the **logic** about how to register the URLs for webhooks and the code to actually send those requests is up to you. You write it however you want to in **your own code**.
    
    ## Documenting webhooks with **FastAPI** and OpenAPI
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  6. cmd/main.go

    			// allowed number of typed errors
    			if words.DamerauLevenshteinDistance(command, value) < 2 {
    				closestCommands = append(closestCommands, value)
    			}
    		}
    
    		return closestCommands
    	}
    
    	// Register all commands.
    	registerCommand(serverCmd)
    
    	// Set up app.
    	cli.HelpFlag = cli.BoolFlag{
    		Name:  "help, h",
    		Usage: "show help",
    	}
    	cli.VersionPrinter = printMinIOVersion
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  7. cmd/config-current.go

    		// callhome cannot be enabled if license is not registered yet, throw an error.
    		if cfg.Enabled() && !globalSubnetConfig.Registered() {
    			return errors.New("Deployment is not registered with SUBNET. Please register the deployment via 'mc license register ALIAS'")
    		}
    	case config.DriveSubSys:
    		if _, err := drive.LookupConfig(s[config.DriveSubSys][config.Default]); err != nil {
    			return err
    		}
    	case config.CacheSubSys:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         */
        @Nonnull
        Session withRemoteRepositories(@Nonnull List<RemoteRepository> repositories);
    
        /**
         * Register the given listener which will receive all events.
         *
         * @param listener the listener to register
         * @throws NullPointerException if {@code listener} is null
         */
        void registerListener(@Nonnull Listener listener);
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  9. cni/pkg/cmd/root.go

    	// Note: we do not rely on istio env package to retrieve configuration. We relies on viper.
    	// This is just to make sure the reference doc tool can generate doc with these vars as env variable at istio.io.
    	env.Register(envName, defaultValue, usage)
    	bindViper(name)
    }
    
    func bindViper(name string) {
    	if err := viper.BindPFlag(name, rootCmd.Flags().Lookup(name)); err != nil {
    		log.Error(err)
    		os.Exit(1)
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  10. cmd/metacache-set.go

    	StopDiskAtLimit bool
    
    	// pool and set of where the cache is located.
    	pool, set int
    }
    
    func init() {
    	gob.Register(listPathOptions{})
    }
    
    func (o *listPathOptions) setBucketMeta(ctx context.Context) {
    	lc, _ := globalLifecycleSys.Get(o.Bucket)
    	vc, _ := globalBucketVersioningSys.Get(o.Bucket)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
Back to top