Documentation ¶
Overview ¶
Package poll is a generated GoMock package.
Index ¶
- type MockPollActions
- func (m *MockPollActions) EXPECT() *MockPollActionsMockRecorder
- func (m *MockPollActions) ForDaemonSet(arg0 context.Context, arg1 *unstructured.Unstructured) error
- func (m *MockPollActions) ForDaemonSetLogs(arg0 context.Context, arg1 *unstructured.Unstructured, arg2 string) error
- func (m *MockPollActions) ForResource(arg0 context.Context, arg1 *unstructured.Unstructured) error
- func (m *MockPollActions) ForResourceUnavailability(arg0 context.Context, arg1 *unstructured.Unstructured) error
- type MockPollActionsMockRecorder
- func (mr *MockPollActionsMockRecorder) ForDaemonSet(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPollActionsMockRecorder) ForDaemonSetLogs(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPollActionsMockRecorder) ForResource(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPollActionsMockRecorder) ForResourceUnavailability(arg0, arg1 interface{}) *gomock.Call
- type PollActions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPollActions ¶
type MockPollActions struct {
// contains filtered or unexported fields
}
MockPollActions is a mock of PollActions interface.
func NewMockPollActions ¶
func NewMockPollActions(ctrl *gomock.Controller) *MockPollActions
NewMockPollActions creates a new mock instance.
func (*MockPollActions) EXPECT ¶
func (m *MockPollActions) EXPECT() *MockPollActionsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPollActions) ForDaemonSet ¶
func (m *MockPollActions) ForDaemonSet(arg0 context.Context, arg1 *unstructured.Unstructured) error
ForDaemonSet mocks base method.
func (*MockPollActions) ForDaemonSetLogs ¶
func (m *MockPollActions) ForDaemonSetLogs(arg0 context.Context, arg1 *unstructured.Unstructured, arg2 string) error
ForDaemonSetLogs mocks base method.
func (*MockPollActions) ForResource ¶
func (m *MockPollActions) ForResource(arg0 context.Context, arg1 *unstructured.Unstructured) error
ForResource mocks base method.
func (*MockPollActions) ForResourceUnavailability ¶
func (m *MockPollActions) ForResourceUnavailability(arg0 context.Context, arg1 *unstructured.Unstructured) error
ForResourceUnavailability mocks base method.
type MockPollActionsMockRecorder ¶
type MockPollActionsMockRecorder struct {
// contains filtered or unexported fields
}
MockPollActionsMockRecorder is the mock recorder for MockPollActions.
func (*MockPollActionsMockRecorder) ForDaemonSet ¶
func (mr *MockPollActionsMockRecorder) ForDaemonSet(arg0, arg1 interface{}) *gomock.Call
ForDaemonSet indicates an expected call of ForDaemonSet.
func (*MockPollActionsMockRecorder) ForDaemonSetLogs ¶
func (mr *MockPollActionsMockRecorder) ForDaemonSetLogs(arg0, arg1, arg2 interface{}) *gomock.Call
ForDaemonSetLogs indicates an expected call of ForDaemonSetLogs.
func (*MockPollActionsMockRecorder) ForResource ¶
func (mr *MockPollActionsMockRecorder) ForResource(arg0, arg1 interface{}) *gomock.Call
ForResource indicates an expected call of ForResource.
func (*MockPollActionsMockRecorder) ForResourceUnavailability ¶
func (mr *MockPollActionsMockRecorder) ForResourceUnavailability(arg0, arg1 interface{}) *gomock.Call
ForResourceUnavailability indicates an expected call of ForResourceUnavailability.
type PollActions ¶
type PollActions interface { ForResource(context.Context, *unstructured.Unstructured) error ForDaemonSet(context.Context, *unstructured.Unstructured) error ForDaemonSetLogs(context.Context, *unstructured.Unstructured, string) error }
func New ¶
func New(kubeClient clients.ClientsInterface, lc lifecycle.Lifecycle, storage storage.Storage) PollActions