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.
Index ¶
- type MockClientStore
- func (m *MockClientStore) AccountDetails(arg0 string) (*jujuclient.AccountDetails, error)
- func (m *MockClientStore) AddController(arg0 string, arg1 jujuclient.ControllerDetails) error
- func (m *MockClientStore) AllControllers() (map[string]jujuclient.ControllerDetails, error)
- func (m *MockClientStore) AllCredentials() (map[string]cloud.CloudCredential, error)
- func (m *MockClientStore) AllModels(arg0 string) (map[string]jujuclient.ModelDetails, error)
- func (m *MockClientStore) BootstrapConfigForController(arg0 string) (*jujuclient.BootstrapConfig, error)
- func (m *MockClientStore) ControllerByAPIEndpoints(arg0 ...string) (*jujuclient.ControllerDetails, string, error)
- func (m *MockClientStore) ControllerByName(arg0 string) (*jujuclient.ControllerDetails, error)
- func (m *MockClientStore) CookieJar(arg0 string) (jujuclient.CookieJar, error)
- func (m *MockClientStore) CredentialForCloud(arg0 string) (*cloud.CloudCredential, error)
- func (m *MockClientStore) CurrentController() (string, error)
- func (m *MockClientStore) CurrentModel(arg0 string) (string, error)
- func (m *MockClientStore) EXPECT() *MockClientStoreMockRecorder
- func (m *MockClientStore) ModelByName(arg0, arg1 string) (*jujuclient.ModelDetails, error)
- func (m *MockClientStore) PreviousController() (string, bool, error)
- func (m *MockClientStore) PreviousModel(arg0 string) (string, error)
- func (m *MockClientStore) RemoveAccount(arg0 string) error
- func (m *MockClientStore) RemoveController(arg0 string) error
- func (m *MockClientStore) RemoveModel(arg0, arg1 string) error
- func (m *MockClientStore) SetCurrentController(arg0 string) error
- func (m *MockClientStore) SetCurrentModel(arg0, arg1 string) error
- func (m *MockClientStore) SetModels(arg0 string, arg1 map[string]jujuclient.ModelDetails) error
- func (m *MockClientStore) UpdateAccount(arg0 string, arg1 jujuclient.AccountDetails) error
- func (m *MockClientStore) UpdateBootstrapConfig(arg0 string, arg1 jujuclient.BootstrapConfig) error
- func (m *MockClientStore) UpdateController(arg0 string, arg1 jujuclient.ControllerDetails) error
- func (m *MockClientStore) UpdateCredential(arg0 string, arg1 cloud.CloudCredential) error
- func (m *MockClientStore) UpdateModel(arg0, arg1 string, arg2 jujuclient.ModelDetails) error
- type MockClientStoreAccountDetailsCall
- func (c *MockClientStoreAccountDetailsCall) Do(f func(string) (*jujuclient.AccountDetails, error)) *MockClientStoreAccountDetailsCall
- func (c *MockClientStoreAccountDetailsCall) DoAndReturn(f func(string) (*jujuclient.AccountDetails, error)) *MockClientStoreAccountDetailsCall
- func (c *MockClientStoreAccountDetailsCall) Return(arg0 *jujuclient.AccountDetails, arg1 error) *MockClientStoreAccountDetailsCall
- type MockClientStoreAddControllerCall
- func (c *MockClientStoreAddControllerCall) Do(f func(string, jujuclient.ControllerDetails) error) *MockClientStoreAddControllerCall
- func (c *MockClientStoreAddControllerCall) DoAndReturn(f func(string, jujuclient.ControllerDetails) error) *MockClientStoreAddControllerCall
- func (c *MockClientStoreAddControllerCall) Return(arg0 error) *MockClientStoreAddControllerCall
- type MockClientStoreAllControllersCall
- func (c *MockClientStoreAllControllersCall) Do(f func() (map[string]jujuclient.ControllerDetails, error)) *MockClientStoreAllControllersCall
- func (c *MockClientStoreAllControllersCall) DoAndReturn(f func() (map[string]jujuclient.ControllerDetails, error)) *MockClientStoreAllControllersCall
- func (c *MockClientStoreAllControllersCall) Return(arg0 map[string]jujuclient.ControllerDetails, arg1 error) *MockClientStoreAllControllersCall
- type MockClientStoreAllCredentialsCall
- func (c *MockClientStoreAllCredentialsCall) Do(f func() (map[string]cloud.CloudCredential, error)) *MockClientStoreAllCredentialsCall
- func (c *MockClientStoreAllCredentialsCall) DoAndReturn(f func() (map[string]cloud.CloudCredential, error)) *MockClientStoreAllCredentialsCall
- func (c *MockClientStoreAllCredentialsCall) Return(arg0 map[string]cloud.CloudCredential, arg1 error) *MockClientStoreAllCredentialsCall
- type MockClientStoreAllModelsCall
- func (c *MockClientStoreAllModelsCall) Do(f func(string) (map[string]jujuclient.ModelDetails, error)) *MockClientStoreAllModelsCall
- func (c *MockClientStoreAllModelsCall) DoAndReturn(f func(string) (map[string]jujuclient.ModelDetails, error)) *MockClientStoreAllModelsCall
- func (c *MockClientStoreAllModelsCall) Return(arg0 map[string]jujuclient.ModelDetails, arg1 error) *MockClientStoreAllModelsCall
- type MockClientStoreBootstrapConfigForControllerCall
- func (c *MockClientStoreBootstrapConfigForControllerCall) Do(f func(string) (*jujuclient.BootstrapConfig, error)) *MockClientStoreBootstrapConfigForControllerCall
- func (c *MockClientStoreBootstrapConfigForControllerCall) DoAndReturn(f func(string) (*jujuclient.BootstrapConfig, error)) *MockClientStoreBootstrapConfigForControllerCall
- func (c *MockClientStoreBootstrapConfigForControllerCall) Return(arg0 *jujuclient.BootstrapConfig, arg1 error) *MockClientStoreBootstrapConfigForControllerCall
- type MockClientStoreControllerByAPIEndpointsCall
- func (c *MockClientStoreControllerByAPIEndpointsCall) Do(f func(...string) (*jujuclient.ControllerDetails, string, error)) *MockClientStoreControllerByAPIEndpointsCall
- func (c *MockClientStoreControllerByAPIEndpointsCall) DoAndReturn(f func(...string) (*jujuclient.ControllerDetails, string, error)) *MockClientStoreControllerByAPIEndpointsCall
- func (c *MockClientStoreControllerByAPIEndpointsCall) Return(arg0 *jujuclient.ControllerDetails, arg1 string, arg2 error) *MockClientStoreControllerByAPIEndpointsCall
- type MockClientStoreControllerByNameCall
- func (c *MockClientStoreControllerByNameCall) Do(f func(string) (*jujuclient.ControllerDetails, error)) *MockClientStoreControllerByNameCall
- func (c *MockClientStoreControllerByNameCall) DoAndReturn(f func(string) (*jujuclient.ControllerDetails, error)) *MockClientStoreControllerByNameCall
- func (c *MockClientStoreControllerByNameCall) Return(arg0 *jujuclient.ControllerDetails, arg1 error) *MockClientStoreControllerByNameCall
- type MockClientStoreCookieJarCall
- func (c *MockClientStoreCookieJarCall) Do(f func(string) (jujuclient.CookieJar, error)) *MockClientStoreCookieJarCall
- func (c *MockClientStoreCookieJarCall) DoAndReturn(f func(string) (jujuclient.CookieJar, error)) *MockClientStoreCookieJarCall
- func (c *MockClientStoreCookieJarCall) Return(arg0 jujuclient.CookieJar, arg1 error) *MockClientStoreCookieJarCall
- type MockClientStoreCredentialForCloudCall
- func (c *MockClientStoreCredentialForCloudCall) Do(f func(string) (*cloud.CloudCredential, error)) *MockClientStoreCredentialForCloudCall
- func (c *MockClientStoreCredentialForCloudCall) DoAndReturn(f func(string) (*cloud.CloudCredential, error)) *MockClientStoreCredentialForCloudCall
- func (c *MockClientStoreCredentialForCloudCall) Return(arg0 *cloud.CloudCredential, arg1 error) *MockClientStoreCredentialForCloudCall
- type MockClientStoreCurrentControllerCall
- func (c *MockClientStoreCurrentControllerCall) Do(f func() (string, error)) *MockClientStoreCurrentControllerCall
- func (c *MockClientStoreCurrentControllerCall) DoAndReturn(f func() (string, error)) *MockClientStoreCurrentControllerCall
- func (c *MockClientStoreCurrentControllerCall) Return(arg0 string, arg1 error) *MockClientStoreCurrentControllerCall
- type MockClientStoreCurrentModelCall
- func (c *MockClientStoreCurrentModelCall) Do(f func(string) (string, error)) *MockClientStoreCurrentModelCall
- func (c *MockClientStoreCurrentModelCall) DoAndReturn(f func(string) (string, error)) *MockClientStoreCurrentModelCall
- func (c *MockClientStoreCurrentModelCall) Return(arg0 string, arg1 error) *MockClientStoreCurrentModelCall
- type MockClientStoreMockRecorder
- func (mr *MockClientStoreMockRecorder) AccountDetails(arg0 any) *MockClientStoreAccountDetailsCall
- func (mr *MockClientStoreMockRecorder) AddController(arg0, arg1 any) *MockClientStoreAddControllerCall
- func (mr *MockClientStoreMockRecorder) AllControllers() *MockClientStoreAllControllersCall
- func (mr *MockClientStoreMockRecorder) AllCredentials() *MockClientStoreAllCredentialsCall
- func (mr *MockClientStoreMockRecorder) AllModels(arg0 any) *MockClientStoreAllModelsCall
- func (mr *MockClientStoreMockRecorder) BootstrapConfigForController(arg0 any) *MockClientStoreBootstrapConfigForControllerCall
- func (mr *MockClientStoreMockRecorder) ControllerByAPIEndpoints(arg0 ...any) *MockClientStoreControllerByAPIEndpointsCall
- func (mr *MockClientStoreMockRecorder) ControllerByName(arg0 any) *MockClientStoreControllerByNameCall
- func (mr *MockClientStoreMockRecorder) CookieJar(arg0 any) *MockClientStoreCookieJarCall
- func (mr *MockClientStoreMockRecorder) CredentialForCloud(arg0 any) *MockClientStoreCredentialForCloudCall
- func (mr *MockClientStoreMockRecorder) CurrentController() *MockClientStoreCurrentControllerCall
- func (mr *MockClientStoreMockRecorder) CurrentModel(arg0 any) *MockClientStoreCurrentModelCall
- func (mr *MockClientStoreMockRecorder) ModelByName(arg0, arg1 any) *MockClientStoreModelByNameCall
- func (mr *MockClientStoreMockRecorder) PreviousController() *MockClientStorePreviousControllerCall
- func (mr *MockClientStoreMockRecorder) PreviousModel(arg0 any) *MockClientStorePreviousModelCall
- func (mr *MockClientStoreMockRecorder) RemoveAccount(arg0 any) *MockClientStoreRemoveAccountCall
- func (mr *MockClientStoreMockRecorder) RemoveController(arg0 any) *MockClientStoreRemoveControllerCall
- func (mr *MockClientStoreMockRecorder) RemoveModel(arg0, arg1 any) *MockClientStoreRemoveModelCall
- func (mr *MockClientStoreMockRecorder) SetCurrentController(arg0 any) *MockClientStoreSetCurrentControllerCall
- func (mr *MockClientStoreMockRecorder) SetCurrentModel(arg0, arg1 any) *MockClientStoreSetCurrentModelCall
- func (mr *MockClientStoreMockRecorder) SetModels(arg0, arg1 any) *MockClientStoreSetModelsCall
- func (mr *MockClientStoreMockRecorder) UpdateAccount(arg0, arg1 any) *MockClientStoreUpdateAccountCall
- func (mr *MockClientStoreMockRecorder) UpdateBootstrapConfig(arg0, arg1 any) *MockClientStoreUpdateBootstrapConfigCall
- func (mr *MockClientStoreMockRecorder) UpdateController(arg0, arg1 any) *MockClientStoreUpdateControllerCall
- func (mr *MockClientStoreMockRecorder) UpdateCredential(arg0, arg1 any) *MockClientStoreUpdateCredentialCall
- func (mr *MockClientStoreMockRecorder) UpdateModel(arg0, arg1, arg2 any) *MockClientStoreUpdateModelCall
- type MockClientStoreModelByNameCall
- func (c *MockClientStoreModelByNameCall) Do(f func(string, string) (*jujuclient.ModelDetails, error)) *MockClientStoreModelByNameCall
- func (c *MockClientStoreModelByNameCall) DoAndReturn(f func(string, string) (*jujuclient.ModelDetails, error)) *MockClientStoreModelByNameCall
- func (c *MockClientStoreModelByNameCall) Return(arg0 *jujuclient.ModelDetails, arg1 error) *MockClientStoreModelByNameCall
- type MockClientStorePreviousControllerCall
- func (c *MockClientStorePreviousControllerCall) Do(f func() (string, bool, error)) *MockClientStorePreviousControllerCall
- func (c *MockClientStorePreviousControllerCall) DoAndReturn(f func() (string, bool, error)) *MockClientStorePreviousControllerCall
- func (c *MockClientStorePreviousControllerCall) Return(arg0 string, arg1 bool, arg2 error) *MockClientStorePreviousControllerCall
- type MockClientStorePreviousModelCall
- func (c *MockClientStorePreviousModelCall) Do(f func(string) (string, error)) *MockClientStorePreviousModelCall
- func (c *MockClientStorePreviousModelCall) DoAndReturn(f func(string) (string, error)) *MockClientStorePreviousModelCall
- func (c *MockClientStorePreviousModelCall) Return(arg0 string, arg1 error) *MockClientStorePreviousModelCall
- type MockClientStoreRemoveAccountCall
- func (c *MockClientStoreRemoveAccountCall) Do(f func(string) error) *MockClientStoreRemoveAccountCall
- func (c *MockClientStoreRemoveAccountCall) DoAndReturn(f func(string) error) *MockClientStoreRemoveAccountCall
- func (c *MockClientStoreRemoveAccountCall) Return(arg0 error) *MockClientStoreRemoveAccountCall
- type MockClientStoreRemoveControllerCall
- func (c *MockClientStoreRemoveControllerCall) Do(f func(string) error) *MockClientStoreRemoveControllerCall
- func (c *MockClientStoreRemoveControllerCall) DoAndReturn(f func(string) error) *MockClientStoreRemoveControllerCall
- func (c *MockClientStoreRemoveControllerCall) Return(arg0 error) *MockClientStoreRemoveControllerCall
- type MockClientStoreRemoveModelCall
- func (c *MockClientStoreRemoveModelCall) Do(f func(string, string) error) *MockClientStoreRemoveModelCall
- func (c *MockClientStoreRemoveModelCall) DoAndReturn(f func(string, string) error) *MockClientStoreRemoveModelCall
- func (c *MockClientStoreRemoveModelCall) Return(arg0 error) *MockClientStoreRemoveModelCall
- type MockClientStoreSetCurrentControllerCall
- func (c *MockClientStoreSetCurrentControllerCall) Do(f func(string) error) *MockClientStoreSetCurrentControllerCall
- func (c *MockClientStoreSetCurrentControllerCall) DoAndReturn(f func(string) error) *MockClientStoreSetCurrentControllerCall
- func (c *MockClientStoreSetCurrentControllerCall) Return(arg0 error) *MockClientStoreSetCurrentControllerCall
- type MockClientStoreSetCurrentModelCall
- func (c *MockClientStoreSetCurrentModelCall) Do(f func(string, string) error) *MockClientStoreSetCurrentModelCall
- func (c *MockClientStoreSetCurrentModelCall) DoAndReturn(f func(string, string) error) *MockClientStoreSetCurrentModelCall
- func (c *MockClientStoreSetCurrentModelCall) Return(arg0 error) *MockClientStoreSetCurrentModelCall
- type MockClientStoreSetModelsCall
- func (c *MockClientStoreSetModelsCall) Do(f func(string, map[string]jujuclient.ModelDetails) error) *MockClientStoreSetModelsCall
- func (c *MockClientStoreSetModelsCall) DoAndReturn(f func(string, map[string]jujuclient.ModelDetails) error) *MockClientStoreSetModelsCall
- func (c *MockClientStoreSetModelsCall) Return(arg0 error) *MockClientStoreSetModelsCall
- type MockClientStoreUpdateAccountCall
- func (c *MockClientStoreUpdateAccountCall) Do(f func(string, jujuclient.AccountDetails) error) *MockClientStoreUpdateAccountCall
- func (c *MockClientStoreUpdateAccountCall) DoAndReturn(f func(string, jujuclient.AccountDetails) error) *MockClientStoreUpdateAccountCall
- func (c *MockClientStoreUpdateAccountCall) Return(arg0 error) *MockClientStoreUpdateAccountCall
- type MockClientStoreUpdateBootstrapConfigCall
- func (c *MockClientStoreUpdateBootstrapConfigCall) Do(f func(string, jujuclient.BootstrapConfig) error) *MockClientStoreUpdateBootstrapConfigCall
- func (c *MockClientStoreUpdateBootstrapConfigCall) DoAndReturn(f func(string, jujuclient.BootstrapConfig) error) *MockClientStoreUpdateBootstrapConfigCall
- func (c *MockClientStoreUpdateBootstrapConfigCall) Return(arg0 error) *MockClientStoreUpdateBootstrapConfigCall
- type MockClientStoreUpdateControllerCall
- func (c *MockClientStoreUpdateControllerCall) Do(f func(string, jujuclient.ControllerDetails) error) *MockClientStoreUpdateControllerCall
- func (c *MockClientStoreUpdateControllerCall) DoAndReturn(f func(string, jujuclient.ControllerDetails) error) *MockClientStoreUpdateControllerCall
- func (c *MockClientStoreUpdateControllerCall) Return(arg0 error) *MockClientStoreUpdateControllerCall
- type MockClientStoreUpdateCredentialCall
- func (c *MockClientStoreUpdateCredentialCall) Do(f func(string, cloud.CloudCredential) error) *MockClientStoreUpdateCredentialCall
- func (c *MockClientStoreUpdateCredentialCall) DoAndReturn(f func(string, cloud.CloudCredential) error) *MockClientStoreUpdateCredentialCall
- func (c *MockClientStoreUpdateCredentialCall) Return(arg0 error) *MockClientStoreUpdateCredentialCall
- type MockClientStoreUpdateModelCall
- func (c *MockClientStoreUpdateModelCall) Do(f func(string, string, jujuclient.ModelDetails) error) *MockClientStoreUpdateModelCall
- func (c *MockClientStoreUpdateModelCall) DoAndReturn(f func(string, string, jujuclient.ModelDetails) error) *MockClientStoreUpdateModelCall
- func (c *MockClientStoreUpdateModelCall) Return(arg0 error) *MockClientStoreUpdateModelCall
- type MockCookieJar
- type MockCookieJarCookiesCall
- type MockCookieJarMockRecorder
- func (mr *MockCookieJarMockRecorder) Cookies(arg0 any) *MockCookieJarCookiesCall
- func (mr *MockCookieJarMockRecorder) RemoveAll() *MockCookieJarRemoveAllCall
- func (mr *MockCookieJarMockRecorder) Save() *MockCookieJarSaveCall
- func (mr *MockCookieJarMockRecorder) SetCookies(arg0, arg1 any) *MockCookieJarSetCookiesCall
- type MockCookieJarRemoveAllCall
- type MockCookieJarSaveCall
- type MockCookieJarSetCookiesCall
- type MockModelConfigAPI
- type MockModelConfigAPICloseCall
- type MockModelConfigAPIMockRecorder
- type MockModelConfigAPIModelGetCall
- func (c *MockModelConfigAPIModelGetCall) Do(f func(context.Context) (map[string]any, error)) *MockModelConfigAPIModelGetCall
- func (c *MockModelConfigAPIModelGetCall) DoAndReturn(f func(context.Context) (map[string]any, error)) *MockModelConfigAPIModelGetCall
- func (c *MockModelConfigAPIModelGetCall) Return(arg0 map[string]any, arg1 error) *MockModelConfigAPIModelGetCall
- type MockModelUpgraderAPI
- func (m *MockModelUpgraderAPI) Close() error
- func (m *MockModelUpgraderAPI) EXPECT() *MockModelUpgraderAPIMockRecorder
- func (m *MockModelUpgraderAPI) UpgradeModel(arg0 context.Context, arg1 string, arg2 version.Number, arg3 string, ...) (version.Number, error)
- func (m *MockModelUpgraderAPI) UploadTools(arg0 context.Context, arg1 io.Reader, arg2 version.Binary) (tools.List, error)
- type MockModelUpgraderAPICloseCall
- type MockModelUpgraderAPIMockRecorder
- func (mr *MockModelUpgraderAPIMockRecorder) Close() *MockModelUpgraderAPICloseCall
- func (mr *MockModelUpgraderAPIMockRecorder) UpgradeModel(arg0, arg1, arg2, arg3, arg4, arg5 any) *MockModelUpgraderAPIUpgradeModelCall
- func (mr *MockModelUpgraderAPIMockRecorder) UploadTools(arg0, arg1, arg2 any) *MockModelUpgraderAPIUploadToolsCall
- type MockModelUpgraderAPIUpgradeModelCall
- func (c *MockModelUpgraderAPIUpgradeModelCall) Do(...) *MockModelUpgraderAPIUpgradeModelCall
- func (c *MockModelUpgraderAPIUpgradeModelCall) DoAndReturn(...) *MockModelUpgraderAPIUpgradeModelCall
- func (c *MockModelUpgraderAPIUpgradeModelCall) Return(arg0 version.Number, arg1 error) *MockModelUpgraderAPIUpgradeModelCall
- type MockModelUpgraderAPIUploadToolsCall
- func (c *MockModelUpgraderAPIUploadToolsCall) Do(f func(context.Context, io.Reader, version.Binary) (tools.List, error)) *MockModelUpgraderAPIUploadToolsCall
- func (c *MockModelUpgraderAPIUploadToolsCall) DoAndReturn(f func(context.Context, io.Reader, version.Binary) (tools.List, error)) *MockModelUpgraderAPIUploadToolsCall
- func (c *MockModelUpgraderAPIUploadToolsCall) Return(arg0 tools.List, arg1 error) *MockModelUpgraderAPIUploadToolsCall
- type MockSyncToolAPI
- type MockSyncToolAPICloseCall
- type MockSyncToolAPIMockRecorder
- type MockSyncToolAPIUploadToolsCall
- func (c *MockSyncToolAPIUploadToolsCall) Do(f func(context.Context, io.Reader, version.Binary) (tools.List, error)) *MockSyncToolAPIUploadToolsCall
- func (c *MockSyncToolAPIUploadToolsCall) DoAndReturn(f func(context.Context, io.Reader, version.Binary) (tools.List, error)) *MockSyncToolAPIUploadToolsCall
- func (c *MockSyncToolAPIUploadToolsCall) Return(arg0 tools.List, arg1 error) *MockSyncToolAPIUploadToolsCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClientStore ¶
type MockClientStore struct {
// contains filtered or unexported fields
}
MockClientStore is a mock of ClientStore interface.
func NewMockClientStore ¶
func NewMockClientStore(ctrl *gomock.Controller) *MockClientStore
NewMockClientStore creates a new mock instance.
func (*MockClientStore) AccountDetails ¶
func (m *MockClientStore) AccountDetails(arg0 string) (*jujuclient.AccountDetails, error)
AccountDetails mocks base method.
func (*MockClientStore) AddController ¶
func (m *MockClientStore) AddController(arg0 string, arg1 jujuclient.ControllerDetails) error
AddController mocks base method.
func (*MockClientStore) AllControllers ¶
func (m *MockClientStore) AllControllers() (map[string]jujuclient.ControllerDetails, error)
AllControllers mocks base method.
func (*MockClientStore) AllCredentials ¶
func (m *MockClientStore) AllCredentials() (map[string]cloud.CloudCredential, error)
AllCredentials mocks base method.
func (*MockClientStore) AllModels ¶
func (m *MockClientStore) AllModels(arg0 string) (map[string]jujuclient.ModelDetails, error)
AllModels mocks base method.
func (*MockClientStore) BootstrapConfigForController ¶
func (m *MockClientStore) BootstrapConfigForController(arg0 string) (*jujuclient.BootstrapConfig, error)
BootstrapConfigForController mocks base method.
func (*MockClientStore) ControllerByAPIEndpoints ¶
func (m *MockClientStore) ControllerByAPIEndpoints(arg0 ...string) (*jujuclient.ControllerDetails, string, error)
ControllerByAPIEndpoints mocks base method.
func (*MockClientStore) ControllerByName ¶
func (m *MockClientStore) ControllerByName(arg0 string) (*jujuclient.ControllerDetails, error)
ControllerByName mocks base method.
func (*MockClientStore) CookieJar ¶
func (m *MockClientStore) CookieJar(arg0 string) (jujuclient.CookieJar, error)
CookieJar mocks base method.
func (*MockClientStore) CredentialForCloud ¶
func (m *MockClientStore) CredentialForCloud(arg0 string) (*cloud.CloudCredential, error)
CredentialForCloud mocks base method.
func (*MockClientStore) CurrentController ¶
func (m *MockClientStore) CurrentController() (string, error)
CurrentController mocks base method.
func (*MockClientStore) CurrentModel ¶
func (m *MockClientStore) CurrentModel(arg0 string) (string, error)
CurrentModel mocks base method.
func (*MockClientStore) EXPECT ¶
func (m *MockClientStore) EXPECT() *MockClientStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClientStore) ModelByName ¶
func (m *MockClientStore) ModelByName(arg0, arg1 string) (*jujuclient.ModelDetails, error)
ModelByName mocks base method.
func (*MockClientStore) PreviousController ¶
func (m *MockClientStore) PreviousController() (string, bool, error)
PreviousController mocks base method.
func (*MockClientStore) PreviousModel ¶
func (m *MockClientStore) PreviousModel(arg0 string) (string, error)
PreviousModel mocks base method.
func (*MockClientStore) RemoveAccount ¶
func (m *MockClientStore) RemoveAccount(arg0 string) error
RemoveAccount mocks base method.
func (*MockClientStore) RemoveController ¶
func (m *MockClientStore) RemoveController(arg0 string) error
RemoveController mocks base method.
func (*MockClientStore) RemoveModel ¶
func (m *MockClientStore) RemoveModel(arg0, arg1 string) error
RemoveModel mocks base method.
func (*MockClientStore) SetCurrentController ¶
func (m *MockClientStore) SetCurrentController(arg0 string) error
SetCurrentController mocks base method.
func (*MockClientStore) SetCurrentModel ¶
func (m *MockClientStore) SetCurrentModel(arg0, arg1 string) error
SetCurrentModel mocks base method.
func (*MockClientStore) SetModels ¶
func (m *MockClientStore) SetModels(arg0 string, arg1 map[string]jujuclient.ModelDetails) error
SetModels mocks base method.
func (*MockClientStore) UpdateAccount ¶
func (m *MockClientStore) UpdateAccount(arg0 string, arg1 jujuclient.AccountDetails) error
UpdateAccount mocks base method.
func (*MockClientStore) UpdateBootstrapConfig ¶
func (m *MockClientStore) UpdateBootstrapConfig(arg0 string, arg1 jujuclient.BootstrapConfig) error
UpdateBootstrapConfig mocks base method.
func (*MockClientStore) UpdateController ¶
func (m *MockClientStore) UpdateController(arg0 string, arg1 jujuclient.ControllerDetails) error
UpdateController mocks base method.
func (*MockClientStore) UpdateCredential ¶
func (m *MockClientStore) UpdateCredential(arg0 string, arg1 cloud.CloudCredential) error
UpdateCredential mocks base method.
func (*MockClientStore) UpdateModel ¶
func (m *MockClientStore) UpdateModel(arg0, arg1 string, arg2 jujuclient.ModelDetails) error
UpdateModel mocks base method.
type MockClientStoreAccountDetailsCall ¶
MockClientStoreAccountDetailsCall wrap *gomock.Call
func (*MockClientStoreAccountDetailsCall) Do ¶
func (c *MockClientStoreAccountDetailsCall) Do(f func(string) (*jujuclient.AccountDetails, error)) *MockClientStoreAccountDetailsCall
Do rewrite *gomock.Call.Do
func (*MockClientStoreAccountDetailsCall) DoAndReturn ¶
func (c *MockClientStoreAccountDetailsCall) DoAndReturn(f func(string) (*jujuclient.AccountDetails, error)) *MockClientStoreAccountDetailsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientStoreAccountDetailsCall) Return ¶
func (c *MockClientStoreAccountDetailsCall) Return(arg0 *jujuclient.AccountDetails, arg1 error) *MockClientStoreAccountDetailsCall
Return rewrite *gomock.Call.Return
type MockClientStoreAddControllerCall ¶
MockClientStoreAddControllerCall wrap *gomock.Call
func (*MockClientStoreAddControllerCall) Do ¶
func (c *MockClientStoreAddControllerCall) Do(f func(string, jujuclient.ControllerDetails) error) *MockClientStoreAddControllerCall
Do rewrite *gomock.Call.Do
func (*MockClientStoreAddControllerCall) DoAndReturn ¶
func (c *MockClientStoreAddControllerCall) DoAndReturn(f func(string, jujuclient.ControllerDetails) error) *MockClientStoreAddControllerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientStoreAddControllerCall) Return ¶
func (c *MockClientStoreAddControllerCall) Return(arg0 error) *MockClientStoreAddControllerCall
Return rewrite *gomock.Call.Return
type MockClientStoreAllControllersCall ¶
MockClientStoreAllControllersCall wrap *gomock.Call
func (*MockClientStoreAllControllersCall) Do ¶
func (c *MockClientStoreAllControllersCall) Do(f func() (map[string]jujuclient.ControllerDetails, error)) *MockClientStoreAllControllersCall
Do rewrite *gomock.Call.Do
func (*MockClientStoreAllControllersCall) DoAndReturn ¶
func (c *MockClientStoreAllControllersCall) DoAndReturn(f func() (map[string]jujuclient.ControllerDetails, error)) *MockClientStoreAllControllersCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientStoreAllControllersCall) Return ¶
func (c *MockClientStoreAllControllersCall) Return(arg0 map[string]jujuclient.ControllerDetails, arg1 error) *MockClientStoreAllControllersCall
Return rewrite *gomock.Call.Return
type MockClientStoreAllCredentialsCall ¶
MockClientStoreAllCredentialsCall wrap *gomock.Call
func (*MockClientStoreAllCredentialsCall) Do ¶
func (c *MockClientStoreAllCredentialsCall) Do(f func() (map[string]cloud.CloudCredential, error)) *MockClientStoreAllCredentialsCall
Do rewrite *gomock.Call.Do
func (*MockClientStoreAllCredentialsCall) DoAndReturn ¶
func (c *MockClientStoreAllCredentialsCall) DoAndReturn(f func() (map[string]cloud.CloudCredential, error)) *MockClientStoreAllCredentialsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientStoreAllCredentialsCall) Return ¶
func (c *MockClientStoreAllCredentialsCall) Return(arg0 map[string]cloud.CloudCredential, arg1 error) *MockClientStoreAllCredentialsCall
Return rewrite *gomock.Call.Return
type MockClientStoreAllModelsCall ¶
MockClientStoreAllModelsCall wrap *gomock.Call
func (*MockClientStoreAllModelsCall) Do ¶
func (c *MockClientStoreAllModelsCall) Do(f func(string) (map[string]jujuclient.ModelDetails, error)) *MockClientStoreAllModelsCall
Do rewrite *gomock.Call.Do
func (*MockClientStoreAllModelsCall) DoAndReturn ¶
func (c *MockClientStoreAllModelsCall) DoAndReturn(f func(string) (map[string]jujuclient.ModelDetails, error)) *MockClientStoreAllModelsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientStoreAllModelsCall) Return ¶
func (c *MockClientStoreAllModelsCall) Return(arg0 map[string]jujuclient.ModelDetails, arg1 error) *MockClientStoreAllModelsCall
Return rewrite *gomock.Call.Return
type MockClientStoreBootstrapConfigForControllerCall ¶
MockClientStoreBootstrapConfigForControllerCall wrap *gomock.Call
func (*MockClientStoreBootstrapConfigForControllerCall) Do ¶
func (c *MockClientStoreBootstrapConfigForControllerCall) Do(f func(string) (*jujuclient.BootstrapConfig, error)) *MockClientStoreBootstrapConfigForControllerCall
Do rewrite *gomock.Call.Do
func (*MockClientStoreBootstrapConfigForControllerCall) DoAndReturn ¶
func (c *MockClientStoreBootstrapConfigForControllerCall) DoAndReturn(f func(string) (*jujuclient.BootstrapConfig, error)) *MockClientStoreBootstrapConfigForControllerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientStoreBootstrapConfigForControllerCall) Return ¶
func (c *MockClientStoreBootstrapConfigForControllerCall) Return(arg0 *jujuclient.BootstrapConfig, arg1 error) *MockClientStoreBootstrapConfigForControllerCall
Return rewrite *gomock.Call.Return
type MockClientStoreControllerByAPIEndpointsCall ¶
MockClientStoreControllerByAPIEndpointsCall wrap *gomock.Call
func (*MockClientStoreControllerByAPIEndpointsCall) Do ¶
func (c *MockClientStoreControllerByAPIEndpointsCall) Do(f func(...string) (*jujuclient.ControllerDetails, string, error)) *MockClientStoreControllerByAPIEndpointsCall
Do rewrite *gomock.Call.Do
func (*MockClientStoreControllerByAPIEndpointsCall) DoAndReturn ¶
func (c *MockClientStoreControllerByAPIEndpointsCall) DoAndReturn(f func(...string) (*jujuclient.ControllerDetails, string, error)) *MockClientStoreControllerByAPIEndpointsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientStoreControllerByAPIEndpointsCall) Return ¶
func (c *MockClientStoreControllerByAPIEndpointsCall) Return(arg0 *jujuclient.ControllerDetails, arg1 string, arg2 error) *MockClientStoreControllerByAPIEndpointsCall
Return rewrite *gomock.Call.Return
type MockClientStoreControllerByNameCall ¶
MockClientStoreControllerByNameCall wrap *gomock.Call
func (*MockClientStoreControllerByNameCall) Do ¶
func (c *MockClientStoreControllerByNameCall) Do(f func(string) (*jujuclient.ControllerDetails, error)) *MockClientStoreControllerByNameCall
Do rewrite *gomock.Call.Do
func (*MockClientStoreControllerByNameCall) DoAndReturn ¶
func (c *MockClientStoreControllerByNameCall) DoAndReturn(f func(string) (*jujuclient.ControllerDetails, error)) *MockClientStoreControllerByNameCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientStoreControllerByNameCall) Return ¶
func (c *MockClientStoreControllerByNameCall) Return(arg0 *jujuclient.ControllerDetails, arg1 error) *MockClientStoreControllerByNameCall
Return rewrite *gomock.Call.Return
type MockClientStoreCookieJarCall ¶
MockClientStoreCookieJarCall wrap *gomock.Call
func (*MockClientStoreCookieJarCall) Do ¶
func (c *MockClientStoreCookieJarCall) Do(f func(string) (jujuclient.CookieJar, error)) *MockClientStoreCookieJarCall
Do rewrite *gomock.Call.Do
func (*MockClientStoreCookieJarCall) DoAndReturn ¶
func (c *MockClientStoreCookieJarCall) DoAndReturn(f func(string) (jujuclient.CookieJar, error)) *MockClientStoreCookieJarCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientStoreCookieJarCall) Return ¶
func (c *MockClientStoreCookieJarCall) Return(arg0 jujuclient.CookieJar, arg1 error) *MockClientStoreCookieJarCall
Return rewrite *gomock.Call.Return
type MockClientStoreCredentialForCloudCall ¶
MockClientStoreCredentialForCloudCall wrap *gomock.Call
func (*MockClientStoreCredentialForCloudCall) Do ¶
func (c *MockClientStoreCredentialForCloudCall) Do(f func(string) (*cloud.CloudCredential, error)) *MockClientStoreCredentialForCloudCall
Do rewrite *gomock.Call.Do
func (*MockClientStoreCredentialForCloudCall) DoAndReturn ¶
func (c *MockClientStoreCredentialForCloudCall) DoAndReturn(f func(string) (*cloud.CloudCredential, error)) *MockClientStoreCredentialForCloudCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientStoreCredentialForCloudCall) Return ¶
func (c *MockClientStoreCredentialForCloudCall) Return(arg0 *cloud.CloudCredential, arg1 error) *MockClientStoreCredentialForCloudCall
Return rewrite *gomock.Call.Return
type MockClientStoreCurrentControllerCall ¶
MockClientStoreCurrentControllerCall wrap *gomock.Call
func (*MockClientStoreCurrentControllerCall) Do ¶
func (c *MockClientStoreCurrentControllerCall) Do(f func() (string, error)) *MockClientStoreCurrentControllerCall
Do rewrite *gomock.Call.Do
func (*MockClientStoreCurrentControllerCall) DoAndReturn ¶
func (c *MockClientStoreCurrentControllerCall) DoAndReturn(f func() (string, error)) *MockClientStoreCurrentControllerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientStoreCurrentControllerCall) Return ¶
func (c *MockClientStoreCurrentControllerCall) Return(arg0 string, arg1 error) *MockClientStoreCurrentControllerCall
Return rewrite *gomock.Call.Return
type MockClientStoreCurrentModelCall ¶
MockClientStoreCurrentModelCall wrap *gomock.Call
func (*MockClientStoreCurrentModelCall) Do ¶
func (c *MockClientStoreCurrentModelCall) Do(f func(string) (string, error)) *MockClientStoreCurrentModelCall
Do rewrite *gomock.Call.Do
func (*MockClientStoreCurrentModelCall) DoAndReturn ¶
func (c *MockClientStoreCurrentModelCall) DoAndReturn(f func(string) (string, error)) *MockClientStoreCurrentModelCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientStoreCurrentModelCall) Return ¶
func (c *MockClientStoreCurrentModelCall) Return(arg0 string, arg1 error) *MockClientStoreCurrentModelCall
Return rewrite *gomock.Call.Return
type MockClientStoreMockRecorder ¶
type MockClientStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockClientStoreMockRecorder is the mock recorder for MockClientStore.
func (*MockClientStoreMockRecorder) AccountDetails ¶
func (mr *MockClientStoreMockRecorder) AccountDetails(arg0 any) *MockClientStoreAccountDetailsCall
AccountDetails indicates an expected call of AccountDetails.
func (*MockClientStoreMockRecorder) AddController ¶
func (mr *MockClientStoreMockRecorder) AddController(arg0, arg1 any) *MockClientStoreAddControllerCall
AddController indicates an expected call of AddController.
func (*MockClientStoreMockRecorder) AllControllers ¶
func (mr *MockClientStoreMockRecorder) AllControllers() *MockClientStoreAllControllersCall
AllControllers indicates an expected call of AllControllers.
func (*MockClientStoreMockRecorder) AllCredentials ¶
func (mr *MockClientStoreMockRecorder) AllCredentials() *MockClientStoreAllCredentialsCall
AllCredentials indicates an expected call of AllCredentials.
func (*MockClientStoreMockRecorder) AllModels ¶
func (mr *MockClientStoreMockRecorder) AllModels(arg0 any) *MockClientStoreAllModelsCall
AllModels indicates an expected call of AllModels.
func (*MockClientStoreMockRecorder) BootstrapConfigForController ¶
func (mr *MockClientStoreMockRecorder) BootstrapConfigForController(arg0 any) *MockClientStoreBootstrapConfigForControllerCall
BootstrapConfigForController indicates an expected call of BootstrapConfigForController.
func (*MockClientStoreMockRecorder) ControllerByAPIEndpoints ¶
func (mr *MockClientStoreMockRecorder) ControllerByAPIEndpoints(arg0 ...any) *MockClientStoreControllerByAPIEndpointsCall
ControllerByAPIEndpoints indicates an expected call of ControllerByAPIEndpoints.
func (*MockClientStoreMockRecorder) ControllerByName ¶
func (mr *MockClientStoreMockRecorder) ControllerByName(arg0 any) *MockClientStoreControllerByNameCall
ControllerByName indicates an expected call of ControllerByName.
func (*MockClientStoreMockRecorder) CookieJar ¶
func (mr *MockClientStoreMockRecorder) CookieJar(arg0 any) *MockClientStoreCookieJarCall
CookieJar indicates an expected call of CookieJar.
func (*MockClientStoreMockRecorder) CredentialForCloud ¶
func (mr *MockClientStoreMockRecorder) CredentialForCloud(arg0 any) *MockClientStoreCredentialForCloudCall
CredentialForCloud indicates an expected call of CredentialForCloud.
func (*MockClientStoreMockRecorder) CurrentController ¶
func (mr *MockClientStoreMockRecorder) CurrentController() *MockClientStoreCurrentControllerCall
CurrentController indicates an expected call of CurrentController.
func (*MockClientStoreMockRecorder) CurrentModel ¶
func (mr *MockClientStoreMockRecorder) CurrentModel(arg0 any) *MockClientStoreCurrentModelCall
CurrentModel indicates an expected call of CurrentModel.
func (*MockClientStoreMockRecorder) ModelByName ¶
func (mr *MockClientStoreMockRecorder) ModelByName(arg0, arg1 any) *MockClientStoreModelByNameCall
ModelByName indicates an expected call of ModelByName.
func (*MockClientStoreMockRecorder) PreviousController ¶
func (mr *MockClientStoreMockRecorder) PreviousController() *MockClientStorePreviousControllerCall
PreviousController indicates an expected call of PreviousController.
func (*MockClientStoreMockRecorder) PreviousModel ¶
func (mr *MockClientStoreMockRecorder) PreviousModel(arg0 any) *MockClientStorePreviousModelCall
PreviousModel indicates an expected call of PreviousModel.
func (*MockClientStoreMockRecorder) RemoveAccount ¶
func (mr *MockClientStoreMockRecorder) RemoveAccount(arg0 any) *MockClientStoreRemoveAccountCall
RemoveAccount indicates an expected call of RemoveAccount.
func (*MockClientStoreMockRecorder) RemoveController ¶
func (mr *MockClientStoreMockRecorder) RemoveController(arg0 any) *MockClientStoreRemoveControllerCall
RemoveController indicates an expected call of RemoveController.
func (*MockClientStoreMockRecorder) RemoveModel ¶
func (mr *MockClientStoreMockRecorder) RemoveModel(arg0, arg1 any) *MockClientStoreRemoveModelCall
RemoveModel indicates an expected call of RemoveModel.
func (*MockClientStoreMockRecorder) SetCurrentController ¶
func (mr *MockClientStoreMockRecorder) SetCurrentController(arg0 any) *MockClientStoreSetCurrentControllerCall
SetCurrentController indicates an expected call of SetCurrentController.
func (*MockClientStoreMockRecorder) SetCurrentModel ¶
func (mr *MockClientStoreMockRecorder) SetCurrentModel(arg0, arg1 any) *MockClientStoreSetCurrentModelCall
SetCurrentModel indicates an expected call of SetCurrentModel.
func (*MockClientStoreMockRecorder) SetModels ¶
func (mr *MockClientStoreMockRecorder) SetModels(arg0, arg1 any) *MockClientStoreSetModelsCall
SetModels indicates an expected call of SetModels.
func (*MockClientStoreMockRecorder) UpdateAccount ¶
func (mr *MockClientStoreMockRecorder) UpdateAccount(arg0, arg1 any) *MockClientStoreUpdateAccountCall
UpdateAccount indicates an expected call of UpdateAccount.
func (*MockClientStoreMockRecorder) UpdateBootstrapConfig ¶
func (mr *MockClientStoreMockRecorder) UpdateBootstrapConfig(arg0, arg1 any) *MockClientStoreUpdateBootstrapConfigCall
UpdateBootstrapConfig indicates an expected call of UpdateBootstrapConfig.
func (*MockClientStoreMockRecorder) UpdateController ¶
func (mr *MockClientStoreMockRecorder) UpdateController(arg0, arg1 any) *MockClientStoreUpdateControllerCall
UpdateController indicates an expected call of UpdateController.
func (*MockClientStoreMockRecorder) UpdateCredential ¶
func (mr *MockClientStoreMockRecorder) UpdateCredential(arg0, arg1 any) *MockClientStoreUpdateCredentialCall
UpdateCredential indicates an expected call of UpdateCredential.
func (*MockClientStoreMockRecorder) UpdateModel ¶
func (mr *MockClientStoreMockRecorder) UpdateModel(arg0, arg1, arg2 any) *MockClientStoreUpdateModelCall
UpdateModel indicates an expected call of UpdateModel.
type MockClientStoreModelByNameCall ¶
MockClientStoreModelByNameCall wrap *gomock.Call
func (*MockClientStoreModelByNameCall) Do ¶
func (c *MockClientStoreModelByNameCall) Do(f func(string, string) (*jujuclient.ModelDetails, error)) *MockClientStoreModelByNameCall
Do rewrite *gomock.Call.Do
func (*MockClientStoreModelByNameCall) DoAndReturn ¶
func (c *MockClientStoreModelByNameCall) DoAndReturn(f func(string, string) (*jujuclient.ModelDetails, error)) *MockClientStoreModelByNameCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientStoreModelByNameCall) Return ¶
func (c *MockClientStoreModelByNameCall) Return(arg0 *jujuclient.ModelDetails, arg1 error) *MockClientStoreModelByNameCall
Return rewrite *gomock.Call.Return
type MockClientStorePreviousControllerCall ¶
MockClientStorePreviousControllerCall wrap *gomock.Call
func (*MockClientStorePreviousControllerCall) Do ¶
func (c *MockClientStorePreviousControllerCall) Do(f func() (string, bool, error)) *MockClientStorePreviousControllerCall
Do rewrite *gomock.Call.Do
func (*MockClientStorePreviousControllerCall) DoAndReturn ¶
func (c *MockClientStorePreviousControllerCall) DoAndReturn(f func() (string, bool, error)) *MockClientStorePreviousControllerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientStorePreviousControllerCall) Return ¶
func (c *MockClientStorePreviousControllerCall) Return(arg0 string, arg1 bool, arg2 error) *MockClientStorePreviousControllerCall
Return rewrite *gomock.Call.Return
type MockClientStorePreviousModelCall ¶
MockClientStorePreviousModelCall wrap *gomock.Call
func (*MockClientStorePreviousModelCall) Do ¶
func (c *MockClientStorePreviousModelCall) Do(f func(string) (string, error)) *MockClientStorePreviousModelCall
Do rewrite *gomock.Call.Do
func (*MockClientStorePreviousModelCall) DoAndReturn ¶
func (c *MockClientStorePreviousModelCall) DoAndReturn(f func(string) (string, error)) *MockClientStorePreviousModelCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientStorePreviousModelCall) Return ¶
func (c *MockClientStorePreviousModelCall) Return(arg0 string, arg1 error) *MockClientStorePreviousModelCall
Return rewrite *gomock.Call.Return
type MockClientStoreRemoveAccountCall ¶
MockClientStoreRemoveAccountCall wrap *gomock.Call
func (*MockClientStoreRemoveAccountCall) Do ¶
func (c *MockClientStoreRemoveAccountCall) Do(f func(string) error) *MockClientStoreRemoveAccountCall
Do rewrite *gomock.Call.Do
func (*MockClientStoreRemoveAccountCall) DoAndReturn ¶
func (c *MockClientStoreRemoveAccountCall) DoAndReturn(f func(string) error) *MockClientStoreRemoveAccountCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientStoreRemoveAccountCall) Return ¶
func (c *MockClientStoreRemoveAccountCall) Return(arg0 error) *MockClientStoreRemoveAccountCall
Return rewrite *gomock.Call.Return
type MockClientStoreRemoveControllerCall ¶
MockClientStoreRemoveControllerCall wrap *gomock.Call
func (*MockClientStoreRemoveControllerCall) Do ¶
func (c *MockClientStoreRemoveControllerCall) Do(f func(string) error) *MockClientStoreRemoveControllerCall
Do rewrite *gomock.Call.Do
func (*MockClientStoreRemoveControllerCall) DoAndReturn ¶
func (c *MockClientStoreRemoveControllerCall) DoAndReturn(f func(string) error) *MockClientStoreRemoveControllerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientStoreRemoveControllerCall) Return ¶
func (c *MockClientStoreRemoveControllerCall) Return(arg0 error) *MockClientStoreRemoveControllerCall
Return rewrite *gomock.Call.Return
type MockClientStoreRemoveModelCall ¶
MockClientStoreRemoveModelCall wrap *gomock.Call
func (*MockClientStoreRemoveModelCall) Do ¶
func (c *MockClientStoreRemoveModelCall) Do(f func(string, string) error) *MockClientStoreRemoveModelCall
Do rewrite *gomock.Call.Do
func (*MockClientStoreRemoveModelCall) DoAndReturn ¶
func (c *MockClientStoreRemoveModelCall) DoAndReturn(f func(string, string) error) *MockClientStoreRemoveModelCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientStoreRemoveModelCall) Return ¶
func (c *MockClientStoreRemoveModelCall) Return(arg0 error) *MockClientStoreRemoveModelCall
Return rewrite *gomock.Call.Return
type MockClientStoreSetCurrentControllerCall ¶
MockClientStoreSetCurrentControllerCall wrap *gomock.Call
func (*MockClientStoreSetCurrentControllerCall) Do ¶
func (c *MockClientStoreSetCurrentControllerCall) Do(f func(string) error) *MockClientStoreSetCurrentControllerCall
Do rewrite *gomock.Call.Do
func (*MockClientStoreSetCurrentControllerCall) DoAndReturn ¶
func (c *MockClientStoreSetCurrentControllerCall) DoAndReturn(f func(string) error) *MockClientStoreSetCurrentControllerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientStoreSetCurrentControllerCall) Return ¶
func (c *MockClientStoreSetCurrentControllerCall) Return(arg0 error) *MockClientStoreSetCurrentControllerCall
Return rewrite *gomock.Call.Return
type MockClientStoreSetCurrentModelCall ¶
MockClientStoreSetCurrentModelCall wrap *gomock.Call
func (*MockClientStoreSetCurrentModelCall) Do ¶
func (c *MockClientStoreSetCurrentModelCall) Do(f func(string, string) error) *MockClientStoreSetCurrentModelCall
Do rewrite *gomock.Call.Do
func (*MockClientStoreSetCurrentModelCall) DoAndReturn ¶
func (c *MockClientStoreSetCurrentModelCall) DoAndReturn(f func(string, string) error) *MockClientStoreSetCurrentModelCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientStoreSetCurrentModelCall) Return ¶
func (c *MockClientStoreSetCurrentModelCall) Return(arg0 error) *MockClientStoreSetCurrentModelCall
Return rewrite *gomock.Call.Return
type MockClientStoreSetModelsCall ¶
MockClientStoreSetModelsCall wrap *gomock.Call
func (*MockClientStoreSetModelsCall) Do ¶
func (c *MockClientStoreSetModelsCall) Do(f func(string, map[string]jujuclient.ModelDetails) error) *MockClientStoreSetModelsCall
Do rewrite *gomock.Call.Do
func (*MockClientStoreSetModelsCall) DoAndReturn ¶
func (c *MockClientStoreSetModelsCall) DoAndReturn(f func(string, map[string]jujuclient.ModelDetails) error) *MockClientStoreSetModelsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientStoreSetModelsCall) Return ¶
func (c *MockClientStoreSetModelsCall) Return(arg0 error) *MockClientStoreSetModelsCall
Return rewrite *gomock.Call.Return
type MockClientStoreUpdateAccountCall ¶
MockClientStoreUpdateAccountCall wrap *gomock.Call
func (*MockClientStoreUpdateAccountCall) Do ¶
func (c *MockClientStoreUpdateAccountCall) Do(f func(string, jujuclient.AccountDetails) error) *MockClientStoreUpdateAccountCall
Do rewrite *gomock.Call.Do
func (*MockClientStoreUpdateAccountCall) DoAndReturn ¶
func (c *MockClientStoreUpdateAccountCall) DoAndReturn(f func(string, jujuclient.AccountDetails) error) *MockClientStoreUpdateAccountCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientStoreUpdateAccountCall) Return ¶
func (c *MockClientStoreUpdateAccountCall) Return(arg0 error) *MockClientStoreUpdateAccountCall
Return rewrite *gomock.Call.Return
type MockClientStoreUpdateBootstrapConfigCall ¶
MockClientStoreUpdateBootstrapConfigCall wrap *gomock.Call
func (*MockClientStoreUpdateBootstrapConfigCall) Do ¶
func (c *MockClientStoreUpdateBootstrapConfigCall) Do(f func(string, jujuclient.BootstrapConfig) error) *MockClientStoreUpdateBootstrapConfigCall
Do rewrite *gomock.Call.Do
func (*MockClientStoreUpdateBootstrapConfigCall) DoAndReturn ¶
func (c *MockClientStoreUpdateBootstrapConfigCall) DoAndReturn(f func(string, jujuclient.BootstrapConfig) error) *MockClientStoreUpdateBootstrapConfigCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientStoreUpdateBootstrapConfigCall) Return ¶
func (c *MockClientStoreUpdateBootstrapConfigCall) Return(arg0 error) *MockClientStoreUpdateBootstrapConfigCall
Return rewrite *gomock.Call.Return
type MockClientStoreUpdateControllerCall ¶
MockClientStoreUpdateControllerCall wrap *gomock.Call
func (*MockClientStoreUpdateControllerCall) Do ¶
func (c *MockClientStoreUpdateControllerCall) Do(f func(string, jujuclient.ControllerDetails) error) *MockClientStoreUpdateControllerCall
Do rewrite *gomock.Call.Do
func (*MockClientStoreUpdateControllerCall) DoAndReturn ¶
func (c *MockClientStoreUpdateControllerCall) DoAndReturn(f func(string, jujuclient.ControllerDetails) error) *MockClientStoreUpdateControllerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientStoreUpdateControllerCall) Return ¶
func (c *MockClientStoreUpdateControllerCall) Return(arg0 error) *MockClientStoreUpdateControllerCall
Return rewrite *gomock.Call.Return
type MockClientStoreUpdateCredentialCall ¶
MockClientStoreUpdateCredentialCall wrap *gomock.Call
func (*MockClientStoreUpdateCredentialCall) Do ¶
func (c *MockClientStoreUpdateCredentialCall) Do(f func(string, cloud.CloudCredential) error) *MockClientStoreUpdateCredentialCall
Do rewrite *gomock.Call.Do
func (*MockClientStoreUpdateCredentialCall) DoAndReturn ¶
func (c *MockClientStoreUpdateCredentialCall) DoAndReturn(f func(string, cloud.CloudCredential) error) *MockClientStoreUpdateCredentialCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientStoreUpdateCredentialCall) Return ¶
func (c *MockClientStoreUpdateCredentialCall) Return(arg0 error) *MockClientStoreUpdateCredentialCall
Return rewrite *gomock.Call.Return
type MockClientStoreUpdateModelCall ¶
MockClientStoreUpdateModelCall wrap *gomock.Call
func (*MockClientStoreUpdateModelCall) Do ¶
func (c *MockClientStoreUpdateModelCall) Do(f func(string, string, jujuclient.ModelDetails) error) *MockClientStoreUpdateModelCall
Do rewrite *gomock.Call.Do
func (*MockClientStoreUpdateModelCall) DoAndReturn ¶
func (c *MockClientStoreUpdateModelCall) DoAndReturn(f func(string, string, jujuclient.ModelDetails) error) *MockClientStoreUpdateModelCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientStoreUpdateModelCall) Return ¶
func (c *MockClientStoreUpdateModelCall) Return(arg0 error) *MockClientStoreUpdateModelCall
Return rewrite *gomock.Call.Return
type MockCookieJar ¶
type MockCookieJar struct {
// contains filtered or unexported fields
}
MockCookieJar is a mock of CookieJar interface.
func NewMockCookieJar ¶
func NewMockCookieJar(ctrl *gomock.Controller) *MockCookieJar
NewMockCookieJar creates a new mock instance.
func (*MockCookieJar) Cookies ¶
func (m *MockCookieJar) Cookies(arg0 *url.URL) []*http.Cookie
Cookies mocks base method.
func (*MockCookieJar) EXPECT ¶
func (m *MockCookieJar) EXPECT() *MockCookieJarMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCookieJar) SetCookies ¶
func (m *MockCookieJar) SetCookies(arg0 *url.URL, arg1 []*http.Cookie)
SetCookies mocks base method.
type MockCookieJarCookiesCall ¶
MockCookieJarCookiesCall wrap *gomock.Call
func (*MockCookieJarCookiesCall) Do ¶
func (c *MockCookieJarCookiesCall) Do(f func(*url.URL) []*http.Cookie) *MockCookieJarCookiesCall
Do rewrite *gomock.Call.Do
func (*MockCookieJarCookiesCall) DoAndReturn ¶
func (c *MockCookieJarCookiesCall) DoAndReturn(f func(*url.URL) []*http.Cookie) *MockCookieJarCookiesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCookieJarCookiesCall) Return ¶
func (c *MockCookieJarCookiesCall) Return(arg0 []*http.Cookie) *MockCookieJarCookiesCall
Return rewrite *gomock.Call.Return
type MockCookieJarMockRecorder ¶
type MockCookieJarMockRecorder struct {
// contains filtered or unexported fields
}
MockCookieJarMockRecorder is the mock recorder for MockCookieJar.
func (*MockCookieJarMockRecorder) Cookies ¶
func (mr *MockCookieJarMockRecorder) Cookies(arg0 any) *MockCookieJarCookiesCall
Cookies indicates an expected call of Cookies.
func (*MockCookieJarMockRecorder) RemoveAll ¶
func (mr *MockCookieJarMockRecorder) RemoveAll() *MockCookieJarRemoveAllCall
RemoveAll indicates an expected call of RemoveAll.
func (*MockCookieJarMockRecorder) Save ¶
func (mr *MockCookieJarMockRecorder) Save() *MockCookieJarSaveCall
Save indicates an expected call of Save.
func (*MockCookieJarMockRecorder) SetCookies ¶
func (mr *MockCookieJarMockRecorder) SetCookies(arg0, arg1 any) *MockCookieJarSetCookiesCall
SetCookies indicates an expected call of SetCookies.
type MockCookieJarRemoveAllCall ¶
MockCookieJarRemoveAllCall wrap *gomock.Call
func (*MockCookieJarRemoveAllCall) Do ¶
func (c *MockCookieJarRemoveAllCall) Do(f func()) *MockCookieJarRemoveAllCall
Do rewrite *gomock.Call.Do
func (*MockCookieJarRemoveAllCall) DoAndReturn ¶
func (c *MockCookieJarRemoveAllCall) DoAndReturn(f func()) *MockCookieJarRemoveAllCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCookieJarRemoveAllCall) Return ¶
func (c *MockCookieJarRemoveAllCall) Return() *MockCookieJarRemoveAllCall
Return rewrite *gomock.Call.Return
type MockCookieJarSaveCall ¶
MockCookieJarSaveCall wrap *gomock.Call
func (*MockCookieJarSaveCall) Do ¶
func (c *MockCookieJarSaveCall) Do(f func() error) *MockCookieJarSaveCall
Do rewrite *gomock.Call.Do
func (*MockCookieJarSaveCall) DoAndReturn ¶
func (c *MockCookieJarSaveCall) DoAndReturn(f func() error) *MockCookieJarSaveCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCookieJarSaveCall) Return ¶
func (c *MockCookieJarSaveCall) Return(arg0 error) *MockCookieJarSaveCall
Return rewrite *gomock.Call.Return
type MockCookieJarSetCookiesCall ¶
MockCookieJarSetCookiesCall wrap *gomock.Call
func (*MockCookieJarSetCookiesCall) Do ¶
func (c *MockCookieJarSetCookiesCall) Do(f func(*url.URL, []*http.Cookie)) *MockCookieJarSetCookiesCall
Do rewrite *gomock.Call.Do
func (*MockCookieJarSetCookiesCall) DoAndReturn ¶
func (c *MockCookieJarSetCookiesCall) DoAndReturn(f func(*url.URL, []*http.Cookie)) *MockCookieJarSetCookiesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockCookieJarSetCookiesCall) Return ¶
func (c *MockCookieJarSetCookiesCall) Return() *MockCookieJarSetCookiesCall
Return rewrite *gomock.Call.Return
type MockModelConfigAPI ¶
type MockModelConfigAPI struct {
// contains filtered or unexported fields
}
MockModelConfigAPI is a mock of ModelConfigAPI interface.
func NewMockModelConfigAPI ¶
func NewMockModelConfigAPI(ctrl *gomock.Controller) *MockModelConfigAPI
NewMockModelConfigAPI creates a new mock instance.
func (*MockModelConfigAPI) Close ¶
func (m *MockModelConfigAPI) Close() error
Close mocks base method.
func (*MockModelConfigAPI) EXPECT ¶
func (m *MockModelConfigAPI) EXPECT() *MockModelConfigAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockModelConfigAPICloseCall ¶
MockModelConfigAPICloseCall wrap *gomock.Call
func (*MockModelConfigAPICloseCall) Do ¶
func (c *MockModelConfigAPICloseCall) Do(f func() error) *MockModelConfigAPICloseCall
Do rewrite *gomock.Call.Do
func (*MockModelConfigAPICloseCall) DoAndReturn ¶
func (c *MockModelConfigAPICloseCall) DoAndReturn(f func() error) *MockModelConfigAPICloseCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockModelConfigAPICloseCall) Return ¶
func (c *MockModelConfigAPICloseCall) Return(arg0 error) *MockModelConfigAPICloseCall
Return rewrite *gomock.Call.Return
type MockModelConfigAPIMockRecorder ¶
type MockModelConfigAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockModelConfigAPIMockRecorder is the mock recorder for MockModelConfigAPI.
func (*MockModelConfigAPIMockRecorder) Close ¶
func (mr *MockModelConfigAPIMockRecorder) Close() *MockModelConfigAPICloseCall
Close indicates an expected call of Close.
func (*MockModelConfigAPIMockRecorder) ModelGet ¶
func (mr *MockModelConfigAPIMockRecorder) ModelGet(arg0 any) *MockModelConfigAPIModelGetCall
ModelGet indicates an expected call of ModelGet.
type MockModelConfigAPIModelGetCall ¶
MockModelConfigAPIModelGetCall wrap *gomock.Call
func (*MockModelConfigAPIModelGetCall) Do ¶
func (c *MockModelConfigAPIModelGetCall) Do(f func(context.Context) (map[string]any, error)) *MockModelConfigAPIModelGetCall
Do rewrite *gomock.Call.Do
func (*MockModelConfigAPIModelGetCall) DoAndReturn ¶
func (c *MockModelConfigAPIModelGetCall) DoAndReturn(f func(context.Context) (map[string]any, error)) *MockModelConfigAPIModelGetCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockModelConfigAPIModelGetCall) Return ¶
func (c *MockModelConfigAPIModelGetCall) Return(arg0 map[string]any, arg1 error) *MockModelConfigAPIModelGetCall
Return rewrite *gomock.Call.Return
type MockModelUpgraderAPI ¶
type MockModelUpgraderAPI struct {
// contains filtered or unexported fields
}
MockModelUpgraderAPI is a mock of ModelUpgraderAPI interface.
func NewMockModelUpgraderAPI ¶
func NewMockModelUpgraderAPI(ctrl *gomock.Controller) *MockModelUpgraderAPI
NewMockModelUpgraderAPI creates a new mock instance.
func (*MockModelUpgraderAPI) Close ¶
func (m *MockModelUpgraderAPI) Close() error
Close mocks base method.
func (*MockModelUpgraderAPI) EXPECT ¶
func (m *MockModelUpgraderAPI) EXPECT() *MockModelUpgraderAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockModelUpgraderAPICloseCall ¶
MockModelUpgraderAPICloseCall wrap *gomock.Call
func (*MockModelUpgraderAPICloseCall) Do ¶
func (c *MockModelUpgraderAPICloseCall) Do(f func() error) *MockModelUpgraderAPICloseCall
Do rewrite *gomock.Call.Do
func (*MockModelUpgraderAPICloseCall) DoAndReturn ¶
func (c *MockModelUpgraderAPICloseCall) DoAndReturn(f func() error) *MockModelUpgraderAPICloseCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockModelUpgraderAPICloseCall) Return ¶
func (c *MockModelUpgraderAPICloseCall) Return(arg0 error) *MockModelUpgraderAPICloseCall
Return rewrite *gomock.Call.Return
type MockModelUpgraderAPIMockRecorder ¶
type MockModelUpgraderAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockModelUpgraderAPIMockRecorder is the mock recorder for MockModelUpgraderAPI.
func (*MockModelUpgraderAPIMockRecorder) Close ¶
func (mr *MockModelUpgraderAPIMockRecorder) Close() *MockModelUpgraderAPICloseCall
Close indicates an expected call of Close.
func (*MockModelUpgraderAPIMockRecorder) UpgradeModel ¶
func (mr *MockModelUpgraderAPIMockRecorder) UpgradeModel(arg0, arg1, arg2, arg3, arg4, arg5 any) *MockModelUpgraderAPIUpgradeModelCall
UpgradeModel indicates an expected call of UpgradeModel.
func (*MockModelUpgraderAPIMockRecorder) UploadTools ¶
func (mr *MockModelUpgraderAPIMockRecorder) UploadTools(arg0, arg1, arg2 any) *MockModelUpgraderAPIUploadToolsCall
UploadTools indicates an expected call of UploadTools.
type MockModelUpgraderAPIUpgradeModelCall ¶
MockModelUpgraderAPIUpgradeModelCall wrap *gomock.Call
func (*MockModelUpgraderAPIUpgradeModelCall) Do ¶
func (c *MockModelUpgraderAPIUpgradeModelCall) Do(f func(context.Context, string, version.Number, string, bool, bool) (version.Number, error)) *MockModelUpgraderAPIUpgradeModelCall
Do rewrite *gomock.Call.Do
func (*MockModelUpgraderAPIUpgradeModelCall) DoAndReturn ¶
func (c *MockModelUpgraderAPIUpgradeModelCall) DoAndReturn(f func(context.Context, string, version.Number, string, bool, bool) (version.Number, error)) *MockModelUpgraderAPIUpgradeModelCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockModelUpgraderAPIUpgradeModelCall) Return ¶
func (c *MockModelUpgraderAPIUpgradeModelCall) Return(arg0 version.Number, arg1 error) *MockModelUpgraderAPIUpgradeModelCall
Return rewrite *gomock.Call.Return
type MockModelUpgraderAPIUploadToolsCall ¶
MockModelUpgraderAPIUploadToolsCall wrap *gomock.Call
func (*MockModelUpgraderAPIUploadToolsCall) Do ¶
func (c *MockModelUpgraderAPIUploadToolsCall) Do(f func(context.Context, io.Reader, version.Binary) (tools.List, error)) *MockModelUpgraderAPIUploadToolsCall
Do rewrite *gomock.Call.Do
func (*MockModelUpgraderAPIUploadToolsCall) DoAndReturn ¶
func (c *MockModelUpgraderAPIUploadToolsCall) DoAndReturn(f func(context.Context, io.Reader, version.Binary) (tools.List, error)) *MockModelUpgraderAPIUploadToolsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockModelUpgraderAPIUploadToolsCall) Return ¶
func (c *MockModelUpgraderAPIUploadToolsCall) Return(arg0 tools.List, arg1 error) *MockModelUpgraderAPIUploadToolsCall
Return rewrite *gomock.Call.Return
type MockSyncToolAPI ¶
type MockSyncToolAPI struct {
// contains filtered or unexported fields
}
MockSyncToolAPI is a mock of SyncToolAPI interface.
func NewMockSyncToolAPI ¶
func NewMockSyncToolAPI(ctrl *gomock.Controller) *MockSyncToolAPI
NewMockSyncToolAPI creates a new mock instance.
func (*MockSyncToolAPI) EXPECT ¶
func (m *MockSyncToolAPI) EXPECT() *MockSyncToolAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockSyncToolAPICloseCall ¶
MockSyncToolAPICloseCall wrap *gomock.Call
func (*MockSyncToolAPICloseCall) Do ¶
func (c *MockSyncToolAPICloseCall) Do(f func() error) *MockSyncToolAPICloseCall
Do rewrite *gomock.Call.Do
func (*MockSyncToolAPICloseCall) DoAndReturn ¶
func (c *MockSyncToolAPICloseCall) DoAndReturn(f func() error) *MockSyncToolAPICloseCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSyncToolAPICloseCall) Return ¶
func (c *MockSyncToolAPICloseCall) Return(arg0 error) *MockSyncToolAPICloseCall
Return rewrite *gomock.Call.Return
type MockSyncToolAPIMockRecorder ¶
type MockSyncToolAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockSyncToolAPIMockRecorder is the mock recorder for MockSyncToolAPI.
func (*MockSyncToolAPIMockRecorder) Close ¶
func (mr *MockSyncToolAPIMockRecorder) Close() *MockSyncToolAPICloseCall
Close indicates an expected call of Close.
func (*MockSyncToolAPIMockRecorder) UploadTools ¶
func (mr *MockSyncToolAPIMockRecorder) UploadTools(arg0, arg1, arg2 any) *MockSyncToolAPIUploadToolsCall
UploadTools indicates an expected call of UploadTools.
type MockSyncToolAPIUploadToolsCall ¶
MockSyncToolAPIUploadToolsCall wrap *gomock.Call
func (*MockSyncToolAPIUploadToolsCall) Do ¶
func (c *MockSyncToolAPIUploadToolsCall) Do(f func(context.Context, io.Reader, version.Binary) (tools.List, error)) *MockSyncToolAPIUploadToolsCall
Do rewrite *gomock.Call.Do
func (*MockSyncToolAPIUploadToolsCall) DoAndReturn ¶
func (c *MockSyncToolAPIUploadToolsCall) DoAndReturn(f func(context.Context, io.Reader, version.Binary) (tools.List, error)) *MockSyncToolAPIUploadToolsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSyncToolAPIUploadToolsCall) Return ¶
func (c *MockSyncToolAPIUploadToolsCall) Return(arg0 tools.List, arg1 error) *MockSyncToolAPIUploadToolsCall
Return rewrite *gomock.Call.Return