Documentation
¶
Overview ¶
Package agent is a generated GoMock package.
Index ¶
- type MockActionStatter
- func (m *MockActionStatter) Calls() int
- func (m *MockActionStatter) EXPECT() *MockActionStatterMockRecorder
- func (m *MockActionStatter) QValueRaw() float64
- func (m *MockActionStatter) QValueWeighted() float64
- func (m *MockActionStatter) SetCalls(arg0 int)
- func (m *MockActionStatter) SetQValueRaw(arg0 float64)
- func (m *MockActionStatter) SetQValueWeighted(arg0 float64)
- type MockActionStatterMockRecorder
- func (mr *MockActionStatterMockRecorder) Calls() *gomock.Call
- func (mr *MockActionStatterMockRecorder) QValueRaw() *gomock.Call
- func (mr *MockActionStatterMockRecorder) QValueWeighted() *gomock.Call
- func (mr *MockActionStatterMockRecorder) SetCalls(arg0 interface{}) *gomock.Call
- func (mr *MockActionStatterMockRecorder) SetQValueRaw(arg0 interface{}) *gomock.Call
- func (mr *MockActionStatterMockRecorder) SetQValueWeighted(arg0 interface{}) *gomock.Call
- type MockActioner
- type MockActionerMockRecorder
- type MockStater
- func (m *MockStater) ActionIsCompatible(arg0 iface.Actioner) bool
- func (m *MockStater) Apply(arg0 iface.Actioner) error
- func (m *MockStater) EXPECT() *MockStaterMockRecorder
- func (m *MockStater) GetAction(arg0 string) (iface.Actioner, error)
- func (m *MockStater) ID() string
- func (m *MockStater) PossibleActions() []iface.Actioner
- type MockStaterMockRecorder
- func (mr *MockStaterMockRecorder) ActionIsCompatible(arg0 interface{}) *gomock.Call
- func (mr *MockStaterMockRecorder) Apply(arg0 interface{}) *gomock.Call
- func (mr *MockStaterMockRecorder) GetAction(arg0 interface{}) *gomock.Call
- func (mr *MockStaterMockRecorder) ID() *gomock.Call
- func (mr *MockStaterMockRecorder) PossibleActions() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockActionStatter ¶
type MockActionStatter struct {
// contains filtered or unexported fields
}
MockActionStatter is a mock of ActionStatter interface
func NewMockActionStatter ¶
func NewMockActionStatter(ctrl *gomock.Controller) *MockActionStatter
NewMockActionStatter creates a new mock instance
func (*MockActionStatter) EXPECT ¶
func (m *MockActionStatter) EXPECT() *MockActionStatterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockActionStatter) QValueRaw ¶
func (m *MockActionStatter) QValueRaw() float64
QValueRaw mocks base method
func (*MockActionStatter) QValueWeighted ¶
func (m *MockActionStatter) QValueWeighted() float64
QValueWeighted mocks base method
func (*MockActionStatter) SetCalls ¶
func (m *MockActionStatter) SetCalls(arg0 int)
SetCalls mocks base method
func (*MockActionStatter) SetQValueRaw ¶
func (m *MockActionStatter) SetQValueRaw(arg0 float64)
SetQValueRaw mocks base method
func (*MockActionStatter) SetQValueWeighted ¶
func (m *MockActionStatter) SetQValueWeighted(arg0 float64)
SetQValueWeighted mocks base method
type MockActionStatterMockRecorder ¶
type MockActionStatterMockRecorder struct {
// contains filtered or unexported fields
}
MockActionStatterMockRecorder is the mock recorder for MockActionStatter
func (*MockActionStatterMockRecorder) Calls ¶
func (mr *MockActionStatterMockRecorder) Calls() *gomock.Call
Calls indicates an expected call of Calls
func (*MockActionStatterMockRecorder) QValueRaw ¶
func (mr *MockActionStatterMockRecorder) QValueRaw() *gomock.Call
QValueRaw indicates an expected call of QValueRaw
func (*MockActionStatterMockRecorder) QValueWeighted ¶
func (mr *MockActionStatterMockRecorder) QValueWeighted() *gomock.Call
QValueWeighted indicates an expected call of QValueWeighted
func (*MockActionStatterMockRecorder) SetCalls ¶
func (mr *MockActionStatterMockRecorder) SetCalls(arg0 interface{}) *gomock.Call
SetCalls indicates an expected call of SetCalls
func (*MockActionStatterMockRecorder) SetQValueRaw ¶
func (mr *MockActionStatterMockRecorder) SetQValueRaw(arg0 interface{}) *gomock.Call
SetQValueRaw indicates an expected call of SetQValueRaw
func (*MockActionStatterMockRecorder) SetQValueWeighted ¶
func (mr *MockActionStatterMockRecorder) SetQValueWeighted(arg0 interface{}) *gomock.Call
SetQValueWeighted indicates an expected call of SetQValueWeighted
type MockActioner ¶
type MockActioner struct {
// contains filtered or unexported fields
}
MockActioner is a mock of Actioner interface
func NewMockActioner ¶
func NewMockActioner(ctrl *gomock.Controller) *MockActioner
NewMockActioner creates a new mock instance
func (*MockActioner) EXPECT ¶
func (m *MockActioner) EXPECT() *MockActionerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockActionerMockRecorder ¶
type MockActionerMockRecorder struct {
// contains filtered or unexported fields
}
MockActionerMockRecorder is the mock recorder for MockActioner
func (*MockActionerMockRecorder) ID ¶
func (mr *MockActionerMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID
type MockStater ¶
type MockStater struct {
// contains filtered or unexported fields
}
MockStater is a mock of Stater interface
func NewMockStater ¶
func NewMockStater(ctrl *gomock.Controller) *MockStater
NewMockStater creates a new mock instance
func (*MockStater) ActionIsCompatible ¶
func (m *MockStater) ActionIsCompatible(arg0 iface.Actioner) bool
ActionIsCompatible mocks base method
func (*MockStater) Apply ¶
func (m *MockStater) Apply(arg0 iface.Actioner) error
Apply mocks base method
func (*MockStater) EXPECT ¶
func (m *MockStater) EXPECT() *MockStaterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStater) GetAction ¶
func (m *MockStater) GetAction(arg0 string) (iface.Actioner, error)
GetAction mocks base method
func (*MockStater) PossibleActions ¶
func (m *MockStater) PossibleActions() []iface.Actioner
PossibleActions mocks base method
type MockStaterMockRecorder ¶
type MockStaterMockRecorder struct {
// contains filtered or unexported fields
}
MockStaterMockRecorder is the mock recorder for MockStater
func (*MockStaterMockRecorder) ActionIsCompatible ¶
func (mr *MockStaterMockRecorder) ActionIsCompatible(arg0 interface{}) *gomock.Call
ActionIsCompatible indicates an expected call of ActionIsCompatible
func (*MockStaterMockRecorder) Apply ¶
func (mr *MockStaterMockRecorder) Apply(arg0 interface{}) *gomock.Call
Apply indicates an expected call of Apply
func (*MockStaterMockRecorder) GetAction ¶
func (mr *MockStaterMockRecorder) GetAction(arg0 interface{}) *gomock.Call
GetAction indicates an expected call of GetAction
func (*MockStaterMockRecorder) ID ¶
func (mr *MockStaterMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID
func (*MockStaterMockRecorder) PossibleActions ¶
func (mr *MockStaterMockRecorder) PossibleActions() *gomock.Call
PossibleActions indicates an expected call of PossibleActions