mocks

package
v0.0.0-...-a5f9fc7 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

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 MockAuthenticator

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

MockAuthenticator is a mock of Authenticator interface.

func NewMockAuthenticator

func NewMockAuthenticator(ctrl *gomock.Controller) *MockAuthenticator

NewMockAuthenticator creates a new mock instance.

func (*MockAuthenticator) AddAuthenticationHeader

func (m *MockAuthenticator) AddAuthenticationHeader(request *http.Request) error

AddAuthenticationHeader mocks base method.

func (*MockAuthenticator) Authenticate

func (m *MockAuthenticator) Authenticate() error

Authenticate mocks base method.

func (*MockAuthenticator) EXPECT

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

func (*MockAuthenticator) IsSupported

func (m *MockAuthenticator) IsSupported() bool

IsSupported mocks base method.

type MockAuthenticatorMockRecorder

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

MockAuthenticatorMockRecorder is the mock recorder for MockAuthenticator.

func (*MockAuthenticatorMockRecorder) AddAuthenticationHeader

func (mr *MockAuthenticatorMockRecorder) AddAuthenticationHeader(request interface{}) *gomock.Call

AddAuthenticationHeader indicates an expected call of AddAuthenticationHeader.

func (*MockAuthenticatorMockRecorder) Authenticate

func (mr *MockAuthenticatorMockRecorder) Authenticate() *gomock.Call

Authenticate indicates an expected call of Authenticate.

func (*MockAuthenticatorMockRecorder) IsSupported

func (mr *MockAuthenticatorMockRecorder) IsSupported() *gomock.Call

IsSupported indicates an expected call of IsSupported.

type MockConfiguration

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

MockConfiguration is a mock of Configuration interface.

func NewMockConfiguration

func NewMockConfiguration(ctrl *gomock.Controller) *MockConfiguration

NewMockConfiguration creates a new mock instance.

func (*MockConfiguration) AddAlternativeKeys

func (m *MockConfiguration) AddAlternativeKeys(key string, altKeys []string)

AddAlternativeKeys mocks base method.

func (*MockConfiguration) AddDefaultValue

func (m *MockConfiguration) AddDefaultValue(key string, defaultValue configuration.DefaultValueFunction)

AddDefaultValue mocks base method.

func (*MockConfiguration) AddFlagSet

func (m *MockConfiguration) AddFlagSet(flagset *pflag.FlagSet) error

AddFlagSet mocks base method.

func (*MockConfiguration) AllKeys

func (m *MockConfiguration) AllKeys() []string

AllKeys mocks base method.

func (*MockConfiguration) Clone

Clone mocks base method.

func (*MockConfiguration) EXPECT

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

func (*MockConfiguration) Get

func (m *MockConfiguration) Get(key string) interface{}

Get mocks base method.

func (*MockConfiguration) GetAlternativeKeys

func (m *MockConfiguration) GetAlternativeKeys(key string) []string

GetAlternativeKeys mocks base method.

func (*MockConfiguration) GetAndIsSet

func (m *MockConfiguration) GetAndIsSet(key string) (interface{}, bool)

GetAndIsSet mocks base method.

func (*MockConfiguration) GetBool

func (m *MockConfiguration) GetBool(key string) bool

GetBool mocks base method.

func (*MockConfiguration) GetFloat64

func (m *MockConfiguration) GetFloat64(key string) float64

GetFloat64 mocks base method.

func (*MockConfiguration) GetInt

func (m *MockConfiguration) GetInt(key string) int

GetInt mocks base method.

func (*MockConfiguration) GetStorage

func (m *MockConfiguration) GetStorage() configuration.Storage

GetStorage mocks base method.

func (*MockConfiguration) GetString

func (m *MockConfiguration) GetString(key string) string

GetString mocks base method.

func (*MockConfiguration) GetStringSlice

func (m *MockConfiguration) GetStringSlice(key string) []string

GetStringSlice mocks base method.

func (*MockConfiguration) GetUrl

