Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 177 for directly (0.37 sec)

  1. istioctl/pkg/version/version.go

    			return err
    		}
    		if err := centralOpts.ValidateControlPlaneFlags(); err != nil {
    			return err
    		}
    		return nil
    	}
    	versionCmd.Example = `  # Retrieve version information directly from the control plane, using token security
      # (This is the usual way to get the control plane version with an out-of-cluster control plane.)
      istioctl x version --xds-address istio.cloudprovider.example.com:15012
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  2. internal/config/etcd/etcd.go

    			return nil, false, err
    		}
    		if etcdSecure && u.Scheme == "http" {
    			return nil, false, config.Errorf("all endpoints should be https or http: %s", endpoint)
    		}
    		// If one of the endpoint is https, we will use https directly.
    		etcdSecure = etcdSecure || u.Scheme == "https"
    	}
    
    	return etcdEndpoints, etcdSecure, nil
    }
    
    // Enabled returns if etcd is enabled.
    func Enabled(kvs config.KVS) bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  3. internal/logger/target/console/console.go

    		msg, tagString, strings.Join(trace, "\n"))
    
    	fmt.Fprintln(c.output, output)
    	return nil
    }
    
    // New initializes a new logger target
    // which prints log directly in the standard
    // output.
    func New(w io.Writer) *Target {
    	return &Target{output: w}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. internal/grid/muxclient.go

    	msg.setZeroPayloadFlag()
    	if m.subroute != nil {
    		msg.Flags |= FlagSubroute
    	}
    
    	// Send...
    	err := m.send(msg)
    	if err != nil {
    		out <- Response{Err: err}
    		return
    	}
    
    	// Route directly to output.
    	m.respWait = out
    }
    
    // RequestStream will send a single payload request and stream back results.
    // 'requests' can be nil, in which case only req is sent as input.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  5. cmd/xl-storage-disk-id-check.go

    		d.tracker.logSuccess()
    	}
    	return n, err
    }
    
    // diskHealthReader provides a wrapper that will update disk health on
    // ctx, on every successful read.
    // This should only be used directly at the os/syscall level,
    // otherwise buffered operations may return false health checks.
    func diskHealthReader(ctx context.Context, r io.Reader) io.Reader {
    	// Check if context has a disk health check.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  6. scan.go

    				update = false
    				if isArrayKind {
    					db.Statement.ReflectValue.Set(reflect.Zero(reflectValue.Type()))
    				} else {
    					// if the slice cap is externally initialized, the externally initialized slice is directly used here
    					if reflectValue.Cap() == 0 {
    						db.Statement.ReflectValue.Set(reflect.MakeSlice(reflectValue.Type(), 0, 20))
    					} else {
    						reflectValue.SetLen(0)
    						db.Statement.ReflectValue.Set(reflectValue)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 09:53:11 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  7. cmd/object-multipart-handlers.go

    		}
    	}
    
    	// We must not use the http.Header().Set method here because some (broken)
    	// clients expect the ETag header key to be literally "ETag" - not "Etag" (case-sensitive).
    	// Therefore, we have to set the ETag directly as map entry.
    	w.Header()[xhttp.ETag] = []string{"\"" + etag + "\""}
    	hash.TransferChecksumHeader(w, r)
    
    	writeSuccessResponseHeadersOnly(w)
    }
    
    // CompleteMultipartUploadHandler - Complete multipart upload.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  8. internal/disk/directio_unix.go

    	"os"
    	"syscall"
    
    	"github.com/ncw/directio"
    	"golang.org/x/sys/unix"
    )
    
    // ODirectPlatform indicates if the platform supports O_DIRECT
    const ODirectPlatform = true
    
    // OpenFileDirectIO - bypass kernel cache.
    func OpenFileDirectIO(filePath string, flag int, perm os.FileMode) (*os.File, error) {
    	return directio.OpenFile(filePath, flag, perm)
    }
    
    // DisableDirectIO - disables directio mode.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Jun 17 14:31:36 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  9. cmd/api-response.go

    	writeResponse(w, err.HTTPStatusCode, encodedErrorResponse, mimeJSON)
    }
    
    // writeCustomErrorResponseJSON - similar to writeErrorResponseJSON,
    // but accepts the error message directly (this allows messages to be
    // dynamically generated.)
    func writeCustomErrorResponseJSON(ctx context.Context, w http.ResponseWriter, err APIError,
    	errBody string, reqURL *url.URL,
    ) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  10. cmd/erasure-server-pool-decom.go

    	z.poolMetaMutex.Lock()
    	var dctx context.Context
    	dctx, z.decommissionCancelers[idx] = context.WithCancel(GlobalContext)
    	z.poolMetaMutex.Unlock()
    
    	// Generate an empty request info so it can be directly modified later by audit
    	dctx = logger.SetReqInfo(dctx, &logger.ReqInfo{})
    
    	if err := z.decommissionInBackground(dctx, idx); err != nil {
    		decomLogIf(GlobalContext, err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
Back to top