Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for withCapacity (0.15 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodestatus.go

    	return &NodeStatusApplyConfiguration{}
    }
    
    // WithCapacity sets the Capacity 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 Capacity field is set to the value of the last call.
    func (b *NodeStatusApplyConfiguration) WithCapacity(value v1.ResourceList) *NodeStatusApplyConfiguration {
    	b.Capacity = &value
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 23:06:39 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. pkg/kubelet/nodestatus/setters_test.go

    			desc: "new, ready: soft requirement warning",
    			node: withCapacity.DeepCopy(),
    			cmStatus: cm.Status{
    				SoftRequirements: fmt.Errorf("foo"),
    			},
    			expectConditions: []v1.NodeCondition{*makeReadyCondition(true, "kubelet is posting ready status. WARNING: foo", now, now)},
    		},
    		{
    			desc:             "new, not ready: storage errors",
    			node:             withCapacity.DeepCopy(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 21:47:24 UTC 2024
    - 76.1K bytes
    - Viewed (0)
Back to top