Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockDeltaTranslater
- func (m *MockDeltaTranslater) EXPECT() *MockDeltaTranslaterMockRecorder
- func (m *MockDeltaTranslater) TranslateAction(arg0 multiwatcher.EntityInfo) params.EntityInfo
- func (m *MockDeltaTranslater) TranslateAnnotation(arg0 multiwatcher.EntityInfo) params.EntityInfo
- func (m *MockDeltaTranslater) TranslateApplication(arg0 multiwatcher.EntityInfo) params.EntityInfo
- func (m *MockDeltaTranslater) TranslateApplicationOffer(arg0 multiwatcher.EntityInfo) params.EntityInfo
- func (m *MockDeltaTranslater) TranslateBlock(arg0 multiwatcher.EntityInfo) params.EntityInfo
- func (m *MockDeltaTranslater) TranslateBranch(arg0 multiwatcher.EntityInfo) params.EntityInfo
- func (m *MockDeltaTranslater) TranslateCharm(arg0 multiwatcher.EntityInfo) params.EntityInfo
- func (m *MockDeltaTranslater) TranslateMachine(arg0 multiwatcher.EntityInfo) params.EntityInfo
- func (m *MockDeltaTranslater) TranslateModel(arg0 multiwatcher.EntityInfo) params.EntityInfo
- func (m *MockDeltaTranslater) TranslateRelation(arg0 multiwatcher.EntityInfo) params.EntityInfo
- func (m *MockDeltaTranslater) TranslateRemoteApplication(arg0 multiwatcher.EntityInfo) params.EntityInfo
- func (m *MockDeltaTranslater) TranslateUnit(arg0 multiwatcher.EntityInfo) params.EntityInfo
- type MockDeltaTranslaterMockRecorder
- func (mr *MockDeltaTranslaterMockRecorder) TranslateAction(arg0 any) *gomock.Call
- func (mr *MockDeltaTranslaterMockRecorder) TranslateAnnotation(arg0 any) *gomock.Call
- func (mr *MockDeltaTranslaterMockRecorder) TranslateApplication(arg0 any) *gomock.Call
- func (mr *MockDeltaTranslaterMockRecorder) TranslateApplicationOffer(arg0 any) *gomock.Call
- func (mr *MockDeltaTranslaterMockRecorder) TranslateBlock(arg0 any) *gomock.Call
- func (mr *MockDeltaTranslaterMockRecorder) TranslateBranch(arg0 any) *gomock.Call
- func (mr *MockDeltaTranslaterMockRecorder) TranslateCharm(arg0 any) *gomock.Call
- func (mr *MockDeltaTranslaterMockRecorder) TranslateMachine(arg0 any) *gomock.Call
- func (mr *MockDeltaTranslaterMockRecorder) TranslateModel(arg0 any) *gomock.Call
- func (mr *MockDeltaTranslaterMockRecorder) TranslateRelation(arg0 any) *gomock.Call
- func (mr *MockDeltaTranslaterMockRecorder) TranslateRemoteApplication(arg0 any) *gomock.Call
- func (mr *MockDeltaTranslaterMockRecorder) TranslateUnit(arg0 any) *gomock.Call
- type MockResources
- func (m *MockResources) AddPendingResource(arg0, arg1 string, arg2 resource.Resource) (string, error)
- func (m *MockResources) EXPECT() *MockResourcesMockRecorder
- func (m *MockResources) GetPendingResource(arg0, arg1, arg2 string) (resources.Resource, error)
- func (m *MockResources) GetResource(arg0, arg1 string) (resources.Resource, error)
- func (m *MockResources) ListPendingResources(arg0 string) (resources.ApplicationResources, error)
- func (m *MockResources) ListResources(arg0 string) (resources.ApplicationResources, error)
- func (m *MockResources) OpenResource(arg0, arg1 string) (resources.Resource, io.ReadCloser, error)
- func (m *MockResources) OpenResourceForUniter(arg0, arg1 string) (resources.Resource, io.ReadCloser, error)
- func (m *MockResources) RemovePendingAppResources(arg0 string, arg1 map[string]string) error
- func (m *MockResources) SetCharmStoreResources(arg0 string, arg1 []resource.Resource, arg2 time.Time) error
- func (m *MockResources) SetResource(arg0, arg1 string, arg2 resource.Resource, arg3 io.Reader, ...) (resources.Resource, error)
- func (m *MockResources) SetUnitResource(arg0, arg1 string, arg2 resource.Resource) (resources.Resource, error)
- func (m *MockResources) UpdatePendingResource(arg0, arg1, arg2 string, arg3 resource.Resource, arg4 io.Reader) (resources.Resource, error)
- type MockResourcesMockRecorder
- func (mr *MockResourcesMockRecorder) AddPendingResource(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockResourcesMockRecorder) GetPendingResource(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockResourcesMockRecorder) GetResource(arg0, arg1 any) *gomock.Call
- func (mr *MockResourcesMockRecorder) ListPendingResources(arg0 any) *gomock.Call
- func (mr *MockResourcesMockRecorder) ListResources(arg0 any) *gomock.Call
- func (mr *MockResourcesMockRecorder) OpenResource(arg0, arg1 any) *gomock.Call
- func (mr *MockResourcesMockRecorder) OpenResourceForUniter(arg0, arg1 any) *gomock.Call
- func (mr *MockResourcesMockRecorder) RemovePendingAppResources(arg0, arg1 any) *gomock.Call
- func (mr *MockResourcesMockRecorder) SetCharmStoreResources(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockResourcesMockRecorder) SetResource(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
- func (mr *MockResourcesMockRecorder) SetUnitResource(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockResourcesMockRecorder) UpdatePendingResource(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDeltaTranslater ¶
type MockDeltaTranslater struct {
// contains filtered or unexported fields
}
MockDeltaTranslater is a mock of DeltaTranslater interface.
func NewMockDeltaTranslater ¶
func NewMockDeltaTranslater(ctrl *gomock.Controller) *MockDeltaTranslater
NewMockDeltaTranslater creates a new mock instance.
func (*MockDeltaTranslater) EXPECT ¶
func (m *MockDeltaTranslater) EXPECT() *MockDeltaTranslaterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDeltaTranslater) TranslateAction ¶
func (m *MockDeltaTranslater) TranslateAction(arg0 multiwatcher.EntityInfo) params.EntityInfo
TranslateAction mocks base method.
func (*MockDeltaTranslater) TranslateAnnotation ¶
func (m *MockDeltaTranslater) TranslateAnnotation(arg0 multiwatcher.EntityInfo) params.EntityInfo
TranslateAnnotation mocks base method.
func (*MockDeltaTranslater) TranslateApplication ¶
func (m *MockDeltaTranslater) TranslateApplication(arg0 multiwatcher.EntityInfo) params.EntityInfo
TranslateApplication mocks base method.
func (*MockDeltaTranslater) TranslateApplicationOffer ¶
func (m *MockDeltaTranslater) TranslateApplicationOffer(arg0 multiwatcher.EntityInfo) params.EntityInfo
TranslateApplicationOffer mocks base method.
func (*MockDeltaTranslater) TranslateBlock ¶
func (m *MockDeltaTranslater) TranslateBlock(arg0 multiwatcher.EntityInfo) params.EntityInfo
TranslateBlock mocks base method.
func (*MockDeltaTranslater) TranslateBranch ¶
func (m *MockDeltaTranslater) TranslateBranch(arg0 multiwatcher.EntityInfo) params.EntityInfo
TranslateBranch mocks base method.
func (*MockDeltaTranslater) TranslateCharm ¶
func (m *MockDeltaTranslater) TranslateCharm(arg0 multiwatcher.EntityInfo) params.EntityInfo
TranslateCharm mocks base method.
func (*MockDeltaTranslater) TranslateMachine ¶
func (m *MockDeltaTranslater) TranslateMachine(arg0 multiwatcher.EntityInfo) params.EntityInfo
TranslateMachine mocks base method.
func (*MockDeltaTranslater) TranslateModel ¶
func (m *MockDeltaTranslater) TranslateModel(arg0 multiwatcher.EntityInfo) params.EntityInfo
TranslateModel mocks base method.
func (*MockDeltaTranslater) TranslateRelation ¶
func (m *MockDeltaTranslater) TranslateRelation(arg0 multiwatcher.EntityInfo) params.EntityInfo
TranslateRelation mocks base method.
func (*MockDeltaTranslater) TranslateRemoteApplication ¶
func (m *MockDeltaTranslater) TranslateRemoteApplication(arg0 multiwatcher.EntityInfo) params.EntityInfo
TranslateRemoteApplication mocks base method.
func (*MockDeltaTranslater) TranslateUnit ¶
func (m *MockDeltaTranslater) TranslateUnit(arg0 multiwatcher.EntityInfo) params.EntityInfo
TranslateUnit mocks base method.
type MockDeltaTranslaterMockRecorder ¶
type MockDeltaTranslaterMockRecorder struct {
// contains filtered or unexported fields
}
MockDeltaTranslaterMockRecorder is the mock recorder for MockDeltaTranslater.
func (*MockDeltaTranslaterMockRecorder) TranslateAction ¶
func (mr *MockDeltaTranslaterMockRecorder) TranslateAction(arg0 any) *gomock.Call
TranslateAction indicates an expected call of TranslateAction.
func (*MockDeltaTranslaterMockRecorder) TranslateAnnotation ¶
func (mr *MockDeltaTranslaterMockRecorder) TranslateAnnotation(arg0 any) *gomock.Call
TranslateAnnotation indicates an expected call of TranslateAnnotation.
func (*MockDeltaTranslaterMockRecorder) TranslateApplication ¶
func (mr *MockDeltaTranslaterMockRecorder) TranslateApplication(arg0 any) *gomock.Call
TranslateApplication indicates an expected call of TranslateApplication.
func (*MockDeltaTranslaterMockRecorder) TranslateApplicationOffer ¶
func (mr *MockDeltaTranslaterMockRecorder) TranslateApplicationOffer(arg0 any) *gomock.Call
TranslateApplicationOffer indicates an expected call of TranslateApplicationOffer.
func (*MockDeltaTranslaterMockRecorder) TranslateBlock ¶
func (mr *MockDeltaTranslaterMockRecorder) TranslateBlock(arg0 any) *gomock.Call
TranslateBlock indicates an expected call of TranslateBlock.
func (*MockDeltaTranslaterMockRecorder) TranslateBranch ¶
func (mr *MockDeltaTranslaterMockRecorder) TranslateBranch(arg0 any) *gomock.Call
TranslateBranch indicates an expected call of TranslateBranch.
func (*MockDeltaTranslaterMockRecorder) TranslateCharm ¶
func (mr *MockDeltaTranslaterMockRecorder) TranslateCharm(arg0 any) *gomock.Call
TranslateCharm indicates an expected call of TranslateCharm.
func (*MockDeltaTranslaterMockRecorder) TranslateMachine ¶
func (mr *MockDeltaTranslaterMockRecorder) TranslateMachine(arg0 any) *gomock.Call
TranslateMachine indicates an expected call of TranslateMachine.
func (*MockDeltaTranslaterMockRecorder) TranslateModel ¶
func (mr *MockDeltaTranslaterMockRecorder) TranslateModel(arg0 any) *gomock.Call
TranslateModel indicates an expected call of TranslateModel.
func (*MockDeltaTranslaterMockRecorder) TranslateRelation ¶
func (mr *MockDeltaTranslaterMockRecorder) TranslateRelation(arg0 any) *gomock.Call
TranslateRelation indicates an expected call of TranslateRelation.
func (*MockDeltaTranslaterMockRecorder) TranslateRemoteApplication ¶
func (mr *MockDeltaTranslaterMockRecorder) TranslateRemoteApplication(arg0 any) *gomock.Call
TranslateRemoteApplication indicates an expected call of TranslateRemoteApplication.
func (*MockDeltaTranslaterMockRecorder) TranslateUnit ¶
func (mr *MockDeltaTranslaterMockRecorder) TranslateUnit(arg0 any) *gomock.Call
TranslateUnit indicates an expected call of TranslateUnit.
type MockResources ¶
type MockResources struct {
// contains filtered or unexported fields
}
MockResources is a mock of Resources interface.
func NewMockResources ¶
func NewMockResources(ctrl *gomock.Controller) *MockResources
NewMockResources creates a new mock instance.
func (*MockResources) AddPendingResource ¶
func (m *MockResources) AddPendingResource(arg0, arg1 string, arg2 resource.Resource) (string, error)
AddPendingResource mocks base method.
func (*MockResources) EXPECT ¶
func (m *MockResources) EXPECT() *MockResourcesMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockResources) GetPendingResource ¶
func (m *MockResources) GetPendingResource(arg0, arg1, arg2 string) (resources.Resource, error)
GetPendingResource mocks base method.
func (*MockResources) GetResource ¶
func (m *MockResources) GetResource(arg0, arg1 string) (resources.Resource, error)
GetResource mocks base method.
func (*MockResources) ListPendingResources ¶
func (m *MockResources) ListPendingResources(arg0 string) (resources.ApplicationResources, error)
ListPendingResources mocks base method.
func (*MockResources) ListResources ¶
func (m *MockResources) ListResources(arg0 string) (resources.ApplicationResources, error)
ListResources mocks base method.
func (*MockResources) OpenResource ¶
func (m *MockResources) OpenResource(arg0, arg1 string) (resources.Resource, io.ReadCloser, error)
OpenResource mocks base method.
func (*MockResources) OpenResourceForUniter ¶
func (m *MockResources) OpenResourceForUniter(arg0, arg1 string) (resources.Resource, io.ReadCloser, error)
OpenResourceForUniter mocks base method.
func (*MockResources) RemovePendingAppResources ¶
func (m *MockResources) RemovePendingAppResources(arg0 string, arg1 map[string]string) error
RemovePendingAppResources mocks base method.
func (*MockResources) SetCharmStoreResources ¶
func (m *MockResources) SetCharmStoreResources(arg0 string, arg1 []resource.Resource, arg2 time.Time) error
SetCharmStoreResources mocks base method.
func (*MockResources) SetResource ¶
func (m *MockResources) SetResource(arg0, arg1 string, arg2 resource.Resource, arg3 io.Reader, arg4 state.IncrementCharmModifiedVersionType) (resources.Resource, error)
SetResource mocks base method.
func (*MockResources) SetUnitResource ¶
func (m *MockResources) SetUnitResource(arg0, arg1 string, arg2 resource.Resource) (resources.Resource, error)
SetUnitResource mocks base method.
type MockResourcesMockRecorder ¶
type MockResourcesMockRecorder struct {
// contains filtered or unexported fields
}
MockResourcesMockRecorder is the mock recorder for MockResources.
func (*MockResourcesMockRecorder) AddPendingResource ¶
func (mr *MockResourcesMockRecorder) AddPendingResource(arg0, arg1, arg2 any) *gomock.Call
AddPendingResource indicates an expected call of AddPendingResource.
func (*MockResourcesMockRecorder) GetPendingResource ¶
func (mr *MockResourcesMockRecorder) GetPendingResource(arg0, arg1, arg2 any) *gomock.Call
GetPendingResource indicates an expected call of GetPendingResource.
func (*MockResourcesMockRecorder) GetResource ¶
func (mr *MockResourcesMockRecorder) GetResource(arg0, arg1 any) *gomock.Call
GetResource indicates an expected call of GetResource.
func (*MockResourcesMockRecorder) ListPendingResources ¶
func (mr *MockResourcesMockRecorder) ListPendingResources(arg0 any) *gomock.Call
ListPendingResources indicates an expected call of ListPendingResources.
func (*MockResourcesMockRecorder) ListResources ¶
func (mr *MockResourcesMockRecorder) ListResources(arg0 any) *gomock.Call
ListResources indicates an expected call of ListResources.
func (*MockResourcesMockRecorder) OpenResource ¶
func (mr *MockResourcesMockRecorder) OpenResource(arg0, arg1 any) *gomock.Call
OpenResource indicates an expected call of OpenResource.
func (*MockResourcesMockRecorder) OpenResourceForUniter ¶
func (mr *MockResourcesMockRecorder) OpenResourceForUniter(arg0, arg1 any) *gomock.Call
OpenResourceForUniter indicates an expected call of OpenResourceForUniter.
func (*MockResourcesMockRecorder) RemovePendingAppResources ¶
func (mr *MockResourcesMockRecorder) RemovePendingAppResources(arg0, arg1 any) *gomock.Call
RemovePendingAppResources indicates an expected call of RemovePendingAppResources.
func (*MockResourcesMockRecorder) SetCharmStoreResources ¶
func (mr *MockResourcesMockRecorder) SetCharmStoreResources(arg0, arg1, arg2 any) *gomock.Call
SetCharmStoreResources indicates an expected call of SetCharmStoreResources.
func (*MockResourcesMockRecorder) SetResource ¶
func (mr *MockResourcesMockRecorder) SetResource(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
SetResource indicates an expected call of SetResource.
func (*MockResourcesMockRecorder) SetUnitResource ¶
func (mr *MockResourcesMockRecorder) SetUnitResource(arg0, arg1, arg2 any) *gomock.Call
SetUnitResource indicates an expected call of SetUnitResource.
func (*MockResourcesMockRecorder) UpdatePendingResource ¶
func (mr *MockResourcesMockRecorder) UpdatePendingResource(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
UpdatePendingResource indicates an expected call of UpdatePendingResource.