- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 1,053 for struct_ (0.11 seconds)
-
cmd/object-api-errors.go
type InvalidETag struct{} func (e InvalidETag) Error() string { return "etag of the object has changed" } // BackendDown is returned for network errors type BackendDown struct { Err string } func (e BackendDown) Error() string { return e.Err } // NotImplemented If a feature is not implemented type NotImplemented struct { Message string }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 09 02:05:14 GMT 2024 - 22.1K bytes - Click Count (0) -
schema/schema.go
if field, ok := schema.FieldsByDBName[namerColumnName]; ok { return field } return nil } // LookUpFieldByBindName looks for the closest field in the embedded struct. // // type Struct struct { // Embedded struct { // ID string // is selected by LookUpFieldByBindName([]string{"Embedded", "ID"}, "ID") // } // ID string // is selected by LookUpFieldByBindName([]string{"ID"}, "ID") // }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 13.3K bytes - Click Count (0) -
internal/logger/reqinfo.go
// KeyVal - appended to ReqInfo.Tags type KeyVal struct { Key string Val string } // ObjectVersion object version key/versionId type ObjectVersion struct { ObjectName string VersionID string `json:"VersionId,omitempty"` } // ReqInfo stores the request info. // Reading/writing directly to struct requires appropriate R/W lock. type ReqInfo struct { RemoteHost string // Client Host/IPCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 4.4K bytes - Click Count (0) -
cmd/data-usage-cache.go
type dataUsageCacheV2 struct { Info dataUsageCacheInfo Cache map[string]dataUsageEntryV2 } // dataUsageCacheV3 contains a cache of data usage entries version 3. type dataUsageCacheV3 struct { Info dataUsageCacheInfo Cache map[string]dataUsageEntryV3 } // dataUsageCacheV4 contains a cache of data usage entries version 4. type dataUsageCacheV4 struct { Info dataUsageCacheInfoCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 34.7K bytes - Click Count (0) -
association.go
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sun Oct 26 12:09:12 GMT 2025 - 23.6K bytes - Click Count (0) -
internal/config/policy/opa/config.go
// form http://localhost:8181/v1/data/httpapi/authz type opaResultAllow struct { Result struct { Allow bool `json:"allow"` } `json:"result"` } // Handle simpler OPA responses when OPA URL is of // form http://localhost:8181/v1/data/httpapi/authz/allow type opaResult struct { Result bool `json:"result"` } respBody := bytes.NewReader(opaRespBytes)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.3K bytes - Click Count (0) -
cmd/bucket-lifecycle_test.go
"github.com/minio/minio/internal/bucket/lifecycle" xhttp "github.com/minio/minio/internal/http" ) // TestParseRestoreObjStatus tests parseRestoreObjStatus func TestParseRestoreObjStatus(t *testing.T) { testCases := []struct { restoreHdr string expectedStatus restoreObjStatus expectedErr error }{ { // valid: represents a restored object, 'pending' expiry.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 31 09:57:57 GMT 2022 - 7K bytes - Click Count (0) -
internal/event/arn_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package event import ( "encoding/xml" "reflect" "testing" ) func TestARNString(t *testing.T) { testCases := []struct { arn ARN expectedResult string }{ {ARN{}, ""}, {ARN{TargetID{"1", "webhook"}, ""}, "arn:minio:sqs::1:webhook"}, {ARN{TargetID{"1", "webhook"}, "us-east-1"}, "arn:minio:sqs:us-east-1:1:webhook"},
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 3.8K bytes - Click Count (0) -
internal/event/rules_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package event import ( "reflect" "testing" ) func TestNewPattern(t *testing.T) { testCases := []struct { prefix string suffix string expectedResult string }{ {"", "", ""}, {"*", "", "*"}, {"", "*", "*"}, {"images/", "", "images/*"}, {"images/*", "", "images/*"},
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 8.8K bytes - Click Count (0) -
internal/config/storageclass/storage-class_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package storageclass import ( "errors" "reflect" "testing" ) func TestParseStorageClass(t *testing.T) { tests := []struct { storageClassEnv string wantSc StorageClass expectedError error }{ { "EC:3", StorageClass{ Parity: 3, }, nil, }, { "EC:4", StorageClass{
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 15 23:04:20 GMT 2023 - 4.3K bytes - Click Count (0)