Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIImplementor ¶
type APIImplementor struct {
// contains filtered or unexported fields
}
func New ¶
func New() APIImplementor
func (APIImplementor) GetBIOSSerialNumber ¶
func (APIImplementor) GetBIOSSerialNumber() (string, error)
func (APIImplementor) GetService ¶
func (impl APIImplementor) GetService(name string) (*ServiceInfo, error)
func (APIImplementor) StartService ¶
func (impl APIImplementor) StartService(name string) error
func (APIImplementor) StopService ¶
func (impl APIImplementor) StopService(name string, force bool) error
type ServiceFactory ¶ added in v1.3.0
type ServiceFactory interface {
GetService(name string) (cim.ServiceInterface, error)
}
type ServiceInfo ¶
type ServiceManager ¶ added in v1.3.0
type ServiceManagerImpl ¶ added in v1.3.0
type ServiceManagerImpl struct {
// contains filtered or unexported fields
}
func (ServiceManagerImpl) GetDependentsForService ¶ added in v1.3.0
func (impl ServiceManagerImpl) GetDependentsForService(name string) ([]string, error)
func (ServiceManagerImpl) WaitUntilServiceState ¶ added in v1.3.0
func (impl ServiceManagerImpl) WaitUntilServiceState(service cim.ServiceInterface, stateTransition stateTransitionFunc, stateCheck stateCheckFunc, interval time.Duration, timeout time.Duration) (string, error)
Click to show internal directories.
Click to hide internal directories.