Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLeadership ¶
type MockLeadership struct {
// contains filtered or unexported fields
}
MockLeadership is a mock of Leadership interface
func NewMockLeadership ¶
func NewMockLeadership(ctrl *gomock.Controller) *MockLeadership
NewMockLeadership creates a new mock instance
func (*MockLeadership) EXPECT ¶
func (m *MockLeadership) EXPECT() *MockLeadershipMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLeadership) GetMachineApplicationNames ¶
func (m *MockLeadership) GetMachineApplicationNames(arg0 string) ([]string, error)
GetMachineApplicationNames mocks base method
func (*MockLeadership) UnpinApplicationLeadersByName ¶
func (m *MockLeadership) UnpinApplicationLeadersByName(arg0 names.Tag, arg1 []string) (params.PinApplicationsResults, error)
UnpinApplicationLeadersByName mocks base method
type MockLeadershipMockRecorder ¶
type MockLeadershipMockRecorder struct {
// contains filtered or unexported fields
}
MockLeadershipMockRecorder is the mock recorder for MockLeadership
func (*MockLeadershipMockRecorder) GetMachineApplicationNames ¶
func (mr *MockLeadershipMockRecorder) GetMachineApplicationNames(arg0 interface{}) *gomock.Call
GetMachineApplicationNames indicates an expected call of GetMachineApplicationNames
func (*MockLeadershipMockRecorder) UnpinApplicationLeadersByName ¶
func (mr *MockLeadershipMockRecorder) UnpinApplicationLeadersByName(arg0, arg1 interface{}) *gomock.Call
UnpinApplicationLeadersByName indicates an expected call of UnpinApplicationLeadersByName
Click to show internal directories.
Click to hide internal directories.