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.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockAuthenticator
- type MockAuthenticatorMockRecorder
- type MockConfiguration
- func (m *MockConfiguration) AddAlternativeKeys(key string, altKeys []string)
- func (m *MockConfiguration) AddDefaultValue(key string, defaultValue configuration.DefaultValueFunction)
- func (m *MockConfiguration) AddFlagSet(flagset *pflag.FlagSet) error
- func (m *MockConfiguration) AllKeys() []string
- func (m *MockConfiguration) AutomaticEnv()
- func (m *MockConfiguration) Clone() configuration.Configuration
- func (m *MockConfiguration) EXPECT() *MockConfigurationMockRecorder
- func (m *MockConfiguration) Get(key string) interface{}
- func (m *MockConfiguration) GetAllKeysThatContainValues(key string) []string
- func (m *MockConfiguration) GetAlternativeKeys(key string) []string
- func (m *MockConfiguration) GetAutomaticEnv() bool
- func (m *MockConfiguration) GetBool(key string) bool
- func (m *MockConfiguration) GetFiles() []string
- func (m *MockConfiguration) GetFloat64(key string) float64
- func (m *MockConfiguration) GetInt(key string) int
- func (m *MockConfiguration) GetKeyType(key string) configuration.KeyType
- func (m *MockConfiguration) GetStorage() configuration.Storage
- func (m *MockConfiguration) GetString(key string) string
- func (m *MockConfiguration) GetStringSlice(key string) []string
- func (m *MockConfiguration) GetSupportedEnvVarPrefixes() []string
- func (m *MockConfiguration) GetSupportedEnvVars() []string
- func (m *MockConfiguration) GetUrl(key string) *url.URL
- func (m *MockConfiguration) GetWithError(key string) (interface{}, error)
- func (m *MockConfiguration) IsSet(key string) bool
- func (m *MockConfiguration) PersistInStorage(key string)
- func (m *MockConfiguration) ReloadConfig() error
- func (m *MockConfiguration) Set(key string, value interface{})
- func (m *MockConfiguration) SetFiles(files ...string)
- func (m *MockConfiguration) SetStorage(storage configuration.Storage)
- func (m *MockConfiguration) SetSupportedEnvVarPrefixes(prefixes ...string)
- func (m *MockConfiguration) SetSupportedEnvVars(envVars ...string)
- func (m *MockConfiguration) Unset(key string)
- type MockConfigurationMockRecorder
- func (mr *MockConfigurationMockRecorder) AddAlternativeKeys(key, altKeys interface{}) *gomock.Call
- func (mr *MockConfigurationMockRecorder) AddDefaultValue(key, defaultValue interface{}) *gomock.Call
- func (mr *MockConfigurationMockRecorder) AddFlagSet(flagset interface{}) *gomock.Call
- func (mr *MockConfigurationMockRecorder) AllKeys() *gomock.Call
- func (mr *MockConfigurationMockRecorder) AutomaticEnv() *gomock.Call
- func (mr *MockConfigurationMockRecorder) Clone() *gomock.Call
- func (mr *MockConfigurationMockRecorder) Get(key interface{}) *gomock.Call
- func (mr *MockConfigurationMockRecorder) GetAllKeysThatContainValues(key interface{}) *gomock.Call
- func (mr *MockConfigurationMockRecorder) GetAlternativeKeys(key interface{}) *gomock.Call
- func (mr *MockConfigurationMockRecorder) GetAutomaticEnv() *gomock.Call
- func (mr *MockConfigurationMockRecorder) GetBool(key interface{}) *gomock.Call
- func (mr *MockConfigurationMockRecorder) GetFiles() *gomock.Call
- func (mr *MockConfigurationMockRecorder) GetFloat64(key interface{}) *gomock.Call
- func (mr *MockConfigurationMockRecorder) GetInt(key interface{}) *gomock.Call
- func (mr *MockConfigurationMockRecorder) GetKeyType(key interface{}) *gomock.Call
- func (mr *MockConfigurationMockRecorder) GetStorage() *gomock.Call
- func (mr *MockConfigurationMockRecorder) GetString(key interface{}) *gomock.Call
- func (mr *MockConfigurationMockRecorder) GetStringSlice(key interface{}) *gomock.Call
- func (mr *MockConfigurationMockRecorder) GetSupportedEnvVarPrefixes() *gomock.Call
- func (mr *MockConfigurationMockRecorder) GetSupportedEnvVars() *gomock.Call
- func (mr *MockConfigurationMockRecorder) GetUrl(key interface{}) *gomock.Call
- func (mr *MockConfigurationMockRecorder) GetWithError(key interface{}) *gomock.Call
- func (mr *MockConfigurationMockRecorder) IsSet(key interface{}) *gomock.Call
- func (mr *MockConfigurationMockRecorder) PersistInStorage(key interface{}) *gomock.Call
- func (mr *MockConfigurationMockRecorder) ReloadConfig() *gomock.Call
- func (mr *MockConfigurationMockRecorder) Set(key, value interface{}) *gomock.Call
- func (mr *MockConfigurationMockRecorder) SetFiles(files ...interface{}) *gomock.Call
- func (mr *MockConfigurationMockRecorder) SetStorage(storage interface{}) *gomock.Call
- func (mr *MockConfigurationMockRecorder) SetSupportedEnvVarPrefixes(prefixes ...interface{}) *gomock.Call
- func (mr *MockConfigurationMockRecorder) SetSupportedEnvVars(envVars ...interface{}) *gomock.Call
- func (mr *MockConfigurationMockRecorder) Unset(key interface{}) *gomock.Call
- type MockConfigurationOptions
- type MockConfigurationOptionsMockRecorder
- type MockData
- func (m *MockData) AddError(err snyk_errors.Error)
- func (m *MockData) EXPECT() *MockDataMockRecorder
- func (m *MockData) GetContentLocation() string
- func (m *MockData) GetContentType() string
- func (m *MockData) GetErrorList() []snyk_errors.Error
- func (m *MockData) GetIdentifier() workflow.Identifier
- func (m *MockData) GetMetaData(key string) (string, error)
- func (m *MockData) GetPayload() interface{}
- func (m *MockData) SetContentLocation(arg0 string)
- func (m *MockData) SetMetaData(key, value string)
- func (m *MockData) SetPayload(payload interface{})
- type MockDataMockRecorder
- func (mr *MockDataMockRecorder) AddError(err interface{}) *gomock.Call
- func (mr *MockDataMockRecorder) GetContentLocation() *gomock.Call
- func (mr *MockDataMockRecorder) GetContentType() *gomock.Call
- func (mr *MockDataMockRecorder) GetErrorList() *gomock.Call
- func (mr *MockDataMockRecorder) GetIdentifier() *gomock.Call
- func (mr *MockDataMockRecorder) GetMetaData(key interface{}) *gomock.Call
- func (mr *MockDataMockRecorder) GetPayload() *gomock.Call
- func (mr *MockDataMockRecorder) SetContentLocation(arg0 interface{}) *gomock.Call
- func (mr *MockDataMockRecorder) SetMetaData(key, value interface{}) *gomock.Call
- func (mr *MockDataMockRecorder) SetPayload(payload interface{}) *gomock.Call
- type MockEngine
- func (m *MockEngine) AddExtensionInitializer(initializer workflow.ExtensionInit)
- func (m *MockEngine) EXPECT() *MockEngineMockRecorder
- func (m *MockEngine) GetAnalytics() analytics.Analytics
- func (m *MockEngine) GetConfiguration() configuration.Configuration
- func (m *MockEngine) GetLogger() *zerolog.Logger
- func (m *MockEngine) GetNetworkAccess() networking.NetworkAccess
- func (m *MockEngine) GetRuntimeInfo() runtimeinfo.RuntimeInfo
- func (m *MockEngine) GetUserInterface() ui.UserInterface
- func (m *MockEngine) GetWorkflow(id workflow.Identifier) (workflow.Entry, bool)
- func (m *MockEngine) GetWorkflows() []workflow.Identifier
- func (m *MockEngine) Init() error
- func (m *MockEngine) Invoke(id workflow.Identifier) ([]workflow.Data, error)
- func (m *MockEngine) InvokeWithConfig(id workflow.Identifier, config configuration.Configuration) ([]workflow.Data, error)
- func (m *MockEngine) InvokeWithInput(id workflow.Identifier, input []workflow.Data) ([]workflow.Data, error)
- func (m *MockEngine) InvokeWithInputAndConfig(id workflow.Identifier, input []workflow.Data, ...) ([]workflow.Data, error)
- func (m *MockEngine) Register(id workflow.Identifier, config workflow.ConfigurationOptions, ...) (workflow.Entry, error)
- func (m *MockEngine) SetConfiguration(config configuration.Configuration)
- func (m *MockEngine) SetLogger(logger *zerolog.Logger)
- func (m *MockEngine) SetRuntimeInfo(ri runtimeinfo.RuntimeInfo)
- func (m *MockEngine) SetUserInterface(ui ui.UserInterface)
- type MockEngineMockRecorder
- func (mr *MockEngineMockRecorder) AddExtensionInitializer(initializer interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) GetAnalytics() *gomock.Call
- func (mr *MockEngineMockRecorder) GetConfiguration() *gomock.Call
- func (mr *MockEngineMockRecorder) GetLogger() *gomock.Call
- func (mr *MockEngineMockRecorder) GetNetworkAccess() *gomock.Call
- func (mr *MockEngineMockRecorder) GetRuntimeInfo() *gomock.Call
- func (mr *MockEngineMockRecorder) GetUserInterface() *gomock.Call
- func (mr *MockEngineMockRecorder) GetWorkflow(id interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) GetWorkflows() *gomock.Call
- func (mr *MockEngineMockRecorder) Init() *gomock.Call
- func (mr *MockEngineMockRecorder) Invoke(id interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) InvokeWithConfig(id, config interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) InvokeWithInput(id, input interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) InvokeWithInputAndConfig(id, input, config interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) Register(id, config, callback interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) SetConfiguration(config interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) SetLogger(logger interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) SetRuntimeInfo(ri interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) SetUserInterface(ui interface{}) *gomock.Call
- type MockEntry
- type MockEntryMockRecorder
- type MockInvocationContext
- func (m *MockInvocationContext) EXPECT() *MockInvocationContextMockRecorder
- func (m *MockInvocationContext) GetAnalytics() analytics.Analytics
- func (m *MockInvocationContext) GetConfiguration() configuration.Configuration
- func (m *MockInvocationContext) GetEngine() workflow.Engine
- func (m *MockInvocationContext) GetEnhancedLogger() *zerolog.Logger
- func (m *MockInvocationContext) GetLogger() *log.Logger
- func (m *MockInvocationContext) GetNetworkAccess() networking.NetworkAccess
- func (m *MockInvocationContext) GetRuntimeInfo() runtimeinfo.RuntimeInfo
- func (m *MockInvocationContext) GetUserInterface() ui.UserInterface
- func (m *MockInvocationContext) GetWorkflowIdentifier() workflow.Identifier
- type MockInvocationContextMockRecorder
- func (mr *MockInvocationContextMockRecorder) GetAnalytics() *gomock.Call
- func (mr *MockInvocationContextMockRecorder) GetConfiguration() *gomock.Call
- func (mr *MockInvocationContextMockRecorder) GetEngine() *gomock.Call
- func (mr *MockInvocationContextMockRecorder) GetEnhancedLogger() *gomock.Call
- func (mr *MockInvocationContextMockRecorder) GetLogger() *gomock.Call
- func (mr *MockInvocationContextMockRecorder) GetNetworkAccess() *gomock.Call
- func (mr *MockInvocationContextMockRecorder) GetRuntimeInfo() *gomock.Call
- func (mr *MockInvocationContextMockRecorder) GetUserInterface() *gomock.Call
- func (mr *MockInvocationContextMockRecorder) GetWorkflowIdentifier() *gomock.Call
- type MockNetworkAccess
- func (m *MockNetworkAccess) AddDynamicHeaderField(key string, f networking.DynamicHeaderFunc)
- func (m *MockNetworkAccess) AddErrorHandler(arg0 networktypes.ErrorHandlerFunc)
- func (m *MockNetworkAccess) AddHeaderField(key, value string)
- func (m *MockNetworkAccess) AddHeaders(request *http.Request) error
- func (m *MockNetworkAccess) AddRootCAs(pemFileLocation string) error
- func (m *MockNetworkAccess) Clone() networking.NetworkAccess
- func (m *MockNetworkAccess) EXPECT() *MockNetworkAccessMockRecorder
- func (m *MockNetworkAccess) GetAuthenticator() auth.Authenticator
- func (m *MockNetworkAccess) GetConfiguration() configuration.Configuration
- func (m *MockNetworkAccess) GetErrorHandler() networktypes.ErrorHandlerFunc
- func (m *MockNetworkAccess) GetHttpClient() *http.Client
- func (m *MockNetworkAccess) GetLogger() *zerolog.Logger
- func (m *MockNetworkAccess) GetRoundTripper() http.RoundTripper
- func (m *MockNetworkAccess) GetUnauthorizedHttpClient() *http.Client
- func (m *MockNetworkAccess) SetConfiguration(configuration configuration.Configuration)
- func (m *MockNetworkAccess) SetLogger(logger *zerolog.Logger)
- type MockNetworkAccessMockRecorder
- func (mr *MockNetworkAccessMockRecorder) AddDynamicHeaderField(key, f interface{}) *gomock.Call
- func (mr *MockNetworkAccessMockRecorder) AddErrorHandler(arg0 interface{}) *gomock.Call
- func (mr *MockNetworkAccessMockRecorder) AddHeaderField(key, value interface{}) *gomock.Call
- func (mr *MockNetworkAccessMockRecorder) AddHeaders(request interface{}) *gomock.Call
- func (mr *MockNetworkAccessMockRecorder) AddRootCAs(pemFileLocation interface{}) *gomock.Call
- func (mr *MockNetworkAccessMockRecorder) Clone() *gomock.Call
- func (mr *MockNetworkAccessMockRecorder) GetAuthenticator() *gomock.Call
- func (mr *MockNetworkAccessMockRecorder) GetConfiguration() *gomock.Call
- func (mr *MockNetworkAccessMockRecorder) GetErrorHandler() *gomock.Call
- func (mr *MockNetworkAccessMockRecorder) GetHttpClient() *gomock.Call
- func (mr *MockNetworkAccessMockRecorder) GetLogger() *gomock.Call
- func (mr *MockNetworkAccessMockRecorder) GetRoundTripper() *gomock.Call
- func (mr *MockNetworkAccessMockRecorder) GetUnauthorizedHttpClient() *gomock.Call
- func (mr *MockNetworkAccessMockRecorder) SetConfiguration(configuration interface{}) *gomock.Call
- func (mr *MockNetworkAccessMockRecorder) SetLogger(logger interface{}) *gomock.Call
- type MockProgressBar
- type MockProgressBarMockRecorder
- type MockRuntimeInfo
- type MockRuntimeInfoMockRecorder
- type MockStorage
- func (m *MockStorage) EXPECT() *MockStorageMockRecorder
- func (m *MockStorage) Lock(ctx context.Context, retryDelay time.Duration) error
- func (m *MockStorage) Refresh(config configuration.Configuration, key string) error
- func (m *MockStorage) Set(key string, value any) error
- func (m *MockStorage) Unlock() error
- type MockStorageMockRecorder
- type MockUserInterface
- func (m *MockUserInterface) EXPECT() *MockUserInterfaceMockRecorder
- func (m *MockUserInterface) Input(prompt string) (string, error)
- func (m *MockUserInterface) NewProgressBar() ui.ProgressBar
- func (m *MockUserInterface) Output(output string) error
- func (m *MockUserInterface) OutputError(err error) error
- type MockUserInterfaceMockRecorder
- func (mr *MockUserInterfaceMockRecorder) Input(prompt interface{}) *gomock.Call
- func (mr *MockUserInterfaceMockRecorder) NewProgressBar() *gomock.Call
- func (mr *MockUserInterfaceMockRecorder) Output(output interface{}) *gomock.Call
- func (mr *MockUserInterfaceMockRecorder) OutputError(err interface{}) *gomock.Call
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 ¶
func (m *MockAuthenticator) EXPECT() *MockAuthenticatorMockRecorder
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) AutomaticEnv ¶
func (m *MockConfiguration) AutomaticEnv()
AutomaticEnv mocks base method.
func (*MockConfiguration) Clone ¶
func (m *MockConfiguration) Clone() configuration.Configuration
Clone mocks base method.
func (*MockConfiguration) EXPECT ¶
func (m *MockConfiguration) EXPECT() *MockConfigurationMockRecorder
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) GetAllKeysThatContainValues ¶
func (m *MockConfiguration) GetAllKeysThatContainValues(key string) []string
GetAllKeysThatContainValues mocks base method.
func (*MockConfiguration) GetAlternativeKeys ¶
func (m *MockConfiguration) GetAlternativeKeys(key string) []string
GetAlternativeKeys mocks base method.
func (*MockConfiguration) GetAutomaticEnv ¶
func (m *MockConfiguration) GetAutomaticEnv() bool
GetAutomaticEnv mocks base method.
func (*MockConfiguration) GetBool ¶
func (m *MockConfiguration) GetBool(key string) bool
GetBool mocks base method.
func (*MockConfiguration) GetFiles ¶
func (m *MockConfiguration) GetFiles() []string
GetFiles 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) GetKeyType ¶
func (m *MockConfiguration) GetKeyType(key string) configuration.KeyType
GetKeyType 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) GetSupportedEnvVarPrefixes ¶
func (m *MockConfiguration) GetSupportedEnvVarPrefixes() []string
GetSupportedEnvVarPrefixes mocks base method.
func (*MockConfiguration) GetSupportedEnvVars ¶
func (m *MockConfiguration) GetSupportedEnvVars() []string
GetSupportedEnvVars mocks base method.
func (*MockConfiguration) GetUrl ¶
func (m *MockConfiguration) GetUrl(key string) *url.URL
GetUrl mocks base method.
func (*MockConfiguration) GetWithError ¶
func (m *MockConfiguration) GetWithError(key string) (interface{}, error)
GetWithError mocks base method.
func (*MockConfiguration) IsSet ¶
func (m *MockConfiguration) IsSet(key string) bool
IsSet mocks base method.
func (*MockConfiguration) PersistInStorage ¶
func (m *MockConfiguration) PersistInStorage(key string)
PersistInStorage mocks base method.
func (*MockConfiguration) ReloadConfig ¶
func (m *MockConfiguration) ReloadConfig() error
ReloadConfig mocks base method.
func (*MockConfiguration) Set ¶
func (m *MockConfiguration) Set(key string, value interface{})
Set mocks base method.
func (*MockConfiguration) SetFiles ¶
func (m *MockConfiguration) SetFiles(files ...string)
SetFiles mocks base method.
func (*MockConfiguration) SetStorage ¶
func (m *MockConfiguration) SetStorage(storage configuration.Storage)
SetStorage mocks base method.
func (*MockConfiguration) SetSupportedEnvVarPrefixes ¶
func (m *MockConfiguration) SetSupportedEnvVarPrefixes(prefixes ...string)
SetSupportedEnvVarPrefixes mocks base method.
func (*MockConfiguration) SetSupportedEnvVars ¶
func (m *MockConfiguration) SetSupportedEnvVars(envVars ...string)
SetSupportedEnvVars mocks base method.
func (*MockConfiguration) Unset ¶
func (m *MockConfiguration) Unset(key string)
Unset 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) AutomaticEnv ¶
func (mr *MockConfigurationMockRecorder) AutomaticEnv() *gomock.Call
AutomaticEnv indicates an expected call of AutomaticEnv.
func (*MockConfigurationMockRecorder) Clone ¶
func (mr *MockConfigurationMockRecorder) Clone() *gomock.Call
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) GetAllKeysThatContainValues ¶
func (mr *MockConfigurationMockRecorder) GetAllKeysThatContainValues(key interface{}) *gomock.Call
GetAllKeysThatContainValues indicates an expected call of GetAllKeysThatContainValues.
func (*MockConfigurationMockRecorder) GetAlternativeKeys ¶
func (mr *MockConfigurationMockRecorder) GetAlternativeKeys(key interface{}) *gomock.Call
GetAlternativeKeys indicates an expected call of GetAlternativeKeys.
func (*MockConfigurationMockRecorder) GetAutomaticEnv ¶
func (mr *MockConfigurationMockRecorder) GetAutomaticEnv() *gomock.Call
GetAutomaticEnv indicates an expected call of GetAutomaticEnv.
func (*MockConfigurationMockRecorder) GetBool ¶
func (mr *MockConfigurationMockRecorder) GetBool(key interface{}) *gomock.Call
GetBool indicates an expected call of GetBool.
func (*MockConfigurationMockRecorder) GetFiles ¶
func (mr *MockConfigurationMockRecorder) GetFiles() *gomock.Call
GetFiles indicates an expected call of GetFiles.
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) GetKeyType ¶
func (mr *MockConfigurationMockRecorder) GetKeyType(key interface{}) *gomock.Call
GetKeyType indicates an expected call of GetKeyType.
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) GetSupportedEnvVarPrefixes ¶
func (mr *MockConfigurationMockRecorder) GetSupportedEnvVarPrefixes() *gomock.Call
GetSupportedEnvVarPrefixes indicates an expected call of GetSupportedEnvVarPrefixes.
func (*MockConfigurationMockRecorder) GetSupportedEnvVars ¶
func (mr *MockConfigurationMockRecorder) GetSupportedEnvVars() *gomock.Call
GetSupportedEnvVars indicates an expected call of GetSupportedEnvVars.
func (*MockConfigurationMockRecorder) GetUrl ¶
func (mr *MockConfigurationMockRecorder) GetUrl(key interface{}) *gomock.Call
GetUrl indicates an expected call of GetUrl.
func (*MockConfigurationMockRecorder) GetWithError ¶
func (mr *MockConfigurationMockRecorder) GetWithError(key interface{}) *gomock.Call
GetWithError indicates an expected call of GetWithError.
func (*MockConfigurationMockRecorder) IsSet ¶
func (mr *MockConfigurationMockRecorder) IsSet(key interface{}) *gomock.Call
IsSet indicates an expected call of IsSet.
func (*MockConfigurationMockRecorder) PersistInStorage ¶
func (mr *MockConfigurationMockRecorder) PersistInStorage(key interface{}) *gomock.Call
PersistInStorage indicates an expected call of PersistInStorage.
func (*MockConfigurationMockRecorder) ReloadConfig ¶
func (mr *MockConfigurationMockRecorder) ReloadConfig() *gomock.Call
ReloadConfig indicates an expected call of ReloadConfig.
func (*MockConfigurationMockRecorder) Set ¶
func (mr *MockConfigurationMockRecorder) Set(key, value interface{}) *gomock.Call
Set indicates an expected call of Set.
func (*MockConfigurationMockRecorder) SetFiles ¶
func (mr *MockConfigurationMockRecorder) SetFiles(files ...interface{}) *gomock.Call
SetFiles indicates an expected call of SetFiles.
func (*MockConfigurationMockRecorder) SetStorage ¶
func (mr *MockConfigurationMockRecorder) SetStorage(storage interface{}) *gomock.Call
SetStorage indicates an expected call of SetStorage.
func (*MockConfigurationMockRecorder) SetSupportedEnvVarPrefixes ¶
func (mr *MockConfigurationMockRecorder) SetSupportedEnvVarPrefixes(prefixes ...interface{}) *gomock.Call
SetSupportedEnvVarPrefixes indicates an expected call of SetSupportedEnvVarPrefixes.
func (*MockConfigurationMockRecorder) SetSupportedEnvVars ¶
func (mr *MockConfigurationMockRecorder) SetSupportedEnvVars(envVars ...interface{}) *gomock.Call
SetSupportedEnvVars indicates an expected call of SetSupportedEnvVars.
func (*MockConfigurationMockRecorder) Unset ¶
func (mr *MockConfigurationMockRecorder) Unset(key interface{}) *gomock.Call
Unset indicates an expected call of Unset.
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 ¶
func (m *MockConfigurationOptions) EXPECT() *MockConfigurationOptionsMockRecorder
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) AddError ¶
func (m *MockData) AddError(err snyk_errors.Error)
AddError mocks base method.
func (*MockData) EXPECT ¶
func (m *MockData) EXPECT() *MockDataMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockData) GetContentLocation ¶
GetContentLocation mocks base method.
func (*MockData) GetContentType ¶
GetContentType mocks base method.
func (*MockData) GetErrorList ¶
func (m *MockData) GetErrorList() []snyk_errors.Error
GetErrorList mocks base method.
func (*MockData) GetIdentifier ¶
func (m *MockData) GetIdentifier() workflow.Identifier
GetIdentifier mocks base method.
func (*MockData) GetMetaData ¶
GetMetaData mocks base method.
func (*MockData) GetPayload ¶
func (m *MockData) GetPayload() interface{}
GetPayload mocks base method.
func (*MockData) SetContentLocation ¶
SetContentLocation mocks base method.
func (*MockData) SetMetaData ¶
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) AddError ¶
func (mr *MockDataMockRecorder) AddError(err interface{}) *gomock.Call
AddError indicates an expected call of AddError.
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) GetErrorList ¶
func (mr *MockDataMockRecorder) GetErrorList() *gomock.Call
GetErrorList indicates an expected call of GetErrorList.
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) GetRuntimeInfo ¶
func (m *MockEngine) GetRuntimeInfo() runtimeinfo.RuntimeInfo
GetRuntimeInfo 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) 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 ¶
func (m *MockEngine) Register(id workflow.Identifier, config workflow.ConfigurationOptions, callback workflow.Callback) (workflow.Entry, error)
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) SetRuntimeInfo ¶
func (m *MockEngine) SetRuntimeInfo(ri runtimeinfo.RuntimeInfo)
SetRuntimeInfo 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) GetRuntimeInfo ¶
func (mr *MockEngineMockRecorder) GetRuntimeInfo() *gomock.Call
GetRuntimeInfo indicates an expected call of GetRuntimeInfo.
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) SetRuntimeInfo ¶
func (mr *MockEngineMockRecorder) SetRuntimeInfo(ri interface{}) *gomock.Call
SetRuntimeInfo indicates an expected call of SetRuntimeInfo.
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 ¶
GetEntryPoint mocks base method.
func (*MockEntry) SetVisibility ¶
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 ¶
func (m *MockInvocationContext) EXPECT() *MockInvocationContextMockRecorder
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) GetRuntimeInfo ¶
func (m *MockInvocationContext) GetRuntimeInfo() runtimeinfo.RuntimeInfo
GetRuntimeInfo 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 ¶
func (mr *MockInvocationContextMockRecorder) GetEngine() *gomock.Call
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 ¶
func (mr *MockInvocationContextMockRecorder) GetLogger() *gomock.Call
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) GetRuntimeInfo ¶
func (mr *MockInvocationContextMockRecorder) GetRuntimeInfo() *gomock.Call
GetRuntimeInfo indicates an expected call of GetRuntimeInfo.
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) AddDynamicHeaderField ¶
func (m *MockNetworkAccess) AddDynamicHeaderField(key string, f networking.DynamicHeaderFunc)
AddDynamicHeaderField mocks base method.
func (*MockNetworkAccess) AddErrorHandler ¶
func (m *MockNetworkAccess) AddErrorHandler(arg0 networktypes.ErrorHandlerFunc)
AddErrorHandler mocks base method.
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) Clone ¶
func (m *MockNetworkAccess) Clone() networking.NetworkAccess
Clone mocks base method.
func (*MockNetworkAccess) EXPECT ¶
func (m *MockNetworkAccess) EXPECT() *MockNetworkAccessMockRecorder
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) GetErrorHandler ¶
func (m *MockNetworkAccess) GetErrorHandler() networktypes.ErrorHandlerFunc
GetErrorHandler 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) AddDynamicHeaderField ¶
func (mr *MockNetworkAccessMockRecorder) AddDynamicHeaderField(key, f interface{}) *gomock.Call
AddDynamicHeaderField indicates an expected call of AddDynamicHeaderField.
func (*MockNetworkAccessMockRecorder) AddErrorHandler ¶
func (mr *MockNetworkAccessMockRecorder) AddErrorHandler(arg0 interface{}) *gomock.Call
AddErrorHandler indicates an expected call of AddErrorHandler.
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) Clone ¶
func (mr *MockNetworkAccessMockRecorder) Clone() *gomock.Call
Clone indicates an expected call of Clone.
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) GetErrorHandler ¶
func (mr *MockNetworkAccessMockRecorder) GetErrorHandler() *gomock.Call
GetErrorHandler indicates an expected call of GetErrorHandler.
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) EXPECT ¶
func (m *MockProgressBar) EXPECT() *MockProgressBarMockRecorder
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 ¶
func (mr *MockProgressBarMockRecorder) Clear() *gomock.Call
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 MockRuntimeInfo ¶
type MockRuntimeInfo struct {
// contains filtered or unexported fields
}
MockRuntimeInfo is a mock of RuntimeInfo interface.
func NewMockRuntimeInfo ¶
func NewMockRuntimeInfo(ctrl *gomock.Controller) *MockRuntimeInfo
NewMockRuntimeInfo creates a new mock instance.
func (*MockRuntimeInfo) EXPECT ¶
func (m *MockRuntimeInfo) EXPECT() *MockRuntimeInfoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRuntimeInfo) GetName ¶
func (m *MockRuntimeInfo) GetName() string
GetName mocks base method.
func (*MockRuntimeInfo) GetVersion ¶
func (m *MockRuntimeInfo) GetVersion() string
GetVersion mocks base method.
func (*MockRuntimeInfo) SetName ¶
func (m *MockRuntimeInfo) SetName(arg0 string)
SetName mocks base method.
func (*MockRuntimeInfo) SetVersion ¶
func (m *MockRuntimeInfo) SetVersion(arg0 string)
SetVersion mocks base method.
type MockRuntimeInfoMockRecorder ¶
type MockRuntimeInfoMockRecorder struct {
// contains filtered or unexported fields
}
MockRuntimeInfoMockRecorder is the mock recorder for MockRuntimeInfo.
func (*MockRuntimeInfoMockRecorder) GetName ¶
func (mr *MockRuntimeInfoMockRecorder) GetName() *gomock.Call
GetName indicates an expected call of GetName.
func (*MockRuntimeInfoMockRecorder) GetVersion ¶
func (mr *MockRuntimeInfoMockRecorder) GetVersion() *gomock.Call
GetVersion indicates an expected call of GetVersion.
func (*MockRuntimeInfoMockRecorder) SetName ¶
func (mr *MockRuntimeInfoMockRecorder) SetName(arg0 interface{}) *gomock.Call
SetName indicates an expected call of SetName.
func (*MockRuntimeInfoMockRecorder) SetVersion ¶
func (mr *MockRuntimeInfoMockRecorder) SetVersion(arg0 interface{}) *gomock.Call
SetVersion indicates an expected call of SetVersion.
type MockStorage ¶
type MockStorage struct {
// contains filtered or unexported fields
}
MockStorage is a mock of Storage interface.
func NewMockStorage ¶
func NewMockStorage(ctrl *gomock.Controller) *MockStorage
NewMockStorage creates a new mock instance.
func (*MockStorage) EXPECT ¶
func (m *MockStorage) EXPECT() *MockStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStorage) Refresh ¶
func (m *MockStorage) Refresh(config configuration.Configuration, key string) error
Refresh mocks base method.
type MockStorageMockRecorder ¶
type MockStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageMockRecorder is the mock recorder for MockStorage.
func (*MockStorageMockRecorder) Lock ¶
func (mr *MockStorageMockRecorder) Lock(ctx, retryDelay interface{}) *gomock.Call
Lock indicates an expected call of Lock.
func (*MockStorageMockRecorder) Refresh ¶
func (mr *MockStorageMockRecorder) Refresh(config, key interface{}) *gomock.Call
Refresh indicates an expected call of Refresh.
func (*MockStorageMockRecorder) Set ¶
func (mr *MockStorageMockRecorder) Set(key, value interface{}) *gomock.Call
Set indicates an expected call of Set.
func (*MockStorageMockRecorder) Unlock ¶
func (mr *MockStorageMockRecorder) Unlock() *gomock.Call
Unlock indicates an expected call of Unlock.
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 ¶
func (m *MockUserInterface) EXPECT() *MockUserInterfaceMockRecorder
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.