func (m *MockConfiguration) GetUrl(key string) *url.URL

GetUrl mocks base method.

func (*MockConfiguration) PersistInStorage

func (m *MockConfiguration) PersistInStorage(key string)

PersistInStorage mocks base method.

func (*MockConfiguration) Set

func (m *MockConfiguration) Set(key string, value interface{})

Set mocks base method.

func (*MockConfiguration) SetStorage

func (m *MockConfiguration) SetStorage(storage configuration.Storage)

SetStorage mocks base method.

type MockConfigurationMockRecorder

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

MockConfigurationMockRecorder is the mock recorder for MockConfiguration.

func (*MockConfigurationMockRecorder) AddAlternativeKeys

func (mr *MockConfigurationMockRecorder) AddAlternativeKeys(key, altKeys interface{}) *gomock.Call

AddAlternativeKeys indicates an expected call of AddAlternativeKeys.

func (*MockConfigurationMockRecorder) AddDefaultValue

func (mr *MockConfigurationMockRecorder) AddDefaultValue(key, defaultValue interface{}) *gomock.Call

AddDefaultValue indicates an expected call of AddDefaultValue.

func (*MockConfigurationMockRecorder) AddFlagSet

func (mr *MockConfigurationMockRecorder) AddFlagSet(flagset interface{}) *gomock.Call

AddFlagSet indicates an expected call of AddFlagSet.

func (*MockConfigurationMockRecorder) AllKeys

func (mr *MockConfigurationMockRecorder) AllKeys() *gomock.Call

AllKeys indicates an expected call of AllKeys.

func (*MockConfigurationMockRecorder) Clone

Clone indicates an expected call of Clone.

func (*MockConfigurationMockRecorder) Get

func (mr *MockConfigurationMockRecorder) Get(key interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockConfigurationMockRecorder) GetAlternativeKeys

func (mr *MockConfigurationMockRecorder) GetAlternativeKeys(key interface{}) *gomock.Call

GetAlternativeKeys indicates an expected call of GetAlternativeKeys.

func (*MockConfigurationMockRecorder) GetAndIsSet

func (mr *MockConfigurationMockRecorder) GetAndIsSet(key interface{}) *gomock.Call

GetAndIsSet indicates an expected call of GetAndIsSet.

func (*MockConfigurationMockRecorder) GetBool

func (mr *MockConfigurationMockRecorder) GetBool(key interface{}) *gomock.Call

GetBool indicates an expected call of GetBool.

func (*MockConfigurationMockRecorder) GetFloat64

func (mr *MockConfigurationMockRecorder) GetFloat64(key interface{}) *gomock.Call

GetFloat64 indicates an expected call of GetFloat64.

func (*MockConfigurationMockRecorder) GetInt

func (mr *MockConfigurationMockRecorder) GetInt(key interface{}) *gomock.Call

GetInt indicates an expected call of GetInt.

func (*MockConfigurationMockRecorder) GetStorage

func (mr *MockConfigurationMockRecorder) GetStorage() *gomock.Call

GetStorage indicates an expected call of GetStorage.

func (*MockConfigurationMockRecorder) GetString

func (mr *MockConfigurationMockRecorder) GetString(key interface{}) *gomock.Call

GetString indicates an expected call of GetString.

func (*MockConfigurationMockRecorder) GetStringSlice

func (mr *MockConfigurationMockRecorder) GetStringSlice(key interface{}) *gomock.Call

GetStringSlice indicates an expected call of GetStringSlice.

func (*MockConfigurationMockRecorder) GetUrl

func (mr *MockConfigurationMockRecorder) GetUrl(key interface{}) *gomock.Call

GetUrl indicates an expected call of GetUrl.

func (*MockConfigurationMockRecorder) PersistInStorage

func (mr *MockConfigurationMockRecorder) PersistInStorage(key interface{}) *gomock.Call

PersistInStorage indicates an expected call of PersistInStorage.

func (*MockConfigurationMockRecorder) Set

