Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for Jasmin (0.2 sec)

  1. cmd/admin-router.go

    import (
    	"net/http"
    
    	"github.com/klauspost/compress/gzhttp"
    	"github.com/klauspost/compress/gzip"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    )
    
    const (
    	adminPathPrefix                = minioReservedBucketPath + "/admin"
    	adminAPIVersion                = madmin.AdminAPIVersion
    	adminAPIVersionPrefix          = SlashSeparator + adminAPIVersion
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  2. cmd/admin-heal-ops.go

    	FailureDetail string            `json:"Detail,omitempty"`
    	StartTime     time.Time         `json:"StartTime"`
    
    	// settings for the heal sequence
    	HealSettings madmin.HealOpts `json:"Settings"`
    
    	// slice of available heal result records
    	Items []madmin.HealResultItem `json:"Items"`
    }
    
    // structure to hold state of all heal sequences in server memory
    type allHealState struct {
    	sync.RWMutex
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  3. cmd/peer-rest-client.go

    	if err != nil {
    		return madmin.DriveSpeedTestResult{}, err
    	}
    	defer xhttp.DrainBody(respBody)
    	waitReader, err := waitForHTTPResponse(respBody)
    	if err != nil {
    		return madmin.DriveSpeedTestResult{}, err
    	}
    
    	var result madmin.DriveSpeedTestResult
    	err = gob.NewDecoder(waitReader).Decode(&result)
    	if err != nil {
    		return result, err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  4. cmd/metrics-resource.go

    			updateResourceMetrics(driveSubsystem, totalInodes, float64(di.FreeInodes+di.UsedInodes), labels, false)
    		}
    	}
    }
    
    func collectLocalResourceMetrics() {
    	var types madmin.MetricType = madmin.MetricsDisk | madmin.MetricNet | madmin.MetricsMem | madmin.MetricsCPU
    
    	m := collectLocalMetrics(types, collectMetricsOpts{
    		hosts: map[string]struct{}{
    			globalLocalNodeName: {},
    		},
    	})
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  5. cmd/erasure-healing-common_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"fmt"
    	"os"
    	"path/filepath"
    	"testing"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    )
    
    // Returns the latest updated FileInfo files and error in case of failure.
    func getLatestFileInfo(ctx context.Context, partsMetadata []FileInfo, defaultParityCount int, errs []error) (FileInfo, error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  6. cmd/object-api-datatypes.go

    	// Multi disk BackendErasure (single, distributed) backend.
    	BackendErasure = BackendType(madmin.Erasure)
    	// Add your own backend.
    )
    
    // StorageInfo - represents total capacity of underlying storage.
    type StorageInfo = madmin.StorageInfo
    
    // objectHistogramInterval is an interval that will be
    // used to report the histogram of objects data sizes
    type objectHistogramInterval struct {
    	name       string
    	start, end int64
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  7. cmd/signature-v4-utils_test.go

    	if err != nil {
    		t.Fatalf("unable create credential, %s", err)
    	}
    
    	_, err = globalIAMSys.CreateUser(ctx, ucreds.AccessKey, madmin.AddOrUpdateUserReq{
    		SecretKey: ucreds.SecretKey,
    		Status:    madmin.AccountEnabled,
    	})
    	if err != nil {
    		t.Fatalf("unable create credential, %s", err)
    	}
    
    	_, owner, s3Err = checkKeyValid(req, ucreds.AccessKey)
    	if s3Err != ErrNone {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  8. cmd/admin-handlers-config-kv.go

    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	globalNotificationSys.SignalConfigReload(subSys)
    	// Tell the client that dynamic config was applied.
    	w.Header().Set(madmin.ConfigAppliedHeader, madmin.ConfigAppliedTrue)
    }
    
    type badConfigErr struct {
    	Err error
    }
    
    // Error - return the error message
    func (bce badConfigErr) Error() string {
    	return bce.Err.Error()
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  9. tests/hooks_test.go

    	}
    
    	if s.Name == "Invalid" {
    		return errors.New("invalid")
    	}
    
    	return nil
    }
    
    func (s *Product2) BeforeUpdate(tx *gorm.DB) (err error) {
    	tx.Statement.Where("owner != ?", "admin")
    	return
    }
    
    func TestUseDBInHooks(t *testing.T) {
    	DB.Migrator().DropTable(&Product2{})
    	DB.AutoMigrate(&Product2{})
    
    	product := Product2{Name: "Invalid", Price: 100}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Feb 18 01:20:29 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  10. internal/grid/connection.go

    	auth          AuthFn
    	tlsConfig     *tls.Config
    	incomingBytes func(n int64) // Record incoming bytes.
    	outgoingBytes func(n int64) // Record outgoing bytes.
    	publisher     *pubsub.PubSub[madmin.TraceInfo, madmin.TraceType]
    
    	blockConnect chan struct{}
    }
    
    // newConnection will create an unconnected connection to a remote.
    func newConnection(o connectionParams) *Connection {
    	c := &Connection{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
Back to top