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

package mocks

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

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Package Files

mock_statetracker.go mock_subordinate_destroyer.go

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 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

Package mocks imports 7 packages (graph). Updated 2020-04-19. Refresh now. Tools for package owners.