Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for syntax (0.47 sec)

  1. istioctl/pkg/dashboard/dashboard.go

    	cmd := &cobra.Command{
    		Use:   "prometheus",
    		Short: "Open Prometheus web UI",
    		Long:  `Open Istio's Prometheus dashboard`,
    		Example: `  istioctl dashboard prometheus
    
      # with short syntax
      istioctl dash prometheus
      istioctl d prometheus`,
    		RunE: func(cmd *cobra.Command, args []string) error {
    			client, err := ctx.CLIClientWithRevision(opts.Revision)
    			if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/parse.go

    					goto next
    				}
    			}
    			if tok == scanner.EOF {
    				p.errorf("unexpected EOF")
    				return "", "", nil, false
    			}
    			// Split operands on comma. Also, the old syntax on x86 for a "register pair"
    			// was AX:DX, for which the new syntax is DX, AX. Note the reordering.
    			if tok == '\n' || tok == ';' || (nesting == 0 && (tok == ',' || tok == ':')) {
    				if tok == ':' {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  3. cmd/endpoint-ellipses.go

    // corresponding list of endpoints chunked evenly in accordance with a
    // specific set size.
    // For example: {1...64} is divided into 4 sets each of size 16.
    // This applies to even distributed setup syntax as well.
    func GetAllSets(setDriveCount uint64, args ...string) ([][]string, error) {
    	var setArgs [][]string
    	if !ellipses.HasEllipses(args...) {
    		var setIndexes [][]uint64
    		// Check if we have more one args.
    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)
  4. chainable_api.go

    		tx.Statement.AddClause(clause.Where{Exprs: conds})
    	}
    	return
    }
    
    // Not add NOT conditions
    //
    // Not works similarly to where, and has the same syntax.
    //
    //	// Find the first user with name not equal to jinzhu
    //	db.Not("name = ?", "jinzhu").First(&user)
    func (db *DB) Not(query interface{}, args ...interface{}) (tx *DB) {
    	tx = db.getInstance()
    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)
  5. src/cmd/asm/internal/asm/asm.go

    	if nameAddr.Sym.ABI() == obj.ABIInternal && flag&obj.NOSPLIT == 0 {
    		p.errorf("TEXT %q: ABIInternal requires NOSPLIT", name)
    	}
    
    	// Next operand is the frame and arg size.
    	// Bizarre syntax: $frameSize-argSize is two words, not subtraction.
    	// Both frameSize and argSize must be simple integers; only frameSize
    	// can be negative.
    	// The "-argSize" may be missing; if so, set it to objabi.ArgsSizeUnknown.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  6. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrUnsupportedSyntax: {
    		Code:           "UnsupportedSyntax",
    		Description:    "Encountered invalid syntax.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrUnsupportedRangeHeader: {
    		Code:           "UnsupportedRangeHeader",
    		Description:    "Range header is not supported for this operation.",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  7. src/cmd/cgo/doc.go

    together. The directive can include a list of build constraints limiting its
    effect to systems satisfying one of the constraints
    (see https://golang.org/pkg/go/build/#hdr-Build_Constraints for details about the constraint syntax).
    For example:
    
    	// #cgo CFLAGS: -DPNG_DEBUG=1
    	// #cgo amd64 386 CFLAGS: -DX86=1
    	// #cgo LDFLAGS: -lpng
    	// #include <png.h>
    	import "C"
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  8. istioctl/pkg/proxyconfig/proxyconfig.go

      istioctl proxy-config all <pod-name[.namespace]>
    
      # Retrieve full cluster dump as JSON
      istioctl proxy-config all <pod-name[.namespace]> -o json
    
      # Retrieve full cluster dump with short syntax
      istioctl pc a <pod-name[.namespace]>
    
      # Retrieve cluster summary without using Kubernetes API
      ssh <user@hostname> 'curl localhost:15000/config_dump' > envoy-config.json
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  9. internal/s3select/unused-errors.go

    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errUnsupportedSyntax(err error) *s3Error {
    	return &s3Error{
    		code:       "UnsupportedSyntax",
    		message:    "Encountered invalid syntax.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errAmbiguousFieldName(err error) *s3Error {
    	return &s3Error{
    		code:       "AmbiguousFieldName",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  10. cmd/utils.go

    	}{r.Method, rawURI, header}
    
    	var buffer bytes.Buffer
    	enc := json.NewEncoder(&buffer)
    	enc.SetEscapeHTML(false)
    	if err := enc.Encode(&req); err != nil {
    		// Upon error just return Go-syntax representation of the value
    		return fmt.Sprintf("%#v", req)
    	}
    
    	// Formatted string.
    	return strings.TrimSpace(buffer.String())
    }
    
    // isFile - returns whether given path is a file or not.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
Back to top