Documentation ¶
Overview ¶
Package mock_k8s is a generated GoMock package.
Index ¶
- type MockK8sWrapper
- func (m *MockK8sWrapper) AdvertiseCapacityIfNotSet(arg0, arg1 string, arg2 int) error
- func (m *MockK8sWrapper) AnnotatePod(arg0, arg1, arg2, arg3 string) error
- func (m *MockK8sWrapper) BroadcastEvent(arg0 runtime.Object, arg1, arg2, arg3 string)
- func (m *MockK8sWrapper) EXPECT() *MockK8sWrapperMockRecorder
- func (m *MockK8sWrapper) GetENIConfig(arg0 string) (*v1alpha1.ENIConfig, error)
- func (m *MockK8sWrapper) GetNode(arg0 string) (*v1.Node, error)
- func (m *MockK8sWrapper) GetPod(arg0, arg1 string) (*v1.Pod, error)
- func (m *MockK8sWrapper) GetPodFromAPIServer(arg0, arg1 string) (*v1.Pod, error)
- func (m *MockK8sWrapper) ListPods(arg0 string) (*v1.PodList, error)
- type MockK8sWrapperMockRecorder
- func (mr *MockK8sWrapperMockRecorder) AdvertiseCapacityIfNotSet(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockK8sWrapperMockRecorder) AnnotatePod(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockK8sWrapperMockRecorder) BroadcastEvent(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockK8sWrapperMockRecorder) GetENIConfig(arg0 interface{}) *gomock.Call
- func (mr *MockK8sWrapperMockRecorder) GetNode(arg0 interface{}) *gomock.Call
- func (mr *MockK8sWrapperMockRecorder) GetPod(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockK8sWrapperMockRecorder) GetPodFromAPIServer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockK8sWrapperMockRecorder) ListPods(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockK8sWrapper ¶
type MockK8sWrapper struct {
// contains filtered or unexported fields
}
MockK8sWrapper is a mock of K8sWrapper interface
func NewMockK8sWrapper ¶
func NewMockK8sWrapper(ctrl *gomock.Controller) *MockK8sWrapper
NewMockK8sWrapper creates a new mock instance
func (*MockK8sWrapper) AdvertiseCapacityIfNotSet ¶
func (m *MockK8sWrapper) AdvertiseCapacityIfNotSet(arg0, arg1 string, arg2 int) error
AdvertiseCapacityIfNotSet mocks base method
func (*MockK8sWrapper) AnnotatePod ¶
func (m *MockK8sWrapper) AnnotatePod(arg0, arg1, arg2, arg3 string) error
AnnotatePod mocks base method
func (*MockK8sWrapper) BroadcastEvent ¶ added in v1.0.7
func (m *MockK8sWrapper) BroadcastEvent(arg0 runtime.Object, arg1, arg2, arg3 string)
BroadcastEvent mocks base method
func (*MockK8sWrapper) EXPECT ¶
func (m *MockK8sWrapper) EXPECT() *MockK8sWrapperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockK8sWrapper) GetENIConfig ¶
func (m *MockK8sWrapper) GetENIConfig(arg0 string) (*v1alpha1.ENIConfig, error)
GetENIConfig mocks base method
func (*MockK8sWrapper) GetNode ¶ added in v1.0.7
func (m *MockK8sWrapper) GetNode(arg0 string) (*v1.Node, error)
GetNode mocks base method
func (*MockK8sWrapper) GetPod ¶
func (m *MockK8sWrapper) GetPod(arg0, arg1 string) (*v1.Pod, error)
GetPod mocks base method
func (*MockK8sWrapper) GetPodFromAPIServer ¶
func (m *MockK8sWrapper) GetPodFromAPIServer(arg0, arg1 string) (*v1.Pod, error)
GetPodFromAPIServer mocks base method
type MockK8sWrapperMockRecorder ¶
type MockK8sWrapperMockRecorder struct {
// contains filtered or unexported fields
}
MockK8sWrapperMockRecorder is the mock recorder for MockK8sWrapper
func (*MockK8sWrapperMockRecorder) AdvertiseCapacityIfNotSet ¶
func (mr *MockK8sWrapperMockRecorder) AdvertiseCapacityIfNotSet(arg0, arg1, arg2 interface{}) *gomock.Call
AdvertiseCapacityIfNotSet indicates an expected call of AdvertiseCapacityIfNotSet
func (*MockK8sWrapperMockRecorder) AnnotatePod ¶
func (mr *MockK8sWrapperMockRecorder) AnnotatePod(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
AnnotatePod indicates an expected call of AnnotatePod
func (*MockK8sWrapperMockRecorder) BroadcastEvent ¶ added in v1.0.7
func (mr *MockK8sWrapperMockRecorder) BroadcastEvent(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
BroadcastEvent indicates an expected call of BroadcastEvent
func (*MockK8sWrapperMockRecorder) GetENIConfig ¶
func (mr *MockK8sWrapperMockRecorder) GetENIConfig(arg0 interface{}) *gomock.Call
GetENIConfig indicates an expected call of GetENIConfig
func (*MockK8sWrapperMockRecorder) GetNode ¶ added in v1.0.7
func (mr *MockK8sWrapperMockRecorder) GetNode(arg0 interface{}) *gomock.Call
GetNode indicates an expected call of GetNode
func (*MockK8sWrapperMockRecorder) GetPod ¶
func (mr *MockK8sWrapperMockRecorder) GetPod(arg0, arg1 interface{}) *gomock.Call
GetPod indicates an expected call of GetPod
func (*MockK8sWrapperMockRecorder) GetPodFromAPIServer ¶
func (mr *MockK8sWrapperMockRecorder) GetPodFromAPIServer(arg0, arg1 interface{}) *gomock.Call
GetPodFromAPIServer indicates an expected call of GetPodFromAPIServer
func (*MockK8sWrapperMockRecorder) ListPods ¶
func (mr *MockK8sWrapperMockRecorder) ListPods(arg0 interface{}) *gomock.Call
ListPods indicates an expected call of ListPods