Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 278 for source (0.18 sec)

  1. docs/debugging/s3-verify/main.go

    	if sourceEndpoint == "" {
    		log.Fatalln("source Endpoint is not provided")
    	}
    
    	if sourceAccessKey == "" {
    		log.Fatalln("source Access key is not provided")
    	}
    
    	if sourceSecretKey == "" {
    		log.Fatalln("source Secret key is not provided")
    	}
    
    	if sourceBucket == "" && sourcePrefix != "" {
    		log.Fatalln("--source-prefix is specified without --source-bucket.")
    	}
    
    	if targetEndpoint == "" {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Jun 22 15:12:47 GMT 2022
    - 8.4K bytes
    - Viewed (0)
  2. internal/lsync/lrwmutex.go

    	lm.lockLoop(context.Background(), lm.id, lm.source, 1<<63-1, isWriteLock)
    }
    
    // GetRLock tries to get a read lock on lm before the timeout occurs.
    func (lm *LRWMutex) GetRLock(ctx context.Context, id string, source string, timeout time.Duration) (locked bool) {
    	const isWriteLock = false
    	return lm.lockLoop(ctx, id, source, timeout, isWriteLock)
    }
    
    func (lm *LRWMutex) lock(id, source string, isWriteLock bool) (locked bool) {
    	lm.mu.Lock()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/lex/lex.go

    	Text() string
    	// File reports the source file name of the token.
    	File() string
    	// Base reports the position base of the token.
    	Base() *src.PosBase
    	// SetBase sets the position base.
    	SetBase(*src.PosBase)
    	// Line reports the source line number of the token.
    	Line() int
    	// Col reports the source column number of the token.
    	Col() int
    	// Close does any teardown required.
    	Close()
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  4. internal/dsync/lock-args.go

    	// Resources contains single or multiple entries to be locked/unlocked.
    	Resources []string
    
    	// Source contains the line number, function and file name of the code
    	// on the client node that requested the lock.
    	Source string
    
    	// Owner represents unique ID for this instance, an owner who originally requested
    	// the locked resource, useful primarily in figuring out stale locks.
    	Owner string
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 04:34:26 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  5. cmd/bucket-lifecycle-audit.go

    	lcEventSrc_s3CopyObject
    	lcEventSrc_s3CompleteMultipartUpload
    )
    
    //revive:enable:var-naming
    type lcAuditEvent struct {
    	lifecycle.Event
    	source lcEventSrc
    }
    
    func (lae lcAuditEvent) Tags() map[string]interface{} {
    	event := lae.Event
    	src := lae.source
    	const (
    		ilmSrc                     = "ilm-src"
    		ilmAction                  = "ilm-action"
    		ilmDue                     = "ilm-due"
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Dec 01 15:56:24 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/compare/sds/writer_test.go

    				secretItemColumns...),
    			unexpected: []string{"source", "destination", "certdata"},
    		},
    		{
    			name:   "test JSON output with a single secret item",
    			format: JSON,
    			items: []SecretItem{
    				{
    					Name:        "olinger",
    					Data:        "certdata",
    					Source:      "source",
    					Destination: "destination",
    					SecretMeta: SecretMeta{
    						Valid:        true,
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri May 29 20:42:01 GMT 2020
    - 4.9K bytes
    - Viewed (0)
  7. src/archive/zip/example_test.go

    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package zip_test
    
    import (
    	"archive/zip"
    	"bytes"
    	"compress/flate"
    	"fmt"
    	"io"
    	"log"
    	"os"
    )
    
    func ExampleWriter() {
    	// Create a buffer to write our archive to.
    	buf := new(bytes.Buffer)
    
    	// Create a new zip archive.
    	w := zip.NewWriter(buf)
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Jan 27 00:22:03 GMT 2016
    - 2K bytes
    - Viewed (0)
  8. internal/dsync/lock-args_gen.go

    				z.Resources[za0001], err = dc.ReadString()
    				if err != nil {
    					err = msgp.WrapError(err, "Resources", za0001)
    					return
    				}
    			}
    		case "Source":
    			z.Source, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Source")
    				return
    			}
    		case "Owner":
    			z.Owner, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Owner")
    				return
    			}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 9.5K bytes
    - Viewed (0)
  9. cmd/batch-handlers.go

    	if job.Replicate != nil {
    		if job.Replicate.Source.Snowball.Disable == nil {
    			job.Replicate.Source.Snowball.Disable = ptr(false)
    		}
    		if job.Replicate.Source.Snowball.Batch == nil {
    			job.Replicate.Source.Snowball.Batch = ptr(100)
    		}
    		if job.Replicate.Source.Snowball.InMemory == nil {
    			job.Replicate.Source.Snowball.InMemory = ptr(true)
    		}
    		if job.Replicate.Source.Snowball.Compress == nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 08 14:11:38 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  10. cmd/batch-replicate.go

    	Target     BatchJobReplicateTarget `yaml:"target" json:"target"`
    	Source     BatchJobReplicateSource `yaml:"source" json:"source"`
    
    	clnt *miniogo.Core `msg:"-"`
    }
    
    // RemoteToLocal returns true if source is remote and target is local
    func (r BatchJobReplicateV1) RemoteToLocal() bool {
    	return !r.Source.Creds.Empty()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Nov 22 18:51:46 GMT 2023
    - 6.3K bytes
    - Viewed (0)
Back to top