juju: github.com/juju/juju/worker/uniter/relation/mocks Index | Files

package mocks

import "github.com/juju/juju/worker/uniter/relation/mocks"

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.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Package Files

mock_relationer.go mock_state_manager.go mock_state_tracker_state.go mock_statetracker.go mock_subordinate_destroyer.go mock_uniter_api.go

type MockRelation Uses

type MockRelation struct {
    // contains filtered or unexported fields
}

MockRelation is a mock of Relation interface

func NewMockRelation Uses

func NewMockRelation(ctrl *gomock.Controller) *MockRelation

NewMockRelation creates a new mock instance

func (*MockRelation) EXPECT Uses

func (m *MockRelation) EXPECT() *MockRelationMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockRelation) Endpoint Uses

func (m *MockRelation) Endpoint() (*uniter.Endpoint, error)

Endpoint mocks base method

func (*MockRelation) Id Uses

func (m *MockRelation) Id() int

Id mocks base method

func (*MockRelation) Life Uses

func (m *MockRelation) Life() life.Value

Life mocks base method

func (*MockRelation) OtherApplication Uses

func (m *MockRelation) OtherApplication() string

OtherApplication mocks base method

func (*MockRelation) Refresh Uses

func (m *MockRelation) Refresh() error

Refresh mocks base method

func (*MockRelation) SetStatus Uses

func (m *MockRelation) SetStatus(arg0 relation.Status) error

SetStatus mocks base method

func (*MockRelation) String Uses

func (m *MockRelation) String() string

String mocks base method

func (*MockRelation) Suspended Uses

func (m *MockRelation) Suspended() bool

Suspended mocks base method

func (*MockRelation) Tag Uses

func (m *MockRelation) Tag() names.RelationTag

Tag mocks base method

func (*MockRelation) Unit Uses

func (m *MockRelation) Unit(arg0 names.UnitTag) (relation0.RelationUnit, error)

Unit mocks base method

func (*MockRelation) UpdateSuspended Uses

func (m *MockRelation) UpdateSuspended(arg0 bool)

UpdateSuspended mocks base method

type MockRelationMockRecorder Uses

type MockRelationMockRecorder struct {
    // contains filtered or unexported fields
}

MockRelationMockRecorder is the mock recorder for MockRelation

func (*MockRelationMockRecorder) Endpoint Uses

func (mr *MockRelationMockRecorder) Endpoint() *gomock.Call

Endpoint indicates an expected call of Endpoint

func (*MockRelationMockRecorder) Id Uses

func (mr *MockRelationMockRecorder) Id() *gomock.Call

Id indicates an expected call of Id

func (*MockRelationMockRecorder) Life Uses

func (mr *MockRelationMockRecorder) Life() *gomock.Call

Life indicates an expected call of Life

func (*MockRelationMockRecorder) OtherApplication Uses

func (mr *MockRelationMockRecorder) OtherApplication() *gomock.Call

OtherApplication indicates an expected call of OtherApplication

func (*MockRelationMockRecorder) Refresh Uses

func (mr *MockRelationMockRecorder) Refresh() *gomock.Call

Refresh indicates an expected call of Refresh

func (*MockRelationMockRecorder) SetStatus Uses

func (mr *MockRelationMockRecorder) SetStatus(arg0 interface{}) *gomock.Call

SetStatus indicates an expected call of SetStatus

func (*MockRelationMockRecorder) String Uses

func (mr *MockRelationMockRecorder) String() *gomock.Call

String indicates an expected call of String

func (*MockRelationMockRecorder) Suspended Uses

func (mr *MockRelationMockRecorder) Suspended() *gomock.Call

Suspended indicates an expected call of Suspended

func (*MockRelationMockRecorder) Tag Uses

func (mr *MockRelationMockRecorder) Tag() *gomock.Call

Tag indicates an expected call of Tag

func (*MockRelationMockRecorder) Unit Uses

