Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for optional (0.18 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. internal/hash/reader.go

    	trailer http.Header
    
    	sha256 hash.Hash
    }
    
    // Options are optional arguments to NewReaderWithOpts, Options
    // simply converts positional arguments to NewReader() into a
    // more flexible way to provide optional inputs. This is currently
    // used by the FanOut API call mostly to disable expensive md5sum
    // calculation repeatedly under hash.Reader.
    type Options struct {
    	MD5Hex     string
    	SHA256Hex  string
    	Size       int64
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
  3. 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)
  4. cmd/batch-rotate.go

    // BatchJobKeyRotateEncryption defines key rotation encryption options passed
    type BatchJobKeyRotateEncryption struct {
    	Type       BatchKeyRotationType `yaml:"type" json:"type"`
    	Key        string               `yaml:"key" json:"key"`
    	Context    string               `yaml:"context" json:"context"`
    	kmsContext kms.Context          `msg:"-"`
    }
    
    // Validate validates input key rotation encryption options.
    func (e BatchJobKeyRotateEncryption) Validate() error {
    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)
  5. cmd/batch-expire.go

    //           # retainVersions: 0 # (default) delete all versions of the object. This option is the fastest.
    //           # retainVersions: 5 # keep the latest 5 versions of the object including delete markers.
    //
    //   notify:
    //     endpoint: https://notify.endpoint # notification endpoint to receive job completion status
    //     token: Bearer xxxxx # optional authentication token for the notification endpoint
    //
    //   retry:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  6. src/bufio/scan.go

    	}
    	return data
    }
    
    // ScanLines is a split function for a [Scanner] that returns each line of
    // text, stripped of any trailing end-of-line marker. The returned line may
    // be empty. The end-of-line marker is one optional carriage return followed
    // by one mandatory newline. In regular expression notation, it is `\r?\n`.
    // The last non-empty line of input will be returned even if it has no
    // newline.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/asm/internal/asm/parse.go

    		return
    	}
    	// General address (with a few exceptions) looks like
    	//	$sym±offset(SB)(reg)(index*scale)
    	// Exceptions are:
    	//
    	//	R1
    	//	offset
    	//	$offset
    	// Every piece is optional, so we scan left to right and what
    	// we discover tells us where we are.
    
    	// Prefix: $.
    	var prefix rune
    	switch tok := p.peek(); tok {
    	case '$', '*':
    		prefix = rune(tok)
    		p.next()
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  9. internal/s3select/select.go

    	"github.com/minio/minio/internal/s3select/sql"
    	"github.com/minio/pkg/v2/env"
    	"github.com/minio/simdjson-go"
    	"github.com/pierrec/lz4"
    )
    
    type recordReader interface {
    	// Read a record.
    	// dst is optional but will be used if valid.
    	Read(dst sql.Record) (sql.Record, error)
    	Close() error
    }
    
    const (
    	csvFormat     = "csv"
    	jsonFormat    = "json"
    	parquetFormat = "parquet"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
  10. cmd/object-api-datatypes.go

    	// Part number identifying the part. This is a positive integer between 1 and
    	// 10,000
    	PartNumber int
    
    	// Entity tag returned when the part was uploaded.
    	ETag string
    
    	// Checksum values. Optional.
    	ChecksumCRC32  string
    	ChecksumCRC32C string
    	ChecksumSHA1   string
    	ChecksumSHA256 string
    }
    
    // CompleteMultipartUpload - represents list of parts which are completed, this is sent by the
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
Back to top