mocks

package
v0.0.2-prerelease Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2025 License: Apache-2.0 Imports: 2 Imported by: ? modules, 0 packages

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigurationBuildBuilder

type ConfigurationBuildBuilder struct {
	mock.Mock
}

ConfigurationBuildBuilder is an autogenerated mock type for the ConfigurationBuildBuilder type

func NewConfigurationBuildBuilder

func NewConfigurationBuildBuilder(t mockConstructorTestingTNewConfigurationBuildBuilder) *ConfigurationBuildBuilder

NewConfigurationBuildBuilder creates a new instance of ConfigurationBuildBuilder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ConfigurationBuildBuilder) Build

func (_m *ConfigurationBuildBuilder) Build() error

Build provides a mock function with given fields:

type ConfigurationBuilder

type ConfigurationBuilder struct {
	mock.Mock
}

ConfigurationBuilder is an autogenerated mock type for the ConfigurationBuilder type

func NewConfigurationBuilder

func NewConfigurationBuilder(t mockConstructorTestingTNewConfigurationBuilder) *ConfigurationBuilder

NewConfigurationBuilder creates a new instance of ConfigurationBuilder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ConfigurationBuilder) Build

func (_m *ConfigurationBuilder) Build() error

Build provides a mock function with given fields:

func (*ConfigurationBuilder) Dump

func (_m *ConfigurationBuilder) Dump(cfgStruct interface{}) error

Dump provides a mock function with given fields: cfgStruct

func (*ConfigurationBuilder) GetService

func (_m *ConfigurationBuilder) GetService(svcFor interface{}) error

GetService provides a mock function with given fields: svcFor

func (*ConfigurationBuilder) GetStringVal

func (_m *ConfigurationBuilder) GetStringVal(key string) (string, error)

GetStringVal provides a mock function with given fields: key

func (*ConfigurationBuilder) GetVal

func (_m *ConfigurationBuilder) GetVal(key string) (interface{}, error)

GetVal provides a mock function with given fields: key

func (*ConfigurationBuilder) RetrieveParameterStoreVals

func (_m *ConfigurationBuilder) RetrieveParameterStoreVals() error

RetrieveParameterStoreVals provides a mock function with given fields:

func (*ConfigurationBuilder) Unmarshal

func (_m *ConfigurationBuilder) Unmarshal(cfgStruct interface{}) error

Unmarshal provides a mock function with given fields: cfgStruct

func (*ConfigurationBuilder) WithEnv

func (_m *ConfigurationBuilder) WithEnv(key string, envVar string, defaultValue interface{}) *config.ConfigurationBuilder

WithEnv provides a mock function with given fields: key, envVar, defaultValue

func (*ConfigurationBuilder) WithParameterStoreEnv

func (_m *ConfigurationBuilder) WithParameterStoreEnv(key string, envVar string, defaultValue string) *config.ConfigurationBuilder

WithParameterStoreEnv provides a mock function with given fields: key, envVar, defaultValue

func (*ConfigurationBuilder) WithService

func (_m *ConfigurationBuilder) WithService(svc interface{}) *config.ConfigurationBuilder

WithService provides a mock function with given fields: svc

func (*ConfigurationBuilder) WithVal

func (_m *ConfigurationBuilder) WithVal(key string, val interface{}) *config.ConfigurationBuilder

WithVal provides a mock function with given fields: key, val

type ConfigurationServiceBuilder

type ConfigurationServiceBuilder struct {
	mock.Mock
}

ConfigurationServiceBuilder is an autogenerated mock type for the ConfigurationServiceBuilder type

func (*ConfigurationServiceBuilder) Build

func (_m *ConfigurationServiceBuilder) Build() error

Build provides a mock function with given fields:

func (*ConfigurationServiceBuilder) WithService

func (_m *ConfigurationServiceBuilder) WithService(svc interface{}) *config.ConfigurationBuilder

WithService provides a mock function with given fields: svc

type ServiceBuilder

type ServiceBuilder struct {
	mock.Mock
}

ServiceBuilder is an autogenerated mock type for the ServiceBuilder type

func NewServiceBuilder

func NewServiceBuilder(t mockConstructorTestingTNewServiceBuilder) *ServiceBuilder

NewServiceBuilder creates a new instance of ServiceBuilder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ServiceBuilder) Build

Build provides a mock function with given fields:

func (*ServiceBuilder) WithCodeBuild

func (_m *ServiceBuilder) WithCodeBuild() *config.ServiceBuilder

WithCodeBuild provides a mock function with given fields:

func (*ServiceBuilder) WithCognito

func (_m *ServiceBuilder) WithCognito() *config.ServiceBuilder

WithCognito provides a mock function with given fields:

func (*ServiceBuilder) WithDynamoDB

func (_m *ServiceBuilder) WithDynamoDB() *config.ServiceBuilder

WithDynamoDB provides a mock function with given fields:

func (*ServiceBuilder) WithS3

func (_m *ServiceBuilder) WithS3() *config.ServiceBuilder

WithS3 provides a mock function with given fields:

func (*ServiceBuilder) WithSNS

func (_m *ServiceBuilder) WithSNS() *config.ServiceBuilder

WithSNS provides a mock function with given fields:

func (*ServiceBuilder) WithSQS

func (_m *ServiceBuilder) WithSQS() *config.ServiceBuilder

WithSQS provides a mock function with given fields:

func (*ServiceBuilder) WithSSM

func (_m *ServiceBuilder) WithSSM() *config.ServiceBuilder

WithSSM provides a mock function with given fields:

func (*ServiceBuilder) WithSTS

func (_m *ServiceBuilder) WithSTS() *config.ServiceBuilder

WithSTS provides a mock function with given fields:

Jump to

Keyboard shortcuts

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