Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 75 for sortBy (0.15 sec)

  1. cmd/iam.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"encoding/base64"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"math/rand"
    	"path"
    	"sort"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	libldap "github.com/go-ldap/ldap/v3"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio-go/v7/pkg/set"
    	"github.com/minio/minio/internal/arn"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  2. cmd/signature-v2.go

    		}
    		if val == "" {
    			canonicalQueries = append(canonicalQueries, key)
    			continue
    		}
    		canonicalQueries = append(canonicalQueries, key+"="+val)
    	}
    
    	// The queries will be already sorted as resourceList is sorted, if canonicalQueries
    	// is empty strings.Join returns empty.
    	canonicalQuery := strings.Join(canonicalQueries, "&")
    	if canonicalQuery != "" {
    		return encodedResource + "?" + canonicalQuery
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  3. cmd/metacache-entries.go

    func (m metaCacheEntries) less(i, j int) bool {
    	return m[i].name < m[j].name
    }
    
    // sort entries by name.
    // m is sorted and a sorted metadata object is returned.
    // Changes to m will also be reflected in the returned object.
    func (m metaCacheEntries) sort() metaCacheEntriesSorted {
    	if m.isSorted() {
    		return metaCacheEntriesSorted{o: m}
    	}
    	sort.Slice(m, m.less)
    	return metaCacheEntriesSorted{o: m}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  4. docs/metrics/prometheus/grafana/replication/minio-replication-cluster.json

            "legend": {
              "calcs": [],
              "displayMode": "list",
              "placement": "bottom",
              "showLegend": true
            },
            "tooltip": {
              "mode": "multi",
              "sort": "none"
            }
          },
          "pluginVersion": "10.4.0",
          "targets": [
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_PROMETHEUS}"
              },
    Json
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:15:39 GMT 2024
    - 71.1K bytes
    - Viewed (0)
  5. cmd/admin-server-info.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"math"
    	"net/http"
    	"os"
    	"runtime"
    	"runtime/debug"
    	"sort"
    	"strings"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/kms"
    )
    
    // getLocalServerProperty - returns madmin.ServerProperties for only the
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  6. cmd/endpoint-ellipses.go

    		setCounts = append(setCounts, setCount)
    	}
    
    	// Not necessarily needed but it ensures to the readers
    	// eyes that we prefer a sorted setCount slice for the
    	// subsequent function to figure out the right common
    	// divisor, it avoids loops.
    	sort.Slice(setCounts, func(i, j int) bool {
    		return setCounts[i] < setCounts[j]
    	})
    
    	return setCounts
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool-decom.go

    		})
    	if err != nil {
    		err = fmt.Errorf("decommissionObject: PutObject() %w", err)
    	}
    	return err
    }
    
    // versionsSorter sorts FileInfo slices by version.
    //
    //msgp:ignore versionsSorter
    type versionsSorter []FileInfo
    
    func (v versionsSorter) reverse() {
    	sort.Slice(v, func(i, j int) bool {
    		return v[i].ModTime.Before(v[j].ModTime)
    	})
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  8. cmd/iam-store.go

    		if userPredicate != nil && !userPredicate(user) {
    			return true
    		}
    
    		ps := mappedPolicy.toSlice()
    		sort.Strings(ps)
    		r = append(r, madmin.UserPolicyEntities{
    			User:     user,
    			Policies: ps,
    		})
    		return true
    	})
    
    	sort.Slice(r, func(i, j int) bool {
    		return r[i].User < r[j].User
    	})
    
    	return r
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  9. cmd/peer-s3-client.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"sort"
    	"strconv"
    	"sync/atomic"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/grid"
    	"github.com/minio/pkg/v2/sync/errgroup"
    	"golang.org/x/exp/slices"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  10. docs/distributed/distributed-from-config-file.sh

    fi
    
    # Compare the difference of the list of disks and their location, with the below expected output
    diff <(./mc admin info minio1 --json | jq -r '.info.servers[].drives[] | "\(.pool_index),\(.set_index),\(.disk_index) \(.endpoint)"' | sort) <(
    	cat <<EOF
    0,0,0 http://localhost:9001/tmp/xl/node9001/mnt/disk1
    0,0,1 http://localhost:9002/tmp/xl/node9002/mnt/disk1
    0,0,2 http://localhost:9001/tmp/xl/node9001/mnt/disk2
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 3.2K bytes
    - Viewed (0)
Back to top