Documentation ¶
Overview ¶
Package hostfile is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MockHostfile ¶ added in v1.0.14
type MockHostfile struct {
// contains filtered or unexported fields
}
MockHostfile is a mock of Hostfile interface.
func NewMockHostfile ¶ added in v1.0.14
func NewMockHostfile(ctrl *gomock.Controller) *MockHostfile
NewMockHostfile creates a new mock instance.
func (*MockHostfile) AddHost ¶ added in v1.0.14
func (m *MockHostfile) AddHost(ip, hostname string) error
AddHost mocks base method.
func (*MockHostfile) EXPECT ¶ added in v1.0.14
func (m *MockHostfile) EXPECT() *MockHostfileMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHostfile) RemoveHost ¶ added in v1.0.14
func (m *MockHostfile) RemoveHost(hostname string) error
RemoveHost mocks base method.
type MockHostfileMockRecorder ¶ added in v1.0.14
type MockHostfileMockRecorder struct {
// contains filtered or unexported fields
}
MockHostfileMockRecorder is the mock recorder for MockHostfile.
func (*MockHostfileMockRecorder) AddHost ¶ added in v1.0.14
func (mr *MockHostfileMockRecorder) AddHost(ip, hostname interface{}) *gomock.Call
AddHost indicates an expected call of AddHost.
func (*MockHostfileMockRecorder) RemoveHost ¶ added in v1.0.14
func (mr *MockHostfileMockRecorder) RemoveHost(hostname interface{}) *gomock.Call
RemoveHost indicates an expected call of RemoveHost.
Click to show internal directories.
Click to hide internal directories.