factory

package
v0.0.0-...-c12a3d9 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithServiceContextOptions

func WithServiceContextOptions(opts ...ServiceContextOption) func(f *ServiceFactory)

Types

type Option

type Option func(f *ServiceFactory)

Option an option to configure the Service Factory

type ServiceContextOption

type ServiceContextOption = func(ctx *serviceContextImpl)

func NamespacedClientOption

func NamespacedClientOption(client namespaced.Client) ServiceContextOption

type ServiceFactory

type ServiceFactory struct {
	// contains filtered or unexported fields
}

func NewServiceFactory

func NewServiceFactory(options ...Option) *ServiceFactory

func (*ServiceFactory) SignupService

func (s *ServiceFactory) SignupService() service.SignupService

func (*ServiceFactory) VerificationService

func (s *ServiceFactory) VerificationService() service.VerificationService

func (*ServiceFactory) WithSignupService

func (s *ServiceFactory) WithSignupService(signupService service.SignupService)

func (*ServiceFactory) WithSignupServiceOption

func (s *ServiceFactory) WithSignupServiceOption(opt signupservice.SignupServiceOption)

func (*ServiceFactory) WithVerificationServiceOption

func (s *ServiceFactory) WithVerificationServiceOption(opt verificationservice.VerificationServiceOption)

Jump to

Keyboard shortcuts

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