Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for Layout (0.18 sec)

  1. cmd/endpoint-ellipses.go

    func buildDisksLayoutFromConfFile(pools []poolArgs) (layout disksLayout, err error) {
    	if len(pools) == 0 {
    		return layout, errInvalidArgument
    	}
    
    	for _, list := range pools {
    		var endpointsList endpointsList
    
    		for _, arg := range list.args {
    			switch {
    			case ellipses.HasList(arg):
    				patterns, err := ellipses.FindListPatterns(arg)
    				if err != nil {
    					return layout, err
    				}
    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)
  2. cmd/globals.go

    	IdleTimeout         time.Duration
    	ReadHeaderTimeout   time.Duration
    	MaxIdleConnsPerHost int
    
    	SendBufSize, RecvBufSize int
    	CrossDomainXML           string
    	// The layout of disks as interpreted
    	Layout disksLayout
    }
    
    var (
    	// Global user opts context
    	globalServerCtxt serverCtxt
    
    	// Indicates if the running minio server is distributed setup.
    	globalIsDistErasure = false
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  3. cmd/build-constants.go

    	ShortCommitID = "DEVELOPMENT.GOGET"
    
    	// CopyrightYear - dynamic value of the copyright end year
    	CopyrightYear = "0000"
    
    	// MinioReleaseTagTimeLayout - release tag time layout.
    	MinioReleaseTagTimeLayout = "2006-01-02T15-04-05Z"
    
    	// MinioOSARCH - OS and ARCH.
    	minioOSARCH = runtime.GOOS + "-" + runtime.GOARCH
    
    	// MinioReleaseBaseURL - release url without os and arch.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  4. cmd/endpoint.go

    func isEmptyLayout(poolsLayout ...poolDisksLayout) bool {
    	return len(poolsLayout) == 0 || len(poolsLayout[0].layout) == 0 || len(poolsLayout[0].layout[0]) == 0 || len(poolsLayout[0].layout[0][0]) == 0
    }
    
    func isSingleDriveLayout(poolsLayout ...poolDisksLayout) bool {
    	return len(poolsLayout) == 1 && len(poolsLayout[0].layout) == 1 && len(poolsLayout[0].layout[0]) == 1
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  5. cmd/server-main.go

    		globalRootCAs.AddCert(publicCrt)
    	}
    
    	// Register root CAs for remote ENVs
    	env.RegisterGlobalCAs(globalRootCAs)
    
    	globalEndpoints, setupType, err = createServerEndpoints(globalMinioAddr, ctxt.Layout.pools, ctxt.Layout.legacy)
    	logger.FatalIf(err, "Invalid command line arguments")
    	globalNodes = globalEndpoints.GetNodes()
    
    	globalIsErasure = (setupType == ErasureSetupType)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
  6. cmd/test-utils_test.go

    	}
    
    	certOut := bytes.NewBuffer([]byte{})
    	pem.Encode(certOut, &pem.Block{Type: "CERTIFICATE", Bytes: derBytes})
    
    	keyOut := bytes.NewBuffer([]byte{})
    	pem.Encode(keyOut, pemBlockForKey(priv))
    
    	return certOut.Bytes(), keyOut.Bytes(), nil
    }
    
    func mustGetPoolEndpoints(poolIdx int, args ...string) EndpointServerPools {
    	drivesPerSet := len(args)
    	setCount := 1
    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)
  7. internal/grid/handlers.go

    	defer PutByteBuffer(res)
    	r := h.NewResponse()
    	_, err = r.UnmarshalMsg(res)
    	if err != nil {
    		h.PutResponse(r)
    		return resp, err
    	}
    	return r, err
    }
    
    // RemoteClient contains information about the caller.
    type RemoteClient struct {
    	Name string
    }
    
    type (
    	ctxCallerKey   = struct{}
    	ctxSubrouteKey = struct{}
    )
    
    // GetCaller returns caller information from contexts provided to handlers.
    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)
  8. migrator/migrator.go

    	unique, ok := columnType.Unique()
    	if !ok || field.PrimaryKey {
    		return nil // skip primary key
    	}
    	// By default, ColumnType's Unique is not affected by UniqueIndex, so we don't care about UniqueIndex.
    	return m.RunWithValue(value, func(stmt *gorm.Statement) error {
    		// We're currently only receiving boolean values on `Unique` tag,
    		// so the UniqueConstraint name is fixed
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  9. cmd/site-replication.go

    	}
    	if !globalSiteReplicatorCred.IsValid() {
    		globalSiteReplicatorCred.Set(sa)
    	}
    
    	return nil
    }
    
    // GetIDPSettings returns info about the configured identity provider. It is
    // used to validate that all peers have the same IDP.
    func (c *SiteReplicationSys) GetIDPSettings(ctx context.Context) madmin.IDPSettings {
    	s := madmin.IDPSettings{}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  10. internal/http/transports.go

    		RootCAs:            s.RootCAs,
    		CipherSuites:       s.CipherSuites,
    		CurvePreferences:   s.CurvePreferences,
    		ClientSessionCache: tls.NewLRUClientSessionCache(tlsClientSessionCacheSize),
    	}
    
    	// For more details about various values used here refer
    	// https://golang.org/pkg/net/http/#Transport documentation
    	tr := &http.Transport{
    		Proxy:                 http.ProxyFromEnvironment,
    		DialContext:           dialContext,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 5.9K bytes
    - Viewed (0)
Back to top