Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for lint (0.18 sec)

  1. cmd/endpoint-ellipses.go

    	if err != nil {
    		return err
    	}
    	found := false
    	list := *el
    	for i := range list {
    		if list[i].nodeName == u.Host {
    			list[i].disks = append(list[i].disks, u.String())
    			found = true
    			break
    		}
    	}
    	if !found {
    		list = append(list, node{nodeName: u.Host, disks: []string{u.String()}})
    	}
    	*el = list
    	return nil
    }
    
    type poolArgs struct {
    	args          []string
    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)
  2. cmd/metrics-v3-handler.go

    }
    
    // ServeHTTP - implements http.Handler interface.
    //
    // When the `list` query parameter is provided (its value is ignored), the
    // server lists all metrics that could be returned for the requested path.
    //
    // The (repeatable) `buckets` query parameter is a list of bucket names (or it
    // could be a comma separated value) to return metrics with a bucket label.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  3. utils/utils.go

    	switch v := value.(type) {
    	case string:
    		return v
    	case int:
    		return strconv.FormatInt(int64(v), 10)
    	case int8:
    		return strconv.FormatInt(int64(v), 10)
    	case int16:
    		return strconv.FormatInt(int64(v), 10)
    	case int32:
    		return strconv.FormatInt(int64(v), 10)
    	case int64:
    		return strconv.FormatInt(v, 10)
    	case uint:
    		return strconv.FormatUint(uint64(v), 10)
    	case uint8:
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 22 06:43:02 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. cmd/test-utils_test.go

    // return URL for listing objects in the bucket with V2 API.
    func getListObjectsV2URL(endPoint, bucketName, prefix, maxKeys, fetchOwner, encodingType string) string {
    	queryValue := url.Values{}
    	queryValue.Set("list-type", "2") // Enables list objects V2 URL.
    	if maxKeys != "" {
    		queryValue.Set("max-keys", maxKeys)
    	}
    	if fetchOwner != "" {
    		queryValue.Set("fetch-owner", fetchOwner)
    	}
    	if encodingType != "" {
    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)
  5. cmd/metacache-entries.go

    }
    
    type metadataResolutionParams struct {
    	dirQuorum int // Number if disks needed for a directory to 'exist'.
    	objQuorum int // Number of disks needed for an object to 'exist'.
    
    	// An optimization request only an 'n' amount of versions from xl.meta
    	// to avoid resolving all versions to figure out the latest 'version'
    	// for ListObjects, ListObjectsV2
    	requestedVersions int
    
    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)
  6. internal/config/identity/ldap/config.go

    	if !valResult.IsOk() {
    		// Set to false if configuration fails to validate.
    		l.LDAP.Enabled = false
    		return l, valResult
    	}
    
    	return l, nil
    }
    
    // GetConfigList - returns a list of LDAP configurations.
    func (l *Config) GetConfigList(s config.Config) ([]madmin.IDPListItem, error) {
    	ldapConfigs, err := s.GetAvailableTargets(config.IdentityLDAPSubSys)
    	if err != nil {
    		return nil, err
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 7.9K bytes
    - Viewed (2)
  7. cmd/sftp-server.go

    	kexAlgoDH1SHA1,
    }
    
    // supportedPubKeyAuthAlgos specifies the supported client public key
    // authentication algorithms. Note that this doesn't include certificate types
    // since those use the underlying algorithm. This list is sent to the client if
    // it supports the server-sig-algs extension. Order is irrelevant.
    // https://cs.opensource.google/go/x/crypto/+/refs/tags/v0.22.0:ssh/common.go;l=142
    var supportedPubKeyAuthAlgos = []string{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/net.go

    	return nil
    }
    
    func pruneHostIPset(expected sets.Set[netip.Addr], hostsideProbeSet *ipset.IPSet) error {
    	actualIPSetContents, err := hostsideProbeSet.ListEntriesByIP()
    	if err != nil {
    		log.Warnf("unable to list IPSet: %v", err)
    		return err
    	}
    	actual := sets.New[netip.Addr](actualIPSetContents...)
    	stales := actual.DifferenceInPlace(expected)
    
    	for staleIP := range stales {
    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)
  9. cmd/site-replication.go

    	Enabled           bool
    	MaxBuckets        int                             // maximum buckets seen across sites
    	MaxUsers          int                             // maximum users seen across sites
    	MaxGroups         int                             // maximum groups seen across sites
    	MaxPolicies       int                             // maximum policies across sites
    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)
  10. istioctl/pkg/injector/injector-list_test.go

    Ben Leggett <******@****.***> 1714685380 -0400
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 2.9K bytes
    - Viewed (0)
Back to top