Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for mapael (0.26 sec)

  1. 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)
  2. tests/customize_field_test.go

    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestCustomizeColumn(t *testing.T) {
    	type CustomizeColumn struct {
    		ID   int64      `gorm:"column:mapped_id; primary_key:yes"`
    		Name string     `gorm:"column:mapped_name"`
    		Date *time.Time `gorm:"column:mapped_time"`
    	}
    
    	DB.Migrator().DropTable(&CustomizeColumn{})
    	DB.AutoMigrate(&CustomizeColumn{})
    
    	expected := "foo"
    	now := time.Now()
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Sep 11 09:33:31 GMT 2020
    - 6.9K bytes
    - Viewed (0)
  3. 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)
  4. src/bytes/bytes.go

    	return Map(unicode.ToLower, s)
    }
    
    // ToTitle treats s as UTF-8-encoded bytes and returns a copy with all the Unicode letters mapped to their title case.
    func ToTitle(s []byte) []byte { return Map(unicode.ToTitle, s) }
    
    // ToUpperSpecial treats s as UTF-8-encoded bytes and returns a copy with all the Unicode letters mapped to their
    // upper case, giving priority to the special casing rules.
    func ToUpperSpecial(c unicode.SpecialCase, s []byte) []byte {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  5. 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)
  6. internal/config/identity/openid/openid.go

    }
    
    // LookupUser lookup userid for the provider
    func (r Config) LookupUser(roleArn, userid string) (provider.User, error) {
    	// Can safely ignore error here as empty or invalid ARNs will not be
    	// mapped.
    	arnVal, _ := arn.Parse(roleArn)
    	pCfg, ok := r.arnProviderCfgsMap[arnVal]
    	if ok {
    		user, err := pCfg.provider.LookupUser(userid)
    		if err != nil && err != provider.ErrAccessTokenExpired {
    			return user, err
    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)
  7. src/cmd/cgo/internal/test/issue1435.go

    	}
    	if !foundAThread {
    		return fmt.Errorf("found no thread /proc/<TID>/status files for process %q", expectedProc)
    	}
    	return nil
    }
    
    // test1435 test 9 glibc implemented setuid/gid syscall functions are
    // mapped.  This test is a slightly more expansive test than that of
    // src/syscall/syscall_linux_test.go:TestSetuidEtc() insofar as it
    // launches concurrent threads from C code via CGo and validates that
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  8. cmd/admin-handlers-idp-ldap.go

    	"net/http"
    	"strings"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v2/policy"
    )
    
    // ListLDAPPolicyMappingEntities lists users/groups mapped to given/all policies.
    //
    // GET <admin-prefix>/idp/ldap/policy-entities?[query-params]
    //
    // Query params:
    //
    //	user=... -> repeatable query parameter, specifying users to query for
    //	policy mapping
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  9. misc/ios/go_ios_exec.go

    			if path, ok := values["Path"]; ok {
    				return path, nil
    			}
    		}
    	}
    	return "", fmt.Errorf("failed to find device path for bundle: %s", bundleID)
    }
    
    // Parse an xml encoded plist. Plist values are mapped to string.
    func parsePlistDict(dict []byte) (map[string]string, error) {
    	d := xml.NewDecoder(bytes.NewReader(dict))
    	values := make(map[string]string)
    	var key string
    	var hasKey bool
    	for {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
  10. cmd/admin-handlers-users.go

    	password := cred.SecretKey
    
    	allCredentials, err := globalIAMSys.ListUsers(ctx)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	// Add ldap users which have mapped policies if in LDAP mode
    	// FIXME(vadmeste): move this to policy info in the future
    	ldapUsers, err := globalIAMSys.ListLDAPUsers(ctx)
    	if err != nil && err != errIAMActionNotAllowed {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
Back to top