Documentation ¶
Overview ¶
Package destination is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DestinationConfig ¶ added in v1.5.0
type DestinationConfig struct { Dest destMiddleware // contains filtered or unexported fields }
func (*DestinationConfig) GetDestDetails ¶ added in v1.5.0
func (d *DestinationConfig) GetDestDetails(destID string) (model.Destination, error)
func (*DestinationConfig) Start ¶ added in v1.5.0
func (d *DestinationConfig) Start(ctx context.Context)
Start starts listening for configuration updates and updates the destinations. The method blocks until the first update is received.
type MockdestMiddleware ¶ added in v1.5.0
type MockdestMiddleware struct {
// contains filtered or unexported fields
}
MockdestMiddleware is a mock of destMiddleware interface.
func NewMockdestMiddleware ¶ added in v1.5.0
func NewMockdestMiddleware(ctrl *gomock.Controller) *MockdestMiddleware
NewMockdestMiddleware creates a new mock instance.
func (*MockdestMiddleware) EXPECT ¶ added in v1.5.0
func (m *MockdestMiddleware) EXPECT() *MockdestMiddlewareMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockdestMiddleware) Subscribe ¶ added in v1.5.0
func (m *MockdestMiddleware) Subscribe(ctx context.Context, topic backendconfig.Topic) pubsub.DataChannel
Subscribe mocks base method.
type MockdestMiddlewareMockRecorder ¶ added in v1.5.0
type MockdestMiddlewareMockRecorder struct {
// contains filtered or unexported fields
}
MockdestMiddlewareMockRecorder is the mock recorder for MockdestMiddleware.
func (*MockdestMiddlewareMockRecorder) Subscribe ¶ added in v1.5.0
func (mr *MockdestMiddlewareMockRecorder) Subscribe(ctx, topic interface{}) *gomock.Call
Subscribe indicates an expected call of Subscribe.
Click to show internal directories.
Click to hide internal directories.