mocks

package
v0.0.0-...-9ec3720 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: AGPL-3.0 Imports: 13 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) ApplicationTag

func (m *MockApplication) ApplicationTag() names.ApplicationTag

ApplicationTag mocks base method

func (*MockApplication) Channel

func (m *MockApplication) Channel() params.Channel

Channel mocks base method

func (*MockApplication) CharmOrigin

func (m *MockApplication) CharmOrigin() *state.CharmOrigin

CharmOrigin mocks base method

func (*MockApplication) CharmURL

func (m *MockApplication) CharmURL() (*charm.URL, bool)

CharmURL 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) ApplicationTag

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

ApplicationTag indicates an expected call of ApplicationTag

func (*MockApplicationMockRecorder) Channel

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

Channel indicates an expected call of Channel

func (*MockApplicationMockRecorder) CharmOrigin

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

CharmOrigin indicates an expected call of CharmOrigin

func (*MockApplicationMockRecorder) CharmURL

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

CharmURL indicates an expected call of CharmURL

type MockCharmhubRefreshClient

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

MockCharmhubRefreshClient is a mock of CharmhubRefreshClient interface

func NewMockCharmhubRefreshClient

func NewMockCharmhubRefreshClient(ctrl *gomock.Controller) *MockCharmhubRefreshClient

NewMockCharmhubRefreshClient creates a new mock instance

func (*MockCharmhubRefreshClient) EXPECT

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

func (*MockCharmhubRefreshClient) Refresh

Refresh mocks base method

type MockCharmhubRefreshClientMockRecorder

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

MockCharmhubRefreshClientMockRecorder is the mock recorder for MockCharmhubRefreshClient

func (*MockCharmhubRefreshClientMockRecorder) Refresh

func (mr *MockCharmhubRefreshClientMockRecorder) Refresh(arg0, arg1 interface{}) *gomock.Call

Refresh indicates an expected call of Refresh

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) CloudName

func (m *MockModel) CloudName() string

CloudName mocks base method

func (*MockModel) CloudRegion

func (m *MockModel) CloudRegion() string

CloudRegion mocks base method

func (*MockModel) Config

func (m *MockModel) Config() (*config.Config, error)

Config mocks base method

func (*MockModel) EXPECT

func (m *MockModel) EXPECT() *MockModelMockRecorder

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

func (*MockModel) IsControllerModel

func (m *MockModel) IsControllerModel() bool

IsControllerModel mocks base method

func (*MockModel) UUID

func (m *MockModel) UUID() string

UUID mocks base method

type MockModelMockRecorder

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

MockModelMockRecorder is the mock recorder for MockModel

func (*MockModelMockRecorder) CloudName

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

CloudName indicates an expected call of CloudName

func (*MockModelMockRecorder) CloudRegion

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

CloudRegion indicates an expected call of CloudRegion

func (*MockModelMockRecorder) Config

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

Config indicates an expected call of Config

func (*MockModelMockRecorder) IsControllerModel

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

IsControllerModel indicates an expected call of IsControllerModel

func (*MockModelMockRecorder) UUID

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

UUID indicates an expected call of UUID

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) AddCharmPlaceholder

func (m *MockState) AddCharmPlaceholder(arg0 *charm.URL) error

AddCharmPlaceholder mocks base method

func (*MockState) AllApplications

func (m *MockState) AllApplications() ([]charmrevisionupdater.Application, error)

AllApplications mocks base method

func (*MockState) Charm

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

Charm mocks base method

func (*MockState) Cloud

func (m *MockState) Cloud(arg0 string) (cloud.Cloud, error)

Cloud mocks base method

func (*MockState) ControllerConfig

func (m *MockState) ControllerConfig() (controller.Config, error)

ControllerConfig mocks base method

func (*MockState) ControllerUUID

func (m *MockState) ControllerUUID() string

ControllerUUID 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() (charmrevisionupdater.Model, error)

Model mocks base method

func (*MockState) Resources

func (m *MockState) Resources() (state.Resources, error)

Resources mocks base method

type MockStateMockRecorder

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

MockStateMockRecorder is the mock recorder for MockState

func (*MockStateMockRecorder) AddCharmPlaceholder

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

AddCharmPlaceholder indicates an expected call of AddCharmPlaceholder

func (*MockStateMockRecorder) AllApplications

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

AllApplications indicates an expected call of AllApplications

func (*MockStateMockRecorder) Charm

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

Charm indicates an expected call of Charm

func (*MockStateMockRecorder) Cloud

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

Cloud indicates an expected call of Cloud

func (*MockStateMockRecorder) ControllerConfig

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

ControllerConfig indicates an expected call of ControllerConfig

func (*MockStateMockRecorder) ControllerUUID

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

ControllerUUID indicates an expected call of ControllerUUID

func (*MockStateMockRecorder) Model

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

Model indicates an expected call of Model

func (*MockStateMockRecorder) Resources

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

Resources indicates an expected call of Resources

Jump to

Keyboard shortcuts

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