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: 10 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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 MockBundle

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

MockBundle is a mock of Bundle interface

func NewMockBundle

func NewMockBundle(ctrl *gomock.Controller) *MockBundle

NewMockBundle creates a new mock instance

func (*MockBundle) ContainsOverlays

func (m *MockBundle) ContainsOverlays() bool

ContainsOverlays mocks base method

func (*MockBundle) Data

func (m *MockBundle) Data() *charm.BundleData

Data mocks base method

func (*MockBundle) EXPECT

func (m *MockBundle) EXPECT() *MockBundleMockRecorder

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

func (*MockBundle) ReadMe

func (m *MockBundle) ReadMe() string

ReadMe mocks base method

type MockBundleMockRecorder

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

MockBundleMockRecorder is the mock recorder for MockBundle

func (*MockBundleMockRecorder) ContainsOverlays

func (mr *MockBundleMockRecorder) ContainsOverlays() *gomock.Call

ContainsOverlays indicates an expected call of ContainsOverlays

func (*MockBundleMockRecorder) Data

func (mr *MockBundleMockRecorder) Data() *gomock.Call

Data indicates an expected call of Data

func (*MockBundleMockRecorder) ReadMe

func (mr *MockBundleMockRecorder) ReadMe() *gomock.Call

ReadMe indicates an expected call of ReadMe

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) (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) (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 interface{}) *gomock.Call

AddCharm indicates an expected call of AddCharm

func (*MockCharmAdderMockRecorder) AddCharmWithAuthorization

func (mr *MockCharmAdderMockRecorder) AddCharmWithAuthorization(arg0, arg1, arg2, arg3 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) GetDownloadInfo

func (m *MockCharmsAPI) GetDownloadInfo(arg0 *charm.URL, arg1 charm0.Origin, arg2 *macaroon.Macaroon) (charms.DownloadInfo, error)

GetDownloadInfo mocks base method

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

func (mr *MockCharmsAPIMockRecorder) GetDownloadInfo(arg0, arg1, arg2 interface{}) *gomock.Call

GetDownloadInfo indicates an expected call of GetDownloadInfo

func (*MockCharmsAPIMockRecorder) ResolveCharms

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

ResolveCharms indicates an expected call of ResolveCharms

type MockDownloadBundleClient

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

MockDownloadBundleClient is a mock of DownloadBundleClient interface

func NewMockDownloadBundleClient

func NewMockDownloadBundleClient(ctrl *gomock.Controller) *MockDownloadBundleClient

NewMockDownloadBundleClient creates a new mock instance

func (*MockDownloadBundleClient) DownloadAndReadBundle

func (m *MockDownloadBundleClient) DownloadAndReadBundle(arg0 context.Context, arg1 *url.URL, arg2 string, arg3 ...charmhub.DownloadOption) (charm.Bundle, error)

DownloadAndReadBundle mocks base method

func (*MockDownloadBundleClient) EXPECT

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

type MockDownloadBundleClientMockRecorder

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

MockDownloadBundleClientMockRecorder is the mock recorder for MockDownloadBundleClient

func (*MockDownloadBundleClientMockRecorder) DownloadAndReadBundle

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

DownloadAndReadBundle indicates an expected call of DownloadAndReadBundle

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

Jump to

Keyboard shortcuts

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