mock_store

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_store is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStore

type MockStore struct {
	// contains filtered or unexported fields
}

MockStore is a mock of Store interface

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance

func (*MockStore) AddPodFlagListener

func (m *MockStore) AddPodFlagListener(arg0 int32, arg1 func(interface{}))

AddPodFlagListener mocks base method

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockStore) GetNodeFlag

func (m *MockStore) GetNodeFlag(arg0 int32) (interface{}, error)

GetNodeFlag mocks base method

func (*MockStore) GetPodFlag

func (m *MockStore) GetPodFlag(arg0 *v1.Pod, arg1 int32) (interface{}, error)

GetPodFlag mocks base method

func (*MockStore) PeekTask

func (m *MockStore) PeekTask() (time.Duration, bool, error)

PeekTask mocks base method

func (*MockStore) PopTask

func (m *MockStore) PopTask() (*store.Task, error)

PopTask mocks base method

func (*MockStore) RemovePodTasks

func (m *MockStore) RemovePodTasks(arg0 string) error

RemovePodTasks mocks base method

func (*MockStore) SetNodeFlags

func (m *MockStore) SetNodeFlags(arg0 store.Flags)

SetNodeFlags mocks base method

func (*MockStore) SetNodeTasks

func (m *MockStore) SetNodeTasks(arg0 []*store.Task) error

SetNodeTasks mocks base method

func (*MockStore) SetPodFlags

func (m *MockStore) SetPodFlags(arg0 string, arg1 store.Flags)

SetPodFlags mocks base method

func (*MockStore) SetPodTasks

func (m *MockStore) SetPodTasks(arg0 string, arg1 []*store.Task) error

SetPodTasks mocks base method

func (*MockStore) SetPodTimeFlags

func (m *MockStore) SetPodTimeFlags(arg0 string, arg1 []*store.TimeFlags)

SetPodTimeFlags mocks base method

type MockStoreMockRecorder

type MockStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockStoreMockRecorder is the mock recorder for MockStore

func (*MockStoreMockRecorder) AddPodFlagListener

func (mr *MockStoreMockRecorder) AddPodFlagListener(arg0, arg1 interface{}) *gomock.Call

AddPodFlagListener indicates an expected call of AddPodFlagListener

func (*MockStoreMockRecorder) GetNodeFlag

func (mr *MockStoreMockRecorder) GetNodeFlag(arg0 interface{}) *gomock.Call

GetNodeFlag indicates an expected call of GetNodeFlag

func (*MockStoreMockRecorder) GetPodFlag

func (mr *MockStoreMockRecorder) GetPodFlag(arg0, arg1 interface{}) *gomock.Call

GetPodFlag indicates an expected call of GetPodFlag

func (*MockStoreMockRecorder) PeekTask

func (mr *MockStoreMockRecorder) PeekTask() *gomock.Call

PeekTask indicates an expected call of PeekTask

func (*MockStoreMockRecorder) PopTask

func (mr *MockStoreMockRecorder) PopTask() *gomock.Call

PopTask indicates an expected call of PopTask

func (*MockStoreMockRecorder) RemovePodTasks

func (mr *MockStoreMockRecorder) RemovePodTasks(arg0 interface{}) *gomock.Call

RemovePodTasks indicates an expected call of RemovePodTasks

func (*MockStoreMockRecorder) SetNodeFlags

func (mr *MockStoreMockRecorder) SetNodeFlags(arg0 interface{}) *gomock.Call

SetNodeFlags indicates an expected call of SetNodeFlags

func (*MockStoreMockRecorder) SetNodeTasks

func (mr *MockStoreMockRecorder) SetNodeTasks(arg0 interface{}) *gomock.Call

SetNodeTasks indicates an expected call of SetNodeTasks

func (*MockStoreMockRecorder) SetPodFlags

func (mr *MockStoreMockRecorder) SetPodFlags(arg0, arg1 interface{}) *gomock.Call

SetPodFlags indicates an expected call of SetPodFlags

func (*MockStoreMockRecorder) SetPodTasks

func (mr *MockStoreMockRecorder) SetPodTasks(arg0, arg1 interface{}) *gomock.Call

SetPodTasks indicates an expected call of SetPodTasks

func (*MockStoreMockRecorder) SetPodTimeFlags

func (mr *MockStoreMockRecorder) SetPodTimeFlags(arg0, arg1 interface{}) *gomock.Call

SetPodTimeFlags indicates an expected call of SetPodTimeFlags

Jump to

Keyboard shortcuts

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