Documentation ¶
Overview ¶
Package node was copied from staging/src/k8s.io/component-helpers/node/util/
Index ¶
- func GetNodeIPs(node *v1.Node) ([]netip.Addr, error)
- func PatchNodeCIDR(c clientset.Interface, node types.NodeName, cidr string) error
- func PatchNodeCIDRs(ctx context.Context, c clientset.Interface, node types.NodeName, ...) error
- func SetNodeCondition(c clientset.Interface, node types.NodeName, condition v1.NodeCondition) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNodeIPs ¶
GetNodeIPs return the list of node IPs.
func PatchNodeCIDR ¶
PatchNodeCIDR patches the specified node's CIDR to the given value. nolint:nlreturn,nilerr,wsl
func PatchNodeCIDRs ¶
func PatchNodeCIDRs(ctx context.Context, c clientset.Interface, node types.NodeName, cidrs []string) error
PatchNodeCIDRs patches the specified node.CIDR=cidrs[0] and node.CIDRs to the given value. nolint:nlreturn,nilerr,wsl
func SetNodeCondition ¶
SetNodeCondition updates specific node condition with patch operation. nolint:nlreturn,nilerr,wsl
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.