Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 261 for Const (0.12 sec)

  1. cmd/data-usage_test.go

    		{name: "bucket/dir1/dira/dirasub/sublevel3/dccccfile", size: 10},
    	}
    	createUsageTestFiles(t, base, "", files)
    	const foldersBelow = 3
    	const filesBelowT = dataScannerCompactLeastObject / 2
    	const filesAboveT = dataScannerCompactAtFolders + 1
    	const expectSize = foldersBelow*filesBelowT + filesAboveT
    
    	generateUsageTestFiles(t, base, "bucket/dirwithalot", foldersBelow, filesBelowT, 1)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  2. internal/bucket/replication/destination.go

    	"encoding/xml"
    	"fmt"
    	"strings"
    
    	"github.com/minio/pkg/v2/wildcard"
    )
    
    // DestinationARNPrefix - destination ARN prefix as per AWS S3 specification.
    const DestinationARNPrefix = "arn:aws:s3:::"
    
    // DestinationARNMinIOPrefix - destination ARN prefix for MinIO.
    const DestinationARNMinIOPrefix = "arn:minio:replication:"
    
    // Destination - destination in ReplicationConfiguration.
    type Destination struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4K bytes
    - Viewed (2)
  3. internal/config/etcd/etcd.go

    	clientv3 "go.etcd.io/etcd/client/v3"
    	"go.etcd.io/etcd/client/v3/namespace"
    	"go.uber.org/zap"
    )
    
    const (
    	// Default values used while communicating with etcd.
    	defaultDialTimeout   = 5 * time.Second
    	defaultDialKeepAlive = 30 * time.Second
    )
    
    // etcd environment values
    const (
    	Endpoints     = "endpoints"
    	PathPrefix    = "path_prefix"
    	CoreDNSPath   = "coredns_path"
    	ClientCert    = "client_cert"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  4. internal/bucket/replication/datatypes.go

    package replication
    
    //go:generate msgp -file=$GOFILE
    
    // StatusType of Replication for x-amz-replication-status header
    type StatusType string
    
    // Type - replication type enum
    type Type int
    
    const (
    	// Pending - replication is pending.
    	Pending StatusType = "PENDING"
    
    	// Completed - replication completed ok.
    	Completed StatusType = "COMPLETED"
    
    	// CompletedLegacy was called "COMPLETE" incorrectly.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool-rebalance.go

    	}
    	rs.Bytes += uint64(onDiskSz)
    	rs.Bucket = bucket
    	rs.Object = fi.Name
    }
    
    type rstats []*rebalanceStats
    
    //go:generate stringer -type=rebalStatus -trimprefix=rebal $GOFILE
    type rebalStatus uint8
    
    const (
    	rebalNone rebalStatus = iota
    	rebalStarted
    	rebalCompleted
    	rebalStopped
    	rebalFailed
    )
    
    type rebalanceInfo struct {
    	StartTime time.Time   `msg:"startTs"` // Time at which rebalance-start was issued
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  6. cmd/metrics-v3-cluster-notification.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 cmd
    
    import (
    	"context"
    )
    
    const (
    	notificationCurrentSendInProgress = "current_send_in_progress"
    	notificationEventsErrorsTotal     = "events_errors_total"
    	notificationEventsSentTotal       = "events_sent_total"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:10:35 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  7. internal/config/ilm/help.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 ilm
    
    import "github.com/minio/minio/internal/config"
    
    const (
    	transitionWorkers = "transition_workers"
    	expirationWorkers = "expiration_workers"
    	// EnvILMTransitionWorkers env variable to configure number of transition workers
    	EnvILMTransitionWorkers = "MINIO_ILM_TRANSITION_WORKERS"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  8. internal/crypto/auto-encryption.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package crypto
    
    import (
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/pkg/v2/env"
    )
    
    const (
    	// EnvKMSAutoEncryption is the environment variable used to en/disable
    	// SSE-S3 auto-encryption. SSE-S3 auto-encryption, if enabled,
    	// requires a valid KMS configuration and turns any non-SSE-C
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  9. internal/disk/directio_unix.go

    package disk
    
    import (
    	"os"
    	"syscall"
    
    	"github.com/ncw/directio"
    	"golang.org/x/sys/unix"
    )
    
    // ODirectPlatform indicates if the platform supports O_DIRECT
    const ODirectPlatform = true
    
    // OpenFileDirectIO - bypass kernel cache.
    func OpenFileDirectIO(filePath string, flag int, perm os.FileMode) (*os.File, error) {
    	return directio.OpenFile(filePath, flag, perm)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Jun 17 14:31:36 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  10. cmd/metrics-v3-system-memory.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 cmd
    
    import (
    	"context"
    )
    
    const (
    	memTotal     = "total"
    	memUsed      = "used"
    	memFree      = "free"
    	memBuffers   = "buffers"
    	memCache     = "cache"
    	memUsedPerc  = "used_perc"
    	memShared    = "shared"
    	memAvailable = "available"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:10:25 GMT 2024
    - 2.2K bytes
    - Viewed (0)
Back to top