Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockApplicationAPI
- func (m *MockApplicationAPI) Close() error
- func (m *MockApplicationAPI) EXPECT() *MockApplicationAPIMockRecorder
- func (m *MockApplicationAPI) Get(arg0, arg1 string) (*params.ApplicationGetResults, error)
- func (m *MockApplicationAPI) SetConfig(arg0, arg1, arg2 string, arg3 map[string]string) error
- func (m *MockApplicationAPI) UnsetApplicationConfig(arg0, arg1 string, arg2 []string) error
- type MockApplicationAPIMockRecorder
- func (mr *MockApplicationAPIMockRecorder) Close() *gomock.Call
- func (mr *MockApplicationAPIMockRecorder) Get(arg0, arg1 any) *gomock.Call
- func (mr *MockApplicationAPIMockRecorder) SetConfig(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *MockApplicationAPIMockRecorder) UnsetApplicationConfig(arg0, arg1, arg2 any) *gomock.Call
- type MockDeployer
- type MockDeployerFactory
- type MockDeployerFactoryMockRecorder
- type MockDeployerMockRecorder
- type MockModelConfigClient
- type MockModelConfigClientMockRecorder
- type MockRemoveApplicationAPI
- func (m *MockRemoveApplicationAPI) BestAPIVersion() int
- func (m *MockRemoveApplicationAPI) Close() error
- func (m *MockRemoveApplicationAPI) DestroyApplications(arg0 application.DestroyApplicationsParams) ([]params.DestroyApplicationResult, error)
- func (m *MockRemoveApplicationAPI) DestroyUnits(arg0 application.DestroyUnitsParams) ([]params.DestroyUnitResult, error)
- func (m *MockRemoveApplicationAPI) EXPECT() *MockRemoveApplicationAPIMockRecorder
- func (m *MockRemoveApplicationAPI) ModelUUID() string
- func (m *MockRemoveApplicationAPI) ScaleApplication(arg0 application.ScaleApplicationParams) (params.ScaleApplicationResult, error)
- type MockRemoveApplicationAPIMockRecorder
- func (mr *MockRemoveApplicationAPIMockRecorder) BestAPIVersion() *gomock.Call
- func (mr *MockRemoveApplicationAPIMockRecorder) Close() *gomock.Call
- func (mr *MockRemoveApplicationAPIMockRecorder) DestroyApplications(arg0 any) *gomock.Call
- func (mr *MockRemoveApplicationAPIMockRecorder) DestroyUnits(arg0 any) *gomock.Call
- func (mr *MockRemoveApplicationAPIMockRecorder) ModelUUID() *gomock.Call
- func (mr *MockRemoveApplicationAPIMockRecorder) ScaleApplication(arg0 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockApplicationAPI ¶
type MockApplicationAPI struct {
// contains filtered or unexported fields
}
MockApplicationAPI is a mock of ApplicationAPI interface.
func NewMockApplicationAPI ¶
func NewMockApplicationAPI(ctrl *gomock.Controller) *MockApplicationAPI
NewMockApplicationAPI creates a new mock instance.
func (*MockApplicationAPI) Close ¶
func (m *MockApplicationAPI) Close() error
Close mocks base method.
func (*MockApplicationAPI) EXPECT ¶
func (m *MockApplicationAPI) EXPECT() *MockApplicationAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockApplicationAPI) Get ¶
func (m *MockApplicationAPI) Get(arg0, arg1 string) (*params.ApplicationGetResults, error)
Get mocks base method.
func (*MockApplicationAPI) SetConfig ¶
func (m *MockApplicationAPI) SetConfig(arg0, arg1, arg2 string, arg3 map[string]string) error
SetConfig mocks base method.
func (*MockApplicationAPI) UnsetApplicationConfig ¶
func (m *MockApplicationAPI) UnsetApplicationConfig(arg0, arg1 string, arg2 []string) error
UnsetApplicationConfig mocks base method.
type MockApplicationAPIMockRecorder ¶
type MockApplicationAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockApplicationAPIMockRecorder is the mock recorder for MockApplicationAPI.
func (*MockApplicationAPIMockRecorder) Close ¶
func (mr *MockApplicationAPIMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockApplicationAPIMockRecorder) Get ¶
func (mr *MockApplicationAPIMockRecorder) Get(arg0, arg1 any) *gomock.Call
Get indicates an expected call of Get.
func (*MockApplicationAPIMockRecorder) SetConfig ¶
func (mr *MockApplicationAPIMockRecorder) SetConfig(arg0, arg1, arg2, arg3 any) *gomock.Call
SetConfig indicates an expected call of SetConfig.
func (*MockApplicationAPIMockRecorder) UnsetApplicationConfig ¶
func (mr *MockApplicationAPIMockRecorder) UnsetApplicationConfig(arg0, arg1, arg2 any) *gomock.Call
UnsetApplicationConfig indicates an expected call of UnsetApplicationConfig.
type MockDeployer ¶
type MockDeployer struct {
// contains filtered or unexported fields
}
MockDeployer is a mock of Deployer interface.
func NewMockDeployer ¶
func NewMockDeployer(ctrl *gomock.Controller) *MockDeployer
NewMockDeployer creates a new mock instance.
func (*MockDeployer) EXPECT ¶
func (m *MockDeployer) EXPECT() *MockDeployerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDeployer) PrepareAndDeploy ¶
func (m *MockDeployer) PrepareAndDeploy(arg0 *cmd.Context, arg1 deployer.DeployerAPI, arg2 deployer.Resolver) error
PrepareAndDeploy mocks base method.
type MockDeployerFactory ¶
type MockDeployerFactory struct {
// contains filtered or unexported fields
}
MockDeployerFactory is a mock of DeployerFactory interface.
func NewMockDeployerFactory ¶
func NewMockDeployerFactory(ctrl *gomock.Controller) *MockDeployerFactory
NewMockDeployerFactory creates a new mock instance.
func (*MockDeployerFactory) EXPECT ¶
func (m *MockDeployerFactory) EXPECT() *MockDeployerFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDeployerFactory) GetDeployer ¶
func (m *MockDeployerFactory) GetDeployer(arg0 deployer.DeployerConfig, arg1 deployer.ModelConfigGetter, arg2 deployer.Resolver) (deployer.Deployer, error)
GetDeployer mocks base method.
type MockDeployerFactoryMockRecorder ¶
type MockDeployerFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockDeployerFactoryMockRecorder is the mock recorder for MockDeployerFactory.
func (*MockDeployerFactoryMockRecorder) GetDeployer ¶
func (mr *MockDeployerFactoryMockRecorder) GetDeployer(arg0, arg1, arg2 any) *gomock.Call
GetDeployer indicates an expected call of GetDeployer.
type MockDeployerMockRecorder ¶
type MockDeployerMockRecorder struct {
// contains filtered or unexported fields
}
MockDeployerMockRecorder is the mock recorder for MockDeployer.
func (*MockDeployerMockRecorder) PrepareAndDeploy ¶
func (mr *MockDeployerMockRecorder) PrepareAndDeploy(arg0, arg1, arg2 any) *gomock.Call
PrepareAndDeploy indicates an expected call of PrepareAndDeploy.
func (*MockDeployerMockRecorder) String ¶
func (mr *MockDeployerMockRecorder) String() *gomock.Call
String indicates an expected call of String.
type MockModelConfigClient ¶
type MockModelConfigClient struct {
// contains filtered or unexported fields
}
MockModelConfigClient is a mock of ModelConfigClient interface.
func NewMockModelConfigClient ¶
func NewMockModelConfigClient(ctrl *gomock.Controller) *MockModelConfigClient
NewMockModelConfigClient creates a new mock instance.
func (*MockModelConfigClient) Close ¶
func (m *MockModelConfigClient) Close() error
Close mocks base method.
func (*MockModelConfigClient) EXPECT ¶
func (m *MockModelConfigClient) EXPECT() *MockModelConfigClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockModelConfigClientMockRecorder ¶
type MockModelConfigClientMockRecorder struct {
// contains filtered or unexported fields
}
MockModelConfigClientMockRecorder is the mock recorder for MockModelConfigClient.
func (*MockModelConfigClientMockRecorder) Close ¶
func (mr *MockModelConfigClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockModelConfigClientMockRecorder) ModelGet ¶
func (mr *MockModelConfigClientMockRecorder) ModelGet() *gomock.Call
ModelGet indicates an expected call of ModelGet.
type MockRemoveApplicationAPI ¶
type MockRemoveApplicationAPI struct {
// contains filtered or unexported fields
}
MockRemoveApplicationAPI is a mock of RemoveApplicationAPI interface.
func NewMockRemoveApplicationAPI ¶
func NewMockRemoveApplicationAPI(ctrl *gomock.Controller) *MockRemoveApplicationAPI
NewMockRemoveApplicationAPI creates a new mock instance.
func (*MockRemoveApplicationAPI) BestAPIVersion ¶
func (m *MockRemoveApplicationAPI) BestAPIVersion() int
BestAPIVersion mocks base method.
func (*MockRemoveApplicationAPI) Close ¶
func (m *MockRemoveApplicationAPI) Close() error
Close mocks base method.
func (*MockRemoveApplicationAPI) DestroyApplications ¶
func (m *MockRemoveApplicationAPI) DestroyApplications(arg0 application.DestroyApplicationsParams) ([]params.DestroyApplicationResult, error)
DestroyApplications mocks base method.
func (*MockRemoveApplicationAPI) DestroyUnits ¶
func (m *MockRemoveApplicationAPI) DestroyUnits(arg0 application.DestroyUnitsParams) ([]params.DestroyUnitResult, error)
DestroyUnits mocks base method.
func (*MockRemoveApplicationAPI) EXPECT ¶
func (m *MockRemoveApplicationAPI) EXPECT() *MockRemoveApplicationAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRemoveApplicationAPI) ModelUUID ¶
func (m *MockRemoveApplicationAPI) ModelUUID() string
ModelUUID mocks base method.
func (*MockRemoveApplicationAPI) ScaleApplication ¶
func (m *MockRemoveApplicationAPI) ScaleApplication(arg0 application.ScaleApplicationParams) (params.ScaleApplicationResult, error)
ScaleApplication mocks base method.
type MockRemoveApplicationAPIMockRecorder ¶
type MockRemoveApplicationAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockRemoveApplicationAPIMockRecorder is the mock recorder for MockRemoveApplicationAPI.
func (*MockRemoveApplicationAPIMockRecorder) BestAPIVersion ¶
func (mr *MockRemoveApplicationAPIMockRecorder) BestAPIVersion() *gomock.Call
BestAPIVersion indicates an expected call of BestAPIVersion.
func (*MockRemoveApplicationAPIMockRecorder) Close ¶
func (mr *MockRemoveApplicationAPIMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockRemoveApplicationAPIMockRecorder) DestroyApplications ¶
func (mr *MockRemoveApplicationAPIMockRecorder) DestroyApplications(arg0 any) *gomock.Call
DestroyApplications indicates an expected call of DestroyApplications.
func (*MockRemoveApplicationAPIMockRecorder) DestroyUnits ¶
func (mr *MockRemoveApplicationAPIMockRecorder) DestroyUnits(arg0 any) *gomock.Call
DestroyUnits indicates an expected call of DestroyUnits.
func (*MockRemoveApplicationAPIMockRecorder) ModelUUID ¶
func (mr *MockRemoveApplicationAPIMockRecorder) ModelUUID() *gomock.Call
ModelUUID indicates an expected call of ModelUUID.
func (*MockRemoveApplicationAPIMockRecorder) ScaleApplication ¶
func (mr *MockRemoveApplicationAPIMockRecorder) ScaleApplication(arg0 any) *gomock.Call
ScaleApplication indicates an expected call of ScaleApplication.