Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 55 for io (0.18 sec)

  1. cmd/server-main.go

    			addrs.Add(globalMinioAddr)
    		}
    	} else {
    		addrs.Add(globalMinioAddr)
    	}
    	return addrs.ToSlice()
    }
    
    var globalLoggerOutput io.WriteCloser
    
    func initializeLogRotate(ctx *cli.Context) (io.WriteCloser, error) {
    	lgDir := ctx.String("log-dir")
    	if lgDir == "" {
    		return os.Stderr, nil
    	}
    	lgDirAbs, err := filepath.Abs(lgDir)
    	if err != nil {
    		return nil, err
    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)
  2. cmd/object-handlers_test.go

    		}
    
    		readers := []io.Reader{}
    		cumulativeSum := int64(0)
    		for _, p := range oi.partLengths {
    			readers = append(readers, NewDummyDataGen(p, cumulativeSum))
    			cumulativeSum += p
    		}
    		refReader := io.LimitReader(ioutilx.NewSkipReader(io.MultiReader(readers...), off), length)
    		if ok, msg := cmpReaders(refReader, rec.Body); !ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  3. cmd/object-api-interface.go

    package cmd
    
    import (
    	"context"
    	"io"
    	"net/http"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio-go/v7/pkg/encrypt"
    	"github.com/minio/minio-go/v7/pkg/tags"
    	"github.com/minio/minio/internal/hash"
    
    	"github.com/minio/minio/internal/bucket/replication"
    	xioutil "github.com/minio/minio/internal/ioutil"
    )
    
    //go:generate msgp -file $GOFILE -io=false -tests=false -unexported=false
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 17K bytes
    - Viewed (0)
  4. cmd/build-constants.go

    	// MinioOSARCH - OS and ARCH.
    	minioOSARCH = runtime.GOOS + "-" + runtime.GOARCH
    
    	// MinioReleaseBaseURL - release url without os and arch.
    	MinioReleaseBaseURL = "https://dl.min.io/server/minio/release/"
    
    	// MinioReleaseURL - release URL.
    	MinioReleaseURL = MinioReleaseBaseURL + minioOSARCH + SlashSeparator
    
    	// MinioStoreName - MinIO store name.
    	MinioStoreName = "MinIO"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  5. cni/pkg/constants/constants.go

    	ReadinessPort     = "8000"
    )
    
    // Exposed for testing constants
    var (
    	CNIBinDir          = "/opt/cni/bin"
    	HostCNIBinDir      = "/host/opt/cni/bin"
    	ServiceAccountPath = "/var/run/secrets/kubernetes.io/serviceaccount"
    	// Well-known subpath we will mount any needed host-mounts under,
    	// to preclude shadowing or breaking any pod-internal mounts
    	HostMountsPath = "/host"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  6. cmd/admin-handlers.go

    	ctx, cancel := context.WithTimeout(ctx, madmin.MaxClientPerfTimeout)
    	defer cancel()
    	totalRx := int64(0)
    	connectTime := time.Now()
    	for {
    		n, err := io.CopyN(xioutil.Discard, r.Body, 128*humanize.KiByte)
    		if err != nil && err != io.EOF && err != io.ErrUnexpectedEOF {
    			// would mean the network is not stable. Logging here will help in debugging network issues.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  7. internal/logger/logger.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package logger
    
    import (
    	"context"
    	"encoding/hex"
    	"errors"
    	"fmt"
    	"go/build"
    	"io"
    	"os"
    	"path/filepath"
    	"reflect"
    	"runtime"
    	"sort"
    	"strings"
    	"time"
    
    	"github.com/minio/highwayhash"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/color"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  8. istioctl/pkg/waypoint/waypoint.go

    	"github.com/spf13/cobra"
    	"k8s.io/apimachinery/pkg/api/errors"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	gateway "sigs.k8s.io/gateway-api/apis/v1"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/api/label"
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/pilot/pkg/model/kstatus"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/config/protocol"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 19:45:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  9. cmd/erasure-multipart.go

    		buffer = buffer[:fi.Erasure.BlockSize]
    	}
    	writers := make([]io.Writer, len(onlineDisks))
    	for i, disk := range onlineDisks {
    		if disk == nil {
    			continue
    		}
    		writers[i] = newBitrotWriter(disk, bucket, minioMetaTmpBucket, tmpPartPath, erasure.ShardFileSize(data.Size()), DefaultBitrotAlgorithm, erasure.ShardSize())
    	}
    
    	toEncode := io.Reader(data)
    	if data.Size() > bigFileThreshold {
    		// Add input readahead.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  10. internal/auth/credentials.go

    }
    
    // GenerateAccessKey returns a new access key generated randomly using
    // the given io.Reader. If random is nil, crypto/rand.Reader is used.
    // If length <= 0, the access key length is chosen automatically.
    //
    // GenerateAccessKey returns an error if length is too small for a valid
    // access key.
    func GenerateAccessKey(length int, random io.Reader) (string, error) {
    	if random == nil {
    		random = rand.Reader
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 11.7K bytes
    - Viewed (0)
Back to top