MCPcopy
hub / github.com/kubernetes/kubernetes / Node

Method Node

pkg/controller/nodeipam/ipam/sync/sync.go:55–55  ·  view source on GitHub ↗

Node returns the spec for the Node object.

(ctx context.Context, name string)

Source from the content-addressed store, hash-verified

53type kubeAPI interface {
54 // Node returns the spec for the Node object.
55 Node(ctx context.Context, name string) (*v1.Node, error)
56 // UpdateNodePodCIDR updates the PodCIDR in the Node spec.
57 UpdateNodePodCIDR(ctx context.Context, node *v1.Node, cidrRange *net.IPNet) error
58 // UpdateNodeNetworkUnavailable updates the network unavailable status for the node.

Callers 15

TestPreCheckForNodeFunction · 0.65
TestAdmissionCheckFunction · 0.65
TestAddPodFunction · 0.65
TestUpdatePodFunction · 0.65
TestDeletePodFunction · 0.65
ScoreMethod · 0.65
ScoreMethod · 0.65
FilterMethod · 0.65
FilterMethod · 0.65

Implementers 1

fakeAPIspkg/controller/nodeipam/ipam/sync/sync

Calls

no outgoing calls

Tested by 15

TestPreCheckForNodeFunction · 0.52
TestAdmissionCheckFunction · 0.52
TestAddPodFunction · 0.52
TestUpdatePodFunction · 0.52
TestDeletePodFunction · 0.52
ScoreMethod · 0.52
ScoreMethod · 0.52
FilterMethod · 0.52
FilterMethod · 0.52
TestSchedulerSchedulePodFunction · 0.52