Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 569 for struct (0.46 sec)

  1. cmd/sts-datatypes.go

    type LDAPIdentityResult struct {
    	Credentials auth.Credentials `xml:",omitempty"`
    }
    
    // AssumeRoleWithCertificateResponse contains the result of
    // a successful AssumeRoleWithCertificate request.
    type AssumeRoleWithCertificateResponse struct {
    	XMLName xml.Name `xml:"https://sts.amazonaws.com/doc/2011-06-15/ AssumeRoleWithCertificateResponse" json:"-"`
    	Result  struct {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 9.9K bytes
    - Viewed (0)
  2. cmd/storage-datatypes.go

    type RenameDataResp struct {
    	Sign       []byte
    	OldDataDir string // contains '<uuid>', it is designed to be passed as value to Delete(bucket, pathJoin(object, dataDir))
    }
    
    // LocalDiskIDs - GetLocalIDs response.
    type LocalDiskIDs struct {
    	IDs []string
    }
    
    // ListDirResult - ListDir()'s response.
    type ListDirResult struct {
    	Entries []string `msg:"e"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  3. cmd/api-response.go

    type ListBucketsResponse struct {
    	XMLName xml.Name `xml:"http://s3.amazonaws.com/doc/2006-03-01/ ListAllMyBucketsResult" json:"-"`
    
    	Owner Owner
    
    	// Container for one or more buckets.
    	Buckets struct {
    		Buckets []Bucket `xml:"Bucket"`
    	} // Buckets are nested
    }
    
    // Upload container for in progress multipart upload
    type Upload struct {
    	Key          string
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  4. internal/s3select/sql/value_test.go

    	},
    	func() *Value {
    		return FromTimestamp(time.Time{})
    	},
    	func() *Value {
    		return FromString("")
    	},
    }
    
    func TestValue_SameTypeAs(t *testing.T) {
    	type fields struct {
    		a, b Value
    	}
    	type test struct {
    		name   string
    		fields fields
    		wantOk bool
    	}
    	var tests []test
    	for i := range valueBuilders {
    		a := valueBuilders[i]()
    		for j := range valueBuilders {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  5. internal/event/name_test.go

    package event
    
    import (
    	"encoding/json"
    	"encoding/xml"
    	"reflect"
    	"testing"
    )
    
    func TestNameExpand(t *testing.T) {
    	testCases := []struct {
    		name           Name
    		expectedResult []Name
    	}{
    		{BucketCreated, []Name{BucketCreated}},
    		{BucketRemoved, []Name{BucketRemoved}},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  6. internal/event/config.go

    }
    
    // Unused.  Available for completion.
    type lambda struct {
    	ARN string `xml:"CloudFunction"`
    }
    
    // Unused. Available for completion.
    type topic struct {
    	ARN string `xml:"Topic" json:"Topic"`
    }
    
    // Config - notification configuration described in
    // http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html
    type Config struct {
    	XMLNS      string   `xml:"xmlns,attr,omitempty"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 8.4K bytes
    - Viewed (0)
  7. internal/hash/errors.go

    type SHA256Mismatch struct {
    	ExpectedSHA256   string
    	CalculatedSHA256 string
    }
    
    func (e SHA256Mismatch) Error() string {
    	return "Bad sha256: Expected " + e.ExpectedSHA256 + " does not match calculated " + e.CalculatedSHA256
    }
    
    // BadDigest - Content-MD5 you specified did not match what we received.
    type BadDigest struct {
    	ExpectedMD5   string
    	CalculatedMD5 string
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon May 15 21:08:54 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  8. internal/auth/credentials_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package auth
    
    import (
    	"encoding/json"
    	"testing"
    	"time"
    )
    
    func TestExpToInt64(t *testing.T) {
    	testCases := []struct {
    		exp             interface{}
    		expectedFailure bool
    	}{
    		{"", true},
    		{"-1", true},
    		{"1574812326", false},
    		{1574812326, false},
    		{int64(1574812326), false},
    		{int(1574812326), false},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  9. internal/disk/disk.go

    package disk
    
    // Info stat fs struct is container which holds following values
    // Total - total size of the volume / disk
    // Free - free size of the volume / disk
    // Files - total inodes available
    // Ffree - free inodes available
    // FSType - file system type
    // Major - major dev id
    // Minor - minor dev id
    // Devname - device name
    type Info struct {
    	Total      uint64
    	Free       uint64
    	Used       uint64
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  10. cmd/bucket-lifecycle.go

    // by NewerNoncurrentVersions
    type newerNoncurrentTask struct {
    	bucket   string
    	versions []ObjectToDelete
    	event    lifecycle.Event
    }
    
    type transitionTask struct {
    	objInfo ObjectInfo
    	src     lcEventSrc
    	event   lifecycle.Event
    }
    
    type transitionState struct {
    	transitionCh chan transitionTask
    
    	ctx        context.Context
    	objAPI     ObjectLayer
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
Back to top