mocks

package
v0.37.4 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigurationBuildBuilder added in v0.34.0

type ConfigurationBuildBuilder struct {
	mock.Mock
}

ConfigurationBuildBuilder is an autogenerated mock type for the ConfigurationBuildBuilder type

func NewConfigurationBuildBuilder added in v0.34.0

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 added in v0.34.0

func (_m *ConfigurationBuildBuilder) Build() error

Build provides a mock function with given fields:

type ConfigurationBuilder added in v0.34.0

type ConfigurationBuilder struct {
	mock.Mock
}

ConfigurationBuilder is an autogenerated mock type for the ConfigurationBuilder type

func NewConfigurationBuilder added in v0.34.0

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 added in v0.34.0

func (_m *ConfigurationBuilder) Build() error

Build provides a mock function with given fields:

func (*ConfigurationBuilder) Dump added in v0.34.0

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

Dump provides a mock function with given fields: cfgStruct

func (*ConfigurationBuilder) GetService added in v0.34.0

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

GetService provides a mock function with given fields: svcFor

func (*ConfigurationBuilder) GetStringVal added in v0.34.0

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

GetStringVal provides a mock function with given fields: key

func (*ConfigurationBuilder) GetVal added in v0.34.0

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

GetVal provides a mock function with given fields: key

func (*ConfigurationBuilder) RetrieveParameterStoreVals added in v0.34.0

func (_m *ConfigurationBuilder) RetrieveParameterStoreVals() error

RetrieveParameterStoreVals provides a mock function with given fields:

func (*ConfigurationBuilder) Unmarshal added in v0.34.0

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

Unmarshal provides a mock function with given fields: cfgStruct

func (*ConfigurationBuilder) WithEnv added in v0.34.0

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 added in v0.34.0

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 added in v0.34.0

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

WithService provides a mock function with given fields: svc

func (*ConfigurationBuilder) WithVal added in v0.34.0

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 added in v0.33.6

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 added in v0.34.0

type ServiceBuilder struct {
	mock.Mock
}

ServiceBuilder is an autogenerated mock type for the ServiceBuilder type

func NewServiceBuilder added in v0.34.0

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 added in v0.34.0

Build provides a mock function with given fields:

func (*ServiceBuilder) WithCodeBuild added in v0.34.0

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

WithCodeBuild provides a mock function with given fields:

func (*ServiceBuilder) WithCognito added in v0.34.0

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

WithCognito provides a mock function with given fields:

func (*ServiceBuilder) WithDynamoDB added in v0.34.0

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

WithDynamoDB provides a mock function with given fields:

func (*ServiceBuilder) WithS3 added in v0.34.0

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

WithS3 provides a mock function with given fields:

func (*ServiceBuilder) WithSNS added in v0.34.0

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

WithSNS provides a mock function with given fields:

func (*ServiceBuilder) WithSQS added in v0.34.0

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

WithSQS provides a mock function with given fields:

func (*ServiceBuilder) WithSSM added in v0.34.0

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

WithSSM provides a mock function with given fields:

func (*ServiceBuilder) WithSTS added in v0.34.0

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