Documentation ¶
Overview ¶
Package mock_pathmgr is a generated GoMock package.
Index ¶
- type MockPolicy
- type MockPolicyMockRecorder
- type MockQuerier
- type MockQuerierMockRecorder
- type MockResolver
- func (m *MockResolver) EXPECT() *MockResolverMockRecorder
- func (m *MockResolver) Query(arg0 context.Context, arg1, arg2 addr.IA, arg3 sciond.PathReqFlags) spathmeta.AppPathSet
- func (m *MockResolver) QueryFilter(arg0 context.Context, arg1, arg2 addr.IA, arg3 pathmgr.Policy) spathmeta.AppPathSet
- func (m *MockResolver) Revoke(arg0 context.Context, arg1 *path_mgmt.SignedRevInfo)
- func (m *MockResolver) RevokeRaw(arg0 context.Context, arg1 common.RawBytes)
- func (m *MockResolver) Sciond() sciond.Connector
- func (m *MockResolver) Watch(arg0 context.Context, arg1, arg2 addr.IA) (*pathmgr.SyncPaths, error)
- func (m *MockResolver) WatchCount() int
- func (m *MockResolver) WatchFilter(arg0 context.Context, arg1, arg2 addr.IA, arg3 pathmgr.Policy) (*pathmgr.SyncPaths, error)
- type MockResolverMockRecorder
- func (mr *MockResolverMockRecorder) Query(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockResolverMockRecorder) QueryFilter(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockResolverMockRecorder) Revoke(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResolverMockRecorder) RevokeRaw(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResolverMockRecorder) Sciond() *gomock.Call
- func (mr *MockResolverMockRecorder) Watch(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockResolverMockRecorder) WatchCount() *gomock.Call
- func (mr *MockResolverMockRecorder) WatchFilter(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPolicy ¶
type MockPolicy struct {
// contains filtered or unexported fields
}
MockPolicy is a mock of Policy interface
func NewMockPolicy ¶
func NewMockPolicy(ctrl *gomock.Controller) *MockPolicy
NewMockPolicy creates a new mock instance
func (*MockPolicy) EXPECT ¶
func (m *MockPolicy) EXPECT() *MockPolicyMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockPolicyMockRecorder ¶
type MockPolicyMockRecorder struct {
// contains filtered or unexported fields
}
MockPolicyMockRecorder is the mock recorder for MockPolicy
func (*MockPolicyMockRecorder) Filter ¶
func (mr *MockPolicyMockRecorder) Filter(arg0 interface{}) *gomock.Call
Filter indicates an expected call of Filter
type MockQuerier ¶
type MockQuerier struct {
// contains filtered or unexported fields
}
MockQuerier is a mock of Querier interface
func NewMockQuerier ¶
func NewMockQuerier(ctrl *gomock.Controller) *MockQuerier
NewMockQuerier creates a new mock instance
func (*MockQuerier) EXPECT ¶
func (m *MockQuerier) EXPECT() *MockQuerierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockQuerier) Query ¶
func (m *MockQuerier) Query(arg0 context.Context, arg1, arg2 addr.IA, arg3 sciond.PathReqFlags) spathmeta.AppPathSet
Query mocks base method
type MockQuerierMockRecorder ¶
type MockQuerierMockRecorder struct {
// contains filtered or unexported fields
}
MockQuerierMockRecorder is the mock recorder for MockQuerier
func (*MockQuerierMockRecorder) Query ¶
func (mr *MockQuerierMockRecorder) Query(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Query indicates an expected call of Query
type MockResolver ¶
type MockResolver struct {
// contains filtered or unexported fields
}
MockResolver is a mock of Resolver interface
func NewMockResolver ¶
func NewMockResolver(ctrl *gomock.Controller) *MockResolver
NewMockResolver creates a new mock instance
func (*MockResolver) EXPECT ¶
func (m *MockResolver) EXPECT() *MockResolverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockResolver) Query ¶
func (m *MockResolver) Query(arg0 context.Context, arg1, arg2 addr.IA, arg3 sciond.PathReqFlags) spathmeta.AppPathSet
Query mocks base method
func (*MockResolver) QueryFilter ¶
func (m *MockResolver) QueryFilter(arg0 context.Context, arg1, arg2 addr.IA, arg3 pathmgr.Policy) spathmeta.AppPathSet
QueryFilter mocks base method
func (*MockResolver) Revoke ¶
func (m *MockResolver) Revoke(arg0 context.Context, arg1 *path_mgmt.SignedRevInfo)
Revoke mocks base method
func (*MockResolver) RevokeRaw ¶
func (m *MockResolver) RevokeRaw(arg0 context.Context, arg1 common.RawBytes)
RevokeRaw mocks base method
func (*MockResolver) Sciond ¶
func (m *MockResolver) Sciond() sciond.Connector
Sciond mocks base method
func (*MockResolver) WatchCount ¶
func (m *MockResolver) WatchCount() int
WatchCount mocks base method
type MockResolverMockRecorder ¶
type MockResolverMockRecorder struct {
// contains filtered or unexported fields
}
MockResolverMockRecorder is the mock recorder for MockResolver
func (*MockResolverMockRecorder) Query ¶
func (mr *MockResolverMockRecorder) Query(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Query indicates an expected call of Query
func (*MockResolverMockRecorder) QueryFilter ¶
func (mr *MockResolverMockRecorder) QueryFilter(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
QueryFilter indicates an expected call of QueryFilter
func (*MockResolverMockRecorder) Revoke ¶
func (mr *MockResolverMockRecorder) Revoke(arg0, arg1 interface{}) *gomock.Call
Revoke indicates an expected call of Revoke
func (*MockResolverMockRecorder) RevokeRaw ¶
func (mr *MockResolverMockRecorder) RevokeRaw(arg0, arg1 interface{}) *gomock.Call
RevokeRaw indicates an expected call of RevokeRaw
func (*MockResolverMockRecorder) Sciond ¶
func (mr *MockResolverMockRecorder) Sciond() *gomock.Call
Sciond indicates an expected call of Sciond
func (*MockResolverMockRecorder) Watch ¶
func (mr *MockResolverMockRecorder) Watch(arg0, arg1, arg2 interface{}) *gomock.Call
Watch indicates an expected call of Watch
func (*MockResolverMockRecorder) WatchCount ¶
func (mr *MockResolverMockRecorder) WatchCount() *gomock.Call
WatchCount indicates an expected call of WatchCount
func (*MockResolverMockRecorder) WatchFilter ¶
func (mr *MockResolverMockRecorder) WatchFilter(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
WatchFilter indicates an expected call of WatchFilter