func (mr *MockRelationMockRecorder) Unit(arg0 interface{}) *gomock.Call

Unit indicates an expected call of Unit

func (*MockRelationMockRecorder) UpdateSuspended Uses

func (mr *MockRelationMockRecorder) UpdateSuspended(arg0 interface{}) *gomock.Call

UpdateSuspended indicates an expected call of UpdateSuspended

type MockRelationStateTracker Uses

type MockRelationStateTracker struct {
    // contains filtered or unexported fields
}

MockRelationStateTracker is a mock of RelationStateTracker interface

func NewMockRelationStateTracker Uses

func NewMockRelationStateTracker(ctrl *gomock.Controller) *MockRelationStateTracker

NewMockRelationStateTracker creates a new mock instance

func (*MockRelationStateTracker) CommitHook Uses

func (m *MockRelationStateTracker) CommitHook(arg0 hook.Info) error

CommitHook mocks base method

func (*MockRelationStateTracker) EXPECT Uses

func (m *MockRelationStateTracker) EXPECT() *MockRelationStateTrackerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockRelationStateTracker) GetInfo Uses

func (m *MockRelationStateTracker) GetInfo() map[int]*context.RelationInfo

GetInfo mocks base method

func (*MockRelationStateTracker) HasContainerScope Uses

func (m *MockRelationStateTracker) HasContainerScope(arg0 int) (bool, error)

HasContainerScope mocks base method

func (*MockRelationStateTracker) IsImplicit Uses

func (m *MockRelationStateTracker) IsImplicit(arg0 int) (bool, error)

IsImplicit mocks base method

func (*MockRelationStateTracker) IsKnown Uses

func (m *MockRelationStateTracker) IsKnown(arg0 int) bool

IsKnown mocks base method

func (*MockRelationStateTracker) IsPeerRelation Uses

func (m *MockRelationStateTracker) IsPeerRelation(arg0 int) (bool, error)

IsPeerRelation mocks base method

func (*MockRelationStateTracker) LocalUnitAndApplicationLife Uses

func (m *MockRelationStateTracker) LocalUnitAndApplicationLife() (life.Value, life.Value, error)

LocalUnitAndApplicationLife mocks base method

func (*MockRelationStateTracker) LocalUnitName Uses

func (m *MockRelationStateTracker) LocalUnitName() string

LocalUnitName mocks base method

func (*MockRelationStateTracker) Name Uses

func (m *MockRelationStateTracker) Name(arg0 int) (string, error)

Name mocks base method

func (*MockRelationStateTracker) PrepareHook Uses

func (m *MockRelationStateTracker) PrepareHook(arg0 hook.Info) (string, error)

PrepareHook mocks base method

func (*MockRelationStateTracker) RelationCreated Uses

func (m *MockRelationStateTracker) RelationCreated(arg0 int) bool

RelationCreated mocks base method

func (*MockRelationStateTracker) RemoteApplication Uses

func (m *MockRelationStateTracker) RemoteApplication(arg0 int) string

RemoteApplication mocks base method

func (*MockRelationStateTracker) State Uses

func (m *MockRelationStateTracker) State(arg0 int) (*relation.State, error)

State mocks base method

func (*MockRelationStateTracker) StateFound Uses

func (m *MockRelationStateTracker) StateFound(arg0 int) bool

StateFound mocks base method

func (*MockRelationStateTracker) SynchronizeScopes Uses

func (m *MockRelationStateTracker) SynchronizeScopes(arg0 remotestate.Snapshot) error

SynchronizeScopes mocks base method

type MockRelationStateTrackerMockRecorder Uses

type MockRelationStateTrackerMockRecorder struct {
    // contains filtered or unexported fields
}

MockRelationStateTrackerMockRecorder is the mock recorder for MockRelationStateTracker

func (*MockRelationStateTrackerMockRecorder) CommitHook Uses

func (mr *MockRelationStateTrackerMockRecorder) CommitHook(arg0 interface{}) *gomock.Call

