- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 170 for pidStatus (0.26 sec)
-
src/os/exec_plan9.go
if e != nil { return e } defer f.Close() _, e = f.Write([]byte(data)) return e } func (p *Process) signal(sig Signal) error { switch p.pidStatus() { case statusDone: return ErrProcessDone case statusReleased: return syscall.ENOENT } if e := p.writeProcFile("note", sig.String()); e != nil { return NewSyscallError("signal", e) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 3.4K bytes - Viewed (0) -
src/os/exec_unix.go
// completes its wait. // // Checking for statusDone here would not be a complete fix, as the PID // could still be waited on and reused prior to blockUntilWaitable. switch p.pidStatus() { case statusReleased: return nil, syscall.EINVAL } // If we can block until Wait4 will succeed immediately, do so. ready, err := p.blockUntilWaitable() if err != nil { return nil, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 4.1K bytes - Viewed (0) -
src/os/exec.go
if !p.state.CompareAndSwap(refs, new) { continue } if new&^processStatusMask == 0 { p.closeHandle() } return status } } func (p *Process) pidStatus() processStatus { if p.mode != modePID { panic("pidStatus called in invalid mode") } return processStatus(p.state.Load()) } func (p *Process) pidDeactivate(reason processStatus) { if p.mode != modePID {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 12.8K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/core/v1/podstatus.go
ResourceClaimStatuses []PodResourceClaimStatusApplyConfiguration `json:"resourceClaimStatuses,omitempty"` } // PodStatusApplyConfiguration constructs an declarative configuration of the PodStatus type for use with // apply. func PodStatus() *PodStatusApplyConfiguration { return &PodStatusApplyConfiguration{} } // WithPhase sets the Phase field in the declarative configuration to the given value
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 14 01:43:16 UTC 2023 - 10.5K bytes - Viewed (0) -
pkg/kubelet/status/status_manager_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 16:27:19 UTC 2024 - 68.1K bytes - Viewed (0) -
pkg/kubelet/pleg/evented_test.go
kubelet_running_pods 5 ` testMetric(t, expectedMetric, metrics.RunningPodCount.FQName()) // stop sandbox containers for first 2 pods for _, podStatus := range podStatuses[:2] { podId := string(podStatus.ID) newPodStatus := kubecontainer.PodStatus{ ID: podStatus.ID, SandboxStatuses: []*v1.PodSandboxStatus{ {Id: podId}, }, ContainerStatuses: []*kubecontainer.Status{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 01 07:45:05 UTC 2023 - 6.4K bytes - Viewed (0) -
pkg/util/pod/pod_test.go
description string mutate func(input v1.PodStatus) v1.PodStatus expectUnchanged bool expectedPatchBytes []byte }{ { "no change", func(input v1.PodStatus) v1.PodStatus { return input }, true, []byte(fmt.Sprintf(`{"metadata":{"uid":"myuid"}}`)), }, { "message change", func(input v1.PodStatus) v1.PodStatus { input.Message = "random message" return input },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 07 15:22:29 UTC 2022 - 4.5K bytes - Viewed (0) -
pkg/apis/core/v1/conversion_test.go
t.Errorf("%v: Convert core.PodStatus to v1.PodStatus failed. Expected v1.PodStatus[%v]=%v but found %v", i, idx, input.PodIPs[idx].IP, v1PodStatus.PodIPs[idx].IP) } } } } func Test_v1_PodStatus_to_core_PodStatus(t *testing.T) { asymmetricInputs := []struct { name string in v1.PodStatus out core.PodStatus }{ { name: "mismatched podIP", in: v1.PodStatus{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 10 05:34:15 UTC 2023 - 21.7K bytes - Viewed (0) -
pkg/kubelet/container/cache.go
// and the blocking GetNewerThan() method. The component responsible for // populating the cache is expected to call Delete() to explicitly free the // cache entries. type Cache interface { Get(types.UID) (*PodStatus, error) // Set updates the cache by setting the PodStatus for the pod only // if the data is newer than the cache based on the provided // time stamp. Returns if the cache was updated.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 17 07:37:01 UTC 2023 - 6.6K bytes - Viewed (0) -
pkg/controller/job/pod_failure_policy_test.go
Operator: batch.PodFailurePolicyOnExitCodesOpIn, Values: []int32{2, 3}, }, }, }, }, failedPod: &v1.Pod{ ObjectMeta: validPodObjectMeta, Status: v1.PodStatus{ Phase: v1.PodFailed, ContainerStatuses: []v1.ContainerStatus{ { Name: "main-container", State: v1.ContainerState{ Terminated: &v1.ContainerStateTerminated{ ExitCode: 2,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 22.7K bytes - Viewed (0)