mocks

package
v0.0.0-...-b0bff92 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2021 License: AGPL-3.0 Imports: 6 Imported by: 0

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 MockApplication

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

MockApplication is a mock of Application interface.

func NewMockApplication

func NewMockApplication(ctrl *gomock.Controller) *MockApplication

NewMockApplication creates a new mock instance.

func (*MockApplication) Charm

func (m *MockApplication) Charm() (charms.Charm, bool, error)

Charm mocks base method.

func (*MockApplication) EXPECT

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

type MockApplicationMockRecorder

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

MockApplicationMockRecorder is the mock recorder for MockApplication.

func (*MockApplicationMockRecorder) Charm

Charm indicates an expected call of Charm.

type MockCharm

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

MockCharm is a mock of Charm interface.

func NewMockCharm

func NewMockCharm(ctrl *gomock.Controller) *MockCharm

NewMockCharm creates a new mock instance.

func (*MockCharm) Actions

func (m *MockCharm) Actions() *charm.Actions

Actions mocks base method.

func (*MockCharm) Config

func (m *MockCharm) Config() *charm.Config

Config mocks base method.

func (*MockCharm) EXPECT

func (m *MockCharm) EXPECT() *MockCharmMockRecorder

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

func (*MockCharm) LXDProfile

func (m *MockCharm) LXDProfile() *state.LXDProfile

LXDProfile mocks base method.

func (*MockCharm) Manifest

func (m *MockCharm) Manifest() *charm.Manifest

Manifest mocks base method.

func (*MockCharm) Meta

func (m *MockCharm) Meta() *charm.Meta

Meta mocks base method.

func (*MockCharm) Metrics

func (m *MockCharm) Metrics() *charm.Metrics

Metrics mocks base method.

func (*MockCharm) Revision

func (m *MockCharm) Revision() int

Revision mocks base method.

func (*MockCharm) URL

func (m *MockCharm) URL() *charm.URL

URL mocks base method.

type MockCharmMockRecorder

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

MockCharmMockRecorder is the mock recorder for MockCharm.

func (*MockCharmMockRecorder) Actions

func (mr *MockCharmMockRecorder) Actions() *gomock.Call

Actions indicates an expected call of Actions.

func (*MockCharmMockRecorder) Config

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

Config indicates an expected call of Config.

func (*MockCharmMockRecorder) LXDProfile

func (mr *MockCharmMockRecorder) LXDProfile() *gomock.Call

LXDProfile indicates an expected call of LXDProfile.

func (*MockCharmMockRecorder) Manifest

func (mr *MockCharmMockRecorder) Manifest() *gomock.Call

Manifest indicates an expected call of Manifest.

func (*MockCharmMockRecorder) Meta

func (mr *MockCharmMockRecorder) Meta() *gomock.Call

Meta indicates an expected call of Meta.

func (*MockCharmMockRecorder) Metrics

func (mr *MockCharmMockRecorder) Metrics() *gomock.Call

Metrics indicates an expected call of Metrics.

func (*MockCharmMockRecorder) Revision

func (mr *MockCharmMockRecorder) Revision() *gomock.Call

Revision indicates an expected call of Revision.

func (*MockCharmMockRecorder) URL

func (mr *MockCharmMockRecorder) URL() *gomock.Call

URL indicates an expected call of URL.

type MockModel

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

MockModel is a mock of Model interface.

func NewMockModel

func NewMockModel(ctrl *gomock.Controller) *MockModel

NewMockModel creates a new mock instance.

func (*MockModel) EXPECT

func (m *MockModel) EXPECT() *MockModelMockRecorder

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

func (*MockModel) ModelTag

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

ModelTag mocks base method.

type MockModelMockRecorder

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

MockModelMockRecorder is the mock recorder for MockModel.

func (*MockModelMockRecorder) ModelTag

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

ModelTag indicates an expected call of ModelTag.

type MockState

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

MockState is a mock of State interface.

func NewMockState

func NewMockState(ctrl *gomock.Controller) *MockState

NewMockState creates a new mock instance.

func (*MockState) Application

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

Application mocks base method.

func (*MockState) Charm

func (m *MockState) Charm(arg0 *charm.URL) (charms.Charm, error)

Charm mocks base method.

func (*MockState) EXPECT

func (m *MockState) EXPECT() *MockStateMockRecorder

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

func (*MockState) Model

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

Model mocks base method.

type MockStateMockRecorder

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

MockStateMockRecorder is the mock recorder for MockState.

func (*MockStateMockRecorder) Application

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

Application indicates an expected call of Application.

func (*MockStateMockRecorder) Charm

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

Charm indicates an expected call of Charm.

func (*MockStateMockRecorder) Model

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

Model indicates an expected call of Model.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL