- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 1,116 for Struct (0.04 seconds)
-
tests/serializer_test.go
package tests_test import ( "bytes" "context" "fmt" "reflect" "strings" "testing" "time" "gorm.io/gorm" "gorm.io/gorm/schema" . "gorm.io/gorm/utils/tests" ) type SerializerStruct struct { gorm.Model Name []byte `gorm:"json"` Roles Roles `gorm:"serializer:json"` Roles2 *Roles `gorm:"serializer:json"`
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sat Nov 22 03:14:36 GMT 2025 - 9.3K bytes - Click Count (0) -
internal/bucket/replication/replication.go
return errReplicationNoRule } // Validate all the rules in the replication config targetMap := make(map[string]struct{}) priorityMap := make(map[string]struct{}) var legacyArn bool for _, r := range c.Rules { if _, ok := targetMap[r.Destination.Bucket]; !ok { targetMap[r.Destination.Bucket] = struct{}{} } if err := r.Validate(bucket, sameTarget); err != nil { return err }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 8.9K bytes - Click Count (0) -
internal/config/server.go
type Opts struct { FTP struct { Address string `yaml:"address"` PassivePortRange string `yaml:"passive-port-range"` } `yaml:"ftp"` SFTP struct { Address string `yaml:"address"` SSHPrivateKey string `yaml:"ssh-private-key"` } `yaml:"sftp"` } // ServerConfigVersion struct is used to extract the version type ServerConfigVersion struct { Version string `yaml:"version"` }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 03 15:54:03 GMT 2024 - 1.9K bytes - Click Count (0) -
cmd/postpolicyform.go
type contentLengthRange struct { Min int64 Max int64 Valid bool // If content-length-range was part of policy } // PostPolicyForm provides strict static type conversion and validation for Amazon S3's POST policy JSON string. type PostPolicyForm struct { Expiration time.Time // Expiration date and time of the POST policy. Conditions struct { // Conditional policy structure. Policies []struct {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Oct 23 15:10:12 GMT 2025 - 12.1K bytes - Click Count (0) -
cmd/batch-handlers_test.go
package cmd import ( "slices" "testing" "gopkg.in/yaml.v3" ) func TestBatchJobPrefix_UnmarshalYAML(t *testing.T) { type args struct { yamlStr string } type PrefixTemp struct { Prefix BatchJobPrefix `yaml:"prefix"` } tests := []struct { name string b PrefixTemp args args want []string wantErr bool }{ { name: "test1", b: PrefixTemp{},
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 01 12:53:30 GMT 2024 - 1.7K bytes - Click Count (0) -
internal/event/targetidset_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package event import ( "reflect" "testing" ) func TestTargetIDSetClone(t *testing.T) { testCases := []struct { set TargetIDSet targetIDToAdd TargetID }{ {NewTargetIDSet(), TargetID{"1", "webhook"}}, {NewTargetIDSet(TargetID{"1", "webhook"}), TargetID{"2", "webhook"}},
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 3.9K bytes - Click Count (0) -
internal/bucket/lifecycle/expiration.go
type ExpireDeleteMarker struct { Boolean } // Boolean signifies a boolean XML struct with custom marshaling type Boolean struct { val bool set bool Unused struct{} // Needed for GOB compatibility } // Expiration - expiration actions for a rule in lifecycle configuration. type Expiration struct { XMLName xml.Name `xml:"Expiration"`Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 6.6K 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 Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 15 23:04:20 GMT 2023 - 4.3K bytes - Click Count (0) -
api/go1.17.txt
pkg database/sql, method (NullInt16) Value() (driver.Value, error) pkg database/sql, type NullByte struct pkg database/sql, type NullByte struct, Byte uint8 pkg database/sql, type NullByte struct, Valid bool pkg database/sql, type NullInt16 struct pkg database/sql, type NullInt16 struct, Int16 int16 pkg database/sql, type NullInt16 struct, Valid bool pkg debug/elf, const SHT_MIPS_ABIFLAGS = 1879048234
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Feb 17 20:31:46 GMT 2023 - 18K bytes - Click Count (0) -
cmd/storage-datatypes.go
type CheckPartsResp struct { Results []int `msg:"r"` } // LocalDiskIDs - GetLocalIDs response. type LocalDiskIDs struct { IDs []string `msg:"i"` } // ListDirResult - ListDir()'s response. type ListDirResult struct { Entries []string `msg:"e"` } // ReadPartsReq - send multiple part paths to read from type ReadPartsReq struct { Paths []string `msg:"p"` }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 17.4K bytes - Click Count (0)