CommitHook indicates an expected call of CommitHook

func (*MockRelationStateTrackerMockRecorder) GetInfo Uses

func (mr *MockRelationStateTrackerMockRecorder) GetInfo() *gomock.Call

GetInfo indicates an expected call of GetInfo

func (*MockRelationStateTrackerMockRecorder) HasContainerScope Uses

func (mr *MockRelationStateTrackerMockRecorder) HasContainerScope(arg0 interface{}) *gomock.Call

HasContainerScope indicates an expected call of HasContainerScope

func (*MockRelationStateTrackerMockRecorder) IsImplicit Uses

func (mr *MockRelationStateTrackerMockRecorder) IsImplicit(arg0 interface{}) *gomock.Call

IsImplicit indicates an expected call of IsImplicit

func (*MockRelationStateTrackerMockRecorder) IsKnown Uses

func (mr *MockRelationStateTrackerMockRecorder) IsKnown(arg0 interface{}) *gomock.Call

IsKnown indicates an expected call of IsKnown

func (*MockRelationStateTrackerMockRecorder) IsPeerRelation Uses

func (mr *MockRelationStateTrackerMockRecorder) IsPeerRelation(arg0 interface{}) *gomock.Call

IsPeerRelation indicates an expected call of IsPeerRelation

func (*MockRelationStateTrackerMockRecorder) LocalUnitAndApplicationLife Uses

func (mr *MockRelationStateTrackerMockRecorder) LocalUnitAndApplicationLife() *gomock.Call

LocalUnitAndApplicationLife indicates an expected call of LocalUnitAndApplicationLife

func (*MockRelationStateTrackerMockRecorder) LocalUnitName Uses

func (mr *MockRelationStateTrackerMockRecorder) LocalUnitName() *gomock.Call

LocalUnitName indicates an expected call of LocalUnitName

func (*MockRelationStateTrackerMockRecorder) Name Uses

func (mr *MockRelationStateTrackerMockRecorder) Name(arg0 interface{}) *gomock.Call

Name indicates an expected call of Name

func (*MockRelationStateTrackerMockRecorder) PrepareHook Uses

func (mr *MockRelationStateTrackerMockRecorder) PrepareHook(arg0 interface{}) *gomock.Call

PrepareHook indicates an expected call of PrepareHook

func (*MockRelationStateTrackerMockRecorder) RelationCreated Uses

func (mr *MockRelationStateTrackerMockRecorder) RelationCreated(arg0 interface{}) *gomock.Call

RelationCreated indicates an expected call of RelationCreated

func (*MockRelationStateTrackerMockRecorder) RemoteApplication Uses

func (mr *MockRelationStateTrackerMockRecorder) RemoteApplication(arg0 interface{}) *gomock.Call

RemoteApplication indicates an expected call of RemoteApplication

func (*MockRelationStateTrackerMockRecorder) State Uses

func (mr *MockRelationStateTrackerMockRecorder) State(arg0 interface{}) *gomock.Call

State indicates an expected call of State

func (*MockRelationStateTrackerMockRecorder) StateFound Uses

func (mr *MockRelationStateTrackerMockRecorder) StateFound(arg0 interface{}) *gomock.Call

StateFound indicates an expected call of StateFound

func (*MockRelationStateTrackerMockRecorder) SynchronizeScopes Uses

func (mr *MockRelationStateTrackerMockRecorder) SynchronizeScopes(arg0 interface{}) *gomock.Call

SynchronizeScopes indicates an expected call of SynchronizeScopes

type MockRelationUnit Uses

type MockRelationUnit struct {
    // contains filtered or unexported fields
}

MockRelationUnit is a mock of RelationUnit interface

func NewMockRelationUnit Uses

func NewMockRelationUnit(ctrl *gomock.Controller) *MockRelationUnit

NewMockRelationUnit creates a new mock instance

func (*MockRelationUnit) ApplicationSettings Uses

