- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 68 for createData (0.15 sec)
-
pkg/kubelet/stats/cri_stats_provider_windows.go
result := &statsapi.ContainerStats{ Name: stats.Attributes.Metadata.Name, // The StartTime in the summary API is the container creation time. StartTime: metav1.NewTime(time.Unix(0, container.CreatedAt)), CPU: &statsapi.CPUStats{}, Memory: &statsapi.MemoryStats{}, Rootfs: &statsapi.FsStats{}, // UserDefinedMetrics is not supported by CRI. } if stats.Cpu != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Feb 18 07:03:11 UTC 2024 - 10.4K bytes - Viewed (0) -
cmd/erasure-server-pool.go
buckets, err = z.s3Peer.ListBuckets(ctx, opts) if err != nil { return nil, err } for i := range buckets { createdAt, err := globalBucketMetadataSys.CreatedAt(buckets[i].Name) if err == nil { buckets[i].Created = createdAt } } return buckets, nil }, ) return listBucketsCache.GetWithCtx(ctx) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 30 11:58:12 UTC 2024 - 82.5K bytes - Viewed (0) -
pkg/kubelet/stats/cri_stats_provider_windows_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Feb 17 00:02:10 UTC 2024 - 13.8K bytes - Viewed (0) -
tests/scanner_valuer_test.go
} var result2 ScannerValuerStruct if err := DB.First(&result2, result.ID).Error; err != nil { t.Errorf("got error %v when query with %v", err, result.ID) } AssertObjEqual(t, result2, result, "ID", "CreatedAt", "UpdatedAt", "Name", "Gender", "Age") } func TestInvalidValuer(t *testing.T) { DB.Migrator().DropTable(&ScannerValuerStruct{}) if err := DB.Migrator().AutoMigrate(&ScannerValuerStruct{}); err != nil {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 07 07:02:07 UTC 2023 - 10.6K bytes - Viewed (0) -
cmd/iam-store.go
type PolicyDoc struct { Version int `json:",omitempty"` Policy policy.Policy CreateDate time.Time `json:",omitempty"` UpdateDate time.Time `json:",omitempty"` } func newPolicyDoc(p policy.Policy) PolicyDoc { now := UTCNow().Round(time.Millisecond) return PolicyDoc{ Version: 1, Policy: p, CreateDate: now, UpdateDate: now, } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 75.8K bytes - Viewed (0) -
src/crypto/tls/handshake_messages_test.go
if isTLS13 { s.version = VersionTLS13 } else { s.version = uint16(rand.Intn(VersionTLS13)) } s.isClient = rand.Intn(10) > 5 s.cipherSuite = uint16(rand.Intn(math.MaxUint16)) s.createdAt = uint64(rand.Int63()) s.secret = randomBytes(rand.Intn(100)+1, rand) for n, i := rand.Intn(3), 0; i < n; i++ { s.Extra = append(s.Extra, randomBytes(rand.Intn(100), rand)) } if rand.Intn(10) > 5 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 15.7K bytes - Viewed (0) -
pkg/kubelet/pleg/evented.go
} } } func (e *EventedPLEG) updateLatencyMetric(event *runtimeapi.ContainerEventResponse) { duration := time.Duration(time.Now().UnixNano()-event.CreatedAt) * time.Nanosecond metrics.EventedPLEGConnLatency.Observe(duration.Seconds()) } func (e *EventedPLEG) UpdateCache(pod *kubecontainer.Pod, pid types.UID) (error, bool) { return fmt.Errorf("not implemented"), false
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 10:46:06 UTC 2024 - 16.4K bytes - Viewed (0) -
cmd/object-api-interface.go
type MakeBucketOptions struct { LockEnabled bool VersioningEnabled bool ForceCreate bool // Create buckets even if they are already created. CreatedAt time.Time // only for site replication NoLock bool // does not lock the make bucket call if set to 'true' } // DeleteBucketOptions provides options for DeleteBucket calls.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon May 06 20:27:52 UTC 2024 - 17K bytes - Viewed (0) -
src/database/sql/sql.go
// be held during all calls into the Conn. (including any calls onto // interfaces returned via that Conn, such as calls on Tx, Stmt, // Result, Rows) type driverConn struct { db *DB createdAt time.Time sync.Mutex // guards following ci driver.Conn needReset bool // The connection session should be reset before use if true. closed bool finalClosed bool // ci.Close has been called
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 103.6K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_manager.go
// by calling *Kubelet.findContainer() without specifying a pod ID), we now // return the list of pods ordered by their creation time. sort.SliceStable(result, func(i, j int) bool { return result[i].CreatedAt > result[j].CreatedAt }) klog.V(4).InfoS("Retrieved pods from runtime", "all", all) return result, nil } // containerKillReason explains what killed a given container type containerKillReason string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 02:01:31 UTC 2024 - 64.7K bytes - Viewed (0)