Documentation ¶
Overview ¶
Package route is a generated GoMock package.
Index ¶
- type MockNsxtBroker
- func (m *MockNsxtBroker) CreateStaticRoute(routerPath, routeID string, route model.StaticRoutes) error
- func (m *MockNsxtBroker) DeleteStaticRoute(routerPath, routeID string) error
- func (m *MockNsxtBroker) EXPECT() *MockNsxtBrokerMockRecorder
- func (m *MockNsxtBroker) ListRealizedEntities(path string) (model.GenericPolicyRealizedResourceListResult, error)
- func (m *MockNsxtBroker) QueryEntities(queryParam string) (model.SearchResponse, error)
- type MockNsxtBrokerMockRecorder
- func (mr *MockNsxtBrokerMockRecorder) CreateStaticRoute(routerPath, routeID, route interface{}) *gomock.Call
- func (mr *MockNsxtBrokerMockRecorder) DeleteStaticRoute(routerPath, routeID interface{}) *gomock.Call
- func (mr *MockNsxtBrokerMockRecorder) ListRealizedEntities(path interface{}) *gomock.Call
- func (mr *MockNsxtBrokerMockRecorder) QueryEntities(queryParam interface{}) *gomock.Call
- type NsxtBroker
- type RoutesProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockNsxtBroker ¶
type MockNsxtBroker struct {
// contains filtered or unexported fields
}
MockNsxtBroker is a mock of NsxtBroker interface
func NewMockNsxtBroker ¶
func NewMockNsxtBroker(ctrl *gomock.Controller) *MockNsxtBroker
NewMockNsxtBroker creates a new mock instance
func (*MockNsxtBroker) CreateStaticRoute ¶
func (m *MockNsxtBroker) CreateStaticRoute(routerPath, routeID string, route model.StaticRoutes) error
CreateStaticRoute mocks base method
func (*MockNsxtBroker) DeleteStaticRoute ¶
func (m *MockNsxtBroker) DeleteStaticRoute(routerPath, routeID string) error
DeleteStaticRoute mocks base method
func (*MockNsxtBroker) EXPECT ¶
func (m *MockNsxtBroker) EXPECT() *MockNsxtBrokerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockNsxtBroker) ListRealizedEntities ¶
func (m *MockNsxtBroker) ListRealizedEntities(path string) (model.GenericPolicyRealizedResourceListResult, error)
ListRealizedEntities mocks base method
func (*MockNsxtBroker) QueryEntities ¶
func (m *MockNsxtBroker) QueryEntities(queryParam string) (model.SearchResponse, error)
QueryEntities mocks base method
type MockNsxtBrokerMockRecorder ¶
type MockNsxtBrokerMockRecorder struct {
// contains filtered or unexported fields
}
MockNsxtBrokerMockRecorder is the mock recorder for MockNsxtBroker
func (*MockNsxtBrokerMockRecorder) CreateStaticRoute ¶
func (mr *MockNsxtBrokerMockRecorder) CreateStaticRoute(routerPath, routeID, route interface{}) *gomock.Call
CreateStaticRoute indicates an expected call of CreateStaticRoute
func (*MockNsxtBrokerMockRecorder) DeleteStaticRoute ¶
func (mr *MockNsxtBrokerMockRecorder) DeleteStaticRoute(routerPath, routeID interface{}) *gomock.Call
DeleteStaticRoute indicates an expected call of DeleteStaticRoute
func (*MockNsxtBrokerMockRecorder) ListRealizedEntities ¶
func (mr *MockNsxtBrokerMockRecorder) ListRealizedEntities(path interface{}) *gomock.Call
ListRealizedEntities indicates an expected call of ListRealizedEntities
func (*MockNsxtBrokerMockRecorder) QueryEntities ¶
func (mr *MockNsxtBrokerMockRecorder) QueryEntities(queryParam interface{}) *gomock.Call
QueryEntities indicates an expected call of QueryEntities
type NsxtBroker ¶
type NsxtBroker interface { QueryEntities(queryParam string) (model.SearchResponse, error) CreateStaticRoute(routerPath string, staticRouteID string, staticRoute model.StaticRoutes) error DeleteStaticRoute(routerPath string, staticRouteID string) error ListRealizedEntities(path string) (model.GenericPolicyRealizedResourceListResult, error) }
NsxtBroker is an internal interface to access nsxt backend
func NewNsxtBroker ¶
func NewNsxtBroker(connector client.Connector) (NsxtBroker, error)
NewNsxtBroker creates a new NsxtBroker to the NSXT API
type RoutesProvider ¶
RoutesProvider is the interface for route functionality
func NewRouteProvider ¶
NewRouteProvider creates a new RouteProvider