- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 437 for Created (1.14 sec)
-
cni/pkg/install/cniconfig_test.go
specifiedConfName: "bridge.conf", delayedConfName: "bridge.conf", expectedConfName: "bridge.conf", }, { name: "specified CNI config file never created", chainedCNIPlugin: true, specifiedConfName: "never-created.conf", existingConfFiles: []string{"bridge.conf", "list.conflist"}, }, { name: "standalone CNI plugin unspecified CNI config file",
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed May 17 02:22:22 GMT 2023 - 15.4K bytes - Viewed (0) -
tests/associations_has_many_test.go
import ( "testing" "gorm.io/gorm" . "gorm.io/gorm/utils/tests" ) func TestHasManyAssociation(t *testing.T) { user := *GetUser("hasmany", Config{Pets: 2}) if err := DB.Create(&user).Error; err != nil { t.Fatalf("errors happened when create: %v", err) } CheckUser(t, user, user) // Find var user2 User DB.Find(&user2, "id = ?", user.ID) DB.Model(&user2).Association("Pets").Find(&user2.Pets)
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Fri Dec 15 08:36:08 GMT 2023 - 15.6K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret.go
Example: ` # Create a secret to access cluster c0's apiserver and install it in cluster c1. istioctl --kubeconfig=c0.yaml create-remote-secret --name c0 \ | kubectl --kubeconfig=c1.yaml apply -f - # Delete a secret that was previously installed in c1 istioctl --kubeconfig=c0.yaml create-remote-secret --name c0 \ | kubectl --kubeconfig=c1.yaml delete -f -
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed Oct 11 01:43:17 GMT 2023 - 24K bytes - Viewed (0) -
cmd/benchmark-utils_test.go
} // cleaning up the backend by removing all the directories and files created on function return. defer removeRoots(disks) // uses *testing.B and the object Layer to run the benchmark. runPutObjectPartBenchmark(b, objLayer, objSize) } // creates Erasure/FS backend setup, obtains the object layer and calls the runPutObjectBenchmark function.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Dec 23 15:46:00 GMT 2022 - 8.2K bytes - Viewed (0) -
tests/customize_field_test.go
FieldReadonly: name + "_allow_readonly", FieldIgnore: name + "_allow_ignore", } } create := generateStruct("create") DB.Create(&create) var result CustomizeFieldStruct DB.Find(&result, "name = ?", "create") AssertObjEqual(t, result, create, "Name", "FieldAllowCreate", "FieldAllowSave", "FieldAllowSave2")
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Fri Sep 11 09:33:31 GMT 2020 - 6.9K bytes - Viewed (0) -
tests/connpool_test.go
db: nativeDB, expect: []string{ "SELECT VERSION()", "INSERT INTO `users` (`created_at`,`updated_at`,`deleted_at`,`name`,`age`,`birthday`,`company_id`,`manager_id`,`active`) VALUES (?,?,?,?,?,?,?,?,?)", "SELECT * FROM `users` WHERE name = ? AND `users`.`deleted_at` IS NULL ORDER BY `users`.`id` LIMIT ?",
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Tue Feb 06 02:54:40 GMT 2024 - 5.5K bytes - Viewed (0) -
internal/kms/policy-manager.go
"github.com/minio/kms-go/kes" ) // PolicyManager is the generic interface that handles KMS policy] operations type PolicyManager interface { // DescribePolicy describes a policy by returning its metadata. // e.g. who created the policy at which point in time. DescribePolicy(ctx context.Context, policy string) (*kes.PolicyInfo, error) // GetPolicy gets a policy from KMS. GetPolicy(ctx context.Context, policy string) (*kes.Policy, error)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Mar 01 21:09:42 GMT 2024 - 1.3K bytes - Viewed (0) -
internal/logger/logrotate.go
return fmt.Errorf("unable to create new file at %v: %w", path, err) } w.f = f return nil } // NewDir creates a new concurrency safe Writer which performs log rotation. func NewDir(opts Options) (io.WriteCloser, error) { if err := os.MkdirAll(opts.Directory, os.ModePerm); err != nil { return nil, fmt.Errorf("directory %v does not exist and could not be created: %w", opts.Directory, err) }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu May 02 11:38:40 GMT 2024 - 5.8K bytes - Viewed (0) -
internal/logger/target/kafka/kafka_scram_client_contrib.go
} } // KafkaSHA256 is a function that returns a crypto/sha256 hasher and should be used // to create Client objects configured for SHA-256 hashing. var KafkaSHA256 scram.HashGeneratorFcn = sha256.New // KafkaSHA512 is a function that returns a crypto/sha512 hasher and should be used // to create Client objects configured for SHA-512 hashing. var KafkaSHA512 scram.HashGeneratorFcn = sha512.New
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Nov 09 04:04:01 GMT 2023 - 3.3K bytes - Viewed (1) -
tests/table_test.go
AssertEqual(t, r.Statement.Vars, []interface{}{2, 4, 1, 3}) } func TestTableWithAllFields(t *testing.T) { dryDB := DB.Session(&gorm.Session{DryRun: true, QueryFields: true}) userQuery := "SELECT .*user.*id.*user.*created_at.*user.*updated_at.*user.*deleted_at.*user.*name.*user.*age" + ".*user.*birthday.*user.*company_id.*user.*manager_id.*user.*active.* " r := dryDB.Table("`user`").Find(&User{}).Statement
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Sat Mar 09 09:31:28 GMT 2024 - 10.6K bytes - Viewed (0)