func (m *MockRelationUnit) ApplicationSettings() (*uniter.Settings, error)

ApplicationSettings mocks base method

func (*MockRelationUnit) EXPECT Uses

func (m *MockRelationUnit) EXPECT() *MockRelationUnitMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockRelationUnit) Endpoint Uses

func (m *MockRelationUnit) Endpoint() uniter.Endpoint

Endpoint mocks base method

func (*MockRelationUnit) EnterScope Uses

func (m *MockRelationUnit) EnterScope() error

EnterScope mocks base method

func (*MockRelationUnit) LeaveScope Uses

func (m *MockRelationUnit) LeaveScope() error

LeaveScope mocks base method

func (*MockRelationUnit) ReadSettings Uses

func (m *MockRelationUnit) ReadSettings(arg0 string) (params.Settings, error)

ReadSettings mocks base method

func (*MockRelationUnit) Relation Uses

func (m *MockRelationUnit) Relation() relation0.Relation

Relation mocks base method

func (*MockRelationUnit) Settings Uses

func (m *MockRelationUnit) Settings() (*uniter.Settings, error)

Settings mocks base method

func (*MockRelationUnit) UpdateRelationSettings Uses

func (m *MockRelationUnit) UpdateRelationSettings(arg0, arg1 params.Settings) error

UpdateRelationSettings mocks base method

type MockRelationUnitMockRecorder Uses

type MockRelationUnitMockRecorder struct {
    // contains filtered or unexported fields
}

MockRelationUnitMockRecorder is the mock recorder for MockRelationUnit

func (*MockRelationUnitMockRecorder) ApplicationSettings Uses

func (mr *MockRelationUnitMockRecorder) ApplicationSettings() *gomock.Call

ApplicationSettings indicates an expected call of ApplicationSettings

func (*MockRelationUnitMockRecorder) Endpoint Uses

func (mr *MockRelationUnitMockRecorder) Endpoint() *gomock.Call

Endpoint indicates an expected call of Endpoint

func (*MockRelationUnitMockRecorder) EnterScope Uses

func (mr *MockRelationUnitMockRecorder) EnterScope() *gomock.Call

EnterScope indicates an expected call of EnterScope

func (*MockRelationUnitMockRecorder) LeaveScope Uses

func (mr *MockRelationUnitMockRecorder) LeaveScope() *gomock.Call

LeaveScope indicates an expected call of LeaveScope

func (*MockRelationUnitMockRecorder) ReadSettings Uses

func (mr *MockRelationUnitMockRecorder) ReadSettings(arg0 interface{}) *gomock.Call

ReadSettings indicates an expected call of ReadSettings

func (*MockRelationUnitMockRecorder) Relation Uses

func (mr *MockRelationUnitMockRecorder) Relation() *gomock.Call

Relation indicates an expected call of Relation

func (*MockRelationUnitMockRecorder) Settings Uses

func (mr *MockRelationUnitMockRecorder) Settings() *gomock.Call

Settings indicates an expected call of Settings

func (*MockRelationUnitMockRecorder) UpdateRelationSettings Uses

func (mr *MockRelationUnitMockRecorder) UpdateRelationSettings(arg0, arg1 interface{}) *gomock.Call

UpdateRelationSettings indicates an expected call of UpdateRelationSettings

type MockRelationer Uses

type MockRelationer struct {
    // contains filtered or unexported fields
}

MockRelationer is a mock of Relationer interface

func NewMockRelationer Uses

func NewMockRelationer(ctrl *gomock.Controller) *MockRelationer

NewMockRelationer creates a new mock instance

func (*MockRelationer) CommitHook Uses

func (m *MockRelationer) CommitHook(arg0 hook.Info) error

CommitHook mocks base method

func (*MockRelationer) ContextInfo Uses

func (m *MockRelationer) ContextInfo() *context.RelationInfo

ContextInfo mocks base method

