package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
CreateZoneID returns a single zoneID for a given region and zone.
GetKey is a helper function used by controllers unit tests to get the key for a given kubernetes resource.
GetZones returns list of zones for all Nodes stored in FakeNodeHandler.
NewFakeRecorder returns a pointer to a newly constructed FakeRecorder.
NewNode is a helper function for creating Nodes for testing.
NewPod is a helper function for creating Pods for testing.
# Structs
FakeLegacyHandler is a fake implementation of CoreV1Interface.
FakeNodeHandler is a fake implementation of NodesInterface and NodeInterface.
FakeRecorder is used as a fake during testing.