Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for Structures (0.18 sec)

  1. cmd/last-minute.go

    		l.LastSec++
    	}
    }
    
    // LastMinuteHistogram keeps track of last minute sizes added.
    type LastMinuteHistogram [sizeLastElemMarker]lastMinuteLatency
    
    // Merge safely merges two LastMinuteHistogram structures into one
    func (l LastMinuteHistogram) Merge(o LastMinuteHistogram) (merged LastMinuteHistogram) {
    	for i := range l {
    		merged[i] = l[i].merge(o[i])
    	}
    	return merged
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jul 05 17:40:45 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  2. docs/bucket/versioning/DESIGN.md

    well defined data structure. To understand `xl.meta` here are the few things to start with
    
    `xl.meta` carries first 8 bytes an XL header which describes the current format and the format version,
    allowing the unmarshaller's to automatically use the right data structures to parse the subsequent content in the stream.
    
    ### v1.0
    
    | Entry     | Encoding    | Content
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jul 17 15:43:14 GMT 2022
    - 5.8K bytes
    - Viewed (1)
  3. internal/config/lambda/event/event.go

    	OutputToken string `json:"outputToken"`
    	InputS3URL  string `json:"inputS3Url"`
    }
    
    // Event represents lambda function event, this is undocumented in AWS S3. This
    // structure bases itself on this structure but there is no binding.
    //
    //	{
    //	  "xAmzRequestId": "a2871150-1df5-4dc9-ad9f-3da283ca1bf3",
    //	  "getObjectContext": {
    //	    "outputRoute": "...",
    //	    "outputToken": "...",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  4. internal/config/notify/config.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package notify
    
    import (
    	"github.com/minio/minio/internal/event/target"
    )
    
    // Config - notification target configuration structure, holds
    // information about various notification targets.
    type Config struct {
    	AMQP          map[string]target.AMQPArgs          `json:"amqp"`
    	Elasticsearch map[string]target.ElasticsearchArgs `json:"elasticsearch"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.8K bytes
    - Viewed (0)
  5. internal/arn/arn.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package arn
    
    import (
    	"errors"
    	"fmt"
    	"regexp"
    	"strings"
    )
    
    // ARN structure:
    //
    // arn:partition:service:region:account-id:resource-type/resource-id
    //
    // In this implementation, account-id is empty.
    //
    // Reference: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 08:31:34 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. internal/event/event.go

    	Port      string `json:"port"`
    	UserAgent string `json:"userAgent"`
    }
    
    // Event represents event notification information defined in
    // http://docs.aws.amazon.com/AmazonS3/latest/dev/notification-content-structure.html.
    type Event struct {
    	EventVersion      string            `json:"eventVersion"`
    	EventSource       string            `json:"eventSource"`
    	AwsRegion         string            `json:"awsRegion"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 20 00:53:08 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  7. cmd/erasure-multipart.go

    //
    // Implements minimal S3 compatible ListMultipartUploads API. We do
    // not support prefix based listing, this is a deliberate attempt
    // towards simplification of multipart APIs.
    // The resulting ListMultipartsInfo structure is unmarshalled directly as XML.
    func (er erasureObjects) ListMultipartUploads(ctx context.Context, bucket, object, keyMarker, uploadIDMarker, delimiter string, maxUploads int) (result ListMultipartsInfo, err error) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  8. internal/dsync/drwmutex.go

    	clnt                 *Dsync
    	cancelRefresh        context.CancelFunc
    	refreshInterval      time.Duration
    	lockRetryMinInterval time.Duration
    }
    
    // Granted - represents a structure of a granted lock.
    type Granted struct {
    	index   int
    	lockUID string // Locked if set with UID string, unlocked if empty
    }
    
    func (g *Granted) isLocked() bool {
    	return isLocked(g.lockUID)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  9. internal/config/config.go

    func (kvs KVS) Lookup(key string) (string, bool) {
    	for _, kv := range kvs {
    		if kv.Key == key {
    			return kv.Value, true
    		}
    	}
    	return "", false
    }
    
    // Config - MinIO server config structure.
    type Config map[string]map[string]KVS
    
    // DelFrom - deletes all keys in the input reader.
    func (c Config) DelFrom(r io.Reader) error {
    	scanner := bufio.NewScanner(r)
    	for scanner.Scan() {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  10. cmd/batch-handlers.go

    	"github.com/minio/pkg/v2/env"
    	"github.com/minio/pkg/v2/policy"
    	"github.com/minio/pkg/v2/workers"
    	"gopkg.in/yaml.v3"
    )
    
    var globalBatchConfig batch.Config
    
    // BatchJobRequest this is an internal data structure not for external consumption.
    type BatchJobRequest struct {
    	ID        string               `yaml:"-" json:"name"`
    	User      string               `yaml:"-" json:"user"`
    	Started   time.Time            `yaml:"-" json:"started"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 14:11:38 GMT 2024
    - 55.2K bytes
    - Viewed (0)
Back to top