func (*MockRelationer) EXPECT Uses

func (m *MockRelationer) EXPECT() *MockRelationerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockRelationer) IsDying Uses

func (m *MockRelationer) IsDying() bool

IsDying mocks base method

func (*MockRelationer) IsImplicit Uses

func (m *MockRelationer) IsImplicit() bool

IsImplicit mocks base method

func (*MockRelationer) Join Uses

func (m *MockRelationer) Join() error

Join mocks base method

func (*MockRelationer) PrepareHook Uses

func (m *MockRelationer) PrepareHook(arg0 hook.Info) (string, error)

PrepareHook mocks base method

func (*MockRelationer) RelationUnit Uses

func (m *MockRelationer) RelationUnit() relation.RelationUnit

RelationUnit mocks base method

func (*MockRelationer) SetDying Uses

func (m *MockRelationer) SetDying() error

SetDying mocks base method

type MockRelationerMockRecorder Uses

type MockRelationerMockRecorder struct {
    // contains filtered or unexported fields
}

MockRelationerMockRecorder is the mock recorder for MockRelationer

func (*MockRelationerMockRecorder) CommitHook Uses

func (mr *MockRelationerMockRecorder) CommitHook(arg0 interface{}) *gomock.Call

CommitHook indicates an expected call of CommitHook

func (*MockRelationerMockRecorder) ContextInfo Uses

func (mr *MockRelationerMockRecorder) ContextInfo() *gomock.Call

ContextInfo indicates an expected call of ContextInfo

func (*MockRelationerMockRecorder) IsDying Uses

func (mr *MockRelationerMockRecorder) IsDying() *gomock.Call

IsDying indicates an expected call of IsDying

func (*MockRelationerMockRecorder) IsImplicit Uses

func (mr *MockRelationerMockRecorder) IsImplicit() *gomock.Call

IsImplicit indicates an expected call of IsImplicit

func (*MockRelationerMockRecorder) Join Uses

func (mr *MockRelationerMockRecorder) Join() *gomock.Call

Join indicates an expected call of Join

func (*MockRelationerMockRecorder) PrepareHook Uses

func (mr *MockRelationerMockRecorder) PrepareHook(arg0 interface{}) *gomock.Call

PrepareHook indicates an expected call of PrepareHook

func (*MockRelationerMockRecorder) RelationUnit Uses

func (mr *MockRelationerMockRecorder) RelationUnit() *gomock.Call

RelationUnit indicates an expected call of RelationUnit

func (*MockRelationerMockRecorder) SetDying Uses

func (mr *MockRelationerMockRecorder) SetDying() *gomock.Call

SetDying indicates an expected call of SetDying

type MockStateManager Uses

type MockStateManager struct {
    // contains filtered or unexported fields
}

MockStateManager is a mock of StateManager interface

func NewMockStateManager Uses

func NewMockStateManager(ctrl *gomock.Controller) *MockStateManager

NewMockStateManager creates a new mock instance

func (*MockStateManager) EXPECT Uses

func (m *MockStateManager) EXPECT() *MockStateManagerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockStateManager) KnownIDs Uses

func (m *MockStateManager) KnownIDs() []int

KnownIDs mocks base method

func (*MockStateManager) Relation Uses

func (m *MockStateManager) Relation(arg0 int) (*relation.State, error)

Relation mocks base method

func (*MockStateManager) RelationFound Uses

func (m *MockStateManager) RelationFound(arg0 int) bool

RelationFound mocks base method

func (*MockStateManager) RemoveRelation Uses

func (m *MockStateManager) RemoveRelation(arg0 int) error

RemoveRelation mocks base method

func (*MockStateManager) SetRelation Uses

func (m *MockStateManager) SetRelation(arg0 *relation.State) error

SetRelation mocks base method

type MockStateManagerMockRecorder Uses

type MockStateManagerMockRecorder struct {
    // contains filtered or unexported fields
}

