Documentation
¶
Overview ¶
Package mock_config is a generated GoMock package.
Index ¶
- type MockConfiger
- func (m *MockConfiger) AddMachine(name string, host config.Host) error
- func (m *MockConfiger) DisableMachine(name string) error
- func (m *MockConfiger) EXPECT() *MockConfigerMockRecorder
- func (m *MockConfiger) EnableMachine(name string) error
- func (m *MockConfiger) GetMachine(name string) (config.Host, error)
- func (m *MockConfiger) ListActiveMachines() (map[string]config.Host, error)
- func (m *MockConfiger) ListMachines() (map[string]config.Host, error)
- func (m *MockConfiger) RemoveHost(name string) error
- func (m *MockConfiger) UpdateProvisionedStatus(name string, ok bool) error
- type MockConfigerMockRecorder
- func (mr *MockConfigerMockRecorder) AddMachine(name, host interface{}) *gomock.Call
- func (mr *MockConfigerMockRecorder) DisableMachine(name interface{}) *gomock.Call
- func (mr *MockConfigerMockRecorder) EnableMachine(name interface{}) *gomock.Call
- func (mr *MockConfigerMockRecorder) GetMachine(name interface{}) *gomock.Call
- func (mr *MockConfigerMockRecorder) ListActiveMachines() *gomock.Call
- func (mr *MockConfigerMockRecorder) ListMachines() *gomock.Call
- func (mr *MockConfigerMockRecorder) RemoveHost(name interface{}) *gomock.Call
- func (mr *MockConfigerMockRecorder) UpdateProvisionedStatus(name, ok interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConfiger ¶
type MockConfiger struct {
// contains filtered or unexported fields
}
MockConfiger is a mock of Configer interface
func NewMockConfiger ¶
func NewMockConfiger(ctrl *gomock.Controller) *MockConfiger
NewMockConfiger creates a new mock instance
func (*MockConfiger) AddMachine ¶
func (m *MockConfiger) AddMachine(name string, host config.Host) error
AddMachine mocks base method
func (*MockConfiger) DisableMachine ¶
func (m *MockConfiger) DisableMachine(name string) error
DisableMachine mocks base method
func (*MockConfiger) EXPECT ¶
func (m *MockConfiger) EXPECT() *MockConfigerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockConfiger) EnableMachine ¶
func (m *MockConfiger) EnableMachine(name string) error
EnableMachine mocks base method
func (*MockConfiger) GetMachine ¶
func (m *MockConfiger) GetMachine(name string) (config.Host, error)
GetMachine mocks base method
func (*MockConfiger) ListActiveMachines ¶
func (m *MockConfiger) ListActiveMachines() (map[string]config.Host, error)
ListActiveMachines mocks base method
func (*MockConfiger) ListMachines ¶
func (m *MockConfiger) ListMachines() (map[string]config.Host, error)
ListMachines mocks base method
func (*MockConfiger) RemoveHost ¶
func (m *MockConfiger) RemoveHost(name string) error
RemoveHost mocks base method
func (*MockConfiger) UpdateProvisionedStatus ¶
func (m *MockConfiger) UpdateProvisionedStatus(name string, ok bool) error
UpdateProvisionedStatus mocks base method
type MockConfigerMockRecorder ¶
type MockConfigerMockRecorder struct {
// contains filtered or unexported fields
}
MockConfigerMockRecorder is the mock recorder for MockConfiger
func (*MockConfigerMockRecorder) AddMachine ¶
func (mr *MockConfigerMockRecorder) AddMachine(name, host interface{}) *gomock.Call
AddMachine indicates an expected call of AddMachine
func (*MockConfigerMockRecorder) DisableMachine ¶
func (mr *MockConfigerMockRecorder) DisableMachine(name interface{}) *gomock.Call
DisableMachine indicates an expected call of DisableMachine
func (*MockConfigerMockRecorder) EnableMachine ¶
func (mr *MockConfigerMockRecorder) EnableMachine(name interface{}) *gomock.Call
EnableMachine indicates an expected call of EnableMachine
func (*MockConfigerMockRecorder) GetMachine ¶
func (mr *MockConfigerMockRecorder) GetMachine(name interface{}) *gomock.Call
GetMachine indicates an expected call of GetMachine
func (*MockConfigerMockRecorder) ListActiveMachines ¶
func (mr *MockConfigerMockRecorder) ListActiveMachines() *gomock.Call
ListActiveMachines indicates an expected call of ListActiveMachines
func (*MockConfigerMockRecorder) ListMachines ¶
func (mr *MockConfigerMockRecorder) ListMachines() *gomock.Call
ListMachines indicates an expected call of ListMachines
func (*MockConfigerMockRecorder) RemoveHost ¶
func (mr *MockConfigerMockRecorder) RemoveHost(name interface{}) *gomock.Call
RemoveHost indicates an expected call of RemoveHost
func (*MockConfigerMockRecorder) UpdateProvisionedStatus ¶
func (mr *MockConfigerMockRecorder) UpdateProvisionedStatus(name, ok interface{}) *gomock.Call
UpdateProvisionedStatus indicates an expected call of UpdateProvisionedStatus