Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for createData (0.12 sec)

  1. pkg/kubelet/stats/cri_stats_provider_test.go

    	assert.Equal(container0.CreatedAt, c0.StartTime.UnixNano())
    	checkCRICPUAndMemoryStats(assert, c0, infos[container0.ContainerStatus.Id].Stats[0])
    	assert.Nil(c0.Accelerators)
    	checkCRIRootfsStats(assert, c0, containerStats0, &imageFsInfo)
    	checkCRILogsStats(assert, c0, &rootFsInfo, containerLogStats0)
    
    	c1 := containerStatsMap[cName1]
    	assert.Equal(container1.CreatedAt, c1.StartTime.UnixNano())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    		{pod: pod, container: &init1, attempt: 3, createdAt: 3, state: runtimeapi.ContainerState_CONTAINER_EXITED},
    		{pod: pod, container: &init1, attempt: 2, createdAt: 2, state: runtimeapi.ContainerState_CONTAINER_EXITED},
    		{pod: pod, container: &init2, attempt: 1, createdAt: 1, state: runtimeapi.ContainerState_CONTAINER_EXITED},
    		{pod: pod, container: &init1, attempt: 1, createdAt: 1, state: runtimeapi.ContainerState_CONTAINER_UNKNOWN},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  3. tests/query_test.go

    		ID        int64
    		Name      string
    		UpdatedAt time.Time
    		CreatedAt time.Time
    	}
    
    	var simpleUser SimpleUser
    	if err := DB.Table("users").Where("name = ?", user.Name).First(&simpleUser).Error; err != nil {
    		t.Fatalf("Failed to query smaller user, got error %v", err)
    	}
    
    	AssertObjEqual(t, user, simpleUser, "Name", "ID", "UpdatedAt", "CreatedAt")
    
    	var simpleUser2 SimpleUser
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  4. 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)
  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. 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)
  7. pkg/kubelet/kuberuntime/kuberuntime_container.go

    		Hash:                annotatedInfo.Hash,
    		RestartCount:        annotatedInfo.RestartCount,
    		State:               toKubeContainerState(status.State),
    		CreatedAt:           time.Unix(0, status.CreatedAt),
    		Resources:           cStatusResources,
    		User:                cStatusUser,
    	}
    
    	if status.State != runtimeapi.ContainerState_CONTAINER_CREATED {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        }
    
        /* MNG-3877*/
        @Test
        void testReportingInterpolation() throws Exception {
            PomTestWrapper pom = buildPom("reporting-interpolation");
            assertEquals(
                    createPath(Arrays.asList(
                            System.getProperty("user.dir"),
                            "src",
                            "test",
                            "resources-project-builder",
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 93.2K bytes
    - Viewed (0)
  9. cmd/iam.go

    		return nil, err
    	}
    
    	pdata, err := json.Marshal(d.Policy)
    	if err != nil {
    		return nil, err
    	}
    
    	return &madmin.PolicyInfo{
    		PolicyName: policyName,
    		Policy:     pdata,
    		CreateDate: d.CreateDate,
    		UpdateDate: d.UpdateDate,
    	}, nil
    }
    
    // ListPolicies - lists all canned policies.
    func (sys *IAMSys) ListPolicies(ctx context.Context, bucketName string) (map[string]policy.Policy, error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
Back to top