Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 58 for createData (0.21 sec)

  1. cmd/bucket-metadata-sys.go

    	}
    	if meta.sseConfig == nil {
    		return nil, time.Time{}, BucketSSEConfigNotFound{Bucket: bucket}
    	}
    	return meta.sseConfig, meta.EncryptionConfigUpdatedAt, nil
    }
    
    // CreatedAt returns the time of creation of bucket
    func (sys *BucketMetadataSys) CreatedAt(bucket string) (time.Time, error) {
    	meta, _, err := sys.GetConfig(GlobalContext, bucket)
    	if err != nil {
    		return time.Time{}, err
    	}
    	return meta.Created.UTC(), nil
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. pkg/kubelet/stats/cri_stats_provider_windows_test.go

    				Value: memoryUsageWorkingSetBytes,
    			},
    			PageFaults: &runtimeapi.UInt64Value{
    				Value: memoryUsagePageFaults,
    			},
    		},
    	}
    
    	inputContainer := &runtimeapi.Container{
    		CreatedAt: containerStartTime.Unix(),
    		Metadata: &runtimeapi.ContainerMetadata{
    			Name: "c0",
    		},
    	}
    
    	inputRootFsInfo := &cadvisorapiv2.FsInfo{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 17 00:02:10 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top