Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for createData (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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