Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for partition (0.18 sec)

  1. internal/arn/arn.go

    	}
    	return ARN{
    		Partition:    arnPartitionMinio,
    		Service:      arnServiceIAM,
    		Region:       serverRegion,
    		ResourceType: arnResourceTypeRole,
    		ResourceID:   resourceID,
    	}, nil
    }
    
    // String - returns string representation of the ARN.
    func (arn ARN) String() string {
    	return strings.Join(
    		[]string{
    			arnPrefixArn,
    			arn.Partition,
    			arn.Service,
    			arn.Region,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 08:31:34 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  2. internal/arn/arn_test.go

    	tests := []struct {
    		arn  ARN
    		want string
    	}{
    		{
    			arn: ARN{
    				Partition:    "minio",
    				Service:      "iam",
    				Region:       "us-east-1",
    				ResourceType: "role",
    				ResourceID:   "my-role",
    			},
    			want: "arn:minio:iam:us-east-1::role/my-role",
    		},
    		{
    			arn: ARN{
    				Partition:    "minio",
    				Service:      "",
    				Region:       "us-east-1",
    				ResourceType: "role",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 08:31:34 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  3. cmd/peer-rest-client.go

    	resp, err := getNetInfoRPC.Call(ctx, client.gridConn(), grid.NewMSS())
    	return resp.ValueOrZero(), err
    }
    
    // GetPartitions - fetch disk partition information for a remote node.
    func (client *peerRESTClient) GetPartitions(ctx context.Context) (info madmin.Partitions, err error) {
    	resp, err := getPartitionsRPC.Call(ctx, client.gridConn(), grid.NewMSS())
    	return resp.ValueOrZero(), err
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  4. cmd/peer-rest-server.go

    	info := madmin.GetNetInfo(globalLocalNodeName, globalInternodeInterface)
    	return madminNetInfo.NewJSONWith(&info), nil
    }
    
    // GetPartitionsHandler - returns disk partition information.
    func (s *peerRESTServer) GetPartitionsHandler(_ *grid.MSS) (*grid.JSON[madmin.Partitions], *grid.RemoteErr) {
    	info := madmin.GetPartitions(context.Background(), globalLocalNodeName)
    	return madminPartitions.NewJSONWith(&info), nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  5. cmd/notification.go

    		if err != nil {
    			sys.addNodeErr(&reply[index], sys.peerClients[index], err)
    		}
    	}
    	return reply
    }
    
    // GetPartitions - Disk partition information
    func (sys *NotificationSys) GetPartitions(ctx context.Context) []madmin.Partitions {
    	reply := make([]madmin.Partitions, len(sys.peerClients))
    
    	g := errgroup.WithNErrs(len(sys.peerClients))
    	for index, client := range sys.peerClients {
    		if client == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  6. cmd/admin-handlers.go

    			anonymizeAddr(&localPartitions)
    			healthInfo.Sys.Partitions = append(healthInfo.Sys.Partitions, localPartitions)
    
    			peerPartitions := globalNotificationSys.GetPartitions(healthCtx)
    			for _, p := range peerPartitions {
    				anonymizeAddr(&p)
    				healthInfo.Sys.Partitions = append(healthInfo.Sys.Partitions, p)
    			}
    			partialWrite(healthInfo)
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
Back to top