- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,100 for Driver (0.12 sec)
-
src/database/sql/fakedb_test.go
placeholderConverter []driver.ValueConverter // used by INSERT } var fdriver driver.Driver = &fakeDriver{} func init() { Register("test", fdriver) } type Dummy struct { driver.Driver } func TestDrivers(t *testing.T) { unregisterAllDrivers() Register("test", fdriver) Register("invalid", Dummy{}) all := Drivers()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 01 12:38:07 UTC 2024 - 30.3K bytes - Viewed (0) -
pkg/volume/csi/csi_drivers_store.go
// This method is protected by a mutex. func (s *DriversStore) Get(driverName string) (Driver, bool) { s.RLock() defer s.RUnlock() driver, ok := s.store[driverName] return driver, ok } // Set lets you save a CSI Driver to the list and give it a specific name. // This method is protected by a mutex. func (s *DriversStore) Set(driverName string, driver Driver) { s.Lock() defer s.Unlock() if s.store == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 16 11:12:06 UTC 2022 - 1.8K bytes - Viewed (0) -
src/database/sql/doc.txt
* Separate out the basic implementation of a database driver (implementing the sql/driver interfaces) vs the implementation of all the user-level types and convenience methods. In a nutshell: User Code ---> sql package (concrete types) ---> sql/driver (interfaces) Database Driver -> sql (to register) + sql/driver (implement interfaces) * Make type casting/conversions consistent between all drivers. To
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 06:48:08 UTC 2024 - 2.1K bytes - Viewed (0) -
src/html/template/examplefiles_test.go
templates := template.Must(template.ParseGlob(pattern)) // Add one driver template to the bunch; we do this with an explicit template definition. _, err := templates.Parse("{{define `driver1`}}Driver 1 calls T1: ({{template `T1`}})\n{{end}}") if err != nil { log.Fatal("parsing driver1: ", err) } // Add another driver template. _, err = templates.Parse("{{define `driver2`}}Driver 2 calls T2: ({{template `T2`}})\n{{end}}") if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 09 19:12:23 UTC 2020 - 7.5K bytes - Viewed (0) -
src/text/template/examplefiles_test.go
templates := template.Must(template.ParseGlob(pattern)) // Add one driver template to the bunch; we do this with an explicit template definition. _, err := templates.Parse("{{define `driver1`}}Driver 1 calls T1: ({{template `T1`}})\n{{end}}") if err != nil { log.Fatal("parsing driver1: ", err) } // Add another driver template. _, err = templates.Parse("{{define `driver2`}}Driver 2 calls T2: ({{template `T2`}})\n{{end}}") if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 09 19:12:23 UTC 2020 - 6.1K bytes - Viewed (0) -
staging/src/k8s.io/api/storage/v1beta1/types_swagger_doc_generated.go
"": "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. CSI drivers do not need to create the CSIDriver object directly. Instead they may use the cluster-driver-registrar sidecar container. When deployed with a CSI driver it automatically creates a CSIDriver object representing the driver. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object...
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Sep 17 09:18:43 UTC 2023 - 23.4K bytes - Viewed (0) -
src/database/sql/ctxutil.go
} func ctxDriverBegin(ctx context.Context, opts *TxOptions, ci driver.Conn) (driver.Tx, error) { if ciCtx, is := ci.(driver.ConnBeginTx); is { dopts := driver.TxOptions{} if opts != nil { dopts.Isolation = driver.IsolationLevel(opts.Isolation) dopts.ReadOnly = opts.ReadOnly } return ciCtx.BeginTx(ctx, dopts) } if opts != nil { // Check the transaction level. If the transaction level is non-default
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 02 12:57:37 UTC 2019 - 3.5K bytes - Viewed (0) -
common-protos/k8s.io/api/storage/v1beta1/generated.proto
// CSIDriver captures information about a Container Storage Interface (CSI) // volume driver deployed on the cluster. // CSI drivers do not need to create the CSIDriver object directly. Instead they may use the // cluster-driver-registrar sidecar container. When deployed with a CSI driver it automatically // creates a CSIDriver object representing the driver. // Kubernetes attach detach controller uses this object to determine whether attach is required.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 24.9K bytes - Viewed (0) -
staging/src/k8s.io/api/storage/v1beta1/generated.proto
// CSIDriver captures information about a Container Storage Interface (CSI) // volume driver deployed on the cluster. // CSI drivers do not need to create the CSIDriver object directly. Instead they may use the // cluster-driver-registrar sidecar container. When deployed with a CSI driver it automatically // creates a CSIDriver object representing the driver. // Kubernetes attach detach controller uses this object to determine whether attach is required.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 15:34:11 UTC 2024 - 25K bytes - Viewed (0) -
pkg/kubelet/cm/dra/state/state_checkpoint_test.go
"", []ClaimInfoState{ { DriverName: "meta-test-driver.cdi.k8s.io", ClassName: "class-name", ClaimUID: "067798be-454e-4be4-9047-1aa06aea63f7",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:13 UTC 2024 - 11.9K bytes - Viewed (0)