mock_watcher

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_watcher is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Watcher

type Watcher struct {
	// contains filtered or unexported fields
}

Watcher is a mock of WatcherInterface interface.

func NewWatcher

func NewWatcher(ctrl *gomock.Controller) *Watcher

NewWatcher creates a new mock instance.

func (*Watcher) EXPECT

func (m *Watcher) EXPECT() *WatcherMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*Watcher) GetNodeByInternalIP

func (m *Watcher) GetNodeByInternalIP(ip string) (*v1.Node, error)

GetNodeByInternalIP mocks base method.

func (*Watcher) GetNodeByName

func (m *Watcher) GetNodeByName(name string) (*v1.Node, error)

GetNodeByName mocks base method.

func (*Watcher) GetPodsByIP

func (m *Watcher) GetPodsByIP(ip string) ([]*v1.Pod, error)

GetPodsByIP mocks base method.

func (*Watcher) GetServiceByClusterIP

func (m *Watcher) GetServiceByClusterIP(ip string) (*v1.Service, error)

GetServiceByClusterIP mocks base method.

type WatcherMockRecorder

type WatcherMockRecorder struct {
	// contains filtered or unexported fields
}

WatcherMockRecorder is the mock recorder for Watcher.

func (*WatcherMockRecorder) GetNodeByInternalIP

func (mr *WatcherMockRecorder) GetNodeByInternalIP(ip any) *gomock.Call

GetNodeByInternalIP indicates an expected call of GetNodeByInternalIP.

func (*WatcherMockRecorder) GetNodeByName

func (mr *WatcherMockRecorder) GetNodeByName(name any) *gomock.Call

GetNodeByName indicates an expected call of GetNodeByName.

func (*WatcherMockRecorder) GetPodsByIP

func (mr *WatcherMockRecorder) GetPodsByIP(ip any) *gomock.Call

GetPodsByIP indicates an expected call of GetPodsByIP.

func (*WatcherMockRecorder) GetServiceByClusterIP

func (mr *WatcherMockRecorder) GetServiceByClusterIP(ip any) *gomock.Call

GetServiceByClusterIP indicates an expected call of GetServiceByClusterIP.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL