Documentation ¶
Overview ¶
Package services provides functions to register and list all the services contained in a sansshell gRPC server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterSansShellService ¶
func RegisterSansShellService(s SansShellRPCService)
RegisterSansShellService provides a mechanism for imported modules to register themselves with a gRPC server.
Types ¶
type SansShellRPCService ¶
SansShellRPCService provides an interface for services to implement to make them registerable in this package.
func ListServices ¶
func ListServices() []SansShellRPCService
ListServices returns the list of registered services.
Directories ¶
Path | Synopsis |
---|---|
Package ansible defines the RPC interface for the sansshell Ansible actions.
|
Package ansible defines the RPC interface for the sansshell Ansible actions. |
client
Package client provides the client interface for 'ansible'
|
Package client provides the client interface for 'ansible' |
server
Package server implements the sansshell 'Ansible' service.
|
Package server implements the sansshell 'Ansible' service. |
Package exec defines the RPC interface for the sansshell Exec actions.
|
Package exec defines the RPC interface for the sansshell Exec actions. |
client
Package client provides the client interface for 'exec'
|
Package client provides the client interface for 'exec' |
server
Package server implements the sansshell 'Exec' service.
|
Package server implements the sansshell 'Exec' service. |
Package healthcheck defines the RPC interface for the sansshell HealthCheck actions.
|
Package healthcheck defines the RPC interface for the sansshell HealthCheck actions. |
client
Package client provides the client interface for 'healthcheck'
|
Package client provides the client interface for 'healthcheck' |
server
Package server implements the sansshell 'HealthCheck' service.
|
Package server implements the sansshell 'HealthCheck' service. |
Package localfile defines the RPC interface for the sansshell LocalFile actions.
|
Package localfile defines the RPC interface for the sansshell LocalFile actions. |
client
Package client provides the client interface for 'file'
|
Package client provides the client interface for 'file' |
server
Package server implements the sansshell 'LocalFile' service.
|
Package server implements the sansshell 'LocalFile' service. |
Package packages defines the RPC interface for the sansshell Packages actions.
|
Package packages defines the RPC interface for the sansshell Packages actions. |
client
Package client provides the client interface for 'packages'
|
Package client provides the client interface for 'packages' |
server
Package server implements the sansshell 'Packages' service.
|
Package server implements the sansshell 'Packages' service. |
Package process defines the RPC interface for the sansshell Process actions.
|
Package process defines the RPC interface for the sansshell Process actions. |
client
Package client provides the client interface for 'process'
|
Package client provides the client interface for 'process' |
server
Package server implements the sansshell 'Process' service.
|
Package server implements the sansshell 'Process' service. |
Package service defines the RPC interface for the sansshell Service actions.
|
Package service defines the RPC interface for the sansshell Service actions. |
client
Package client provides the client interface for 'service'
|
Package client provides the client interface for 'service' |
server
Package server implements the sansshell 'Service' service.
|
Package server implements the sansshell 'Service' service. |
Package util provides utility operations used in building sansshell system services.
|
Package util provides utility operations used in building sansshell system services. |
Click to show internal directories.
Click to hide internal directories.