- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 1,587 for User (0.04 sec)
-
tests/test_tutorial/test_response_model/test_tutorial003_01_py310.py
assert response.json() == { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/user/": { "post": { "summary": "Create User", "operationId": "create_user_user__post", "requestBody": { "content": { "application/json": {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 04 20:47:07 UTC 2023 - 5.8K bytes - Viewed (0) -
helm-releases/minio-4.0.2.tgz
active return 0 } # checkUserExists ($username) # Check if the user exists, by using the exit code of `mc admin user info` checkUserExists() { USER=$1 CMD=$(${MC} admin user info myminio $USER > /dev/null 2>&1) return $? } # createUser ($username, $password, $policy) createUser() { USER=$1 PASS=$2 POLICY=$3 # Create the user if it does not exist if ! checkUserExists $USER ; then echo "Creating user '$USER'" ${MC} admin user add myminio $USER $PASS else echo "User '$USER' already exists." fi # set policy...
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon May 09 04:25:47 UTC 2022 - 18K bytes - Viewed (0) -
helm-releases/minio-4.0.3.tgz
active return 0 } # checkUserExists ($username) # Check if the user exists, by using the exit code of `mc admin user info` checkUserExists() { USER=$1 CMD=$(${MC} admin user info myminio $USER > /dev/null 2>&1) return $? } # createUser ($username, $password, $policy) createUser() { USER=$1 PASS=$2 POLICY=$3 # Create the user if it does not exist if ! checkUserExists $USER ; then echo "Creating user '$USER'" ${MC} admin user add myminio $USER $PASS else echo "User '$USER' already exists." fi # set policy...
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 08 06:16:22 UTC 2022 - 18K bytes - Viewed (0) -
docs_src/generate_clients/tutorial003.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Mar 04 22:02:18 UTC 2022 - 939 bytes - Viewed (0) -
cmd/sftp-server_test.go
accessKey, secretKey := mustGenerateCredentials(c) err := s.adm.SetUser(ctx, accessKey, secretKey, madmin.AccountEnabled) if err != nil { c.Fatalf("Unable to set user: %v", err) } userReq := madmin.PolicyAssociationReq{ Policies: []string{"readwrite"}, User: accessKey, } if _, err := s.adm.AttachPolicy(ctx, userReq); err != nil { c.Fatalf("Unable to attach policy: %v", err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 28 09:06:25 UTC 2024 - 8.3K bytes - Viewed (0) -
tests/scopes_test.go
return d.Where("name in (?)", names) } } func TestScopes(t *testing.T) { users := []*User{ GetUser("ScopeUser1", Config{}), GetUser("ScopeUser2", Config{}), GetUser("ScopeUser3", Config{}), } DB.Create(&users) var users1, users2, users3 []User DB.Scopes(NameIn1And2).Find(&users1) if len(users1) != 2 {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Jan 12 08:42:21 UTC 2024 - 3.3K bytes - Viewed (0) -
docs/distributed/decom.sh
./mc ready myminio ./mc admin user add myminio/ minio123 minio123 ./mc admin user add myminio/ minio12345 minio12345 ./mc admin policy create myminio/ rw ./docs/distributed/rw.json ./mc admin policy create myminio/ lake ./docs/distributed/rw.json ./mc admin policy attach myminio/ rw --user=minio123 ./mc admin policy attach myminio/ lake --user=minio12345 ./mc mb -l myminio/versioned
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon May 27 19:17:46 UTC 2024 - 6.4K bytes - Viewed (0) -
common-protos/k8s.io/api/certificates/v1beta1/generated.proto
// "ipsec tunnel", // "ipsec user", // "timestamping", // "ocsp signing", // "microsoft sgc", // "netscape sgc" // +listType=atomic repeated string usages = 5; // Information about the requesting user. // See user.Info interface for details. // +optional optional string username = 2; // UID information about the requesting user. // See user.Info interface for details.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 6.7K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmServlet.java
int index = auth.indexOf(':'); String user = ( index != -1 ) ? auth.substring(0, index) : auth; String password = ( index != -1 ) ? auth.substring(index + 1) : ""; index = user.indexOf('\\'); if ( index == -1 ) index = user.indexOf('/'); String domain = ( index != -1 ) ? user.substring(0, index) : this.defaultDomain;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 7.6K bytes - Viewed (0) -
schema/callbacks_test.go
return nil } func TestCallback(t *testing.T) { user, err := schema.Parse(&UserWithCallback{}, &sync.Map{}, schema.NamingStrategy{}) if err != nil { t.Fatalf("failed to parse user with callback, got error %v", err) } for _, str := range []string{"BeforeSave", "AfterCreate"} { if !reflect.Indirect(reflect.ValueOf(user)).FieldByName(str).Interface().(bool) { t.Errorf("%v should be true", str) } }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 939 bytes - Viewed (0)