Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for isStatus (0.21 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_container.go

    	}
    
    	if status.State != runtimeapi.ContainerState_CONTAINER_CREATED {
    		// If container is not in the created state, we have tried and
    		// started the container. Set the StartedAt time.
    		cStatus.StartedAt = time.Unix(0, status.StartedAt)
    	}
    	if status.State == runtimeapi.ContainerState_CONTAINER_EXITED {
    		cStatus.Reason = status.Reason
    		cStatus.Message = status.Message
    		cStatus.ExitCode = int(status.ExitCode)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/runtime/framework.go

    		}
    		if status := f.runFilterPlugin(ctx, pl, state, pod, nodeInfo); !status.IsSuccess() {
    			if !status.IsRejected() {
    				// Filter plugins are not supposed to return any status other than
    				// Success or Unschedulable.
    				status = framework.AsStatus(fmt.Errorf("running %q filter plugin: %w", pl.Name(), status.AsError()))
    			}
    			status.SetPlugin(pl.Name())
    			return status
    		}
    	}
    
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    	return newRuntimeVersion(typedVersion.RuntimeApiVersion)
    }
    
    // Status returns the status of the runtime. An error is returned if the Status
    // function itself fails, nil otherwise.
    func (m *kubeGenericRuntimeManager) Status(ctx context.Context) (*kubecontainer.RuntimeStatus, error) {
    	resp, err := m.runtimeService.Status(ctx, false)
    	if err != nil {
    		return nil, err
    	}
    	if resp.GetStatus() == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    								claim = claim.DeepCopy()
    								claim.Status.ReservedFor = inUseClaim.Status.ReservedFor
    							}
    							return claim
    						},
    					},
    				},
    			},
    		},
    		"missing-claim": {
    			pod:    podWithClaimTemplate, // status not set
    			claims: []*resourcev1alpha2.ResourceClaim{allocatedClaim, otherClaim},
    			want: want{
    				preenqueue: result{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/gateway/conversion.go

    		_, known := classInfos[gwc.ControllerName]
    		if !known {
    			continue
    		}
    		res[obj.Name] = gwc.ControllerName
    
    		// Set status. If we created it, it may already be there. If not, set it again
    		obj.Status.(*kstatus.WrappedStatus).Mutate(func(s config.Status) config.Status {
    			gcs := s.(*k8s.GatewayClassStatus)
    			*gcs = GetClassStatus(gcs, obj.Generation)
    			gcs.SupportedFeatures = supportedFeatures
    			return gcs
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    				args:      *getDefaultDefaultPreemptionArgs(),
    			}
    
    			state := framework.NewCycleState()
    			// Ensure <state> is populated.
    			if _, status := f.RunPreFilterPlugins(ctx, state, tt.pod); !status.IsSuccess() {
    				t.Errorf("Unexpected PreFilter Status: %v", status)
    			}
    
    			gotResult, gotStatus := p.PostFilter(ctx, state, tt.pod, tt.filteredNodesStatuses)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  7. api/discovery/aggregated_v2beta1.json

                    {
                      "responseKind": {
                        "group": "",
                        "kind": "APIService",
                        "version": ""
                      },
                      "subresource": "status",
                      "verbs": [
                        "get",
                        "patch",
                        "update"
                      ]
                    }
                  ],
                  "verbs": [
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/serviceregistry_test.go

    	}
    	cfg.Annotations[status.WorkloadEntryHealthCheckAnnotation] = "true"
    	if healthy {
    		return status.UpdateConfigCondition(cfg, &v1alpha1.IstioCondition{
    			Type:   status.ConditionHealthy,
    			Status: status.StatusTrue,
    		})
    	}
    	return status.UpdateConfigCondition(cfg, &v1alpha1.IstioCondition{
    		Type:   status.ConditionHealthy,
    		Status: status.StatusFalse,
    	})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  9. pkg/controller/cronjob/cronjob_controllerv2_test.go

    						cj.Status.Active = []v1.ObjectReference{*ref}
    					}
    					realCJ.Status.Active = []v1.ObjectReference{*ref}
    					if !tc.jobStillNotFoundInLister {
    						js = append(js, job)
    					}
    				} else {
    					job.Status.CompletionTime = &metav1.Time{Time: job.ObjectMeta.CreationTimestamp.Add(time.Second * 10)}
    					job.Status.Conditions = append(job.Status.Conditions, batchv1.JobCondition{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 70.8K bytes
    - Viewed (0)
  10. pkg/controller/endpointslice/endpointslice_controller_test.go

    					Status:     v1.NodeStatus{},
    				}
    				if nodeInfo.zoneLabel != nil {
    					node.Labels = map[string]string{v1.LabelTopologyZone: *nodeInfo.zoneLabel}
    				}
    				if nodeInfo.ready != nil {
    					status := v1.ConditionFalse
    					if *nodeInfo.ready {
    						status = v1.ConditionTrue
    					}
    					node.Status.Conditions = []v1.NodeCondition{{
    						Type:   v1.NodeReady,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
Back to top