Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for State (0.16 sec)

  1. internal/grid/connection.go

    }
    
    // State is a connection state.
    type State uint32
    
    // MANUAL go:generate stringer -type=State -output=state_string.go -trimprefix=State $GOFILE
    
    const (
    	// StateUnconnected is the initial state of a connection.
    	// When the first message is sent it will attempt to connect.
    	StateUnconnected = iota
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/ztunnel/configdump/certificates.go

    	for _, secret := range secretDump {
    		if strings.Contains(secret.State, "Unavailable") {
    			secret.State = "Unavailable"
    		}
    		if len(secret.CertChain) == 0 {
    			fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%v\t%v\t%v\n",
    				secret.Identity, valueOrNA(""), secret.State, false, valueOrNA(""), valueOrNA(""), valueOrNA(""))
    		} else {
    			for i, ca := range secret.CertChain {
    				t := "Intermediate"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 16:38:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    		return err
    	}
    	var state srState
    	if !unlinkSelf {
    		state = srState{
    			Name:                    c.state.Name,
    			Peers:                   updatedPeers,
    			ServiceAccountAccessKey: c.state.ServiceAccountAccessKey,
    		}
    	}
    
    	if err := c.saveToDisk(ctx, state); err != nil {
    		return errSRBackendIssue(fmt.Errorf("unable to save cluster-replication state to drive on %s: %v", ourName, err))
    	}
    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)
  4. cmd/admin-heal-ops.go

    }
    
    // LaunchNewHealSequence - launches a background routine that performs
    // healing according to the healSequence argument. For each heal
    // sequence, state is stored in the `globalAllHealState`, which is a
    // map of the heal path to `healSequence` which holds state about the
    // heal sequence.
    //
    // Heal results are persisted in server memory for
    // `keepHealSeqStateDuration`. This function also launches a
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  5. cmd/metrics-realtime.go

    	for _, d := range storageInfo.Disks {
    		if len(disks) != 0 {
    			_, ok := disks[d.Endpoint]
    			if !ok {
    				continue
    			}
    		}
    
    		if d.State != madmin.DriveStateOk && d.State != madmin.DriveStateUnformatted {
    			metrics[d.Endpoint] = madmin.DiskMetric{NDisks: 1, Offline: 1}
    			continue
    		}
    
    		var dm madmin.DiskMetric
    		dm.NDisks = 1
    		if d.Healing {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 10 16:28:08 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  6. cmd/batch-expire.go

    		return err
    	}
    
    	// Goroutine to periodically save batch-expire job's in-memory state
    	saverQuitCh := make(chan struct{})
    	go func() {
    		saveTicker := time.NewTicker(10 * time.Second)
    		defer saveTicker.Stop()
    		for {
    			select {
    			case <-saveTicker.C:
    				// persist in-memory state to disk after every 10secs.
    				batchLogIf(ctx, ri.updateAfter(ctx, api, 10*time.Second, job))
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  7. cmd/admin-server-info.go

    		props.MinioEnvVars[key] = value
    	}
    
    	objLayer := newObjectLayerFn()
    	if objLayer != nil {
    		storageInfo := objLayer.LocalStorageInfo(GlobalContext, metrics)
    		props.State = string(madmin.ItemOnline)
    		props.Disks = storageInfo.Disks
    	} else {
    		props.State = string(madmin.ItemInitializing)
    		props.Disks = getOfflineDisks("", globalEndpoints)
    	}
    
    	return props
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  8. internal/kms/kms.go

    type VerifyResult struct {
    	Endpoint string
    	Decrypt  string
    	Encrypt  string
    	Version  string
    	Status   string
    }
    
    // Status describes the current state of a KMS.
    type Status struct {
    	Name      string   // The name of the KMS
    	Endpoints []string // A set of the KMS endpoints
    
    	// DefaultKey is the key used when no explicit key ID
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/ztunnel/configdump/api.go

    	Identity  string  `json:"identity"`
    	State     string  `json:"state"`
    	CertChain []*Cert `json:"certChain"`
    }
    
    type Cert struct {
    	Pem            string `json:"pem"`
    	SerialNumber   string `json:"serialNumber"`
    	ValidFrom      string `json:"validFrom"`
    	ExpirationTime string `json:"expirationTime"`
    }
    
    type WorkloadState struct {
    	State       string              `json:"state,omitempty"`
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 02:16:06 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  10. cmd/batch-rotate.go

    				} else {
    					stopFn(result, nil)
    				}
    				ri.trackCurrentBucketObject(r.Bucket, result, success)
    				ri.RetryAttempts = attempts
    				globalBatchJobsMetrics.save(job.ID, ri)
    				// persist in-memory state to disk after every 10secs.
    				batchLogIf(ctx, ri.updateAfter(ctx, api, 10*time.Second, job))
    				if success {
    					break
    				}
    				if delay > 0 {
    					time.Sleep(delay + time.Duration(rnd.Float64()*float64(delay)))
    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)
Back to top