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 MockCAASBroker
- func (m *MockCAASBroker) AnnotateUnit(arg0 string, arg1 caas.DeploymentMode, arg2 string, arg3 names.UnitTag) error
- func (m *MockCAASBroker) Application(arg0 string, arg1 caas.DeploymentType) caas.Application
- func (m *MockCAASBroker) DeleteOperator(arg0 string) error
- func (m *MockCAASBroker) DeleteService(arg0 string) error
- func (m *MockCAASBroker) EXPECT() *MockCAASBrokerMockRecorder
- func (m *MockCAASBroker) OperatorExists(arg0 string) (caas.DeploymentState, error)
- func (m *MockCAASBroker) Units(arg0 string, arg1 caas.DeploymentMode) ([]caas.Unit, error)
- type MockCAASBrokerMockRecorder
- func (mr *MockCAASBrokerMockRecorder) AnnotateUnit(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockCAASBrokerMockRecorder) Application(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCAASBrokerMockRecorder) DeleteOperator(arg0 interface{}) *gomock.Call
- func (mr *MockCAASBrokerMockRecorder) DeleteService(arg0 interface{}) *gomock.Call
- func (mr *MockCAASBrokerMockRecorder) OperatorExists(arg0 interface{}) *gomock.Call
- func (mr *MockCAASBrokerMockRecorder) Units(arg0, arg1 interface{}) *gomock.Call
- type MockCAASProvisionerFacade
- func (m *MockCAASProvisionerFacade) ApplicationCharmInfo(arg0 string) (*charms.CharmInfo, error)
- func (m *MockCAASProvisionerFacade) ApplicationOCIResources(arg0 string) (map[string]resources.DockerImageDetails, error)
- func (m *MockCAASProvisionerFacade) CharmInfo(arg0 string) (*charms.CharmInfo, error)
- func (m *MockCAASProvisionerFacade) EXPECT() *MockCAASProvisionerFacadeMockRecorder
- func (m *MockCAASProvisionerFacade) GarbageCollect(arg0 string, arg1 []names.Tag, arg2 int, arg3 []string, arg4 bool) error
- func (m *MockCAASProvisionerFacade) Life(arg0 string) (life.Value, error)
- func (m *MockCAASProvisionerFacade) ProvisioningInfo(arg0 string) (caasapplicationprovisioner.ProvisioningInfo, error)
- func (m *MockCAASProvisionerFacade) SetOperatorStatus(arg0 string, arg1 status.Status, arg2 string, arg3 map[string]interface{}) error
- func (m *MockCAASProvisionerFacade) SetPassword(arg0, arg1 string) error
- func (m *MockCAASProvisionerFacade) Units(arg0 string) ([]params.CAASUnit, error)
- func (m *MockCAASProvisionerFacade) UpdateUnits(arg0 params.UpdateApplicationUnits) (*params.UpdateApplicationUnitsInfo, error)
- func (m *MockCAASProvisionerFacade) WatchApplication(arg0 string) (watcher.NotifyWatcher, error)
- func (m *MockCAASProvisionerFacade) WatchApplications() (watcher.StringsWatcher, error)
- type MockCAASProvisionerFacadeMockRecorder
- func (mr *MockCAASProvisionerFacadeMockRecorder) ApplicationCharmInfo(arg0 interface{}) *gomock.Call
- func (mr *MockCAASProvisionerFacadeMockRecorder) ApplicationOCIResources(arg0 interface{}) *gomock.Call
- func (mr *MockCAASProvisionerFacadeMockRecorder) CharmInfo(arg0 interface{}) *gomock.Call
- func (mr *MockCAASProvisionerFacadeMockRecorder) GarbageCollect(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockCAASProvisionerFacadeMockRecorder) Life(arg0 interface{}) *gomock.Call
- func (mr *MockCAASProvisionerFacadeMockRecorder) ProvisioningInfo(arg0 interface{}) *gomock.Call
- func (mr *MockCAASProvisionerFacadeMockRecorder) SetOperatorStatus(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockCAASProvisionerFacadeMockRecorder) SetPassword(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCAASProvisionerFacadeMockRecorder) Units(arg0 interface{}) *gomock.Call
- func (mr *MockCAASProvisionerFacadeMockRecorder) UpdateUnits(arg0 interface{}) *gomock.Call
- func (mr *MockCAASProvisionerFacadeMockRecorder) WatchApplication(arg0 interface{}) *gomock.Call
- func (mr *MockCAASProvisionerFacadeMockRecorder) WatchApplications() *gomock.Call
- type MockCAASUnitProvisionerFacade
- func (m *MockCAASUnitProvisionerFacade) ApplicationScale(arg0 string) (int, error)
- func (m *MockCAASUnitProvisionerFacade) ApplicationTrust(arg0 string) (bool, error)
- func (m *MockCAASUnitProvisionerFacade) EXPECT() *MockCAASUnitProvisionerFacadeMockRecorder
- func (m *MockCAASUnitProvisionerFacade) UpdateApplicationService(arg0 params.UpdateApplicationServiceArg) error
- func (m *MockCAASUnitProvisionerFacade) WatchApplicationScale(arg0 string) (watcher.NotifyWatcher, error)
- func (m *MockCAASUnitProvisionerFacade) WatchApplicationTrustHash(arg0 string) (watcher.StringsWatcher, error)
- type MockCAASUnitProvisionerFacadeMockRecorder
- func (mr *MockCAASUnitProvisionerFacadeMockRecorder) ApplicationScale(arg0 interface{}) *gomock.Call
- func (mr *MockCAASUnitProvisionerFacadeMockRecorder) ApplicationTrust(arg0 interface{}) *gomock.Call
- func (mr *MockCAASUnitProvisionerFacadeMockRecorder) UpdateApplicationService(arg0 interface{}) *gomock.Call
- func (mr *MockCAASUnitProvisionerFacadeMockRecorder) WatchApplicationScale(arg0 interface{}) *gomock.Call
- func (mr *MockCAASUnitProvisionerFacadeMockRecorder) WatchApplicationTrustHash(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCAASBroker ¶
type MockCAASBroker struct {
// contains filtered or unexported fields
}
MockCAASBroker is a mock of CAASBroker interface.
func NewMockCAASBroker ¶
func NewMockCAASBroker(ctrl *gomock.Controller) *MockCAASBroker
NewMockCAASBroker creates a new mock instance.
func (*MockCAASBroker) AnnotateUnit ¶
func (m *MockCAASBroker) AnnotateUnit(arg0 string, arg1 caas.DeploymentMode, arg2 string, arg3 names.UnitTag) error
AnnotateUnit mocks base method.
func (*MockCAASBroker) Application ¶
func (m *MockCAASBroker) Application(arg0 string, arg1 caas.DeploymentType) caas.Application
Application mocks base method.
func (*MockCAASBroker) DeleteOperator ¶
func (m *MockCAASBroker) DeleteOperator(arg0 string) error
DeleteOperator mocks base method.
func (*MockCAASBroker) DeleteService ¶
func (m *MockCAASBroker) DeleteService(arg0 string) error
DeleteService mocks base method.
func (*MockCAASBroker) EXPECT ¶
func (m *MockCAASBroker) EXPECT() *MockCAASBrokerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCAASBroker) OperatorExists ¶
func (m *MockCAASBroker) OperatorExists(arg0 string) (caas.DeploymentState, error)
OperatorExists mocks base method.
func (*MockCAASBroker) Units ¶
func (m *MockCAASBroker) Units(arg0 string, arg1 caas.DeploymentMode) ([]caas.Unit, error)
Units mocks base method.
type MockCAASBrokerMockRecorder ¶
type MockCAASBrokerMockRecorder struct {
// contains filtered or unexported fields
}
MockCAASBrokerMockRecorder is the mock recorder for MockCAASBroker.
func (*MockCAASBrokerMockRecorder) AnnotateUnit ¶
func (mr *MockCAASBrokerMockRecorder) AnnotateUnit(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
AnnotateUnit indicates an expected call of AnnotateUnit.
func (*MockCAASBrokerMockRecorder) Application ¶
func (mr *MockCAASBrokerMockRecorder) Application(arg0, arg1 interface{}) *gomock.Call
Application indicates an expected call of Application.
func (*MockCAASBrokerMockRecorder) DeleteOperator ¶
func (mr *MockCAASBrokerMockRecorder) DeleteOperator(arg0 interface{}) *gomock.Call
DeleteOperator indicates an expected call of DeleteOperator.
func (*MockCAASBrokerMockRecorder) DeleteService ¶
func (mr *MockCAASBrokerMockRecorder) DeleteService(arg0 interface{}) *gomock.Call
DeleteService indicates an expected call of DeleteService.
func (*MockCAASBrokerMockRecorder) OperatorExists ¶
func (mr *MockCAASBrokerMockRecorder) OperatorExists(arg0 interface{}) *gomock.Call
OperatorExists indicates an expected call of OperatorExists.
func (*MockCAASBrokerMockRecorder) Units ¶
func (mr *MockCAASBrokerMockRecorder) Units(arg0, arg1 interface{}) *gomock.Call
Units indicates an expected call of Units.
type MockCAASProvisionerFacade ¶
type MockCAASProvisionerFacade struct {
// contains filtered or unexported fields
}
MockCAASProvisionerFacade is a mock of CAASProvisionerFacade interface.
func NewMockCAASProvisionerFacade ¶
func NewMockCAASProvisionerFacade(ctrl *gomock.Controller) *MockCAASProvisionerFacade
NewMockCAASProvisionerFacade creates a new mock instance.
func (*MockCAASProvisionerFacade) ApplicationCharmInfo ¶
func (m *MockCAASProvisionerFacade) ApplicationCharmInfo(arg0 string) (*charms.CharmInfo, error)
ApplicationCharmInfo mocks base method.
func (*MockCAASProvisionerFacade) ApplicationOCIResources ¶
func (m *MockCAASProvisionerFacade) ApplicationOCIResources(arg0 string) (map[string]resources.DockerImageDetails, error)
ApplicationOCIResources mocks base method.
func (*MockCAASProvisionerFacade) CharmInfo ¶
func (m *MockCAASProvisionerFacade) CharmInfo(arg0 string) (*charms.CharmInfo, error)
CharmInfo mocks base method.
func (*MockCAASProvisionerFacade) EXPECT ¶
func (m *MockCAASProvisionerFacade) EXPECT() *MockCAASProvisionerFacadeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCAASProvisionerFacade) GarbageCollect ¶
func (m *MockCAASProvisionerFacade) GarbageCollect(arg0 string, arg1 []names.Tag, arg2 int, arg3 []string, arg4 bool) error
GarbageCollect mocks base method.
func (*MockCAASProvisionerFacade) Life ¶
func (m *MockCAASProvisionerFacade) Life(arg0 string) (life.Value, error)
Life mocks base method.
func (*MockCAASProvisionerFacade) ProvisioningInfo ¶
func (m *MockCAASProvisionerFacade) ProvisioningInfo(arg0 string) (caasapplicationprovisioner.ProvisioningInfo, error)
ProvisioningInfo mocks base method.
func (*MockCAASProvisionerFacade) SetOperatorStatus ¶
func (m *MockCAASProvisionerFacade) SetOperatorStatus(arg0 string, arg1 status.Status, arg2 string, arg3 map[string]interface{}) error
SetOperatorStatus mocks base method.
func (*MockCAASProvisionerFacade) SetPassword ¶
func (m *MockCAASProvisionerFacade) SetPassword(arg0, arg1 string) error
SetPassword mocks base method.
func (*MockCAASProvisionerFacade) Units ¶
func (m *MockCAASProvisionerFacade) Units(arg0 string) ([]params.CAASUnit, error)
Units mocks base method.
func (*MockCAASProvisionerFacade) UpdateUnits ¶
func (m *MockCAASProvisionerFacade) UpdateUnits(arg0 params.UpdateApplicationUnits) (*params.UpdateApplicationUnitsInfo, error)
UpdateUnits mocks base method.
func (*MockCAASProvisionerFacade) WatchApplication ¶
func (m *MockCAASProvisionerFacade) WatchApplication(arg0 string) (watcher.NotifyWatcher, error)
WatchApplication mocks base method.
func (*MockCAASProvisionerFacade) WatchApplications ¶
func (m *MockCAASProvisionerFacade) WatchApplications() (watcher.StringsWatcher, error)
WatchApplications mocks base method.
type MockCAASProvisionerFacadeMockRecorder ¶
type MockCAASProvisionerFacadeMockRecorder struct {
// contains filtered or unexported fields
}
MockCAASProvisionerFacadeMockRecorder is the mock recorder for MockCAASProvisionerFacade.
func (*MockCAASProvisionerFacadeMockRecorder) ApplicationCharmInfo ¶
func (mr *MockCAASProvisionerFacadeMockRecorder) ApplicationCharmInfo(arg0 interface{}) *gomock.Call
ApplicationCharmInfo indicates an expected call of ApplicationCharmInfo.
func (*MockCAASProvisionerFacadeMockRecorder) ApplicationOCIResources ¶
func (mr *MockCAASProvisionerFacadeMockRecorder) ApplicationOCIResources(arg0 interface{}) *gomock.Call
ApplicationOCIResources indicates an expected call of ApplicationOCIResources.
func (*MockCAASProvisionerFacadeMockRecorder) CharmInfo ¶
func (mr *MockCAASProvisionerFacadeMockRecorder) CharmInfo(arg0 interface{}) *gomock.Call
CharmInfo indicates an expected call of CharmInfo.
func (*MockCAASProvisionerFacadeMockRecorder) GarbageCollect ¶
func (mr *MockCAASProvisionerFacadeMockRecorder) GarbageCollect(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GarbageCollect indicates an expected call of GarbageCollect.
func (*MockCAASProvisionerFacadeMockRecorder) Life ¶
func (mr *MockCAASProvisionerFacadeMockRecorder) Life(arg0 interface{}) *gomock.Call
Life indicates an expected call of Life.
func (*MockCAASProvisionerFacadeMockRecorder) ProvisioningInfo ¶
func (mr *MockCAASProvisionerFacadeMockRecorder) ProvisioningInfo(arg0 interface{}) *gomock.Call
ProvisioningInfo indicates an expected call of ProvisioningInfo.
func (*MockCAASProvisionerFacadeMockRecorder) SetOperatorStatus ¶
func (mr *MockCAASProvisionerFacadeMockRecorder) SetOperatorStatus(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SetOperatorStatus indicates an expected call of SetOperatorStatus.
func (*MockCAASProvisionerFacadeMockRecorder) SetPassword ¶
func (mr *MockCAASProvisionerFacadeMockRecorder) SetPassword(arg0, arg1 interface{}) *gomock.Call
SetPassword indicates an expected call of SetPassword.
func (*MockCAASProvisionerFacadeMockRecorder) Units ¶
func (mr *MockCAASProvisionerFacadeMockRecorder) Units(arg0 interface{}) *gomock.Call
Units indicates an expected call of Units.
func (*MockCAASProvisionerFacadeMockRecorder) UpdateUnits ¶
func (mr *MockCAASProvisionerFacadeMockRecorder) UpdateUnits(arg0 interface{}) *gomock.Call
UpdateUnits indicates an expected call of UpdateUnits.
func (*MockCAASProvisionerFacadeMockRecorder) WatchApplication ¶
func (mr *MockCAASProvisionerFacadeMockRecorder) WatchApplication(arg0 interface{}) *gomock.Call
WatchApplication indicates an expected call of WatchApplication.
func (*MockCAASProvisionerFacadeMockRecorder) WatchApplications ¶
func (mr *MockCAASProvisionerFacadeMockRecorder) WatchApplications() *gomock.Call
WatchApplications indicates an expected call of WatchApplications.
type MockCAASUnitProvisionerFacade ¶
type MockCAASUnitProvisionerFacade struct {
// contains filtered or unexported fields
}
MockCAASUnitProvisionerFacade is a mock of CAASUnitProvisionerFacade interface.
func NewMockCAASUnitProvisionerFacade ¶
func NewMockCAASUnitProvisionerFacade(ctrl *gomock.Controller) *MockCAASUnitProvisionerFacade
NewMockCAASUnitProvisionerFacade creates a new mock instance.
func (*MockCAASUnitProvisionerFacade) ApplicationScale ¶
func (m *MockCAASUnitProvisionerFacade) ApplicationScale(arg0 string) (int, error)
ApplicationScale mocks base method.
func (*MockCAASUnitProvisionerFacade) ApplicationTrust ¶
func (m *MockCAASUnitProvisionerFacade) ApplicationTrust(arg0 string) (bool, error)
ApplicationTrust mocks base method.
func (*MockCAASUnitProvisionerFacade) EXPECT ¶
func (m *MockCAASUnitProvisionerFacade) EXPECT() *MockCAASUnitProvisionerFacadeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCAASUnitProvisionerFacade) UpdateApplicationService ¶
func (m *MockCAASUnitProvisionerFacade) UpdateApplicationService(arg0 params.UpdateApplicationServiceArg) error
UpdateApplicationService mocks base method.
func (*MockCAASUnitProvisionerFacade) WatchApplicationScale ¶
func (m *MockCAASUnitProvisionerFacade) WatchApplicationScale(arg0 string) (watcher.NotifyWatcher, error)
WatchApplicationScale mocks base method.
func (*MockCAASUnitProvisionerFacade) WatchApplicationTrustHash ¶
func (m *MockCAASUnitProvisionerFacade) WatchApplicationTrustHash(arg0 string) (watcher.StringsWatcher, error)
WatchApplicationTrustHash mocks base method.
type MockCAASUnitProvisionerFacadeMockRecorder ¶
type MockCAASUnitProvisionerFacadeMockRecorder struct {
// contains filtered or unexported fields
}
MockCAASUnitProvisionerFacadeMockRecorder is the mock recorder for MockCAASUnitProvisionerFacade.
func (*MockCAASUnitProvisionerFacadeMockRecorder) ApplicationScale ¶
func (mr *MockCAASUnitProvisionerFacadeMockRecorder) ApplicationScale(arg0 interface{}) *gomock.Call
ApplicationScale indicates an expected call of ApplicationScale.
func (*MockCAASUnitProvisionerFacadeMockRecorder) ApplicationTrust ¶
func (mr *MockCAASUnitProvisionerFacadeMockRecorder) ApplicationTrust(arg0 interface{}) *gomock.Call
ApplicationTrust indicates an expected call of ApplicationTrust.
func (*MockCAASUnitProvisionerFacadeMockRecorder) UpdateApplicationService ¶
func (mr *MockCAASUnitProvisionerFacadeMockRecorder) UpdateApplicationService(arg0 interface{}) *gomock.Call
UpdateApplicationService indicates an expected call of UpdateApplicationService.
func (*MockCAASUnitProvisionerFacadeMockRecorder) WatchApplicationScale ¶
func (mr *MockCAASUnitProvisionerFacadeMockRecorder) WatchApplicationScale(arg0 interface{}) *gomock.Call
WatchApplicationScale indicates an expected call of WatchApplicationScale.
func (*MockCAASUnitProvisionerFacadeMockRecorder) WatchApplicationTrustHash ¶
func (mr *MockCAASUnitProvisionerFacadeMockRecorder) WatchApplicationTrustHash(arg0 interface{}) *gomock.Call
WatchApplicationTrustHash indicates an expected call of WatchApplicationTrustHash.