Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Optional (0.16 sec)

  1. 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)
  2. cmd/config-current.go

    			Key:         config.SubnetSubSys,
    			Type:        "string",
    			Description: "register the cluster to MinIO SUBNET",
    			Optional:    true,
    		},
    		config.HelpKV{
    			Key:         config.CallhomeSubSys,
    			Type:        "string",
    			Description: "enable callhome to MinIO SUBNET",
    			Optional:    true,
    		},
    		config.HelpKV{
    			Key:         config.DriveSubSys,
    			Description: "enable drive specific settings",
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  3. cni/pkg/iptables/iptables.go

    		}
    
    		for _, cmd := range optionalDeleteCmds {
    			err := cfg.ext.Run(iptablesconstants.IPTables, &iptVer, nil, cmd...)
    			if err != nil {
    				log.Debugf("ignoring error deleting optional iptables rule: %v", err)
    			}
    		}
    	}
    	return errors.Join(delErrs...)
    }
    
    // Setup iptables rules for in-pod mode. Ideally this should be an idempotent function.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  4. cmd/storage-rest-server.go

    // Every 10 seconds a space character is sent.
    // keepHTTPReqResponseAlive will wait for the returned body to be read before starting the ticker.
    // The returned function should always be called to release resources.
    // An optional error can be sent which will be picked as text only error,
    // without its original type by the receiver.
    // waitForHTTPResponse should be used to the receiving side.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  5. cmd/storage-datatypes.go

    	OrigVolume string             `msg:"ov"`
    	FilePath   string             `msg:"fp"`
    	UpdateOpts UpdateMetadataOpts `msg:"uo"`
    	FI         FileInfo           `msg:"fi"`
    }
    
    // UpdateMetadataOpts provides an optional input to indicate if xl.meta updates need to be fully synced to disk.
    type UpdateMetadataOpts struct {
    	NoPersistence bool `msg:"np"`
    }
    
    // CheckPartsHandlerParams are parameters for CheckPartsHandler
    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)
  6. cmd/update.go

    // official minio download server.
    //
    // The expected format is a single line with two words like:
    //
    // fbe246edbd382902db9a4035df7dce8cb441357d minio.RELEASE.2016-10-07T01-16-39Z.<hotfix_optional>
    //
    // The second word must be `minio.` appended to a standard release tag.
    func parseReleaseData(data string) (sha256Sum []byte, releaseTime time.Time, releaseInfo string, err error) {
    	defer func() {
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  7. cmd/bucket-replication.go

    			}
    		case <-p.mrfWorkerKillCh:
    			return
    		}
    	}
    }
    
    // AddWorker adds a replication worker to the pool.
    // An optional pointer to a tracker that will be atomically
    // incremented when operations are running can be provided.
    func (p *ReplicationPool) AddWorker(input <-chan ReplicationWorkerOperation, opTracker *int32) {
    	for {
    		select {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  8. internal/kms/config.go

    	EnvKESClientKey        = "MINIO_KMS_KES_KEY_FILE"       // Path to TLS private key for authenticating to KES with mTLS - usually prefer API keys
    	EnvKESClientPassword   = "MINIO_KMS_KES_KEY_PASSWORD"   // Optional password to decrypt an encrypt TLS private key
    	EnvKESClientCert       = "MINIO_KMS_KES_CERT_FILE"      // Path to TLS certificate for authenticating to KES with mTLS - usually prefer API keys
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 07:42:50 GMT 2024
    - 2K bytes
    - Viewed (0)
  9. cmd/xl-storage.go

    		return RawFileInfo{}, err
    	}
    
    	buf, _, err := s.readRaw(ctx, volume, volumeDir, filePath, readData)
    	return RawFileInfo{
    		Buf: buf,
    	}, err
    }
    
    // ReadOptions optional inputs for ReadVersion
    type ReadOptions struct {
    	ReadData bool
    	Healing  bool
    }
    
    // ReadVersion - reads metadata and returns FileInfo at path `xl.meta`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  10. cmd/iam.go

    	if hasSessionPolicy {
    		return isAllowedSP && (isOwnerDerived || combinedPolicy.IsAllowed(args))
    	}
    
    	// Sub policy not set, this is most common since subPolicy
    	// is optional, use the inherited policies.
    	return isOwnerDerived || combinedPolicy.IsAllowed(args)
    }
    
    func isAllowedBySessionPolicyForServiceAccount(args policy.Args) (hasSessionPolicy bool, isAllowed bool) {
    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