Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Conventions (0.2 sec)

  1. istioctl/cmd/sysexits.go

    // or `less /usr/includes/sysexits.h` if you're on Linux
    //
    // Picking the right range is tricky--there are a lot of reserved ones (see
    // https://www.tldp.org/LDP/abs/html/exitcodes.html#EXITCODESREF) and then some
    // used by convention (see sysexits).
    //
    // The intention here is to use 64-78 in a way that matches the attempt in
    // sysexits to signify some error running istioctl, and use 79-125 as custom
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  2. cni/pkg/plugin/plugin.go

    }
    
    // Config is whatever you expect your configuration json to be. This is whatever
    // is passed in on stdin. Your plugin may wish to expose its functionality via
    // runtime args, see CONVENTIONS.md in the CNI spec.
    type Config struct {
    	types.NetConf
    
    	// Add plugin-specific flags here
    	LogLevel        string     `json:"log_level"`
    	LogUDSAddress   string     `json:"log_uds_address"`
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  3. cmd/object-api-utils.go

    func isMinioMetaBucketName(bucket string) bool {
    	return strings.HasPrefix(bucket, minioMetaBucket)
    }
    
    // IsValidBucketName verifies that a bucket name is in accordance with
    // Amazon's requirements (i.e. DNS naming conventions). It must be 3-63
    // characters long, and it must be a sequence of one or more labels
    // separated by periods. Each label can contain lowercase ascii
    // letters, decimal digits and hyphens, but must not begin or end with
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  4. src/builtin/builtin.go

    // any pointer.
    type uintptr uintptr
    
    // byte is an alias for uint8 and is equivalent to uint8 in all ways. It is
    // used, by convention, to distinguish byte values from 8-bit unsigned
    // integer values.
    type byte = uint8
    
    // rune is an alias for int32 and is equivalent to int32 in all ways. It is
    // used, by convention, to distinguish character values from integer values.
    type rune = int32
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  5. cmd/erasure-object_test.go

    func TestGetObjectInlineNotInline(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	// Create a backend with 4 disks named disk{1...4}, this name convention
    	// because we will unzip some object data from a sample archive.
    	const numDisks = 4
    	path := t.TempDir()
    
    	var fsDirs []string
    	for i := 1; i <= numDisks; i++ {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  6. istioctl/pkg/waypoint/waypoint_test.go

    				makeGateway("bookinfo-invalid", "fake", true, false),
    				makeGateway(constants.DefaultNamespaceWaypoint, "default", false, true),
    				makeGateway("bookinfo-valid", "bookinfo", true, true),
    				makeGateway("no-name-convention", "default", true, true),
    				makeGatewayWithRevision("bookinfo-rev", "bookinfo", true, true, "rev1"),
    			},
    			expectedOutFile: "combined-gateway",
    		},
    	}
    	for _, tt := range cases {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Apr 04 15:53:09 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  7. cmd/signature-v4-utils_test.go

    	}{
    		{"", "", true},
    		{globalMinioDefaultRegion, "", true},
    		{globalMinioDefaultRegion, "US", true},
    		{"us-west-1", "US", false},
    		{"us-west-1", "us-west-1", true},
    		// "US" was old naming convention for 'us-east-1'.
    		{"US", "US", true},
    	}
    
    	for i, testCase := range testCases {
    		actualResult := isValidRegion(testCase.inputReqRegion, testCase.inputConfRegion)
    		if testCase.expectedResult != actualResult {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  8. misc/cgo/gmp/gmp.go

    // 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
    // to FFI, just a mismatch between Go's convention of
    // making zero values useful and gmp's decision not to.
    func (z *Int) doinit() {
    	if z.init {
    		return
    	}
    	z.init = true
    	C.mpz_init(&z.i[0])
    }
    
    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

    					continue
    				}
    				if servicePortPrefixed(p["name"].(string)) {
    					errs = multierror.Append(errs, fmt.Errorf("service %q port %q does not follow the Istio naming convention."+
    						" See "+url.DeploymentRequirements, fmt.Sprintf("%s/%s/:", un.GetName(), un.GetNamespace()), p["name"].(string)))
    				}
    			}
    		}
    	}
    	if errs != nil {
    		return errs
    	}
    	return nil
    }
    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/server-main.go

    DIR:
      DIR points to a directory on a filesystem. When you want to combine
      multiple drives into a single large system, pass one directory per
      filesystem separated by space. You may also use a '...' convention
      to abbreviate the directory arguments. Remote directories in a
      distributed setup are encoded as HTTP(s) URIs.
    {{if .VisibleFlags}}
    FLAGS:
      {{range .VisibleFlags}}{{.}}
      {{end}}{{end}}
    EXAMPLES:
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 32.7K bytes
    - Viewed (1)
Back to top