destination

package
v1.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockdestMiddleware) Subscribe added in v1.5.0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL