Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 109 for constants (0.18 sec)

  1. .github/workflows/shfmt.yml

    name: Shell formatting checks
    
    on:
      pull_request:
        branches:
        - master
        - next
    
    permissions:
      contents: read
        
    jobs:
      build:
        name: runner / shfmt
        runs-on: ubuntu-latest
        steps:
          - uses: actions/checkout@v4
          - uses: luizm/action-sh-checker@master
            env:
              GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
              SHFMT_OPTS: "-s"
            with:
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 23:44:49 GMT 2024
    - 452 bytes
    - Viewed (0)
  2. internal/kms/config.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package kms
    
    // Top level config constants for KMS
    const (
    	EnvKMSSecretKey        = "MINIO_KMS_SECRET_KEY"
    	EnvKMSSecretKeyFile    = "MINIO_KMS_SECRET_KEY_FILE"
    	EnvKESEndpoint         = "MINIO_KMS_KES_ENDPOINT"       // One or multiple KES endpoints, separated by ','
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 07:42:50 GMT 2024
    - 2K bytes
    - Viewed (0)
  3. internal/grid/debugmsg_string.go

    // Code generated by "stringer -type=debugMsg debug.go"; DO NOT EDIT.
    
    package grid
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[debugShutdown-0]
    	_ = x[debugKillInbound-1]
    	_ = x[debugKillOutbound-2]
    	_ = x[debugWaitForExit-3]
    	_ = x[debugSetConnPingDuration-4]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 09 16:43:38 GMT 2024
    - 993 bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/action_string.go

    // Code generated by "stringer -type Action lifecycle.go"; DO NOT EDIT.
    
    package lifecycle
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[NoneAction-0]
    	_ = x[DeleteAction-1]
    	_ = x[DeleteVersionAction-2]
    	_ = x[TransitionAction-3]
    	_ = x[TransitionVersionAction-4]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  5. cmd/bucket-lifecycle.go

    // IsRemote returns true if this object version's contents are in its remote
    // tier.
    func (fi FileInfo) IsRemote() bool {
    	if fi.TransitionStatus != lifecycle.TransitionComplete {
    		return false
    	}
    	return !isRestoredObjectOnDisk(fi.Metadata)
    }
    
    // IsRemote returns true if this object version's contents are in its remote
    // tier.
    func (oi ObjectInfo) IsRemote() bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  6. cmd/storage-rest-client.go

    		return fi, err
    	}
    	defer xhttp.DrainBody(respBody)
    
    	dec := msgpNewReader(respBody)
    	defer readMsgpReaderPoolPut(dec)
    
    	err = fi.DecodeMsg(dec)
    	return fi, err
    }
    
    // ReadXL - reads all contents of xl.meta of a file.
    func (client *storageRESTClient) ReadXL(ctx context.Context, volume string, path string, readData bool) (rf RawFileInfo, err error) {
    	// Use websocket when not reading data.
    	if !readData {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  7. cmd/storage-datatypes.go

    func (fi FileInfo) IsCompressed() bool {
    	_, ok := fi.Metadata[ReservedMetadataPrefix+"compression"]
    	return ok
    }
    
    // InlineData returns true if object contents are inlined alongside its metadata.
    func (fi FileInfo) InlineData() bool {
    	_, ok := fi.Metadata[ReservedMetadataPrefixLower+"inline-data"]
    	// Earlier MinIO versions didn't reset "x-minio-internal-inline-data"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  8. cmd/storage-rest-server.go

    		s.writeErrorResponse(w, err)
    		return
    	}
    	err = s.getStorage().AppendFile(r.Context(), volume, filePath, buf)
    	if err != nil {
    		s.writeErrorResponse(w, err)
    	}
    }
    
    // CreateFileHandler - copy the contents from the request.
    func (s *storageRESTServer) CreateFileHandler(w http.ResponseWriter, r *http.Request) {
    	if !s.IsValid(w, r) {
    		return
    	}
    
    	volume := r.Form.Get(storageRESTVolume)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  9. internal/grid/grid_test.go

    		}
    		return
    	}
    }
    
    // Inserted manually.
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[StateUnconnected-0]
    	_ = x[StateConnecting-1]
    	_ = x[StateConnected-2]
    	_ = x[StateConnectionError-3]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:03:35 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  10. cmd/sftp-server.go

    // preference order.
    // https://cs.opensource.google/go/x/crypto/+/refs/tags/v0.22.0:ssh/common.go;l=44
    var supportedKexAlgos = []string{
    	kexAlgoCurve25519SHA256, kexAlgoCurve25519SHA256LibSSH,
    	// P384 and P521 are not constant-time yet, but since we don't
    	// reuse ephemeral keys, using them for ECDH should be OK.
    	kexAlgoECDH256, kexAlgoECDH384, kexAlgoECDH521,
    	kexAlgoDH14SHA256, kexAlgoDH16SHA512, kexAlgoDH14SHA1,
    	kexAlgoDH1SHA1,
    }
    
    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)
Back to top