Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for Relocation (0.75 sec)

  1. istioctl/pkg/writer/compare/comparator.go

    	}
    	envoyDump := &configdump.Wrapper{}
    	err := json.Unmarshal(envoyResponse, envoyDump)
    	if err != nil {
    		return nil, err
    	}
    	c.envoy = envoyDump
    	c.w = w
    	c.context = 7
    	c.location = "Local" // the time.Location for formatting time.Time instances
    	return c, nil
    }
    
    // NewXdsComparator is a comparator constructor
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 3.7K bytes
    - Viewed (1)
  2. cmd/handler-utils_test.go

    	}
    
    	// generates the input request with XML bucket configuration set to the request body.
    	createExpectedRequest := func(req *http.Request, location string) *http.Request {
    		createBucketConfig := createBucketLocationConfiguration{}
    		createBucketConfig.Location = location
    		createBucketConfigBytes, _ := xml.Marshal(createBucketConfig)
    		createBucketConfigBuffer := bytes.NewReader(createBucketConfigBytes)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  3. internal/config/help.go

    			Description: `name of the location of the server e.g. "us-west-1"`,
    			Optional:    true,
    		},
    		HelpKV{
    			Key:         Comment,
    			Type:        "sentence",
    			Description: DefaultComment,
    			Optional:    true,
    		},
    	}
    
    	RegionHelp = HelpKVS{
    		HelpKV{
    			Key:         RegionName,
    			Type:        "string",
    			Description: `[DEPRECATED] name of the location of the server e.g. "us-west-rack2"`,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  4. src/archive/zip/struct.go

    	directoryOffset    uint64 // relative to file
    	commentLen         uint16
    	comment            string
    }
    
    // timeZone returns a *time.Location based on the provided offset.
    // If the offset is non-sensible, then this uses an offset of zero.
    func timeZone(offset time.Duration) *time.Location {
    	const (
    		minOffset   = -12 * time.Hour  // E.g., Baker island at -12:00
    		maxOffset   = +14 * time.Hour  // E.g., Line island at +14:00
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  5. src/bufio/scan.go

    	// The actual maximum token size may be smaller as the buffer
    	// may need to include, for instance, a newline.
    	MaxScanTokenSize = 64 * 1024
    
    	startBufSize = 4096 // Size of initial allocation for buffer.
    )
    
    // NewScanner returns a new [Scanner] to read from r.
    // The split function defaults to [ScanLines].
    func NewScanner(r io.Reader) *Scanner {
    	return &Scanner{
    		r:            r,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  6. misc/linkcheck/linkcheck.go

    	if err != nil {
    		return err
    	}
    	res, err := http.DefaultTransport.RoundTrip(req)
    	if err != nil {
    		return err
    	}
    	// Handle redirects.
    	if res.StatusCode/100 == 3 {
    		newURL, err := res.Location()
    		if err != nil {
    			return fmt.Errorf("resolving redirect: %v", err)
    		}
    		if !strings.HasPrefix(newURL.String(), *root) {
    			// Skip off-site redirects.
    			return nil
    		}
    		crawl(newURL.String(), url)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 06 15:53:04 GMT 2021
    - 3.9K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/transition.go

    	if err != nil {
    		return errTransitionInvalidDate
    	}
    	// Allow only date timestamp specifying midnight GMT
    	hr, min, sec := trnDate.Clock()
    	nsec := trnDate.Nanosecond()
    	loc := trnDate.Location()
    	if !(hr == 0 && min == 0 && sec == 0 && nsec == 0 && loc.String() == time.UTC.String()) {
    		return errTransitionDateNotMidnight
    	}
    
    	*tDate = TransitionDate{trnDate}
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 10 17:07:49 GMT 2022
    - 5.1K bytes
    - Viewed (0)
  8. internal/crypto/key.go

    	if _, err := io.ReadFull(random, iv[:]); err != nil {
    		logger.CriticalIf(context.Background(), errOutOfEntropy)
    	}
    	return iv
    }
    
    // SealedKey represents a sealed object key. It can be stored
    // at an untrusted location.
    type SealedKey struct {
    	Key       [64]byte // The encrypted and authenticated object-key.
    	IV        [32]byte // The random IV used to encrypt the object-key.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 19 20:28:10 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  9. cmd/test-utils_test.go

    	req.Header.Set("Authorization", auth)
    
    	return nil
    }
    
    // getCredentialString generate a credential string.
    func getCredentialString(accessKeyID, location string, t time.Time) string {
    	return accessKeyID + SlashSeparator + getScope(t, location)
    }
    
    // getMD5HashBase64 returns MD5 hash in base64 encoding of given data.
    func getMD5HashBase64(data []byte) string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  10. cmd/api-router.go

    			Queries("restore", "")
    
    		// Bucket operations
    
    		// GetBucketLocation
    		router.Methods(http.MethodGet).
    			HandlerFunc(s3APIMiddleware(api.GetBucketLocationHandler)).
    			Queries("location", "")
    		// GetBucketPolicy
    		router.Methods(http.MethodGet).
    			HandlerFunc(s3APIMiddleware(api.GetBucketPolicyHandler)).
    			Queries("policy", "")
    		// GetBucketLifecycle
    		router.Methods(http.MethodGet).
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
Back to top