Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 230 for Dadd (0.14 sec)

  1. internal/event/rulesmap_test.go

    		}
    	}
    }
    
    func TestNewRulesMap(t *testing.T) {
    	rulesMapCase1 := make(RulesMap)
    	rulesMapCase1.add([]Name{ObjectAccessedGet, ObjectAccessedHead, ObjectAccessedGetRetention, ObjectAccessedGetLegalHold, ObjectAccessedAttributes},
    		"*", TargetID{"1", "webhook"})
    
    	rulesMapCase2 := make(RulesMap)
    	rulesMapCase2.add([]Name{
    		ObjectAccessedGet, ObjectAccessedHead, ObjectAccessedAttributes,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Jan 05 18:43:06 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/net.go

    //
    // You may ask why we pass the pod IPs separately from the pod manifest itself (which contains the pod IPs as a field)
    // - this is because during add specifically, if CNI plugins have not finished executing,
    // K8S may get a pod Add event without any IPs in the object, and the pod will later be updated with IPs.
    //
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  3. cmd/admin-router.go

    		}
    
    		// -- IAM APIs --
    
    		// Add policy IAM
    		adminRouter.Methods(http.MethodPut).Path(adminVersion+"/add-canned-policy").HandlerFunc(adminMiddleware(adminAPI.AddCannedPolicy, traceAllFlag)).Queries("name", "{name:.*}")
    
    		// Add user IAM
    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)
  4. cmd/endpoint-ellipses.go

    			}
    			uniqueArgs.Add(arg)
    		}
    	}
    
    	return setArgs, nil
    }
    
    // Override set drive count for manual distribution.
    const (
    	EnvErasureSetDriveCount = "MINIO_ERASURE_SET_DRIVE_COUNT"
    )
    
    type node struct {
    	nodeName string
    	disks    []string
    }
    
    type endpointsList []node
    
    func (el *endpointsList) add(arg string) error {
    	u, err := url.Parse(arg)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  5. lib/time/mkzip.go

    	})
    	if err != nil {
    		log.Fatal(err)
    	}
    	if err := zw.Close(); err != nil {
    		log.Fatal(err)
    	}
    	if len(seen) == 0 {
    		log.Fatalf("did not find any files to add")
    	}
    	if !seen["US/Eastern"] {
    		log.Fatalf("did not find US/Eastern to add")
    	}
    	if err := os.WriteFile(args[0], zb.Bytes(), 0666); err != nil {
    		log.Fatal(err)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 17:32:07 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  6. chainable_api.go

    	tx = db.getInstance()
    	tx.Statement.Model = value
    	return
    }
    
    // Clauses Add clauses
    //
    // This supports both standard clauses (clause.OrderBy, clause.Limit, clause.Where) and more
    // advanced techniques like specifying lock strength and optimizer hints. See the
    // [docs] for more depth.
    //
    //	// add a simple limit clause
    //	db.Clauses(clause.Limit{Limit: 1}).Find(&User{})
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  7. cmd/metrics-v3-handler.go

    	// Add tracing to the prom. handler
    	tracedHandler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt)
    		if ok {
    			tc.FuncName = "handler.MetricsV3"
    			tc.ResponseRecorder.LogErrBody = true
    		}
    
    		innerHandler.ServeHTTP(w, r)
    	})
    
    	// Add authentication
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  8. cmd/net.go

    	for _, ip := range mustGetLocalIPs() {
    		if ip.To4() != nil {
    			ipList.Add(ip.String())
    		}
    	}
    	return
    }
    
    // mustGetLocalIP6 returns IPv6 addresses of localhost.  It panics on error.
    func mustGetLocalIP6() (ipList set.StringSet) {
    	ipList = set.NewStringSet()
    	for _, ip := range mustGetLocalIPs() {
    		if ip.To4() == nil {
    			ipList.Add(ip.String())
    		}
    	}
    	return
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 26 15:00:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  9. internal/s3select/csv/reader.go

    	if r.columnNames == nil {
    		r.columnNames = make([]string, len(csvRecord))
    		for i := range csvRecord {
    			r.columnNames[i] = fmt.Sprintf("_%v", i+1)
    		}
    	}
    
    	// If no index map, add that.
    	if r.nameIndexMap == nil {
    		r.nameIndexMap = make(map[string]int64)
    		for i := range r.columnNames {
    			r.nameIndexMap[r.columnNames[i]] = int64(i)
    		}
    	}
    	dstRec, ok := dst.(*Record)
    	if !ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/error.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package nodeagent
    
    import (
    	"errors"
    	"fmt"
    )
    
    var ErrPartialAdd = errors.New("partial add error")
    
    type PartialAddError struct {
    	inner error
    }
    
    func (e *PartialAddError) Error() string {
    	return fmt.Sprintf("%s: %v", ErrPartialAdd.Error(), e.inner)
    }
    
    func (e *PartialAddError) Unwrap() []error {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1K bytes
    - Viewed (0)
Back to top