juju: github.com/juju/juju/cmd/juju/model/mocks Index | Files

package mocks

import "github.com/juju/juju/cmd/juju/model/mocks"

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Package Files

abort_mock.go addbranch_mock.go branch_mock.go commit_mock.go diff_mock.go trackbranch_mock.go

type MockAbortCommandAPI Uses

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

MockAbortCommandAPI is a mock of AbortCommandAPI interface

func NewMockAbortCommandAPI Uses

func NewMockAbortCommandAPI(ctrl *gomock.Controller) *MockAbortCommandAPI

NewMockAbortCommandAPI creates a new mock instance

func (*MockAbortCommandAPI) AbortBranch Uses

func (m *MockAbortCommandAPI) AbortBranch(arg0 string) error

AbortBranch mocks base method

func (*MockAbortCommandAPI) Close Uses

func (m *MockAbortCommandAPI) Close() error

Close mocks base method

func (*MockAbortCommandAPI) EXPECT Uses

func (m *MockAbortCommandAPI) EXPECT() *MockAbortCommandAPIMockRecorder

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

func (*MockAbortCommandAPI) HasActiveBranch Uses

func (m *MockAbortCommandAPI) HasActiveBranch(arg0 string) (bool, error)

HasActiveBranch mocks base method

type MockAbortCommandAPIMockRecorder Uses

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

MockAbortCommandAPIMockRecorder is the mock recorder for MockAbortCommandAPI

func (*MockAbortCommandAPIMockRecorder) AbortBranch Uses

func (mr *MockAbortCommandAPIMockRecorder) AbortBranch(arg0 interface{}) *gomock.Call

AbortBranch indicates an expected call of AbortBranch

func (*MockAbortCommandAPIMockRecorder) Close Uses

func (mr *MockAbortCommandAPIMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockAbortCommandAPIMockRecorder) HasActiveBranch Uses

func (mr *MockAbortCommandAPIMockRecorder) HasActiveBranch(arg0 interface{}) *gomock.Call

HasActiveBranch indicates an expected call of HasActiveBranch

type MockAddBranchCommandAPI Uses

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

MockAddBranchCommandAPI is a mock of AddBranchCommandAPI interface

func NewMockAddBranchCommandAPI Uses

func NewMockAddBranchCommandAPI(ctrl *gomock.Controller) *MockAddBranchCommandAPI

NewMockAddBranchCommandAPI creates a new mock instance

func (*MockAddBranchCommandAPI) AddBranch Uses

func (m *MockAddBranchCommandAPI) AddBranch(arg0 string) error

AddBranch mocks base method

func (*MockAddBranchCommandAPI) Close Uses

func (m *MockAddBranchCommandAPI) Close() error

Close mocks base method

func (*MockAddBranchCommandAPI) EXPECT Uses

func (m *MockAddBranchCommandAPI) EXPECT() *MockAddBranchCommandAPIMockRecorder

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

type MockAddBranchCommandAPIMockRecorder Uses

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

MockAddBranchCommandAPIMockRecorder is the mock recorder for MockAddBranchCommandAPI

func (*MockAddBranchCommandAPIMockRecorder) AddBranch Uses

func (mr *MockAddBranchCommandAPIMockRecorder) AddBranch(arg0 interface{}) *gomock.Call

AddBranch indicates an expected call of AddBranch

func (*MockAddBranchCommandAPIMockRecorder) Close Uses

func (mr *MockAddBranchCommandAPIMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

type MockBranchCommandAPI Uses

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

MockBranchCommandAPI is a mock of BranchCommandAPI interface

func NewMockBranchCommandAPI Uses

func NewMockBranchCommandAPI(ctrl *gomock.Controller) *MockBranchCommandAPI

NewMockBranchCommandAPI creates a new mock instance

func (*MockBranchCommandAPI) Close Uses

func (m *MockBranchCommandAPI) Close() error

Close mocks base method

func (*MockBranchCommandAPI) EXPECT Uses

func (m *MockBranchCommandAPI) EXPECT() *MockBranchCommandAPIMockRecorder

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

func (*MockBranchCommandAPI) HasActiveBranch Uses

func (m *MockBranchCommandAPI) HasActiveBranch(arg0 string) (bool, error)

HasActiveBranch mocks base method

type MockBranchCommandAPIMockRecorder Uses

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

MockBranchCommandAPIMockRecorder is the mock recorder for MockBranchCommandAPI

func (*MockBranchCommandAPIMockRecorder) Close Uses

func (mr *MockBranchCommandAPIMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockBranchCommandAPIMockRecorder) HasActiveBranch Uses

func (mr *MockBranchCommandAPIMockRecorder) HasActiveBranch(arg0 interface{}) *gomock.Call

HasActiveBranch indicates an expected call of HasActiveBranch

type MockCommitCommandAPI Uses

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

MockCommitCommandAPI is a mock of CommitCommandAPI interface

func NewMockCommitCommandAPI Uses

func NewMockCommitCommandAPI(ctrl *gomock.Controller) *MockCommitCommandAPI

NewMockCommitCommandAPI creates a new mock instance

func (*MockCommitCommandAPI) Close Uses

func (m *MockCommitCommandAPI) Close() error

Close mocks base method

func (*MockCommitCommandAPI) CommitBranch Uses

func (m *MockCommitCommandAPI) CommitBranch(arg0 string) (int, error)

CommitBranch mocks base method

func (*MockCommitCommandAPI) EXPECT Uses

func (m *MockCommitCommandAPI) EXPECT() *MockCommitCommandAPIMockRecorder

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

type MockCommitCommandAPIMockRecorder Uses

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

MockCommitCommandAPIMockRecorder is the mock recorder for MockCommitCommandAPI

func (*MockCommitCommandAPIMockRecorder) Close Uses

func (mr *MockCommitCommandAPIMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockCommitCommandAPIMockRecorder) CommitBranch Uses

func (mr *MockCommitCommandAPIMockRecorder) CommitBranch(arg0 interface{}) *gomock.Call

CommitBranch indicates an expected call of CommitBranch

type MockDiffCommandAPI Uses

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

MockDiffCommandAPI is a mock of DiffCommandAPI interface

func NewMockDiffCommandAPI Uses

func NewMockDiffCommandAPI(ctrl *gomock.Controller) *MockDiffCommandAPI

NewMockDiffCommandAPI creates a new mock instance

func (*MockDiffCommandAPI) BranchInfo Uses

func (m *MockDiffCommandAPI) BranchInfo(arg0 string, arg1 bool, arg2 func(time.Time) string) (map[string]model.Generation, error)

BranchInfo mocks base method

func (*MockDiffCommandAPI) Close Uses

func (m *MockDiffCommandAPI) Close() error

Close mocks base method

func (*MockDiffCommandAPI) EXPECT Uses

func (m *MockDiffCommandAPI) EXPECT() *MockDiffCommandAPIMockRecorder

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

type MockDiffCommandAPIMockRecorder Uses

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

MockDiffCommandAPIMockRecorder is the mock recorder for MockDiffCommandAPI

func (*MockDiffCommandAPIMockRecorder) BranchInfo Uses

func (mr *MockDiffCommandAPIMockRecorder) BranchInfo(arg0, arg1, arg2 interface{}) *gomock.Call

BranchInfo indicates an expected call of BranchInfo

func (*MockDiffCommandAPIMockRecorder) Close Uses

func (mr *MockDiffCommandAPIMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

type MockTrackBranchCommandAPI Uses

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

MockTrackBranchCommandAPI is a mock of TrackBranchCommandAPI interface

func NewMockTrackBranchCommandAPI Uses

func NewMockTrackBranchCommandAPI(ctrl *gomock.Controller) *MockTrackBranchCommandAPI

NewMockTrackBranchCommandAPI creates a new mock instance

func (*MockTrackBranchCommandAPI) Close Uses

func (m *MockTrackBranchCommandAPI) Close() error

Close mocks base method

func (*MockTrackBranchCommandAPI) EXPECT Uses

func (m *MockTrackBranchCommandAPI) EXPECT() *MockTrackBranchCommandAPIMockRecorder

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

func (*MockTrackBranchCommandAPI) TrackBranch Uses

func (m *MockTrackBranchCommandAPI) TrackBranch(arg0 string, arg1 []string) error

TrackBranch mocks base method

type MockTrackBranchCommandAPIMockRecorder Uses

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

MockTrackBranchCommandAPIMockRecorder is the mock recorder for MockTrackBranchCommandAPI

func (*MockTrackBranchCommandAPIMockRecorder) Close Uses

func (mr *MockTrackBranchCommandAPIMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockTrackBranchCommandAPIMockRecorder) TrackBranch Uses

func (mr *MockTrackBranchCommandAPIMockRecorder) TrackBranch(arg0, arg1 interface{}) *gomock.Call

TrackBranch indicates an expected call of TrackBranch

Package mocks imports 4 packages (graph). Updated 2019-08-23. Refresh now. Tools for package owners.