sdk

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package sdk is a generated GoMock package.

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Options(
	fx.Provide(sdkSystemClientProvider),
)

Functions

func NewClientFactory

func NewClientFactory(hostPort string, tlsConfig *tls.Config, scope tally.Scope) *clientFactory

Types

type ClientFactory

type ClientFactory interface {
	NewClient(namespaceName string, logger log.Logger) (sdkclient.Client, error)
	NewSystemClient(logger log.Logger) (sdkclient.Client, error)
}

type MockClientFactory

type MockClientFactory struct {
	// contains filtered or unexported fields
}

MockClientFactory is a mock of ClientFactory interface.

func NewMockClientFactory

func NewMockClientFactory(ctrl *gomock.Controller) *MockClientFactory

NewMockClientFactory creates a new mock instance.

func (*MockClientFactory) EXPECT

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

func (*MockClientFactory) NewClient

func (m *MockClientFactory) NewClient(namespaceName string, logger log.Logger) (client.Client, error)

NewClient mocks base method.

func (*MockClientFactory) NewSystemClient

func (m *MockClientFactory) NewSystemClient(logger log.Logger) (client.Client, error)

NewSystemClient mocks base method.

type MockClientFactoryMockRecorder

type MockClientFactoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockClientFactoryMockRecorder is the mock recorder for MockClientFactory.

func (*MockClientFactoryMockRecorder) NewClient

func (mr *MockClientFactoryMockRecorder) NewClient(namespaceName, logger interface{}) *gomock.Call

NewClient indicates an expected call of NewClient.

func (*MockClientFactoryMockRecorder) NewSystemClient

func (mr *MockClientFactoryMockRecorder) NewSystemClient(logger interface{}) *gomock.Call

NewSystemClient indicates an expected call of NewSystemClient.

Jump to

Keyboard shortcuts

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