Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateConfigurationApplication ¶
type CreateConfigurationApplication struct {
// contains filtered or unexported fields
}
CreateConfigurationApplication is an application service
func NewCreateConfigurationApplication ¶
func NewCreateConfigurationApplication(options ...OptionsFunc) *CreateConfigurationApplication
NewCreateConfigurationApplication creats a new application service
func (*CreateConfigurationApplication) Options ¶
func (a *CreateConfigurationApplication) Options(opts ...OptionsFunc)
Options to configure the application
func (*CreateConfigurationApplication) Run ¶
func (a *CreateConfigurationApplication) Run(ctx context.Context, config *configuration.Configuration, optionsFunc ...OptionsFunc) error
Run method carries out the application tasks
type MockCreateConfigurationApplication ¶
MockCreateConfigurationApplication is a mock of the application
func NewMockCreateConfigurationApplication ¶
func NewMockCreateConfigurationApplication() *MockCreateConfigurationApplication
NewMockCreateConfigurationApplication return a mock of the application
func (*MockCreateConfigurationApplication) Run ¶
func (m *MockCreateConfigurationApplication) Run(ctx context.Context, config *configuration.Configuration, optionsFunc ...OptionsFunc) error
Run provides a mock function to carry out the application tasks
type OptionsFunc ¶
type OptionsFunc func(*CreateConfigurationApplication)
OptionsFunc is a function used to configure the service
func WithWrite ¶
func WithWrite(w configuration.ConfigurationWriter) OptionsFunc
Click to show internal directories.
Click to hide internal directories.