func (mr *MockConfigurationMockRecorder) Set(key, value interface{}) *gomock.Call

Set indicates an expected call of Set.

func (*MockConfigurationMockRecorder) SetStorage

func (mr *MockConfigurationMockRecorder) SetStorage(storage interface{}) *gomock.Call

SetStorage indicates an expected call of SetStorage.

type MockConfigurationOptions

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

MockConfigurationOptions is a mock of ConfigurationOptions interface.

func NewMockConfigurationOptions

func NewMockConfigurationOptions(ctrl *gomock.Controller) *MockConfigurationOptions

NewMockConfigurationOptions creates a new mock instance.

func (*MockConfigurationOptions) EXPECT

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

type MockConfigurationOptionsMockRecorder

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

MockConfigurationOptionsMockRecorder is the mock recorder for MockConfigurationOptions.

type MockData

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

MockData is a mock of Data interface.

func NewMockData

func NewMockData(ctrl *gomock.Controller) *MockData

NewMockData creates a new mock instance.

func (*MockData) EXPECT

func (m *MockData) EXPECT() *MockDataMockRecorder

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

func (*MockData) GetContentLocation

func (m *MockData) GetContentLocation() string

GetContentLocation mocks base method.

func (*MockData) GetContentType

func (m *MockData) GetContentType() string

GetContentType mocks base method.

func (*MockData) GetIdentifier

func (m *MockData) GetIdentifier() workflow.Identifier

GetIdentifier mocks base method.

func (*MockData) GetMetaData

func (m *MockData) GetMetaData(key string) (string, error)

GetMetaData mocks base method.

func (*MockData) GetPayload

func (m *MockData) GetPayload() interface{}

GetPayload mocks base method.

func (*MockData) SetContentLocation

func (m *MockData) SetContentLocation(arg0 string)

SetContentLocation mocks base method.

func (*MockData) SetMetaData

func (m *MockData) SetMetaData(key, value string)

SetMetaData mocks base method.

func (*MockData) SetPayload

func (m *MockData) SetPayload(payload interface{})

SetPayload mocks base method.

type MockDataMockRecorder

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

MockDataMockRecorder is the mock recorder for MockData.

func (*MockDataMockRecorder) GetContentLocation

func (mr *MockDataMockRecorder) GetContentLocation() *gomock.Call

GetContentLocation indicates an expected call of GetContentLocation.

func (*MockDataMockRecorder) GetContentType

func (mr *MockDataMockRecorder) GetContentType() *gomock.Call

GetContentType indicates an expected call of GetContentType.

func (*MockDataMockRecorder) GetIdentifier

func (mr *MockDataMockRecorder) GetIdentifier() *gomock.Call

GetIdentifier indicates an expected call of GetIdentifier.

func (*MockDataMockRecorder) GetMetaData

func (mr *MockDataMockRecorder) GetMetaData(key interface{}) *gomock.Call

GetMetaData indicates an expected call of GetMetaData.

func (*MockDataMockRecorder) GetPayload

func (mr *MockDataMockRecorder) GetPayload() *gomock.Call

GetPayload indicates an expected call of GetPayload.

func (*MockDataMockRecorder) SetContentLocation

func (mr *MockDataMockRecorder) SetContentLocation(arg0 interface{}) *gomock.Call

SetContentLocation indicates an expected call of SetContentLocation.

func (*MockDataMockRecorder) SetMetaData

func (mr *MockDataMockRecorder) SetMetaData(key, value interface{}) *gomock.Call

SetMetaData indicates an expected call of SetMetaData.

func (*MockDataMockRecorder) SetPayload

func (mr *MockDataMockRecorder) SetPayload(payload interface{}) *gomock.Call

SetPayload indicates an expected call of SetPayload.

type MockEngine

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

MockEngine is a mock of Engine interface.

func NewMockEngine

func NewMockEngine(ctrl *gomock.Controller) *MockEngine

NewMockEngine creates a new mock instance.

