Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for optionally (0.16 sec)

  1. cmd/storage-datatypes.go

    	MarkDeleted      bool             `msg:"md"` // mark this version as deleted
    	ReplicationState ReplicationState `msg:"rs"` // Internal replication state to be passed back in ObjectInfo
    
    	Data []byte `msg:"d,allownil"` // optionally carries object data
    
    	NumVersions      int       `msg:"nv"`
    	SuccessorModTime time.Time `msg:"smt"`
    
    	Fresh bool `msg:"fr"` // indicates this is a first time call to write FileInfo.
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  2. cmd/peer-rest-client.go

    		peerRESTBucket: bucket,
    	}))
    	if err != nil || resp == nil {
    		return BucketStats{}, err
    	}
    	return *resp, nil
    }
    
    // GetSRMetrics loads site replication metrics, optionally for a specific bucket
    func (client *peerRESTClient) GetSRMetrics() (SRMetricsSummary, error) {
    	resp, err := getSRMetricsRPC.Call(context.Background(), client.gridConn(), grid.NewMSS())
    	if err != nil || resp == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  3. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    		Short: "Retrieves logging levels of the Ztunnel instance in the specified pod.",
    		Long:  "Retrieve information about logging levels of the Ztunnel instance in the specified pod, and update optionally.",
    		Example: `  # Retrieve information about logging levels from all Ztunnel pods
     istioctl x ztunnel-config log
    
     # Update levels of the all loggers for a specific Ztunnel pod
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  4. cmd/object-multipart-handlers.go

    		md5hex = "" // Do not try to verify the content.
    		sha256hex = ""
    	}
    
    	var forceMD5 []byte
    	// Optimization: If SSE-KMS and SSE-C did not request Content-Md5. Use uuid as etag. Optionally enable this also
    	// for server that is started with `--no-compat`.
    	if !etag.ContentMD5Requested(r.Header) && (crypto.S3KMS.IsEncrypted(mi.UserDefined) || crypto.SSEC.IsRequested(r.Header) || !globalServerCtxt.StrictS3Compat) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  5. cmd/metacache-bucket.go

    	updated bool         `msg:"-"`
    }
    
    type deleteAllStorager interface {
    	deleteAll(ctx context.Context, bucket, prefix string)
    }
    
    // newBucketMetacache creates a new bucketMetacache.
    // Optionally remove all existing caches.
    func newBucketMetacache(bucket string, cleanup bool) *bucketMetacache {
    	if cleanup {
    		// Recursively delete all caches.
    		objAPI := newObjectLayerFn()
    		if objAPI != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool.go

    	// .metadata.bin healing is not needed here, it is automatically healed via read() call.
    	return z.s3Peer.HealBucket(ctx, bucket, opts)
    }
    
    // Walk a bucket, optionally prefix recursively, until we have returned
    // all the contents of the provided bucket+prefix.
    // TODO: Note that most errors will result in a truncated listing.
    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)
  7. cmd/notification.go

    }
    
    // WithNPeersThrottled returns a new NotificationGroup with length of errs slice upto nerrs,
    // upon Wait() errors are returned collected from all tasks, optionally allows for X workers
    // only "per" parallel task.
    func WithNPeersThrottled(nerrs, wks int) *NotificationGroup {
    	if nerrs <= 0 {
    		nerrs = 1
    	}
    	wk, _ := workers.New(wks)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  8. internal/bucket/replication/replication.go

    			}
    		} // regular object/metadata replication
    		return rule.MetadataReplicate(obj)
    	}
    	return false
    }
    
    // HasActiveRules - returns whether replication policy has active rules
    // Optionally a prefix can be supplied.
    // If recursive is specified the function will also return true if any level below the
    // prefix has active rules. If no prefix is specified recursive is effectively true.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  9. cmd/object-handlers.go

    		md5hex = "" // Do not try to verify the content.
    		sha256hex = ""
    	}
    
    	var forceMD5 []byte
    	// Optimization: If SSE-KMS and SSE-C did not request Content-Md5. Use uuid as etag. Optionally enable this also
    	// for server that is started with `--no-compat`.
    	if !etag.ContentMD5Requested(r.Header) && (crypto.S3KMS.IsRequested(r.Header) || crypto.SSEC.IsRequested(r.Header) || !globalServerCtxt.StrictS3Compat) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  10. internal/grid/handlers.go

    func NewRemoteErrf(format string, a ...any) *RemoteErr {
    	r := RemoteErr(fmt.Sprintf(format, a...))
    	return &r
    }
    
    // NewNPErr is a helper to no payload and optional remote error.
    // The error type is not preserved.
    func NewNPErr(err error) (NoPayload, *RemoteErr) {
    	if err == nil {
    		return NoPayload{}, nil
    	}
    	r := RemoteErr(err.Error())
    	return NoPayload{}, &r
    }
    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)
Back to top