- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 635 for struct (0.04 sec)
-
cmd/server-main_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "reflect" "testing" ) func TestServerConfigFile(t *testing.T) { for _, testcase := range []struct { config string expectedErr bool hash string }{ { config: "testdata/config/1.yaml", expectedErr: false, hash: "hash:02bf70285dc71f76", }, {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 3.1K bytes - Viewed (0) -
cmd/post-policy-fan-out.go
"github.com/minio/minio/internal/crypto" "github.com/minio/minio/internal/hash" xhttp "github.com/minio/minio/internal/http" "github.com/minio/minio/internal/kms" ) type fanOutOptions struct { Kind crypto.Type KeyID string Key []byte KmsCtx kms.Context Checksum *hash.Checksum MD5Hex string } // fanOutPutObject takes an input source reader and fans out multiple PUT operations
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 3.5K bytes - Viewed (0) -
cmd/metrics-resource.go
latestDriveStatsMu sync.RWMutex lastDriveStatsRefresh time.Time ) // PeerResourceMetrics represents the resource metrics // retrieved from a peer, along with errors if any type PeerResourceMetrics struct { Metrics map[MetricSubsystem]ResourceMetrics Errors []string } // ResourceMetrics is a map of unique key identifying // a resource metric (e.g. reads_per_sec_{node}_{drive}) // to its data
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 17.2K bytes - Viewed (0) -
utils/tests/dummy_dialecter.go
package tests import ( "gorm.io/gorm" "gorm.io/gorm/callbacks" "gorm.io/gorm/clause" "gorm.io/gorm/logger" "gorm.io/gorm/schema" ) type DummyDialector struct { TranslatedErr error } func (DummyDialector) Name() string { return "dummy" } func (DummyDialector) Initialize(db *gorm.DB) error { callbacks.RegisterDefaultCallbacks(db, &callbacks.Config{
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Mar 06 06:03:31 UTC 2023 - 2.2K bytes - Viewed (0) -
cmd/api-response_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "net/http" "testing" ) // Tests object location. func TestObjectLocation(t *testing.T) { testCases := []struct { request *http.Request bucket, object string domains []string expectedLocation string }{ // Server binding to localhost IP with https. { request: &http.Request{
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 3.5K bytes - Viewed (0) -
cmd/object-handlers_test.go
// since dataInserted === dataFetched back is a primary criteria for any object storage this assertion is critical. bytesData := []struct { byteData []byte }{ {generateBytesData(6 * humanize.MiByte)}, } // set of inputs for uploading the objects before tests for downloading is done. putObjectInputs := []struct { bucketName string objectName string contentLength int64 textData []byte
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 163.1K bytes - Viewed (0) -
cmd/bucket-encryption.go
package cmd import ( "errors" "io" sse "github.com/minio/minio/internal/bucket/encryption" ) // BucketSSEConfigSys - in-memory cache of bucket encryption config type BucketSSEConfigSys struct{} // NewBucketSSEConfigSys - Creates an empty in-memory bucket encryption configuration cache func NewBucketSSEConfigSys() *BucketSSEConfigSys { return &BucketSSEConfigSys{} }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Oct 25 00:44:15 UTC 2022 - 1.7K bytes - Viewed (1) -
cmd/config-dir.go
// Public certificate file for HTTPS. publicCertFile = "public.crt" // Private key file for HTTPS. privateKeyFile = "private.key" ) // ConfigDir - points to a user set directory. type ConfigDir struct { path string } func getDefaultConfigDir() string { homeDir, err := homedir.Dir() if err != nil { return "" } return filepath.Join(homeDir, defaultMinioConfigDir) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 3K bytes - Viewed (0) -
tests/group_by_test.go
t.Errorf("no error should happen, but got %v", err) } if name != "groupby1" || total != 660 { t.Errorf("name should be groupby, but got %v, total should be 660, but got %v", name, total) } result := struct { Name string Total int64 }{} if err := DB.Model(&User{}).Select("name, sum(age) as total").Where("name LIKE ?", "groupby%").Group("name").Having("name = ?", "groupby1").Find(&result).Error; err != nil {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 3.3K bytes - Viewed (0) -
cmd/site-replication.go
} } return diffSlc } type srBucketMetaInfo struct { madmin.SRBucketInfo DeploymentID string } type srPolicy struct { madmin.SRIAMPolicy DeploymentID string } type srPolicyMapping struct { madmin.SRPolicyMapping DeploymentID string } type srUserInfo struct { madmin.UserInfo DeploymentID string }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 184.7K bytes - Viewed (0)