func (*MockEngine) AddExtensionInitializer

func (m *MockEngine) AddExtensionInitializer(initializer workflow.ExtensionInit)

AddExtensionInitializer mocks base method.

func (*MockEngine) EXPECT

func (m *MockEngine) EXPECT() *MockEngineMockRecorder

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

func (*MockEngine) GetAnalytics

func (m *MockEngine) GetAnalytics() analytics.Analytics

GetAnalytics mocks base method.

func (*MockEngine) GetConfiguration

func (m *MockEngine) GetConfiguration() configuration.Configuration

GetConfiguration mocks base method.

func (*MockEngine) GetLogger

func (m *MockEngine) GetLogger() *zerolog.Logger

GetLogger mocks base method.

func (*MockEngine) GetNetworkAccess

func (m *MockEngine) GetNetworkAccess() networking.NetworkAccess

GetNetworkAccess mocks base method.

func (*MockEngine) GetUserInterface

func (m *MockEngine) GetUserInterface() ui.UserInterface

GetUserInterface mocks base method.

func (*MockEngine) GetWorkflow

func (m *MockEngine) GetWorkflow(id workflow.Identifier) (workflow.Entry, bool)

GetWorkflow mocks base method.

func (*MockEngine) GetWorkflows

func (m *MockEngine) GetWorkflows() []workflow.Identifier

GetWorkflows mocks base method.

func (*MockEngine) Init

func (m *MockEngine) Init() error

Init mocks base method.

func (*MockEngine) Invoke

func (m *MockEngine) Invoke(id workflow.Identifier) ([]workflow.Data, error)

Invoke mocks base method.

func (*MockEngine) InvokeWithConfig

func (m *MockEngine) InvokeWithConfig(id workflow.Identifier, config configuration.Configuration) ([]workflow.Data, error)

InvokeWithConfig mocks base method.

func (*MockEngine) InvokeWithInput

func (m *MockEngine) InvokeWithInput(id workflow.Identifier, input []workflow.Data) ([]workflow.Data, error)

InvokeWithInput mocks base method.

func (*MockEngine) InvokeWithInputAndConfig

func (m *MockEngine) InvokeWithInputAndConfig(id workflow.Identifier, input []workflow.Data, config configuration.Configuration) ([]workflow.Data, error)

InvokeWithInputAndConfig mocks base method.

func (*MockEngine) Register

Register mocks base method.

func (*MockEngine) SetConfiguration

func (m *MockEngine) SetConfiguration(config configuration.Configuration)

SetConfiguration mocks base method.

func (*MockEngine) SetLogger

func (m *MockEngine) SetLogger(logger *zerolog.Logger)

SetLogger mocks base method.

func (*MockEngine) SetUserInterface

func (m *MockEngine) SetUserInterface(ui ui.UserInterface)

SetUserInterface mocks base method.

type MockEngineMockRecorder

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

MockEngineMockRecorder is the mock recorder for MockEngine.

func (*MockEngineMockRecorder) AddExtensionInitializer

func (mr *MockEngineMockRecorder) AddExtensionInitializer(initializer interface{}) *gomock.Call

AddExtensionInitializer indicates an expected call of AddExtensionInitializer.

func (*MockEngineMockRecorder) GetAnalytics

func (mr *MockEngineMockRecorder) GetAnalytics() *gomock.Call

GetAnalytics indicates an expected call of GetAnalytics.

func (*MockEngineMockRecorder) GetConfiguration

func (mr *MockEngineMockRecorder) GetConfiguration() *gomock.Call

GetConfiguration indicates an expected call of GetConfiguration.

func (*MockEngineMockRecorder) GetLogger

func (mr *MockEngineMockRecorder) GetLogger() *gomock.Call

GetLogger indicates an expected call of GetLogger.

func (*MockEngineMockRecorder) GetNetworkAccess

func (mr *MockEngineMockRecorder) GetNetworkAccess() *gomock.Call

