Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for required (7.84 sec)

  1. cmd/api-utils.go

    			} else {
    				hexCount++
    			}
    		}
    	}
    
    	if spaceCount == 0 && hexCount == 0 {
    		return s
    	}
    
    	var buf [64]byte
    	var t []byte
    
    	required := len(s) + 2*hexCount
    	if required <= len(buf) {
    		t = buf[:required]
    	} else {
    		t = make([]byte, required)
    	}
    
    	if hexCount == 0 {
    		copy(t, s)
    		for i := 0; i < len(s); i++ {
    			if s[i] == ' ' {
    				t[i] = '+'
    			}
    		}
    		return string(t)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. docs/bucket/retention/README.md

    ```
    
    See <https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-overview.html> for AWS S3 spec on object locking and permissions required for object retention and governance bypass overrides.
    
    ### Set legal hold on an object
    
    PutObject API allows setting legal hold using `x-amz-object-lock-legal-hold` header.
    
    ```sh
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  3. docs/sts/custom-token-identity.go

    )
    
    func init() {
    	flag.StringVar(&stsEndpoint, "sts-ep", "http://localhost:9000", "STS endpoint")
    	flag.StringVar(&token, "t", "", "Token to use with AssumeRoleWithCustomToken STS API (required)")
    	flag.StringVar(&roleArn, "r", "", "RoleARN to use with the request (required)")
    	flag.BoolVar(&displayCreds, "d", false, "Only show generated credentials")
    	flag.DurationVar(&expiryDuration, "e", 0, "Request a duration of validity for the generated credential")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  4. cmd/license-update.go

    			licenseUpdateTimer.Reset(licUpdateCycle)
    		}
    	}
    }
    
    func performLicenseUpdate(ctx context.Context, objectAPI ObjectLayer) {
    	// the subnet license renewal api renews the license only
    	// if required e.g. when it is expiring soon
    	url := globalSubnetConfig.BaseURL + licRenewPath
    
    	resp, err := globalSubnetConfig.Post(url, nil)
    	if err != nil {
    		subnetLogIf(ctx, fmt.Errorf("error from %s: %w", url, err))
    		return
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  5. internal/config/identity/openid/jwt.go

    		return err
    	}
    
    	if err = r.updateUserinfoClaims(ctx, arn, accessToken, claims); err != nil {
    		return err
    	}
    
    	// Validate that matching clientID appears in the aud or azp claims.
    
    	// REQUIRED. Audience(s) that this ID Token is intended for.
    	// It MUST contain the OAuth 2.0 client_id of the Relying Party
    	// as an audience value. It MAY also contain identifiers for
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 8.3K bytes
    - Viewed (5)
  6. internal/grid/README.md

    A subroute on a client must match a subroute on the server. So routes cannot be used for dynamic routing, unlike HTTP.
    
    Handlers should remain backwards compatible. If a breaking API change is required, a new handler ID should be created.
    
    ## Setup & Configuration
    
    A **Manager** is used to manage all incoming and outgoing connections to a server.
    
    On startup all remote servers must be specified. 
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  7. docs/extensions/s3zip/examples/aws-js/main.js

    var AWS = require('aws-sdk');
    
    var s3  = new AWS.S3({
        accessKeyId: 'YOUR-ACCESSKEYID' ,
        secretAccessKey: 'YOUR-SECRETACCESSKEY' ,
        endpoint: 'http://127.0.0.1:9000' ,
        s3ForcePathStyle: true,
        signatureVersion: 'v4'
    });
    
    // List all contents stored in the zip archive
    s3.listObjectsV2({Bucket : 'your-bucket', Prefix: 'path/to/file.zip/'}).
        on('build', function(req) { req.httpRequest.headers['X-Minio-Extract'] = 'true'; }).
    JavaScript
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jun 10 15:17:03 GMT 2021
    - 1K bytes
    - Viewed (0)
  8. cmd/storage-errors.go

    var errSkipFile = errors.New("skip this file")
    
    var errIgnoreFileContrib = errors.New("ignore this file's contribution toward data-usage")
    
    // errXLBackend XL drive mode requires fresh deployment.
    var errXLBackend = errors.New("XL backend requires fresh drive")
    
    // StorageErr represents error generated by xlStorage call.
    type StorageErr string
    
    func (h StorageErr) Error() string {
    	return string(h)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  9. internal/crypto/auto-encryption.go

    	"github.com/minio/pkg/v2/env"
    )
    
    const (
    	// EnvKMSAutoEncryption is the environment variable used to en/disable
    	// SSE-S3 auto-encryption. SSE-S3 auto-encryption, if enabled,
    	// requires a valid KMS configuration and turns any non-SSE-C
    	// request into an SSE-S3 request.
    	// If present EnvAutoEncryption must be either "on" or "off".
    	EnvKMSAutoEncryption = "MINIO_KMS_AUTO_ENCRYPTION"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  10. internal/grid/grid_types_msgp_test.go

    	if err != nil {
    		err = msgp.WrapError(err, "String")
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z testRequest) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 2
    	// string "Num"
    	o = append(o, 0x82, 0xa3, 0x4e, 0x75, 0x6d)
    	o = msgp.AppendInt(o, z.Num)
    	// string "String"
    	o = append(o, 0xa6, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 8.1K bytes
    - Viewed (0)
Back to top