poll

package
v0.0.0-...-c9e8fde Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package poll is a generated GoMock package.

Index

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

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 {
	ForResourceUnavailability(context.Context, *unstructured.Unstructured) error
	ForResource(context.Context, *unstructured.Unstructured) error
	ForDaemonSet(context.Context, *unstructured.Unstructured) error
	ForDaemonSetLogs(context.Context, *unstructured.Unstructured, string) error
}

func New

Jump to

Keyboard shortcuts

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