- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for WithPhase (0.24 sec)
-
pkg/scheduler/framework/plugins/volumebinding/volume_binding_test.go
}, pvs: []*v1.PersistentVolume{ makePV("pv-a", waitSC.Name).withPhase(v1.VolumeBound).withNodeAffinity(map[string][]string{ v1.LabelHostname: {"node-a"}, }).PersistentVolume, makePV("pv-b", waitSC.Name).withPhase(v1.VolumeBound).withNodeAffinity(map[string][]string{ v1.LabelHostname: {"node-a"}, }).PersistentVolume, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 03:30:06 UTC 2023 - 32K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/core/v1/namespacestatus.go
return &NamespaceStatusApplyConfiguration{} } // 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 *NamespaceStatusApplyConfiguration) WithPhase(value v1.NamespacePhase) *NamespaceStatusApplyConfiguration { b.Phase = &value
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 04 18:31:34 UTC 2021 - 2.2K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumestatus.go
return &PersistentVolumeStatusApplyConfiguration{} } // 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 *PersistentVolumeStatusApplyConfiguration) WithPhase(value v1.PersistentVolumePhase) *PersistentVolumeStatusApplyConfiguration {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 21 19:39:24 UTC 2023 - 3.2K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/test_utils.go
func (pvb pvBuilder) withCapacity(capacity resource.Quantity) pvBuilder { pvb.PersistentVolume.Spec.Capacity = v1.ResourceList{ v1.ResourceName(v1.ResourceStorage): capacity, } return pvb } func (pvb pvBuilder) withPhase(phase v1.PersistentVolumePhase) pvBuilder { pvb.PersistentVolume.Status = v1.PersistentVolumeStatus{ Phase: phase, } return pvb } type pvcBuilder struct { *v1.PersistentVolumeClaim }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 13 07:42:19 UTC 2023 - 4.9K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/core/v1/persistentvolumeclaimstatus.go
return &PersistentVolumeClaimStatusApplyConfiguration{} } // 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.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 03:26:35 UTC 2023 - 6.5K bytes - Viewed (0) -
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) -
staging/src/k8s.io/client-go/applyconfigurations/core/v1/podstatus.go
return &PodStatusApplyConfiguration{} } // 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 *PodStatusApplyConfiguration) WithPhase(value v1.PodPhase) *PodStatusApplyConfiguration { b.Phase = &value return b
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/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)