- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 92 for PodCondition (0.14 sec)
-
staging/src/k8s.io/client-go/applyconfigurations/core/v1/podcondition.go
Message *string `json:"message,omitempty"` } // PodConditionApplyConfiguration constructs an declarative configuration of the PodCondition type for use with // apply. func PodCondition() *PodConditionApplyConfiguration { return &PodConditionApplyConfiguration{} } // WithType sets the Type field in the declarative configuration to the given value
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 04 18:31:34 UTC 2021 - 4K bytes - Viewed (0) -
pkg/kubelet/status/generate.go
containersReady := GenerateContainersReadyCondition(spec, containerStatuses, podPhase) // If the status of ContainersReady is not True, return the same status, reason and message as ContainersReady. if containersReady.Status != v1.ConditionTrue { return v1.PodCondition{ Type: v1.PodReady,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 12 15:18:11 UTC 2023 - 9.8K bytes - Viewed (0) -
pkg/kubelet/status/generate_test.go
} } } func TestGeneratePodReadyCondition(t *testing.T) { tests := []struct { spec *v1.PodSpec conditions []v1.PodCondition containerStatuses []v1.ContainerStatus podPhase v1.PodPhase expectReady v1.PodCondition }{ { spec: nil, conditions: nil, containerStatuses: nil, podPhase: v1.PodRunning,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 12 15:18:11 UTC 2023 - 18.2K bytes - Viewed (0) -
pkg/util/pod/pod_test.go
testCases := []struct { description string conditions []v1.PodCondition condition v1.PodCondition wantConditions []v1.PodCondition }{ { description: "append", conditions: []v1.PodCondition{}, condition: v1.PodCondition{ Type: cType, Status: v1.ConditionTrue, }, wantConditions: []v1.PodCondition{ { Type: cType, Status: v1.ConditionTrue, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 07 15:22:29 UTC 2022 - 4.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/example/v1/zz_generated.conversion.go
return err } if err := s.AddGeneratedConversionFunc((*PodCondition)(nil), (*example.PodCondition)(nil), func(a, b interface{}, scope conversion.Scope) error { return Convert_v1_PodCondition_To_example_PodCondition(a.(*PodCondition), b.(*example.PodCondition), scope) }); err != nil { return err } if err := s.AddGeneratedConversionFunc((*example.PodCondition)(nil), (*PodCondition)(nil), func(a, b interface{}, scope conversion.Scope) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 10.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/example/v1/zz_generated.deepcopy.go
func (in *PodCondition) DeepCopyInto(out *PodCondition) { *out = *in in.LastProbeTime.DeepCopyInto(&out.LastProbeTime) in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodCondition. func (in *PodCondition) DeepCopy() *PodCondition { if in == nil { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 4.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/example/zz_generated.deepcopy.go
func (in *PodCondition) DeepCopyInto(out *PodCondition) { *out = *in in.LastProbeTime.DeepCopyInto(&out.LastProbeTime) in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodCondition. func (in *PodCondition) DeepCopy() *PodCondition { if in == nil { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 6.1K bytes - Viewed (0) -
pkg/controller/job/pod_failure_policy.go
} func matchOnPodConditions(podStatus *v1.PodStatus, requirement []batch.PodFailurePolicyOnPodConditionsPattern) *v1.PodCondition { for _, podCondition := range podStatus.Conditions { for _, pattern := range requirement { if podCondition.Type == pattern.Type && podCondition.Status == pattern.Status { return &podCondition } } } return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 18 20:44:11 UTC 2023 - 5.5K bytes - Viewed (0) -
pkg/kubelet/status/status_manager_test.go
for desc, test := range map[string]struct { condition *v1.PodCondition oldCondition *v1.PodCondition expectUpdate bool }{ "should do nothing if no corresponding condition": { expectUpdate: false, }, "should update last transition time if no old condition": { condition: &v1.PodCondition{ Type: "test-type", Status: v1.ConditionTrue, },
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/controller/job/pod_failure_policy_test.go
}, }, }, }, }, failedPod: &v1.Pod{ ObjectMeta: validPodObjectMeta, Status: v1.PodStatus{ Phase: v1.PodFailed, Conditions: []v1.PodCondition{ { Type: v1.DisruptionTarget, Status: v1.ConditionTrue, }, }, }, }, wantJobFailureMessage: nil, wantCountFailed: false,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 22.7K bytes - Viewed (0)