MockStateManagerMockRecorder is the mock recorder for MockStateManager

func (*MockStateManagerMockRecorder) KnownIDs Uses

func (mr *MockStateManagerMockRecorder) KnownIDs() *gomock.Call

KnownIDs indicates an expected call of KnownIDs

func (*MockStateManagerMockRecorder) Relation Uses

func (mr *MockStateManagerMockRecorder) Relation(arg0 interface{}) *gomock.Call

Relation indicates an expected call of Relation

func (*MockStateManagerMockRecorder) RelationFound Uses

func (mr *MockStateManagerMockRecorder) RelationFound(arg0 interface{}) *gomock.Call

RelationFound indicates an expected call of RelationFound

func (*MockStateManagerMockRecorder) RemoveRelation Uses

func (mr *MockStateManagerMockRecorder) RemoveRelation(arg0 interface{}) *gomock.Call

RemoveRelation indicates an expected call of RemoveRelation

func (*MockStateManagerMockRecorder) SetRelation Uses

func (mr *MockStateManagerMockRecorder) SetRelation(arg0 interface{}) *gomock.Call

SetRelation indicates an expected call of SetRelation

type MockStateTrackerState Uses

type MockStateTrackerState struct {
    // contains filtered or unexported fields
}

MockStateTrackerState is a mock of StateTrackerState interface

func NewMockStateTrackerState Uses

func NewMockStateTrackerState(ctrl *gomock.Controller) *MockStateTrackerState

NewMockStateTrackerState creates a new mock instance

func (*MockStateTrackerState) EXPECT Uses

func (m *MockStateTrackerState) EXPECT() *MockStateTrackerStateMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockStateTrackerState) Relation Uses

func (m *MockStateTrackerState) Relation(arg0 names.RelationTag) (relation.Relation, error)

Relation mocks base method

func (*MockStateTrackerState) RelationById Uses

func (m *MockStateTrackerState) RelationById(arg0 int) (relation.Relation, error)

RelationById mocks base method

type MockStateTrackerStateMockRecorder Uses

type MockStateTrackerStateMockRecorder struct {
    // contains filtered or unexported fields
}

MockStateTrackerStateMockRecorder is the mock recorder for MockStateTrackerState

func (*MockStateTrackerStateMockRecorder) Relation Uses

func (mr *MockStateTrackerStateMockRecorder) Relation(arg0 interface{}) *gomock.Call

Relation indicates an expected call of Relation

func (*MockStateTrackerStateMockRecorder) RelationById Uses

func (mr *MockStateTrackerStateMockRecorder) RelationById(arg0 interface{}) *gomock.Call

RelationById indicates an expected call of RelationById

type MockSubordinateDestroyer Uses

type MockSubordinateDestroyer struct {
    // contains filtered or unexported fields
}

MockSubordinateDestroyer is a mock of SubordinateDestroyer interface

func NewMockSubordinateDestroyer Uses

func NewMockSubordinateDestroyer(ctrl *gomock.Controller) *MockSubordinateDestroyer

NewMockSubordinateDestroyer creates a new mock instance

func (*MockSubordinateDestroyer) DestroyAllSubordinates Uses

func (m *MockSubordinateDestroyer) DestroyAllSubordinates() error

DestroyAllSubordinates mocks base method

func (*MockSubordinateDestroyer) EXPECT Uses

func (m *MockSubordinateDestroyer) EXPECT() *MockSubordinateDestroyerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

type MockSubordinateDestroyerMockRecorder Uses

type MockSubordinateDestroyerMockRecorder struct {
    // contains filtered or unexported fields
}

MockSubordinateDestroyerMockRecorder is the mock recorder for MockSubordinateDestroyer

func (*MockSubordinateDestroyerMockRecorder) DestroyAllSubordinates Uses

func (mr *MockSubordinateDestroyerMockRecorder) DestroyAllSubordinates() *gomock.Call

DestroyAllSubordinates indicates an expected call of DestroyAllSubordinates

