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 MockContext
- func (m *MockContext) ActionParams() (map[string]interface{}, error)
- func (m *MockContext) AddMetric(arg0, arg1 string, arg2 time.Time) error
- func (m *MockContext) AddMetricLabels(arg0, arg1 string, arg2 time.Time, arg3 map[string]string) error
- func (m *MockContext) AddUnitStorage(arg0 map[string]params.StorageConstraints) error
- func (m *MockContext) ApplicationStatus() (jujuc.ApplicationStatusInfo, error)
- func (m *MockContext) AvailabilityZone() (string, error)
- func (m *MockContext) ClosePortRange(arg0 string, arg1 network.PortRange) error
- func (m *MockContext) CloudSpec() (*params.CloudSpec, error)
- func (m *MockContext) Component(arg0 string) (jujuc.ContextComponent, error)
- func (m *MockContext) ConfigSettings() (charm.Settings, error)
- func (m *MockContext) DeleteCharmStateValue(arg0 string) error
- func (m *MockContext) EXPECT() *MockContextMockRecorder
- func (m *MockContext) GetCharmState() (map[string]string, error)
- func (m *MockContext) GetCharmStateValue(arg0 string) (string, error)
- func (m *MockContext) GetPodSpec() (string, error)
- func (m *MockContext) GetRawK8sSpec() (string, error)
- func (m *MockContext) GoalState() (*application.GoalState, error)
- func (m *MockContext) HookRelation() (jujuc.ContextRelation, error)
- func (m *MockContext) HookStorage() (jujuc.ContextStorageAttachment, error)
- func (m *MockContext) IsLeader() (bool, error)
- func (m *MockContext) LeaderSettings() (map[string]string, error)
- func (m *MockContext) LogActionMessage(arg0 string) error
- func (m *MockContext) NetworkInfo(arg0 []string, arg1 int) (map[string]params.NetworkInfoResult, error)
- func (m *MockContext) OpenPortRange(arg0 string, arg1 network.PortRange) error
- func (m *MockContext) OpenedPortRanges() network.GroupedPortRanges
- func (m *MockContext) PrivateAddress() (string, error)
- func (m *MockContext) PublicAddress() (string, error)
- func (m *MockContext) Relation(arg0 int) (jujuc.ContextRelation, error)
- func (m *MockContext) RelationIds() ([]int, error)
- func (m *MockContext) RemoteApplicationName() (string, error)
- func (m *MockContext) RemoteUnitName() (string, error)
- func (m *MockContext) RequestReboot(arg0 jujuc.RebootPriority) error
- func (m *MockContext) SetActionFailed() error
- func (m *MockContext) SetActionMessage(arg0 string) error
- func (m *MockContext) SetApplicationStatus(arg0 jujuc.StatusInfo) error
- func (m *MockContext) SetCharmStateValue(arg0, arg1 string) error
- func (m *MockContext) SetPodSpec(arg0 string) error
- func (m *MockContext) SetRawK8sSpec(arg0 string) error
- func (m *MockContext) SetUnitStatus(arg0 jujuc.StatusInfo) error
- func (m *MockContext) SetUnitWorkloadVersion(arg0 string) error
- func (m *MockContext) Storage(arg0 names.StorageTag) (jujuc.ContextStorageAttachment, error)
- func (m *MockContext) StorageTags() ([]names.StorageTag, error)
- func (m *MockContext) UnitName() string
- func (m *MockContext) UnitStatus() (*jujuc.StatusInfo, error)
- func (m *MockContext) UnitWorkloadVersion() (string, error)
- func (m *MockContext) UpdateActionResults(arg0 []string, arg1 interface{}) error
- func (m *MockContext) WorkloadName() (string, error)
- func (m *MockContext) WriteLeaderSettings(arg0 map[string]string) error
- type MockContextMockRecorder
- func (mr *MockContextMockRecorder) ActionParams() *gomock.Call
- func (mr *MockContextMockRecorder) AddMetric(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) AddMetricLabels(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) AddUnitStorage(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) ApplicationStatus() *gomock.Call
- func (mr *MockContextMockRecorder) AvailabilityZone() *gomock.Call
- func (mr *MockContextMockRecorder) ClosePortRange(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) CloudSpec() *gomock.Call
- func (mr *MockContextMockRecorder) Component(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) ConfigSettings() *gomock.Call
- func (mr *MockContextMockRecorder) DeleteCharmStateValue(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) GetCharmState() *gomock.Call
- func (mr *MockContextMockRecorder) GetCharmStateValue(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) GetPodSpec() *gomock.Call
- func (mr *MockContextMockRecorder) GetRawK8sSpec() *gomock.Call
- func (mr *MockContextMockRecorder) GoalState() *gomock.Call
- func (mr *MockContextMockRecorder) HookRelation() *gomock.Call
- func (mr *MockContextMockRecorder) HookStorage() *gomock.Call
- func (mr *MockContextMockRecorder) IsLeader() *gomock.Call
- func (mr *MockContextMockRecorder) LeaderSettings() *gomock.Call
- func (mr *MockContextMockRecorder) LogActionMessage(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) NetworkInfo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) OpenPortRange(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) OpenedPortRanges() *gomock.Call
- func (mr *MockContextMockRecorder) PrivateAddress() *gomock.Call
- func (mr *MockContextMockRecorder) PublicAddress() *gomock.Call
- func (mr *MockContextMockRecorder) Relation(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) RelationIds() *gomock.Call
- func (mr *MockContextMockRecorder) RemoteApplicationName() *gomock.Call
- func (mr *MockContextMockRecorder) RemoteUnitName() *gomock.Call
- func (mr *MockContextMockRecorder) RequestReboot(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) SetActionFailed() *gomock.Call
- func (mr *MockContextMockRecorder) SetActionMessage(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) SetApplicationStatus(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) SetCharmStateValue(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) SetPodSpec(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) SetRawK8sSpec(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) SetUnitStatus(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) SetUnitWorkloadVersion(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) Storage(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) StorageTags() *gomock.Call
- func (mr *MockContextMockRecorder) UnitName() *gomock.Call
- func (mr *MockContextMockRecorder) UnitStatus() *gomock.Call
- func (mr *MockContextMockRecorder) UnitWorkloadVersion() *gomock.Call
- func (mr *MockContextMockRecorder) UpdateActionResults(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) WorkloadName() *gomock.Call
- func (mr *MockContextMockRecorder) WriteLeaderSettings(arg0 interface{}) *gomock.Call
- type MockContextRelation
- func (m *MockContextRelation) ApplicationSettings() (jujuc.Settings, error)
- func (m *MockContextRelation) EXPECT() *MockContextRelationMockRecorder
- func (m *MockContextRelation) FakeId() string
- func (m *MockContextRelation) Id() int
- func (m *MockContextRelation) Life() life.Value
- func (m *MockContextRelation) Name() string
- func (m *MockContextRelation) ReadApplicationSettings(arg0 string) (params.Settings, error)
- func (m *MockContextRelation) ReadSettings(arg0 string) (params.Settings, error)
- func (m *MockContextRelation) RemoteApplicationName() string
- func (m *MockContextRelation) SetStatus(arg0 relation.Status) error
- func (m *MockContextRelation) Settings() (jujuc.Settings, error)
- func (m *MockContextRelation) Suspended() bool
- func (m *MockContextRelation) UnitNames() []string
- type MockContextRelationMockRecorder
- func (mr *MockContextRelationMockRecorder) ApplicationSettings() *gomock.Call
- func (mr *MockContextRelationMockRecorder) FakeId() *gomock.Call
- func (mr *MockContextRelationMockRecorder) Id() *gomock.Call
- func (mr *MockContextRelationMockRecorder) Life() *gomock.Call
- func (mr *MockContextRelationMockRecorder) Name() *gomock.Call
- func (mr *MockContextRelationMockRecorder) ReadApplicationSettings(arg0 interface{}) *gomock.Call
- func (mr *MockContextRelationMockRecorder) ReadSettings(arg0 interface{}) *gomock.Call
- func (mr *MockContextRelationMockRecorder) RemoteApplicationName() *gomock.Call
- func (mr *MockContextRelationMockRecorder) SetStatus(arg0 interface{}) *gomock.Call
- func (mr *MockContextRelationMockRecorder) Settings() *gomock.Call
- func (mr *MockContextRelationMockRecorder) Suspended() *gomock.Call
- func (mr *MockContextRelationMockRecorder) UnitNames() *gomock.Call
- type MockJujuLogCommandLogger
- type MockJujuLogCommandLoggerFactory
- type MockJujuLogCommandLoggerFactoryMockRecorder
- type MockJujuLogCommandLoggerMockRecorder
- type MockJujuLogContext
- type MockJujuLogContextMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockContext ¶
type MockContext struct {
// contains filtered or unexported fields
}
MockContext is a mock of Context interface
func NewMockContext ¶
func NewMockContext(ctrl *gomock.Controller) *MockContext
NewMockContext creates a new mock instance
func (*MockContext) ActionParams ¶
func (m *MockContext) ActionParams() (map[string]interface{}, error)
ActionParams mocks base method
func (*MockContext) AddMetric ¶
func (m *MockContext) AddMetric(arg0, arg1 string, arg2 time.Time) error
AddMetric mocks base method
func (*MockContext) AddMetricLabels ¶
func (m *MockContext) AddMetricLabels(arg0, arg1 string, arg2 time.Time, arg3 map[string]string) error
AddMetricLabels mocks base method
func (*MockContext) AddUnitStorage ¶
func (m *MockContext) AddUnitStorage(arg0 map[string]params.StorageConstraints) error
AddUnitStorage mocks base method
func (*MockContext) ApplicationStatus ¶
func (m *MockContext) ApplicationStatus() (jujuc.ApplicationStatusInfo, error)
ApplicationStatus mocks base method
func (*MockContext) AvailabilityZone ¶
func (m *MockContext) AvailabilityZone() (string, error)
AvailabilityZone mocks base method
func (*MockContext) ClosePortRange ¶
func (m *MockContext) ClosePortRange(arg0 string, arg1 network.PortRange) error
ClosePortRange mocks base method
func (*MockContext) CloudSpec ¶
func (m *MockContext) CloudSpec() (*params.CloudSpec, error)
CloudSpec mocks base method
func (*MockContext) Component ¶
func (m *MockContext) Component(arg0 string) (jujuc.ContextComponent, error)
Component mocks base method
func (*MockContext) ConfigSettings ¶
func (m *MockContext) ConfigSettings() (charm.Settings, error)
ConfigSettings mocks base method
func (*MockContext) DeleteCharmStateValue ¶
func (m *MockContext) DeleteCharmStateValue(arg0 string) error
DeleteCharmStateValue mocks base method
func (*MockContext) EXPECT ¶
func (m *MockContext) EXPECT() *MockContextMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockContext) GetCharmState ¶
func (m *MockContext) GetCharmState() (map[string]string, error)
GetCharmState mocks base method
func (*MockContext) GetCharmStateValue ¶
func (m *MockContext) GetCharmStateValue(arg0 string) (string, error)
GetCharmStateValue mocks base method
func (*MockContext) GetPodSpec ¶
func (m *MockContext) GetPodSpec() (string, error)
GetPodSpec mocks base method
func (*MockContext) GetRawK8sSpec ¶
func (m *MockContext) GetRawK8sSpec() (string, error)
GetRawK8sSpec mocks base method
func (*MockContext) GoalState ¶
func (m *MockContext) GoalState() (*application.GoalState, error)
GoalState mocks base method
func (*MockContext) HookRelation ¶
func (m *MockContext) HookRelation() (jujuc.ContextRelation, error)
HookRelation mocks base method
func (*MockContext) HookStorage ¶
func (m *MockContext) HookStorage() (jujuc.ContextStorageAttachment, error)
HookStorage mocks base method
func (*MockContext) IsLeader ¶
func (m *MockContext) IsLeader() (bool, error)
IsLeader mocks base method
func (*MockContext) LeaderSettings ¶
func (m *MockContext) LeaderSettings() (map[string]string, error)
LeaderSettings mocks base method
func (*MockContext) LogActionMessage ¶
func (m *MockContext) LogActionMessage(arg0 string) error
LogActionMessage mocks base method
func (*MockContext) NetworkInfo ¶
func (m *MockContext) NetworkInfo(arg0 []string, arg1 int) (map[string]params.NetworkInfoResult, error)
NetworkInfo mocks base method
func (*MockContext) OpenPortRange ¶
func (m *MockContext) OpenPortRange(arg0 string, arg1 network.PortRange) error
OpenPortRange mocks base method
func (*MockContext) OpenedPortRanges ¶
func (m *MockContext) OpenedPortRanges() network.GroupedPortRanges
OpenedPortRanges mocks base method
func (*MockContext) PrivateAddress ¶
func (m *MockContext) PrivateAddress() (string, error)
PrivateAddress mocks base method
func (*MockContext) PublicAddress ¶
func (m *MockContext) PublicAddress() (string, error)
PublicAddress mocks base method
func (*MockContext) Relation ¶
func (m *MockContext) Relation(arg0 int) (jujuc.ContextRelation, error)
Relation mocks base method
func (*MockContext) RelationIds ¶
func (m *MockContext) RelationIds() ([]int, error)
RelationIds mocks base method
func (*MockContext) RemoteApplicationName ¶
func (m *MockContext) RemoteApplicationName() (string, error)
RemoteApplicationName mocks base method
func (*MockContext) RemoteUnitName ¶
func (m *MockContext) RemoteUnitName() (string, error)
RemoteUnitName mocks base method
func (*MockContext) RequestReboot ¶
func (m *MockContext) RequestReboot(arg0 jujuc.RebootPriority) error
RequestReboot mocks base method
func (*MockContext) SetActionFailed ¶
func (m *MockContext) SetActionFailed() error
SetActionFailed mocks base method
func (*MockContext) SetActionMessage ¶
func (m *MockContext) SetActionMessage(arg0 string) error
SetActionMessage mocks base method
func (*MockContext) SetApplicationStatus ¶
func (m *MockContext) SetApplicationStatus(arg0 jujuc.StatusInfo) error
SetApplicationStatus mocks base method
func (*MockContext) SetCharmStateValue ¶
func (m *MockContext) SetCharmStateValue(arg0, arg1 string) error
SetCharmStateValue mocks base method
func (*MockContext) SetPodSpec ¶
func (m *MockContext) SetPodSpec(arg0 string) error
SetPodSpec mocks base method
func (*MockContext) SetRawK8sSpec ¶
func (m *MockContext) SetRawK8sSpec(arg0 string) error
SetRawK8sSpec mocks base method
func (*MockContext) SetUnitStatus ¶
func (m *MockContext) SetUnitStatus(arg0 jujuc.StatusInfo) error
SetUnitStatus mocks base method
func (*MockContext) SetUnitWorkloadVersion ¶
func (m *MockContext) SetUnitWorkloadVersion(arg0 string) error
SetUnitWorkloadVersion mocks base method
func (*MockContext) Storage ¶
func (m *MockContext) Storage(arg0 names.StorageTag) (jujuc.ContextStorageAttachment, error)
Storage mocks base method
func (*MockContext) StorageTags ¶
func (m *MockContext) StorageTags() ([]names.StorageTag, error)
StorageTags mocks base method
func (*MockContext) UnitStatus ¶
func (m *MockContext) UnitStatus() (*jujuc.StatusInfo, error)
UnitStatus mocks base method
func (*MockContext) UnitWorkloadVersion ¶
func (m *MockContext) UnitWorkloadVersion() (string, error)
UnitWorkloadVersion mocks base method
func (*MockContext) UpdateActionResults ¶
func (m *MockContext) UpdateActionResults(arg0 []string, arg1 interface{}) error
UpdateActionResults mocks base method
func (*MockContext) WorkloadName ¶
func (m *MockContext) WorkloadName() (string, error)
WorkloadName mocks base method
func (*MockContext) WriteLeaderSettings ¶
func (m *MockContext) WriteLeaderSettings(arg0 map[string]string) error
WriteLeaderSettings mocks base method
type MockContextMockRecorder ¶
type MockContextMockRecorder struct {
// contains filtered or unexported fields
}
MockContextMockRecorder is the mock recorder for MockContext
func (*MockContextMockRecorder) ActionParams ¶
func (mr *MockContextMockRecorder) ActionParams() *gomock.Call
ActionParams indicates an expected call of ActionParams
func (*MockContextMockRecorder) AddMetric ¶
func (mr *MockContextMockRecorder) AddMetric(arg0, arg1, arg2 interface{}) *gomock.Call
AddMetric indicates an expected call of AddMetric
func (*MockContextMockRecorder) AddMetricLabels ¶
func (mr *MockContextMockRecorder) AddMetricLabels(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
AddMetricLabels indicates an expected call of AddMetricLabels
func (*MockContextMockRecorder) AddUnitStorage ¶
func (mr *MockContextMockRecorder) AddUnitStorage(arg0 interface{}) *gomock.Call
AddUnitStorage indicates an expected call of AddUnitStorage
func (*MockContextMockRecorder) ApplicationStatus ¶
func (mr *MockContextMockRecorder) ApplicationStatus() *gomock.Call
ApplicationStatus indicates an expected call of ApplicationStatus
func (*MockContextMockRecorder) AvailabilityZone ¶
func (mr *MockContextMockRecorder) AvailabilityZone() *gomock.Call
AvailabilityZone indicates an expected call of AvailabilityZone
func (*MockContextMockRecorder) ClosePortRange ¶
func (mr *MockContextMockRecorder) ClosePortRange(arg0, arg1 interface{}) *gomock.Call
ClosePortRange indicates an expected call of ClosePortRange
func (*MockContextMockRecorder) CloudSpec ¶
func (mr *MockContextMockRecorder) CloudSpec() *gomock.Call
CloudSpec indicates an expected call of CloudSpec
func (*MockContextMockRecorder) Component ¶
func (mr *MockContextMockRecorder) Component(arg0 interface{}) *gomock.Call
Component indicates an expected call of Component
func (*MockContextMockRecorder) ConfigSettings ¶
func (mr *MockContextMockRecorder) ConfigSettings() *gomock.Call
ConfigSettings indicates an expected call of ConfigSettings
func (*MockContextMockRecorder) DeleteCharmStateValue ¶
func (mr *MockContextMockRecorder) DeleteCharmStateValue(arg0 interface{}) *gomock.Call
DeleteCharmStateValue indicates an expected call of DeleteCharmStateValue
func (*MockContextMockRecorder) GetCharmState ¶
func (mr *MockContextMockRecorder) GetCharmState() *gomock.Call
GetCharmState indicates an expected call of GetCharmState
func (*MockContextMockRecorder) GetCharmStateValue ¶
func (mr *MockContextMockRecorder) GetCharmStateValue(arg0 interface{}) *gomock.Call
GetCharmStateValue indicates an expected call of GetCharmStateValue
func (*MockContextMockRecorder) GetPodSpec ¶
func (mr *MockContextMockRecorder) GetPodSpec() *gomock.Call
GetPodSpec indicates an expected call of GetPodSpec
func (*MockContextMockRecorder) GetRawK8sSpec ¶
func (mr *MockContextMockRecorder) GetRawK8sSpec() *gomock.Call
GetRawK8sSpec indicates an expected call of GetRawK8sSpec
func (*MockContextMockRecorder) GoalState ¶
func (mr *MockContextMockRecorder) GoalState() *gomock.Call
GoalState indicates an expected call of GoalState
func (*MockContextMockRecorder) HookRelation ¶
func (mr *MockContextMockRecorder) HookRelation() *gomock.Call
HookRelation indicates an expected call of HookRelation
func (*MockContextMockRecorder) HookStorage ¶
func (mr *MockContextMockRecorder) HookStorage() *gomock.Call
HookStorage indicates an expected call of HookStorage
func (*MockContextMockRecorder) IsLeader ¶
func (mr *MockContextMockRecorder) IsLeader() *gomock.Call
IsLeader indicates an expected call of IsLeader
func (*MockContextMockRecorder) LeaderSettings ¶
func (mr *MockContextMockRecorder) LeaderSettings() *gomock.Call
LeaderSettings indicates an expected call of LeaderSettings
func (*MockContextMockRecorder) LogActionMessage ¶
func (mr *MockContextMockRecorder) LogActionMessage(arg0 interface{}) *gomock.Call
LogActionMessage indicates an expected call of LogActionMessage
func (*MockContextMockRecorder) NetworkInfo ¶
func (mr *MockContextMockRecorder) NetworkInfo(arg0, arg1 interface{}) *gomock.Call
NetworkInfo indicates an expected call of NetworkInfo
func (*MockContextMockRecorder) OpenPortRange ¶
func (mr *MockContextMockRecorder) OpenPortRange(arg0, arg1 interface{}) *gomock.Call
OpenPortRange indicates an expected call of OpenPortRange
func (*MockContextMockRecorder) OpenedPortRanges ¶
func (mr *MockContextMockRecorder) OpenedPortRanges() *gomock.Call
OpenedPortRanges indicates an expected call of OpenedPortRanges
func (*MockContextMockRecorder) PrivateAddress ¶
func (mr *MockContextMockRecorder) PrivateAddress() *gomock.Call
PrivateAddress indicates an expected call of PrivateAddress
func (*MockContextMockRecorder) PublicAddress ¶
func (mr *MockContextMockRecorder) PublicAddress() *gomock.Call
PublicAddress indicates an expected call of PublicAddress
func (*MockContextMockRecorder) Relation ¶
func (mr *MockContextMockRecorder) Relation(arg0 interface{}) *gomock.Call
Relation indicates an expected call of Relation
func (*MockContextMockRecorder) RelationIds ¶
func (mr *MockContextMockRecorder) RelationIds() *gomock.Call
RelationIds indicates an expected call of RelationIds
func (*MockContextMockRecorder) RemoteApplicationName ¶
func (mr *MockContextMockRecorder) RemoteApplicationName() *gomock.Call
RemoteApplicationName indicates an expected call of RemoteApplicationName
func (*MockContextMockRecorder) RemoteUnitName ¶
func (mr *MockContextMockRecorder) RemoteUnitName() *gomock.Call
RemoteUnitName indicates an expected call of RemoteUnitName
func (*MockContextMockRecorder) RequestReboot ¶
func (mr *MockContextMockRecorder) RequestReboot(arg0 interface{}) *gomock.Call
RequestReboot indicates an expected call of RequestReboot
func (*MockContextMockRecorder) SetActionFailed ¶
func (mr *MockContextMockRecorder) SetActionFailed() *gomock.Call
SetActionFailed indicates an expected call of SetActionFailed
func (*MockContextMockRecorder) SetActionMessage ¶
func (mr *MockContextMockRecorder) SetActionMessage(arg0 interface{}) *gomock.Call
SetActionMessage indicates an expected call of SetActionMessage
func (*MockContextMockRecorder) SetApplicationStatus ¶
func (mr *MockContextMockRecorder) SetApplicationStatus(arg0 interface{}) *gomock.Call
SetApplicationStatus indicates an expected call of SetApplicationStatus
func (*MockContextMockRecorder) SetCharmStateValue ¶
func (mr *MockContextMockRecorder) SetCharmStateValue(arg0, arg1 interface{}) *gomock.Call
SetCharmStateValue indicates an expected call of SetCharmStateValue
func (*MockContextMockRecorder) SetPodSpec ¶
func (mr *MockContextMockRecorder) SetPodSpec(arg0 interface{}) *gomock.Call
SetPodSpec indicates an expected call of SetPodSpec
func (*MockContextMockRecorder) SetRawK8sSpec ¶
func (mr *MockContextMockRecorder) SetRawK8sSpec(arg0 interface{}) *gomock.Call
SetRawK8sSpec indicates an expected call of SetRawK8sSpec
func (*MockContextMockRecorder) SetUnitStatus ¶
func (mr *MockContextMockRecorder) SetUnitStatus(arg0 interface{}) *gomock.Call
SetUnitStatus indicates an expected call of SetUnitStatus
func (*MockContextMockRecorder) SetUnitWorkloadVersion ¶
func (mr *MockContextMockRecorder) SetUnitWorkloadVersion(arg0 interface{}) *gomock.Call
SetUnitWorkloadVersion indicates an expected call of SetUnitWorkloadVersion
func (*MockContextMockRecorder) Storage ¶
func (mr *MockContextMockRecorder) Storage(arg0 interface{}) *gomock.Call
Storage indicates an expected call of Storage
func (*MockContextMockRecorder) StorageTags ¶
func (mr *MockContextMockRecorder) StorageTags() *gomock.Call
StorageTags indicates an expected call of StorageTags
func (*MockContextMockRecorder) UnitName ¶
func (mr *MockContextMockRecorder) UnitName() *gomock.Call
UnitName indicates an expected call of UnitName
func (*MockContextMockRecorder) UnitStatus ¶
func (mr *MockContextMockRecorder) UnitStatus() *gomock.Call
UnitStatus indicates an expected call of UnitStatus
func (*MockContextMockRecorder) UnitWorkloadVersion ¶
func (mr *MockContextMockRecorder) UnitWorkloadVersion() *gomock.Call
UnitWorkloadVersion indicates an expected call of UnitWorkloadVersion
func (*MockContextMockRecorder) UpdateActionResults ¶
func (mr *MockContextMockRecorder) UpdateActionResults(arg0, arg1 interface{}) *gomock.Call
UpdateActionResults indicates an expected call of UpdateActionResults
func (*MockContextMockRecorder) WorkloadName ¶
func (mr *MockContextMockRecorder) WorkloadName() *gomock.Call
WorkloadName indicates an expected call of WorkloadName
func (*MockContextMockRecorder) WriteLeaderSettings ¶
func (mr *MockContextMockRecorder) WriteLeaderSettings(arg0 interface{}) *gomock.Call
WriteLeaderSettings indicates an expected call of WriteLeaderSettings
type MockContextRelation ¶
type MockContextRelation struct {
// contains filtered or unexported fields
}
MockContextRelation is a mock of ContextRelation interface
func NewMockContextRelation ¶
func NewMockContextRelation(ctrl *gomock.Controller) *MockContextRelation
NewMockContextRelation creates a new mock instance
func (*MockContextRelation) ApplicationSettings ¶
func (m *MockContextRelation) ApplicationSettings() (jujuc.Settings, error)
ApplicationSettings mocks base method
func (*MockContextRelation) EXPECT ¶
func (m *MockContextRelation) EXPECT() *MockContextRelationMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockContextRelation) FakeId ¶
func (m *MockContextRelation) FakeId() string
FakeId mocks base method
func (*MockContextRelation) Life ¶
func (m *MockContextRelation) Life() life.Value
Life mocks base method
func (*MockContextRelation) Name ¶
func (m *MockContextRelation) Name() string
Name mocks base method
func (*MockContextRelation) ReadApplicationSettings ¶
func (m *MockContextRelation) ReadApplicationSettings(arg0 string) (params.Settings, error)
ReadApplicationSettings mocks base method
func (*MockContextRelation) ReadSettings ¶
func (m *MockContextRelation) ReadSettings(arg0 string) (params.Settings, error)
ReadSettings mocks base method
func (*MockContextRelation) RemoteApplicationName ¶
func (m *MockContextRelation) RemoteApplicationName() string
RemoteApplicationName mocks base method
func (*MockContextRelation) SetStatus ¶
func (m *MockContextRelation) SetStatus(arg0 relation.Status) error
SetStatus mocks base method
func (*MockContextRelation) Settings ¶
func (m *MockContextRelation) Settings() (jujuc.Settings, error)
Settings mocks base method
func (*MockContextRelation) Suspended ¶
func (m *MockContextRelation) Suspended() bool
Suspended mocks base method
func (*MockContextRelation) UnitNames ¶
func (m *MockContextRelation) UnitNames() []string
UnitNames mocks base method
type MockContextRelationMockRecorder ¶
type MockContextRelationMockRecorder struct {
// contains filtered or unexported fields
}
MockContextRelationMockRecorder is the mock recorder for MockContextRelation
func (*MockContextRelationMockRecorder) ApplicationSettings ¶
func (mr *MockContextRelationMockRecorder) ApplicationSettings() *gomock.Call
ApplicationSettings indicates an expected call of ApplicationSettings
func (*MockContextRelationMockRecorder) FakeId ¶
func (mr *MockContextRelationMockRecorder) FakeId() *gomock.Call
FakeId indicates an expected call of FakeId
func (*MockContextRelationMockRecorder) Id ¶
func (mr *MockContextRelationMockRecorder) Id() *gomock.Call
Id indicates an expected call of Id
func (*MockContextRelationMockRecorder) Life ¶
func (mr *MockContextRelationMockRecorder) Life() *gomock.Call
Life indicates an expected call of Life
func (*MockContextRelationMockRecorder) Name ¶
func (mr *MockContextRelationMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name
func (*MockContextRelationMockRecorder) ReadApplicationSettings ¶
func (mr *MockContextRelationMockRecorder) ReadApplicationSettings(arg0 interface{}) *gomock.Call
ReadApplicationSettings indicates an expected call of ReadApplicationSettings
func (*MockContextRelationMockRecorder) ReadSettings ¶
func (mr *MockContextRelationMockRecorder) ReadSettings(arg0 interface{}) *gomock.Call
ReadSettings indicates an expected call of ReadSettings
func (*MockContextRelationMockRecorder) RemoteApplicationName ¶
func (mr *MockContextRelationMockRecorder) RemoteApplicationName() *gomock.Call
RemoteApplicationName indicates an expected call of RemoteApplicationName
func (*MockContextRelationMockRecorder) SetStatus ¶
func (mr *MockContextRelationMockRecorder) SetStatus(arg0 interface{}) *gomock.Call
SetStatus indicates an expected call of SetStatus
func (*MockContextRelationMockRecorder) Settings ¶
func (mr *MockContextRelationMockRecorder) Settings() *gomock.Call
Settings indicates an expected call of Settings
func (*MockContextRelationMockRecorder) Suspended ¶
func (mr *MockContextRelationMockRecorder) Suspended() *gomock.Call
Suspended indicates an expected call of Suspended
func (*MockContextRelationMockRecorder) UnitNames ¶
func (mr *MockContextRelationMockRecorder) UnitNames() *gomock.Call
UnitNames indicates an expected call of UnitNames
type MockJujuLogCommandLogger ¶
type MockJujuLogCommandLogger struct {
// contains filtered or unexported fields
}
MockJujuLogCommandLogger is a mock of JujuLogCommandLogger interface
func NewMockJujuLogCommandLogger ¶
func NewMockJujuLogCommandLogger(ctrl *gomock.Controller) *MockJujuLogCommandLogger
NewMockJujuLogCommandLogger creates a new mock instance
func (*MockJujuLogCommandLogger) EXPECT ¶
func (m *MockJujuLogCommandLogger) EXPECT() *MockJujuLogCommandLoggerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockJujuLogCommandLogger) Logf ¶
func (m *MockJujuLogCommandLogger) Logf(arg0 loggo.Level, arg1 string, arg2 ...interface{})
Logf mocks base method
func (*MockJujuLogCommandLogger) Warningf ¶
func (m *MockJujuLogCommandLogger) Warningf(arg0 string, arg1 ...interface{})
Warningf mocks base method
type MockJujuLogCommandLoggerFactory ¶
type MockJujuLogCommandLoggerFactory struct {
// contains filtered or unexported fields
}
MockJujuLogCommandLoggerFactory is a mock of JujuLogCommandLoggerFactory interface
func NewMockJujuLogCommandLoggerFactory ¶
func NewMockJujuLogCommandLoggerFactory(ctrl *gomock.Controller) *MockJujuLogCommandLoggerFactory
NewMockJujuLogCommandLoggerFactory creates a new mock instance
func (*MockJujuLogCommandLoggerFactory) EXPECT ¶
func (m *MockJujuLogCommandLoggerFactory) EXPECT() *MockJujuLogCommandLoggerFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockJujuLogCommandLoggerFactory) GetLogger ¶
func (m *MockJujuLogCommandLoggerFactory) GetLogger(arg0 string) jujuc.JujuLogCommandLogger
GetLogger mocks base method
type MockJujuLogCommandLoggerFactoryMockRecorder ¶
type MockJujuLogCommandLoggerFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockJujuLogCommandLoggerFactoryMockRecorder is the mock recorder for MockJujuLogCommandLoggerFactory
func (*MockJujuLogCommandLoggerFactoryMockRecorder) GetLogger ¶
func (mr *MockJujuLogCommandLoggerFactoryMockRecorder) GetLogger(arg0 interface{}) *gomock.Call
GetLogger indicates an expected call of GetLogger
type MockJujuLogCommandLoggerMockRecorder ¶
type MockJujuLogCommandLoggerMockRecorder struct {
// contains filtered or unexported fields
}
MockJujuLogCommandLoggerMockRecorder is the mock recorder for MockJujuLogCommandLogger
func (*MockJujuLogCommandLoggerMockRecorder) Logf ¶
func (mr *MockJujuLogCommandLoggerMockRecorder) Logf(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Logf indicates an expected call of Logf
func (*MockJujuLogCommandLoggerMockRecorder) Warningf ¶
func (mr *MockJujuLogCommandLoggerMockRecorder) Warningf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Warningf indicates an expected call of Warningf
type MockJujuLogContext ¶
type MockJujuLogContext struct {
// contains filtered or unexported fields
}
MockJujuLogContext is a mock of JujuLogContext interface
func NewMockJujuLogContext ¶
func NewMockJujuLogContext(ctrl *gomock.Controller) *MockJujuLogContext
NewMockJujuLogContext creates a new mock instance
func (*MockJujuLogContext) EXPECT ¶
func (m *MockJujuLogContext) EXPECT() *MockJujuLogContextMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockJujuLogContext) HookRelation ¶
func (m *MockJujuLogContext) HookRelation() (jujuc.ContextRelation, error)
HookRelation mocks base method
func (*MockJujuLogContext) UnitName ¶
func (m *MockJujuLogContext) UnitName() string
UnitName mocks base method
type MockJujuLogContextMockRecorder ¶
type MockJujuLogContextMockRecorder struct {
// contains filtered or unexported fields
}
MockJujuLogContextMockRecorder is the mock recorder for MockJujuLogContext
func (*MockJujuLogContextMockRecorder) HookRelation ¶
func (mr *MockJujuLogContextMockRecorder) HookRelation() *gomock.Call
HookRelation indicates an expected call of HookRelation
func (*MockJujuLogContextMockRecorder) UnitName ¶
func (mr *MockJujuLogContextMockRecorder) UnitName() *gomock.Call
UnitName indicates an expected call of UnitName