- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for WithNodeName (0.18 sec)
-
staging/src/k8s.io/client-go/applyconfigurations/core/v1/endpointaddress.go
b.Hostname = &value return b } // WithNodeName sets the NodeName 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 NodeName field is set to the value of the last call. func (b *EndpointAddressApplyConfiguration) WithNodeName(value string) *EndpointAddressApplyConfiguration { b.NodeName = &value
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 04 18:31:34 UTC 2021 - 2.9K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/test_utils.go
ObjectMeta: metav1.ObjectMeta{ Name: name, Namespace: v1.NamespaceDefault, }, }} pb.Pod.Spec.Volumes = make([]v1.Volume, 0) return pb } func (pb podBuilder) withNodeName(name string) podBuilder { pb.Pod.Spec.NodeName = name return pb } func (pb podBuilder) withNamespace(name string) podBuilder { pb.Pod.ObjectMeta.Namespace = name return pb }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 13 07:42:19 UTC 2023 - 4.9K bytes - Viewed (0)