Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for bagian (0.15 sec)

  1. internal/bucket/lifecycle/action_string.go

    package lifecycle
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[NoneAction-0]
    	_ = x[DeleteAction-1]
    	_ = x[DeleteVersionAction-2]
    	_ = x[TransitionAction-3]
    	_ = x[TransitionVersionAction-4]
    	_ = x[DeleteRestoredAction-5]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  2. cmd/net.go

    	}
    
    	// Parse address to extract host and scheme field
    	u, err := url.Parse(hostAddr)
    	if err != nil {
    		return "", "", err
    	}
    
    	addr = u.Host
    	scheme = u.Scheme
    
    	// Use the given parameter again if url.Parse()
    	// didn't return any useful result.
    	if addr == "" {
    		addr = hostAddr
    		scheme = "http"
    	}
    
    	// At this point, addr can be one of the following form:
    	//	":9000"
    	//	"localhost:9000"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 26 15:00:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/net.go

    	// in that case, try finding the netns using procfs.
    	if err := s.rescanPod(pod); err != nil {
    		log.Errorf("error scanning proc: error was %s", err)
    		return nil, err
    	}
    	// try again. we can still get here if the pod is in the process of being created.
    	// in this case the CNI will be invoked soon and provide us with the netns.
    	openNetns = s.currentPodSnapshot.Get(string(pod.UID))
    	if openNetns == nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  4. istioctl/pkg/multixds/gather.go

    		responses, err = queryEachShard(all, dr, istioNamespace, kubeClient, centralOpts)
    	}
    	if err != nil {
    		if _, ok := err.(ControlPlaneNotFoundError); ok {
    			// Attempt to get the XDS address from the webhook and try again
    			addr, err := getXdsAddressFromWebhooks(kubeClient)
    			if err == nil {
    				centralOpts.Xds = addr.host
    				centralOpts.GCPProject = addr.gcpProject
    				centralOpts.IstiodAddr = addr.istiod
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  5. cmd/test-utils_test.go

    	}
    
    	// httptest Recorder to capture all the response by the http handler.
    	rec := httptest.NewRecorder()
    	// reading the body to preserve it so that it can be used again for second attempt of sending unsigned HTTP request.
    	// If the body is read in the handler the same request cannot be made use of.
    	buf, err := io.ReadAll(anonReq.Body)
    	if err != nil {
    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)
  6. cmd/site-replication.go

    		// server configuration, and convert it to minio-go's
    		// replication configuration type (by converting to xml and
    		// parsing it back), use minio-go's add rule function, and
    		// finally convert it back to the server type (again via xml).
    		// This is needed as there is no add-rule function in the server
    		// yet.
    
    		// Though we do not check if the rule already exists, this is
    		// not a problem as we are always using the same replication
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  7. cmd/bucket-replication.go

    		default:
    			return re, fmt.Errorf("replication mrf: unknown version: %d", binary.LittleEndian.Uint16(data[2:4]))
    		}
    
    		// OK, parse data.
    		// ignore any parsing errors, we do not care this file is generated again anyways.
    		re.DecodeMsg(msgp.NewReader(rc))
    
    		return re, nil
    	}
    
    	globalLocalDrivesMu.RLock()
    	localDrives := cloneDrives(globalLocalDrives)
    	globalLocalDrivesMu.RUnlock()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  8. cmd/object-api-listobjects_test.go

    				{Name: "newPrefix1"},
    				{Name: "newzen/zen/recurse/again/again/again/pics"},
    				{Name: "obj0"},
    				{Name: "obj1"},
    				{Name: "obj2"},
    			},
    		},
    		// ListObjectsResult-10.
    		// marker is set to "newPrefix1" in the testCase, (testCase 34).
    		10: {
    			IsTruncated: false,
    			Objects: []ObjectInfo{
    				{Name: "newzen/zen/recurse/again/again/again/pics"},
    				{Name: "obj0"},
    				{Name: "obj1"},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  9. cmd/sts-errors.go

    	},
    	ErrSTSNotInitialized: {
    		Code:           "STSNotInitialized",
    		Description:    "STS API not initialized, please try again.",
    		HTTPStatusCode: http.StatusServiceUnavailable,
    	},
    	ErrSTSIAMNotInitialized: {
    		Code:           "STSIAMNotInitialized",
    		Description:    "STS IAM not initialized, please try again.",
    		HTTPStatusCode: http.StatusServiceUnavailable,
    	},
    	ErrSTSUpstreamError: {
    		Code:           "InternalError",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  10. tests/prepared_stmt_test.go

    		t.Fatalf("no error should happen but got %v", err)
    	}
    }
    
    func TestPreparedStmtFromTransaction(t *testing.T) {
    	db := DB.Session(&gorm.Session{PrepareStmt: true, SkipDefaultTransaction: true})
    
    	tx := db.Begin()
    	defer func() {
    		if r := recover(); r != nil {
    			tx.Rollback()
    		}
    	}()
    	if err := tx.Error; err != nil {
    		t.Errorf("Failed to start transaction, got error %v\n", err)
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Mar 21 07:55:43 GMT 2024
    - 4K bytes
    - Viewed (0)
Back to top