Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for bond (0.17 sec)

  1. internal/logger/console.go

    	ExitFunc(1)
    }
    
    func (f fatalMsg) quiet(msg string, args ...interface{}) {
    	f.pretty(msg, args...)
    }
    
    var (
    	logTag      = "ERROR"
    	logBanner   = color.BgRed(color.FgWhite(color.Bold(logTag))) + " "
    	emptyBanner = color.BgRed(strings.Repeat(" ", len(logTag))) + " "
    	bannerWidth = len(logTag) + 1
    )
    
    func (f fatalMsg) pretty(msg string, args ...interface{}) {
    	// Build the passed error message
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. cmd/iam.go

    	}
    	var arns []string
    	for arn := range sys.rolesMap {
    		arns = append(arns, arn.String())
    	}
    	sort.Strings(arns)
    	msgs := make([]string, 0, len(arns))
    	for _, arn := range arns {
    		msgs = append(msgs, color.Bold(arn))
    	}
    
    	logger.Info(fmt.Sprintf("%s %s", color.Blue("IAM Roles:"), strings.Join(msgs, " ")))
    }
    
    // HasWatcher - returns if the IAM system has a watcher to be notified of
    // changes.
    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/sts-handlers_test.go

    	defer cancel()
    
    	configCmds := []string{
    		"identity_ldap",
    		fmt.Sprintf("server_addr=%s", serverAddr),
    		"server_insecure=on",
    		"lookup_bind_dn=cn=admin,dc=min,dc=io",
    		"lookup_bind_password=admin",
    		"user_dn_search_base_dn=dc=min,dc=io",
    		"user_dn_search_filter=(uid=%s)",
    		"group_search_base_dn=ou=swengg,dc=min,dc=io",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  4. internal/config/identity/ldap/config.go

    	}
    	return cfg
    }
    
    // LDAP keys and envs.
    const (
    	ServerAddr         = "server_addr"
    	SRVRecordName      = "srv_record_name"
    	LookupBindDN       = "lookup_bind_dn"
    	LookupBindPassword = "lookup_bind_password"
    	UserDNSearchBaseDN = "user_dn_search_base_dn"
    	UserDNSearchFilter = "user_dn_search_filter"
    	GroupSearchFilter  = "group_search_filter"
    	GroupSearchBaseDN  = "group_search_base_dn"
    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)
  5. cmd/storage-datatypes_gen.go

    		default:
    			bts, err = msgp.Skip(bts)
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z BaseOptions) Msgsize() (s int) {
    	s = 1
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 127.5K bytes
    - Viewed (0)
  6. cmd/sftp-server.go

    				if err != nil && !errors.Is(err, errNoSuchServiceAccount) {
    					return nil, err
    				}
    				if errors.Is(err, errNoSuchServiceAccount) {
    					targetUser, targetGroups, err := globalIAMSys.LDAPConfig.Bind(c.User(), string(pass))
    					if err != nil {
    						return nil, err
    					}
    					ldapPolicies, _ := globalIAMSys.PolicyDBGet(targetUser, targetGroups...)
    					if len(ldapPolicies) == 0 {
    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)
  7. cmd/sts-handlers.go

    		h.Write([]byte("openid:" + subFromToken + ":" + issFromToken))
    		bs := h.Sum(nil)
    		cred.ParentUser = base64.RawURLEncoding.EncodeToString(bs)
    	}
    
    	// Deny this assume role request if the policy that the user intends to bind
    	// has a sts:DurationSeconds condition, which is not satisfied as well
    	{
    		p := policyName
    		if p == "" {
    			var err error
    			_, p, err = globalIAMSys.GetRolePolicy(roleArnStr)
    			if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  8. cmd/data-usage-cache.go

    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    			(*z)[zb0003] = struct{}{}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z dataUsageHashMap) Msgsize() (s int) {
    	s = msgp.ArrayHeaderSize
    	for zb0004 := range z {
    		s += msgp.StringPrefixSize + len(zb0004)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  9. internal/color/color.go

    	IsTerminal = func() bool {
    		return !color.NoColor
    	}
    
    	Bold = func() func(format string, a ...interface{}) string {
    		if IsTerminal() {
    			return color.New(color.Bold).SprintfFunc()
    		}
    		return fmt.Sprintf
    	}()
    
    	RedBold = func() func(a ...interface{}) string {
    		if IsTerminal() {
    			return color.New(color.FgRed, color.Bold).SprintFunc()
    		}
    		return fmt.Sprint
    	}()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  10. cmd/server-main.go

    		Value:  ":" + GlobalMinioDefaultPort,
    		Usage:  "bind to a specific ADDRESS:PORT, ADDRESS can be an IP or hostname",
    		EnvVar: "MINIO_ADDRESS",
    	},
    	cli.IntFlag{
    		Name:   "listeners", // Deprecated Oct 2022
    		Value:  1,
    		Usage:  "bind N number of listeners per ADDRESS:PORT",
    		EnvVar: "MINIO_LISTENERS",
    		Hidden: true,
    	},
    	cli.StringFlag{
    		Name:   "console-address",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
Back to top