mock

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2021 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 mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBrowser

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

MockBrowser is a mock of Browser interface.

func NewMockBrowser

func NewMockBrowser(ctrl *gomock.Controller) *MockBrowser

NewMockBrowser creates a new mock instance.

func (*MockBrowser) EXPECT

func (m *MockBrowser) EXPECT() *MockBrowserMockRecorder

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

func (*MockBrowser) Open

func (m *MockBrowser) Open(arg0 string) error

Open mocks base method.

type MockBrowserMockRecorder

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

MockBrowserMockRecorder is the mock recorder for MockBrowser.

func (*MockBrowserMockRecorder) Open

func (mr *MockBrowserMockRecorder) Open(arg0 interface{}) *gomock.Call

Open indicates an expected call of Open.

type MockCliConnection

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

MockCliConnection is a mock of CliConnection interface.

func NewMockCliConnection

func NewMockCliConnection(ctrl *gomock.Controller) *MockCliConnection

NewMockCliConnection creates a new mock instance.

func (*MockCliConnection) AccessToken

func (m *MockCliConnection) AccessToken() (string, error)

AccessToken mocks base method.

func (*MockCliConnection) ApiEndpoint

func (m *MockCliConnection) ApiEndpoint() (string, error)

ApiEndpoint mocks base method.

func (*MockCliConnection) ApiVersion

func (m *MockCliConnection) ApiVersion() (string, error)

ApiVersion mocks base method.

func (*MockCliConnection) CliCommand

func (m *MockCliConnection) CliCommand(arg0 ...string) ([]string, error)

CliCommand mocks base method.

func (*MockCliConnection) CliCommandWithoutTerminalOutput

func (m *MockCliConnection) CliCommandWithoutTerminalOutput(arg0 ...string) ([]string, error)

CliCommandWithoutTerminalOutput mocks base method.

func (*MockCliConnection) DopplerEndpoint

func (m *MockCliConnection) DopplerEndpoint() (string, error)

DopplerEndpoint mocks base method.

func (*MockCliConnection) EXPECT

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

func (*MockCliConnection) GetApp

GetApp mocks base method.

func (*MockCliConnection) GetApps

GetApps mocks base method.

func (*MockCliConnection) GetCurrentOrg

func (m *MockCliConnection) GetCurrentOrg() (plugin_models.Organization, error)

GetCurrentOrg mocks base method.

func (*MockCliConnection) GetCurrentSpace

func (m *MockCliConnection) GetCurrentSpace() (plugin_models.Space, error)

GetCurrentSpace mocks base method.

func (*MockCliConnection) GetOrg

GetOrg mocks base method.

func (*MockCliConnection) GetOrgUsers

func (m *MockCliConnection) GetOrgUsers(arg0 string, arg1 ...string) ([]plugin_models.GetOrgUsers_Model, error)

GetOrgUsers mocks base method.

func (*MockCliConnection) GetOrgs

GetOrgs mocks base method.

func (*MockCliConnection) GetService

GetService mocks base method.

func (*MockCliConnection) GetServices

GetServices mocks base method.

func (*MockCliConnection) GetSpace

GetSpace mocks base method.

func (*MockCliConnection) GetSpaceUsers

func (m *MockCliConnection) GetSpaceUsers(arg0, arg1 string) ([]plugin_models.GetSpaceUsers_Model, error)

GetSpaceUsers mocks base method.

func (*MockCliConnection) GetSpaces

GetSpaces mocks base method.

func (*MockCliConnection) HasAPIEndpoint

func (m *MockCliConnection) HasAPIEndpoint() (bool, error)

HasAPIEndpoint mocks base method.

func (*MockCliConnection) HasOrganization

func (m *MockCliConnection) HasOrganization() (bool, error)

HasOrganization mocks base method.

func (*MockCliConnection) HasSpace

func (m *MockCliConnection) HasSpace() (bool, error)

HasSpace mocks base method.

func (*MockCliConnection) IsLoggedIn

func (m *MockCliConnection) IsLoggedIn() (bool, error)

IsLoggedIn mocks base method.

func (*MockCliConnection) IsSSLDisabled

func (m *MockCliConnection) IsSSLDisabled() (bool, error)

IsSSLDisabled mocks base method.

func (*MockCliConnection) LoggregatorEndpoint

func (m *MockCliConnection) LoggregatorEndpoint() (string, error)

LoggregatorEndpoint mocks base method.

func (*MockCliConnection) UserEmail

func (m *MockCliConnection) UserEmail() (string, error)

UserEmail mocks base method.

func (*MockCliConnection) UserGuid

func (m *MockCliConnection) UserGuid() (string, error)

UserGuid mocks base method.

func (*MockCliConnection) Username

func (m *MockCliConnection) Username() (string, error)

Username mocks base method.

type MockCliConnectionMockRecorder

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

MockCliConnectionMockRecorder is the mock recorder for MockCliConnection.

func (*MockCliConnectionMockRecorder) AccessToken

func (mr *MockCliConnectionMockRecorder) AccessToken() *gomock.Call

AccessToken indicates an expected call of AccessToken.

func (*MockCliConnectionMockRecorder) ApiEndpoint

func (mr *MockCliConnectionMockRecorder) ApiEndpoint() *gomock.Call

ApiEndpoint indicates an expected call of ApiEndpoint.

func (*MockCliConnectionMockRecorder) ApiVersion

func (mr *MockCliConnectionMockRecorder) ApiVersion() *gomock.Call

