Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 79 of 79 for parameter (0.18 sec)

  1. internal/kms/kes.go

    	"github.com/minio/pkg/v2/env"
    
    	"github.com/minio/kms-go/kes"
    	"github.com/minio/pkg/v2/certs"
    )
    
    const (
    	tlsClientSessionCacheSize = 100
    )
    
    // Config contains various KMS-related configuration
    // parameters - like KMS endpoints or authentication
    // credentials.
    type Config struct {
    	// Endpoints contains a list of KMS server
    	// HTTP endpoints.
    	Endpoints []string
    
    	// DefaultKeyID is the key ID used when
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  2. internal/bucket/object/lock/lock.go

    	// ErrObjectLockMissingContentMD5 - indicates missing Content-MD5 header for put object requests with locking
    	ErrObjectLockMissingContentMD5 = errors.New("content-MD5 HTTP header is required for Put Object requests with Object Lock parameters")
    	// ErrObjectLockInvalidHeaders indicates that object lock headers are missing
    	ErrObjectLockInvalidHeaders = errors.New("x-amz-object-lock-retain-until-date and x-amz-object-lock-mode must both be supplied")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  3. cmd/data-scanner.go

    				if d.isScanner {
    					globalScannerMetrics.incTime(scannerMetricYield, wantSleep)
    				}
    				return
    			}
    		}
    	}
    }
    
    // Update the current settings and cycle all waiting.
    // Parameters are the same as in the constructor.
    func (d *dynamicSleeper) Update(factor float64, maxWait time.Duration) error {
    	d.mu.Lock()
    	defer d.mu.Unlock()
    	if math.Abs(d.factor-factor) < 1e-10 && d.maxSleep == maxWait {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
  4. src/cmd/cgo/doc.go

    struct_, union_, or enum_, as in C.struct_stat.
    
    The size of any C type T is available as C.sizeof_T, as in
    C.sizeof_struct_stat.
    
    A C function may be declared in the Go file with a parameter type of
    the special name _GoString_. This function may be called with an
    ordinary Go string value. The string length, and a pointer to the
    string contents, may be accessed by calling the C functions
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  5. cmd/bucket-listobjects-handlers.go

    // --------------------------
    // This implementation of the GET operation returns some or all (up to 1000)
    // of the objects in a bucket. You can use the request parameters as selection
    // criteria to return a subset of the objects in a bucket.
    //
    // NOTE: It is recommended that this API to be used for application development.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  6. cni/pkg/plugin/sidecar_iptables_unspecified.go

    import "errors"
    
    // ErrNotImplemented is returned when a requested feature is not implemented.
    var ErrNotImplemented = errors.New("not implemented")
    
    // Program defines a method which programs iptables based on the parameters
    // provided in Redirect.
    func (ipt *iptables) Program(podName, netns string, rdrct *Redirect) error {
    	return ErrNotImplemented
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  7. cmd/warm-backend-s3.go

    		}
    		creds = credentials.New(&s3WebIdentityIAM)
    	case conf.AccessKey != "" && conf.SecretKey != "":
    		creds = credentials.NewStaticV4(conf.AccessKey, conf.SecretKey, "")
    	default:
    		return nil, errors.New("insufficient parameters for S3 backend authentication")
    	}
    	opts := &minio.Options{
    		Creds:     creds,
    		Secure:    u.Scheme == "https",
    		Transport: globalRemoteTargetTransport,
    	}
    	client, err := minio.New(u.Host, opts)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  8. cmd/batch-job-common-types.go

    	var tmp snowball
    	err := val.Decode(&tmp)
    	if err != nil {
    		return err
    	}
    
    	*b = BatchJobSnowball(tmp)
    	b.line, b.col = val.Line, val.Column
    	return nil
    }
    
    // Validate the snowball parameters in the job description
    func (b BatchJobSnowball) Validate() error {
    	if *b.Batch <= 0 {
    		return BatchJobYamlErr{
    			line: b.line,
    			col:  b.col,
    			msg:  "batch number should be non positive zero",
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 01 21:53:26 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  9. cni/pkg/install/install_test.go

    			saNewFilename:       "token-bar",
    		},
    	}
    
    	for _, c := range cases {
    		t.Run(c.name, func(t *testing.T) {
    			// Create temp directory for files
    			tempDir := t.TempDir()
    
    			// Initialize parameters
    			ctx, cancel := context.WithCancel(context.Background())
    			defer cancel()
    			cfg := &config.InstallConfig{
    				MountedCNINetDir: tempDir,
    				ChainedCNIPlugin: c.chainedCNIPlugin,
    			}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
Back to top