Documentation ¶
Index ¶
- type PodMan
- type PodMan_DeletePod_Call
- func (_c *PodMan_DeletePod_Call) Return(_a0 error) *PodMan_DeletePod_Call
- func (_c *PodMan_DeletePod_Call) Run(run func(ctx context.Context, namespace string, name string)) *PodMan_DeletePod_Call
- func (_c *PodMan_DeletePod_Call) RunAndReturn(run func(context.Context, string, string) error) *PodMan_DeletePod_Call
- type PodMan_Disconnect_Call
- type PodMan_Expecter
- func (_e *PodMan_Expecter) DeletePod(ctx interface{}, namespace interface{}, name interface{}) *PodMan_DeletePod_Call
- func (_e *PodMan_Expecter) Disconnect() *PodMan_Disconnect_Call
- func (_e *PodMan_Expecter) GetPodsForLabelSelector(ctx interface{}, namespace interface{}, labelSelector interface{}) *PodMan_GetPodsForLabelSelector_Call
- type PodMan_GetPodsForLabelSelector_Call
- func (_c *PodMan_GetPodsForLabelSelector_Call) Return(_a0 []v1.Pod, _a1 error) *PodMan_GetPodsForLabelSelector_Call
- func (_c *PodMan_GetPodsForLabelSelector_Call) Run(run func(ctx context.Context, namespace string, labelSelector string)) *PodMan_GetPodsForLabelSelector_Call
- func (_c *PodMan_GetPodsForLabelSelector_Call) RunAndReturn(run func(context.Context, string, string) ([]v1.Pod, error)) *PodMan_GetPodsForLabelSelector_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PodMan ¶
PodMan is an autogenerated mock type for the PodMan type
func NewPodMan ¶
NewPodMan creates a new instance of PodMan. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*PodMan) DeletePod ¶
DeletePod provides a mock function with given fields: ctx, namespace, name
func (*PodMan) Disconnect ¶
func (_m *PodMan) Disconnect()
Disconnect provides a mock function with given fields:
func (*PodMan) EXPECT ¶
func (_m *PodMan) EXPECT() *PodMan_Expecter
type PodMan_DeletePod_Call ¶
PodMan_DeletePod_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeletePod'
func (*PodMan_DeletePod_Call) Return ¶
func (_c *PodMan_DeletePod_Call) Return(_a0 error) *PodMan_DeletePod_Call
func (*PodMan_DeletePod_Call) Run ¶
func (_c *PodMan_DeletePod_Call) Run(run func(ctx context.Context, namespace string, name string)) *PodMan_DeletePod_Call
func (*PodMan_DeletePod_Call) RunAndReturn ¶
func (_c *PodMan_DeletePod_Call) RunAndReturn(run func(context.Context, string, string) error) *PodMan_DeletePod_Call
type PodMan_Disconnect_Call ¶
PodMan_Disconnect_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Disconnect'
func (*PodMan_Disconnect_Call) Return ¶
func (_c *PodMan_Disconnect_Call) Return() *PodMan_Disconnect_Call
func (*PodMan_Disconnect_Call) Run ¶
func (_c *PodMan_Disconnect_Call) Run(run func()) *PodMan_Disconnect_Call
func (*PodMan_Disconnect_Call) RunAndReturn ¶
func (_c *PodMan_Disconnect_Call) RunAndReturn(run func()) *PodMan_Disconnect_Call
type PodMan_Expecter ¶
type PodMan_Expecter struct {
// contains filtered or unexported fields
}
func (*PodMan_Expecter) DeletePod ¶
func (_e *PodMan_Expecter) DeletePod(ctx interface{}, namespace interface{}, name interface{}) *PodMan_DeletePod_Call
DeletePod is a helper method to define mock.On call
- ctx context.Context
- namespace string
- name string
func (*PodMan_Expecter) Disconnect ¶
func (_e *PodMan_Expecter) Disconnect() *PodMan_Disconnect_Call
Disconnect is a helper method to define mock.On call
func (*PodMan_Expecter) GetPodsForLabelSelector ¶
func (_e *PodMan_Expecter) GetPodsForLabelSelector(ctx interface{}, namespace interface{}, labelSelector interface{}) *PodMan_GetPodsForLabelSelector_Call
GetPodsForLabelSelector is a helper method to define mock.On call
- ctx context.Context
- namespace string
- labelSelector string
type PodMan_GetPodsForLabelSelector_Call ¶
PodMan_GetPodsForLabelSelector_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPodsForLabelSelector'
func (*PodMan_GetPodsForLabelSelector_Call) Return ¶
func (_c *PodMan_GetPodsForLabelSelector_Call) Return(_a0 []v1.Pod, _a1 error) *PodMan_GetPodsForLabelSelector_Call
func (*PodMan_GetPodsForLabelSelector_Call) Run ¶
func (_c *PodMan_GetPodsForLabelSelector_Call) Run(run func(ctx context.Context, namespace string, labelSelector string)) *PodMan_GetPodsForLabelSelector_Call
func (*PodMan_GetPodsForLabelSelector_Call) RunAndReturn ¶
func (_c *PodMan_GetPodsForLabelSelector_Call) RunAndReturn(run func(context.Context, string, string) ([]v1.Pod, error)) *PodMan_GetPodsForLabelSelector_Call