Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for promise (0.19 sec)

  1. 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 Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  2. tests/associations_test.go

    	member := Member{Refer: 1, Name: "foreign_key_constraints", Profile: Profile{Name: "my_profile"}}
    
    	DB.Create(&member)
    
    	var profile Profile
    	if err := DB.First(&profile, "id = ?", member.Profile.ID).Error; err != nil {
    		t.Fatalf("failed to find profile, got error: %v", err)
    	} else if profile.MemberID != member.ID {
    		t.Fatalf("member id is not equal: expects: %v, got: %v", member.ID, profile.MemberID)
    	}
    
    	member.Profile = Profile{}
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Wed Feb 08 08:29:09 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  3. internal/config/errors.go

    		"Invalid endpoint(s) in erasure mode",
    		"Please provide correct combination of local/remote paths",
    		"For more information, please refer to https://min.io/docs/minio/linux/operations/concepts/erasure-coding.html",
    	)
    
    	ErrInvalidNumberOfErasureEndpoints = newErrFn(
    		"Invalid total number of endpoints for erasure mode",
    		"Please provide number of endpoints greater or equal to 2",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 18 22:25:32 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  4. cmd/notification.go

    // DownloadProfilingData - download profiling data from all remote peers.
    func (sys *NotificationSys) DownloadProfilingData(ctx context.Context, writer io.Writer) (profilingDataFound bool) {
    	// Initialize a zip writer which will provide a zipped content
    	// of profiling data of all nodes
    	zipWriter := zip.NewWriter(writer)
    	defer zipWriter.Close()
    
    	for _, client := range sys.peerClients {
    		if client == nil {
    			continue
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  5. operator/cmd/mesh/operator-remove.go

    	// Create an empty IOP for the purpose of populating revision. Apply code requires a non-nil IOP.
    	var iop *iopv1alpha1.IstioOperator
    	if orArgs.revision != "" {
    		emptyiops := &v1alpha1.IstioOperatorSpec{Profile: "empty", Revision: orArgs.revision}
    		iop, err = translate.IOPStoIOP(emptyiops, "", "")
    		if err != nil {
    			l.LogAndFatal(err)
    		}
    	}
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  6. internal/etag/reader.go

    // returns ETag of the content. Otherwise, it returns
    // nil as ETag.
    //
    // Wrap provides an adapter for io.Reader implementations
    // that don't implement the Tagger interface.
    // It is mainly used to provide a high-level io.Reader
    // access to the ETag computed by a low-level io.Reader:
    //
    //	content := etag.NewReader(r.Body, nil)
    //
    //	compressedContent := Compress(content)
    //	encryptedContent := Encrypt(compressedContent)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  7. internal/bucket/object/lock/lock.go

    	if err != nil {
    		return err
    	}
    	// While AWS documentation mentions that the date specified
    	// must be present in ISO 8601 format, in reality they allow
    	// users to provide RFC 3339 compliant dates.
    	retDate, err := amztime.ISO8601Parse(dateStr)
    	if err != nil {
    		return ErrInvalidRetentionDate
    	}
    
    	*rDate = RetentionDate{retDate}
    	return nil
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  8. misc/cgo/gmp/gmp.go

    type Int struct {
    	i    C.mpz_t
    	init bool
    }
    
    // NewInt returns a new Int initialized to x.
    func NewInt(x int64) *Int { return new(Int).SetInt64(x) }
    
    // Int promises that the zero value is a 0, but in gmp
    // the zero value is a crash.  To bridge the gap, the
    // init bool says whether this is a valid gmp value.
    // doinit initializes z.i if it needs it.  This is not inherent
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  9. istioctl/pkg/validate/validate.go

    		return err
    	}
    	url := fmt.Sprintf("See %s\n", url.DeploymentRequirements)
    	if !labels.HasCanonicalServiceName(objLabels) || !labels.HasCanonicalServiceRevision(objLabels) {
    		fmt.Fprintf(writer, "deployment %q may not provide Istio metrics and telemetry labels: %q. "+url,
    			fmt.Sprintf("%s/%s:", un.GetName(), un.GetNamespace()), objLabels)
    	}
    	return nil
    }
    
    // GetTemplateLabels returns spec.template.metadata.labels from Deployment
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  10. cmd/admin-handlers.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	writeSuccessResponseJSON(w, startProfilingResultInBytes)
    }
    
    // ProfileHandler - POST /minio/admin/v3/profile/?profilerType={profilerType}
    // ----------
    // Enable server profiling
    func (a adminAPIHandlers) ProfileHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	// Validate request signature.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
Back to top