Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 125 for init (0.18 sec)

  1. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  2. cmd/bucket-lifecycle.go

    // transition tasks
    func (t *transitionState) UpdateWorkers(n int) {
    	t.mu.Lock()
    	defer t.mu.Unlock()
    	if t.objAPI == nil { // Init hasn't been called yet.
    		return
    	}
    	t.updateWorkers(n)
    }
    
    func (t *transitionState) updateWorkers(n int) {
    	for t.numWorkers < n {
    		go t.worker(t.objAPI)
    		t.numWorkers++
    	}
    
    	for t.numWorkers > n {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  3. cmd/tier.go

    			return nil, decErr
    		}
    	default:
    		return nil, fmt.Errorf("tierConfigInit: unknown version: %d", version)
    	}
    
    	return cfg, nil
    }
    
    // Init initializes tier configuration reading from objAPI
    func (config *TierConfigMgr) Init(ctx context.Context, objAPI ObjectLayer) error {
    	err := config.Reload(ctx, objAPI)
    	if globalIsDistErasure {
    		go config.refreshTierConfig(ctx, objAPI)
    	}
    	return err
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  4. cni/pkg/cmd/root.go

    		"The name of the istio init container (will crash-loop if CNI is not configured for the pod)")
    	registerStringParameter(constants.RepairInitTerminationMsg, "",
    		"The expected termination message for the init container when crash-looping because of CNI misconfiguration")
    	registerIntegerParameter(constants.RepairInitExitCode, iptables.ValidationErrorCode,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool-decom.go

    	poolMetaName      = "pool.bin"
    	poolMetaFormat    = 1
    	poolMetaVersionV1 = 1
    	poolMetaVersion   = poolMetaVersionV1
    )
    
    // Init() initializes pools and saves additional information about them
    // in 'pool.bin', this is eventually used for decommissioning the pool.
    func (z *erasureServerPools) Init(ctx context.Context) error {
    	// Load rebalance metadata if present
    	err := z.loadRebalanceMeta(ctx)
    	if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.3K bytes
    - Viewed (1)
  6. cmd/common-main.go

    	ctxt.SendBufSize = ctx.Int("send-buf-size")
    	ctxt.RecvBufSize = ctx.Int("recv-buf-size")
    
    	ctxt.ShutdownTimeout = ctx.Duration("shutdown-timeout")
    	ctxt.IdleTimeout = ctx.Duration("idle-timeout")
    	ctxt.ReadHeaderTimeout = ctx.Duration("read-header-timeout")
    	ctxt.MaxIdleConnsPerHost = ctx.Int("max-idle-conns-per-host")
    
    	if conf := ctx.String("config"); len(conf) > 0 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 35.5K bytes
    - Viewed (2)
  7. cni/pkg/constants/constants.go

    	RepairNodeName           = "repair-node-name"
    	RepairSidecarAnnotation  = "repair-sidecar-annotation"
    	RepairInitContainerName  = "repair-init-container-name"
    	RepairInitTerminationMsg = "repair-init-container-termination-message"
    	RepairInitExitCode       = "repair-init-container-exit-code"
    	RepairLabelSelectors     = "repair-label-selectors"
    	RepairFieldSelectors     = "repair-field-selectors"
    )
    
    // Internal constants
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  8. cmd/server-main.go

    		})
    
    		// Initialize site replication manager after bucket metadata
    		bootstrapTrace("globalSiteReplicationSys.Init", func() {
    			globalSiteReplicationSys.Init(GlobalContext, newObject)
    		})
    
    		// Initialize quota manager.
    		bootstrapTrace("globalBucketQuotaSys.Init", func() {
    			globalBucketQuotaSys.Init(newObject)
    		})
    
    		// Populate existing buckets to the etcd backend
    		if globalDNSConfig != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 33K bytes
    - Viewed (1)
  9. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 16:09:55 GMT 2024
    - 4K bytes
    - Viewed (1)
  10. cmd/config-current.go

    	case config.APISubSys:
    		apiConfig, err := api.LookupConfig(s[config.APISubSys][config.Default])
    		if err != nil {
    			configLogIf(ctx, fmt.Errorf("Invalid api configuration: %w", err))
    		}
    
    		globalAPIConfig.init(apiConfig, setDriveCounts)
    		autoGenerateRootCredentials() // Generate the KMS root credentials here since we don't know whether API root access is disabled until now.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 11:33:28 GMT 2024
    - 30.7K bytes
    - Viewed (0)
Back to top