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 MockCharmAdder

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

MockCharmAdder is a mock of CharmAdder interface

func NewMockCharmAdder

func NewMockCharmAdder(ctrl *gomock.Controller) *MockCharmAdder

NewMockCharmAdder creates a new mock instance

func (*MockCharmAdder) AddCharm

func (m *MockCharmAdder) AddCharm(arg0 *charm.URL, arg1 charm0.Origin, arg2 bool, arg3 string) (charm0.Origin, error)

AddCharm mocks base method

func (*MockCharmAdder) AddCharmWithAuthorization

func (m *MockCharmAdder) AddCharmWithAuthorization(arg0 *charm.URL, arg1 charm0.Origin, arg2 *macaroon.Macaroon, arg3 bool, arg4 string) (charm0.Origin, error)

AddCharmWithAuthorization mocks base method

func (*MockCharmAdder) AddLocalCharm

func (m *MockCharmAdder) AddLocalCharm(arg0 *charm.URL, arg1 charm.Charm, arg2 bool) (*charm.URL, error)

AddLocalCharm mocks base method

func (*MockCharmAdder) CheckCharmPlacement

func (m *MockCharmAdder) CheckCharmPlacement(arg0 string, arg1 *charm.URL) error

CheckCharmPlacement mocks base method

func (*MockCharmAdder) EXPECT

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

type MockCharmAdderMockRecorder

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

MockCharmAdderMockRecorder is the mock recorder for MockCharmAdder

func (*MockCharmAdderMockRecorder) AddCharm

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

AddCharm indicates an expected call of AddCharm

func (*MockCharmAdderMockRecorder) AddCharmWithAuthorization

func (mr *MockCharmAdderMockRecorder) AddCharmWithAuthorization(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

AddCharmWithAuthorization indicates an expected call of AddCharmWithAuthorization

func (*MockCharmAdderMockRecorder) AddLocalCharm

func (mr *MockCharmAdderMockRecorder) AddLocalCharm(arg0, arg1, arg2 interface{}) *gomock.Call

AddLocalCharm indicates an expected call of AddLocalCharm

func (*MockCharmAdderMockRecorder) CheckCharmPlacement

func (mr *MockCharmAdderMockRecorder) CheckCharmPlacement(arg0, arg1 interface{}) *gomock.Call

CheckCharmPlacement indicates an expected call of CheckCharmPlacement

type MockCharmrepoForDeploy

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

MockCharmrepoForDeploy is a mock of CharmrepoForDeploy interface

func NewMockCharmrepoForDeploy

func NewMockCharmrepoForDeploy(ctrl *gomock.Controller) *MockCharmrepoForDeploy

NewMockCharmrepoForDeploy creates a new mock instance

func (*MockCharmrepoForDeploy) EXPECT

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

func (*MockCharmrepoForDeploy) GetBundle

func (m *MockCharmrepoForDeploy) GetBundle(arg0 *charm.URL, arg1 string) (charm.Bundle, error)

GetBundle mocks base method

func (*MockCharmrepoForDeploy) ResolveWithPreferredChannel

func (m *MockCharmrepoForDeploy) ResolveWithPreferredChannel(arg0 *charm.URL, arg1 params.Channel) (*charm.URL, params.Channel, []string, error)

ResolveWithPreferredChannel mocks base method

type MockCharmrepoForDeployMockRecorder

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

MockCharmrepoForDeployMockRecorder is the mock recorder for MockCharmrepoForDeploy

func (*MockCharmrepoForDeployMockRecorder) GetBundle

func (mr *MockCharmrepoForDeployMockRecorder) GetBundle(arg0, arg1 interface{}) *gomock.Call

GetBundle indicates an expected call of GetBundle

func (*MockCharmrepoForDeployMockRecorder) ResolveWithPreferredChannel

func (mr *MockCharmrepoForDeployMockRecorder) ResolveWithPreferredChannel(arg0, arg1 interface{}) *gomock.Call

ResolveWithPreferredChannel indicates an expected call of ResolveWithPreferredChannel

type MockCharmsAPI

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

MockCharmsAPI is a mock of CharmsAPI interface

func NewMockCharmsAPI

func NewMockCharmsAPI(ctrl *gomock.Controller) *MockCharmsAPI

NewMockCharmsAPI creates a new mock instance

func (*MockCharmsAPI) EXPECT

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

func (*MockCharmsAPI) ResolveCharms

func (m *MockCharmsAPI) ResolveCharms(arg0 []charms.CharmToResolve) ([]charms.ResolvedCharm, error)

ResolveCharms mocks base method

type MockCharmsAPIMockRecorder

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

MockCharmsAPIMockRecorder is the mock recorder for MockCharmsAPI

func (*MockCharmsAPIMockRecorder) ResolveCharms

func (mr *MockCharmsAPIMockRecorder) ResolveCharms(arg0 interface{}) *gomock.Call

ResolveCharms indicates an expected call of ResolveCharms

type MockMacaroonGetter

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

MockMacaroonGetter is a mock of MacaroonGetter interface

func NewMockMacaroonGetter

func NewMockMacaroonGetter(ctrl *gomock.Controller) *MockMacaroonGetter

NewMockMacaroonGetter creates a new mock instance

func (*MockMacaroonGetter) EXPECT

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

func (*MockMacaroonGetter) Get

func (m *MockMacaroonGetter) Get(arg0 string, arg1 interface{}) error

Get mocks base method

type MockMacaroonGetterMockRecorder

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

MockMacaroonGetterMockRecorder is the mock recorder for MockMacaroonGetter

func (*MockMacaroonGetterMockRecorder) Get

func (mr *MockMacaroonGetterMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get

Source Files