Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Struct (0.04 sec)

  1. cmd/admin-handlers.go

    	disks := strings.Split(r.Form.Get("disks"), ",")
    	byDisk := strings.EqualFold(r.Form.Get("by-disk"), "true")
    	var diskMap map[string]struct{}
    	if len(disks) > 0 && disks[0] != "" {
    		diskMap = make(map[string]struct{}, len(disks))
    		for _, k := range disks {
    			if k != "" {
    				diskMap[k] = struct{}{}
    			}
    		}
    	}
    	jobID := r.Form.Get("by-jobID")
    
    	hosts := strings.Split(r.Form.Get("hosts"), ",")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
  2. cmd/object-handlers_test.go

    	// since dataInserted === dataFetched back is a primary criteria for any object storage this assertion is critical.
    	bytesData := []struct {
    		byteData []byte
    	}{
    		{generateBytesData(6 * humanize.MiByte)},
    	}
    	// set of inputs for uploading the objects before tests for downloading is done.
    	putObjectInputs := []struct {
    		bucketName    string
    		objectName    string
    		contentLength int64
    		textData      []byte
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    		}
    	}
    	return diffSlc
    }
    
    type srBucketMetaInfo struct {
    	madmin.SRBucketInfo
    	DeploymentID string
    }
    
    type srPolicy struct {
    	madmin.SRIAMPolicy
    	DeploymentID string
    }
    
    type srPolicyMapping struct {
    	madmin.SRPolicyMapping
    	DeploymentID string
    }
    
    type srUserInfo struct {
    	madmin.UserInfo
    	DeploymentID string
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 184.7K bytes
    - Viewed (0)
  4. cmd/bucket-replication.go

    		statusMap:      make(map[string]BucketReplicationResyncStatus),
    		workerSize:     resyncWorkerCnt,
    		resyncCancelCh: make(chan struct{}, resyncWorkerCnt),
    		workerCh:       make(chan struct{}, resyncWorkerCnt),
    	}
    	for i := 0; i < rs.workerSize; i++ {
    		rs.workerCh <- struct{}{}
    	}
    	return &rs
    }
    
    // mark status of replication resync on remote target for the bucket
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118K bytes
    - Viewed (0)
  5. cmd/sts-handlers_test.go

    	_, err = s.adm.AttachPolicy(ctx, madmin.PolicyAssociationReq{
    		Policies: []string{policy},
    		User:     accessKey,
    	})
    	if err != nil {
    		c.Fatalf("Unable to attach policy: %v", err)
    	}
    
    	cases := []struct {
    		tokenType  string
    		fullRevoke bool
    		selfRevoke bool
    	}{
    		{"", true, false},        // Case 1
    		{"", true, true},         // Case 2
    		{"type-1", false, false}, // Case 3
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 100.2K bytes
    - Viewed (1)
  6. cmd/metrics-v2.go

    // MetricDescription describes the metric
    type MetricDescription struct {
    	Namespace MetricNamespace `json:"MetricNamespace"`
    	Subsystem MetricSubsystem `json:"Subsystem"`
    	Name      MetricName      `json:"MetricName"`
    	Help      string          `json:"Help"`
    	Type      MetricTypeV2    `json:"Type"`
    }
    
    // MetricV2 captures the details for a metric
    type MetricV2 struct {
    	Description          MetricDescription `json:"Description"`
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 133.4K bytes
    - Viewed (0)
  7. cmd/server_test.go

    )
    
    // API suite container common to both ErasureSD and Erasure.
    type TestSuiteCommon struct {
    	serverType string
    	testServer TestServer
    	endPoint   string
    	accessKey  string
    	secretKey  string
    	signer     signerType
    	secure     bool
    	client     *http.Client
    }
    
    type check struct {
    	*testing.T
    	testType string
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118.1K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.5.md

    * Fix an issue where AWS tear-down leaks an DHCP Option Set. ([#38645](https://github.com/kubernetes/kubernetes/pull/38645), [@zmerlynn](https://github.com/zmerlynn))
    * Give apply the versioned struct that generated from the type defined in the restmapping. ([#38982](https://github.com/kubernetes/kubernetes/pull/38982), [@ymqytw](https://github.com/ymqytw))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 136.4K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.4.md

    * Move HighWaterMark to the top of the struct in order to fix arm ([#33117](https://github.com/kubernetes/kubernetes/pull/33117), [@luxas](https://github.com/luxas))
    * Move HighWaterMark to the top of the struct in order to fix arm, second time ([#33376](https://github.com/kubernetes/kubernetes/pull/33376), [@luxas](https://github.com/luxas))
    
    
    
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 133.5K bytes
    - Viewed (0)
  10. cmd/object-handlers.go

    		UserAgent:    r.UserAgent(),
    		Host:         handlers.GetSourceIP(r),
    	})
    }
    
    // ObjectTagSet key value tags
    type ObjectTagSet struct {
    	Tags []tags.Tag `xml:"Tag"`
    }
    
    type objectTagging struct {
    	XMLName xml.Name      `xml:"Tagging"`
    	TagSet  *ObjectTagSet `xml:"TagSet"`
    }
    
    // GetObjectTaggingHandler - GET object tagging
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
Back to top