Versions in this module Expand all Collapse all v1 v1.16.3 Nov 9, 2022 Changes in this version + func CreateZoneID(region, zone string) string + func GetKey(obj interface{}, t *testing.T) string + func GetZones(nodeHandler *FakeNodeHandler) []string + func NewNode(name string) *v1.Node + func NewPod(name, host string) *v1.Pod + type FakeLegacyHandler struct + func (m *FakeLegacyHandler) Nodes() v1core.NodeInterface + type FakeNodeHandler struct + CreateHook func(*FakeNodeHandler, *v1.Node) bool + CreatedNodes []*v1.Node + DeleteWaitChan chan struct{} + DeletedNodes []*v1.Node + Existing []*v1.Node + PatchWaitChan chan struct{} + RequestCount int + UpdatedNodeStatuses []*v1.Node + UpdatedNodes []*v1.Node + func (m *FakeNodeHandler) Core() v1core.CoreV1Interface + func (m *FakeNodeHandler) CoreV1() v1core.CoreV1Interface + func (m *FakeNodeHandler) Create(node *v1.Node) (*v1.Node, error) + func (m *FakeNodeHandler) Delete(id string, opt *metav1.DeleteOptions) error + func (m *FakeNodeHandler) DeleteCollection(opt *metav1.DeleteOptions, listOpts metav1.ListOptions) error + func (m *FakeNodeHandler) Get(name string, opts metav1.GetOptions) (*v1.Node, error) + func (m *FakeNodeHandler) GetUpdatedNodesCopy() []*v1.Node + func (m *FakeNodeHandler) List(opts metav1.ListOptions) (*v1.NodeList, error) + func (m *FakeNodeHandler) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (*v1.Node, error) + func (m *FakeNodeHandler) PatchStatus(nodeName string, data []byte) (*v1.Node, error) + func (m *FakeNodeHandler) Update(node *v1.Node) (*v1.Node, error) + func (m *FakeNodeHandler) UpdateStatus(node *v1.Node) (*v1.Node, error) + func (m *FakeNodeHandler) Watch(opts metav1.ListOptions) (watch.Interface, error) + type FakeRecorder struct + Events []*v1.Event + func NewFakeRecorder() *FakeRecorder + func (f *FakeRecorder) AnnotatedEventf(obj runtime.Object, annotations map[string]string, ...) + func (f *FakeRecorder) Event(obj runtime.Object, eventtype, reason, message string) + func (f *FakeRecorder) Eventf(obj runtime.Object, eventtype, reason, messageFmt string, args ...interface{}) + func (f *FakeRecorder) PastEventf(obj runtime.Object, timestamp metav1.Time, ...)