Documentation ¶
Index ¶
- type ImmuServerMock
- func (s *ImmuServerMock) Initialize() error
- func (s *ImmuServerMock) Start() error
- func (s *ImmuServerMock) Stop() error
- func (s *ImmuServerMock) WithDbList(dbList database.DatabaseList) server.ImmuServerIf
- func (s *ImmuServerMock) WithLogger(logger logger.Logger) server.ImmuServerIf
- func (s *ImmuServerMock) WithOptions(options *server.Options) server.ImmuServerIf
- func (s *ImmuServerMock) WithPgsqlServer(psrv pgsqlsrv.Server) server.ImmuServerIf
- func (s *ImmuServerMock) WithStateSigner(stateSigner server.StateSigner) server.ImmuServerIf
- func (s *ImmuServerMock) WithStreamServiceFactory(ssf stream.ServiceFactory) server.ImmuServerIf
- type ManpageServiceMock
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImmuServerMock ¶
type ImmuServerMock struct { Options *server.Options Logger logger.Logger StateSigner server.StateSigner Ssf stream.ServiceFactory PgsqlSrv pgsqlsrv.Server DbList database.DatabaseList }
func (*ImmuServerMock) Initialize ¶ added in v0.9.0
func (s *ImmuServerMock) Initialize() error
func (*ImmuServerMock) Start ¶
func (s *ImmuServerMock) Start() error
func (*ImmuServerMock) Stop ¶
func (s *ImmuServerMock) Stop() error
func (*ImmuServerMock) WithDbList ¶ added in v1.4.0
func (s *ImmuServerMock) WithDbList(dbList database.DatabaseList) server.ImmuServerIf
func (*ImmuServerMock) WithLogger ¶
func (s *ImmuServerMock) WithLogger(logger logger.Logger) server.ImmuServerIf
func (*ImmuServerMock) WithOptions ¶
func (s *ImmuServerMock) WithOptions(options *server.Options) server.ImmuServerIf
func (*ImmuServerMock) WithPgsqlServer ¶ added in v1.0.0
func (s *ImmuServerMock) WithPgsqlServer(psrv pgsqlsrv.Server) server.ImmuServerIf
func (*ImmuServerMock) WithStateSigner ¶ added in v0.9.0
func (s *ImmuServerMock) WithStateSigner(stateSigner server.StateSigner) server.ImmuServerIf
func (*ImmuServerMock) WithStreamServiceFactory ¶ added in v0.9.2
func (s *ImmuServerMock) WithStreamServiceFactory(ssf stream.ServiceFactory) server.ImmuServerIf
type ManpageServiceMock ¶
type ManpageServiceMock struct{}
func (ManpageServiceMock) InstallManPages ¶
func (ms ManpageServiceMock) InstallManPages(dir string, serviceName string, cmd *cobra.Command) error
InstallManPages installs man pages
func (ManpageServiceMock) UninstallManPages ¶
func (ms ManpageServiceMock) UninstallManPages(dir string, serviceName string) error
UninstallManPages uninstalls man pages
Click to show internal directories.
Click to hide internal directories.