GetNetworkAccess indicates an expected call of GetNetworkAccess.

func (*MockEngineMockRecorder) GetUserInterface

func (mr *MockEngineMockRecorder) GetUserInterface() *gomock.Call

GetUserInterface indicates an expected call of GetUserInterface.

func (*MockEngineMockRecorder) GetWorkflow

func (mr *MockEngineMockRecorder) GetWorkflow(id interface{}) *gomock.Call

GetWorkflow indicates an expected call of GetWorkflow.

func (*MockEngineMockRecorder) GetWorkflows

func (mr *MockEngineMockRecorder) GetWorkflows() *gomock.Call

GetWorkflows indicates an expected call of GetWorkflows.

func (*MockEngineMockRecorder) Init

func (mr *MockEngineMockRecorder) Init() *gomock.Call

Init indicates an expected call of Init.

func (*MockEngineMockRecorder) Invoke

func (mr *MockEngineMockRecorder) Invoke(id interface{}) *gomock.Call

Invoke indicates an expected call of Invoke.

func (*MockEngineMockRecorder) InvokeWithConfig

func (mr *MockEngineMockRecorder) InvokeWithConfig(id, config interface{}) *gomock.Call

InvokeWithConfig indicates an expected call of InvokeWithConfig.

func (*MockEngineMockRecorder) InvokeWithInput

func (mr *MockEngineMockRecorder) InvokeWithInput(id, input interface{}) *gomock.Call

InvokeWithInput indicates an expected call of InvokeWithInput.

func (*MockEngineMockRecorder) InvokeWithInputAndConfig

func (mr *MockEngineMockRecorder) InvokeWithInputAndConfig(id, input, config interface{}) *gomock.Call

InvokeWithInputAndConfig indicates an expected call of InvokeWithInputAndConfig.

func (*MockEngineMockRecorder) Register

func (mr *MockEngineMockRecorder) Register(id, config, callback interface{}) *gomock.Call

Register indicates an expected call of Register.

func (*MockEngineMockRecorder) SetConfiguration

func (mr *MockEngineMockRecorder) SetConfiguration(config interface{}) *gomock.Call

SetConfiguration indicates an expected call of SetConfiguration.

func (*MockEngineMockRecorder) SetLogger

func (mr *MockEngineMockRecorder) SetLogger(logger interface{}) *gomock.Call

SetLogger indicates an expected call of SetLogger.

func (*MockEngineMockRecorder) SetUserInterface

func (mr *MockEngineMockRecorder) SetUserInterface(ui interface{}) *gomock.Call

SetUserInterface indicates an expected call of SetUserInterface.

type MockEntry

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

MockEntry is a mock of Entry interface.

func NewMockEntry

func NewMockEntry(ctrl *gomock.Controller) *MockEntry

NewMockEntry creates a new mock instance.

func (*MockEntry) EXPECT

func (m *MockEntry) EXPECT() *MockEntryMockRecorder

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

func (*MockEntry) GetConfigurationOptions

func (m *MockEntry) GetConfigurationOptions() workflow.ConfigurationOptions

GetConfigurationOptions mocks base method.

func (*MockEntry) GetEntryPoint

func (m *MockEntry) GetEntryPoint() workflow.Callback

GetEntryPoint mocks base method.

func (*MockEntry) IsVisible

func (m *MockEntry) IsVisible() bool

IsVisible mocks base method.

func (*MockEntry) SetVisibility

func (m *MockEntry) SetVisibility(visible bool)

SetVisibility mocks base method.

type MockEntryMockRecorder

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

MockEntryMockRecorder is the mock recorder for MockEntry.

func (*MockEntryMockRecorder) GetConfigurationOptions

func (mr *MockEntryMockRecorder) GetConfigurationOptions() *gomock.Call

GetConfigurationOptions indicates an expected call of GetConfigurationOptions.

func (*MockEntryMockRecorder) GetEntryPoint

func (mr *MockEntryMockRecorder) GetEntryPoint() *gomock.Call

