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

package mocks

import "github.com/juju/juju/apiserver/facades/client/application/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.

Index

Package Files

charm_mock.go charmstore_mock.go interface_mock.go model_mock.go storage_mock.go

type MockInterface Uses

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

MockInterface is a mock of Interface interface

func NewMockInterface Uses

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance

func (*MockInterface) EXPECT Uses

func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder

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

func (*MockInterface) Get Uses

func (m *MockInterface) Get(arg0 *charm_v6.URL) (charm_v6.Charm, error)

Get mocks base method

func (*MockInterface) GetBundle Uses

func (m *MockInterface) GetBundle(arg0 *charm_v6.URL) (charm_v6.Bundle, error)

GetBundle mocks base method

func (*MockInterface) Resolve Uses

func (m *MockInterface) Resolve(arg0 *charm_v6.URL) (*charm_v6.URL, []string, error)

Resolve mocks base method

type MockInterfaceMockRecorder Uses

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

MockInterfaceMockRecorder is the mock recorder for MockInterface

func (*MockInterfaceMockRecorder) Get Uses

func (mr *MockInterfaceMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockInterfaceMockRecorder) GetBundle Uses

func (mr *MockInterfaceMockRecorder) GetBundle(arg0 interface{}) *gomock.Call

GetBundle indicates an expected call of GetBundle

func (*MockInterfaceMockRecorder) Resolve Uses

func (mr *MockInterfaceMockRecorder) Resolve(arg0 interface{}) *gomock.Call

Resolve indicates an expected call of Resolve

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) ControllerConfig Uses

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

ControllerConfig 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() (application.StateModel, error)

Model mocks base method

func (*MockState) ModelUUID Uses

func (m *MockState) ModelUUID() string

ModelUUID mocks base method

func (*MockState) MongoSession Uses

func (m *MockState) MongoSession() *mgo_v2.Session

MongoSession mocks base method

func (*MockState) PrepareStoreCharmUpload Uses

func (m *MockState) PrepareStoreCharmUpload(arg0 *charm_v6.URL) (application.StateCharm, error)

PrepareStoreCharmUpload mocks base method

func (*MockState) UpdateUploadedCharm Uses

func (m *MockState) UpdateUploadedCharm(arg0 state.CharmInfo) (*state.Charm, error)

UpdateUploadedCharm mocks base method

type MockStateCharm Uses

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

MockStateCharm is a mock of StateCharm interface

func NewMockStateCharm Uses

func NewMockStateCharm(ctrl *gomock.Controller) *MockStateCharm

NewMockStateCharm creates a new mock instance

func (*MockStateCharm) EXPECT Uses

func (m *MockStateCharm) EXPECT() *MockStateCharmMockRecorder

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

func (*MockStateCharm) IsUploaded Uses

func (m *MockStateCharm) IsUploaded() bool

IsUploaded mocks base method

type MockStateCharmMockRecorder Uses

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

MockStateCharmMockRecorder is the mock recorder for MockStateCharm

func (*MockStateCharmMockRecorder) IsUploaded Uses

func (mr *MockStateCharmMockRecorder) IsUploaded() *gomock.Call

IsUploaded indicates an expected call of IsUploaded

type MockStateMockRecorder Uses

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

MockStateMockRecorder is the mock recorder for MockState

func (*MockStateMockRecorder) ControllerConfig Uses

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

ControllerConfig indicates an expected call of ControllerConfig

func (*MockStateMockRecorder) Model Uses

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

Model indicates an expected call of Model

func (*MockStateMockRecorder) ModelUUID Uses

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

ModelUUID indicates an expected call of ModelUUID

func (*MockStateMockRecorder) MongoSession Uses

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

MongoSession indicates an expected call of MongoSession

func (*MockStateMockRecorder) PrepareStoreCharmUpload Uses

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

PrepareStoreCharmUpload indicates an expected call of PrepareStoreCharmUpload

func (*MockStateMockRecorder) UpdateUploadedCharm Uses

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

UpdateUploadedCharm indicates an expected call of UpdateUploadedCharm

type MockStateModel Uses

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

MockStateModel is a mock of StateModel interface

func NewMockStateModel Uses

func NewMockStateModel(ctrl *gomock.Controller) *MockStateModel

NewMockStateModel creates a new mock instance

func (*MockStateModel) EXPECT Uses

func (m *MockStateModel) EXPECT() *MockStateModelMockRecorder

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

func (*MockStateModel) ModelConfig Uses

func (m *MockStateModel) ModelConfig() (*config.Config, error)

ModelConfig mocks base method

type MockStateModelMockRecorder Uses

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

MockStateModelMockRecorder is the mock recorder for MockStateModel

func (*MockStateModelMockRecorder) ModelConfig Uses

func (mr *MockStateModelMockRecorder) ModelConfig() *gomock.Call

ModelConfig indicates an expected call of ModelConfig

type MockStorage Uses

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

MockStorage is a mock of Storage interface

func NewMockStorage Uses

func NewMockStorage(ctrl *gomock.Controller) *MockStorage

NewMockStorage creates a new mock instance

func (*MockStorage) EXPECT Uses

func (m *MockStorage) EXPECT() *MockStorageMockRecorder

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

func (*MockStorage) Get Uses

func (m *MockStorage) Get(arg0 string) (io.ReadCloser, int64, error)

Get mocks base method

func (*MockStorage) Put Uses

func (m *MockStorage) Put(arg0 string, arg1 io.Reader, arg2 int64) error

Put mocks base method

func (*MockStorage) PutAndCheckHash Uses

func (m *MockStorage) PutAndCheckHash(arg0 string, arg1 io.Reader, arg2 int64, arg3 string) error

PutAndCheckHash mocks base method

func (*MockStorage) Remove Uses

func (m *MockStorage) Remove(arg0 string) error

Remove mocks base method

type MockStorageMockRecorder Uses

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

MockStorageMockRecorder is the mock recorder for MockStorage

func (*MockStorageMockRecorder) Get Uses

func (mr *MockStorageMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockStorageMockRecorder) Put Uses

func (mr *MockStorageMockRecorder) Put(arg0, arg1, arg2 interface{}) *gomock.Call

Put indicates an expected call of Put

func (*MockStorageMockRecorder) PutAndCheckHash Uses

func (mr *MockStorageMockRecorder) PutAndCheckHash(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

PutAndCheckHash indicates an expected call of PutAndCheckHash

func (*MockStorageMockRecorder) Remove Uses

func (mr *MockStorageMockRecorder) Remove(arg0 interface{}) *gomock.Call

Remove indicates an expected call of Remove

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