Documentation
¶
Overview ¶
Package mock_k8s is a generated GoMock package.
Index ¶
- type MockClientInterface
- func (m *MockClientInterface) DeletePod(pod *v1.Pod) error
- func (m *MockClientInterface) EXPECT() *MockClientInterfaceMockRecorder
- func (m *MockClientInterface) GetPods(namespace string, options metav1.ListOptions) (*v1.PodList, error)
- func (m *MockClientInterface) NewSharedInformerFactory(ns string) (informers.SharedInformerFactory, error)
- type MockClientInterfaceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClientInterface ¶
type MockClientInterface struct {
// contains filtered or unexported fields
}
MockClientInterface is a mock of ClientInterface interface
func NewMockClientInterface ¶
func NewMockClientInterface(ctrl *gomock.Controller) *MockClientInterface
NewMockClientInterface creates a new mock instance
func (*MockClientInterface) DeletePod ¶
func (m *MockClientInterface) DeletePod(pod *v1.Pod) error
DeletePod mocks base method
func (*MockClientInterface) EXPECT ¶
func (m *MockClientInterface) EXPECT() *MockClientInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClientInterface) GetPods ¶
func (m *MockClientInterface) GetPods(namespace string, options metav1.ListOptions) (*v1.PodList, error)
GetPods mocks base method
func (*MockClientInterface) NewSharedInformerFactory ¶ added in v1.2.0
func (m *MockClientInterface) NewSharedInformerFactory(ns string) (informers.SharedInformerFactory, error)
NewSharedInformerFactory mocks base method
type MockClientInterfaceMockRecorder ¶
type MockClientInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockClientInterfaceMockRecorder is the mock recorder for MockClientInterface
func (*MockClientInterfaceMockRecorder) DeletePod ¶
func (mr *MockClientInterfaceMockRecorder) DeletePod(pod interface{}) *gomock.Call
DeletePod indicates an expected call of DeletePod
func (*MockClientInterfaceMockRecorder) GetPods ¶
func (mr *MockClientInterfaceMockRecorder) GetPods(namespace interface{}) *gomock.Call
GetPods indicates an expected call of GetPods
func (*MockClientInterfaceMockRecorder) NewSharedInformerFactory ¶ added in v1.2.0
func (mr *MockClientInterfaceMockRecorder) NewSharedInformerFactory(ns interface{}) *gomock.Call
NewSharedInformerFactory indicates an expected call of NewSharedInformerFactory
Click to show internal directories.
Click to hide internal directories.