mocks

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 License: Apache-2.0 Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

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

MockClient is a mock of Client interface

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance

func (*MockClient) Close

func (m *MockClient) Close() error

Close mocks base method

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) Enqueue

func (m *MockClient) Enqueue(arg0 analytics_go_v3.Message) error

Enqueue mocks base method

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) Close

func (mr *MockClientMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockClientMockRecorder) Enqueue

func (mr *MockClientMockRecorder) Enqueue(arg0 interface{}) *gomock.Call

Enqueue indicates an expected call of Enqueue

type MockToggle

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

MockToggle is a mock of Toggle interface

func NewMockToggle

func NewMockToggle(ctrl *gomock.Controller) *MockToggle

NewMockToggle creates a new mock instance

func (*MockToggle) CustomAnalyticsDefined added in v0.0.12

func (m *MockToggle) CustomAnalyticsDefined() bool

CustomAnalyticsDefined mocks base method

func (*MockToggle) Defined

func (m *MockToggle) Defined() bool

Defined mocks base method

func (*MockToggle) EXPECT

func (m *MockToggle) EXPECT() *MockToggleMockRecorder

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

func (*MockToggle) Enabled added in v0.0.12

func (m *MockToggle) Enabled() bool

Enabled mocks base method

func (*MockToggle) GetProps

func (m *MockToggle) GetProps() map[string]interface{}

GetProps mocks base method

func (*MockToggle) IsCustom added in v0.0.12

func (m *MockToggle) IsCustom() bool

IsCustom mocks base method

func (*MockToggle) SetCFAnalyticsEnabled added in v0.0.12

func (m *MockToggle) SetCFAnalyticsEnabled(arg0 bool) error

SetCFAnalyticsEnabled mocks base method

func (*MockToggle) SetCustomAnalyticsEnabled added in v0.0.12

func (m *MockToggle) SetCustomAnalyticsEnabled(arg0 bool) error

SetCustomAnalyticsEnabled mocks base method

func (*MockToggle) SetProp added in v0.0.12

func (m *MockToggle) SetProp(arg0, arg1 string) error

SetProp mocks base method

type MockToggleMockRecorder

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

MockToggleMockRecorder is the mock recorder for MockToggle

func (*MockToggleMockRecorder) CustomAnalyticsDefined added in v0.0.12

func (mr *MockToggleMockRecorder) CustomAnalyticsDefined() *gomock.Call

CustomAnalyticsDefined indicates an expected call of CustomAnalyticsDefined

func (*MockToggleMockRecorder) Defined

func (mr *MockToggleMockRecorder) Defined() *gomock.Call

Defined indicates an expected call of Defined

func (*MockToggleMockRecorder) Enabled added in v0.0.12

func (mr *MockToggleMockRecorder) Enabled() *gomock.Call

Enabled indicates an expected call of Enabled

func (*MockToggleMockRecorder) GetProps

func (mr *MockToggleMockRecorder) GetProps() *gomock.Call

GetProps indicates an expected call of GetProps

func (*MockToggleMockRecorder) IsCustom added in v0.0.12

func (mr *MockToggleMockRecorder) IsCustom() *gomock.Call

IsCustom indicates an expected call of IsCustom

func (*MockToggleMockRecorder) SetCFAnalyticsEnabled added in v0.0.12

func (mr *MockToggleMockRecorder) SetCFAnalyticsEnabled(arg0 interface{}) *gomock.Call

SetCFAnalyticsEnabled indicates an expected call of SetCFAnalyticsEnabled

func (*MockToggleMockRecorder) SetCustomAnalyticsEnabled added in v0.0.12

func (mr *MockToggleMockRecorder) SetCustomAnalyticsEnabled(arg0 interface{}) *gomock.Call

SetCustomAnalyticsEnabled indicates an expected call of SetCustomAnalyticsEnabled

func (*MockToggleMockRecorder) SetProp added in v0.0.12

func (mr *MockToggleMockRecorder) SetProp(arg0, arg1 interface{}) *gomock.Call

SetProp indicates an expected call of SetProp

type MockUI

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

MockUI is a mock of UI interface

func NewMockUI

func NewMockUI(ctrl *gomock.Controller) *MockUI

NewMockUI creates a new mock instance

func (*MockUI) Ask

func (m *MockUI) Ask(arg0 string) string

Ask mocks base method

func (*MockUI) EXPECT

func (m *MockUI) EXPECT() *MockUIMockRecorder

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

type MockUIMockRecorder

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

MockUIMockRecorder is the mock recorder for MockUI

func (*MockUIMockRecorder) Ask

func (mr *MockUIMockRecorder) Ask(arg0 interface{}) *gomock.Call

Ask indicates an expected call of Ask

Jump to

Keyboard shortcuts

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