Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockBackend
- func (m *MockBackend) DeleteGateway(ctx context.Context, id core.GatewayID) error
- func (m *MockBackend) DeleteRoute(ctx context.Context, id string) error
- func (m *MockBackend) EXPECT() *MockBackendMockRecorder
- func (m *MockBackend) GetGateway(ctx context.Context, id core.GatewayID) ([]byte, error)
- func (m *MockBackend) GetRoute(ctx context.Context, id string) ([]byte, error)
- func (m *MockBackend) ListGateways(ctx context.Context) ([][]byte, error)
- func (m *MockBackend) ListRoutes(ctx context.Context) ([][]byte, error)
- func (m *MockBackend) UpsertGateways(ctx context.Context, gateways ...store.GatewayRecord) error
- func (m *MockBackend) UpsertRoutes(ctx context.Context, routes ...store.RouteRecord) error
- type MockBackendMockRecorder
- func (mr *MockBackendMockRecorder) DeleteGateway(ctx, id interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) DeleteRoute(ctx, id interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) GetGateway(ctx, id interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) GetRoute(ctx, id interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) ListGateways(ctx interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) ListRoutes(ctx interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) UpsertGateways(ctx interface{}, gateways ...interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) UpsertRoutes(ctx interface{}, routes ...interface{}) *gomock.Call
- type MockBinder
- type MockBinderMockRecorder
- type MockGateway
- type MockGatewayMockRecorder
- type MockMarshaler
- func (m *MockMarshaler) EXPECT() *MockMarshalerMockRecorder
- func (m *MockMarshaler) MarshalGateway(arg0 store.Gateway) ([]byte, error)
- func (m *MockMarshaler) MarshalRoute(arg0 store.Route) ([]byte, error)
- func (m *MockMarshaler) UnmarshalGateway(data []byte) (store.Gateway, error)
- func (m *MockMarshaler) UnmarshalRoute(data []byte) (store.Route, error)
- type MockMarshalerMockRecorder
- func (mr *MockMarshalerMockRecorder) MarshalGateway(arg0 interface{}) *gomock.Call
- func (mr *MockMarshalerMockRecorder) MarshalRoute(arg0 interface{}) *gomock.Call
- func (mr *MockMarshalerMockRecorder) UnmarshalGateway(data interface{}) *gomock.Call
- func (mr *MockMarshalerMockRecorder) UnmarshalRoute(data interface{}) *gomock.Call
- type MockReadStore
- func (m *MockReadStore) EXPECT() *MockReadStoreMockRecorder
- func (m *MockReadStore) GetGateway(ctx context.Context, id core.GatewayID) (store.Gateway, error)
- func (m *MockReadStore) GetRoute(ctx context.Context, id string) (store.Route, error)
- func (m *MockReadStore) ListGateways(ctx context.Context) ([]store.Gateway, error)
- func (m *MockReadStore) ListRoutes(ctx context.Context) ([]store.Route, error)
- type MockReadStoreMockRecorder
- func (mr *MockReadStoreMockRecorder) GetGateway(ctx, id interface{}) *gomock.Call
- func (mr *MockReadStoreMockRecorder) GetRoute(ctx, id interface{}) *gomock.Call
- func (mr *MockReadStoreMockRecorder) ListGateways(ctx interface{}) *gomock.Call
- func (mr *MockReadStoreMockRecorder) ListRoutes(ctx interface{}) *gomock.Call
- type MockRoute
- type MockRouteMockRecorder
- type MockStatusUpdater
- type MockStatusUpdaterMockRecorder
- type MockStore
- func (m *MockStore) DeleteGateway(ctx context.Context, id core.GatewayID) error
- func (m *MockStore) DeleteRoute(ctx context.Context, id string) error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) GetGateway(ctx context.Context, id core.GatewayID) (store.Gateway, error)
- func (m *MockStore) GetRoute(ctx context.Context, id string) (store.Route, error)
- func (m *MockStore) ListGateways(ctx context.Context) ([]store.Gateway, error)
- func (m *MockStore) ListRoutes(ctx context.Context) ([]store.Route, error)
- func (m *MockStore) SyncAllAtInterval(ctx context.Context)
- func (m *MockStore) UpsertGateway(ctx context.Context, gateway store.Gateway, ...) error
- func (m *MockStore) UpsertRoute(ctx context.Context, route store.Route, ...) error
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) DeleteGateway(ctx, id interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteRoute(ctx, id interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetGateway(ctx, id interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetRoute(ctx, id interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListGateways(ctx interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListRoutes(ctx interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SyncAllAtInterval(ctx interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpsertGateway(ctx, gateway, updateConditionFn interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpsertRoute(ctx, route, updateConditionFn interface{}) *gomock.Call
- type MockWriteStore
- func (m *MockWriteStore) DeleteGateway(ctx context.Context, id core.GatewayID) error
- func (m *MockWriteStore) DeleteRoute(ctx context.Context, id string) error
- func (m *MockWriteStore) EXPECT() *MockWriteStoreMockRecorder
- func (m *MockWriteStore) SyncAllAtInterval(ctx context.Context)
- func (m *MockWriteStore) UpsertGateway(ctx context.Context, gateway store.Gateway, ...) error
- func (m *MockWriteStore) UpsertRoute(ctx context.Context, route store.Route, ...) error
- type MockWriteStoreMockRecorder
- func (mr *MockWriteStoreMockRecorder) DeleteGateway(ctx, id interface{}) *gomock.Call
- func (mr *MockWriteStoreMockRecorder) DeleteRoute(ctx, id interface{}) *gomock.Call
- func (mr *MockWriteStoreMockRecorder) SyncAllAtInterval(ctx interface{}) *gomock.Call
- func (mr *MockWriteStoreMockRecorder) UpsertGateway(ctx, gateway, updateConditionFn interface{}) *gomock.Call
- func (mr *MockWriteStoreMockRecorder) UpsertRoute(ctx, route, updateConditionFn interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBackend ¶ added in v0.5.0
type MockBackend struct {
// contains filtered or unexported fields
}
MockBackend is a mock of Backend interface.
func NewMockBackend ¶ added in v0.5.0
func NewMockBackend(ctrl *gomock.Controller) *MockBackend
NewMockBackend creates a new mock instance.
func (*MockBackend) DeleteGateway ¶ added in v0.5.0
DeleteGateway mocks base method.
func (*MockBackend) DeleteRoute ¶ added in v0.5.0
func (m *MockBackend) DeleteRoute(ctx context.Context, id string) error
DeleteRoute mocks base method.
func (*MockBackend) EXPECT ¶ added in v0.5.0
func (m *MockBackend) EXPECT() *MockBackendMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBackend) GetGateway ¶ added in v0.5.0
GetGateway mocks base method.
func (*MockBackend) ListGateways ¶ added in v0.5.0
func (m *MockBackend) ListGateways(ctx context.Context) ([][]byte, error)
ListGateways mocks base method.
func (*MockBackend) ListRoutes ¶ added in v0.5.0
func (m *MockBackend) ListRoutes(ctx context.Context) ([][]byte, error)
ListRoutes mocks base method.
func (*MockBackend) UpsertGateways ¶ added in v0.5.0
func (m *MockBackend) UpsertGateways(ctx context.Context, gateways ...store.GatewayRecord) error
UpsertGateways mocks base method.
func (*MockBackend) UpsertRoutes ¶ added in v0.5.0
func (m *MockBackend) UpsertRoutes(ctx context.Context, routes ...store.RouteRecord) error
UpsertRoutes mocks base method.
type MockBackendMockRecorder ¶ added in v0.5.0
type MockBackendMockRecorder struct {
// contains filtered or unexported fields
}
MockBackendMockRecorder is the mock recorder for MockBackend.
func (*MockBackendMockRecorder) DeleteGateway ¶ added in v0.5.0
func (mr *MockBackendMockRecorder) DeleteGateway(ctx, id interface{}) *gomock.Call
DeleteGateway indicates an expected call of DeleteGateway.
func (*MockBackendMockRecorder) DeleteRoute ¶ added in v0.5.0
func (mr *MockBackendMockRecorder) DeleteRoute(ctx, id interface{}) *gomock.Call
DeleteRoute indicates an expected call of DeleteRoute.
func (*MockBackendMockRecorder) GetGateway ¶ added in v0.5.0
func (mr *MockBackendMockRecorder) GetGateway(ctx, id interface{}) *gomock.Call
GetGateway indicates an expected call of GetGateway.
func (*MockBackendMockRecorder) GetRoute ¶ added in v0.5.0
func (mr *MockBackendMockRecorder) GetRoute(ctx, id interface{}) *gomock.Call
GetRoute indicates an expected call of GetRoute.
func (*MockBackendMockRecorder) ListGateways ¶ added in v0.5.0
func (mr *MockBackendMockRecorder) ListGateways(ctx interface{}) *gomock.Call
ListGateways indicates an expected call of ListGateways.
func (*MockBackendMockRecorder) ListRoutes ¶ added in v0.5.0
func (mr *MockBackendMockRecorder) ListRoutes(ctx interface{}) *gomock.Call
ListRoutes indicates an expected call of ListRoutes.
func (*MockBackendMockRecorder) UpsertGateways ¶ added in v0.5.0
func (mr *MockBackendMockRecorder) UpsertGateways(ctx interface{}, gateways ...interface{}) *gomock.Call
UpsertGateways indicates an expected call of UpsertGateways.
func (*MockBackendMockRecorder) UpsertRoutes ¶ added in v0.5.0
func (mr *MockBackendMockRecorder) UpsertRoutes(ctx interface{}, routes ...interface{}) *gomock.Call
UpsertRoutes indicates an expected call of UpsertRoutes.
type MockBinder ¶ added in v0.5.0
type MockBinder struct {
// contains filtered or unexported fields
}
MockBinder is a mock of Binder interface.
func NewMockBinder ¶ added in v0.5.0
func NewMockBinder(ctrl *gomock.Controller) *MockBinder
NewMockBinder creates a new mock instance.
func (*MockBinder) EXPECT ¶ added in v0.5.0
func (m *MockBinder) EXPECT() *MockBinderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockBinderMockRecorder ¶ added in v0.5.0
type MockBinderMockRecorder struct {
// contains filtered or unexported fields
}
MockBinderMockRecorder is the mock recorder for MockBinder.
func (*MockBinderMockRecorder) Bind ¶ added in v0.5.0
func (mr *MockBinderMockRecorder) Bind(ctx, gateway, route interface{}) *gomock.Call
Bind indicates an expected call of Bind.
func (*MockBinderMockRecorder) Unbind ¶ added in v0.5.0
func (mr *MockBinderMockRecorder) Unbind(ctx, gateway, route interface{}) *gomock.Call
Unbind indicates an expected call of Unbind.
type MockGateway ¶
type MockGateway struct {
// contains filtered or unexported fields
}
MockGateway is a mock of Gateway interface.
func NewMockGateway ¶
func NewMockGateway(ctrl *gomock.Controller) *MockGateway
NewMockGateway creates a new mock instance.
func (*MockGateway) CanFetchSecrets ¶ added in v0.5.0
func (m *MockGateway) CanFetchSecrets(secrets []string) (bool, error)
CanFetchSecrets mocks base method.
func (*MockGateway) EXPECT ¶
func (m *MockGateway) EXPECT() *MockGatewayMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGateway) Resolve ¶ added in v0.5.0
func (m *MockGateway) Resolve() core.ResolvedGateway
Resolve mocks base method.
type MockGatewayMockRecorder ¶
type MockGatewayMockRecorder struct {
// contains filtered or unexported fields
}
MockGatewayMockRecorder is the mock recorder for MockGateway.
func (*MockGatewayMockRecorder) CanFetchSecrets ¶ added in v0.5.0
func (mr *MockGatewayMockRecorder) CanFetchSecrets(secrets interface{}) *gomock.Call
CanFetchSecrets indicates an expected call of CanFetchSecrets.
func (*MockGatewayMockRecorder) ID ¶
func (mr *MockGatewayMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID.
func (*MockGatewayMockRecorder) Resolve ¶ added in v0.5.0
func (mr *MockGatewayMockRecorder) Resolve() *gomock.Call
Resolve indicates an expected call of Resolve.
type MockMarshaler ¶ added in v0.5.0
type MockMarshaler struct {
// contains filtered or unexported fields
}
MockMarshaler is a mock of Marshaler interface.
func NewMockMarshaler ¶ added in v0.5.0
func NewMockMarshaler(ctrl *gomock.Controller) *MockMarshaler
NewMockMarshaler creates a new mock instance.
func (*MockMarshaler) EXPECT ¶ added in v0.5.0
func (m *MockMarshaler) EXPECT() *MockMarshalerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMarshaler) MarshalGateway ¶ added in v0.5.0
func (m *MockMarshaler) MarshalGateway(arg0 store.Gateway) ([]byte, error)
MarshalGateway mocks base method.
func (*MockMarshaler) MarshalRoute ¶ added in v0.5.0
func (m *MockMarshaler) MarshalRoute(arg0 store.Route) ([]byte, error)
MarshalRoute mocks base method.
func (*MockMarshaler) UnmarshalGateway ¶ added in v0.5.0
func (m *MockMarshaler) UnmarshalGateway(data []byte) (store.Gateway, error)
UnmarshalGateway mocks base method.
func (*MockMarshaler) UnmarshalRoute ¶ added in v0.5.0
func (m *MockMarshaler) UnmarshalRoute(data []byte) (store.Route, error)
UnmarshalRoute mocks base method.
type MockMarshalerMockRecorder ¶ added in v0.5.0
type MockMarshalerMockRecorder struct {
// contains filtered or unexported fields
}
MockMarshalerMockRecorder is the mock recorder for MockMarshaler.
func (*MockMarshalerMockRecorder) MarshalGateway ¶ added in v0.5.0
func (mr *MockMarshalerMockRecorder) MarshalGateway(arg0 interface{}) *gomock.Call
MarshalGateway indicates an expected call of MarshalGateway.
func (*MockMarshalerMockRecorder) MarshalRoute ¶ added in v0.5.0
func (mr *MockMarshalerMockRecorder) MarshalRoute(arg0 interface{}) *gomock.Call
MarshalRoute indicates an expected call of MarshalRoute.
func (*MockMarshalerMockRecorder) UnmarshalGateway ¶ added in v0.5.0
func (mr *MockMarshalerMockRecorder) UnmarshalGateway(data interface{}) *gomock.Call
UnmarshalGateway indicates an expected call of UnmarshalGateway.
func (*MockMarshalerMockRecorder) UnmarshalRoute ¶ added in v0.5.0
func (mr *MockMarshalerMockRecorder) UnmarshalRoute(data interface{}) *gomock.Call
UnmarshalRoute indicates an expected call of UnmarshalRoute.
type MockReadStore ¶ added in v0.5.0
type MockReadStore struct {
// contains filtered or unexported fields
}
MockReadStore is a mock of ReadStore interface.
func NewMockReadStore ¶ added in v0.5.0
func NewMockReadStore(ctrl *gomock.Controller) *MockReadStore
NewMockReadStore creates a new mock instance.
func (*MockReadStore) EXPECT ¶ added in v0.5.0
func (m *MockReadStore) EXPECT() *MockReadStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockReadStore) GetGateway ¶ added in v0.5.0
GetGateway mocks base method.
func (*MockReadStore) ListGateways ¶ added in v0.5.0
ListGateways mocks base method.
func (*MockReadStore) ListRoutes ¶ added in v0.5.0
ListRoutes mocks base method.
type MockReadStoreMockRecorder ¶ added in v0.5.0
type MockReadStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockReadStoreMockRecorder is the mock recorder for MockReadStore.
func (*MockReadStoreMockRecorder) GetGateway ¶ added in v0.5.0
func (mr *MockReadStoreMockRecorder) GetGateway(ctx, id interface{}) *gomock.Call
GetGateway indicates an expected call of GetGateway.
func (*MockReadStoreMockRecorder) GetRoute ¶ added in v0.5.0
func (mr *MockReadStoreMockRecorder) GetRoute(ctx, id interface{}) *gomock.Call
GetRoute indicates an expected call of GetRoute.
func (*MockReadStoreMockRecorder) ListGateways ¶ added in v0.5.0
func (mr *MockReadStoreMockRecorder) ListGateways(ctx interface{}) *gomock.Call
ListGateways indicates an expected call of ListGateways.
func (*MockReadStoreMockRecorder) ListRoutes ¶ added in v0.5.0
func (mr *MockReadStoreMockRecorder) ListRoutes(ctx interface{}) *gomock.Call
ListRoutes indicates an expected call of ListRoutes.
type MockRoute ¶
type MockRoute struct {
// contains filtered or unexported fields
}
MockRoute is a mock of Route interface.
func NewMockRoute ¶
func NewMockRoute(ctrl *gomock.Controller) *MockRoute
NewMockRoute creates a new mock instance.
func (*MockRoute) EXPECT ¶
func (m *MockRoute) EXPECT() *MockRouteMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockRouteMockRecorder ¶
type MockRouteMockRecorder struct {
// contains filtered or unexported fields
}
MockRouteMockRecorder is the mock recorder for MockRoute.
func (*MockRouteMockRecorder) ID ¶
func (mr *MockRouteMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID.
type MockStatusUpdater ¶ added in v0.5.0
type MockStatusUpdater struct {
// contains filtered or unexported fields
}
MockStatusUpdater is a mock of StatusUpdater interface.
func NewMockStatusUpdater ¶ added in v0.5.0
func NewMockStatusUpdater(ctrl *gomock.Controller) *MockStatusUpdater
NewMockStatusUpdater creates a new mock instance.
func (*MockStatusUpdater) EXPECT ¶ added in v0.5.0
func (m *MockStatusUpdater) EXPECT() *MockStatusUpdaterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStatusUpdater) UpdateGatewayStatusOnSync ¶ added in v0.5.0
func (m *MockStatusUpdater) UpdateGatewayStatusOnSync(ctx context.Context, gateway store.Gateway, sync func() (bool, error)) error
UpdateGatewayStatusOnSync mocks base method.
func (*MockStatusUpdater) UpdateRouteStatus ¶ added in v0.5.0
UpdateRouteStatus mocks base method.
type MockStatusUpdaterMockRecorder ¶ added in v0.5.0
type MockStatusUpdaterMockRecorder struct {
// contains filtered or unexported fields
}
MockStatusUpdaterMockRecorder is the mock recorder for MockStatusUpdater.
func (*MockStatusUpdaterMockRecorder) UpdateGatewayStatusOnSync ¶ added in v0.5.0
func (mr *MockStatusUpdaterMockRecorder) UpdateGatewayStatusOnSync(ctx, gateway, sync interface{}) *gomock.Call
UpdateGatewayStatusOnSync indicates an expected call of UpdateGatewayStatusOnSync.
func (*MockStatusUpdaterMockRecorder) UpdateRouteStatus ¶ added in v0.5.0
func (mr *MockStatusUpdaterMockRecorder) UpdateRouteStatus(ctx, route interface{}) *gomock.Call
UpdateRouteStatus indicates an expected call of UpdateRouteStatus.
type MockStore ¶
type MockStore struct {
// contains filtered or unexported fields
}
MockStore is a mock of Store interface.
func NewMockStore ¶
func NewMockStore(ctrl *gomock.Controller) *MockStore
NewMockStore creates a new mock instance.
func (*MockStore) DeleteGateway ¶
DeleteGateway mocks base method.
func (*MockStore) DeleteRoute ¶
DeleteRoute mocks base method.
func (*MockStore) EXPECT ¶
func (m *MockStore) EXPECT() *MockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStore) GetGateway ¶ added in v0.5.0
GetGateway mocks base method.
func (*MockStore) ListGateways ¶ added in v0.5.0
ListGateways mocks base method.
func (*MockStore) ListRoutes ¶ added in v0.5.0
ListRoutes mocks base method.
func (*MockStore) SyncAllAtInterval ¶ added in v0.5.0
SyncAllAtInterval mocks base method.
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore.
func (*MockStoreMockRecorder) DeleteGateway ¶
func (mr *MockStoreMockRecorder) DeleteGateway(ctx, id interface{}) *gomock.Call
DeleteGateway indicates an expected call of DeleteGateway.
func (*MockStoreMockRecorder) DeleteRoute ¶
func (mr *MockStoreMockRecorder) DeleteRoute(ctx, id interface{}) *gomock.Call
DeleteRoute indicates an expected call of DeleteRoute.
func (*MockStoreMockRecorder) GetGateway ¶ added in v0.5.0
func (mr *MockStoreMockRecorder) GetGateway(ctx, id interface{}) *gomock.Call
GetGateway indicates an expected call of GetGateway.
func (*MockStoreMockRecorder) GetRoute ¶ added in v0.5.0
func (mr *MockStoreMockRecorder) GetRoute(ctx, id interface{}) *gomock.Call
GetRoute indicates an expected call of GetRoute.
func (*MockStoreMockRecorder) ListGateways ¶ added in v0.5.0
func (mr *MockStoreMockRecorder) ListGateways(ctx interface{}) *gomock.Call
ListGateways indicates an expected call of ListGateways.
func (*MockStoreMockRecorder) ListRoutes ¶ added in v0.5.0
func (mr *MockStoreMockRecorder) ListRoutes(ctx interface{}) *gomock.Call
ListRoutes indicates an expected call of ListRoutes.
func (*MockStoreMockRecorder) SyncAllAtInterval ¶ added in v0.5.0
func (mr *MockStoreMockRecorder) SyncAllAtInterval(ctx interface{}) *gomock.Call
SyncAllAtInterval indicates an expected call of SyncAllAtInterval.
func (*MockStoreMockRecorder) UpsertGateway ¶
func (mr *MockStoreMockRecorder) UpsertGateway(ctx, gateway, updateConditionFn interface{}) *gomock.Call
UpsertGateway indicates an expected call of UpsertGateway.
func (*MockStoreMockRecorder) UpsertRoute ¶
func (mr *MockStoreMockRecorder) UpsertRoute(ctx, route, updateConditionFn interface{}) *gomock.Call
UpsertRoute indicates an expected call of UpsertRoute.
type MockWriteStore ¶ added in v0.5.0
type MockWriteStore struct {
// contains filtered or unexported fields
}
MockWriteStore is a mock of WriteStore interface.
func NewMockWriteStore ¶ added in v0.5.0
func NewMockWriteStore(ctrl *gomock.Controller) *MockWriteStore
NewMockWriteStore creates a new mock instance.
func (*MockWriteStore) DeleteGateway ¶ added in v0.5.0
DeleteGateway mocks base method.
func (*MockWriteStore) DeleteRoute ¶ added in v0.5.0
func (m *MockWriteStore) DeleteRoute(ctx context.Context, id string) error
DeleteRoute mocks base method.
func (*MockWriteStore) EXPECT ¶ added in v0.5.0
func (m *MockWriteStore) EXPECT() *MockWriteStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWriteStore) SyncAllAtInterval ¶ added in v0.5.0
func (m *MockWriteStore) SyncAllAtInterval(ctx context.Context)
SyncAllAtInterval mocks base method.
type MockWriteStoreMockRecorder ¶ added in v0.5.0
type MockWriteStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockWriteStoreMockRecorder is the mock recorder for MockWriteStore.
func (*MockWriteStoreMockRecorder) DeleteGateway ¶ added in v0.5.0
func (mr *MockWriteStoreMockRecorder) DeleteGateway(ctx, id interface{}) *gomock.Call
DeleteGateway indicates an expected call of DeleteGateway.
func (*MockWriteStoreMockRecorder) DeleteRoute ¶ added in v0.5.0
func (mr *MockWriteStoreMockRecorder) DeleteRoute(ctx, id interface{}) *gomock.Call
DeleteRoute indicates an expected call of DeleteRoute.
func (*MockWriteStoreMockRecorder) SyncAllAtInterval ¶ added in v0.5.0
func (mr *MockWriteStoreMockRecorder) SyncAllAtInterval(ctx interface{}) *gomock.Call
SyncAllAtInterval indicates an expected call of SyncAllAtInterval.
func (*MockWriteStoreMockRecorder) UpsertGateway ¶ added in v0.5.0
func (mr *MockWriteStoreMockRecorder) UpsertGateway(ctx, gateway, updateConditionFn interface{}) *gomock.Call
UpsertGateway indicates an expected call of UpsertGateway.
func (*MockWriteStoreMockRecorder) UpsertRoute ¶ added in v0.5.0
func (mr *MockWriteStoreMockRecorder) UpsertRoute(ctx, route, updateConditionFn interface{}) *gomock.Call
UpsertRoute indicates an expected call of UpsertRoute.