GetEntryPoint indicates an expected call of GetEntryPoint.

func (*MockEntryMockRecorder) IsVisible

func (mr *MockEntryMockRecorder) IsVisible() *gomock.Call

IsVisible indicates an expected call of IsVisible.

func (*MockEntryMockRecorder) SetVisibility

func (mr *MockEntryMockRecorder) SetVisibility(visible interface{}) *gomock.Call

SetVisibility indicates an expected call of SetVisibility.

type MockInvocationContext

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

MockInvocationContext is a mock of InvocationContext interface.

func NewMockInvocationContext

func NewMockInvocationContext(ctrl *gomock.Controller) *MockInvocationContext

NewMockInvocationContext creates a new mock instance.

func (*MockInvocationContext) EXPECT

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

func (*MockInvocationContext) GetAnalytics

func (m *MockInvocationContext) GetAnalytics() analytics.Analytics

GetAnalytics mocks base method.

func (*MockInvocationContext) GetConfiguration

func (m *MockInvocationContext) GetConfiguration() configuration.Configuration

GetConfiguration mocks base method.

func (*MockInvocationContext) GetEngine

func (m *MockInvocationContext) GetEngine() workflow.Engine

GetEngine mocks base method.

func (*MockInvocationContext) GetEnhancedLogger

func (m *MockInvocationContext) GetEnhancedLogger() *zerolog.Logger

GetEnhancedLogger mocks base method.

func (*MockInvocationContext) GetLogger

func (m *MockInvocationContext) GetLogger() *log.Logger

GetLogger mocks base method.

func (*MockInvocationContext) GetNetworkAccess

func (m *MockInvocationContext) GetNetworkAccess() networking.NetworkAccess

GetNetworkAccess mocks base method.

func (*MockInvocationContext) GetUserInterface

func (m *MockInvocationContext) GetUserInterface() ui.UserInterface

GetUserInterface mocks base method.

func (*MockInvocationContext) GetWorkflowIdentifier

func (m *MockInvocationContext) GetWorkflowIdentifier() workflow.Identifier

GetWorkflowIdentifier mocks base method.

type MockInvocationContextMockRecorder

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

MockInvocationContextMockRecorder is the mock recorder for MockInvocationContext.

func (*MockInvocationContextMockRecorder) GetAnalytics

func (mr *MockInvocationContextMockRecorder) GetAnalytics() *gomock.Call

GetAnalytics indicates an expected call of GetAnalytics.

func (*MockInvocationContextMockRecorder) GetConfiguration

func (mr *MockInvocationContextMockRecorder) GetConfiguration() *gomock.Call

GetConfiguration indicates an expected call of GetConfiguration.

func (*MockInvocationContextMockRecorder) GetEngine

GetEngine indicates an expected call of GetEngine.

func (*MockInvocationContextMockRecorder) GetEnhancedLogger

func (mr *MockInvocationContextMockRecorder) GetEnhancedLogger() *gomock.Call

GetEnhancedLogger indicates an expected call of GetEnhancedLogger.

func (*MockInvocationContextMockRecorder) GetLogger

GetLogger indicates an expected call of GetLogger.

func (*MockInvocationContextMockRecorder) GetNetworkAccess

func (mr *MockInvocationContextMockRecorder) GetNetworkAccess() *gomock.Call

GetNetworkAccess indicates an expected call of GetNetworkAccess.

func (*MockInvocationContextMockRecorder) GetUserInterface

func (mr *MockInvocationContextMockRecorder) GetUserInterface() *gomock.Call

GetUserInterface indicates an expected call of GetUserInterface.

func (*MockInvocationContextMockRecorder) GetWorkflowIdentifier

func (mr *MockInvocationContextMockRecorder) GetWorkflowIdentifier() *gomock.Call

GetWorkflowIdentifier indicates an expected call of GetWorkflowIdentifier.

type MockNetworkAccess

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

MockNetworkAccess is a mock of NetworkAccess interface.

