Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 168 for interfaces (0.16 sec)

  1. internal/s3select/sql/value.go

    // non-nil.
    //
    // In cases where we are fetching data from a data source (like csv),
    // the type may not be determined yet. In these cases, a byte-slice is
    // used.
    type Value struct {
    	value interface{}
    }
    
    // Missing is used to indicate a non-existing value.
    type Missing struct{}
    
    // MarshalJSON provides json marshaling of values.
    func (v Value) MarshalJSON() ([]byte, error) {
    	if b, ok := v.ToBytes(); ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    		defer lk.RUnlock(lkctx)
    	}
    
    	return er.getObjectInfo(ctx, bucket, object, opts)
    }
    
    func auditDanglingObjectDeletion(ctx context.Context, bucket, object, versionID string, tags map[string]interface{}) {
    	if len(logger.AuditTargets()) == 0 {
    		return
    	}
    
    	opts := AuditLogOptions{
    		Event:     "DeleteDanglingObject",
    		Bucket:    bucket,
    		Object:    object,
    		VersionID: versionID,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  3. cmd/server_test.go

    	client     *http.Client
    }
    
    type check struct {
    	*testing.T
    	testType string
    }
    
    // Assert - checks if gotValue is same as expectedValue, if not fails the test.
    func (c *check) Assert(gotValue interface{}, expectedValue interface{}) {
    	c.Helper()
    	if !reflect.DeepEqual(gotValue, expectedValue) {
    		c.Fatalf("Test %s expected %v, got %v", c.testType, expectedValue, gotValue)
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  4. cmd/common-main.go

    	case ctx.GlobalIsSet("certs-dir"):
    		ctxt.CertsDir = ctx.GlobalString("certs-dir")
    		ctxt.certsDirSet = true
    	}
    
    	ctxt.FTP = ctx.StringSlice("ftp")
    	ctxt.SFTP = ctx.StringSlice("sftp")
    
    	ctxt.Interface = ctx.String("interface")
    	ctxt.UserTimeout = ctx.Duration("conn-user-timeout")
    	ctxt.ConnReadDeadline = ctx.Duration("conn-read-deadline")
    	ctxt.ConnWriteDeadline = ctx.Duration("conn-write-deadline")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  5. internal/s3select/sql/record.go

    	// Returns underlying representation
    	Raw() (SelectObjectFormat, interface{})
    
    	// Replaces the underlying data
    	Replace(k interface{}) error
    }
    
    // IterToValue converts a simdjson Iter to its underlying value.
    // Objects are returned as simdjson.Object
    // Arrays are returned as []interface{} with parsed values.
    func IterToValue(iter simdjson.Iter) (interface{}, error) {
    	switch iter.Type() {
    	case simdjson.TypeString:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 3.4K bytes
    - Viewed (0)
  6. internal/logger/target/kafka/kafka.go

    	// Sending a value on logCh must hold read lock on logChMu (to avoid closing)
    	logCh   chan interface{}
    	logChMu sync.RWMutex
    
    	// store to persist and replay the logs to the target
    	// to avoid missing events when the target is down.
    	store          store.Store[interface{}]
    	storeCtxCancel context.CancelFunc
    
    	initKafkaOnce      once.Init
    	initQueueStoreOnce once.Init
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.1K bytes
    - Viewed (1)
  7. docs/iam/identity-manager-plugin.go

    	Claims             map[string]interface{} `json:"claims"`
    }
    
    var tokens map[string]Resp = map[string]Resp{
    	"aaa": {
    		User:               "Alice",
    		MaxValiditySeconds: 3600,
    		Claims: map[string]interface{}{
    			"groups": []string{"data-science"},
    		},
    	},
    	"bbb": {
    		User:               "Bart",
    		MaxValiditySeconds: 3600,
    		Claims: map[string]interface{}{
    			"groups": []string{"databases"},
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  8. cmd/warm-backend.go

    // value represents the entire byte range of an object.
    type WarmBackendGetOpts struct {
    	startOffset int64
    	length      int64
    }
    
    // WarmBackend provides interface to be implemented by remote tier backends
    type WarmBackend interface {
    	Put(ctx context.Context, object string, r io.Reader, length int64) (remoteVersionID, error)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  9. internal/kms/identity-manager.go

    package kms
    
    import (
    	"context"
    
    	"github.com/minio/kms-go/kes"
    )
    
    // IdentityManager is the generic interface that handles KMS identity operations
    type IdentityManager interface {
    	// DescribeIdentity describes an identity by returning its metadata.
    	// e.g. which policy is currently assigned and whether its an admin identity.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  10. cmd/post-policy_test.go

    			secretKey:          "",
    			dates:              []interface{}{},
    			policy:             ``,
    		},
    		// Expired document
    		{
    			objectName:         "test",
    			data:               []byte("Hello, World"),
    			expectedRespStatus: http.StatusForbidden,
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
Back to top