Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for promise (0.18 sec)

  1. cni/pkg/nodeagent/net.go

    		log.Errorf("error scanning proc: error was %s", err)
    		return nil, err
    	}
    	// try again. we can still get here if the pod is in the process of being created.
    	// in this case the CNI will be invoked soon and provide us with the netns.
    	openNetns = s.currentPodSnapshot.Get(string(pod.UID))
    	if openNetns == nil {
    		return nil, fmt.Errorf("can't find netns for pod, this is ok if this is a newly created pod (%w)", ErrPodNotFound)
    	}
    
    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)
  2. internal/grid/handlers.go

    	StatelessHandlerFn func(ctx context.Context, payload []byte, resp chan<- []byte) *RemoteErr
    
    	// StatelessHandler is handlers for one to many requests,
    	// where responses may be dropped.
    	// Stateless requests provide no incoming stream and there is no flow control
    	// on outgoing messages.
    	StatelessHandler struct {
    		Handle StatelessHandlerFn
    		// OutCapacity is the output capacity on the caller.
    		// If <= 0 capacity will be 1.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  3. chainable_api.go

    	tx = db.getInstance()
    	if tx.Statement.Preloads == nil {
    		tx.Statement.Preloads = map[string][]interface{}{}
    	}
    	tx.Statement.Preloads[query] = args
    	return
    }
    
    // Attrs provide attributes used in [FirstOrCreate] or [FirstOrInit]
    //
    // Attrs only adds attributes if the record is not found.
    //
    //	// assign an email if the record is not found
    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)
  4. cmd/bucket-replication.go

    		UserTags:             oi.UserTags,
    	}
    
    	if dsc.Synchronous() {
    		replicateObject(ctx, ri, o)
    	} else {
    		globalReplicationPool.queueReplicaTask(ri)
    	}
    }
    
    // proxyTaggingToRepTarget proxies tagging requests to remote targets for
    // active-active replicated setups
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  5. cmd/test-utils_test.go

    //
    //	User-Agent:
    //
    //	    This is ignored from signing because signing this causes problems with generating pre-signed URLs
    //	    (that are executed by other agents) or when customers pass requests through proxies, which may
    //	    modify the user-agent.
    //
    //	Authorization:
    //
    //	    Is skipped for obvious reasons
    var ignoredHeaders = map[string]bool{
    	"Authorization": true,
    	"User-Agent":    true,
    }
    
    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)
  6. schema/relationship_test.go

    		References: []Reference{
    			{"ID", "User", "UserReferID", "user_profile", "", true},
    			{"ID", "Profile", "ProfileRefer", "user_profile", "", false},
    		},
    	})
    }
    
    func TestBuildReadonlyMany2ManyRelation(t *testing.T) {
    	type Profile struct {
    		gorm.Model
    		Name      string
    		UserRefer uint
    	}
    
    	type User struct {
    		gorm.Model
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  7. cmd/admin-bucket-handlers.go

    		buckets, err = objectAPI.ListBuckets(ctx, BucketOptions{})
    		if err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    	}
    
    	// Initialize a zip writer which will provide a zipped content
    	// of bucket metadata
    	zipWriter := zip.NewWriter(w)
    	defer zipWriter.Close()
    
    	rawDataFn := func(r io.Reader, filename string, sz int) {
    		header, zerr := zip.FileInfoHeader(dummyFileInfo{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    		// This discard is mostly true for DELETEEs
    		// so we need to make sure we do not keep
    		// page-cache references after.
    		defer disk.Fdatasync(f)
    	}
    
    	defer f.Close()
    
    	// Get size for precise allocation.
    	stat, err := f.Stat()
    	if err != nil {
    		buf, err = io.ReadAll(f)
    		return buf, dmTime, osErrToFileErr(err)
    	}
    	if stat.IsDir() {
    		return nil, dmTime, errFileNotFound
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  9. operator/cmd/mesh/manifest-generate_test.go

    	g := NewWithT(t)
    	// Change profile from empty to minimal using flag.
    	m, _, err := generateManifest("empty", "-s profile=minimal", liveCharts, []string{"templates/deployment.yaml"})
    	if err != nil {
    		t.Fatal(err)
    	}
    	objs, err := parseObjectSetFromManifest(m)
    	if err != nil {
    		t.Fatal(err)
    	}
    	// minimal profile always has istiod, empty does not.
    	mustGetDeployment(g, objs, "istiod")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
  10. operator/cmd/mesh/install.go

    		Example: `  # Apply a default Istio installation
      istioctl install
    
      # Enable Tracing
      istioctl install --set meshConfig.enableTracing=true
    
      # Generate the demo profile and don't wait for confirmation
      istioctl install --set profile=demo --skip-confirmation
    
      # To override a setting that includes dots, escape them with a backslash (\).  Your shell may require enclosing quotes.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
Back to top