func NewMockNetworkAccess

func NewMockNetworkAccess(ctrl *gomock.Controller) *MockNetworkAccess

NewMockNetworkAccess creates a new mock instance.

func (*MockNetworkAccess) AddHeaderField

func (m *MockNetworkAccess) AddHeaderField(key, value string)

AddHeaderField mocks base method.

func (*MockNetworkAccess) AddHeaders

func (m *MockNetworkAccess) AddHeaders(request *http.Request) error

AddHeaders mocks base method.

func (*MockNetworkAccess) AddRootCAs

func (m *MockNetworkAccess) AddRootCAs(pemFileLocation string) error

AddRootCAs mocks base method.

func (*MockNetworkAccess) EXPECT

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

func (*MockNetworkAccess) GetAuthenticator

func (m *MockNetworkAccess) GetAuthenticator() auth.Authenticator

GetAuthenticator mocks base method.

func (*MockNetworkAccess) GetConfiguration

func (m *MockNetworkAccess) GetConfiguration() configuration.Configuration

GetConfiguration mocks base method.

func (*MockNetworkAccess) GetHttpClient

func (m *MockNetworkAccess) GetHttpClient() *http.Client

GetHttpClient mocks base method.

func (*MockNetworkAccess) GetLogger

func (m *MockNetworkAccess) GetLogger() *zerolog.Logger

GetLogger mocks base method.

func (*MockNetworkAccess) GetRoundTripper

func (m *MockNetworkAccess) GetRoundTripper() http.RoundTripper

GetRoundTripper mocks base method.

func (*MockNetworkAccess) GetUnauthorizedHttpClient

func (m *MockNetworkAccess) GetUnauthorizedHttpClient() *http.Client

GetUnauthorizedHttpClient mocks base method.

func (*MockNetworkAccess) SetConfiguration

func (m *MockNetworkAccess) SetConfiguration(configuration configuration.Configuration)

SetConfiguration mocks base method.

func (*MockNetworkAccess) SetLogger

func (m *MockNetworkAccess) SetLogger(logger *zerolog.Logger)

SetLogger mocks base method.

type MockNetworkAccessMockRecorder

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

MockNetworkAccessMockRecorder is the mock recorder for MockNetworkAccess.

func (*MockNetworkAccessMockRecorder) AddHeaderField

func (mr *MockNetworkAccessMockRecorder) AddHeaderField(key, value interface{}) *gomock.Call

AddHeaderField indicates an expected call of AddHeaderField.

func (*MockNetworkAccessMockRecorder) AddHeaders

func (mr *MockNetworkAccessMockRecorder) AddHeaders(request interface{}) *gomock.Call

AddHeaders indicates an expected call of AddHeaders.

func (*MockNetworkAccessMockRecorder) AddRootCAs

func (mr *MockNetworkAccessMockRecorder) AddRootCAs(pemFileLocation interface{}) *gomock.Call

AddRootCAs indicates an expected call of AddRootCAs.

func (*MockNetworkAccessMockRecorder) GetAuthenticator

func (mr *MockNetworkAccessMockRecorder) GetAuthenticator() *gomock.Call

GetAuthenticator indicates an expected call of GetAuthenticator.

func (*MockNetworkAccessMockRecorder) GetConfiguration

func (mr *MockNetworkAccessMockRecorder) GetConfiguration() *gomock.Call

GetConfiguration indicates an expected call of GetConfiguration.

func (*MockNetworkAccessMockRecorder) GetHttpClient

func (mr *MockNetworkAccessMockRecorder) GetHttpClient() *gomock.Call

GetHttpClient indicates an expected call of GetHttpClient.

func (*MockNetworkAccessMockRecorder) GetLogger

func (mr *MockNetworkAccessMockRecorder) GetLogger() *gomock.Call

GetLogger indicates an expected call of GetLogger.

func (*MockNetworkAccessMockRecorder) GetRoundTripper

func (mr *MockNetworkAccessMockRecorder) GetRoundTripper() *gomock.Call

