- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for WithPhase (0.24 sec)
-
staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodestatus.go
b.Allocatable = &value return b } // WithPhase sets the Phase field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Phase field is set to the value of the last call. func (b *NodeStatusApplyConfiguration) WithPhase(value v1.NodePhase) *NodeStatusApplyConfiguration { b.Phase = &value
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 13 23:06:39 UTC 2024 - 8K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods_test.go
ObjectMeta: metav1.ObjectMeta{Name: "pod1", Namespace: "ns1", UID: types.UID("1")}, Spec: v1.PodSpec{ Containers: []v1.Container{ {Name: "container-1"}, }, }, } } withPhase := func(pod *v1.Pod, phase v1.PodPhase) *v1.Pod { pod.Status.Phase = phase return pod } staticPod := func() *v1.Pod { return &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "pod1",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:23 UTC 2024 - 198.8K bytes - Viewed (0)