Documentation ¶
Index ¶
- type ConfigurationBuildBuilder
- type ConfigurationBuilder
- func (_m *ConfigurationBuilder) Build() error
- func (_m *ConfigurationBuilder) Dump(cfgStruct interface{}) error
- func (_m *ConfigurationBuilder) GetService(svcFor interface{}) error
- func (_m *ConfigurationBuilder) GetStringVal(key string) (string, error)
- func (_m *ConfigurationBuilder) GetVal(key string) (interface{}, error)
- func (_m *ConfigurationBuilder) RetrieveParameterStoreVals() error
- func (_m *ConfigurationBuilder) Unmarshal(cfgStruct interface{}) error
- func (_m *ConfigurationBuilder) WithEnv(key string, envVar string, defaultValue interface{}) *config.ConfigurationBuilder
- func (_m *ConfigurationBuilder) WithParameterStoreEnv(key string, envVar string, defaultValue string) *config.ConfigurationBuilder
- func (_m *ConfigurationBuilder) WithService(svc interface{}) *config.ConfigurationBuilder
- func (_m *ConfigurationBuilder) WithVal(key string, val interface{}) *config.ConfigurationBuilder
- type ConfigurationServiceBuilder
- type ServiceBuilder
- func (_m *ServiceBuilder) Build() (*config.ConfigurationBuilder, error)
- func (_m *ServiceBuilder) WithCodeBuild() *config.ServiceBuilder
- func (_m *ServiceBuilder) WithCognito() *config.ServiceBuilder
- func (_m *ServiceBuilder) WithDynamoDB() *config.ServiceBuilder
- func (_m *ServiceBuilder) WithS3() *config.ServiceBuilder
- func (_m *ServiceBuilder) WithSNS() *config.ServiceBuilder
- func (_m *ServiceBuilder) WithSQS() *config.ServiceBuilder
- func (_m *ServiceBuilder) WithSSM() *config.ServiceBuilder
- func (_m *ServiceBuilder) WithSTS() *config.ServiceBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigurationBuildBuilder ¶ added in v0.34.0
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
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 ¶
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
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
func (_m *ServiceBuilder) Build() (*config.ConfigurationBuilder, error)
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: