juju: github.com/juju/juju/apiserver/facades/client/modelgeneration/mocks Index | Files

package mocks

import "github.com/juju/juju/apiserver/facades/client/modelgeneration/mocks"

Package mocks is a generated GoMock package.

Index

Package Files

package_mock.go

type MockApplication Uses

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

MockApplication is a mock of Application interface

func NewMockApplication Uses

func NewMockApplication(ctrl *gomock.Controller) *MockApplication

NewMockApplication creates a new mock instance

func (*MockApplication) DefaultCharmConfig Uses

func (m *MockApplication) DefaultCharmConfig() (charm_v6.Settings, error)

DefaultCharmConfig mocks base method

func (*MockApplication) EXPECT Uses

func (m *MockApplication) EXPECT() *MockApplicationMockRecorder

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

func (*MockApplication) UnitNames Uses

func (m *MockApplication) UnitNames() ([]string, error)

UnitNames mocks base method

type MockApplicationMockRecorder Uses

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

MockApplicationMockRecorder is the mock recorder for MockApplication

func (*MockApplicationMockRecorder) DefaultCharmConfig Uses

func (mr *MockApplicationMockRecorder) DefaultCharmConfig() *gomock.Call

DefaultCharmConfig indicates an expected call of DefaultCharmConfig

func (*MockApplicationMockRecorder) UnitNames Uses

func (mr *MockApplicationMockRecorder) UnitNames() *gomock.Call

UnitNames indicates an expected call of UnitNames

type MockGeneration Uses

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

MockGeneration is a mock of Generation interface

func NewMockGeneration Uses

func NewMockGeneration(ctrl *gomock.Controller) *MockGeneration

NewMockGeneration creates a new mock instance

func (*MockGeneration) Abort Uses

func (m *MockGeneration) Abort(arg0 string) error

Abort mocks base method

func (*MockGeneration) AssignAllUnits Uses

func (m *MockGeneration) AssignAllUnits(arg0 string) error

AssignAllUnits mocks base method

func (*MockGeneration) AssignUnit Uses

func (m *MockGeneration) AssignUnit(arg0 string) error

AssignUnit mocks base method

func (*MockGeneration) AssignedUnits Uses

func (m *MockGeneration) AssignedUnits() map[string][]string

AssignedUnits mocks base method

func (*MockGeneration) BranchName Uses

func (m *MockGeneration) BranchName() string

BranchName mocks base method

func (*MockGeneration) Commit Uses

func (m *MockGeneration) Commit(arg0 string) (int, error)

Commit mocks base method

func (*MockGeneration) Config Uses

func (m *MockGeneration) Config() map[string]settings.ItemChanges

Config mocks base method

func (*MockGeneration) Created Uses

func (m *MockGeneration) Created() int64

Created mocks base method

func (*MockGeneration) CreatedBy Uses

func (m *MockGeneration) CreatedBy() string

CreatedBy mocks base method

func (*MockGeneration) EXPECT Uses

func (m *MockGeneration) EXPECT() *MockGenerationMockRecorder

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

type MockGenerationMockRecorder Uses

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

MockGenerationMockRecorder is the mock recorder for MockGeneration

func (*MockGenerationMockRecorder) Abort Uses

func (mr *MockGenerationMockRecorder) Abort(arg0 interface{}) *gomock.Call

Abort indicates an expected call of Abort

func (*MockGenerationMockRecorder) AssignAllUnits Uses

func (mr *MockGenerationMockRecorder) AssignAllUnits(arg0 interface{}) *gomock.Call

AssignAllUnits indicates an expected call of AssignAllUnits

func (*MockGenerationMockRecorder) AssignUnit Uses

func (mr *MockGenerationMockRecorder) AssignUnit(arg0 interface{}) *gomock.Call

AssignUnit indicates an expected call of AssignUnit

func (*MockGenerationMockRecorder) AssignedUnits Uses

func (mr *MockGenerationMockRecorder) AssignedUnits() *gomock.Call

AssignedUnits indicates an expected call of AssignedUnits

func (*MockGenerationMockRecorder) BranchName Uses

func (mr *MockGenerationMockRecorder) BranchName() *gomock.Call

BranchName indicates an expected call of BranchName

func (*MockGenerationMockRecorder) Commit Uses

func (mr *MockGenerationMockRecorder) Commit(arg0 interface{}) *gomock.Call

Commit indicates an expected call of Commit

func (*MockGenerationMockRecorder) Config Uses

func (mr *MockGenerationMockRecorder) Config() *gomock.Call

Config indicates an expected call of Config

func (*MockGenerationMockRecorder) Created Uses

func (mr *MockGenerationMockRecorder) Created() *gomock.Call

Created indicates an expected call of Created

func (*MockGenerationMockRecorder) CreatedBy Uses

func (mr *MockGenerationMockRecorder) CreatedBy() *gomock.Call

CreatedBy indicates an expected call of CreatedBy

type MockModel Uses

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

MockModel is a mock of Model interface

func NewMockModel Uses

func NewMockModel(ctrl *gomock.Controller) *MockModel

NewMockModel creates a new mock instance

func (*MockModel) AddBranch Uses

func (m *MockModel) AddBranch(arg0, arg1 string) error

AddBranch mocks base method

func (*MockModel) Branch Uses

func (m *MockModel) Branch(arg0 string) (modelgeneration.Generation, error)

Branch mocks base method

func (*MockModel) Branches Uses

func (m *MockModel) Branches() ([]modelgeneration.Generation, error)

Branches mocks base method

func (*MockModel) EXPECT Uses

func (m *MockModel) EXPECT() *MockModelMockRecorder

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

func (*MockModel) ModelTag Uses

func (m *MockModel) ModelTag() names_v3.ModelTag

ModelTag mocks base method

type MockModelCache Uses

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

MockModelCache is a mock of ModelCache interface

func NewMockModelCache Uses

func NewMockModelCache(ctrl *gomock.Controller) *MockModelCache

NewMockModelCache creates a new mock instance

func (*MockModelCache) Branch Uses

func (m *MockModelCache) Branch(arg0 string) (cache.Branch, error)

Branch mocks base method

func (*MockModelCache) EXPECT Uses

func (m *MockModelCache) EXPECT() *MockModelCacheMockRecorder

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

type MockModelCacheMockRecorder Uses

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

MockModelCacheMockRecorder is the mock recorder for MockModelCache

func (*MockModelCacheMockRecorder) Branch Uses

func (mr *MockModelCacheMockRecorder) Branch(arg0 interface{}) *gomock.Call

Branch indicates an expected call of Branch

type MockModelMockRecorder Uses

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

MockModelMockRecorder is the mock recorder for MockModel

func (*MockModelMockRecorder) AddBranch Uses

func (mr *MockModelMockRecorder) AddBranch(arg0, arg1 interface{}) *gomock.Call

AddBranch indicates an expected call of AddBranch

func (*MockModelMockRecorder) Branch Uses

func (mr *MockModelMockRecorder) Branch(arg0 interface{}) *gomock.Call

Branch indicates an expected call of Branch

func (*MockModelMockRecorder) Branches Uses

func (mr *MockModelMockRecorder) Branches() *gomock.Call

Branches indicates an expected call of Branches

func (*MockModelMockRecorder) ModelTag Uses

func (mr *MockModelMockRecorder) ModelTag() *gomock.Call

ModelTag indicates an expected call of ModelTag

type MockState Uses

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

MockState is a mock of State interface

func NewMockState Uses

func NewMockState(ctrl *gomock.Controller) *MockState

NewMockState creates a new mock instance

func (*MockState) Application Uses

func (m *MockState) Application(arg0 string) (modelgeneration.Application, error)

Application mocks base method

func (*MockState) ControllerTag Uses

func (m *MockState) ControllerTag() names_v3.ControllerTag

ControllerTag mocks base method

func (*MockState) EXPECT Uses

func (m *MockState) EXPECT() *MockStateMockRecorder

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

func (*MockState) Model Uses

func (m *MockState) Model() (modelgeneration.Model, error)

Model mocks base method

type MockStateMockRecorder Uses

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

MockStateMockRecorder is the mock recorder for MockState

func (*MockStateMockRecorder) Application Uses

func (mr *MockStateMockRecorder) Application(arg0 interface{}) *gomock.Call

Application indicates an expected call of Application

func (*MockStateMockRecorder) ControllerTag Uses

func (mr *MockStateMockRecorder) ControllerTag() *gomock.Call

ControllerTag indicates an expected call of ControllerTag

func (*MockStateMockRecorder) Model Uses

func (mr *MockStateMockRecorder) Model() *gomock.Call

Model indicates an expected call of Model

Package mocks imports 7 packages (graph). Updated 2019-09-29. Refresh now. Tools for package owners.