juju: github.com/juju/juju/core/leadership/mocks Index | Files

package mocks

import "github.com/juju/juju/core/leadership/mocks"

Package mocks is a generated GoMock package.

Index

Package Files

leadership_mock.go

type MockPinner Uses

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

MockPinner is a mock of Pinner interface

func NewMockPinner Uses

func NewMockPinner(ctrl *gomock.Controller) *MockPinner

NewMockPinner creates a new mock instance

func (*MockPinner) EXPECT Uses

func (m *MockPinner) EXPECT() *MockPinnerMockRecorder

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

func (*MockPinner) PinLeadership Uses

func (m *MockPinner) PinLeadership(arg0, arg1 string) error

PinLeadership mocks base method

func (*MockPinner) PinnedLeadership Uses

func (m *MockPinner) PinnedLeadership() map[string][]string

PinnedLeadership mocks base method

func (*MockPinner) UnpinLeadership Uses

func (m *MockPinner) UnpinLeadership(arg0, arg1 string) error

UnpinLeadership mocks base method

type MockPinnerMockRecorder Uses

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

MockPinnerMockRecorder is the mock recorder for MockPinner

func (*MockPinnerMockRecorder) PinLeadership Uses

func (mr *MockPinnerMockRecorder) PinLeadership(arg0, arg1 interface{}) *gomock.Call

PinLeadership indicates an expected call of PinLeadership

func (*MockPinnerMockRecorder) PinnedLeadership Uses

func (mr *MockPinnerMockRecorder) PinnedLeadership() *gomock.Call

PinnedLeadership indicates an expected call of PinnedLeadership

func (*MockPinnerMockRecorder) UnpinLeadership Uses

func (mr *MockPinnerMockRecorder) UnpinLeadership(arg0, arg1 interface{}) *gomock.Call

UnpinLeadership indicates an expected call of UnpinLeadership

Package mocks imports 2 packages (graph). Updated 2019-01-25. Refresh now. Tools for package owners.