Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for history (0.21 sec)

  1. cmd/admin-handlers-config-kv.go

    	// Update the actual server config on disk.
    	if err = saveServerConfig(ctx, objectAPI, result.Cfg); err != nil {
    		return
    	}
    
    	// Write the config input KV to history.
    	err = saveServerConfigHistory(ctx, objectAPI, kvBytes)
    	return
    }
    
    // GetConfigKVHandler - GET /minio/admin/v3/get-config-kv?key={key}
    //
    // `key` can be one of three forms:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  2. cmd/config.go

    				CreateTime: obj.ModTime, // ModTime is createTime for config history entries.
    			}
    			if withData {
    				data, err := readConfig(ctx, objAPI, obj.Name)
    				if err != nil {
    					// ignore history file if not readable.
    					continue
    				}
    
    				data, err = decryptData(data, obj.Name)
    				if err != nil {
    					// ignore history file that cannot be loaded.
    					continue
    				}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Aug 23 10:07:06 GMT 2023
    - 6K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/lex/input.go

    		}
    	}
    	return -1
    }
    
    // invokeMacro pushes onto the input Stack a Slice that holds the macro definition with the actual
    // parameters substituted for the formals.
    // Invoking a macro does not touch the PC/line history.
    func (in *Input) invokeMacro(macro *Macro) {
    	// If the macro has no arguments, just substitute the text.
    	if macro.args == nil {
    		in.Push(NewSlice(in.Base(), in.Line(), macro.tokens))
    		return
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  4. cmd/admin-router.go

    		// Config KV history operations.
    		if enableConfigOps {
    			adminRouter.Methods(http.MethodGet).Path(adminVersion+"/list-config-history-kv").HandlerFunc(adminMiddleware(adminAPI.ListConfigHistoryKVHandler, traceAllFlag)).Queries("count", "{count:[0-9]+}")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  5. cmd/admin-handlers-idp-config.go

    	if err = saveServerConfig(ctx, objectAPI, cfg); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	// Write to the config input KV to history.
    	if err = saveServerConfigHistory(ctx, objectAPI, []byte(cfgData)); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	writeSuccessResponseHeadersOnly(w)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  6. src/bytes/reader_test.go

    		}(i)
    	}
    	wg.Wait()
    }
    
    func TestEmptyReaderConcurrent(t *testing.T) {
    	// Test for the race detector, to verify a Read that doesn't yield any bytes
    	// is okay to use from multiple goroutines. This was our historic behavior.
    	// See golang.org/issue/7856
    	r := NewReader([]byte{})
    	var wg sync.WaitGroup
    	for i := 0; i < 5; i++ {
    		wg.Add(2)
    		go func() {
    			defer wg.Done()
    			var buf [1]byte
    			r.Read(buf[:])
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Dec 13 18:45:54 GMT 2021
    - 8K bytes
    - Viewed (0)
Back to top