GetRoundTripper indicates an expected call of GetRoundTripper.

func (*MockNetworkAccessMockRecorder) GetUnauthorizedHttpClient

func (mr *MockNetworkAccessMockRecorder) GetUnauthorizedHttpClient() *gomock.Call

GetUnauthorizedHttpClient indicates an expected call of GetUnauthorizedHttpClient.

func (*MockNetworkAccessMockRecorder) SetConfiguration

func (mr *MockNetworkAccessMockRecorder) SetConfiguration(configuration interface{}) *gomock.Call

SetConfiguration indicates an expected call of SetConfiguration.

func (*MockNetworkAccessMockRecorder) SetLogger

func (mr *MockNetworkAccessMockRecorder) SetLogger(logger interface{}) *gomock.Call

SetLogger indicates an expected call of SetLogger.

type MockProgressBar

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

MockProgressBar is a mock of ProgressBar interface.

func NewMockProgressBar

func NewMockProgressBar(ctrl *gomock.Controller) *MockProgressBar

NewMockProgressBar creates a new mock instance.

func (*MockProgressBar) Clear

func (m *MockProgressBar) Clear() error

Clear mocks base method.

func (*MockProgressBar) EXPECT

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

func (*MockProgressBar) SetTitle

func (m *MockProgressBar) SetTitle(title string)

SetTitle mocks base method.

func (*MockProgressBar) UpdateProgress

func (m *MockProgressBar) UpdateProgress(progress float64) error

UpdateProgress mocks base method.

type MockProgressBarMockRecorder

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

MockProgressBarMockRecorder is the mock recorder for MockProgressBar.

func (*MockProgressBarMockRecorder) Clear

Clear indicates an expected call of Clear.

func (*MockProgressBarMockRecorder) SetTitle

func (mr *MockProgressBarMockRecorder) SetTitle(title interface{}) *gomock.Call

SetTitle indicates an expected call of SetTitle.

func (*MockProgressBarMockRecorder) UpdateProgress

func (mr *MockProgressBarMockRecorder) UpdateProgress(progress interface{}) *gomock.Call

UpdateProgress indicates an expected call of UpdateProgress.

type MockUserInterface

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

MockUserInterface is a mock of UserInterface interface.

func NewMockUserInterface

func NewMockUserInterface(ctrl *gomock.Controller) *MockUserInterface

NewMockUserInterface creates a new mock instance.

func (*MockUserInterface) EXPECT

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

func (*MockUserInterface) Input

func (m *MockUserInterface) Input(prompt string) (string, error)

Input mocks base method.

func (*MockUserInterface) NewProgressBar

func (m *MockUserInterface) NewProgressBar() ui.ProgressBar

NewProgressBar mocks base method.

func (*MockUserInterface) Output

func (m *MockUserInterface) Output(output string) error

Output mocks base method.

func (*MockUserInterface) OutputError

func (m *MockUserInterface) OutputError(err error) error

OutputError mocks base method.

type MockUserInterfaceMockRecorder

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

MockUserInterfaceMockRecorder is the mock recorder for MockUserInterface.

func (*MockUserInterfaceMockRecorder) Input

func (mr *MockUserInterfaceMockRecorder) Input(prompt interface{}) *gomock.Call

Input indicates an expected call of Input.

func (*MockUserInterfaceMockRecorder) NewProgressBar

func (mr *MockUserInterfaceMockRecorder) NewProgressBar() *gomock.Call

NewProgressBar indicates an expected call of NewProgressBar.

func (*MockUserInterfaceMockRecorder) Output

func (mr *MockUserInterfaceMockRecorder) Output(output interface{}) *gomock.Call

Output indicates an expected call of Output.

func (*MockUserInterfaceMockRecorder) OutputError

func (mr *MockUserInterfaceMockRecorder) OutputError(err interface{}) *gomock.Call

OutputError indicates an expected call of OutputError.

Jump to

Keyboard shortcuts

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