Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for upsert (0.37 sec)

  1. cmd/admin-handlers-users_test.go

    	if err != nil {
    		c.Fatalf("group desc err: %v", err)
    	}
    	c.Assert(groupInfo.Name, group)
    	c.Assert(set.CreateStringSet(groupInfo.Members...), set.CreateStringSet(accessKey))
    	c.Assert(groupInfo.Policy, policy)
    	c.Assert(groupInfo.Status, string(madmin.GroupEnabled))
    
    	// 5. Disable/enable the group and verify that user access is revoked/restored.
    	err = s.adm.SetGroupStatus(ctx, group, madmin.GroupDisabled)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  2. helm/minio/templates/_helper_create_user.txt

        rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP
        return 1
      fi
      USER=$(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP)
      # Create the user if it does not exist
      if ! checkUserExists ; then
        echo "Creating user '$USER'"
        cat $MINIO_ACCESSKEY_SECRETKEY_TMP | ${MC} admin user add myminio
      else
        echo "User '$USER' already exists."
      fi
      #clean up credentials files.
      rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Dec 12 23:43:32 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  3. cmd/admin-handlers-users-race_test.go

    				if err != nil {
    					return err
    				}
    				c.mustNotListObjects(ctx, uClient, bucket)
    				return nil
    			}
    		}(i), i)
    	}
    	if errs := g.Wait(); len(errs) > 0 {
    		c.Fatalf("unable to remove users: %v", errs)
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  4. cmd/metrics-v3-cluster-audit.go

    )
    
    var (
    	auditFailedMessagesMD = NewCounterMD(auditFailedMessages,
    		"Total number of messages that failed to send since start",
    		targetID)
    	auditTargetQueueLengthMD = NewGaugeMD(auditTargetQueueLength,
    		"Number of unsent messages in queue for target",
    		targetID)
    	auditTotalMessagesMD = NewCounterMD(auditTotalMessages,
    		"Total number of messages sent since start",
    		targetID)
    )
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 17 09:18:02 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  5. cmd/object-api-datatypes_gen.go

    		var zb0001 int
    		zb0001, bts, err = msgp.ReadIntBytes(bts)
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = BackendType(zb0001)
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z BackendType) Msgsize() (s int) {
    	s = msgp.IntSize
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 69.8K bytes
    - Viewed (0)
  6. docs/LICENSE

              all media and formats whether now known or hereafter created,
              and to make technical modifications necessary to do so. The
              Licensor waives and/or agrees not to assert any right or
              authority to forbid You from making technical modifications
              necessary to exercise the Licensed Rights, including
              technical modifications necessary to circumvent Effective
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon May 10 16:50:06 GMT 2021
    - 18.2K bytes
    - Viewed (0)
  7. cmd/bucket-replication-utils_gen.go

    				return
    			}
    		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 *BucketReplicationResyncStatus) Msgsize() (s int) {
    	s = 1 + 2 + msgp.IntSize + 4 + msgp.MapHeaderSize
    	if z.TargetsMap != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 61.1K bytes
    - Viewed (0)
  8. cmd/bucket-policy-handlers_test.go

    		// Call the ServeHTTP to execute the handler, GetBucketPolicyHandler handles the request.
    		apiRouter.ServeHTTP(recV4, reqV4)
    		// Assert the response code with the expected status.
    		if recV4.Code != testCase.expectedRespStatus {
    			t.Fatalf("Case %d: Expected the response status to be `%d`, but instead found `%d`", i+1, testCase.expectedRespStatus, recV4.Code)
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  9. buildscripts/resolve-right-versions.sh

    	echo "minio executable binary not found in current directory"
    	exit 1
    fi
    
    function start_minio_5drive() {
    	start_port=$1
    
    	export MINIO_ROOT_USER=minio
    	export MINIO_ROOT_PASSWORD=minio123
    	export MC_HOST_minio="http://minio:minio123@127.0.0.1:${start_port}/"
    	unset MINIO_KMS_AUTO_ENCRYPTION # do not auto-encrypt objects
    	export MINIO_CI_CD=1
    
    	MC_BUILD_DIR="mc-$RANDOM"
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Aug 16 14:51:33 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  10. cmd/last-minute_gen.go

    				return
    			}
    		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 AccElem) Msgsize() (s int) {
    	s = 1 + 6 + msgp.Int64Size + 5 + msgp.Int64Size + 2 + msgp.Int64Size
    	return
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jul 05 21:45:49 GMT 2022
    - 17.2K bytes
    - Viewed (0)
Back to top