qmgr

package
v0.0.0-...-bcdc46a Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceLoader

type ServiceLoader func(apis.IServices, *queue_info.ServiceDescription) (apis.ISvc, error)

func GetServiceLoader

func GetServiceLoader(serviceType string) (ServiceLoader, bool)

type ServiceManager

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

func CreateServiceManager

func CreateServiceManager() *ServiceManager

func NewServiceManager

func NewServiceManager() *ServiceManager

func (*ServiceManager) BuildServiceNameList

func (s *ServiceManager) BuildServiceNameList(svcPrefix string) []string

func (*ServiceManager) Close

func (s *ServiceManager) Close()

Close closes all available services walking through all of them.

func (*ServiceManager) CreatePQueue

func (s *ServiceManager) CreatePQueue(svcName string, config *conf.PQConfig) apis.IResponse

func (*ServiceManager) CreateService

func (s *ServiceManager) CreateService(svcType string, svcName string, params []string) apis.IResponse

CreateService creates a service of the specified type.

func (*ServiceManager) DropService

func (s *ServiceManager) DropService(svcName string) apis.IResponse

DropService drops service.

func (*ServiceManager) GetService

func (s *ServiceManager) GetService(name string) (apis.ISvc, bool)

GetService look up of a service with appropriate name.

func (*ServiceManager) ListServiceNames

func (s *ServiceManager) ListServiceNames(svcPrefix string) apis.IResponse

ListServiceNames returns a list of available

Jump to

Keyboard shortcuts

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