Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for withNodeName (0.28 sec)

  1. 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)
  2. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    		shouldFail bool
    	}
    	scenarios := map[string]scenarioType{
    		"no-volumes": {
    			pod: makePod("test-pod").
    				withNamespace("testns").
    				withNodeName("node1").Pod,
    		},
    		"no-pvcs": {
    			pod: makePod("test-pod").
    				withNamespace("testns").
    				withNodeName("node1").
    				withEmptyDirVolume().Pod,
    		},
    		"pvc-not-found": {
    			cachePVCs:  []*v1.PersistentVolumeClaim{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  3. 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)
  4. staging/src/k8s.io/client-go/applyconfigurations/core/v1/podspec.go

    	b.AutomountServiceAccountToken = &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 *PodSpecApplyConfiguration) WithNodeName(value string) *PodSpecApplyConfiguration {
    	b.NodeName = &value
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 10 19:22:42 UTC 2022
    - 23.9K bytes
    - Viewed (0)
Back to top