Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 298 for mapped (0.14 sec)

  1. docs/debugging/xl-meta/main.go

    	}
    	if missing > 0 {
    		out += ".truncated"
    	} else {
    		out += ".complete"
    	}
    	fmt.Println(missing, "bytes missing. Truncating", len(filled)-lastValid-1, "from end.")
    	mapped = mapped[:lastValid+1]
    	err := os.WriteFile(out, mapped, os.ModePerm)
    	if err != nil {
    		return err
    	}
    	fmt.Println("Wrote output to", out)
    	return nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  2. cmd/iam.go

    		if len(unknownPoliciesSet) > 0 {
    			authz := newGlobalAuthZPluginFn()
    			if authz == nil {
    				// Print a warning that some policies mapped to a role are not defined.
    				errMsg := fmt.Errorf(
    					"The policies \"%s\" mapped to role ARN %s are not defined - this role may not work as expected.",
    					unknownPoliciesSet.ToSlice(), arn.String())
    				authZLogIf(ctx, errMsg, logger.WarningKind)
    			}
    		}
    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)
  3. cmd/iam-store.go

    }
    
    // MappedPolicy represents a policy name mapped to a user or group
    type MappedPolicy struct {
    	Version   int       `json:"version"`
    	Policies  string    `json:"policy"`
    	UpdatedAt time.Time `json:"updatedAt,omitempty"`
    }
    
    // mappedPoliciesToMap copies the map of mapped policies to a regular map.
    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)
  4. internal/config/identity/openid/openid.go

    			} else {
    				kvsrc.Value = "off"
    			}
    		}
    		res = append(res, madmin.IDPCfgInfo{
    			Key:   kvsrc.Key,
    			Value: kvsrc.Value,
    			IsCfg: true,
    			IsEnv: kvsrc.Src == config.ValueSourceEnv,
    		})
    	}
    
    	if provCfg, exists := r.ProviderCfgs[cfgName]; exists && provCfg.RolePolicy != "" {
    		// Append roleARN
    		res = append(res, madmin.IDPCfgInfo{
    			Key:   "roleARN",
    			Value: provCfg.roleArn.String(),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  5. internal/ioutil/append-file_windows.go

    	"os"
    
    	"github.com/minio/minio/internal/lock"
    )
    
    // AppendFile - appends the file "src" to the file "dst"
    func AppendFile(dst string, src string, osync bool) error {
    	appendFile, err := lock.Open(dst, os.O_WRONLY|os.O_APPEND|os.O_CREATE, 0o666)
    	if err != nil {
    		return err
    	}
    	defer appendFile.Close()
    
    	srcFile, err := lock.Open(src, os.O_RDONLY, 0o666)
    	if err != nil {
    		return err
    	}
    	defer srcFile.Close()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  6. internal/s3select/sql/stringfuncs.go

    import (
    	"errors"
    	"strings"
    )
    
    var (
    	errMalformedEscapeSequence  = errors.New("Malformed escape sequence in LIKE clause")
    	errInvalidTrimArg           = errors.New("Trim argument is invalid - this should not happen")
    	errInvalidSubstringIndexLen = errors.New("Substring start index or length falls outside the string")
    )
    
    const (
    	percent    rune = '%'
    	underscore rune = '_'
    	runeZero   rune = 0
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 4.2K bytes
    - Viewed (0)
  7. internal/mountinfo/mountinfo_linux.go

    		if strings.HasPrefix(mpath, ppath) {
    			// At this point if the mount point has a common prefix two conditions can happen.
    			// - mount.Path matches exact with `path` means we can proceed no error here.
    			// - mount.Path doesn't match (means cross-device mount), should error out.
    			if mount.Path != path {
    				crossMounts = append(crossMounts, mount)
    			}
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.7K bytes
    - Viewed (0)
  8. cmd/metrics-v2.go

    			return
    		}
    
    		metrics = make([]MetricV2, 0, 5)
    		metrics = append(metrics, MetricV2{
    			Description: getHealLastActivityTimeMD(),
    			Value:       float64(time.Since(bgSeq.lastHealActivity)),
    		})
    		metrics = append(metrics, getObjectsScanned(bgSeq)...)
    		metrics = append(metrics, getHealedItems(bgSeq)...)
    		metrics = append(metrics, getFailedItems(bgSeq)...)
    		return
    	})
    	return mg
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  9. cmd/metacache-set_gen.go

    	// map header, size 19
    	// string "ID"
    	o = append(o, 0xde, 0x0, 0x13, 0xa2, 0x49, 0x44)
    	o = msgp.AppendString(o, z.ID)
    	// string "Bucket"
    	o = append(o, 0xa6, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74)
    	o = msgp.AppendString(o, z.Bucket)
    	// string "BaseDir"
    	o = append(o, 0xa7, 0x42, 0x61, 0x73, 0x65, 0x44, 0x69, 0x72)
    	o = msgp.AppendString(o, z.BaseDir)
    	// string "Prefix"
    	o = append(o, 0xa6, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 19 20:23:12 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  10. cmd/batch-replicate_gen.go

    	// string "Type"
    	o = append(o, 0x87, 0xa4, 0x54, 0x79, 0x70, 0x65)
    	o = msgp.AppendString(o, string(z.Type))
    	// string "Bucket"
    	o = append(o, 0xa6, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74)
    	o = msgp.AppendString(o, z.Bucket)
    	// string "Prefix"
    	o = append(o, 0xa6, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78)
    	o = msgp.AppendString(o, z.Prefix)
    	// string "Endpoint"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 22 18:51:46 GMT 2023
    - 40.6K bytes
    - Viewed (0)
Back to top