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

Documentation

Overview

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.

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 MockAllWatch

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

MockAllWatch is a mock of AllWatch interface

func NewMockAllWatch

func NewMockAllWatch(ctrl *gomock.Controller) *MockAllWatch

NewMockAllWatch creates a new mock instance

func (*MockAllWatch) EXPECT

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

func (*MockAllWatch) Next

func (m *MockAllWatch) Next() ([]params.Delta, error)

Next mocks base method

func (*MockAllWatch) Stop

func (m *MockAllWatch) Stop() error

Stop mocks base method

type MockAllWatchMockRecorder

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

MockAllWatchMockRecorder is the mock recorder for MockAllWatch

func (*MockAllWatchMockRecorder) Next

func (mr *MockAllWatchMockRecorder) Next() *gomock.Call

Next indicates an expected call of Next

func (*MockAllWatchMockRecorder) Stop

func (mr *MockAllWatchMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop

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 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 MockConsumeDetails

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

MockConsumeDetails is a mock of ConsumeDetails interface

func NewMockConsumeDetails

func NewMockConsumeDetails(ctrl *gomock.Controller) *MockConsumeDetails

NewMockConsumeDetails creates a new mock instance

func (*MockConsumeDetails) Close

func (m *MockConsumeDetails) Close() error

Close mocks base method

func (*MockConsumeDetails) EXPECT

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

func (*MockConsumeDetails) GetConsumeDetails

func (m *MockConsumeDetails) GetConsumeDetails(arg0 string) (params.ConsumeOfferDetails, error)

GetConsumeDetails mocks base method

type MockConsumeDetailsMockRecorder

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

MockConsumeDetailsMockRecorder is the mock recorder for MockConsumeDetails

func (*MockConsumeDetailsMockRecorder) Close

Close indicates an expected call of Close

func (*MockConsumeDetailsMockRecorder) GetConsumeDetails

func (mr *MockConsumeDetailsMockRecorder) GetConsumeDetails(arg0 interface{}) *gomock.Call

GetConsumeDetails indicates an expected call of GetConsumeDetails

type MockDeployStepAPI

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

MockDeployStepAPI is a mock of DeployStepAPI interface

func NewMockDeployStepAPI

func NewMockDeployStepAPI(ctrl *gomock.Controller) *MockDeployStepAPI

NewMockDeployStepAPI creates a new mock instance

func (*MockDeployStepAPI) EXPECT

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

func (*MockDeployStepAPI) IsMetered

func (m *MockDeployStepAPI) IsMetered(arg0 string) (bool, error)

IsMetered mocks base method

func (*MockDeployStepAPI) SetMetricCredentials

func (m *MockDeployStepAPI) SetMetricCredentials(arg0 string, arg1 []byte) error

SetMetricCredentials mocks base method

type MockDeployStepAPIMockRecorder

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

MockDeployStepAPIMockRecorder is the mock recorder for MockDeployStepAPI

func (*MockDeployStepAPIMockRecorder) IsMetered

func (mr *MockDeployStepAPIMockRecorder) IsMetered(arg0 interface{}) *gomock.Call

IsMetered indicates an expected call of IsMetered

func (*MockDeployStepAPIMockRecorder) SetMetricCredentials

func (mr *MockDeployStepAPIMockRecorder) SetMetricCredentials(arg0, arg1 interface{}) *gomock.Call

SetMetricCredentials indicates an expected call of SetMetricCredentials

type MockDeployerAPI

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

MockDeployerAPI is a mock of DeployerAPI interface

func NewMockDeployerAPI

func NewMockDeployerAPI(ctrl *gomock.Controller) *MockDeployerAPI

NewMockDeployerAPI creates a new mock instance

func (*MockDeployerAPI) APICall

func (m *MockDeployerAPI) APICall(arg0 string, arg1 int, arg2, arg3 string, arg4, arg5 interface{}) error

APICall mocks base method

func (*MockDeployerAPI) AddCharm

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

AddCharm mocks base method

func (*MockDeployerAPI) AddCharmWithAuthorization

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

AddCharmWithAuthorization mocks base method

func (*MockDeployerAPI) AddLocalCharm

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

AddLocalCharm mocks base method

func (*MockDeployerAPI) AddMachines

AddMachines mocks base method

func (*MockDeployerAPI) AddRelation

func (m *MockDeployerAPI) AddRelation(arg0, arg1 []string) (*params.AddRelationResults, error)

AddRelation mocks base method

func (*MockDeployerAPI) AddUnits

func (m *MockDeployerAPI) AddUnits(arg0 application.AddUnitsParams) ([]string, error)

AddUnits mocks base method

func (*MockDeployerAPI) BakeryClient

func (m *MockDeployerAPI) BakeryClient() base.MacaroonDischarger

BakeryClient mocks base method

func (*MockDeployerAPI) BestFacadeVersion

func (m *MockDeployerAPI) BestFacadeVersion(arg0 string) int

BestFacadeVersion mocks base method

func (*MockDeployerAPI) CharmInfo

func (m *MockDeployerAPI) CharmInfo(arg0 string) (*charms.CharmInfo, error)

CharmInfo mocks base method

func (*MockDeployerAPI) CheckCharmPlacement

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

CheckCharmPlacement mocks base method

func (*MockDeployerAPI) Close

func (m *MockDeployerAPI) Close() error

Close mocks base method

func (*MockDeployerAPI) ConnectControllerStream

func (m *MockDeployerAPI) ConnectControllerStream(arg0 string, arg1 url.Values, arg2 http.Header) (base.Stream, error)

ConnectControllerStream mocks base method

func (*MockDeployerAPI) ConnectStream

func (m *MockDeployerAPI) ConnectStream(arg0 string, arg1 url.Values) (base.Stream, error)

ConnectStream mocks base method

func (*MockDeployerAPI) Consume

Consume mocks base method

func (*MockDeployerAPI) Context

func (m *MockDeployerAPI) Context() context.Context

Context mocks base method

func (*MockDeployerAPI) Deploy

func (m *MockDeployerAPI) Deploy(arg0 application.DeployArgs) error

Deploy mocks base method

func (*MockDeployerAPI) EXPECT

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

func (*MockDeployerAPI) Expose

func (m *MockDeployerAPI) Expose(arg0 string, arg1 map[string]params.ExposedEndpoint) error

Expose mocks base method

func (*MockDeployerAPI) GetAnnotations

func (m *MockDeployerAPI) GetAnnotations(arg0 []string) ([]params.AnnotationsGetResult, error)

GetAnnotations mocks base method

func (*MockDeployerAPI) GetCharmURLOrigin

func (m *MockDeployerAPI) GetCharmURLOrigin(arg0, arg1 string) (*charm.URL, charm0.Origin, error)

GetCharmURLOrigin mocks base method

func (*MockDeployerAPI) GetConfig

func (m *MockDeployerAPI) GetConfig(arg0 string, arg1 ...string) ([]map[string]interface{}, error)

GetConfig mocks base method

func (*MockDeployerAPI) GetConstraints

func (m *MockDeployerAPI) GetConstraints(arg0 ...string) ([]constraints.Value, error)

GetConstraints mocks base method

func (*MockDeployerAPI) GetModelConstraints

func (m *MockDeployerAPI) GetModelConstraints() (constraints.Value, error)

GetModelConstraints mocks base method

func (*MockDeployerAPI) GrantOffer

func (m *MockDeployerAPI) GrantOffer(arg0, arg1 string, arg2 ...string) error

GrantOffer mocks base method

func (*MockDeployerAPI) HTTPClient

func (m *MockDeployerAPI) HTTPClient() (*httprequest.Client, error)

HTTPClient mocks base method

func (*MockDeployerAPI) IsMetered

func (m *MockDeployerAPI) IsMetered(arg0 string) (bool, error)

IsMetered mocks base method

func (*MockDeployerAPI) ModelGet

func (m *MockDeployerAPI) ModelGet() (map[string]interface{}, error)

ModelGet mocks base method

func (*MockDeployerAPI) ModelTag

func (m *MockDeployerAPI) ModelTag() (names.ModelTag, bool)

ModelTag mocks base method

func (*MockDeployerAPI) ModelUUID

func (m *MockDeployerAPI) ModelUUID() (string, bool)

ModelUUID mocks base method

func (*MockDeployerAPI) Offer

func (m *MockDeployerAPI) Offer(arg0, arg1 string, arg2 []string, arg3, arg4 string) ([]params.ErrorResult, error)

Offer mocks base method

func (*MockDeployerAPI) ScaleApplication

ScaleApplication mocks base method

func (*MockDeployerAPI) Sequences

func (m *MockDeployerAPI) Sequences() (map[string]int, error)

Sequences mocks base method

func (*MockDeployerAPI) SetAnnotation

func (m *MockDeployerAPI) SetAnnotation(arg0 map[string]map[string]string) ([]params.ErrorResult, error)

SetAnnotation mocks base method

func (*MockDeployerAPI) SetCharm

func (m *MockDeployerAPI) SetCharm(arg0 string, arg1 application.SetCharmConfig) error

SetCharm mocks base method

func (*MockDeployerAPI) SetConfig

func (m *MockDeployerAPI) SetConfig(arg0, arg1, arg2 string, arg3 map[string]string) error

SetConfig mocks base method

func (*MockDeployerAPI) SetConstraints

func (m *MockDeployerAPI) SetConstraints(arg0 string, arg1 constraints.Value) error

SetConstraints mocks base method

func (*MockDeployerAPI) SetMetricCredentials

func (m *MockDeployerAPI) SetMetricCredentials(arg0 string, arg1 []byte) error

SetMetricCredentials mocks base method

func (*MockDeployerAPI) Status

func (m *MockDeployerAPI) Status(arg0 []string) (*params.FullStatus, error)

Status mocks base method

func (*MockDeployerAPI) WatchAll

func (m *MockDeployerAPI) WatchAll() (api.AllWatch, error)

WatchAll mocks base method

type MockDeployerAPIMockRecorder

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

MockDeployerAPIMockRecorder is the mock recorder for MockDeployerAPI

func (*MockDeployerAPIMockRecorder) APICall

func (mr *MockDeployerAPIMockRecorder) APICall(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

APICall indicates an expected call of APICall

func (*MockDeployerAPIMockRecorder) AddCharm

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

AddCharm indicates an expected call of AddCharm

func (*MockDeployerAPIMockRecorder) AddCharmWithAuthorization

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

AddCharmWithAuthorization indicates an expected call of AddCharmWithAuthorization

func (*MockDeployerAPIMockRecorder) AddLocalCharm

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

AddLocalCharm indicates an expected call of AddLocalCharm

func (*MockDeployerAPIMockRecorder) AddMachines

func (mr *MockDeployerAPIMockRecorder) AddMachines(arg0 interface{}) *gomock.Call

AddMachines indicates an expected call of AddMachines

func (*MockDeployerAPIMockRecorder) AddRelation

func (mr *MockDeployerAPIMockRecorder) AddRelation(arg0, arg1 interface{}) *gomock.Call

AddRelation indicates an expected call of AddRelation

func (*MockDeployerAPIMockRecorder) AddUnits

func (mr *MockDeployerAPIMockRecorder) AddUnits(arg0 interface{}) *gomock.Call

AddUnits indicates an expected call of AddUnits

func (*MockDeployerAPIMockRecorder) BakeryClient

func (mr *MockDeployerAPIMockRecorder) BakeryClient() *gomock.Call

BakeryClient indicates an expected call of BakeryClient

func (*MockDeployerAPIMockRecorder) BestFacadeVersion

func (mr *MockDeployerAPIMockRecorder) BestFacadeVersion(arg0 interface{}) *gomock.Call

BestFacadeVersion indicates an expected call of BestFacadeVersion

func (*MockDeployerAPIMockRecorder) CharmInfo

func (mr *MockDeployerAPIMockRecorder) CharmInfo(arg0 interface{}) *gomock.Call

CharmInfo indicates an expected call of CharmInfo

func (*MockDeployerAPIMockRecorder) CheckCharmPlacement

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

CheckCharmPlacement indicates an expected call of CheckCharmPlacement

func (*MockDeployerAPIMockRecorder) Close

Close indicates an expected call of Close

func (*MockDeployerAPIMockRecorder) ConnectControllerStream

func (mr *MockDeployerAPIMockRecorder) ConnectControllerStream(arg0, arg1, arg2 interface{}) *gomock.Call

ConnectControllerStream indicates an expected call of ConnectControllerStream

func (*MockDeployerAPIMockRecorder) ConnectStream

func (mr *MockDeployerAPIMockRecorder) ConnectStream(arg0, arg1 interface{}) *gomock.Call

ConnectStream indicates an expected call of ConnectStream

func (*MockDeployerAPIMockRecorder) Consume

func (mr *MockDeployerAPIMockRecorder) Consume(arg0 interface{}) *gomock.Call

Consume indicates an expected call of Consume

func (*MockDeployerAPIMockRecorder) Context

func (mr *MockDeployerAPIMockRecorder) Context() *gomock.Call

Context indicates an expected call of Context

func (*MockDeployerAPIMockRecorder) Deploy

func (mr *MockDeployerAPIMockRecorder) Deploy(arg0 interface{}) *gomock.Call

Deploy indicates an expected call of Deploy

func (*MockDeployerAPIMockRecorder) Expose

func (mr *MockDeployerAPIMockRecorder) Expose(arg0, arg1 interface{}) *gomock.Call

Expose indicates an expected call of Expose

func (*MockDeployerAPIMockRecorder) GetAnnotations

func (mr *MockDeployerAPIMockRecorder) GetAnnotations(arg0 interface{}) *gomock.Call

GetAnnotations indicates an expected call of GetAnnotations

func (*MockDeployerAPIMockRecorder) GetCharmURLOrigin

func (mr *MockDeployerAPIMockRecorder) GetCharmURLOrigin(arg0, arg1 interface{}) *gomock.Call

GetCharmURLOrigin indicates an expected call of GetCharmURLOrigin

func (*MockDeployerAPIMockRecorder) GetConfig

func (mr *MockDeployerAPIMockRecorder) GetConfig(arg0 interface{}, arg1 ...interface{}) *gomock.Call

GetConfig indicates an expected call of GetConfig

func (*MockDeployerAPIMockRecorder) GetConstraints

func (mr *MockDeployerAPIMockRecorder) GetConstraints(arg0 ...interface{}) *gomock.Call

GetConstraints indicates an expected call of GetConstraints

func (*MockDeployerAPIMockRecorder) GetModelConstraints

func (mr *MockDeployerAPIMockRecorder) GetModelConstraints() *gomock.Call

GetModelConstraints indicates an expected call of GetModelConstraints

func (*MockDeployerAPIMockRecorder) GrantOffer

func (mr *MockDeployerAPIMockRecorder) GrantOffer(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GrantOffer indicates an expected call of GrantOffer

func (*MockDeployerAPIMockRecorder) HTTPClient

func (mr *MockDeployerAPIMockRecorder) HTTPClient() *gomock.Call

HTTPClient indicates an expected call of HTTPClient

func (*MockDeployerAPIMockRecorder) IsMetered

func (mr *MockDeployerAPIMockRecorder) IsMetered(arg0 interface{}) *gomock.Call

IsMetered indicates an expected call of IsMetered

func (*MockDeployerAPIMockRecorder) ModelGet

func (mr *MockDeployerAPIMockRecorder) ModelGet() *gomock.Call

ModelGet indicates an expected call of ModelGet

func (*MockDeployerAPIMockRecorder) ModelTag

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

ModelTag indicates an expected call of ModelTag

func (*MockDeployerAPIMockRecorder) ModelUUID

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

ModelUUID indicates an expected call of ModelUUID

func (*MockDeployerAPIMockRecorder) Offer

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

Offer indicates an expected call of Offer

func (*MockDeployerAPIMockRecorder) ScaleApplication

func (mr *MockDeployerAPIMockRecorder) ScaleApplication(arg0 interface{}) *gomock.Call

ScaleApplication indicates an expected call of ScaleApplication

func (*MockDeployerAPIMockRecorder) Sequences

func (mr *MockDeployerAPIMockRecorder) Sequences() *gomock.Call

Sequences indicates an expected call of Sequences

func (*MockDeployerAPIMockRecorder) SetAnnotation

func (mr *MockDeployerAPIMockRecorder) SetAnnotation(arg0 interface{}) *gomock.Call

SetAnnotation indicates an expected call of SetAnnotation

func (*MockDeployerAPIMockRecorder) SetCharm

func (mr *MockDeployerAPIMockRecorder) SetCharm(arg0, arg1 interface{}) *gomock.Call

SetCharm indicates an expected call of SetCharm

func (*MockDeployerAPIMockRecorder) SetConfig

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

SetConfig indicates an expected call of SetConfig

func (*MockDeployerAPIMockRecorder) SetConstraints

func (mr *MockDeployerAPIMockRecorder) SetConstraints(arg0, arg1 interface{}) *gomock.Call

SetConstraints indicates an expected call of SetConstraints

func (*MockDeployerAPIMockRecorder) SetMetricCredentials

func (mr *MockDeployerAPIMockRecorder) SetMetricCredentials(arg0, arg1 interface{}) *gomock.Call

SetMetricCredentials indicates an expected call of SetMetricCredentials

func (*MockDeployerAPIMockRecorder) Status

func (mr *MockDeployerAPIMockRecorder) Status(arg0 interface{}) *gomock.Call

Status indicates an expected call of Status

func (*MockDeployerAPIMockRecorder) WatchAll

func (mr *MockDeployerAPIMockRecorder) WatchAll() *gomock.Call

WatchAll indicates an expected call of WatchAll

type MockFilesystem

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

MockFilesystem is a mock of Filesystem interface

func NewMockFilesystem

func NewMockFilesystem(ctrl *gomock.Controller) *MockFilesystem

NewMockFilesystem creates a new mock instance

func (*MockFilesystem) Create

func (m *MockFilesystem) Create(arg0 string) (*os.File, error)

Create mocks base method

func (*MockFilesystem) EXPECT

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

func (*MockFilesystem) Open

Open mocks base method

func (*MockFilesystem) OpenFile

func (m *MockFilesystem) OpenFile(arg0 string, arg1 int, arg2 os.FileMode) (*os.File, error)

OpenFile mocks base method

func (*MockFilesystem) RemoveAll

func (m *MockFilesystem) RemoveAll(arg0 string) error

RemoveAll mocks base method

func (*MockFilesystem) Stat

func (m *MockFilesystem) Stat(arg0 string) (os.FileInfo, error)

Stat mocks base method

type MockFilesystemMockRecorder

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

MockFilesystemMockRecorder is the mock recorder for MockFilesystem

func (*MockFilesystemMockRecorder) Create

func (mr *MockFilesystemMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockFilesystemMockRecorder) Open

func (mr *MockFilesystemMockRecorder) Open(arg0 interface{}) *gomock.Call

Open indicates an expected call of Open

func (*MockFilesystemMockRecorder) OpenFile

func (mr *MockFilesystemMockRecorder) OpenFile(arg0, arg1, arg2 interface{}) *gomock.Call

OpenFile indicates an expected call of OpenFile

func (*MockFilesystemMockRecorder) RemoveAll

func (mr *MockFilesystemMockRecorder) RemoveAll(arg0 interface{}) *gomock.Call

RemoveAll indicates an expected call of RemoveAll

func (*MockFilesystemMockRecorder) Stat

func (mr *MockFilesystemMockRecorder) Stat(arg0 interface{}) *gomock.Call

Stat indicates an expected call of Stat

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

type MockModelCommand

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

MockModelCommand is a mock of ModelCommand interface

func NewMockModelCommand

func NewMockModelCommand(ctrl *gomock.Controller) *MockModelCommand

NewMockModelCommand creates a new mock instance

func (*MockModelCommand) BakeryClient

func (m *MockModelCommand) BakeryClient() (*httpbakery.Client, error)

BakeryClient mocks base method

func (*MockModelCommand) ControllerName

func (m *MockModelCommand) ControllerName() (string, error)

ControllerName mocks base method

func (*MockModelCommand) CurrentAccountDetails

func (m *MockModelCommand) CurrentAccountDetails() (*jujuclient.AccountDetails, error)

CurrentAccountDetails mocks base method

func (*MockModelCommand) EXPECT

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

func (*MockModelCommand) Filesystem

func (m *MockModelCommand) Filesystem() modelcmd.Filesystem

Filesystem mocks base method

func (*MockModelCommand) ModelDetails

func (m *MockModelCommand) ModelDetails() (string, *jujuclient.ModelDetails, error)

ModelDetails mocks base method

func (*MockModelCommand) ModelType

func (m *MockModelCommand) ModelType() (model.ModelType, error)

ModelType mocks base method

type MockModelCommandMockRecorder

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

MockModelCommandMockRecorder is the mock recorder for MockModelCommand

func (*MockModelCommandMockRecorder) BakeryClient

func (mr *MockModelCommandMockRecorder) BakeryClient() *gomock.Call

BakeryClient indicates an expected call of BakeryClient

func (*MockModelCommandMockRecorder) ControllerName

func (mr *MockModelCommandMockRecorder) ControllerName() *gomock.Call

ControllerName indicates an expected call of ControllerName

func (*MockModelCommandMockRecorder) CurrentAccountDetails

func (mr *MockModelCommandMockRecorder) CurrentAccountDetails() *gomock.Call

CurrentAccountDetails indicates an expected call of CurrentAccountDetails

func (*MockModelCommandMockRecorder) Filesystem

func (mr *MockModelCommandMockRecorder) Filesystem() *gomock.Call

Filesystem indicates an expected call of Filesystem

func (*MockModelCommandMockRecorder) ModelDetails

func (mr *MockModelCommandMockRecorder) ModelDetails() *gomock.Call

ModelDetails indicates an expected call of ModelDetails

func (*MockModelCommandMockRecorder) ModelType

func (mr *MockModelCommandMockRecorder) ModelType() *gomock.Call

ModelType indicates an expected call of ModelType

type MockModelConfigGetter

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

MockModelConfigGetter is a mock of ModelConfigGetter interface

func NewMockModelConfigGetter

func NewMockModelConfigGetter(ctrl *gomock.Controller) *MockModelConfigGetter

NewMockModelConfigGetter creates a new mock instance

func (*MockModelConfigGetter) EXPECT

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

func (*MockModelConfigGetter) ModelGet

func (m *MockModelConfigGetter) ModelGet() (map[string]interface{}, error)

ModelGet mocks base method

type MockModelConfigGetterMockRecorder

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

MockModelConfigGetterMockRecorder is the mock recorder for MockModelConfigGetter

func (*MockModelConfigGetterMockRecorder) ModelGet

ModelGet indicates an expected call of ModelGet

type MockResolver

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

MockResolver is a mock of Resolver interface

func NewMockResolver

func NewMockResolver(ctrl *gomock.Controller) *MockResolver

NewMockResolver creates a new mock instance

func (*MockResolver) EXPECT

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

func (*MockResolver) GetBundle

func (m *MockResolver) GetBundle(arg0 *charm.URL, arg1 charm0.Origin, arg2 string) (charm.Bundle, error)

GetBundle mocks base method

func (*MockResolver) ResolveBundleURL

func (m *MockResolver) ResolveBundleURL(arg0 *charm.URL, arg1 charm0.Origin) (*charm.URL, charm0.Origin, error)

ResolveBundleURL mocks base method

func (*MockResolver) ResolveCharm

func (m *MockResolver) ResolveCharm(arg0 *charm.URL, arg1 charm0.Origin) (*charm.URL, charm0.Origin, []string, error)

ResolveCharm mocks base method

type MockResolverMockRecorder

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

MockResolverMockRecorder is the mock recorder for MockResolver

func (*MockResolverMockRecorder) GetBundle

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

GetBundle indicates an expected call of GetBundle

func (*MockResolverMockRecorder) ResolveBundleURL

func (mr *MockResolverMockRecorder) ResolveBundleURL(arg0, arg1 interface{}) *gomock.Call

ResolveBundleURL indicates an expected call of ResolveBundleURL

func (*MockResolverMockRecorder) ResolveCharm

func (mr *MockResolverMockRecorder) ResolveCharm(arg0, arg1 interface{}) *gomock.Call

ResolveCharm indicates an expected call of ResolveCharm

type MockWriter

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

MockWriter is a mock of Writer interface

func NewMockWriter

func NewMockWriter(ctrl *gomock.Controller) *MockWriter

NewMockWriter creates a new mock instance

func (*MockWriter) EXPECT

func (m *MockWriter) EXPECT() *MockWriterMockRecorder

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

func (*MockWriter) Write

func (m *MockWriter) Write(arg0 []byte) (int, error)

Write mocks base method

type MockWriterMockRecorder

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

MockWriterMockRecorder is the mock recorder for MockWriter

func (*MockWriterMockRecorder) Write

func (mr *MockWriterMockRecorder) Write(arg0 interface{}) *gomock.Call

Write indicates an expected call of Write

Jump to

Keyboard shortcuts

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