type MockUnit Uses

type MockUnit struct {
    // contains filtered or unexported fields
}

MockUnit is a mock of Unit interface

func NewMockUnit Uses

func NewMockUnit(ctrl *gomock.Controller) *MockUnit

NewMockUnit creates a new mock instance

func (*MockUnit) Application Uses

func (m *MockUnit) Application() (relation0.Application, error)

Application mocks base method

func (*MockUnit) ApplicationTag Uses

func (m *MockUnit) ApplicationTag() names.ApplicationTag

ApplicationTag mocks base method

func (*MockUnit) Destroy Uses

func (m *MockUnit) Destroy() error

Destroy mocks base method

func (*MockUnit) EXPECT Uses

func (m *MockUnit) EXPECT() *MockUnitMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockUnit) Life Uses

func (m *MockUnit) Life() life.Value

Life mocks base method

func (*MockUnit) Name Uses

func (m *MockUnit) Name() string

Name mocks base method

func (*MockUnit) Refresh Uses

func (m *MockUnit) Refresh() error

Refresh mocks base method

func (*MockUnit) RelationsStatus Uses

func (m *MockUnit) RelationsStatus() ([]uniter.RelationStatus, error)

RelationsStatus mocks base method

func (*MockUnit) SetState Uses

func (m *MockUnit) SetState(arg0 params.SetUnitStateArg) error

SetState mocks base method

func (*MockUnit) State Uses

func (m *MockUnit) State() (params.UnitStateResult, error)

State mocks base method

func (*MockUnit) Tag Uses

func (m *MockUnit) Tag() names.UnitTag

Tag mocks base method

func (*MockUnit) Watch Uses

func (m *MockUnit) Watch() (watcher.NotifyWatcher, error)

Watch mocks base method

type MockUnitMockRecorder Uses

type MockUnitMockRecorder struct {
    // contains filtered or unexported fields
}

MockUnitMockRecorder is the mock recorder for MockUnit

func (*MockUnitMockRecorder) Application Uses

func (mr *MockUnitMockRecorder) Application() *gomock.Call

Application indicates an expected call of Application

func (*MockUnitMockRecorder) ApplicationTag Uses

func (mr *MockUnitMockRecorder) ApplicationTag() *gomock.Call

ApplicationTag indicates an expected call of ApplicationTag

func (*MockUnitMockRecorder) Destroy Uses

func (mr *MockUnitMockRecorder) Destroy() *gomock.Call

Destroy indicates an expected call of Destroy

func (*MockUnitMockRecorder) Life Uses

func (mr *MockUnitMockRecorder) Life() *gomock.Call

Life indicates an expected call of Life

func (*MockUnitMockRecorder) Name Uses

func (mr *MockUnitMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name

func (*MockUnitMockRecorder) Refresh Uses

func (mr *MockUnitMockRecorder) Refresh() *gomock.Call

Refresh indicates an expected call of Refresh

func (*MockUnitMockRecorder) RelationsStatus Uses

func (mr *MockUnitMockRecorder) RelationsStatus() *gomock.Call

RelationsStatus indicates an expected call of RelationsStatus

func (*MockUnitMockRecorder) SetState Uses

func (mr *MockUnitMockRecorder) SetState(arg0 interface{}) *gomock.Call

SetState indicates an expected call of SetState

func (*MockUnitMockRecorder) State Uses

func (mr *MockUnitMockRecorder) State() *gomock.Call

State indicates an expected call of State

func (*MockUnitMockRecorder) Tag Uses

func (mr *MockUnitMockRecorder) Tag() *gomock.Call

Tag indicates an expected call of Tag

func (*MockUnitMockRecorder) Watch Uses

func (mr *MockUnitMockRecorder) Watch() *gomock.Call

Watch indicates an expected call of Watch

Package mocks imports 12 packages (graph). Updated 2020-06-13. Refresh now. Tools for package owners.