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: 2 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAnalyticsClient

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

MockAnalyticsClient is a mock of AnalyticsClient interface

func NewMockAnalyticsClient

func NewMockAnalyticsClient(ctrl *gomock.Controller) *MockAnalyticsClient

NewMockAnalyticsClient creates a new mock instance

func (*MockAnalyticsClient) EXPECT

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

func (*MockAnalyticsClient) Event

func (m *MockAnalyticsClient) Event(arg0 string, arg1 ...map[string]interface{}) error

Event mocks base method

func (*MockAnalyticsClient) PromptOptInIfNeeded added in v0.0.12

func (m *MockAnalyticsClient) PromptOptInIfNeeded(arg0 string) error

PromptOptInIfNeeded mocks base method

type MockAnalyticsClientMockRecorder

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

MockAnalyticsClientMockRecorder is the mock recorder for MockAnalyticsClient

func (*MockAnalyticsClientMockRecorder) Event

func (mr *MockAnalyticsClientMockRecorder) Event(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Event indicates an expected call of Event

func (*MockAnalyticsClientMockRecorder) PromptOptInIfNeeded added in v0.0.12

func (mr *MockAnalyticsClientMockRecorder) PromptOptInIfNeeded(arg0 interface{}) *gomock.Call

PromptOptInIfNeeded indicates an expected call of PromptOptInIfNeeded

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) EXPECT

func (m *MockUI) EXPECT() *MockUIMockRecorder

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

func (*MockUI) Say

func (m *MockUI) Say(arg0 string, arg1 ...interface{})

Say mocks base method

type MockUIMockRecorder

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

MockUIMockRecorder is the mock recorder for MockUI

func (*MockUIMockRecorder) Say

func (mr *MockUIMockRecorder) Say(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Say indicates an expected call of Say

Jump to

Keyboard shortcuts

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