SetNillableStatus sets the "status" field if the given value is not nil.
(n *node.Status)
| 65 | |
| 66 | // SetNillableStatus sets the "status" field if the given value is not nil. |
| 67 | func (nu *NodeUpdate) SetNillableStatus(n *node.Status) *NodeUpdate { |
| 68 | if n != nil { |
| 69 | nu.SetStatus(*n) |
| 70 | } |
| 71 | return nu |
| 72 | } |
| 73 | |
| 74 | // SetName sets the "name" field. |
| 75 | func (nu *NodeUpdate) SetName(s string) *NodeUpdate { |