Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 114 for init (0.16 sec)

  1. buildscripts/minio-iam-ldap-upgrade-import-test.sh

    # `_MINIO_LDAP_TEST_SERVER`.
    
    OLD_VERSION=RELEASE.2024-03-26T22-10-45Z
    OLD_BINARY_LINK=https://dl.min.io/server/minio/release/linux-amd64/archive/minio.${OLD_VERSION}
    
    __init__() {
    	if which curl &>/dev/null; then
    		echo "curl is already installed"
    	else
    		echo "Installing curl:"
    		sudo apt install curl -y
    	fi
    
    	export GOPATH=/tmp/gopath
    	export PATH="${PATH}":"${GOPATH}"/bin
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:49:53 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  2. buildscripts/verify-healing.sh

    		test $foundFiles1 -eq $foundFiles2
    		v2=$?
    		[ $v1 == 0 -a $v2 == 0 ] && return 0
    		sleep 10
    	done
    	return 1
    }
    
    function purge() {
    	rm -rf "$1"
    }
    
    function __init__() {
    	echo "Initializing environment"
    	mkdir -p "$WORK_DIR"
    	mkdir -p "$MINIO_CONFIG_DIR"
    
    	## version is purposefully set to '3' for minio to migrate configuration file
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 4.2K bytes
    - Viewed (1)
  3. docs/sts/assume-role.go

    	// Credential expiry duration
    	expiryDuration time.Duration
    
    	// Bucket to list
    	bucketToList string
    
    	// Session policy file (FIXME: add support in minio-go)
    	sessionPolicyFile string
    )
    
    func init() {
    	flag.StringVar(&stsEndpoint, "sts-ep", "http://localhost:9000", "STS endpoint")
    	flag.StringVar(&minioUsername, "u", "", "MinIO Username")
    	flag.StringVar(&minioPassword, "p", "", "MinIO Password")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 16:09:55 GMT 2024
    - 4K bytes
    - Viewed (1)
  4. cmd/xl-storage-disk-id-check.go

    	mu        sync.Mutex
    	init      sync.Once
    	lastMinuteLatency
    }
    
    func (e *lockedLastMinuteLatency) add(value time.Duration) {
    	e.addSize(value, 0)
    }
    
    // addSize will add a duration and size.
    func (e *lockedLastMinuteLatency) addSize(value time.Duration, sz int64) {
    	// alloc on every call, so we have a clean entry to swap in.
    	t := time.Now().Unix()
    	e.init.Do(func() {
    		e.cached.Store(&AccElem{})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  5. cmd/globals.go

    	ConnClientWriteDeadline time.Duration
    
    	ShutdownTimeout     time.Duration
    	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
    
    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)
  6. internal/event/target/postgresql.go

    		return errors.New("maxOpenConnections cannot be less than zero")
    	}
    
    	return nil
    }
    
    // PostgreSQLTarget - PostgreSQL target.
    type PostgreSQLTarget struct {
    	initOnce once.Init
    
    	id         event.TargetID
    	args       PostgreSQLArgs
    	updateStmt *sql.Stmt
    	deleteStmt *sql.Stmt
    	insertStmt *sql.Stmt
    	db         *sql.DB
    	store      store.Store[event.Event]
    	firstPing  bool
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool.go

    type HealthResult struct {
    	Healthy       bool
    	HealthyRead   bool
    	HealingDrives int
    	ESHealth      []struct {
    		Maintenance   bool
    		PoolID, SetID int
    		Healthy       bool
    		HealthyRead   bool
    		HealthyDrives int
    		HealingDrives int
    		ReadQuorum    int
    		WriteQuorum   int
    	}
    	WriteQuorum   int
    	ReadQuorum    int
    	UsingDefaults bool
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  8. cmd/sts-handlers_test.go

    	baseTestCases := []TestSuiteCommon{
    		// Init and run test on ErasureSD backend with signature v4.
    		{serverType: "ErasureSD", signer: signerV4},
    		// Init and run test on ErasureSD backend, with tls enabled.
    		{serverType: "ErasureSD", signer: signerV4, secure: true},
    		// Init and run test on Erasure backend.
    		{serverType: "Erasure", signer: signerV4},
    		// Init and run test on ErasureSet backend.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  9. docs/debugging/xl-meta/main.go

    		meta, err := os.ReadFile(file + ".json")
    		if err != nil {
    			return err
    		}
    		type erasureInfo struct {
    			V2Obj *struct {
    				EcDist  []int
    				EcIndex int
    				EcM     int
    				EcN     int
    				Size    int
    			}
    		}
    		var ei erasureInfo
    		var idx int
    		if err := json.Unmarshal(meta, &ei); err == nil && ei.V2Obj != nil {
    			if size == 0 {
    				size = ei.V2Obj.Size
    				mapped = make([]byte, size)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  10. cmd/iam.go

    	}
    
    	select {
    	case <-sys.configLoaded:
    	default:
    		xioutil.SafeClose(sys.configLoaded)
    	}
    	return nil
    }
    
    // Init - initializes config system by reading entries from config/iam
    func (sys *IAMSys) Init(ctx context.Context, objAPI ObjectLayer, etcdClient *etcd.Client, iamRefreshInterval time.Duration) {
    	bootstrapTraceMsg("IAM initialization started")
    	globalServerConfigMu.RLock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
Back to top