ApiVersion indicates an expected call of ApiVersion.

func (*MockCliConnectionMockRecorder) CliCommand

func (mr *MockCliConnectionMockRecorder) CliCommand(arg0 ...interface{}) *gomock.Call

CliCommand indicates an expected call of CliCommand.

func (*MockCliConnectionMockRecorder) CliCommandWithoutTerminalOutput

func (mr *MockCliConnectionMockRecorder) CliCommandWithoutTerminalOutput(arg0 ...interface{}) *gomock.Call

CliCommandWithoutTerminalOutput indicates an expected call of CliCommandWithoutTerminalOutput.

func (*MockCliConnectionMockRecorder) DopplerEndpoint

func (mr *MockCliConnectionMockRecorder) DopplerEndpoint() *gomock.Call

DopplerEndpoint indicates an expected call of DopplerEndpoint.

func (*MockCliConnectionMockRecorder) GetApp

func (mr *MockCliConnectionMockRecorder) GetApp(arg0 interface{}) *gomock.Call

GetApp indicates an expected call of GetApp.

func (*MockCliConnectionMockRecorder) GetApps

func (mr *MockCliConnectionMockRecorder) GetApps() *gomock.Call

GetApps indicates an expected call of GetApps.

func (*MockCliConnectionMockRecorder) GetCurrentOrg

func (mr *MockCliConnectionMockRecorder) GetCurrentOrg() *gomock.Call

GetCurrentOrg indicates an expected call of GetCurrentOrg.

func (*MockCliConnectionMockRecorder) GetCurrentSpace

func (mr *MockCliConnectionMockRecorder) GetCurrentSpace() *gomock.Call

GetCurrentSpace indicates an expected call of GetCurrentSpace.

func (*MockCliConnectionMockRecorder) GetOrg

func (mr *MockCliConnectionMockRecorder) GetOrg(arg0 interface{}) *gomock.Call

GetOrg indicates an expected call of GetOrg.

func (*MockCliConnectionMockRecorder) GetOrgUsers

func (mr *MockCliConnectionMockRecorder) GetOrgUsers(arg0 interface{}, arg1 ...interface{}) *gomock.Call

GetOrgUsers indicates an expected call of GetOrgUsers.

func (*MockCliConnectionMockRecorder) GetOrgs

func (mr *MockCliConnectionMockRecorder) GetOrgs() *gomock.Call

GetOrgs indicates an expected call of GetOrgs.

func (*MockCliConnectionMockRecorder) GetService

func (mr *MockCliConnectionMockRecorder) GetService(arg0 interface{}) *gomock.Call

GetService indicates an expected call of GetService.

func (*MockCliConnectionMockRecorder) GetServices

func (mr *MockCliConnectionMockRecorder) GetServices() *gomock.Call

GetServices indicates an expected call of GetServices.

func (*MockCliConnectionMockRecorder) GetSpace

func (mr *MockCliConnectionMockRecorder) GetSpace(arg0 interface{}) *gomock.Call

GetSpace indicates an expected call of GetSpace.

func (*MockCliConnectionMockRecorder) GetSpaceUsers

func (mr *MockCliConnectionMockRecorder) GetSpaceUsers(arg0, arg1 interface{}) *gomock.Call

GetSpaceUsers indicates an expected call of GetSpaceUsers.

func (*MockCliConnectionMockRecorder) GetSpaces

func (mr *MockCliConnectionMockRecorder) GetSpaces() *gomock.Call

GetSpaces indicates an expected call of GetSpaces.

func (*MockCliConnectionMockRecorder) HasAPIEndpoint

func (mr *MockCliConnectionMockRecorder) HasAPIEndpoint() *gomock.Call

HasAPIEndpoint indicates an expected call of HasAPIEndpoint.

func (*MockCliConnectionMockRecorder) HasOrganization

func (mr *MockCliConnectionMockRecorder) HasOrganization() *gomock.Call

HasOrganization indicates an expected call of HasOrganization.

func (*MockCliConnectionMockRecorder) HasSpace

func (mr *MockCliConnectionMockRecorder) HasSpace() *gomock.Call

HasSpace indicates an expected call of HasSpace.

func (*MockCliConnectionMockRecorder) IsLoggedIn

func (mr *MockCliConnectionMockRecorder) IsLoggedIn() *gomock.Call

IsLoggedIn indicates an expected call of IsLoggedIn.

func (*MockCliConnectionMockRecorder) IsSSLDisabled

func (mr *MockCliConnectionMockRecorder) IsSSLDisabled() *gomock.Call

IsSSLDisabled indicates an expected call of IsSSLDisabled.

func (*MockCliConnectionMockRecorder) LoggregatorEndpoint

func (mr *MockCliConnectionMockRecorder) LoggregatorEndpoint() *gomock.Call

LoggregatorEndpoint indicates an expected call of LoggregatorEndpoint.

func (*MockCliConnectionMockRecorder) UserEmail

func (mr *MockCliConnectionMockRecorder) UserEmail() *gomock.Call

UserEmail indicates an expected call of UserEmail.

func (*MockCliConnectionMockRecorder) UserGuid

func (mr *MockCliConnectionMockRecorder) UserGuid() *gomock.Call

UserGuid indicates an expected call of UserGuid.

func (*MockCliConnectionMockRecorder) Username

func (mr *MockCliConnectionMockRecorder) Username() *gomock.Call

Username indicates an expected call of Username.

Jump to

Keyboard shortcuts

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